@trustme24/flext 1.2.0 → 1.3.1

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.js CHANGED
@@ -1,17 +1,17 @@
1
- var Tl=Object.create;var on=Object.defineProperty;var Dl=Object.getOwnPropertyDescriptor;var Fl=Object.getOwnPropertyNames;var Bl=Object.getPrototypeOf,ql=Object.prototype.hasOwnProperty;var Xe=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var $=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Vl=(t,e)=>{for(var r in e)on(t,r,{get:e[r],enumerable:!0})},Hl=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Fl(e))!ql.call(t,o)&&o!==r&&on(t,o,{get:()=>e[o],enumerable:!(n=Dl(e,o))||n.enumerable});return t};var Qo=(t,e,r)=>(r=t!=null?Tl(Bl(t)):{},Hl(e||!t||!t.__esModule?on(r,"default",{value:t,enumerable:!0}):r,t));var X=$(te=>{"use strict";te.__esModule=!0;te.extend=Ns;te.indexOf=od;te.escapeExpression=id;te.isEmpty=sd;te.createFrame=ad;te.blockParams=ld;te.appendContextPath=cd;var ed={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},td=/[&<>"'`=]/g,rd=/[&<>"'`=]/;function nd(t){return ed[t]}function Ns(t){for(var e=1;e<arguments.length;e++)for(var r in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],r)&&(t[r]=arguments[e][r]);return t}var Gn=Object.prototype.toString;te.toString=Gn;var Un=function(e){return typeof e=="function"};Un(/x/)&&(te.isFunction=Un=function(t){return typeof t=="function"&&Gn.call(t)==="[object Function]"});te.isFunction=Un;var zs=Array.isArray||function(t){return t&&typeof t=="object"?Gn.call(t)==="[object Array]":!1};te.isArray=zs;function od(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function id(t){if(typeof t!="string"){if(t&&t.toHTML)return t.toHTML();if(t==null)return"";if(!t)return t+"";t=""+t}return rd.test(t)?t.replace(td,nd):t}function sd(t){return!t&&t!==0?!0:!!(zs(t)&&t.length===0)}function ad(t){var e=Ns({},t);return e._parent=t,e}function ld(t,e){return t.path=e,t}function cd(t,e){return(t?t+".":"")+e}});var oe=$((vr,Is)=>{"use strict";vr.__esModule=!0;var Kn=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Yn(t,e){var r=e&&e.loc,n=void 0,o=void 0,i=void 0,s=void 0;r&&(n=r.start.line,o=r.end.line,i=r.start.column,s=r.end.column,t+=" - "+n+":"+i);for(var a=Error.prototype.constructor.call(this,t),c=0;c<Kn.length;c++)this[Kn[c]]=a[Kn[c]];Error.captureStackTrace&&Error.captureStackTrace(this,Yn);try{r&&(this.lineNumber=n,this.endLineNumber=o,Object.defineProperty?(Object.defineProperty(this,"column",{value:i,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:s,enumerable:!0})):(this.column=i,this.endColumn=s))}catch{}}Yn.prototype=new Error;vr.default=Yn;Is.exports=vr.default});var Ts=$((yr,js)=>{"use strict";yr.__esModule=!0;var Xn=X();yr.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var n=r.inverse,o=r.fn;if(e===!0)return o(this);if(e===!1||e==null)return n(this);if(Xn.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):n(this);if(r.data&&r.ids){var i=Xn.createFrame(r.data);i.contextPath=Xn.appendContextPath(r.data.contextPath,r.name),r={data:i}}return o(e,r)})};js.exports=yr.default});var Fs=$((kr,Ds)=>{"use strict";kr.__esModule=!0;function ud(t){return t&&t.__esModule?t:{default:t}}var jt=X(),fd=oe(),pd=ud(fd);kr.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new pd.default("Must pass iterator to #each");var n=r.fn,o=r.inverse,i=0,s="",a=void 0,c=void 0;r.data&&r.ids&&(c=jt.appendContextPath(r.data.contextPath,r.ids[0])+"."),jt.isFunction(e)&&(e=e.call(this)),r.data&&(a=jt.createFrame(r.data));function l(m,g,k){a&&(a.key=m,a.index=g,a.first=g===0,a.last=!!k,c&&(a.contextPath=c+m)),s=s+n(e[m],{data:a,blockParams:jt.blockParams([e[m],m],[c+m,null])})}if(e&&typeof e=="object")if(jt.isArray(e))for(var f=e.length;i<f;i++)i in e&&l(i,i,i===e.length-1);else if(typeof Symbol=="function"&&e[Symbol.iterator]){for(var u=[],h=e[Symbol.iterator](),d=h.next();!d.done;d=h.next())u.push(d.value);e=u;for(var f=e.length;i<f;i++)l(i,i,i===e.length-1)}else(function(){var m=void 0;Object.keys(e).forEach(function(g){m!==void 0&&l(m,i-1),m=g,i++}),m!==void 0&&l(m,i-1,!0)})();return i===0&&(s=o(this)),s})};Ds.exports=kr.default});var qs=$((xr,Bs)=>{"use strict";xr.__esModule=!0;function hd(t){return t&&t.__esModule?t:{default:t}}var dd=oe(),md=hd(dd);xr.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new md.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};Bs.exports=xr.default});var Us=$((wr,Ws)=>{"use strict";wr.__esModule=!0;function gd(t){return t&&t.__esModule?t:{default:t}}var Vs=X(),bd=oe(),Hs=gd(bd);wr.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new Hs.default("#if requires exactly one argument");return Vs.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||Vs.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new Hs.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};Ws.exports=wr.default});var Ks=$((Sr,Gs)=>{"use strict";Sr.__esModule=!0;Sr.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],n=0;n<arguments.length-1;n++)e.push(arguments[n]);var o=1;r.hash.level!=null?o=r.hash.level:r.data&&r.data.level!=null&&(o=r.data.level),e[0]=o,t.log.apply(t,e)})};Gs.exports=Sr.default});var Xs=$((_r,Ys)=>{"use strict";_r.__esModule=!0;_r.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};Ys.exports=_r.default});var Zs=$(($r,Js)=>{"use strict";$r.__esModule=!0;function vd(t){return t&&t.__esModule?t:{default:t}}var Tt=X(),yd=oe(),kd=vd(yd);$r.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new kd.default("#with requires exactly one argument");Tt.isFunction(e)&&(e=e.call(this));var n=r.fn;if(Tt.isEmpty(e))return r.inverse(this);var o=r.data;return r.data&&r.ids&&(o=Tt.createFrame(r.data),o.contextPath=Tt.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:o,blockParams:Tt.blockParams([e],[o&&o.contextPath])})})};Js.exports=$r.default});var Jn=$(Cr=>{"use strict";Cr.__esModule=!0;Cr.registerDefaultHelpers=zd;Cr.moveHelperToHooks=Id;function Ve(t){return t&&t.__esModule?t:{default:t}}var xd=Ts(),wd=Ve(xd),Sd=Fs(),_d=Ve(Sd),$d=qs(),Cd=Ve($d),Ed=Us(),Pd=Ve(Ed),Ad=Ks(),Ld=Ve(Ad),Md=Xs(),Od=Ve(Md),Rd=Zs(),Nd=Ve(Rd);function zd(t){wd.default(t),_d.default(t),Cd.default(t),Pd.default(t),Ld.default(t),Od.default(t),Nd.default(t)}function Id(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||delete t.helpers[e])}});var ea=$((Er,Qs)=>{"use strict";Er.__esModule=!0;var jd=X();Er.default=function(t){t.registerDecorator("inline",function(e,r,n,o){var i=e;return r.partials||(r.partials={},i=function(s,a){var c=n.partials;n.partials=jd.extend({},c,r.partials);var l=e(s,a);return n.partials=c,l}),r.partials[o.args[0]]=o.fn,i})};Qs.exports=Er.default});var ta=$(Zn=>{"use strict";Zn.__esModule=!0;Zn.registerDefaultDecorators=Bd;function Td(t){return t&&t.__esModule?t:{default:t}}var Dd=ea(),Fd=Td(Dd);function Bd(t){Fd.default(t)}});var Qn=$((Pr,ra)=>{"use strict";Pr.__esModule=!0;var qd=X(),ct={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if(typeof e=="string"){var r=qd.indexOf(ct.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},log:function(e){if(e=ct.lookupLevel(e),typeof console<"u"&&ct.lookupLevel(ct.level)<=e){var r=ct.methodMap[e];console[r]||(r="log");for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];console[r].apply(console,o)}}};Pr.default=ct;ra.exports=Pr.default});var na=$(eo=>{"use strict";eo.__esModule=!0;eo.createNewLookupObject=Hd;var Vd=X();function Hd(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return Vd.extend.apply(void 0,[Object.create(null)].concat(e))}});var to=$(Dt=>{"use strict";Dt.__esModule=!0;Dt.createProtoAccessControl=Kd;Dt.resultIsAllowed=Yd;Dt.resetLoggedProperties=Jd;function Wd(t){return t&&t.__esModule?t:{default:t}}var oa=na(),Ud=Qn(),Gd=Wd(Ud),Ar=Object.create(null);function Kd(t){var e=Object.create(null);e.constructor=!1,e.__defineGetter__=!1,e.__defineSetter__=!1,e.__lookupGetter__=!1;var r=Object.create(null);return r.__proto__=!1,{properties:{whitelist:oa.createNewLookupObject(r,t.allowedProtoProperties),defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:oa.createNewLookupObject(e,t.allowedProtoMethods),defaultValue:t.allowProtoMethodsByDefault}}}function Yd(t,e,r){return ia(typeof t=="function"?e.methods:e.properties,r)}function ia(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(Xd(e),!1)}function Xd(t){Ar[t]!==!0&&(Ar[t]=!0,Gd.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+`" because it is not an "own property" of its parent.
1
+ var Gl=Object.create;var dn=Object.defineProperty;var Kl=Object.getOwnPropertyDescriptor;var Yl=Object.getOwnPropertyNames;var Xl=Object.getPrototypeOf,Jl=Object.prototype.hasOwnProperty;var ot=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var P=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Zl=(t,e)=>{for(var r in e)dn(t,r,{get:e[r],enumerable:!0})},Ql=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Yl(e))!Jl.call(t,o)&&o!==r&&dn(t,o,{get:()=>e[o],enumerable:!(n=Kl(e,o))||n.enumerable});return t};var ai=(t,e,r)=>(r=t!=null?Gl(Xl(t)):{},Ql(e||!t||!t.__esModule?dn(r,"default",{value:t,enumerable:!0}):r,t));var te=P(ie=>{"use strict";ie.__esModule=!0;ie.extend=Ta;ie.indexOf=bh;ie.escapeExpression=yh;ie.isEmpty=vh;ie.createFrame=kh;ie.blockParams=xh;ie.appendContextPath=wh;var dh={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},hh=/[&<>"'`=]/g,mh=/[&<>"'`=]/;function gh(t){return dh[t]}function Ta(t){for(var e=1;e<arguments.length;e++)for(var r in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],r)&&(t[r]=arguments[e][r]);return t}var to=Object.prototype.toString;ie.toString=to;var eo=function(e){return typeof e=="function"};eo(/x/)&&(ie.isFunction=eo=function(t){return typeof t=="function"&&to.call(t)==="[object Function]"});ie.isFunction=eo;var Fa=Array.isArray||function(t){return t&&typeof t=="object"?to.call(t)==="[object Array]":!1};ie.isArray=Fa;function bh(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function yh(t){if(typeof t!="string"){if(t&&t.toHTML)return t.toHTML();if(t==null)return"";if(!t)return t+"";t=""+t}return mh.test(t)?t.replace(hh,gh):t}function vh(t){return!t&&t!==0?!0:!!(Fa(t)&&t.length===0)}function kh(t){var e=Ta({},t);return e._parent=t,e}function xh(t,e){return t.path=e,t}function wh(t,e){return(t?t+".":"")+e}});var ce=P((Cr,Ba)=>{"use strict";Cr.__esModule=!0;var ro=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function no(t,e){var r=e&&e.loc,n=void 0,o=void 0,i=void 0,a=void 0;r&&(n=r.start.line,o=r.end.line,i=r.start.column,a=r.end.column,t+=" - "+n+":"+i);for(var s=Error.prototype.constructor.call(this,t),c=0;c<ro.length;c++)this[ro[c]]=s[ro[c]];Error.captureStackTrace&&Error.captureStackTrace(this,no);try{r&&(this.lineNumber=n,this.endLineNumber=o,Object.defineProperty?(Object.defineProperty(this,"column",{value:i,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:a,enumerable:!0})):(this.column=i,this.endColumn=a))}catch{}}no.prototype=new Error;Cr.default=no;Ba.exports=Cr.default});var Va=P((Er,qa)=>{"use strict";Er.__esModule=!0;var oo=te();Er.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var n=r.inverse,o=r.fn;if(e===!0)return o(this);if(e===!1||e==null)return n(this);if(oo.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):n(this);if(r.data&&r.ids){var i=oo.createFrame(r.data);i.contextPath=oo.appendContextPath(r.data.contextPath,r.name),r={data:i}}return o(e,r)})};qa.exports=Er.default});var Wa=P((Pr,Ha)=>{"use strict";Pr.__esModule=!0;function Sh(t){return t&&t.__esModule?t:{default:t}}var Wt=te(),$h=ce(),_h=Sh($h);Pr.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new _h.default("Must pass iterator to #each");var n=r.fn,o=r.inverse,i=0,a="",s=void 0,c=void 0;r.data&&r.ids&&(c=Wt.appendContextPath(r.data.contextPath,r.ids[0])+"."),Wt.isFunction(e)&&(e=e.call(this)),r.data&&(s=Wt.createFrame(r.data));function l(g,b,x){s&&(s.key=g,s.index=b,s.first=b===0,s.last=!!x,c&&(s.contextPath=c+g)),a=a+n(e[g],{data:s,blockParams:Wt.blockParams([e[g],g],[c+g,null])})}if(e&&typeof e=="object")if(Wt.isArray(e))for(var f=e.length;i<f;i++)i in e&&l(i,i,i===e.length-1);else if(typeof Symbol=="function"&&e[Symbol.iterator]){for(var p=[],h=e[Symbol.iterator](),m=h.next();!m.done;m=h.next())p.push(m.value);e=p;for(var f=e.length;i<f;i++)l(i,i,i===e.length-1)}else(function(){var g=void 0;Object.keys(e).forEach(function(b){g!==void 0&&l(g,i-1),g=b,i++}),g!==void 0&&l(g,i-1,!0)})();return i===0&&(a=o(this)),a})};Ha.exports=Pr.default});var Ga=P((Ar,Ua)=>{"use strict";Ar.__esModule=!0;function Ch(t){return t&&t.__esModule?t:{default:t}}var Eh=ce(),Ph=Ch(Eh);Ar.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new Ph.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};Ua.exports=Ar.default});var Ja=P((Lr,Xa)=>{"use strict";Lr.__esModule=!0;function Ah(t){return t&&t.__esModule?t:{default:t}}var Ka=te(),Lh=ce(),Ya=Ah(Lh);Lr.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new Ya.default("#if requires exactly one argument");return Ka.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||Ka.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new Ya.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};Xa.exports=Lr.default});var Qa=P((Mr,Za)=>{"use strict";Mr.__esModule=!0;Mr.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],n=0;n<arguments.length-1;n++)e.push(arguments[n]);var o=1;r.hash.level!=null?o=r.hash.level:r.data&&r.data.level!=null&&(o=r.data.level),e[0]=o,t.log.apply(t,e)})};Za.exports=Mr.default});var ts=P((Or,es)=>{"use strict";Or.__esModule=!0;Or.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};es.exports=Or.default});var ns=P((Rr,rs)=>{"use strict";Rr.__esModule=!0;function Mh(t){return t&&t.__esModule?t:{default:t}}var Ut=te(),Oh=ce(),Rh=Mh(Oh);Rr.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new Rh.default("#with requires exactly one argument");Ut.isFunction(e)&&(e=e.call(this));var n=r.fn;if(Ut.isEmpty(e))return r.inverse(this);var o=r.data;return r.data&&r.ids&&(o=Ut.createFrame(r.data),o.contextPath=Ut.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:o,blockParams:Ut.blockParams([e],[o&&o.contextPath])})})};rs.exports=Rr.default});var io=P(Nr=>{"use strict";Nr.__esModule=!0;Nr.registerDefaultHelpers=Kh;Nr.moveHelperToHooks=Yh;function Je(t){return t&&t.__esModule?t:{default:t}}var Nh=Va(),zh=Je(Nh),Ih=Wa(),jh=Je(Ih),Dh=Ga(),Th=Je(Dh),Fh=Ja(),Bh=Je(Fh),qh=Qa(),Vh=Je(qh),Hh=ts(),Wh=Je(Hh),Uh=ns(),Gh=Je(Uh);function Kh(t){zh.default(t),jh.default(t),Th.default(t),Bh.default(t),Vh.default(t),Wh.default(t),Gh.default(t)}function Yh(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||delete t.helpers[e])}});var is=P((zr,os)=>{"use strict";zr.__esModule=!0;var Xh=te();zr.default=function(t){t.registerDecorator("inline",function(e,r,n,o){var i=e;return r.partials||(r.partials={},i=function(a,s){var c=n.partials;n.partials=Xh.extend({},c,r.partials);var l=e(a,s);return n.partials=c,l}),r.partials[o.args[0]]=o.fn,i})};os.exports=zr.default});var as=P(ao=>{"use strict";ao.__esModule=!0;ao.registerDefaultDecorators=em;function Jh(t){return t&&t.__esModule?t:{default:t}}var Zh=is(),Qh=Jh(Zh);function em(t){Qh.default(t)}});var so=P((Ir,ss)=>{"use strict";Ir.__esModule=!0;var tm=te(),vt={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if(typeof e=="string"){var r=tm.indexOf(vt.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},log:function(e){if(e=vt.lookupLevel(e),typeof console<"u"&&vt.lookupLevel(vt.level)<=e){var r=vt.methodMap[e];console[r]||(r="log");for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];console[r].apply(console,o)}}};Ir.default=vt;ss.exports=Ir.default});var ls=P(lo=>{"use strict";lo.__esModule=!0;lo.createNewLookupObject=nm;var rm=te();function nm(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return rm.extend.apply(void 0,[Object.create(null)].concat(e))}});var co=P(Gt=>{"use strict";Gt.__esModule=!0;Gt.createProtoAccessControl=sm;Gt.resultIsAllowed=lm;Gt.resetLoggedProperties=um;function om(t){return t&&t.__esModule?t:{default:t}}var cs=ls(),im=so(),am=om(im),jr=Object.create(null);function sm(t){var e=Object.create(null);e.constructor=!1,e.__defineGetter__=!1,e.__defineSetter__=!1,e.__lookupGetter__=!1;var r=Object.create(null);return r.__proto__=!1,{properties:{whitelist:cs.createNewLookupObject(r,t.allowedProtoProperties),defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:cs.createNewLookupObject(e,t.allowedProtoMethods),defaultValue:t.allowProtoMethodsByDefault}}}function lm(t,e,r){return us(typeof t=="function"?e.methods:e.properties,r)}function us(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(cm(e),!1)}function cm(t){jr[t]!==!0&&(jr[t]=!0,am.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+`" because it is not an "own property" of its parent.
2
2
  You can add a runtime option to disable the check or this warning:
3
- See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function Jd(){Object.keys(Ar).forEach(function(t){delete Ar[t]})}});var Mr=$(ge=>{"use strict";ge.__esModule=!0;ge.HandlebarsEnvironment=oo;function sa(t){return t&&t.__esModule?t:{default:t}}var He=X(),Zd=oe(),ro=sa(Zd),Qd=Jn(),em=ta(),tm=Qn(),Lr=sa(tm),rm=to(),nm="4.7.8";ge.VERSION=nm;var om=8;ge.COMPILER_REVISION=om;var im=7;ge.LAST_COMPATIBLE_COMPILER_REVISION=im;var sm={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};ge.REVISION_CHANGES=sm;var no="[object Object]";function oo(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},Qd.registerDefaultHelpers(this),em.registerDefaultDecorators(this)}oo.prototype={constructor:oo,logger:Lr.default,log:Lr.default.log,registerHelper:function(e,r){if(He.toString.call(e)===no){if(r)throw new ro.default("Arg not supported with multiple helpers");He.extend(this.helpers,e)}else this.helpers[e]=r},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,r){if(He.toString.call(e)===no)He.extend(this.partials,e);else{if(typeof r>"u")throw new ro.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,r){if(He.toString.call(e)===no){if(r)throw new ro.default("Arg not supported with multiple decorators");He.extend(this.decorators,e)}else this.decorators[e]=r},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){rm.resetLoggedProperties()}};var am=Lr.default.log;ge.log=am;ge.createFrame=He.createFrame;ge.logger=Lr.default});var la=$((Or,aa)=>{"use strict";Or.__esModule=!0;function io(t){this.string=t}io.prototype.toString=io.prototype.toHTML=function(){return""+this.string};Or.default=io;aa.exports=Or.default});var ca=$(so=>{"use strict";so.__esModule=!0;so.wrapHelper=lm;function lm(t,e){if(typeof t!="function")return t;var r=function(){var o=arguments[arguments.length-1];return arguments[arguments.length-1]=e(o),t.apply(this,arguments)};return r}});var da=$(Ae=>{"use strict";Ae.__esModule=!0;Ae.checkRevision=dm;Ae.template=mm;Ae.wrapProgram=Rr;Ae.resolvePartial=gm;Ae.invokePartial=bm;Ae.noop=pa;function cm(t){return t&&t.__esModule?t:{default:t}}function um(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}var fm=X(),ye=um(fm),pm=oe(),ke=cm(pm),xe=Mr(),ua=Jn(),hm=ca(),fa=to();function dm(t){var e=t&&t[0]||1,r=xe.COMPILER_REVISION;if(!(e>=xe.LAST_COMPATIBLE_COMPILER_REVISION&&e<=xe.COMPILER_REVISION))if(e<xe.LAST_COMPATIBLE_COMPILER_REVISION){var n=xe.REVISION_CHANGES[r],o=xe.REVISION_CHANGES[e];throw new ke.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+o+").")}else throw new ke.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}function mm(t,e){if(!e)throw new ke.default("No environment passed to template");if(!t||!t.main)throw new ke.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var r=t.compiler&&t.compiler[0]===7;function n(s,a,c){c.hash&&(a=ye.extend({},a,c.hash),c.ids&&(c.ids[0]=!0)),s=e.VM.resolvePartial.call(this,s,a,c);var l=ye.extend({},c,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),f=e.VM.invokePartial.call(this,s,a,l);if(f==null&&e.compile&&(c.partials[c.name]=e.compile(s,t.compilerOptions,e),f=c.partials[c.name](a,l)),f!=null){if(c.indent){for(var u=f.split(`
4
- `),h=0,d=u.length;h<d&&!(!u[h]&&h+1===d);h++)u[h]=c.indent+u[h];f=u.join(`
5
- `)}return f}else throw new ke.default("The partial "+c.name+" could not be compiled when running in runtime-only mode")}var o={strict:function(a,c,l){if(!a||!(c in a))throw new ke.default('"'+c+'" not defined in '+a,{loc:l});return o.lookupProperty(a,c)},lookupProperty:function(a,c){var l=a[c];if(l==null||Object.prototype.hasOwnProperty.call(a,c)||fa.resultIsAllowed(l,o.protoAccessControl,c))return l},lookup:function(a,c){for(var l=a.length,f=0;f<l;f++){var u=a[f]&&o.lookupProperty(a[f],c);if(u!=null)return a[f][c]}},lambda:function(a,c){return typeof a=="function"?a.call(c):a},escapeExpression:ye.escapeExpression,invokePartial:n,fn:function(a){var c=t[a];return c.decorator=t[a+"_d"],c},programs:[],program:function(a,c,l,f,u){var h=this.programs[a],d=this.fn(a);return c||u||f||l?h=Rr(this,a,d,c,l,f,u):h||(h=this.programs[a]=Rr(this,a,d)),h},data:function(a,c){for(;a&&c--;)a=a._parent;return a},mergeIfNeeded:function(a,c){var l=a||c;return a&&c&&a!==c&&(l=ye.extend({},c,a)),l},nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function i(s){var a=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],c=a.data;i._setup(a),!a.partial&&t.useData&&(c=vm(s,c));var l=void 0,f=t.useBlockParams?[]:void 0;t.useDepths&&(a.depths?l=s!=a.depths[0]?[s].concat(a.depths):a.depths:l=[s]);function u(h){return""+t.main(o,h,o.helpers,o.partials,c,f,l)}return u=ha(t.main,u,o,a.depths||[],c,f),u(s,a)}return i.isTop=!0,i._setup=function(s){if(s.partial)o.protoAccessControl=s.protoAccessControl,o.helpers=s.helpers,o.partials=s.partials,o.decorators=s.decorators,o.hooks=s.hooks;else{var a=ye.extend({},e.helpers,s.helpers);ym(a,o),o.helpers=a,t.usePartial&&(o.partials=o.mergeIfNeeded(s.partials,e.partials)),(t.usePartial||t.useDecorators)&&(o.decorators=ye.extend({},e.decorators,s.decorators)),o.hooks={},o.protoAccessControl=fa.createProtoAccessControl(s);var c=s.allowCallsToHelperMissing||r;ua.moveHelperToHooks(o,"helperMissing",c),ua.moveHelperToHooks(o,"blockHelperMissing",c)}},i._child=function(s,a,c,l){if(t.useBlockParams&&!c)throw new ke.default("must pass block params");if(t.useDepths&&!l)throw new ke.default("must pass parent depths");return Rr(o,s,t[s],a,0,c,l)},i}function Rr(t,e,r,n,o,i,s){function a(c){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],f=s;return s&&c!=s[0]&&!(c===t.nullContext&&s[0]===null)&&(f=[c].concat(s)),r(t,c,t.helpers,t.partials,l.data||n,i&&[l.blockParams].concat(i),f)}return a=ha(r,a,t,s,n,i),a.program=e,a.depth=s?s.length:0,a.blockParams=o||0,a}function gm(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=r.partials[t]):r.name==="@partial-block"?t=r.data["partial-block"]:t=r.partials[r.name],t}function bm(t,e,r){var n=r.data&&r.data["partial-block"];r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var o=void 0;if(r.fn&&r.fn!==pa&&function(){r.data=xe.createFrame(r.data);var i=r.fn;o=r.data["partial-block"]=function(a){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return c.data=xe.createFrame(c.data),c.data["partial-block"]=n,i(a,c)},i.partials&&(r.partials=ye.extend({},r.partials,i.partials))}(),t===void 0&&o&&(t=o),t===void 0)throw new ke.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}function pa(){return""}function vm(t,e){return(!e||!("root"in e))&&(e=e?xe.createFrame(e):{},e.root=t),e}function ha(t,e,r,n,o,i){if(t.decorator){var s={};e=t.decorator(e,s,r,n&&n[0],o,i,n),ye.extend(e,s)}return e}function ym(t,e){Object.keys(t).forEach(function(r){var n=t[r];t[r]=km(n,e)})}function km(t,e){var r=e.lookupProperty;return hm.wrapHelper(t,function(n){return ye.extend({lookupProperty:r},n)})}});var ao=$((Nr,ma)=>{"use strict";Nr.__esModule=!0;Nr.default=function(t){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var e=globalThis.Handlebars;t.noConflict=function(){return globalThis.Handlebars===t&&(globalThis.Handlebars=e),t}};ma.exports=Nr.default});var ka=$((zr,ya)=>{"use strict";zr.__esModule=!0;function co(t){return t&&t.__esModule?t:{default:t}}function uo(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}var xm=Mr(),ga=uo(xm),wm=la(),Sm=co(wm),_m=oe(),$m=co(_m),Cm=X(),lo=uo(Cm),Em=da(),ba=uo(Em),Pm=ao(),Am=co(Pm);function va(){var t=new ga.HandlebarsEnvironment;return lo.extend(t,ga),t.SafeString=Sm.default,t.Exception=$m.default,t.Utils=lo,t.escapeExpression=lo.escapeExpression,t.VM=ba,t.template=function(e){return ba.template(e,t)},t}var Ft=va();Ft.create=va;Am.default(Ft);Ft.default=Ft;zr.default=Ft;ya.exports=zr.default});var fo=$((Ir,wa)=>{"use strict";Ir.__esModule=!0;var xa={helpers:{helperExpression:function(e){return e.type==="SubExpression"||(e.type==="MustacheStatement"||e.type==="BlockStatement")&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return e.parts.length===1&&!xa.helpers.scopedId(e)&&!e.depth}}};Ir.default=xa;wa.exports=Ir.default});var _a=$((jr,Sa)=>{"use strict";jr.__esModule=!0;var Lm=function(){var t={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(o,i,s,a,c,l,f){var u=l.length-1;switch(c){case 1:return l[u-1];case 2:this.$=a.prepareProgram(l[u]);break;case 3:this.$=l[u];break;case 4:this.$=l[u];break;case 5:this.$=l[u];break;case 6:this.$=l[u];break;case 7:this.$=l[u];break;case 8:this.$=l[u];break;case 9:this.$={type:"CommentStatement",value:a.stripComment(l[u]),strip:a.stripFlags(l[u],l[u]),loc:a.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:l[u],value:l[u],loc:a.locInfo(this._$)};break;case 11:this.$=a.prepareRawBlock(l[u-2],l[u-1],l[u],this._$);break;case 12:this.$={path:l[u-3],params:l[u-2],hash:l[u-1]};break;case 13:this.$=a.prepareBlock(l[u-3],l[u-2],l[u-1],l[u],!1,this._$);break;case 14:this.$=a.prepareBlock(l[u-3],l[u-2],l[u-1],l[u],!0,this._$);break;case 15:this.$={open:l[u-5],path:l[u-4],params:l[u-3],hash:l[u-2],blockParams:l[u-1],strip:a.stripFlags(l[u-5],l[u])};break;case 16:this.$={path:l[u-4],params:l[u-3],hash:l[u-2],blockParams:l[u-1],strip:a.stripFlags(l[u-5],l[u])};break;case 17:this.$={path:l[u-4],params:l[u-3],hash:l[u-2],blockParams:l[u-1],strip:a.stripFlags(l[u-5],l[u])};break;case 18:this.$={strip:a.stripFlags(l[u-1],l[u-1]),program:l[u]};break;case 19:var h=a.prepareBlock(l[u-2],l[u-1],l[u],l[u],!1,this._$),d=a.prepareProgram([h],l[u-1].loc);d.chained=!0,this.$={strip:l[u-2].strip,program:d,chain:!0};break;case 20:this.$=l[u];break;case 21:this.$={path:l[u-1],strip:a.stripFlags(l[u-2],l[u])};break;case 22:this.$=a.prepareMustache(l[u-3],l[u-2],l[u-1],l[u-4],a.stripFlags(l[u-4],l[u]),this._$);break;case 23:this.$=a.prepareMustache(l[u-3],l[u-2],l[u-1],l[u-4],a.stripFlags(l[u-4],l[u]),this._$);break;case 24:this.$={type:"PartialStatement",name:l[u-3],params:l[u-2],hash:l[u-1],indent:"",strip:a.stripFlags(l[u-4],l[u]),loc:a.locInfo(this._$)};break;case 25:this.$=a.preparePartialBlock(l[u-2],l[u-1],l[u],this._$);break;case 26:this.$={path:l[u-3],params:l[u-2],hash:l[u-1],strip:a.stripFlags(l[u-4],l[u])};break;case 27:this.$=l[u];break;case 28:this.$=l[u];break;case 29:this.$={type:"SubExpression",path:l[u-3],params:l[u-2],hash:l[u-1],loc:a.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:l[u],loc:a.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:a.id(l[u-2]),value:l[u],loc:a.locInfo(this._$)};break;case 32:this.$=a.id(l[u-1]);break;case 33:this.$=l[u];break;case 34:this.$=l[u];break;case 35:this.$={type:"StringLiteral",value:l[u],original:l[u],loc:a.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(l[u]),original:Number(l[u]),loc:a.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:l[u]==="true",original:l[u]==="true",loc:a.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:a.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:a.locInfo(this._$)};break;case 40:this.$=l[u];break;case 41:this.$=l[u];break;case 42:this.$=a.preparePath(!0,l[u],this._$);break;case 43:this.$=a.preparePath(!1,l[u],this._$);break;case 44:l[u-2].push({part:a.id(l[u]),original:l[u],separator:l[u-1]}),this.$=l[u-2];break;case 45:this.$=[{part:a.id(l[u]),original:l[u]}];break;case 46:this.$=[];break;case 47:l[u-1].push(l[u]);break;case 48:this.$=[];break;case 49:l[u-1].push(l[u]);break;case 50:this.$=[];break;case 51:l[u-1].push(l[u]);break;case 58:this.$=[];break;case 59:l[u-1].push(l[u]);break;case 64:this.$=[];break;case 65:l[u-1].push(l[u]);break;case 70:this.$=[];break;case 71:l[u-1].push(l[u]);break;case 78:this.$=[];break;case 79:l[u-1].push(l[u]);break;case 82:this.$=[];break;case 83:l[u-1].push(l[u]);break;case 86:this.$=[];break;case 87:l[u-1].push(l[u]);break;case 90:this.$=[];break;case 91:l[u-1].push(l[u]);break;case 94:this.$=[];break;case 95:l[u-1].push(l[u]);break;case 98:this.$=[l[u]];break;case 99:l[u-1].push(l[u]);break;case 100:this.$=[l[u]];break;case 101:l[u-1].push(l[u]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(o,i){throw new Error(o)},parse:function(o){var i=this,s=[0],a=[null],c=[],l=this.table,f="",u=0,h=0,d=0,m=2,g=1;this.lexer.setInput(o),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var k=this.lexer.yylloc;c.push(k);var w=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function S(Q){s.length=s.length-2*Q,a.length=a.length-Q,c.length=c.length-Q}function _(){var Q;return Q=i.lexer.lex()||1,typeof Q!="number"&&(Q=i.symbols_[Q]||Q),Q}for(var C,b,L,x,A,M,H={},G,B,Xt,Se;;){if(L=s[s.length-1],this.defaultActions[L]?x=this.defaultActions[L]:((C===null||typeof C>"u")&&(C=_()),x=l[L]&&l[L][C]),typeof x>"u"||!x.length||!x[0]){var vt="";if(!d){Se=[];for(G in l[L])this.terminals_[G]&&G>2&&Se.push("'"+this.terminals_[G]+"'");this.lexer.showPosition?vt="Parse error on line "+(u+1)+`:
3
+ See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function um(){Object.keys(jr).forEach(function(t){delete jr[t]})}});var Tr=P($e=>{"use strict";$e.__esModule=!0;$e.HandlebarsEnvironment=fo;function ps(t){return t&&t.__esModule?t:{default:t}}var Ze=te(),pm=ce(),uo=ps(pm),fm=io(),dm=as(),hm=so(),Dr=ps(hm),mm=co(),gm="4.7.8";$e.VERSION=gm;var bm=8;$e.COMPILER_REVISION=bm;var ym=7;$e.LAST_COMPATIBLE_COMPILER_REVISION=ym;var vm={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};$e.REVISION_CHANGES=vm;var po="[object Object]";function fo(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},fm.registerDefaultHelpers(this),dm.registerDefaultDecorators(this)}fo.prototype={constructor:fo,logger:Dr.default,log:Dr.default.log,registerHelper:function(e,r){if(Ze.toString.call(e)===po){if(r)throw new uo.default("Arg not supported with multiple helpers");Ze.extend(this.helpers,e)}else this.helpers[e]=r},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,r){if(Ze.toString.call(e)===po)Ze.extend(this.partials,e);else{if(typeof r>"u")throw new uo.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,r){if(Ze.toString.call(e)===po){if(r)throw new uo.default("Arg not supported with multiple decorators");Ze.extend(this.decorators,e)}else this.decorators[e]=r},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){mm.resetLoggedProperties()}};var km=Dr.default.log;$e.log=km;$e.createFrame=Ze.createFrame;$e.logger=Dr.default});var ds=P((Fr,fs)=>{"use strict";Fr.__esModule=!0;function ho(t){this.string=t}ho.prototype.toString=ho.prototype.toHTML=function(){return""+this.string};Fr.default=ho;fs.exports=Fr.default});var hs=P(mo=>{"use strict";mo.__esModule=!0;mo.wrapHelper=xm;function xm(t,e){if(typeof t!="function")return t;var r=function(){var o=arguments[arguments.length-1];return arguments[arguments.length-1]=e(o),t.apply(this,arguments)};return r}});var vs=P(Te=>{"use strict";Te.__esModule=!0;Te.checkRevision=Em;Te.template=Pm;Te.wrapProgram=Br;Te.resolvePartial=Am;Te.invokePartial=Lm;Te.noop=bs;function wm(t){return t&&t.__esModule?t:{default:t}}function Sm(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}var $m=te(),Pe=Sm($m),_m=ce(),Ae=wm(_m),Le=Tr(),ms=io(),Cm=hs(),gs=co();function Em(t){var e=t&&t[0]||1,r=Le.COMPILER_REVISION;if(!(e>=Le.LAST_COMPATIBLE_COMPILER_REVISION&&e<=Le.COMPILER_REVISION))if(e<Le.LAST_COMPATIBLE_COMPILER_REVISION){var n=Le.REVISION_CHANGES[r],o=Le.REVISION_CHANGES[e];throw new Ae.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+o+").")}else throw new Ae.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}function Pm(t,e){if(!e)throw new Ae.default("No environment passed to template");if(!t||!t.main)throw new Ae.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var r=t.compiler&&t.compiler[0]===7;function n(a,s,c){c.hash&&(s=Pe.extend({},s,c.hash),c.ids&&(c.ids[0]=!0)),a=e.VM.resolvePartial.call(this,a,s,c);var l=Pe.extend({},c,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),f=e.VM.invokePartial.call(this,a,s,l);if(f==null&&e.compile&&(c.partials[c.name]=e.compile(a,t.compilerOptions,e),f=c.partials[c.name](s,l)),f!=null){if(c.indent){for(var p=f.split(`
4
+ `),h=0,m=p.length;h<m&&!(!p[h]&&h+1===m);h++)p[h]=c.indent+p[h];f=p.join(`
5
+ `)}return f}else throw new Ae.default("The partial "+c.name+" could not be compiled when running in runtime-only mode")}var o={strict:function(s,c,l){if(!s||!(c in s))throw new Ae.default('"'+c+'" not defined in '+s,{loc:l});return o.lookupProperty(s,c)},lookupProperty:function(s,c){var l=s[c];if(l==null||Object.prototype.hasOwnProperty.call(s,c)||gs.resultIsAllowed(l,o.protoAccessControl,c))return l},lookup:function(s,c){for(var l=s.length,f=0;f<l;f++){var p=s[f]&&o.lookupProperty(s[f],c);if(p!=null)return s[f][c]}},lambda:function(s,c){return typeof s=="function"?s.call(c):s},escapeExpression:Pe.escapeExpression,invokePartial:n,fn:function(s){var c=t[s];return c.decorator=t[s+"_d"],c},programs:[],program:function(s,c,l,f,p){var h=this.programs[s],m=this.fn(s);return c||p||f||l?h=Br(this,s,m,c,l,f,p):h||(h=this.programs[s]=Br(this,s,m)),h},data:function(s,c){for(;s&&c--;)s=s._parent;return s},mergeIfNeeded:function(s,c){var l=s||c;return s&&c&&s!==c&&(l=Pe.extend({},c,s)),l},nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function i(a){var s=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],c=s.data;i._setup(s),!s.partial&&t.useData&&(c=Mm(a,c));var l=void 0,f=t.useBlockParams?[]:void 0;t.useDepths&&(s.depths?l=a!=s.depths[0]?[a].concat(s.depths):s.depths:l=[a]);function p(h){return""+t.main(o,h,o.helpers,o.partials,c,f,l)}return p=ys(t.main,p,o,s.depths||[],c,f),p(a,s)}return i.isTop=!0,i._setup=function(a){if(a.partial)o.protoAccessControl=a.protoAccessControl,o.helpers=a.helpers,o.partials=a.partials,o.decorators=a.decorators,o.hooks=a.hooks;else{var s=Pe.extend({},e.helpers,a.helpers);Om(s,o),o.helpers=s,t.usePartial&&(o.partials=o.mergeIfNeeded(a.partials,e.partials)),(t.usePartial||t.useDecorators)&&(o.decorators=Pe.extend({},e.decorators,a.decorators)),o.hooks={},o.protoAccessControl=gs.createProtoAccessControl(a);var c=a.allowCallsToHelperMissing||r;ms.moveHelperToHooks(o,"helperMissing",c),ms.moveHelperToHooks(o,"blockHelperMissing",c)}},i._child=function(a,s,c,l){if(t.useBlockParams&&!c)throw new Ae.default("must pass block params");if(t.useDepths&&!l)throw new Ae.default("must pass parent depths");return Br(o,a,t[a],s,0,c,l)},i}function Br(t,e,r,n,o,i,a){function s(c){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],f=a;return a&&c!=a[0]&&!(c===t.nullContext&&a[0]===null)&&(f=[c].concat(a)),r(t,c,t.helpers,t.partials,l.data||n,i&&[l.blockParams].concat(i),f)}return s=ys(r,s,t,a,n,i),s.program=e,s.depth=a?a.length:0,s.blockParams=o||0,s}function Am(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=r.partials[t]):r.name==="@partial-block"?t=r.data["partial-block"]:t=r.partials[r.name],t}function Lm(t,e,r){var n=r.data&&r.data["partial-block"];r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var o=void 0;if(r.fn&&r.fn!==bs&&(function(){r.data=Le.createFrame(r.data);var i=r.fn;o=r.data["partial-block"]=function(s){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return c.data=Le.createFrame(c.data),c.data["partial-block"]=n,i(s,c)},i.partials&&(r.partials=Pe.extend({},r.partials,i.partials))})(),t===void 0&&o&&(t=o),t===void 0)throw new Ae.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}function bs(){return""}function Mm(t,e){return(!e||!("root"in e))&&(e=e?Le.createFrame(e):{},e.root=t),e}function ys(t,e,r,n,o,i){if(t.decorator){var a={};e=t.decorator(e,a,r,n&&n[0],o,i,n),Pe.extend(e,a)}return e}function Om(t,e){Object.keys(t).forEach(function(r){var n=t[r];t[r]=Rm(n,e)})}function Rm(t,e){var r=e.lookupProperty;return Cm.wrapHelper(t,function(n){return Pe.extend({lookupProperty:r},n)})}});var go=P((qr,ks)=>{"use strict";qr.__esModule=!0;qr.default=function(t){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var e=globalThis.Handlebars;t.noConflict=function(){return globalThis.Handlebars===t&&(globalThis.Handlebars=e),t}};ks.exports=qr.default});var _s=P((Vr,$s)=>{"use strict";Vr.__esModule=!0;function yo(t){return t&&t.__esModule?t:{default:t}}function vo(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}var Nm=Tr(),xs=vo(Nm),zm=ds(),Im=yo(zm),jm=ce(),Dm=yo(jm),Tm=te(),bo=vo(Tm),Fm=vs(),ws=vo(Fm),Bm=go(),qm=yo(Bm);function Ss(){var t=new xs.HandlebarsEnvironment;return bo.extend(t,xs),t.SafeString=Im.default,t.Exception=Dm.default,t.Utils=bo,t.escapeExpression=bo.escapeExpression,t.VM=ws,t.template=function(e){return ws.template(e,t)},t}var Kt=Ss();Kt.create=Ss;qm.default(Kt);Kt.default=Kt;Vr.default=Kt;$s.exports=Vr.default});var ko=P((Hr,Es)=>{"use strict";Hr.__esModule=!0;var Cs={helpers:{helperExpression:function(e){return e.type==="SubExpression"||(e.type==="MustacheStatement"||e.type==="BlockStatement")&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return e.parts.length===1&&!Cs.helpers.scopedId(e)&&!e.depth}}};Hr.default=Cs;Es.exports=Hr.default});var As=P((Wr,Ps)=>{"use strict";Wr.__esModule=!0;var Vm=(function(){var t={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(o,i,a,s,c,l,f){var p=l.length-1;switch(c){case 1:return l[p-1];case 2:this.$=s.prepareProgram(l[p]);break;case 3:this.$=l[p];break;case 4:this.$=l[p];break;case 5:this.$=l[p];break;case 6:this.$=l[p];break;case 7:this.$=l[p];break;case 8:this.$=l[p];break;case 9:this.$={type:"CommentStatement",value:s.stripComment(l[p]),strip:s.stripFlags(l[p],l[p]),loc:s.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:l[p],value:l[p],loc:s.locInfo(this._$)};break;case 11:this.$=s.prepareRawBlock(l[p-2],l[p-1],l[p],this._$);break;case 12:this.$={path:l[p-3],params:l[p-2],hash:l[p-1]};break;case 13:this.$=s.prepareBlock(l[p-3],l[p-2],l[p-1],l[p],!1,this._$);break;case 14:this.$=s.prepareBlock(l[p-3],l[p-2],l[p-1],l[p],!0,this._$);break;case 15:this.$={open:l[p-5],path:l[p-4],params:l[p-3],hash:l[p-2],blockParams:l[p-1],strip:s.stripFlags(l[p-5],l[p])};break;case 16:this.$={path:l[p-4],params:l[p-3],hash:l[p-2],blockParams:l[p-1],strip:s.stripFlags(l[p-5],l[p])};break;case 17:this.$={path:l[p-4],params:l[p-3],hash:l[p-2],blockParams:l[p-1],strip:s.stripFlags(l[p-5],l[p])};break;case 18:this.$={strip:s.stripFlags(l[p-1],l[p-1]),program:l[p]};break;case 19:var h=s.prepareBlock(l[p-2],l[p-1],l[p],l[p],!1,this._$),m=s.prepareProgram([h],l[p-1].loc);m.chained=!0,this.$={strip:l[p-2].strip,program:m,chain:!0};break;case 20:this.$=l[p];break;case 21:this.$={path:l[p-1],strip:s.stripFlags(l[p-2],l[p])};break;case 22:this.$=s.prepareMustache(l[p-3],l[p-2],l[p-1],l[p-4],s.stripFlags(l[p-4],l[p]),this._$);break;case 23:this.$=s.prepareMustache(l[p-3],l[p-2],l[p-1],l[p-4],s.stripFlags(l[p-4],l[p]),this._$);break;case 24:this.$={type:"PartialStatement",name:l[p-3],params:l[p-2],hash:l[p-1],indent:"",strip:s.stripFlags(l[p-4],l[p]),loc:s.locInfo(this._$)};break;case 25:this.$=s.preparePartialBlock(l[p-2],l[p-1],l[p],this._$);break;case 26:this.$={path:l[p-3],params:l[p-2],hash:l[p-1],strip:s.stripFlags(l[p-4],l[p])};break;case 27:this.$=l[p];break;case 28:this.$=l[p];break;case 29:this.$={type:"SubExpression",path:l[p-3],params:l[p-2],hash:l[p-1],loc:s.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:l[p],loc:s.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:s.id(l[p-2]),value:l[p],loc:s.locInfo(this._$)};break;case 32:this.$=s.id(l[p-1]);break;case 33:this.$=l[p];break;case 34:this.$=l[p];break;case 35:this.$={type:"StringLiteral",value:l[p],original:l[p],loc:s.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(l[p]),original:Number(l[p]),loc:s.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:l[p]==="true",original:l[p]==="true",loc:s.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:s.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:s.locInfo(this._$)};break;case 40:this.$=l[p];break;case 41:this.$=l[p];break;case 42:this.$=s.preparePath(!0,l[p],this._$);break;case 43:this.$=s.preparePath(!1,l[p],this._$);break;case 44:l[p-2].push({part:s.id(l[p]),original:l[p],separator:l[p-1]}),this.$=l[p-2];break;case 45:this.$=[{part:s.id(l[p]),original:l[p]}];break;case 46:this.$=[];break;case 47:l[p-1].push(l[p]);break;case 48:this.$=[];break;case 49:l[p-1].push(l[p]);break;case 50:this.$=[];break;case 51:l[p-1].push(l[p]);break;case 58:this.$=[];break;case 59:l[p-1].push(l[p]);break;case 64:this.$=[];break;case 65:l[p-1].push(l[p]);break;case 70:this.$=[];break;case 71:l[p-1].push(l[p]);break;case 78:this.$=[];break;case 79:l[p-1].push(l[p]);break;case 82:this.$=[];break;case 83:l[p-1].push(l[p]);break;case 86:this.$=[];break;case 87:l[p-1].push(l[p]);break;case 90:this.$=[];break;case 91:l[p-1].push(l[p]);break;case 94:this.$=[];break;case 95:l[p-1].push(l[p]);break;case 98:this.$=[l[p]];break;case 99:l[p-1].push(l[p]);break;case 100:this.$=[l[p]];break;case 101:l[p-1].push(l[p]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(o,i){throw new Error(o)},parse:function(o){var i=this,a=[0],s=[null],c=[],l=this.table,f="",p=0,h=0,m=0,g=2,b=1;this.lexer.setInput(o),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var x=this.lexer.yylloc;c.push(x);var $=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function S(re){a.length=a.length-2*re,s.length=s.length-re,c.length=c.length-re}function _(){var re;return re=i.lexer.lex()||1,typeof re!="number"&&(re=i.symbols_[re]||re),re}for(var E,y,A,w,L,R,j={},G,V,ar,Re;;){if(A=a[a.length-1],this.defaultActions[A]?w=this.defaultActions[A]:((E===null||typeof E>"u")&&(E=_()),w=l[A]&&l[A][E]),typeof w>"u"||!w.length||!w[0]){var Pt="";if(!m){Re=[];for(G in l[A])this.terminals_[G]&&G>2&&Re.push("'"+this.terminals_[G]+"'");this.lexer.showPosition?Pt="Parse error on line "+(p+1)+`:
6
6
  `+this.lexer.showPosition()+`
7
- Expecting `+Se.join(", ")+", got '"+(this.terminals_[C]||C)+"'":vt="Parse error on line "+(u+1)+": Unexpected "+(C==1?"end of input":"'"+(this.terminals_[C]||C)+"'"),this.parseError(vt,{text:this.lexer.match,token:this.terminals_[C]||C,line:this.lexer.yylineno,loc:k,expected:Se})}}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+C);switch(x[0]){case 1:s.push(C),a.push(this.lexer.yytext),c.push(this.lexer.yylloc),s.push(x[1]),C=null,b?(C=b,b=null):(h=this.lexer.yyleng,f=this.lexer.yytext,u=this.lexer.yylineno,k=this.lexer.yylloc,d>0&&d--);break;case 2:if(B=this.productions_[x[1]][1],H.$=a[a.length-B],H._$={first_line:c[c.length-(B||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(B||1)].first_column,last_column:c[c.length-1].last_column},w&&(H._$.range=[c[c.length-(B||1)].range[0],c[c.length-1].range[1]]),M=this.performAction.call(H,f,h,u,this.yy,x[1],a,c),typeof M<"u")return M;B&&(s=s.slice(0,-1*B*2),a=a.slice(0,-1*B),c=c.slice(0,-1*B)),s.push(this.productions_[x[1]][0]),a.push(H.$),c.push(H._$),Xt=l[s[s.length-2]][s[s.length-1]],s.push(Xt);break;case 3:return!0}}return!0}},e=function(){var n={EOF:1,parseError:function(i,s){if(this.yy.parser)this.yy.parser.parseError(i,s);else throw new Error(i)},setInput:function(i){return this._input=i,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var s=i.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var s=i.length,a=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s-1),this.offset-=s;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var l=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===c.length?this.yylloc.first_column:0)+c[c.length-a.length].length-a[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[l[0],l[0]+this.yyleng-s]),this},more:function(){return this._more=!0,this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),s=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
8
- `+s+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,s,a,c,l,f;this._more||(this.yytext="",this.match="");for(var u=this._currentRules(),h=0;h<u.length&&(a=this._input.match(this.rules[u[h]]),!(a&&(!s||a[0].length>s[0].length)&&(s=a,c=h,!this.options.flex)));h++);return s?(f=s[0].match(/(?:\r\n?|\n).*/g),f&&(this.yylineno+=f.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:f?f[f.length-1].length-f[f.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],i=this.performAction.call(this,this.yy,this,u[c],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
9
- `+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var i=this.next();return typeof i<"u"?i:this.lex()},begin:function(i){this.conditionStack.push(i)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(i){this.begin(i)}};return n.options={},n.performAction=function(i,s,a,c){function l(u,h){return s.yytext=s.yytext.substring(u,s.yyleng-h+u)}var f=c;switch(a){case 0:if(s.yytext.slice(-2)==="\\\\"?(l(0,1),this.begin("mu")):s.yytext.slice(-1)==="\\"?(l(0,1),this.begin("emu")):this.begin("mu"),s.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(l(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(s.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return s.yytext=l(1,2).replace(/\\"/g,'"'),80;break;case 32:return s.yytext=l(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return s.yytext=s.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},n.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},n}();t.lexer=e;function r(){this.yy={}}return r.prototype=t,t.Parser=r,new r}();jr.default=Lm;Sa.exports=jr.default});var Br=$((Fr,Ea)=>{"use strict";Fr.__esModule=!0;function Mm(t){return t&&t.__esModule?t:{default:t}}var Om=oe(),po=Mm(Om);function Tr(){this.parents=[]}Tr.prototype={constructor:Tr,mutating:!1,acceptKey:function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!Tr.prototype[n.type])throw new po.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+e.type);e[r]=n}},acceptRequired:function(e,r){if(this.acceptKey(e,r),!e[r])throw new po.default(e.type+" requires "+r)},acceptArray:function(e){for(var r=0,n=e.length;r<n;r++)this.acceptKey(e,r),e[r]||(e.splice(r,1),r--,n--)},accept:function(e){if(e){if(!this[e.type])throw new po.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var r=this[e.type](e);if(this.current=this.parents.shift(),!this.mutating||r)return r;if(r!==!1)return e}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:Dr,Decorator:Dr,BlockStatement:$a,DecoratorBlock:$a,PartialStatement:Ca,PartialBlockStatement:function(e){Ca.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:Dr,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}};function Dr(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function $a(t){Dr.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function Ca(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}Fr.default=Tr;Ea.exports=Fr.default});var Aa=$((qr,Pa)=>{"use strict";qr.__esModule=!0;function Rm(t){return t&&t.__esModule?t:{default:t}}var Nm=Br(),zm=Rm(Nm);function be(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}be.prototype=new zm.default;be.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,o=0,i=n.length;o<i;o++){var s=n[o],a=this.accept(s);if(a){var c=ho(n,o,r),l=mo(n,o,r),f=a.openStandalone&&c,u=a.closeStandalone&&l,h=a.inlineStandalone&&c&&l;a.close&&We(n,o,!0),a.open&&Le(n,o,!0),e&&h&&(We(n,o),Le(n,o)&&s.type==="PartialStatement"&&(s.indent=/([ \t]+$)/.exec(n[o-1].original)[1])),e&&f&&(We((s.program||s.inverse).body),Le(n,o)),e&&u&&(We(n,o),Le((s.inverse||s.program).body))}}return t};be.prototype.BlockStatement=be.prototype.DecoratorBlock=be.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,r=t.program&&t.inverse,n=r,o=r;if(r&&r.chained)for(n=r.body[0].program;o.chained;)o=o.body[o.body.length-1].program;var i={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:mo(e.body),closeStandalone:ho((n||e).body)};if(t.openStrip.close&&We(e.body,null,!0),r){var s=t.inverseStrip;s.open&&Le(e.body,null,!0),s.close&&We(n.body,null,!0),t.closeStrip.open&&Le(o.body,null,!0),!this.options.ignoreStandalone&&ho(e.body)&&mo(n.body)&&(Le(e.body),We(n.body))}else t.closeStrip.open&&Le(e.body,null,!0);return i};be.prototype.Decorator=be.prototype.MustacheStatement=function(t){return t.strip};be.prototype.PartialStatement=be.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};function ho(t,e,r){e===void 0&&(e=t.length);var n=t[e-1],o=t[e-2];if(!n)return r;if(n.type==="ContentStatement")return(o||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original)}function mo(t,e,r){e===void 0&&(e=-1);var n=t[e+1],o=t[e+2];if(!n)return r;if(n.type==="ContentStatement")return(o||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original)}function We(t,e,r){var n=t[e==null?0:e+1];if(!(!n||n.type!=="ContentStatement"||!r&&n.rightStripped)){var o=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==o}}function Le(t,e,r){var n=t[e==null?t.length-1:e-1];if(!(!n||n.type!=="ContentStatement"||!r&&n.leftStripped)){var o=n.value;return n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==o,n.leftStripped}}qr.default=be;Pa.exports=qr.default});var La=$(ie=>{"use strict";ie.__esModule=!0;ie.SourceLocation=Tm;ie.id=Dm;ie.stripFlags=Fm;ie.stripComment=Bm;ie.preparePath=qm;ie.prepareMustache=Vm;ie.prepareRawBlock=Hm;ie.prepareBlock=Wm;ie.prepareProgram=Um;ie.preparePartialBlock=Gm;function Im(t){return t&&t.__esModule?t:{default:t}}var jm=oe(),go=Im(jm);function bo(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new go.default(t.path.original+" doesn't match "+e,r)}}function Tm(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}function Dm(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function Fm(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function Bm(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function qm(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",o=[],i=0,s=0,a=e.length;s<a;s++){var c=e[s].part,l=e[s].original!==c;if(n+=(e[s].separator||"")+c,!l&&(c===".."||c==="."||c==="this")){if(o.length>0)throw new go.default("Invalid path: "+n,{loc:r});c===".."&&i++}else o.push(c)}return{type:"PathExpression",data:t,depth:i,parts:o,original:n,loc:r}}function Vm(t,e,r,n,o,i){var s=n.charAt(3)||n.charAt(2),a=s!=="{"&&s!=="&",c=/\*/.test(n);return{type:c?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:a,strip:o,loc:this.locInfo(i)}}function Hm(t,e,r,n){bo(t,r),n=this.locInfo(n);var o={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:o,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function Wm(t,e,r,n,o,i){n&&n.path&&bo(t,n);var s=/\*/.test(t.open);e.blockParams=t.blockParams;var a=void 0,c=void 0;if(r){if(s)throw new go.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),c=r.strip,a=r.program}return o&&(o=a,a=e,e=o),{type:s?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:a,openStrip:t.strip,inverseStrip:c,closeStrip:n&&n.strip,loc:this.locInfo(i)}}function Um(t,e){if(!e&&t.length){var r=t[0].loc,n=t[t.length-1].loc;r&&n&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}function Gm(t,e,r,n){return bo(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}});var Ra=$(Bt=>{"use strict";Bt.__esModule=!0;Bt.parseWithoutProcessing=Oa;Bt.parse=t0;function Km(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function Ma(t){return t&&t.__esModule?t:{default:t}}var Ym=_a(),vo=Ma(Ym),Xm=Aa(),Jm=Ma(Xm),Zm=La(),Qm=Km(Zm),e0=X();Bt.parser=vo.default;var Vr={};e0.extend(Vr,Qm);function Oa(t,e){if(t.type==="Program")return t;vo.default.yy=Vr,Vr.locInfo=function(n){return new Vr.SourceLocation(e&&e.srcName,n)};var r=vo.default.parse(t);return r}function t0(t,e){var r=Oa(t,e),n=new Jm.default(e);return n.accept(r)}});var ja=$(Wt=>{"use strict";Wt.__esModule=!0;Wt.Compiler=yo;Wt.precompile=i0;Wt.compile=s0;function za(t){return t&&t.__esModule?t:{default:t}}var r0=oe(),Vt=za(r0),Ht=X(),n0=fo(),qt=za(n0),o0=[].slice;function yo(){}yo.prototype={compiler:yo,equals:function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var n=0;n<r;n++){var o=this.opcodes[n],i=e.opcodes[n];if(o.opcode!==i.opcode||!Ia(o.args,i.args))return!1}r=this.children.length;for(var n=0;n<r;n++)if(!this.children[n].equals(e.children[n]))return!1;return!0},guid:0,compile:function(e,r){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=r,this.stringParams=r.stringParams,this.trackIds=r.trackIds,r.blockParams=r.blockParams||[],r.knownHelpers=Ht.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},r.knownHelpers),this.accept(e)},compileProgram:function(e){var r=new this.compiler,n=r.compile(e,this.options),o=this.guid++;return this.usePartial=this.usePartial||n.usePartial,this.children[o]=n,this.useDepths=this.useDepths||n.useDepths,o},accept:function(e){if(!this[e.type])throw new Vt.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var r=this[e.type](e);return this.sourceNode.shift(),r},Program:function(e){this.options.blockParams.unshift(e.blockParams);for(var r=e.body,n=r.length,o=0;o<n;o++)this.accept(r[o]);return this.options.blockParams.shift(),this.isSimple=n===1,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){Na(e);var r=e.program,n=e.inverse;r=r&&this.compileProgram(r),n=n&&this.compileProgram(n);var o=this.classifySexpr(e);o==="helper"?this.helperSexpr(e,r,n):o==="simple"?(this.simpleSexpr(e),this.opcode("pushProgram",r),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,r,n),this.opcode("pushProgram",r),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(e){var r=e.program&&this.compileProgram(e.program),n=this.setupFullMustacheParams(e,r,void 0),o=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,o.original)},PartialStatement:function(e){this.usePartial=!0;var r=e.program;r&&(r=this.compileProgram(e.program));var n=e.params;if(n.length>1)throw new Vt.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var o=e.name.original,i=e.name.type==="SubExpression";i&&this.accept(e.name),this.setupFullMustacheParams(e,r,void 0,!0);var s=e.indent||"";this.options.preventIndent&&s&&(this.opcode("appendContent",s),s=""),this.opcode("invokePartial",i,o,s),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){Na(e);var r=this.classifySexpr(e);r==="simple"?this.simpleSexpr(e):r==="helper"?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,r,n){var o=e.path,i=o.parts[0],s=r!=null||n!=null;this.opcode("getContext",o.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",n),o.strict=!0,this.accept(o),this.opcode("invokeAmbiguous",i,s)},simpleSexpr:function(e){var r=e.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,r,n){var o=this.setupFullMustacheParams(e,r,n),i=e.path,s=i.parts[0];if(this.options.knownHelpers[s])this.opcode("invokeKnownHelper",o.length,s);else{if(this.options.knownHelpersOnly)throw new Vt.default("You specified knownHelpersOnly, but used the unknown helper "+s,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",o.length,i.original,qt.default.helpers.simpleId(i))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=qt.default.helpers.scopedId(e),o=!e.depth&&!n&&this.blockParamIndex(r);o?this.opcode("lookupBlockParam",o,e.parts):r?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var r=e.pairs,n=0,o=r.length;for(this.opcode("pushHash");n<o;n++)this.pushParam(r[n].value);for(;n--;)this.opcode("assignToHash",r[n].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:o0.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var r=qt.default.helpers.simpleId(e.path),n=r&&!!this.blockParamIndex(e.path.parts[0]),o=!n&&qt.default.helpers.helperExpression(e),i=!n&&(o||r);if(i&&!o){var s=e.path.parts[0],a=this.options;a.knownHelpers[s]?o=!0:a.knownHelpersOnly&&(i=!1)}return o?"helper":i?"ambiguous":"simple"},pushParams:function(e){for(var r=0,n=e.length;r<n;r++)this.pushParam(e[r])},pushParam:function(e){var r=e.value!=null?e.value:e.original||"";if(this.stringParams)r.replace&&(r=r.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",r,e.type),e.type==="SubExpression"&&this.accept(e);else{if(this.trackIds){var n=void 0;if(e.parts&&!qt.default.helpers.scopedId(e)&&!e.depth&&(n=this.blockParamIndex(e.parts[0])),n){var o=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,o)}else r=e.original||r,r.replace&&(r=r.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,r)}this.accept(e)}},setupFullMustacheParams:function(e,r,n,o){var i=e.params;return this.pushParams(i),this.opcode("pushProgram",r),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",o),i},blockParamIndex:function(e){for(var r=0,n=this.options.blockParams.length;r<n;r++){var o=this.options.blockParams[r],i=o&&Ht.indexOf(o,e);if(o&&i>=0)return[r,i]}}};function i0(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new Vt.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);e=e||{},"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=r.parse(t,e),o=new r.Compiler().compile(n,e);return new r.JavaScriptCompiler().compile(o,e)}function s0(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new Vt.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=Ht.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=void 0;function o(){var s=r.parse(t,e),a=new r.Compiler().compile(s,e),c=new r.JavaScriptCompiler().compile(a,e,void 0,!0);return r.template(c)}function i(s,a){return n||(n=o()),n.call(this,s,a)}return i._setup=function(s){return n||(n=o()),n._setup(s)},i._child=function(s,a,c,l){return n||(n=o()),n._child(s,a,c,l)},i}function Ia(t,e){if(t===e)return!0;if(Ht.isArray(t)&&Ht.isArray(e)&&t.length===e.length){for(var r=0;r<t.length;r++)if(!Ia(t[r],e[r]))return!1;return!0}}function Na(t){if(!t.path.parts){var e=t.path;t.path={type:"PathExpression",data:!1,depth:0,parts:[e.original+""],original:e.original+"",loc:e.loc}}}});var Da=$(ko=>{var Ta="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");ko.encode=function(t){if(0<=t&&t<Ta.length)return Ta[t];throw new TypeError("Must be between 0 and 63: "+t)};ko.decode=function(t){var e=65,r=90,n=97,o=122,i=48,s=57,a=43,c=47,l=26,f=52;return e<=t&&t<=r?t-e:n<=t&&t<=o?t-n+l:i<=t&&t<=s?t-i+f:t==a?62:t==c?63:-1}});var So=$(wo=>{var Fa=Da(),xo=5,Ba=1<<xo,qa=Ba-1,Va=Ba;function a0(t){return t<0?(-t<<1)+1:(t<<1)+0}function l0(t){var e=(t&1)===1,r=t>>1;return e?-r:r}wo.encode=function(e){var r="",n,o=a0(e);do n=o&qa,o>>>=xo,o>0&&(n|=Va),r+=Fa.encode(n);while(o>0);return r};wo.decode=function(e,r,n){var o=e.length,i=0,s=0,a,c;do{if(r>=o)throw new Error("Expected more digits in base 64 VLQ value.");if(c=Fa.decode(e.charCodeAt(r++)),c===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));a=!!(c&Va),c&=qa,i=i+(c<<s),s+=xo}while(a);n.value=l0(i),n.rest=r}});var pt=$(U=>{function c0(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}U.getArg=c0;var Ha=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,u0=/^data:.+\,.+$/;function Ut(t){var e=t.match(Ha);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}U.urlParse=Ut;function ut(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}U.urlGenerate=ut;function _o(t){var e=t,r=Ut(t);if(r){if(!r.path)return t;e=r.path}for(var n=U.isAbsolute(e),o=e.split(/\/+/),i,s=0,a=o.length-1;a>=0;a--)i=o[a],i==="."?o.splice(a,1):i===".."?s++:s>0&&(i===""?(o.splice(a+1,s),s=0):(o.splice(a,2),s--));return e=o.join("/"),e===""&&(e=n?"/":"."),r?(r.path=e,ut(r)):e}U.normalize=_o;function Wa(t,e){t===""&&(t="."),e===""&&(e=".");var r=Ut(e),n=Ut(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),ut(r);if(r||e.match(u0))return e;if(n&&!n.host&&!n.path)return n.host=e,ut(n);var o=e.charAt(0)==="/"?e:_o(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=o,ut(n)):o}U.join=Wa;U.isAbsolute=function(t){return t.charAt(0)==="/"||Ha.test(t)};function f0(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var n=t.lastIndexOf("/");if(n<0||(t=t.slice(0,n),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}U.relative=f0;var Ua=function(){var t=Object.create(null);return!("__proto__"in t)}();function Ga(t){return t}function p0(t){return Ka(t)?"$"+t:t}U.toSetString=Ua?Ga:p0;function h0(t){return Ka(t)?t.slice(1):t}U.fromSetString=Ua?Ga:h0;function Ka(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var r=e-10;r>=0;r--)if(t.charCodeAt(r)!==36)return!1;return!0}function d0(t,e,r){var n=ft(t.source,e.source);return n!==0||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0||r)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:ft(t.name,e.name)}U.compareByOriginalPositions=d0;function m0(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=ft(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:ft(t.name,e.name)}U.compareByGeneratedPositionsDeflated=m0;function ft(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function g0(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=ft(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:ft(t.name,e.name)}U.compareByGeneratedPositionsInflated=g0;function b0(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}U.parseSourceMapInput=b0;function v0(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=Ut(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var o=n.path.lastIndexOf("/");o>=0&&(n.path=n.path.substring(0,o+1))}e=Wa(ut(n),e)}return _o(e)}U.computeSourceURL=v0});var Eo=$(Ya=>{var $o=pt(),Co=Object.prototype.hasOwnProperty,Ue=typeof Map<"u";function we(){this._array=[],this._set=Ue?new Map:Object.create(null)}we.fromArray=function(e,r){for(var n=new we,o=0,i=e.length;o<i;o++)n.add(e[o],r);return n};we.prototype.size=function(){return Ue?this._set.size:Object.getOwnPropertyNames(this._set).length};we.prototype.add=function(e,r){var n=Ue?e:$o.toSetString(e),o=Ue?this.has(e):Co.call(this._set,n),i=this._array.length;(!o||r)&&this._array.push(e),o||(Ue?this._set.set(e,i):this._set[n]=i)};we.prototype.has=function(e){if(Ue)return this._set.has(e);var r=$o.toSetString(e);return Co.call(this._set,r)};we.prototype.indexOf=function(e){if(Ue){var r=this._set.get(e);if(r>=0)return r}else{var n=$o.toSetString(e);if(Co.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')};we.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};we.prototype.toArray=function(){return this._array.slice()};Ya.ArraySet=we});var Za=$(Ja=>{var Xa=pt();function y0(t,e){var r=t.generatedLine,n=e.generatedLine,o=t.generatedColumn,i=e.generatedColumn;return n>r||n==r&&i>=o||Xa.compareByGeneratedPositionsInflated(t,e)<=0}function Hr(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Hr.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};Hr.prototype.add=function(e){y0(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};Hr.prototype.toArray=function(){return this._sorted||(this._array.sort(Xa.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Ja.MappingList=Hr});var Po=$(Qa=>{var Gt=So(),F=pt(),Wr=Eo().ArraySet,k0=Za().MappingList;function se(t){t||(t={}),this._file=F.getArg(t,"file",null),this._sourceRoot=F.getArg(t,"sourceRoot",null),this._skipValidation=F.getArg(t,"skipValidation",!1),this._sources=new Wr,this._names=new Wr,this._mappings=new k0,this._sourcesContents=null}se.prototype._version=3;se.fromSourceMap=function(e){var r=e.sourceRoot,n=new se({file:e.file,sourceRoot:r});return e.eachMapping(function(o){var i={generated:{line:o.generatedLine,column:o.generatedColumn}};o.source!=null&&(i.source=o.source,r!=null&&(i.source=F.relative(r,i.source)),i.original={line:o.originalLine,column:o.originalColumn},o.name!=null&&(i.name=o.name)),n.addMapping(i)}),e.sources.forEach(function(o){var i=o;r!==null&&(i=F.relative(r,o)),n._sources.has(i)||n._sources.add(i);var s=e.sourceContentFor(o);s!=null&&n.setSourceContent(o,s)}),n};se.prototype.addMapping=function(e){var r=F.getArg(e,"generated"),n=F.getArg(e,"original",null),o=F.getArg(e,"source",null),i=F.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,o,i),o!=null&&(o=String(o),this._sources.has(o)||this._sources.add(o)),i!=null&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:o,name:i})};se.prototype.setSourceContent=function(e,r){var n=e;this._sourceRoot!=null&&(n=F.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[F.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[F.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};se.prototype.applySourceMap=function(e,r,n){var o=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);o=e.file}var i=this._sourceRoot;i!=null&&(o=F.relative(i,o));var s=new Wr,a=new Wr;this._mappings.unsortedForEach(function(c){if(c.source===o&&c.originalLine!=null){var l=e.originalPositionFor({line:c.originalLine,column:c.originalColumn});l.source!=null&&(c.source=l.source,n!=null&&(c.source=F.join(n,c.source)),i!=null&&(c.source=F.relative(i,c.source)),c.originalLine=l.line,c.originalColumn=l.column,l.name!=null&&(c.name=l.name))}var f=c.source;f!=null&&!s.has(f)&&s.add(f);var u=c.name;u!=null&&!a.has(u)&&a.add(u)},this),this._sources=s,this._names=a,e.sources.forEach(function(c){var l=e.sourceContentFor(c);l!=null&&(n!=null&&(c=F.join(n,c)),i!=null&&(c=F.relative(i,c)),this.setSourceContent(c,l))},this)};se.prototype._validateMapping=function(e,r,n,o){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!o)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:o}))}};se.prototype._serializeMappings=function(){for(var e=0,r=1,n=0,o=0,i=0,s=0,a="",c,l,f,u,h=this._mappings.toArray(),d=0,m=h.length;d<m;d++){if(l=h[d],c="",l.generatedLine!==r)for(e=0;l.generatedLine!==r;)c+=";",r++;else if(d>0){if(!F.compareByGeneratedPositionsInflated(l,h[d-1]))continue;c+=","}c+=Gt.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(u=this._sources.indexOf(l.source),c+=Gt.encode(u-s),s=u,c+=Gt.encode(l.originalLine-1-o),o=l.originalLine-1,c+=Gt.encode(l.originalColumn-n),n=l.originalColumn,l.name!=null&&(f=this._names.indexOf(l.name),c+=Gt.encode(f-i),i=f)),a+=c}return a};se.prototype._generateSourcesContent=function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=F.relative(r,n));var o=F.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,o)?this._sourcesContents[o]:null},this)};se.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};se.prototype.toString=function(){return JSON.stringify(this.toJSON())};Qa.SourceMapGenerator=se});var el=$(Ge=>{Ge.GREATEST_LOWER_BOUND=1;Ge.LEAST_UPPER_BOUND=2;function Ao(t,e,r,n,o,i){var s=Math.floor((e-t)/2)+t,a=o(r,n[s],!0);return a===0?s:a>0?e-s>1?Ao(s,e,r,n,o,i):i==Ge.LEAST_UPPER_BOUND?e<n.length?e:-1:s:s-t>1?Ao(t,s,r,n,o,i):i==Ge.LEAST_UPPER_BOUND?s:t<0?-1:t}Ge.search=function(e,r,n,o){if(r.length===0)return-1;var i=Ao(-1,r.length,e,r,n,o||Ge.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&n(r[i],r[i-1],!0)===0;)--i;return i}});var rl=$(tl=>{function Lo(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function x0(t,e){return Math.round(t+Math.random()*(e-t))}function Mo(t,e,r,n){if(r<n){var o=x0(r,n),i=r-1;Lo(t,o,n);for(var s=t[n],a=r;a<n;a++)e(t[a],s)<=0&&(i+=1,Lo(t,i,a));Lo(t,i+1,a);var c=i+1;Mo(t,e,r,c-1),Mo(t,e,c+1,n)}}tl.quickSort=function(t,e){Mo(t,e,0,t.length-1)}});var ol=$(Ur=>{var v=pt(),Oo=el(),ht=Eo().ArraySet,w0=So(),Kt=rl().quickSort;function R(t,e){var r=t;return typeof t=="string"&&(r=v.parseSourceMapInput(t)),r.sections!=null?new pe(r,e):new W(r,e)}R.fromSourceMap=function(t,e){return W.fromSourceMap(t,e)};R.prototype._version=3;R.prototype.__generatedMappings=null;Object.defineProperty(R.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});R.prototype.__originalMappings=null;Object.defineProperty(R.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});R.prototype._charIsMappingSeparator=function(e,r){var n=e.charAt(r);return n===";"||n===","};R.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};R.GENERATED_ORDER=1;R.ORIGINAL_ORDER=2;R.GREATEST_LOWER_BOUND=1;R.LEAST_UPPER_BOUND=2;R.prototype.eachMapping=function(e,r,n){var o=r||null,i=n||R.GENERATED_ORDER,s;switch(i){case R.GENERATED_ORDER:s=this._generatedMappings;break;case R.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;s.map(function(c){var l=c.source===null?null:this._sources.at(c.source);return l=v.computeSourceURL(a,l,this._sourceMapURL),{source:l,generatedLine:c.generatedLine,generatedColumn:c.generatedColumn,originalLine:c.originalLine,originalColumn:c.originalColumn,name:c.name===null?null:this._names.at(c.name)}},this).forEach(e,o)};R.prototype.allGeneratedPositionsFor=function(e){var r=v.getArg(e,"line"),n={source:v.getArg(e,"source"),originalLine:r,originalColumn:v.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var o=[],i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",v.compareByOriginalPositions,Oo.LEAST_UPPER_BOUND);if(i>=0){var s=this._originalMappings[i];if(e.column===void 0)for(var a=s.originalLine;s&&s.originalLine===a;)o.push({line:v.getArg(s,"generatedLine",null),column:v.getArg(s,"generatedColumn",null),lastColumn:v.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++i];else for(var c=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==c;)o.push({line:v.getArg(s,"generatedLine",null),column:v.getArg(s,"generatedColumn",null),lastColumn:v.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++i]}return o};Ur.SourceMapConsumer=R;function W(t,e){var r=t;typeof t=="string"&&(r=v.parseSourceMapInput(t));var n=v.getArg(r,"version"),o=v.getArg(r,"sources"),i=v.getArg(r,"names",[]),s=v.getArg(r,"sourceRoot",null),a=v.getArg(r,"sourcesContent",null),c=v.getArg(r,"mappings"),l=v.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);s&&(s=v.normalize(s)),o=o.map(String).map(v.normalize).map(function(f){return s&&v.isAbsolute(s)&&v.isAbsolute(f)?v.relative(s,f):f}),this._names=ht.fromArray(i.map(String),!0),this._sources=ht.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(f){return v.computeSourceURL(s,f,e)}),this.sourceRoot=s,this.sourcesContent=a,this._mappings=c,this._sourceMapURL=e,this.file=l}W.prototype=Object.create(R.prototype);W.prototype.consumer=R;W.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=v.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};W.fromSourceMap=function(e,r){var n=Object.create(W.prototype),o=n._names=ht.fromArray(e._names.toArray(),!0),i=n._sources=ht.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=r,n._absoluteSources=n._sources.toArray().map(function(d){return v.computeSourceURL(n.sourceRoot,d,r)});for(var s=e._mappings.toArray().slice(),a=n.__generatedMappings=[],c=n.__originalMappings=[],l=0,f=s.length;l<f;l++){var u=s[l],h=new nl;h.generatedLine=u.generatedLine,h.generatedColumn=u.generatedColumn,u.source&&(h.source=i.indexOf(u.source),h.originalLine=u.originalLine,h.originalColumn=u.originalColumn,u.name&&(h.name=o.indexOf(u.name)),c.push(h)),a.push(h)}return Kt(n.__originalMappings,v.compareByOriginalPositions),n};W.prototype._version=3;Object.defineProperty(W.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function nl(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}W.prototype._parseMappings=function(e,r){for(var n=1,o=0,i=0,s=0,a=0,c=0,l=e.length,f=0,u={},h={},d=[],m=[],g,k,w,S,_;f<l;)if(e.charAt(f)===";")n++,f++,o=0;else if(e.charAt(f)===",")f++;else{for(g=new nl,g.generatedLine=n,S=f;S<l&&!this._charIsMappingSeparator(e,S);S++);if(k=e.slice(f,S),w=u[k],w)f+=k.length;else{for(w=[];f<S;)w0.decode(e,f,h),_=h.value,f=h.rest,w.push(_);if(w.length===2)throw new Error("Found a source, but no line and column");if(w.length===3)throw new Error("Found a source and line, but no column");u[k]=w}g.generatedColumn=o+w[0],o=g.generatedColumn,w.length>1&&(g.source=a+w[1],a+=w[1],g.originalLine=i+w[2],i=g.originalLine,g.originalLine+=1,g.originalColumn=s+w[3],s=g.originalColumn,w.length>4&&(g.name=c+w[4],c+=w[4])),m.push(g),typeof g.originalLine=="number"&&d.push(g)}Kt(m,v.compareByGeneratedPositionsDeflated),this.__generatedMappings=m,Kt(d,v.compareByOriginalPositions),this.__originalMappings=d};W.prototype._findMapping=function(e,r,n,o,i,s){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[o]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[o]);return Oo.search(e,r,i,s)};W.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};W.prototype.originalPositionFor=function(e){var r={generatedLine:v.getArg(e,"line"),generatedColumn:v.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",v.compareByGeneratedPositionsDeflated,v.getArg(e,"bias",R.GREATEST_LOWER_BOUND));if(n>=0){var o=this._generatedMappings[n];if(o.generatedLine===r.generatedLine){var i=v.getArg(o,"source",null);i!==null&&(i=this._sources.at(i),i=v.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var s=v.getArg(o,"name",null);return s!==null&&(s=this._names.at(s)),{source:i,line:v.getArg(o,"originalLine",null),column:v.getArg(o,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}};W.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};W.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var o=e;this.sourceRoot!=null&&(o=v.relative(this.sourceRoot,o));var i;if(this.sourceRoot!=null&&(i=v.urlParse(this.sourceRoot))){var s=o.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(s))return this.sourcesContent[this._sources.indexOf(s)];if((!i.path||i.path=="/")&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(r)return null;throw new Error('"'+o+'" is not in the SourceMap.')};W.prototype.generatedPositionFor=function(e){var r=v.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:v.getArg(e,"line"),originalColumn:v.getArg(e,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",v.compareByOriginalPositions,v.getArg(e,"bias",R.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===n.source)return{line:v.getArg(i,"generatedLine",null),column:v.getArg(i,"generatedColumn",null),lastColumn:v.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};Ur.BasicSourceMapConsumer=W;function pe(t,e){var r=t;typeof t=="string"&&(r=v.parseSourceMapInput(t));var n=v.getArg(r,"version"),o=v.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new ht,this._names=new ht;var i={line:-1,column:0};this._sections=o.map(function(s){if(s.url)throw new Error("Support for url field in sections not implemented.");var a=v.getArg(s,"offset"),c=v.getArg(a,"line"),l=v.getArg(a,"column");if(c<i.line||c===i.line&&l<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=a,{generatedOffset:{generatedLine:c+1,generatedColumn:l+1},consumer:new R(v.getArg(s,"map"),e)}})}pe.prototype=Object.create(R.prototype);pe.prototype.constructor=R;pe.prototype._version=3;Object.defineProperty(pe.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var r=0;r<this._sections[e].consumer.sources.length;r++)t.push(this._sections[e].consumer.sources[r]);return t}});pe.prototype.originalPositionFor=function(e){var r={generatedLine:v.getArg(e,"line"),generatedColumn:v.getArg(e,"column")},n=Oo.search(r,this._sections,function(i,s){var a=i.generatedLine-s.generatedOffset.generatedLine;return a||i.generatedColumn-s.generatedOffset.generatedColumn}),o=this._sections[n];return o?o.consumer.originalPositionFor({line:r.generatedLine-(o.generatedOffset.generatedLine-1),column:r.generatedColumn-(o.generatedOffset.generatedLine===r.generatedLine?o.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};pe.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};pe.prototype.sourceContentFor=function(e,r){for(var n=0;n<this._sections.length;n++){var o=this._sections[n],i=o.consumer.sourceContentFor(e,!0);if(i)return i}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};pe.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(v.getArg(e,"source"))!==-1){var o=n.consumer.generatedPositionFor(e);if(o){var i={line:o.line+(n.generatedOffset.generatedLine-1),column:o.column+(n.generatedOffset.generatedLine===o.line?n.generatedOffset.generatedColumn-1:0)};return i}}}return{line:null,column:null}};pe.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var o=this._sections[n],i=o.consumer._generatedMappings,s=0;s<i.length;s++){var a=i[s],c=o.consumer._sources.at(a.source);c=v.computeSourceURL(o.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var l=null;a.name&&(l=o.consumer._names.at(a.name),this._names.add(l),l=this._names.indexOf(l));var f={source:c,generatedLine:a.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(o.generatedOffset.generatedLine===a.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:l};this.__generatedMappings.push(f),typeof f.originalLine=="number"&&this.__originalMappings.push(f)}Kt(this.__generatedMappings,v.compareByGeneratedPositionsDeflated),Kt(this.__originalMappings,v.compareByOriginalPositions)};Ur.IndexedSourceMapConsumer=pe});var sl=$(il=>{var S0=Po().SourceMapGenerator,Gr=pt(),_0=/(\r?\n)/,$0=10,dt="$$$isSourceNode$$$";function re(t,e,r,n,o){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=o??null,this[dt]=!0,n!=null&&this.add(n)}re.fromStringWithSourceMap=function(e,r,n){var o=new re,i=e.split(_0),s=0,a=function(){var h=m(),d=m()||"";return h+d;function m(){return s<i.length?i[s++]:void 0}},c=1,l=0,f=null;return r.eachMapping(function(h){if(f!==null)if(c<h.generatedLine)u(f,a()),c++,l=0;else{var d=i[s]||"",m=d.substr(0,h.generatedColumn-l);i[s]=d.substr(h.generatedColumn-l),l=h.generatedColumn,u(f,m),f=h;return}for(;c<h.generatedLine;)o.add(a()),c++;if(l<h.generatedColumn){var d=i[s]||"";o.add(d.substr(0,h.generatedColumn)),i[s]=d.substr(h.generatedColumn),l=h.generatedColumn}f=h},this),s<i.length&&(f&&u(f,a()),o.add(i.splice(s).join(""))),r.sources.forEach(function(h){var d=r.sourceContentFor(h);d!=null&&(n!=null&&(h=Gr.join(n,h)),o.setSourceContent(h,d))}),o;function u(h,d){if(h===null||h.source===void 0)o.add(d);else{var m=n?Gr.join(n,h.source):h.source;o.add(new re(h.originalLine,h.originalColumn,m,d,h.name))}}};re.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[dt]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};re.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[dt]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};re.prototype.walk=function(e){for(var r,n=0,o=this.children.length;n<o;n++)r=this.children[n],r[dt]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};re.prototype.join=function(e){var r,n,o=this.children.length;if(o>0){for(r=[],n=0;n<o-1;n++)r.push(this.children[n]),r.push(e);r.push(this.children[n]),this.children=r}return this};re.prototype.replaceRight=function(e,r){var n=this.children[this.children.length-1];return n[dt]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this};re.prototype.setSourceContent=function(e,r){this.sourceContents[Gr.toSetString(e)]=r};re.prototype.walkSourceContents=function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][dt]&&this.children[r].walkSourceContents(e);for(var o=Object.keys(this.sourceContents),r=0,n=o.length;r<n;r++)e(Gr.fromSetString(o[r]),this.sourceContents[o[r]])};re.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};re.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},n=new S0(e),o=!1,i=null,s=null,a=null,c=null;return this.walk(function(l,f){r.code+=l,f.source!==null&&f.line!==null&&f.column!==null?((i!==f.source||s!==f.line||a!==f.column||c!==f.name)&&n.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:r.line,column:r.column},name:f.name}),i=f.source,s=f.line,a=f.column,c=f.name,o=!0):o&&(n.addMapping({generated:{line:r.line,column:r.column}}),i=null,o=!1);for(var u=0,h=l.length;u<h;u++)l.charCodeAt(u)===$0?(r.line++,r.column=0,u+1===h?(i=null,o=!1):o&&n.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:r.line,column:r.column},name:f.name})):r.column++}),this.walkSourceContents(function(l,f){n.setSourceContent(l,f)}),{code:r.code,map:n}};il.SourceNode=re});var al=$(Kr=>{Kr.SourceMapGenerator=Po().SourceMapGenerator;Kr.SourceMapConsumer=ol().SourceMapConsumer;Kr.SourceNode=sl().SourceNode});var fl=$((Yr,ul)=>{"use strict";Yr.__esModule=!0;var No=X(),Ke=void 0;try{(typeof define!="function"||!define.amd)&&(ll=al(),Ke=ll.SourceNode)}catch{}var ll;Ke||(Ke=function(t,e,r,n){this.src="",n&&this.add(n)},Ke.prototype={add:function(e){No.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){No.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function Ro(t,e,r){if(No.isArray(t)){for(var n=[],o=0,i=t.length;o<i;o++)n.push(e.wrap(t[o],r));return n}else if(typeof t=="boolean"||typeof t=="number")return t+"";return t}function cl(t){this.srcFile=t,this.source=[]}cl.prototype={isEmpty:function(){return!this.source.length},prepend:function(e,r){this.source.unshift(this.wrap(e,r))},push:function(e,r){this.source.push(this.wrap(e,r))},merge:function(){var e=this.empty();return this.each(function(r){e.add([" ",r,`
10
- `])}),e},each:function(e){for(var r=0,n=this.source.length;r<n;r++)e(this.source[r])},empty:function(){var e=this.currentLocation||{start:{}};return new Ke(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var r=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return e instanceof Ke?e:(e=Ro(e,this,r),new Ke(r.start.line,r.start.column,this.srcFile,e))},functionCall:function(e,r,n){return n=this.generateList(n),this.wrap([e,r?"."+r+"(":"(",n,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var r=this,n=[];Object.keys(e).forEach(function(i){var s=Ro(e[i],r);s!=="undefined"&&n.push([r.quotedString(i),":",s])});var o=this.generateList(n);return o.prepend("{"),o.add("}"),o},generateList:function(e){for(var r=this.empty(),n=0,o=e.length;n<o;n++)n&&r.add(","),r.add(Ro(e[n],this));return r},generateArray:function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r}};Yr.default=cl;ul.exports=Yr.default});var gl=$((Xr,ml)=>{"use strict";Xr.__esModule=!0;function dl(t){return t&&t.__esModule?t:{default:t}}var pl=Mr(),C0=oe(),zo=dl(C0),E0=X(),P0=fl(),hl=dl(P0);function mt(t){this.value=t}function gt(){}gt.prototype={nameLookup:function(e,r){return this.internalNameLookup(e,r)},depthedLookup:function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},compilerInfo:function(){var e=pl.COMPILER_REVISION,r=pl.REVISION_CHANGES[e];return[e,r]},appendToBuffer:function(e,r,n){return E0.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(e,r,n,o){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!o,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,r),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,s=void 0,a=void 0,c=void 0,l=void 0;for(c=0,l=i.length;c<l;c++)s=i[c],this.source.currentLocation=s.loc,a=a||s.loc,this[s.opcode].apply(this,s.args);if(this.source.currentLocation=a,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new zo.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
7
+ Expecting `+Re.join(", ")+", got '"+(this.terminals_[E]||E)+"'":Pt="Parse error on line "+(p+1)+": Unexpected "+(E==1?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(Pt,{text:this.lexer.match,token:this.terminals_[E]||E,line:this.lexer.yylineno,loc:x,expected:Re})}}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+E);switch(w[0]){case 1:a.push(E),s.push(this.lexer.yytext),c.push(this.lexer.yylloc),a.push(w[1]),E=null,y?(E=y,y=null):(h=this.lexer.yyleng,f=this.lexer.yytext,p=this.lexer.yylineno,x=this.lexer.yylloc,m>0&&m--);break;case 2:if(V=this.productions_[w[1]][1],j.$=s[s.length-V],j._$={first_line:c[c.length-(V||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(V||1)].first_column,last_column:c[c.length-1].last_column},$&&(j._$.range=[c[c.length-(V||1)].range[0],c[c.length-1].range[1]]),R=this.performAction.call(j,f,h,p,this.yy,w[1],s,c),typeof R<"u")return R;V&&(a=a.slice(0,-1*V*2),s=s.slice(0,-1*V),c=c.slice(0,-1*V)),a.push(this.productions_[w[1]][0]),s.push(j.$),c.push(j._$),ar=l[a[a.length-2]][a[a.length-1]],a.push(ar);break;case 3:return!0}}return!0}},e=(function(){var n={EOF:1,parseError:function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw new Error(i)},setInput:function(i){return this._input=i,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var a=i.length,s=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a-1),this.offset-=a;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var l=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===c.length?this.yylloc.first_column:0)+c[c.length-s.length].length-s[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[l[0],l[0]+this.yyleng-a]),this},more:function(){return this._more=!0,this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
8
+ `+a+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,a,s,c,l,f;this._more||(this.yytext="",this.match="");for(var p=this._currentRules(),h=0;h<p.length&&(s=this._input.match(this.rules[p[h]]),!(s&&(!a||s[0].length>a[0].length)&&(a=s,c=h,!this.options.flex)));h++);return a?(f=a[0].match(/(?:\r\n?|\n).*/g),f&&(this.yylineno+=f.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:f?f[f.length-1].length-f[f.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],i=this.performAction.call(this,this.yy,this,p[c],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
9
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var i=this.next();return typeof i<"u"?i:this.lex()},begin:function(i){this.conditionStack.push(i)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(i){this.begin(i)}};return n.options={},n.performAction=function(i,a,s,c){function l(p,h){return a.yytext=a.yytext.substring(p,a.yyleng-h+p)}var f=c;switch(s){case 0:if(a.yytext.slice(-2)==="\\\\"?(l(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(l(0,1),this.begin("emu")):this.begin("mu"),a.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(l(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(a.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return a.yytext=l(1,2).replace(/\\"/g,'"'),80;break;case 32:return a.yytext=l(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return a.yytext=a.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},n.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},n})();t.lexer=e;function r(){this.yy={}}return r.prototype=t,t.Parser=r,new r})();Wr.default=Vm;Ps.exports=Wr.default});var Yr=P((Kr,Os)=>{"use strict";Kr.__esModule=!0;function Hm(t){return t&&t.__esModule?t:{default:t}}var Wm=ce(),xo=Hm(Wm);function Ur(){this.parents=[]}Ur.prototype={constructor:Ur,mutating:!1,acceptKey:function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!Ur.prototype[n.type])throw new xo.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+e.type);e[r]=n}},acceptRequired:function(e,r){if(this.acceptKey(e,r),!e[r])throw new xo.default(e.type+" requires "+r)},acceptArray:function(e){for(var r=0,n=e.length;r<n;r++)this.acceptKey(e,r),e[r]||(e.splice(r,1),r--,n--)},accept:function(e){if(e){if(!this[e.type])throw new xo.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var r=this[e.type](e);if(this.current=this.parents.shift(),!this.mutating||r)return r;if(r!==!1)return e}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:Gr,Decorator:Gr,BlockStatement:Ls,DecoratorBlock:Ls,PartialStatement:Ms,PartialBlockStatement:function(e){Ms.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:Gr,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}};function Gr(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function Ls(t){Gr.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function Ms(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}Kr.default=Ur;Os.exports=Kr.default});var Ns=P((Xr,Rs)=>{"use strict";Xr.__esModule=!0;function Um(t){return t&&t.__esModule?t:{default:t}}var Gm=Yr(),Km=Um(Gm);function _e(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}_e.prototype=new Km.default;_e.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,o=0,i=n.length;o<i;o++){var a=n[o],s=this.accept(a);if(s){var c=wo(n,o,r),l=So(n,o,r),f=s.openStandalone&&c,p=s.closeStandalone&&l,h=s.inlineStandalone&&c&&l;s.close&&Qe(n,o,!0),s.open&&Fe(n,o,!0),e&&h&&(Qe(n,o),Fe(n,o)&&a.type==="PartialStatement"&&(a.indent=/([ \t]+$)/.exec(n[o-1].original)[1])),e&&f&&(Qe((a.program||a.inverse).body),Fe(n,o)),e&&p&&(Qe(n,o),Fe((a.inverse||a.program).body))}}return t};_e.prototype.BlockStatement=_e.prototype.DecoratorBlock=_e.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,r=t.program&&t.inverse,n=r,o=r;if(r&&r.chained)for(n=r.body[0].program;o.chained;)o=o.body[o.body.length-1].program;var i={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:So(e.body),closeStandalone:wo((n||e).body)};if(t.openStrip.close&&Qe(e.body,null,!0),r){var a=t.inverseStrip;a.open&&Fe(e.body,null,!0),a.close&&Qe(n.body,null,!0),t.closeStrip.open&&Fe(o.body,null,!0),!this.options.ignoreStandalone&&wo(e.body)&&So(n.body)&&(Fe(e.body),Qe(n.body))}else t.closeStrip.open&&Fe(e.body,null,!0);return i};_e.prototype.Decorator=_e.prototype.MustacheStatement=function(t){return t.strip};_e.prototype.PartialStatement=_e.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};function wo(t,e,r){e===void 0&&(e=t.length);var n=t[e-1],o=t[e-2];if(!n)return r;if(n.type==="ContentStatement")return(o||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original)}function So(t,e,r){e===void 0&&(e=-1);var n=t[e+1],o=t[e+2];if(!n)return r;if(n.type==="ContentStatement")return(o||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original)}function Qe(t,e,r){var n=t[e==null?0:e+1];if(!(!n||n.type!=="ContentStatement"||!r&&n.rightStripped)){var o=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==o}}function Fe(t,e,r){var n=t[e==null?t.length-1:e-1];if(!(!n||n.type!=="ContentStatement"||!r&&n.leftStripped)){var o=n.value;return n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==o,n.leftStripped}}Xr.default=_e;Rs.exports=Xr.default});var zs=P(ue=>{"use strict";ue.__esModule=!0;ue.SourceLocation=Jm;ue.id=Zm;ue.stripFlags=Qm;ue.stripComment=eg;ue.preparePath=tg;ue.prepareMustache=rg;ue.prepareRawBlock=ng;ue.prepareBlock=og;ue.prepareProgram=ig;ue.preparePartialBlock=ag;function Ym(t){return t&&t.__esModule?t:{default:t}}var Xm=ce(),$o=Ym(Xm);function _o(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new $o.default(t.path.original+" doesn't match "+e,r)}}function Jm(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}function Zm(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function Qm(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function eg(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function tg(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",o=[],i=0,a=0,s=e.length;a<s;a++){var c=e[a].part,l=e[a].original!==c;if(n+=(e[a].separator||"")+c,!l&&(c===".."||c==="."||c==="this")){if(o.length>0)throw new $o.default("Invalid path: "+n,{loc:r});c===".."&&i++}else o.push(c)}return{type:"PathExpression",data:t,depth:i,parts:o,original:n,loc:r}}function rg(t,e,r,n,o,i){var a=n.charAt(3)||n.charAt(2),s=a!=="{"&&a!=="&",c=/\*/.test(n);return{type:c?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:s,strip:o,loc:this.locInfo(i)}}function ng(t,e,r,n){_o(t,r),n=this.locInfo(n);var o={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:o,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function og(t,e,r,n,o,i){n&&n.path&&_o(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var s=void 0,c=void 0;if(r){if(a)throw new $o.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),c=r.strip,s=r.program}return o&&(o=s,s=e,e=o),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:s,openStrip:t.strip,inverseStrip:c,closeStrip:n&&n.strip,loc:this.locInfo(i)}}function ig(t,e){if(!e&&t.length){var r=t[0].loc,n=t[t.length-1].loc;r&&n&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}function ag(t,e,r,n){return _o(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}});var Ds=P(Yt=>{"use strict";Yt.__esModule=!0;Yt.parseWithoutProcessing=js;Yt.parse=hg;function sg(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function Is(t){return t&&t.__esModule?t:{default:t}}var lg=As(),Co=Is(lg),cg=Ns(),ug=Is(cg),pg=zs(),fg=sg(pg),dg=te();Yt.parser=Co.default;var Jr={};dg.extend(Jr,fg);function js(t,e){if(t.type==="Program")return t;Co.default.yy=Jr,Jr.locInfo=function(n){return new Jr.SourceLocation(e&&e.srcName,n)};var r=Co.default.parse(t);return r}function hg(t,e){var r=js(t,e),n=new ug.default(e);return n.accept(r)}});var qs=P(Qt=>{"use strict";Qt.__esModule=!0;Qt.Compiler=Eo;Qt.precompile=yg;Qt.compile=vg;function Fs(t){return t&&t.__esModule?t:{default:t}}var mg=ce(),Jt=Fs(mg),Zt=te(),gg=ko(),Xt=Fs(gg),bg=[].slice;function Eo(){}Eo.prototype={compiler:Eo,equals:function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var n=0;n<r;n++){var o=this.opcodes[n],i=e.opcodes[n];if(o.opcode!==i.opcode||!Bs(o.args,i.args))return!1}r=this.children.length;for(var n=0;n<r;n++)if(!this.children[n].equals(e.children[n]))return!1;return!0},guid:0,compile:function(e,r){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=r,this.stringParams=r.stringParams,this.trackIds=r.trackIds,r.blockParams=r.blockParams||[],r.knownHelpers=Zt.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},r.knownHelpers),this.accept(e)},compileProgram:function(e){var r=new this.compiler,n=r.compile(e,this.options),o=this.guid++;return this.usePartial=this.usePartial||n.usePartial,this.children[o]=n,this.useDepths=this.useDepths||n.useDepths,o},accept:function(e){if(!this[e.type])throw new Jt.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var r=this[e.type](e);return this.sourceNode.shift(),r},Program:function(e){this.options.blockParams.unshift(e.blockParams);for(var r=e.body,n=r.length,o=0;o<n;o++)this.accept(r[o]);return this.options.blockParams.shift(),this.isSimple=n===1,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){Ts(e);var r=e.program,n=e.inverse;r=r&&this.compileProgram(r),n=n&&this.compileProgram(n);var o=this.classifySexpr(e);o==="helper"?this.helperSexpr(e,r,n):o==="simple"?(this.simpleSexpr(e),this.opcode("pushProgram",r),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,r,n),this.opcode("pushProgram",r),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(e){var r=e.program&&this.compileProgram(e.program),n=this.setupFullMustacheParams(e,r,void 0),o=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,o.original)},PartialStatement:function(e){this.usePartial=!0;var r=e.program;r&&(r=this.compileProgram(e.program));var n=e.params;if(n.length>1)throw new Jt.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var o=e.name.original,i=e.name.type==="SubExpression";i&&this.accept(e.name),this.setupFullMustacheParams(e,r,void 0,!0);var a=e.indent||"";this.options.preventIndent&&a&&(this.opcode("appendContent",a),a=""),this.opcode("invokePartial",i,o,a),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){Ts(e);var r=this.classifySexpr(e);r==="simple"?this.simpleSexpr(e):r==="helper"?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,r,n){var o=e.path,i=o.parts[0],a=r!=null||n!=null;this.opcode("getContext",o.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",n),o.strict=!0,this.accept(o),this.opcode("invokeAmbiguous",i,a)},simpleSexpr:function(e){var r=e.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,r,n){var o=this.setupFullMustacheParams(e,r,n),i=e.path,a=i.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",o.length,a);else{if(this.options.knownHelpersOnly)throw new Jt.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",o.length,i.original,Xt.default.helpers.simpleId(i))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=Xt.default.helpers.scopedId(e),o=!e.depth&&!n&&this.blockParamIndex(r);o?this.opcode("lookupBlockParam",o,e.parts):r?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var r=e.pairs,n=0,o=r.length;for(this.opcode("pushHash");n<o;n++)this.pushParam(r[n].value);for(;n--;)this.opcode("assignToHash",r[n].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:bg.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var r=Xt.default.helpers.simpleId(e.path),n=r&&!!this.blockParamIndex(e.path.parts[0]),o=!n&&Xt.default.helpers.helperExpression(e),i=!n&&(o||r);if(i&&!o){var a=e.path.parts[0],s=this.options;s.knownHelpers[a]?o=!0:s.knownHelpersOnly&&(i=!1)}return o?"helper":i?"ambiguous":"simple"},pushParams:function(e){for(var r=0,n=e.length;r<n;r++)this.pushParam(e[r])},pushParam:function(e){var r=e.value!=null?e.value:e.original||"";if(this.stringParams)r.replace&&(r=r.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",r,e.type),e.type==="SubExpression"&&this.accept(e);else{if(this.trackIds){var n=void 0;if(e.parts&&!Xt.default.helpers.scopedId(e)&&!e.depth&&(n=this.blockParamIndex(e.parts[0])),n){var o=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,o)}else r=e.original||r,r.replace&&(r=r.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,r)}this.accept(e)}},setupFullMustacheParams:function(e,r,n,o){var i=e.params;return this.pushParams(i),this.opcode("pushProgram",r),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",o),i},blockParamIndex:function(e){for(var r=0,n=this.options.blockParams.length;r<n;r++){var o=this.options.blockParams[r],i=o&&Zt.indexOf(o,e);if(o&&i>=0)return[r,i]}}};function yg(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new Jt.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);e=e||{},"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=r.parse(t,e),o=new r.Compiler().compile(n,e);return new r.JavaScriptCompiler().compile(o,e)}function vg(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new Jt.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=Zt.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=void 0;function o(){var a=r.parse(t,e),s=new r.Compiler().compile(a,e),c=new r.JavaScriptCompiler().compile(s,e,void 0,!0);return r.template(c)}function i(a,s){return n||(n=o()),n.call(this,a,s)}return i._setup=function(a){return n||(n=o()),n._setup(a)},i._child=function(a,s,c,l){return n||(n=o()),n._child(a,s,c,l)},i}function Bs(t,e){if(t===e)return!0;if(Zt.isArray(t)&&Zt.isArray(e)&&t.length===e.length){for(var r=0;r<t.length;r++)if(!Bs(t[r],e[r]))return!1;return!0}}function Ts(t){if(!t.path.parts){var e=t.path;t.path={type:"PathExpression",data:!1,depth:0,parts:[e.original+""],original:e.original+"",loc:e.loc}}}});var Hs=P(Po=>{var Vs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Po.encode=function(t){if(0<=t&&t<Vs.length)return Vs[t];throw new TypeError("Must be between 0 and 63: "+t)};Po.decode=function(t){var e=65,r=90,n=97,o=122,i=48,a=57,s=43,c=47,l=26,f=52;return e<=t&&t<=r?t-e:n<=t&&t<=o?t-n+l:i<=t&&t<=a?t-i+f:t==s?62:t==c?63:-1}});var Mo=P(Lo=>{var Ws=Hs(),Ao=5,Us=1<<Ao,Gs=Us-1,Ks=Us;function kg(t){return t<0?(-t<<1)+1:(t<<1)+0}function xg(t){var e=(t&1)===1,r=t>>1;return e?-r:r}Lo.encode=function(e){var r="",n,o=kg(e);do n=o&Gs,o>>>=Ao,o>0&&(n|=Ks),r+=Ws.encode(n);while(o>0);return r};Lo.decode=function(e,r,n){var o=e.length,i=0,a=0,s,c;do{if(r>=o)throw new Error("Expected more digits in base 64 VLQ value.");if(c=Ws.decode(e.charCodeAt(r++)),c===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));s=!!(c&Ks),c&=Gs,i=i+(c<<a),a+=Ao}while(s);n.value=xg(i),n.rest=r}});var wt=P(Y=>{function wg(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}Y.getArg=wg;var Ys=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Sg=/^data:.+\,.+$/;function er(t){var e=t.match(Ys);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}Y.urlParse=er;function kt(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}Y.urlGenerate=kt;function Oo(t){var e=t,r=er(t);if(r){if(!r.path)return t;e=r.path}for(var n=Y.isAbsolute(e),o=e.split(/\/+/),i,a=0,s=o.length-1;s>=0;s--)i=o[s],i==="."?o.splice(s,1):i===".."?a++:a>0&&(i===""?(o.splice(s+1,a),a=0):(o.splice(s,2),a--));return e=o.join("/"),e===""&&(e=n?"/":"."),r?(r.path=e,kt(r)):e}Y.normalize=Oo;function Xs(t,e){t===""&&(t="."),e===""&&(e=".");var r=er(e),n=er(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),kt(r);if(r||e.match(Sg))return e;if(n&&!n.host&&!n.path)return n.host=e,kt(n);var o=e.charAt(0)==="/"?e:Oo(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=o,kt(n)):o}Y.join=Xs;Y.isAbsolute=function(t){return t.charAt(0)==="/"||Ys.test(t)};function $g(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var n=t.lastIndexOf("/");if(n<0||(t=t.slice(0,n),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}Y.relative=$g;var Js=(function(){var t=Object.create(null);return!("__proto__"in t)})();function Zs(t){return t}function _g(t){return Qs(t)?"$"+t:t}Y.toSetString=Js?Zs:_g;function Cg(t){return Qs(t)?t.slice(1):t}Y.fromSetString=Js?Zs:Cg;function Qs(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var r=e-10;r>=0;r--)if(t.charCodeAt(r)!==36)return!1;return!0}function Eg(t,e,r){var n=xt(t.source,e.source);return n!==0||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0||r)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:xt(t.name,e.name)}Y.compareByOriginalPositions=Eg;function Pg(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=xt(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:xt(t.name,e.name)}Y.compareByGeneratedPositionsDeflated=Pg;function xt(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function Ag(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=xt(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:xt(t.name,e.name)}Y.compareByGeneratedPositionsInflated=Ag;function Lg(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}Y.parseSourceMapInput=Lg;function Mg(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=er(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var o=n.path.lastIndexOf("/");o>=0&&(n.path=n.path.substring(0,o+1))}e=Xs(kt(n),e)}return Oo(e)}Y.computeSourceURL=Mg});var zo=P(el=>{var Ro=wt(),No=Object.prototype.hasOwnProperty,et=typeof Map<"u";function Me(){this._array=[],this._set=et?new Map:Object.create(null)}Me.fromArray=function(e,r){for(var n=new Me,o=0,i=e.length;o<i;o++)n.add(e[o],r);return n};Me.prototype.size=function(){return et?this._set.size:Object.getOwnPropertyNames(this._set).length};Me.prototype.add=function(e,r){var n=et?e:Ro.toSetString(e),o=et?this.has(e):No.call(this._set,n),i=this._array.length;(!o||r)&&this._array.push(e),o||(et?this._set.set(e,i):this._set[n]=i)};Me.prototype.has=function(e){if(et)return this._set.has(e);var r=Ro.toSetString(e);return No.call(this._set,r)};Me.prototype.indexOf=function(e){if(et){var r=this._set.get(e);if(r>=0)return r}else{var n=Ro.toSetString(e);if(No.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')};Me.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};Me.prototype.toArray=function(){return this._array.slice()};el.ArraySet=Me});var nl=P(rl=>{var tl=wt();function Og(t,e){var r=t.generatedLine,n=e.generatedLine,o=t.generatedColumn,i=e.generatedColumn;return n>r||n==r&&i>=o||tl.compareByGeneratedPositionsInflated(t,e)<=0}function Zr(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Zr.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};Zr.prototype.add=function(e){Og(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};Zr.prototype.toArray=function(){return this._sorted||(this._array.sort(tl.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};rl.MappingList=Zr});var Io=P(ol=>{var tr=Mo(),W=wt(),Qr=zo().ArraySet,Rg=nl().MappingList;function pe(t){t||(t={}),this._file=W.getArg(t,"file",null),this._sourceRoot=W.getArg(t,"sourceRoot",null),this._skipValidation=W.getArg(t,"skipValidation",!1),this._sources=new Qr,this._names=new Qr,this._mappings=new Rg,this._sourcesContents=null}pe.prototype._version=3;pe.fromSourceMap=function(e){var r=e.sourceRoot,n=new pe({file:e.file,sourceRoot:r});return e.eachMapping(function(o){var i={generated:{line:o.generatedLine,column:o.generatedColumn}};o.source!=null&&(i.source=o.source,r!=null&&(i.source=W.relative(r,i.source)),i.original={line:o.originalLine,column:o.originalColumn},o.name!=null&&(i.name=o.name)),n.addMapping(i)}),e.sources.forEach(function(o){var i=o;r!==null&&(i=W.relative(r,o)),n._sources.has(i)||n._sources.add(i);var a=e.sourceContentFor(o);a!=null&&n.setSourceContent(o,a)}),n};pe.prototype.addMapping=function(e){var r=W.getArg(e,"generated"),n=W.getArg(e,"original",null),o=W.getArg(e,"source",null),i=W.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,o,i),o!=null&&(o=String(o),this._sources.has(o)||this._sources.add(o)),i!=null&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:o,name:i})};pe.prototype.setSourceContent=function(e,r){var n=e;this._sourceRoot!=null&&(n=W.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[W.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[W.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};pe.prototype.applySourceMap=function(e,r,n){var o=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);o=e.file}var i=this._sourceRoot;i!=null&&(o=W.relative(i,o));var a=new Qr,s=new Qr;this._mappings.unsortedForEach(function(c){if(c.source===o&&c.originalLine!=null){var l=e.originalPositionFor({line:c.originalLine,column:c.originalColumn});l.source!=null&&(c.source=l.source,n!=null&&(c.source=W.join(n,c.source)),i!=null&&(c.source=W.relative(i,c.source)),c.originalLine=l.line,c.originalColumn=l.column,l.name!=null&&(c.name=l.name))}var f=c.source;f!=null&&!a.has(f)&&a.add(f);var p=c.name;p!=null&&!s.has(p)&&s.add(p)},this),this._sources=a,this._names=s,e.sources.forEach(function(c){var l=e.sourceContentFor(c);l!=null&&(n!=null&&(c=W.join(n,c)),i!=null&&(c=W.relative(i,c)),this.setSourceContent(c,l))},this)};pe.prototype._validateMapping=function(e,r,n,o){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!o)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:o}))}};pe.prototype._serializeMappings=function(){for(var e=0,r=1,n=0,o=0,i=0,a=0,s="",c,l,f,p,h=this._mappings.toArray(),m=0,g=h.length;m<g;m++){if(l=h[m],c="",l.generatedLine!==r)for(e=0;l.generatedLine!==r;)c+=";",r++;else if(m>0){if(!W.compareByGeneratedPositionsInflated(l,h[m-1]))continue;c+=","}c+=tr.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(p=this._sources.indexOf(l.source),c+=tr.encode(p-a),a=p,c+=tr.encode(l.originalLine-1-o),o=l.originalLine-1,c+=tr.encode(l.originalColumn-n),n=l.originalColumn,l.name!=null&&(f=this._names.indexOf(l.name),c+=tr.encode(f-i),i=f)),s+=c}return s};pe.prototype._generateSourcesContent=function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=W.relative(r,n));var o=W.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,o)?this._sourcesContents[o]:null},this)};pe.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};pe.prototype.toString=function(){return JSON.stringify(this.toJSON())};ol.SourceMapGenerator=pe});var il=P(tt=>{tt.GREATEST_LOWER_BOUND=1;tt.LEAST_UPPER_BOUND=2;function jo(t,e,r,n,o,i){var a=Math.floor((e-t)/2)+t,s=o(r,n[a],!0);return s===0?a:s>0?e-a>1?jo(a,e,r,n,o,i):i==tt.LEAST_UPPER_BOUND?e<n.length?e:-1:a:a-t>1?jo(t,a,r,n,o,i):i==tt.LEAST_UPPER_BOUND?a:t<0?-1:t}tt.search=function(e,r,n,o){if(r.length===0)return-1;var i=jo(-1,r.length,e,r,n,o||tt.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&n(r[i],r[i-1],!0)===0;)--i;return i}});var sl=P(al=>{function Do(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function Ng(t,e){return Math.round(t+Math.random()*(e-t))}function To(t,e,r,n){if(r<n){var o=Ng(r,n),i=r-1;Do(t,o,n);for(var a=t[n],s=r;s<n;s++)e(t[s],a)<=0&&(i+=1,Do(t,i,s));Do(t,i+1,s);var c=i+1;To(t,e,r,c-1),To(t,e,c+1,n)}}al.quickSort=function(t,e){To(t,e,0,t.length-1)}});var cl=P(en=>{var v=wt(),Fo=il(),St=zo().ArraySet,zg=Mo(),rr=sl().quickSort;function I(t,e){var r=t;return typeof t=="string"&&(r=v.parseSourceMapInput(t)),r.sections!=null?new be(r,e):new K(r,e)}I.fromSourceMap=function(t,e){return K.fromSourceMap(t,e)};I.prototype._version=3;I.prototype.__generatedMappings=null;Object.defineProperty(I.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});I.prototype.__originalMappings=null;Object.defineProperty(I.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});I.prototype._charIsMappingSeparator=function(e,r){var n=e.charAt(r);return n===";"||n===","};I.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};I.GENERATED_ORDER=1;I.ORIGINAL_ORDER=2;I.GREATEST_LOWER_BOUND=1;I.LEAST_UPPER_BOUND=2;I.prototype.eachMapping=function(e,r,n){var o=r||null,i=n||I.GENERATED_ORDER,a;switch(i){case I.GENERATED_ORDER:a=this._generatedMappings;break;case I.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var s=this.sourceRoot;a.map(function(c){var l=c.source===null?null:this._sources.at(c.source);return l=v.computeSourceURL(s,l,this._sourceMapURL),{source:l,generatedLine:c.generatedLine,generatedColumn:c.generatedColumn,originalLine:c.originalLine,originalColumn:c.originalColumn,name:c.name===null?null:this._names.at(c.name)}},this).forEach(e,o)};I.prototype.allGeneratedPositionsFor=function(e){var r=v.getArg(e,"line"),n={source:v.getArg(e,"source"),originalLine:r,originalColumn:v.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var o=[],i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",v.compareByOriginalPositions,Fo.LEAST_UPPER_BOUND);if(i>=0){var a=this._originalMappings[i];if(e.column===void 0)for(var s=a.originalLine;a&&a.originalLine===s;)o.push({line:v.getArg(a,"generatedLine",null),column:v.getArg(a,"generatedColumn",null),lastColumn:v.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i];else for(var c=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==c;)o.push({line:v.getArg(a,"generatedLine",null),column:v.getArg(a,"generatedColumn",null),lastColumn:v.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i]}return o};en.SourceMapConsumer=I;function K(t,e){var r=t;typeof t=="string"&&(r=v.parseSourceMapInput(t));var n=v.getArg(r,"version"),o=v.getArg(r,"sources"),i=v.getArg(r,"names",[]),a=v.getArg(r,"sourceRoot",null),s=v.getArg(r,"sourcesContent",null),c=v.getArg(r,"mappings"),l=v.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);a&&(a=v.normalize(a)),o=o.map(String).map(v.normalize).map(function(f){return a&&v.isAbsolute(a)&&v.isAbsolute(f)?v.relative(a,f):f}),this._names=St.fromArray(i.map(String),!0),this._sources=St.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(f){return v.computeSourceURL(a,f,e)}),this.sourceRoot=a,this.sourcesContent=s,this._mappings=c,this._sourceMapURL=e,this.file=l}K.prototype=Object.create(I.prototype);K.prototype.consumer=I;K.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=v.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};K.fromSourceMap=function(e,r){var n=Object.create(K.prototype),o=n._names=St.fromArray(e._names.toArray(),!0),i=n._sources=St.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=r,n._absoluteSources=n._sources.toArray().map(function(m){return v.computeSourceURL(n.sourceRoot,m,r)});for(var a=e._mappings.toArray().slice(),s=n.__generatedMappings=[],c=n.__originalMappings=[],l=0,f=a.length;l<f;l++){var p=a[l],h=new ll;h.generatedLine=p.generatedLine,h.generatedColumn=p.generatedColumn,p.source&&(h.source=i.indexOf(p.source),h.originalLine=p.originalLine,h.originalColumn=p.originalColumn,p.name&&(h.name=o.indexOf(p.name)),c.push(h)),s.push(h)}return rr(n.__originalMappings,v.compareByOriginalPositions),n};K.prototype._version=3;Object.defineProperty(K.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function ll(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}K.prototype._parseMappings=function(e,r){for(var n=1,o=0,i=0,a=0,s=0,c=0,l=e.length,f=0,p={},h={},m=[],g=[],b,x,$,S,_;f<l;)if(e.charAt(f)===";")n++,f++,o=0;else if(e.charAt(f)===",")f++;else{for(b=new ll,b.generatedLine=n,S=f;S<l&&!this._charIsMappingSeparator(e,S);S++);if(x=e.slice(f,S),$=p[x],$)f+=x.length;else{for($=[];f<S;)zg.decode(e,f,h),_=h.value,f=h.rest,$.push(_);if($.length===2)throw new Error("Found a source, but no line and column");if($.length===3)throw new Error("Found a source and line, but no column");p[x]=$}b.generatedColumn=o+$[0],o=b.generatedColumn,$.length>1&&(b.source=s+$[1],s+=$[1],b.originalLine=i+$[2],i=b.originalLine,b.originalLine+=1,b.originalColumn=a+$[3],a=b.originalColumn,$.length>4&&(b.name=c+$[4],c+=$[4])),g.push(b),typeof b.originalLine=="number"&&m.push(b)}rr(g,v.compareByGeneratedPositionsDeflated),this.__generatedMappings=g,rr(m,v.compareByOriginalPositions),this.__originalMappings=m};K.prototype._findMapping=function(e,r,n,o,i,a){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[o]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[o]);return Fo.search(e,r,i,a)};K.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};K.prototype.originalPositionFor=function(e){var r={generatedLine:v.getArg(e,"line"),generatedColumn:v.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",v.compareByGeneratedPositionsDeflated,v.getArg(e,"bias",I.GREATEST_LOWER_BOUND));if(n>=0){var o=this._generatedMappings[n];if(o.generatedLine===r.generatedLine){var i=v.getArg(o,"source",null);i!==null&&(i=this._sources.at(i),i=v.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var a=v.getArg(o,"name",null);return a!==null&&(a=this._names.at(a)),{source:i,line:v.getArg(o,"originalLine",null),column:v.getArg(o,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};K.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};K.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var o=e;this.sourceRoot!=null&&(o=v.relative(this.sourceRoot,o));var i;if(this.sourceRoot!=null&&(i=v.urlParse(this.sourceRoot))){var a=o.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!i.path||i.path=="/")&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(r)return null;throw new Error('"'+o+'" is not in the SourceMap.')};K.prototype.generatedPositionFor=function(e){var r=v.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:v.getArg(e,"line"),originalColumn:v.getArg(e,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",v.compareByOriginalPositions,v.getArg(e,"bias",I.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===n.source)return{line:v.getArg(i,"generatedLine",null),column:v.getArg(i,"generatedColumn",null),lastColumn:v.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};en.BasicSourceMapConsumer=K;function be(t,e){var r=t;typeof t=="string"&&(r=v.parseSourceMapInput(t));var n=v.getArg(r,"version"),o=v.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new St,this._names=new St;var i={line:-1,column:0};this._sections=o.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var s=v.getArg(a,"offset"),c=v.getArg(s,"line"),l=v.getArg(s,"column");if(c<i.line||c===i.line&&l<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=s,{generatedOffset:{generatedLine:c+1,generatedColumn:l+1},consumer:new I(v.getArg(a,"map"),e)}})}be.prototype=Object.create(I.prototype);be.prototype.constructor=I;be.prototype._version=3;Object.defineProperty(be.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var r=0;r<this._sections[e].consumer.sources.length;r++)t.push(this._sections[e].consumer.sources[r]);return t}});be.prototype.originalPositionFor=function(e){var r={generatedLine:v.getArg(e,"line"),generatedColumn:v.getArg(e,"column")},n=Fo.search(r,this._sections,function(i,a){var s=i.generatedLine-a.generatedOffset.generatedLine;return s||i.generatedColumn-a.generatedOffset.generatedColumn}),o=this._sections[n];return o?o.consumer.originalPositionFor({line:r.generatedLine-(o.generatedOffset.generatedLine-1),column:r.generatedColumn-(o.generatedOffset.generatedLine===r.generatedLine?o.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};be.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};be.prototype.sourceContentFor=function(e,r){for(var n=0;n<this._sections.length;n++){var o=this._sections[n],i=o.consumer.sourceContentFor(e,!0);if(i)return i}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};be.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(v.getArg(e,"source"))!==-1){var o=n.consumer.generatedPositionFor(e);if(o){var i={line:o.line+(n.generatedOffset.generatedLine-1),column:o.column+(n.generatedOffset.generatedLine===o.line?n.generatedOffset.generatedColumn-1:0)};return i}}}return{line:null,column:null}};be.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var o=this._sections[n],i=o.consumer._generatedMappings,a=0;a<i.length;a++){var s=i[a],c=o.consumer._sources.at(s.source);c=v.computeSourceURL(o.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var l=null;s.name&&(l=o.consumer._names.at(s.name),this._names.add(l),l=this._names.indexOf(l));var f={source:c,generatedLine:s.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:s.generatedColumn+(o.generatedOffset.generatedLine===s.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:s.originalLine,originalColumn:s.originalColumn,name:l};this.__generatedMappings.push(f),typeof f.originalLine=="number"&&this.__originalMappings.push(f)}rr(this.__generatedMappings,v.compareByGeneratedPositionsDeflated),rr(this.__originalMappings,v.compareByOriginalPositions)};en.IndexedSourceMapConsumer=be});var pl=P(ul=>{var Ig=Io().SourceMapGenerator,tn=wt(),jg=/(\r?\n)/,Dg=10,$t="$$$isSourceNode$$$";function ae(t,e,r,n,o){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=o??null,this[$t]=!0,n!=null&&this.add(n)}ae.fromStringWithSourceMap=function(e,r,n){var o=new ae,i=e.split(jg),a=0,s=function(){var h=g(),m=g()||"";return h+m;function g(){return a<i.length?i[a++]:void 0}},c=1,l=0,f=null;return r.eachMapping(function(h){if(f!==null)if(c<h.generatedLine)p(f,s()),c++,l=0;else{var m=i[a]||"",g=m.substr(0,h.generatedColumn-l);i[a]=m.substr(h.generatedColumn-l),l=h.generatedColumn,p(f,g),f=h;return}for(;c<h.generatedLine;)o.add(s()),c++;if(l<h.generatedColumn){var m=i[a]||"";o.add(m.substr(0,h.generatedColumn)),i[a]=m.substr(h.generatedColumn),l=h.generatedColumn}f=h},this),a<i.length&&(f&&p(f,s()),o.add(i.splice(a).join(""))),r.sources.forEach(function(h){var m=r.sourceContentFor(h);m!=null&&(n!=null&&(h=tn.join(n,h)),o.setSourceContent(h,m))}),o;function p(h,m){if(h===null||h.source===void 0)o.add(m);else{var g=n?tn.join(n,h.source):h.source;o.add(new ae(h.originalLine,h.originalColumn,g,m,h.name))}}};ae.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[$t]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};ae.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[$t]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};ae.prototype.walk=function(e){for(var r,n=0,o=this.children.length;n<o;n++)r=this.children[n],r[$t]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};ae.prototype.join=function(e){var r,n,o=this.children.length;if(o>0){for(r=[],n=0;n<o-1;n++)r.push(this.children[n]),r.push(e);r.push(this.children[n]),this.children=r}return this};ae.prototype.replaceRight=function(e,r){var n=this.children[this.children.length-1];return n[$t]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this};ae.prototype.setSourceContent=function(e,r){this.sourceContents[tn.toSetString(e)]=r};ae.prototype.walkSourceContents=function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][$t]&&this.children[r].walkSourceContents(e);for(var o=Object.keys(this.sourceContents),r=0,n=o.length;r<n;r++)e(tn.fromSetString(o[r]),this.sourceContents[o[r]])};ae.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};ae.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},n=new Ig(e),o=!1,i=null,a=null,s=null,c=null;return this.walk(function(l,f){r.code+=l,f.source!==null&&f.line!==null&&f.column!==null?((i!==f.source||a!==f.line||s!==f.column||c!==f.name)&&n.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:r.line,column:r.column},name:f.name}),i=f.source,a=f.line,s=f.column,c=f.name,o=!0):o&&(n.addMapping({generated:{line:r.line,column:r.column}}),i=null,o=!1);for(var p=0,h=l.length;p<h;p++)l.charCodeAt(p)===Dg?(r.line++,r.column=0,p+1===h?(i=null,o=!1):o&&n.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:r.line,column:r.column},name:f.name})):r.column++}),this.walkSourceContents(function(l,f){n.setSourceContent(l,f)}),{code:r.code,map:n}};ul.SourceNode=ae});var fl=P(rn=>{rn.SourceMapGenerator=Io().SourceMapGenerator;rn.SourceMapConsumer=cl().SourceMapConsumer;rn.SourceNode=pl().SourceNode});var gl=P((nn,ml)=>{"use strict";nn.__esModule=!0;var qo=te(),rt=void 0;try{(typeof define!="function"||!define.amd)&&(dl=fl(),rt=dl.SourceNode)}catch{}var dl;rt||(rt=function(t,e,r,n){this.src="",n&&this.add(n)},rt.prototype={add:function(e){qo.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){qo.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function Bo(t,e,r){if(qo.isArray(t)){for(var n=[],o=0,i=t.length;o<i;o++)n.push(e.wrap(t[o],r));return n}else if(typeof t=="boolean"||typeof t=="number")return t+"";return t}function hl(t){this.srcFile=t,this.source=[]}hl.prototype={isEmpty:function(){return!this.source.length},prepend:function(e,r){this.source.unshift(this.wrap(e,r))},push:function(e,r){this.source.push(this.wrap(e,r))},merge:function(){var e=this.empty();return this.each(function(r){e.add([" ",r,`
10
+ `])}),e},each:function(e){for(var r=0,n=this.source.length;r<n;r++)e(this.source[r])},empty:function(){var e=this.currentLocation||{start:{}};return new rt(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var r=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return e instanceof rt?e:(e=Bo(e,this,r),new rt(r.start.line,r.start.column,this.srcFile,e))},functionCall:function(e,r,n){return n=this.generateList(n),this.wrap([e,r?"."+r+"(":"(",n,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var r=this,n=[];Object.keys(e).forEach(function(i){var a=Bo(e[i],r);a!=="undefined"&&n.push([r.quotedString(i),":",a])});var o=this.generateList(n);return o.prepend("{"),o.add("}"),o},generateList:function(e){for(var r=this.empty(),n=0,o=e.length;n<o;n++)n&&r.add(","),r.add(Bo(e[n],this));return r},generateArray:function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r}};nn.default=hl;ml.exports=nn.default});var xl=P((on,kl)=>{"use strict";on.__esModule=!0;function vl(t){return t&&t.__esModule?t:{default:t}}var bl=Tr(),Tg=ce(),Vo=vl(Tg),Fg=te(),Bg=gl(),yl=vl(Bg);function _t(t){this.value=t}function Ct(){}Ct.prototype={nameLookup:function(e,r){return this.internalNameLookup(e,r)},depthedLookup:function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},compilerInfo:function(){var e=bl.COMPILER_REVISION,r=bl.REVISION_CHANGES[e];return[e,r]},appendToBuffer:function(e,r,n){return Fg.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(e,r,n,o){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!o,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,r),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,a=void 0,s=void 0,c=void 0,l=void 0;for(c=0,l=i.length;c<l;c++)a=i[c],this.source.currentLocation=a.loc,s=s||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=s,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new Vo.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
11
11
  `]),this.decorators.push("return fn;"),o?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend(`function(fn, props, container, depth0, data, blockParams, depths) {
12
12
  `),this.decorators.push(`}
13
- `),this.decorators=this.decorators.merge()));var f=this.createFunctionContext(o);if(this.isChild)return f;var u={compiler:this.compilerInfo(),main:f};this.decorators&&(u.main_d=this.decorators,u.useDecorators=!0);var h=this.context,d=h.programs,m=h.decorators;for(c=0,l=d.length;c<l;c++)d[c]&&(u[c]=d[c],m[c]&&(u[c+"_d"]=m[c],u.useDecorators=!0));return this.environment.usePartial&&(u.usePartial=!0),this.options.data&&(u.useData=!0),this.useDepths&&(u.useDepths=!0),this.useBlockParams&&(u.useBlockParams=!0),this.options.compat&&(u.compat=!0),o?u.compilerOptions=this.options:(u.compiler=JSON.stringify(u.compiler),this.source.currentLocation={start:{line:1,column:0}},u=this.objectLiteral(u),r.srcName?(u=u.toStringWithSourceMap({file:r.destName}),u.map=u.map&&u.map.toString()):u=u.toString()),u},preamble:function(){this.lastContext=0,this.source=new hl.default(this.options.srcName),this.decorators=new hl.default(this.options.srcName)},createFunctionContext:function(e){var r=this,n="",o=this.stackVars.concat(this.registers.list);o.length>0&&(n+=", "+o.join(", "));var i=0;Object.keys(this.aliases).forEach(function(c){var l=r.aliases[c];l.children&&l.referenceCount>1&&(n+=", alias"+ ++i+"="+c,l.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var s=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&s.push("blockParams"),this.useDepths&&s.push("depths");var a=this.mergeSource(n);return e?(s.push(a),Function.apply(this,s)):this.source.wrap(["function(",s.join(","),`) {
14
- `,a,"}"])},mergeSource:function(e){var r=this.environment.isSimple,n=!this.forceBuffer,o=void 0,i=void 0,s=void 0,a=void 0;return this.source.each(function(c){c.appendToBuffer?(s?c.prepend(" + "):s=c,a=c):(s&&(i?s.prepend("buffer += "):o=!0,a.add(";"),s=a=void 0),i=!0,r||(n=!1))}),n?s?(s.prepend("return "),a.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(o?"":this.initializeBuffer()),s?(s.prepend("return buffer + "),a.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(o?"":`;
13
+ `),this.decorators=this.decorators.merge()));var f=this.createFunctionContext(o);if(this.isChild)return f;var p={compiler:this.compilerInfo(),main:f};this.decorators&&(p.main_d=this.decorators,p.useDecorators=!0);var h=this.context,m=h.programs,g=h.decorators;for(c=0,l=m.length;c<l;c++)m[c]&&(p[c]=m[c],g[c]&&(p[c+"_d"]=g[c],p.useDecorators=!0));return this.environment.usePartial&&(p.usePartial=!0),this.options.data&&(p.useData=!0),this.useDepths&&(p.useDepths=!0),this.useBlockParams&&(p.useBlockParams=!0),this.options.compat&&(p.compat=!0),o?p.compilerOptions=this.options:(p.compiler=JSON.stringify(p.compiler),this.source.currentLocation={start:{line:1,column:0}},p=this.objectLiteral(p),r.srcName?(p=p.toStringWithSourceMap({file:r.destName}),p.map=p.map&&p.map.toString()):p=p.toString()),p},preamble:function(){this.lastContext=0,this.source=new yl.default(this.options.srcName),this.decorators=new yl.default(this.options.srcName)},createFunctionContext:function(e){var r=this,n="",o=this.stackVars.concat(this.registers.list);o.length>0&&(n+=", "+o.join(", "));var i=0;Object.keys(this.aliases).forEach(function(c){var l=r.aliases[c];l.children&&l.referenceCount>1&&(n+=", alias"+ ++i+"="+c,l.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var a=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var s=this.mergeSource(n);return e?(a.push(s),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),`) {
14
+ `,s,"}"])},mergeSource:function(e){var r=this.environment.isSimple,n=!this.forceBuffer,o=void 0,i=void 0,a=void 0,s=void 0;return this.source.each(function(c){c.appendToBuffer?(a?c.prepend(" + "):a=c,s=c):(a&&(i?a.prepend("buffer += "):o=!0,s.add(";"),a=s=void 0),i=!0,r||(n=!1))}),n?a?(a.prepend("return "),s.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(o?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),s.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(o?"":`;
15
15
  `)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return`
16
16
  lookupProperty = container.lookupProperty || function(parent, propertyName) {
17
17
  if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
@@ -19,18 +19,18 @@ Expecting `+Se.join(", ")+", got '"+(this.terminals_[C]||C)+"'":vt="Parse error
19
19
  }
20
20
  return undefined
21
21
  }
22
- `.trim()},blockValue:function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var o=this.popStack();n.splice(1,0,o),this.push(this.source.functionCall(r,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var n=this.topStack();r.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",r),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,r,n,o){var i=0;!o&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,n)},lookupBlockParam:function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},lookupData:function(e,r,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},resolvePath:function(e,r,n,o,i){var s=this;if(this.options.strict||this.options.assumeObjects){this.push(A0(this.options.strict&&i,this,r,n,e));return}for(var a=r.length;n<a;n++)this.replaceStack(function(c){var l=s.nameLookup(c,r[n],e);return o?[" && ",l]:[" != null ? ",l," : ",c]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,r){var n=this.nameLookup("decorators",r,"decorator"),o=this.setupHelperArgs(r,e);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",o])," || fn;"])},invokeHelper:function(e,r,n){var o=this.popStack(),i=this.setupHelper(e,r),s=[];n&&s.push(i.name),s.push(o),this.options.strict||s.push(this.aliasable("container.hooks.helperMissing"));var a=["(",this.itemsSeparatedBy(s,"||"),")"],c=this.source.functionCall(a,"call",i.callParams);this.push(c)},itemsSeparatedBy:function(e,r){var n=[];n.push(e[0]);for(var o=1;o<e.length;o++)n.push(r,e[o]);return n},invokeKnownHelper:function(e,r){var n=this.setupHelper(e,r);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(e,r){this.useRegister("helper");var n=this.popStack();this.emptyHash();var o=this.setupHelper(0,e,r),i=this.lastHelper=this.nameLookup("helpers",e,"helper"),s=["(","(helper = ",i," || ",n,")"];this.options.strict||(s[0]="(helper = ",s.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",s,o.paramsInit?["),(",o.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",o.callParams)," : helper))"])},invokePartial:function(e,r,n){var o=[],i=this.setupParams(r,1,o);e&&(r=this.popStack(),delete i.name),n&&(i.indent=JSON.stringify(n)),i.helpers="helpers",i.partials="partials",i.decorators="container.decorators",e?o.unshift(r):o.unshift(this.nameLookup("partials",r,"partial")),this.options.compat&&(i.depths="depths"),i=this.objectLiteral(i),o.push(i),this.push(this.source.functionCall("container.invokePartial","",o))},assignToHash:function(e){var r=this.popStack(),n=void 0,o=void 0,i=void 0;this.trackIds&&(i=this.popStack()),this.stringParams&&(o=this.popStack(),n=this.popStack());var s=this.hash;n&&(s.contexts[e]=n),o&&(s.types[e]=o),i&&(s.ids[e]=i),s.values[e]=r},pushId:function(e,r,n){e==="BlockParam"?this.pushStackLiteral("blockParams["+r[0]+"].path["+r[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):e==="PathExpression"?this.pushString(r):e==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:gt,compileChildren:function(e,r){for(var n=e.children,o=void 0,i=void 0,s=0,a=n.length;s<a;s++){o=n[s],i=new this.compiler;var c=this.matchExistingProgram(o);if(c==null){this.context.programs.push("");var l=this.context.programs.length;o.index=l,o.name="program"+l,this.context.programs[l]=i.compile(o,r,this.context,!this.precompile),this.context.decorators[l]=i.decorators,this.context.environments[l]=o,this.useDepths=this.useDepths||i.useDepths,this.useBlockParams=this.useBlockParams||i.useBlockParams,o.useDepths=this.useDepths,o.useBlockParams=this.useBlockParams}else o.index=c.index,o.name="program"+c.index,this.useDepths=this.useDepths||c.useDepths,this.useBlockParams=this.useBlockParams||c.useBlockParams}},matchExistingProgram:function(e){for(var r=0,n=this.context.environments.length;r<n;r++){var o=this.context.environments[r];if(o&&o.equals(e))return o}},programExpression:function(e){var r=this.environment.children[e],n=[r.index,"data",r.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof mt||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new mt(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var r=["("],n=void 0,o=void 0,i=void 0;if(!this.isInline())throw new zo.default("replaceStack on non-inline");var s=this.popStack(!0);if(s instanceof mt)n=[s.value],r=["(",n],i=!0;else{o=!0;var a=this.incrStack();r=["((",this.push(a)," = ",s,")"],n=this.topStack()}var c=e.call(this,n);i||this.popStack(),o&&this.stackSlot--,this.push(r.concat(c,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var r=0,n=e.length;r<n;r++){var o=e[r];if(o instanceof mt)this.compileStack.push(o);else{var i=this.incrStack();this.pushSource([i," = ",o,";"]),this.compileStack.push(i)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var r=this.isInline(),n=(r?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof mt)return n.value;if(!r){if(!this.stackSlot)throw new zo.default("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,r=e[e.length-1];return r instanceof mt?r.value:r},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var r=this.aliases[e];return r?(r.referenceCount++,r):(r=this.aliases[e]=this.source.wrap(e),r.aliasable=!0,r.referenceCount=1,r)},setupHelper:function(e,r,n){var o=[],i=this.setupHelperArgs(r,e,o,n),s=this.nameLookup("helpers",r,"helper"),a=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:o,paramsInit:i,name:s,callParams:[a].concat(o)}},setupParams:function(e,r,n){var o={},i=[],s=[],a=[],c=!n,l=void 0;c&&(n=[]),o.name=this.quotedString(e),o.hash=this.popStack(),this.trackIds&&(o.hashIds=this.popStack()),this.stringParams&&(o.hashTypes=this.popStack(),o.hashContexts=this.popStack());var f=this.popStack(),u=this.popStack();(u||f)&&(o.fn=u||"container.noop",o.inverse=f||"container.noop");for(var h=r;h--;)l=this.popStack(),n[h]=l,this.trackIds&&(a[h]=this.popStack()),this.stringParams&&(s[h]=this.popStack(),i[h]=this.popStack());return c&&(o.args=this.source.generateArray(n)),this.trackIds&&(o.ids=this.source.generateArray(a)),this.stringParams&&(o.types=this.source.generateArray(s),o.contexts=this.source.generateArray(i)),this.options.data&&(o.data="data"),this.useBlockParams&&(o.blockParams="blockParams"),o},setupHelperArgs:function(e,r,n,o){var i=this.setupParams(e,r,n);return i.loc=JSON.stringify(this.source.currentLocation),i=this.objectLiteral(i),o?(this.useRegister("options"),n.push("options"),["options=",i]):n?(n.push(i),""):i}};(function(){for(var t="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),e=gt.RESERVED_WORDS={},r=0,n=t.length;r<n;r++)e[t[r]]=!0})();gt.isValidJavaScriptVariableName=function(t){return!gt.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)};function A0(t,e,r,n,o){var i=e.popStack(),s=r.length;for(t&&s--;n<s;n++)i=e.nameLookup(i,r[n],o);return t?[e.aliasable("container.strict"),"(",i,", ",e.quotedString(r[n]),", ",JSON.stringify(e.source.currentLocation)," )"]:i}Xr.default=gt;ml.exports=Xr.default});var yl=$((Jr,vl)=>{"use strict";Jr.__esModule=!0;function Yt(t){return t&&t.__esModule?t:{default:t}}var L0=ka(),M0=Yt(L0),O0=fo(),R0=Yt(O0),Io=Ra(),jo=ja(),N0=gl(),z0=Yt(N0),I0=Br(),j0=Yt(I0),T0=ao(),D0=Yt(T0),F0=M0.default.create;function bl(){var t=F0();return t.compile=function(e,r){return jo.compile(e,r,t)},t.precompile=function(e,r){return jo.precompile(e,r,t)},t.AST=R0.default,t.Compiler=jo.Compiler,t.JavaScriptCompiler=z0.default,t.Parser=Io.parser,t.parse=Io.parse,t.parseWithoutProcessing=Io.parseWithoutProcessing,t}var bt=bl();bt.create=bl;D0.default(bt);bt.Visitor=j0.default;bt.default=bt;Jr.default=bt;vl.exports=Jr.default});var kl=$(Zr=>{"use strict";Zr.__esModule=!0;Zr.print=H0;Zr.PrintVisitor=D;function B0(t){return t&&t.__esModule?t:{default:t}}var q0=Br(),V0=B0(q0);function H0(t){return new D().accept(t)}function D(){this.padding=0}D.prototype=new V0.default;D.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r<n;r++)e+=" ";return e+=t+`
23
- `,e};D.prototype.Program=function(t){var e="",r=t.body,n=void 0,o=void 0;if(t.blockParams){var i="BLOCK PARAMS: [";for(n=0,o=t.blockParams.length;n<o;n++)i+=" "+t.blockParams[n];i+=" ]",e+=this.pad(i)}for(n=0,o=r.length;n<o;n++)e+=this.accept(r[n]);return this.padding--,e};D.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};D.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};D.prototype.BlockStatement=D.prototype.DecoratorBlock=function(t){var e="";return e+=this.pad((t.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,e+=this.pad(this.SubExpression(t)),t.program&&(e+=this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--),t.inverse&&(t.program&&this.padding++,e+=this.pad("{{^}}"),this.padding++,e+=this.accept(t.inverse),this.padding--,t.program&&this.padding--),this.padding--,e};D.prototype.PartialStatement=function(t){var e="PARTIAL:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),this.pad("{{> "+e+" }}")};D.prototype.PartialBlockStatement=function(t){var e="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),e+=" "+this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--,this.pad("{{> "+e+" }}")};D.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};D.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};D.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,o=0,i=e.length;o<i;o++)r.push(this.accept(e[o]));return e="["+r.join(", ")+"]",n=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+n};D.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};D.prototype.StringLiteral=function(t){return'"'+t.value+'"'};D.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};D.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};D.prototype.UndefinedLiteral=function(){return"UNDEFINED"};D.prototype.NullLiteral=function(){return"NULL"};D.prototype.Hash=function(t){for(var e=t.pairs,r=[],n=0,o=e.length;n<o;n++)r.push(this.accept(e[n]));return"HASH{"+r.join(", ")+"}"};D.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var To=$((Tb,Sl)=>{var Qr=yl().default,wl=kl();Qr.PrintVisitor=wl.PrintVisitor;Qr.print=wl.print;Sl.exports=Qr;function xl(t,e){var r=Xe("fs"),n=r.readFileSync(e,"utf8");t.exports=Qr.compile(n)}typeof Xe<"u"&&Xe.extensions&&(Xe.extensions[".handlebars"]=xl,Xe.extensions[".hbs"]=xl)});var yt=class extends Error{name="BaseThrowable";constructor(e,r=null){super(e),r&&(this.stack=r)}},kt=class extends yt{name="BaseError"},xt=class extends yt{name="BaseWarning"},Je=class extends yt{name="PotentialLoopError"};var er="default",cn="preflights",Wl="shortcuts",Ul="imports",Gl={[Ul]:-200,[cn]:-100,[Wl]:-10,[er]:0},hn=/[\\:]?[\s'"`;{}]+/g;function Kl(t){return t.split(hn)}var Yl={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return Kl(t)}};function O(t=[]){return Array.isArray(t)?t:[t]}function ce(t){return Array.from(new Set(t))}function ei(t,e){return t.reduce((r,n)=>(r.findIndex(i=>e(n,i))===-1&&r.push(n),r),[])}function I(t){return typeof t=="string"}var rr=class extends Set{_map=new Map;constructor(e){if(super(),e)for(let r of e)this.add(r)}add(e){return this._map.set(e,(this._map.get(e)??0)+1),super.add(e)}delete(e){return this._map.has(e)?(this._map.delete(e),super.delete(e)):!1}clear(){this._map.clear(),super.clear()}getCount(e){return this._map.get(e)??0}setCount(e,r){return this._map.set(e,r),super.add(e)}};function sn(t){return t instanceof rr}function Ze(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function $e(t){let e=t.length,r=-1,n,o="",i=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&e===1&&n===45){o+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=t.charAt(r);continue}o+=`\\${t.charAt(r)}`}return o}var an=$e;function Xl(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}var Jl=/[\w\u00A0-\uFFFF%-?]/;function ai(t=""){return Jl.test(t)}function Zl(t){return typeof t=="function"?{match:t}:t}function ti(t){return t.length===3}function wt(t){return t!=null}function Ql(){}var un=class{_map=new Map;get(e,r){let n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.has(r)||o.set(r,n),o.get(r)}set(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.set(r,n),this}has(e,r){return this._map.get(e)?.has(r)}delete(e,r){return this._map.get(e)?.delete(r)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>e(i,r,o)))}},fn=class extends Map{getFallback(e,r){let n=this.get(e);return n===void 0?(this.set(e,r),r):n}map(e){let r=[];return this.forEach((n,o)=>{r.push(e(n,o))}),r}flatMap(e){let r=[];return this.forEach((n,o)=>{r.push(...e(n,o))}),r}};function nr(t){return I(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function ec(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>nr(e)):[t]:[nr(t)]}function tc(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(t[o][0]===e&&t[o][1]===r)return!1;return!0})}function ln(t){return t==null?"":tc(t).map(([e,r])=>r!=null&&typeof r!="function"?`${e}:${r};`:void 0).filter(Boolean).join("")}function Zt(t){return t&&typeof t=="object"&&!Array.isArray(t)}function or(t,e,r=!1){let n=t,o=e;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];let i={...n};return Zt(n)&&Zt(o)&&Object.keys(o).forEach(s=>{Zt(n[s])&&Zt(o[s])||Array.isArray(n[s])&&Array.isArray(o[s])?i[s]=or(n[s],o[s],r):Object.assign(i,{[s]:o[s]})}),i}function tr(t){let e,r,n;if(Array.isArray(t)){for(r=Array.from({length:e=t.length});e--;)r[e]=(n=t[e])&&typeof n=="object"?tr(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:tr(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?tr(n):n;return r}return t}function rc(t){return I(t[0])}function nc(t){return I(t[0])}var Qt={};function oc(t=["-",":"]){let e=t.join("|");return Qt[e]||(Qt[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Qt[e].lastIndex=0,Qt[e]}function ic(t,e=["-",":"],r=5){let n=oc(e),o,i=t.toString(),s=new Set,a=new Map;do o=!1,i=i.replace(n,(l,f,u,h,d)=>{if(!e.includes(u))return l;o=!0,s.add(f+u);let m=d+f.length+u.length+1,g={length:l.length,items:[]};a.set(d,g);for(let k of[...h.matchAll(/\S+/g)]){let w=m+k.index,S=a.get(w)?.items;S?a.delete(w):S=[{offset:w,length:k[0].length,className:k[0]}];for(let _ of S)_.className=_.className==="~"?f:_.className.replace(/^(!?)(.*)/,`$1${f}${u}$2`),g.items.push(_)}return"$".repeat(l.length)}),r-=1;while(o&&r);let c;if(typeof t=="string"){c="";let l=0;for(let[f,u]of a)c+=t.slice(l,f),c+=u.items.map(h=>h.className).join(" "),l=f+u.length;c+=t.slice(l)}else{c=t;for(let[l,f]of a)c.overwrite(l,l+f.length,f.items.map(u=>u.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:a,get expanded(){return c.toString()}}}function sc(t,e=["-",":"],r=5){let n=ic(t,e,r);return typeof t=="string"?n.expanded:t}var ri=new Set;function ac(t){ri.has(t)||(console.warn("[unocss]",t),ri.add(t))}function li(t){return O(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var ni="_uno_resolved";async function lc(t){let e=typeof t=="function"?await t():await t;if(ni in e)return e;e={...e},Object.defineProperty(e,ni,{value:!0,enumerable:!1});let r=e.shortcuts?li(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){let n=o=>{o[2]||(o[2]={});let i=o[2];i.prefix==null&&e.prefix&&(i.prefix=O(e.prefix)),i.layer==null&&e.layer&&(i.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function ci(t){let e=await lc(t);if(!e.presets)return[e];let r=(await Promise.all((e.presets||[]).flatMap(O).flatMap(ci))).flat();return[e,...r]}function cc(t){if(t.length===0)return{};let e=[],r=[],n=!1,o=[],i=[];for(let a of t){if(a.pipeline===!1){n=!0;break}else a.pipeline?.include&&e.push(a.pipeline.include),a.pipeline?.exclude&&r.push(a.pipeline.exclude);a.filesystem&&o.push(a.filesystem),a.inline&&i.push(a.inline)}let s={pipeline:n?!1:{include:ce(ii(...e)),exclude:ce(ii(...r))}};return o.length&&(s.filesystem=ce(o.flat())),i.length&&(s.inline=ce(i.flat())),s}async function oi(t={},e={}){let r=Object.assign({},e,t),n=ei((await Promise.all((r.presets||[]).flatMap(O).flatMap(ci))).flat(),(b,L)=>b.name===L.name),o=[...n.filter(b=>b.enforce==="pre"),...n.filter(b=>!b.enforce),...n.filter(b=>b.enforce==="post")],i=[...o,r],s=[...i].reverse(),a=Object.assign({},Gl,...i.map(b=>b.layers));function c(b){return ce(i.flatMap(L=>O(L[b]||[])))}let l=c("extractors"),f=s.find(b=>b.extractorDefault!==void 0)?.extractorDefault;f===void 0&&(f=Yl),f&&!l.includes(f)&&l.unshift(f),l.sort((b,L)=>(b.order||0)-(L.order||0));let u=c("rules"),h={},d=u.length,m=u.filter(b=>rc(b)?(O(b[2]?.prefix||"").forEach(x=>{h[x+b[0]]=b}),!1):!0).reverse(),g={templates:ce(i.flatMap(b=>O(b.autocomplete?.templates))),extractors:i.flatMap(b=>O(b.autocomplete?.extractors)).sort((b,L)=>(b.order||0)-(L.order||0)),shorthands:fc(i.map(b=>b.autocomplete?.shorthands||{}))},k=c("separators");k.length||(k=[":","-"]);let w=c("content"),S=cc(w),_={mergeSelectors:!0,warn:!0,sortLayers:b=>b,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:uc(i.map(b=>b.theme)),rules:u,rulesSize:d,rulesDynamic:m,rulesStaticMap:h,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:g,variants:c("variants").map(Zl).sort((b,L)=>(b.order||0)-(L.order||0)),shortcuts:li(c("shortcuts")).reverse(),extractors:l,safelist:c("safelist"),separators:k,details:r.details??r.envMode==="dev",content:S,transformers:ei(c("transformers"),(b,L)=>b.name===L.name)},C=c("extendTheme");for(let b of C)_.theme=b(_.theme,_)||_.theme;for(let b of i)b?.configResolved?.(_);return _}function uc(t){return t.map(e=>e?tr(e):{}).reduce((e,r)=>or(e,r),{})}function fc(t){return t.reduce((e,r)=>{let n={};for(let o in r){let i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...e,...n}},{})}function ii(...t){return t.flatMap(pc)}function pc(t){return Array.isArray(t)?t:t?[t]:[]}var hc="66.3.3",V={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"},pn=class t{constructor(e={},r={}){this.userConfig=e,this.defaults=r}version=hc;events=Xl();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(e={},r={}){let n=new t(e,r);return n.config=await oi(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await oi(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){let o={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(let i of this.config.extractors){let s=await i.extract?.(o);if(s)if(sn(s)&&sn(n))for(let a of s)n.setCount(a,n.getCount(a)+s.getCount(a));else for(let a of s)n.add(a)}return n}makeContext(e,r){let n={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:V,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(e,r){if(this.blocked.has(e))return;let n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let o=this.config.preprocess.reduce((c,l)=>l(c)??c,e);if(this.isBlocked(o)){this.blocked.add(e),this.cache.set(n,null);return}let i=await this.matchVariants(e,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(e),this.cache.set(n,null);return}let s=async c=>{let l=this.makeContext(e,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(l.variants=[...c[3]]);let f=await this.expandShortcut(l.currentSelector,l);return f?await this.stringifyShortcuts(l.variantMatch,l,f[0],f[1]):(await this.parseUtil(l.variantMatch,l))?.map(h=>this.stringifyUtil(h,l)).filter(wt)},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a?.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(e,r={}){let{id:n,scope:o,preflights:i=!0,safelist:s=!0,minify:a=!1,extendedInfo:c=!1}=r,l=I(e)?await this.applyExtractors(e,n,c?new rr:new Set):Array.isArray(e)?new Set(e):e;if(s){let x={generator:this,theme:this.config.theme};this.config.safelist.flatMap(A=>typeof A=="function"?A(x):A).forEach(A=>{let M=A.trim();M&&!l.has(M)&&l.add(M)})}let f=a?"":`
24
- `,u=new Set([er]),h=c?new Map:new Set,d=new Map,m={},g=Array.from(l).map(async x=>{if(h.has(x))return;let A=await this.parseToken(x);if(A!=null){h instanceof Map?h.set(x,{data:A,count:sn(l)?l.getCount(x):-1}):h.add(x);for(let M of A){let H=M[3]||"",G=M[4]?.layer;d.has(H)||d.set(H,[]),d.get(H).push(M),G&&u.add(G)}}});await Promise.all(g),await(async()=>{if(!i)return;let x={generator:this,theme:this.config.theme},A=new Set([]);this.config.preflights.forEach(({layer:M=cn})=>{u.add(M),A.add(M)}),m=Object.fromEntries(await Promise.all(Array.from(A).map(async M=>{let G=(await Promise.all(this.config.preflights.filter(B=>(B.layer||cn)===M).map(async B=>await B.getCSS(x)))).filter(Boolean).join(f);return[M,G]})))})();let k=this.config.sortLayers(Array.from(u).sort((x,A)=>(this.config.layers[x]??0)-(this.config.layers[A]??0)||x.localeCompare(A))),w={},S=this.config.outputToCssLayers,_=x=>{let A=x;return typeof S=="object"&&(A=S.cssLayerName?.(x)),A===null?null:A??x},C=(x=er)=>{if(w[x])return w[x];let A=Array.from(d).sort((G,B)=>(this.parentOrders.get(G[0])??0)-(this.parentOrders.get(B[0])??0)||G[0]?.localeCompare(B[0]||"")||0).map(([G,B])=>{let Xt=B.length,Se=B.filter(q=>(q[4]?.layer||er)===x).sort((q,le)=>q[0]-le[0]||(q[4]?.sort||0)-(le[4]?.sort||0)||q[5]?.currentSelector?.localeCompare(le[5]?.currentSelector??"")||q[1]?.localeCompare(le[1]||"")||q[2]?.localeCompare(le[2]||"")||0).map(([,q,le,,Jt,,rn])=>[[[(q&&mc(q,o))??"",Jt?.sort??0]],le,!!(rn??Jt?.noMerge)]);if(!Se.length)return;let vt=Se.reverse().map(([q,le,Jt],rn)=>{if(!Jt&&this.config.mergeSelectors)for(let _e=rn+1;_e<Xt;_e++){let de=Se[_e];if(de&&!de[2]&&(q&&de[0]||q==null&&de[0]==null)&&de[1]===le)return q&&de[0]&&de[0].push(...q),null}let nn=q?ce(q.sort((_e,de)=>_e[1]-de[1]||_e[0]?.localeCompare(de[0]||"")||0).map(_e=>_e[0]).filter(Boolean)):[];return nn.length?`${nn.join(`,${f}`)}{${le}}`:le}).filter(Boolean),Q=Array.from(new Set(vt)).reverse().join(f);if(!G)return Q;let Zo=G.split(" $$ ");return`${Zo.join("{")}{${f}${Q}${f}${"}".repeat(Zo.length)}`}).filter(Boolean).join(f);i&&(A=[m[x],A].filter(Boolean).join(f));let M;S&&A&&(M=_(x),M!==null&&(A=`@layer ${M}{${f}${A}${f}}`));let H=a?"":`/* layer: ${x}${M&&M!==x?`, alias: ${M}`:""} */${f}`;return w[x]=A?H+A:""},b=(x=k,A)=>{let M=x.filter(H=>!A?.includes(H));return[S&&M.length>0?`@layer ${M.map(_).filter(wt).join(", ")};`:void 0,...M.map(H=>C(H)||"")].filter(Boolean).join(f)};return{get css(){return b()},layers:k,matched:h,getLayers:b,getLayer:C,setLayer:async(x,A)=>{let M=await A(C(x));return w[x]=M,M}}}async matchVariants(e,r){let n={rawSelector:e,theme:this.config.theme,generator:this},o=async i=>{let s=!0,[,,a,c]=i;for(;s;){s=!1;let l=i[1];for(let f of this.config.variants){if(!f.multiPass&&c.has(f))continue;let u=await f.match(l,n);if(u){if(I(u)){if(u===l)continue;u={matcher:u}}if(Array.isArray(u)){if(!u.length)continue;if(u.length===1)u=u[0];else{if(f.multiPass)throw new Error("multiPass can not be used together with array return variants");let h=u.map(d=>{let m=d.matcher??l,g=[d,...a],k=new Set(c);return k.add(f),[i[0],m,g,k]});return(await Promise.all(h.map(d=>o(d)))).flat()}}i[1]=u.matcher??l,a.unshift(u),c.add(f),s=!0;break}}if(!s)break;if(a.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[i]};return await o([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){let i=r.slice().sort((l,f)=>(l.order||0)-(f.order||0)).reduceRight((l,f)=>u=>{let h=f.body?.(u.entries)||u.entries,d=Array.isArray(f.parent)?f.parent:[f.parent,void 0],m=f.selector?.(u.selector,h);return(f.handle??gc)({...u,entries:h,selector:m||u.selector,parent:d[0]||u.parent,parentOrder:d[1]||u.parentOrder,layer:f.layer||u.layer,sort:f.sort||u.sort},l)},l=>l)({prefix:"",selector:dn(n),pseudo:"",entries:e[2]}),{parent:s,parentOrder:a}=i;s!=null&&a!=null&&this.parentOrders.set(s,a);let c={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:s,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(let l of this.config.postprocess)l(c);return c}constructCustomCSS(e,r,n){let o=nr(r);if(I(o))return o;let{selector:i,entries:s,parent:a}=this.applyVariants([0,n||e.rawSelector,o,void 0,e.variantHandlers]),c=`${i}{${ln(s)}}`;return a?`${a}{${c}}`:c}async parseUtil(e,r,n=!1,o){let i=I(e)?await this.matchVariants(e):[e],s=async([c,l,f])=>{this.config.details&&(r.rules=r.rules??[]);let u={...r,variantHandlers:f},h=this.config.rulesStaticMap[l];if(h&&h[1]&&(n||!h[2]?.internal))return this.resolveCSSResult(c,h[1],h,u);for(let d of this.config.rulesDynamic){let[m,g,k]=d;if(k?.internal&&!n)continue;let w=l;if(k?.prefix){let b=O(k.prefix);if(o){let L=O(o);if(!b.some(x=>L.includes(x)))continue}else{let L=b.find(x=>l.startsWith(x));if(L==null)continue;w=l.slice(L.length)}}let S=w.match(m);if(!S)continue;let _=await g(S,u);if(!_)continue;if(typeof _!="string")if(Symbol.asyncIterator in _){let b=[];for await(let L of _)L&&b.push(L);_=b}else Symbol.iterator in _&&!Array.isArray(_)&&(_=Array.from(_).filter(wt));let C=this.resolveCSSResult(c,_,d,u);if(C)return C}},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a.length)return a}resolveCSSResult=(e,r,n,o)=>{let i=ec(r).filter(s=>s.length);if(i.length){this.config.details&&o.rules.push(n),o.generator.activatedRules.add(n);let s=o.generator.config.rules.indexOf(n),a=n[2];return i.map(c=>{if(I(c))return[s,c,a];let l=o.variantHandlers,f=a;for(let u of c)u[0]===V.variants?typeof u[1]=="function"?l=u[1](l)||l:l=[...O(u[1]),...l]:u[0]===V.parent?l=[{parent:u[1]},...l]:u[0]===V.selector?l=[{selector:u[1]},...l]:u[0]===V.layer?l=[{layer:u[1]},...l]:u[0]===V.sort?f={...f,sort:u[1]}:u[0]===V.noMerge&&(f={...f,noMerge:u[1]});return[s,e,c,f,l]})}};stringifyUtil(e,r){if(!e)return;if(ti(e))return[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0];let{selector:n,entries:o,parent:i,layer:s,sort:a,noMerge:c}=this.applyVariants(e),l=ln(o);if(!l)return;let{layer:f,sort:u,...h}=e[3]??{},d={...h,layer:s??f,sort:a??u};return[e[0],n,l,i,d,this.config.details?r:void 0,c]}async expandShortcut(e,r,n=5){if(n===0)return;let o=this.config.details?l=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(l)}:Ql,i,s,a,c;for(let l of this.config.shortcuts){let f=e;if(l[2]?.prefix){let h=O(l[2].prefix).find(d=>e.startsWith(d));if(h==null)continue;f=e.slice(h.length)}if(nc(l)){if(l[0]===f){i=i||l[2],s=l[1],o(l);break}}else{let u=f.match(l[0]);if(u&&(s=l[1](u,r)),s){i=i||l[2],o(l);break}}}if(s&&(a=ce(O(s).filter(I).map(l=>sc(l.trim()).split(/\s+/g)).flat()),c=O(s).filter(l=>!I(l)).map(l=>({handles:[],value:l}))),!s){let l=I(e)?await this.matchVariants(e):[e];for(let f of l){let[u,h,d]=f;if(u!==h){let m=await this.expandShortcut(h,r,n-1);m&&(a=m[0].filter(I).map(g=>u.replace(h,g)),c=m[0].filter(g=>!I(g)).map(g=>({handles:[...g.handles,...d],value:g.value})))}}}if(!(!a?.length&&!c?.length))return[[await Promise.all(O(a).map(async l=>(await this.expandShortcut(l,r,n-1))?.[0]||[l])),c].flat(2).filter(l=>!!l),i]}async stringifyShortcuts(e,r,n,o={layer:this.config.shortcutsLayer}){let i=new fn,s=(await Promise.all(ce(n).map(async f=>{let u=I(f)?await this.parseUtil(f,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",nr(f.value),void 0,f.handles]];return!u&&this.config.warn&&ac(`unmatched utility "${f}" in shortcut "${e[1]}"`),u||[]}))).flat(1).filter(Boolean).sort((f,u)=>f[0]-u[0]),[a,,c]=e,l=[];for(let f of s){if(ti(f)){l.push([f[0],void 0,f[1],void 0,f[2],r,void 0]);continue}let{selector:u,entries:h,parent:d,sort:m,noMerge:g,layer:k}=this.applyVariants(f,[...f[4],...c],a);i.getFallback(k??o.layer,new un).getFallback(u,d,[[],f[0]])[0].push([h,!!(g??f[3]?.noMerge),m??0])}return l.concat(i.flatMap((f,u)=>f.map(([h,d],m,g)=>{let k=(S,_,C)=>{let b=Math.max(...C.map(x=>x[1])),L=C.map(x=>x[0]);return(S?[L.flat(1)]:L).map(x=>{let A=ln(x);if(A)return[d,m,A,g,{...o,noMerge:_,sort:b,layer:u},r,void 0]})};return[[h.filter(([,S])=>S).map(([S,,_])=>[S,_]),!0],[h.filter(([,S])=>!S).map(([S,,_])=>[S,_]),!1]].map(([S,_])=>[...k(!1,_,S.filter(([C])=>C.some(b=>b[0]===V.shortcutsNoMerge))),...k(!0,_,S.filter(([C])=>C.every(b=>b[0]!==V.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(e):I(r)?r===e:r.test(e))}getBlocked(e){let r=this.config.blocklist.find(n=>{let o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(e):I(o)?o===e:o.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function ui(t,e){return await pn.create(t,e)}var fi=/\s\$\$\s+/g;function dc(t){return fi.test(t)}function mc(t,e){return dc(t)?t.replace(fi,e?` ${e} `:" "):e?`${e} ${t}`:t}var si=/^\[(.+?)(~?=)"(.*)"\]$/;function dn(t){return si.test(t)?t.replace(si,(e,r,n,o)=>`[${an(r)}${n}"${an(o)}"]`):`.${an(t)}`}function gc(t,e){return e(t)}function bc(t){let e,r,n=2166136261;for(e=0,r=t.length;e<r;e++)n^=t.charCodeAt(e),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function vc(t,e,r,n){for(let o of Array.from(t.matchAll(r)))if(o!=null){let i=o[0],s=`${n}${bc(i)}`;e.set(s,i),t=t.replace(i,s)}return t}function yc(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var kc=/\/\/#\s*sourceMappingURL=.*\n?/g;function xc(t){return t.includes("sourceMappingURL=")?t.replace(kc,""):t}var wc=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Sc=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,_c=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function $c(t){let e=[];for(let o of t.matchAll(Sc))o.index!==0&&!/^[\s'"`]/.test(t[o.index-1]??"")||e.push(o[0]);for(let o of t.matchAll(wc))e.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=vc(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(hn).forEach(o=>{o.includes(n)&&(o=yc(o,r)),ai(o)&&!_c.test(o)&&e.push(o)}),e}function pi(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return $c(xc(t))}}}var Cc=44,Ec=59,hi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",gi=new Uint8Array(64),Pc=new Uint8Array(128);for(let t=0;t<hi.length;t++){let e=hi.charCodeAt(t);gi[t]=e,Pc[e]=t}function St(t,e,r){let n=e-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),t.write(gi[o])}while(n>0);return e}var di=1024*16,mi=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}},Ac=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(di)}write(t){let{buffer:e}=this;e[this.pos++]=t,this.pos===di&&(this.out+=mi.decode(e),this.pos=0)}flush(){let{buffer:t,out:e,pos:r}=this;return r>0?e+mi.decode(t.subarray(0,r)):e}};function bi(t){let e=new Ac,r=0,n=0,o=0,i=0;for(let s=0;s<t.length;s++){let a=t[s];if(s>0&&e.write(Ec),a.length===0)continue;let c=0;for(let l=0;l<a.length;l++){let f=a[l];l>0&&e.write(Cc),c=St(e,f[0],c),f.length!==1&&(r=St(e,f[1],r),n=St(e,f[2],n),o=St(e,f[3],o),f.length!==4&&(i=St(e,f[4],i)))}}return e.flush()}var ir=class t{constructor(e){this.bits=e instanceof t?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}},sr=class t{constructor(e,r,n){this.start=e,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){let e=new t(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,n){return this.content=e,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){let r=e-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new t(e,this.end,o);return i.outro=this.outro,this.outro="",this.end=e,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;let r=this.content.replace(e,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;let r=this.content.replace(e,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}};function Lc(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof Buffer=="function"?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var Mc=Lc(),mn=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=bi(e.mappings),typeof e.x_google_ignoreList<"u"&&(this.x_google_ignoreList=e.x_google_ignoreList),typeof e.debugId<"u"&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Mc(this.toString())}};function Oc(t){let e=t.split(`
25
- `),r=e.filter(i=>/^\t+/.test(i)),n=e.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let o=n.reduce((i,s)=>{let a=/^ +/.exec(s)[0].length;return Math.min(a,i)},1/0);return new Array(o+1).join(" ")}function Rc(t,e){let r=t.split(/[/\\]/),n=e.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}var Nc=Object.prototype.toString;function zc(t){return Nc.call(t)==="[object Object]"}function vi(t){let e=t.split(`
26
- `),r=[];for(let n=0,o=0;n<e.length;n++)r.push(o),o+=e[n].length+1;return function(o){let i=0,s=r.length;for(;i<s;){let l=i+s>>1;o<r[l]?s=l:i=l+1}let a=i-1,c=o-r[a];return{line:a,column:c}}}var Ic=/\w/,gn=class{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,r,n,o){if(r.length){let i=r.length-1,s=r.indexOf(`
27
- `,0),a=-1;for(;s>=0&&i>s;){let l=[this.generatedCodeColumn,e,n.line,n.column];o>=0&&l.push(o),this.rawSegments.push(l),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=s,s=r.indexOf(`
28
- `,s+1)}let c=[this.generatedCodeColumn,e,n.line,n.column];o>=0&&c.push(o),this.rawSegments.push(c),this.advance(r.slice(a+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(e,r,n,o,i){let s=r.start,a=!0,c=!1;for(;s<r.end;){if(n[s]===`
29
- `)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=!0,c=!1;else{if(this.hires||a||i.has(s)){let l=[this.generatedCodeColumn,e,o.line,o.column];this.hires==="boundary"?Ic.test(n[s])?c||(this.rawSegments.push(l),c=!0):(this.rawSegments.push(l),c=!1):this.rawSegments.push(l)}o.column+=1,this.generatedCodeColumn+=1,a=!1}s+=1}this.pending=null}advance(e){if(!e)return;let r=e.split(`
30
- `);if(r.length>1){for(let n=0;n<r.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}},_t=`
31
- `,Qe={insertLeft:!1,insertRight:!1,storeName:!1},ar=class t{constructor(e,r={}){let n=new sr(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new ir},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[e.length]=n}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.appendLeft(r):this.intro+=r,this}appendRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.appendRight(r):this.outro+=r,this}clone(){let e=new t(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=r.clone();for(;r;){e.byStart[n.start]=n,e.byEnd[n.end]=n;let o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new ir(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};let r=0,n=Object.keys(this.storedNames),o=new gn(e.hires),i=vi(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(s=>{let a=i(s.start);s.intro.length&&o.advance(s.intro),s.edited?o.addEdit(r,s.content,a,s.storeName?n.indexOf(s.original):-1):o.addUneditedChunk(r,s,this.original,a,this.sourcemapLocations),s.outro.length&&o.advance(s.outro)}),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?Rc(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:n,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(e){return new mn(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=Oc(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(e,r){let n=/^[^\r\n]/gm;if(zc(e)&&(r=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;r=r||{};let o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(f=>{for(let u=f[0];u<f[1];u+=1)o[u]=!0});let i=r.indentStart!==!1,s=l=>i?`${e}${l}`:(i=!0,l);this.intro=this.intro.replace(n,s);let a=0,c=this.firstChunk;for(;c;){let l=c.end;if(c.edited)o[a]||(c.content=c.content.replace(n,s),c.content.length&&(i=c.content[c.content.length-1]===`
32
- `));else for(a=c.start;a<l;){if(!o[a]){let f=this.original[a];f===`
33
- `?i=!0:f!=="\r"&&i&&(i=!1,a===c.start||(this._splitChunk(c,a),c=c.next),c.prependRight(e))}a+=1}a=c.end,c=c.next}return this.outro=this.outro.replace(n,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,r){return Qe.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Qe.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return Qe.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Qe.insertRight=!0),this.prependRight(e,r)}move(e,r,n){if(e=e+this.offset,r=r+this.offset,n=n+this.offset,n>=e&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(r),this._split(n);let o=this.byStart[e],i=this.byEnd[r],s=o.previous,a=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;let l=c?c.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),l&&(l.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=l,i.next=c||null,l||(this.firstChunk=o),c||(this.lastChunk=i),this}overwrite(e,r,n,o){return o=o||{},this.update(e,r,n,{...o,overwrite:!o.contentOnly})}update(e,r,n,o){if(e=e+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(e===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(r),o===!0&&(Qe.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Qe.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,s=o!==void 0?o.overwrite:!1;if(i){let l=this.original.slice(e,r);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}let a=this.byStart[e],c=this.byEnd[r];if(a){let l=a;for(;l!==c;){if(l.next!==this.byStart[l.end])throw new Error("Cannot overwrite across a split point");l=l.next,l.edit("",!1)}a.edit(n,i,!s)}else{let l=new sr(e,r,"").edit(n,i);c.next=l,l.previous=c}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(_t);if(e!==-1)return this.outro.substr(e+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(_t),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(_t),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(_t),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(_t),e!==-1?this.intro.substr(e+1)+r:this.intro+r}slice(e=0,r=this.original.length-this.offset){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>e||o.end<=e);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===e)&&(n+=o.intro);let s=o.start<r&&o.end>=r;if(s&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let a=i===o?e-o.start:0,c=s?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(a,c),o.outro&&(!s||o.end===r)&&(n+=o.outro),s)break;o=o.next}return n}snip(e,r){let n=this.clone();return n.remove(0,e),n.remove(r,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let r=this.lastSearchedChunk,n=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);r=n?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(e,r){if(e.edited&&e.content.length){let o=vi(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${e.original}")`)}let n=e.split(r);return this.byEnd[r]=e,this.byStart[r]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,r=this.firstChunk;for(;r;)e+=r.toString(),r=r.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,r=0;do r+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let r=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let o=n.end,i=n.trimEnd(r);if(n.end!==o&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){let r=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let o=n.end,i=n.trimStart(r);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,r){function n(i,s){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(a,c)=>c==="$"?"$":c==="&"?i[0]:+c<i.length?i[+c]:`$${c}`):r(...i,i.index,s,i.groups)}function o(i,s){let a,c=[];for(;a=i.exec(s);)c.push(a);return c}if(e.global)o(e,this.original).forEach(s=>{if(s.index!=null){let a=n(s,this.original);a!==s[0]&&this.overwrite(s.index,s.index+s[0].length,a)}});else{let i=this.original.match(e);if(i&&i.index!=null){let s=n(i,this.original);s!==i[0]&&this.overwrite(i.index,i.index+i[0].length,s)}}return this}_replaceString(e,r){let{original:n}=this,o=n.indexOf(e);return o!==-1&&this.overwrite(o,o+e.length,r),this}replace(e,r){return typeof e=="string"?this._replaceString(e,r):this._replaceRegexp(e,r)}_replaceAllString(e,r){let{original:n}=this,o=e.length;for(let i=n.indexOf(e);i!==-1;i=n.indexOf(e,i+o))n.slice(i,i+o)!==r&&this.overwrite(i,i+o,r);return this}replaceAll(e,r){if(typeof e=="string")return this._replaceAllString(e,r);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,r)}};function tt(t,e,r){if(t==="")return;let n=t.length,o=0,i=!1,s=0;for(let a=0;a<n;a++)switch(t[a]){case e:i||(i=!0,s=a),o++;break;case r:if(--o,o<0)return;if(o===0)return[t.slice(s,a+1),t.slice(a+1),t.slice(0,s)];break}}function Ne(t,e,r,n){if(t===""||(I(n)&&(n=[n]),n.length===0))return;let o=t.length,i=0;for(let s=0;s<o;s++)switch(t[s]){case e:i++;break;case r:if(--i<0)return;break;default:for(let a of n){let c=a.length;if(c&&a===t.slice(s,s+c)&&i===0)return s===0||s===o-c?void 0:[t.slice(0,s),t.slice(s+c)]}}return[t,""]}function et(t,e,r,n="(",o=")"){r=r??10;let i=[],s=0;for(;t!=="";){if(++s>r)return;let a=Ne(t,n,o,e);if(!a)return;let[c,l]=a;i.push(c),t=l}if(i.length>0)return i}var yn=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],jc=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],Tc=["hsl","hwb","lch","oklch"],Dc=["shorter","longer","increasing","decreasing"],kn=["%alpha","<alpha-value>"],xn=new RegExp(kn.map(t=>Ze(t)).join("|"),"g");function wn(t){return t?jc.some(e=>t.includes(e))||Tc.some(e=>t.includes(e))||Dc.some(e=>t.includes(e)):!1}function ze(t=""){let e=Fc(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:o}=e,i=r.toLowerCase();if(n.length!==0&&!(yn.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(s=>typeof s=="string"?s.trim():s),alpha:typeof o=="string"?o.trim():o}}function lr(t,e){if(typeof t=="string")return t.replace(xn,`${e??1}`);let{components:r}=t,{alpha:n,type:o}=t;return n=e??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,yn.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Fc(t){if(!t)return;let e=Bc(t);if(e!=null||(e=qc(t),e!=null)||(e=Vc(t),e!=null)||(e=Wc(t),e!=null)||(e=Uc(t),e!=null))return e}function Bc(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(e)switch(e.length){case 3:case 4:{let r=Array.from(e,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:e.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{let r=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:e.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function qc(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function Vc(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,o=et(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}var Hc=new RegExp(`^(${yn.join("|")})\\((.+)\\)$`,"i");function Wc(t){let e=t.match(Hc);if(!e)return;let[,r,n]=e,o=wi(`${r} ${n}`);if(o){let{alpha:i,components:[s,...a]}=o;return{type:s,components:a,alpha:i}}}function Uc(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=wi(e[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function wi(t){let e=et(t," ");if(!e)return;let r=e.length;if(e[r-2]==="/")return{components:e.slice(0,r-2),alpha:e[r-1]};if(e[r-2]!=null&&(e[r-2].endsWith("/")||e[r-1].startsWith("/"))){let i=e.splice(r-2);e.push(i.join(" ")),--r}let n=et(e[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:e};let o=n.pop();return e[r-1]=n.join("/"),{components:e,alpha:o}}var Gc=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Si(t){return t.includes("theme(")&&t.includes(")")}function _i(t,e,r=!0){let n=Array.from(t.toString().matchAll(Gc));if(!n.length)return t;let o=new ar(t);for(let i of n){let s=i[2];if(!s)throw new Error("theme() expect exact one argument, but got 0");let a=Kc(s,e,r);a&&o.overwrite(i.index,i.index+i[0].length,a)}return o.toString()}function Kc(t,e,r=!0){let[n,o]=t.split("/"),s=n.trim().split(".").reduce((a,c)=>a?.[c],e);if(typeof s=="object"&&(s=s.DEFAULT),typeof s=="string"){if(o){let a=ze(s);a&&(s=lr(a,o))}return s}else if(r)throw new Error(`theme of "${t}" did not found`)}function Sn(t){let e=t.match(/^-?\d+\.?\d*/)?.[0]||"",r=t.slice(e.length);if(r==="px"){let n=Number.parseFloat(e)-.1;return Number.isNaN(n)?t:`${n}${r}`}return`calc(${t} - 0.1px)`}function $i(t){let e=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let s=t[i](n);if(s!=null)return s}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(t))Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return e}var Ci="__pseudo_placeholder__",rt=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${Ci})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),Ei=Object.keys(rt),nt=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),Pi=Object.keys(nt),Yc=["not","is","where","has"],Ai=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),bn=Object.entries(rt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),vn=Object.entries(nt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Re=Yc.join("|"),yi=Object.keys(Ai).sort((t,e)=>e.length-t.length).join("|"),Xc=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],ki=Object.entries(rt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),xi=Object.entries(nt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function Jc(t,e,r,n){let{h:o,variantGetBracket:i}=n,s=new RegExp(`^(${Ze(e)}:)(\\S+)${Ze(r)}\\1`),a,c,l,f,u=m=>{let g=i(`${t}-`,m,[]);if(!g)return;let[k,w]=g,S=o.bracket(k);if(S==null)return;let _=w.split(a,1)?.[0]??"",C=`${e}${$e(_)}`;return[_,m.slice(m.length-(w.length-_.length-1)),S.includes("&")?S.replace(/&/g,C):`${C}${S}`]},h=m=>{let g=m.match(c)||m.match(l);if(!g)return;let[k,w,S]=g,_=g[3]??"",C=rt[S]||nt[S]||`:${S}`;return w&&(C=`:${w}(${C})`),[_,m.slice(k.length),`${e}${$e(_)}${C}`,S]},d=m=>{let g=m.match(f);if(!g)return;let[k,w,S]=g,_=g[3]??"",C=`:${w}(${S})`;return[_,m.slice(k.length),`${e}${$e(_)}${C}`]};return{name:`pseudo:${t}`,match(m,g){if(a&&c&&l||(a=new RegExp(`(?:${g.generator.config.separators.join("|")})`),c=new RegExp(`^${t}-(?:(?:(${Re})-)?(${bn}))(?:(/[\\w-]+))?(?:${g.generator.config.separators.join("|")})`),l=new RegExp(`^${t}-(?:(?:(${Re})-)?(${vn}))(?:(/[\\w-]+))?(?:${g.generator.config.separators.filter(b=>b!=="-").join("|")})`),f=new RegExp(`^${t}-(?:(${Re})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${g.generator.config.separators.filter(b=>b!=="-").join("|")})`)),!m.startsWith(t))return;let k=u(m)||h(m)||d(m);if(!k)return;let[w,S,_,C=""]=k;return{matcher:S,handle:(b,L)=>L({...b,prefix:`${_}${r}${b.prefix}`.replace(s,"$1$2:"),sort:Ei.indexOf(C)??Pi.indexOf(C)})}},multiPass:!0}}function Li(t){let{h:e}=t,r,n,o;return[{name:"pseudo",match(i,s){r&&n||(r=new RegExp(`^(${ki})(?:-(\\d+|\\[\\w+\\]))?(?:${s.generator.config.separators.join("|")})`),n=new RegExp(`^(${xi})(?:${s.generator.config.separators.filter(c=>c!=="-").join("|")})`));let a=i.match(r)||i.match(n);if(a){let c=rt[a[1]]||nt[a[1]]||`:${a[1]}`;if(a[2]){let f;a[2].startsWith("[")&&a[2].endsWith("]")?f=e.bracket(a[2]):f=a[2],f&&(c=c.replace(Ci,f))}let l=Ei.indexOf(a[1]);return l===-1&&(l=Pi.indexOf(a[1])),l===-1&&(l=void 0),{matcher:i.slice(a[0].length),handle:(f,u)=>{let h=c.includes("::")&&!Xc.includes(c)?{pseudo:`${f.pseudo}${c}`}:{selector:`${f.selector}${c}`};return u({...f,...h,sort:l,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${ki}|${xi}):`},{name:"pseudo:multi",match(i,s){o||(o=new RegExp(`^(${yi})(?:${s.generator.config.separators.join("|")})`));let a=i.match(o);if(a)return Ai[a[1]].map(l=>({matcher:i.slice(a[0].length),handle:(f,u)=>u({...f,pseudo:`${f.pseudo}${l}`})}))},multiPass:!1,autocomplete:`(${yi}):`}]}function Mi(t){let{getBracket:e,h:r}=t,n,o,i;return{match(s,a){n&&o||(n=new RegExp(`^(${Re})-(${bn})(?:${a.generator.config.separators.join("|")})`),o=new RegExp(`^(${Re})-(${vn})(?:${a.generator.config.separators.filter(l=>l!=="-").join("|")})`),i=new RegExp(`^(${Re})-(\\[.+\\])(?:${a.generator.config.separators.filter(l=>l!=="-").join("|")})`));let c=s.match(n)||s.match(o)||s.match(i);if(c){let l=c[1],u=e(c[2],"[","]")?r.bracket(c[2]):rt[c[2]]||nt[c[2]]||`:${c[2]}`;return{matcher:s.slice(c[0].length),selector:h=>`${h}:${l}(${u})`}}},multiPass:!0,autocomplete:`(${Re})-(${bn}|${vn}):`}}function Oi(t,e){let r=!!t?.attributifyPseudo,n=t?.prefix??"";n=(Array.isArray(n)?n:[n]).filter(Boolean)[0]??"";let o=(i,s)=>Jc(i,r?`[${n}${i}=""]`:`.${n}${i}`,s,e);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var Zc=/(part-\[(.+)\]:)(.+)/;function Ri(){return{match(t){let e=t.match(Zc);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function ne(t,e,r={}){let n;return{name:t,match(o,i){n||(n=new RegExp(`^${Ze(t)}(?:${i.generator.config.separators.join("|")})`));let s=o.match(n);if(s){let a=o.slice(s[0].length),c=O(e).map(l=>({matcher:a,handle:(f,u)=>u({...f,...l(f)}),...r}));return c.length===1?c[0]:c}},autocomplete:`${t}:`}}function K(t,e){let r;return{name:t,match(n,o){r||(r=new RegExp(`^${Ze(t)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${e}`})}},autocomplete:`${t}:`}}function Ce(t,e,r){if(e.startsWith(`${t}[`)){let[n,o]=tt(e.slice(t.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function ee(t,e,r){for(let n of O(t))if(e.startsWith(n)){let o=Ce(n,e,r);if(o){let[i="",s=o[1]]=ee("/",o[1],r)??[];return[o[0],s,i]}for(let i of r.filter(s=>s!=="/")){let s=e.indexOf(i,n.length);if(s!==-1){let a=e.indexOf("/",n.length),c=a===-1||s<=a;return[e.slice(n.length,c?s:a),e.slice(s+i.length),c?"":e.slice(a+1,s)]}}}}function Ni(t){return{"h1,h2,h3,h4,h5,h6":{color:"var(--un-prose-headings)","font-weight":"600","line-height":1.25},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},"a code":{color:"var(--un-prose-links)"},"p,ul,ol,pre":{margin:"1em 0","line-height":1.75},blockquote:{margin:"1em 0","padding-left":"1em","font-style":"italic","border-left":".25em solid var(--un-prose-borders)"},h1:{margin:"1rem 0","font-size":"2.25em"},h2:{margin:"1.75em 0 .5em","font-size":"1.75em"},h3:{margin:"1.5em 0 .5em","font-size":"1.375em"},h4:{margin:"1em 0","font-size":"1.125em"},"img,video":{"max-width":"100%"},"figure,picture":{margin:"1em 0"},figcaption:{color:"var(--un-prose-captions)","font-size":".875em"},code:{color:"var(--un-prose-code)","font-size":".875em","font-weight":600,"font-family":t.fontFamily?.mono},":not(pre) > code::before,:not(pre) > code::after":{content:'"`"'},pre:{padding:"1.25rem 1.5rem","overflow-x":"auto","border-radius":".375rem"},"pre,code":{"white-space":"pre","word-spacing":"normal","word-break":"normal","word-wrap":"normal","-moz-tab-size":4,"-o-tab-size":4,"tab-size":4,"-webkit-hyphens":"none","-moz-hyphens":"none",hyphens:"none",background:"transparent"},"pre code":{"font-weight":"inherit"},"ol,ul":{"padding-left":"1.25em"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker,ul > li::marker,summary::marker":{color:"var(--un-prose-lists)"},hr:{margin:"2em 0",border:"1px solid var(--un-prose-hr)"},table:{display:"block",margin:"1em 0","border-collapse":"collapse","overflow-x":"auto"},"tr:nth-child(2n)":{background:"var(--un-prose-bg-soft)"},"td,th":{border:"1px solid var(--un-prose-borders)",padding:".625em 1em"},abbr:{cursor:"help"},kbd:{color:"var(--un-prose-code)",border:"1px solid",padding:".25rem .5rem","font-size":".875em","border-radius":".25rem"},details:{margin:"1em 0",padding:"1.25rem 1.5rem",background:"var(--un-prose-bg-soft)"},summary:{cursor:"pointer","font-weight":"600"}}}var eu=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]];function tu(t){for(let[e,...r]of eu)if(e===t)return r.length>0?r:[e]}function zi(t){let e="",{escapedSelector:r,selectorName:n,preflights:o,compatibility:i,important:s}=t,a=i?.noColonNot||i?.noColonWhere;for(let c in o){let l=o[c],f=`:not(:where(.not-${n},.not-${n} *))`,u=c.split(",").map(h=>{let d=h.match(/:[():\-\w]+$/g);if(d){let m=d[0];return h=h.replace(m,""),r.map(g=>a?`${g} ${h}${m}`:`${g} :where(${h})${f}${m}`).join(",")}return null}).filter(h=>h);u.length?e+=u.join(","):e+=r.map(h=>a?c.split(",").map(d=>`${h} ${d}`).join(","):`${h} :where(${c})${f}`).join(","),e+="{";for(let h in l){let d=l[h];e+=`${h}:${d}${s?" !important":""};`}e+="}"}return e}function ru(t,e){let{compatibility:r,selectorName:n,important:o=!1}=e,i=typeof e?.cssExtend=="function"?e.cssExtend(t.theme):e?.cssExtend,s=Array.from(e.escapedSelectors);return!s[s.length-1].startsWith(".")&&!r?.noColonIs&&(s=[`:is(${s[s.length-1]},.${e.selectorName})`]),typeof o=="string"&&(s=s.map(a=>r?.noColonIs?`${o} ${a}`:`:is(${o}) ${a}`)),zi(i?{escapedSelector:s,selectorName:n,preflights:or(Ni(t.theme),i),compatibility:r,important:o===!0}:{escapedSelector:s,selectorName:n,preflights:Ni(t.theme),compatibility:r,important:o===!0})}var _n=t=>{t?.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Please use "selectorName" instead.');let e=new Set,r=t?.selectorName||t?.className||"prose",n=new RegExp(`^${r}$`),o=new RegExp(`^${r}-([-\\w]+)$`),i=new RegExp(`^${r}-invert$`),s=t?.compatibility?.noColonNot||t?.compatibility?.noColonWhere;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[n,(a,{rawSelector:c})=>(e.add(dn(c)),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[o,([,a],{theme:c})=>{let l=c.colors?.[a];if(l==null)return;let f=typeof l=="object"?l:{},u={body:700,headings:900,links:900,lists:400,hr:200,captions:500,code:900,borders:200,"bg-soft":100,"invert-body":200,"invert-headings":100,"invert-links":100,"invert-lists":500,"invert-hr":700,"invert-captions":400,"invert-code":100,"invert-borders":700,"invert-bg-soft":800},h={};for(let d in u){let m=u[d],g=f[m]??l,k=!1;for(let w of kn)if(g.includes(w)){k=!0,h[`--un-prose-${d}-opacity`]=1,h[`--un-prose-${d}`]=g.replace(w,`var(--un-prose-${d}-opacity)`);break}k||(h[`--un-prose-${d}`]=g)}return h},{layer:"typography"}],[i,()=>({"--un-prose-body":"var(--un-prose-invert-body)","--un-prose-headings":"var(--un-prose-invert-headings)","--un-prose-links":"var(--un-prose-invert-links)","--un-prose-lists":"var(--un-prose-invert-lists)","--un-prose-hr":"var(--un-prose-invert-hr)","--un-prose-captions":"var(--un-prose-invert-captions)","--un-prose-code":"var(--un-prose-invert-code)","--un-prose-borders":"var(--un-prose-invert-borders)","--un-prose-bg-soft":"var(--un-prose-invert-bg-soft)"}),{layer:"typography"}]],variants:[{name:"typography element modifiers",match:a=>{if(a.startsWith(`${r}-`)){let c=new RegExp(`^${r}-(\\w+)[:-].+$`),l=a.match(c)?.[1];if(l){let f=tu(l);if(f?.length)return{matcher:a.slice(r.length+l.length+2),selector:u=>{let h=`:not(:where(.not-${r},.not-${r} *))`;return s?f.map(m=>`${u} ${m}`).join(","):`${u} :is(:where(${f})${h})`}}}}}}],preflights:[{layer:"typography",getCSS:a=>{if(e.size>0)return ru(a,{escapedSelectors:e,...t,selectorName:r})}}]}};var Di="@unocss/preset-wind4",$t="$$mini-no-negative",Ct={transparent:"transparent",current:"currentColor",inherit:"inherit"},J={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-inline"],y:["-block"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},Cn={...J,x:["-inset-inline"],y:["-inset-block"],s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},Et={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},En={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Fi=["x","y","z"],Ii=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],Y=Object.assign({},...Ii.map(t=>({[t.replace(/ /,"-")]:t})),...Ii.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),N=["inherit","initial","revert","revert-layer","unset"],cr=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Pn=/^(var)\s*\((.+)\)(.*)/,Pt=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,nu=/^(-?\d*(?:\.\d+)?)$/,Bi=/^(px|[sld]?v[wh])$/i,qi={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},ur=/^\[(color|image|length|size|position|quoted|string|number|family):/i,Vi=/,(?![^()]*\))/g;var ou=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function ue(t){return+t.toFixed(10)}function iu(t){let e=t.match(Pt);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${ue(o)}${n}`}function su(t){if(t==="auto"||t==="a")return"auto"}function au(t){if(!t)return;if(Bi.test(t))return`${qi[t]}${t}`;let e=t.match(Pt);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ue(o)}${n}`:`${ue(o/4)}rem`}function lu(t){if(Bi.test(t))return`${qi[t]}${t}`;let e=t.match(Pt);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${ue(o)}${n}`:`${ue(o)}px`}function Hi(t){if(!nu.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return ue(e)}function cu(t){t.endsWith("%")&&(t=t.slice(0,-1));let e=Hi(t);if(e!=null)return`${e}%`}function uu(t){if(!t)return;if(t==="full")return"100%";let[e,r]=t.split("/"),n=Number.parseFloat(e)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${ue(n*100)}%`}function Ie(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,n,o=t.match(ur);if(!o)r=t.slice(1,-1);else{if(!e)n=o[1];else if(o[1]!==e)return;r=t.slice(o[0].length,-1)}if(!r||r==='=""')return;if(r.startsWith("--")){let[s,a]=r.slice(2).split(",");r=`var(--${$e(s)}${a?`, ${a}`:""})`}let i=0;for(let s of r)if(s==="[")i+=1;else if(s==="]"&&(i-=1,i<0))return;if(i)return;switch(n){case"string":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return r.replace(/(url\(.*?\))/g,s=>s.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,s=>{let a=[];return s.replace(/var\((--.+?)[,)]/g,(c,l)=>(a.push(l),c.replace(l,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function fu(t){return Ie(t)}function pu(t){return Ie(t,"color")}function hu(t){return Ie(t,"length")||Ie(t,"size")}function du(t){return Ie(t,"position")}function mu(t){return Ie(t,"family")}function gu(t){return Ie(t,"number")}function bu(t){if(t.startsWith("var("))return t;let e=t.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(e){let[r,n]=e[1].split(",");return`var(--${$e(r)}${n?`, ${n}`:""})`}}function vu(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${ue(o)}${n}`:`${ue(o)}ms`}function yu(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ue(o)}${n}`:`${ue(o)}deg`}function ku(t){if(N.includes(t))return t}function xu(t){if(t.split(",").every(e=>ou.includes(e)))return t}function wu(t){if(["top","left","right","bottom","center"].includes(t))return t}function Su(t){if(t==="none")return"none"}var _u={__proto__:null,auto:su,bracket:fu,bracketOfColor:pu,bracketOfFamily:mu,bracketOfLength:hu,bracketOfNumber:gu,bracketOfPosition:du,cssvar:bu,degree:yu,fraction:uu,global:ku,none:Su,number:Hi,numberWithUnit:iu,percent:cu,position:wu,properties:xu,px:lu,rem:au,time:vu},$u=$i(_u),p=$u;function Z(t,e){let r=p.number(t)??e;if(r!=null){let n=Number(r);return String(r).endsWith("%")&&(n=Number(String(r).slice(0,-1))/100),n}}function z(t){function e(n){let o=n.match(Pt);if(o){let[,i,s]=o,a=Number.parseFloat(i);if(!Number.isNaN(a))return[a,s]}return[void 0,void 0]}function r(n){let o,i;if(n.spacing?.DEFAULT){let[s,a]=e(n.spacing.DEFAULT);s!=null&&a!=null&&(o=s,i=a)}return Object.entries(n.spacing??{}).reduce((s,[a,c])=>{let[l,f]=e(c);return l!=null&&f!=null&&f===i?s[a]=l/o:s[a]=c,s},{})}return([n,o,i],{theme:s})=>{if(i!=null&&o!=null){let a=r(s),c,l=i.startsWith("-");if(l&&(i=i.slice(1)),c=Z(i,a[i]),c!=null)return Number.isNaN(c)?(E("spacing",i),J[o].map(f=>[`${t}${f}`,l?`calc(var(--spacing-${i} * -1)`:`var(--spacing-${i})`])):(E("spacing"),J[o].map(f=>[`${t}${f}`,`calc(var(--spacing) * ${l?"-":""}${c})`]));if(c=p.bracket.cssvar.global.auto.fraction.rem(l?`-${i}`:i),c!=null)return J[o].map(f=>[`${t}${f}`,c])}}}function At(t,e){let r,[n,...o]=et(t,["/",":"],3)??[];if(n!=null){let g=(n.match(ur)??[])[1];(g==null||g==="color")&&(r=[n,...o])}if(!r)return;let i,[s,a,c]=r;wn(a)||wn(p.bracket(a??""))?c=a:i=a;let l=s.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[f]=l;if(!f)return;let u=ji(e,l);if(!u&&l.length>=2){let g=l.at(-1),k=l.at(-2);if(/^\d+$/.test(g)){let w=l.slice(0,-2).concat([`${k}${g}`]);u=ji(e,w)}}let{no:h,keys:d,color:m}=u??{};if(!m){let g=p.bracketOfColor(s),k=g||s;if(p.numberWithUnit(k))return;/^#[\da-f]+$/i.test(k)?m=k:/^hex-[\da-fA-F]+$/.test(k)?m=`#${k.slice(4)}`:s.startsWith("$")&&(m=p.cssvar(s)),m=m||g}return{opacity:i,modifier:c&&p.bracket.cssvar(c)||c,name:f,no:h,color:m??Ct[f],alpha:p.bracket.cssvar.percent(i??""),keys:d,get cssColor(){return ze(this.color)}}}function ji(t,e){let r,n,o,i=Lt(t,"colors",e);if(typeof i=="object"?"DEFAULT"in i&&(r=i.DEFAULT,n="DEFAULT",o=[...e,n]):typeof i=="string"&&(r=i,o=e,n=e.at(-1)),!!r)return{color:r,no:n,keys:o}}function Lt(t,e,r){let n=t[e];function o(i,s){if(!(!i||typeof i!="object")){if(s.length===0)return i;for(let a=s.length;a>0;a--){let c=s.slice(0,a).join("-");if(c in i){let l=i[c];return a===s.length?l:o(l,s.slice(a))}}}}return o(n,r)}function An(t,e,r,n){if(!t)return;let{color:o,keys:i,alpha:s,modifier:a}=t,c=n?.generator.config.envMode==="dev"&&o?` /* ${o} */`:"",l={};if(o){let f=[l];if(Object.values(Ct).includes(o))l[e]=o;else{let u=`--un-${r}-opacity`,h=i?T("colors",i):o,d=a??(i?"in srgb":"in oklab");!d.startsWith("in ")&&!d.startsWith("var(")&&(d=`in ${d}`),l[e]=`color-mix(${d}, ${h} ${s??`var(${u})`}, transparent)${c}`,f.push(y(u,{syntax:"<percentage>",initialValue:"100%"})),i&&(E("colors",i),a||f.push({[V.parent]:"@supports (color: color-mix(in lab, red, red))",[V.noMerge]:!0,[V.shortcutsNoMerge]:!0,[e]:`color-mix(in oklab, ${h} ${s??`var(${u})`}, transparent)${c}`})),n?.theme&&it(o,n.theme)}return f}}function j(t,e){return([,r],n)=>{let o=At(r??"",n.theme);if(o)return An(o,t,e,n)}}function fr(t,e){let r=[];t=O(t);for(let n=0;n<t.length;n++){let o=et(t[n]," ",6);if(!o||o.length<3)return t;let i=!1,s=o.indexOf("inset");s!==-1&&(o.splice(s,1),i=!0);let a="",c=o.at(-1);if(ze(o.at(0))){let l=ze(o.shift());l&&(a=`, ${lr(l)}`)}else if(ze(c)){let l=ze(o.pop());l&&(a=`, ${lr(l)}`)}else c&&Pn.test(c)&&(a=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${e}${a})`)}return r}function De(t,e){return t!=null&&!!At(t,e)?.color}var Ti=/[a-z]+/gi,$n=new WeakMap;function Fe({theme:t,generator:e},r="breakpoint"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if($n.has(t))return $n.get(t);let o=Object.entries(n).sort((i,s)=>Number.parseInt(i[1].replace(Ti,""))-Number.parseInt(s[1].replace(Ti,""))).map(([i,s])=>({point:i,size:s}));return $n.set(t,o),o}function P(t,e){return N.map(r=>[`${t}-${r}`,{[e??t]:r}])}function y(t,e={}){let{syntax:r="*",inherits:n=!1,initialValue:o}=e,i={[V.shortcutsNoMerge]:!0,[V.noMerge]:!0,[V.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${t}`}],syntax:JSON.stringify(r),inherits:n?"true":"false"};return o!=null&&(i["initial-value"]=o),Cu(t,o?String(o):"initial"),i}function ot(t){return t!=null&&cr.test(t)}function Wi(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),cr.test(t)||Pt.test(t)}function pr(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function Ln(t,e=!1){return e?t.trim():t.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}var je=new Set([]);function E(t,e="DEFAULT"){let r=`${t}:${O(e).join("-")}`;je.has(r)||je.add(r)}function T(t,e){return`var(--${t}-${O(e).join("-")})`}function it(t,e){if(t.startsWith("var(")){let r=t.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(r){let[n,...o]=r.split("-"),i=Lt(e,n,o);typeof i=="string"&&(E(n,o),it(i,e))}}}var Te=new Map;function Cu(t,e){Te.has(t)||Te.set(t,e)}function Eu({important:t}){if(t==null||t===!1)return[];let e=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[t===!0?r=>{r.layer!=="properties"&&r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(t)||(r.selector=`${t} ${e(r.selector)}`)}]}function Pu({variablePrefix:t}){return t!=="un-"?[r=>{r.entries.forEach(n=>{n[0]=n[0].replace(/^--un-/,`--${t}`),typeof n[1]=="string"&&(n[1]=n[1].replace(/var\(--un-/g,`var(--${t}`))})}]:[]}function Ui(t){return[Eu,Pu].flatMap(e=>e(t))}var Au={name:"aria",match(t,e){let r=ee("aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function st(t){return{name:`${t}-aria`,match(e,r){let n=ee(`${t}-aria-`,e,r.generator.config.separators);if(n){let[o,i,s]=n,a=p.bracket(o)??r.theme.aria?.[o]??"";if(a){let c={group:`&:is(:where(.group${s?`\\/${s}`:""})[aria-${a}] *)`,peer:`&:is(:where(.peer${s?`\\/${s}`:""})[aria-${a}] ~ *)`,previous:`:where(*[aria-${a}] + &)`,parent:`:where(*[aria-${a}] > &)`,has:`&:has(*[aria-${a}])`,in:`:where(*[aria-${a}]) &`};return{matcher:i,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}${l.selector}`,selector:c[t]})}}}},multiPass:!0}}var Lu=[st("group"),st("peer"),st("parent"),st("previous"),st("has"),st("in")],Gi=/(max|min)-\[([^\]]*)\]:/;function Mu(){let t={};return{name:"breakpoints",match(e,r){if(Gi.test(e)){let o=e.match(Gi);return{matcher:e.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(Fe(r)??[]).map(({point:o,size:i},s)=>[o,i,s]);for(let[o,i,s]of n){t[o]||(t[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let a=e.match(t[o]);if(!a)continue;let[,c]=a,l=e.slice(c.length);if(l==="container")continue;let f=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),u=c.startsWith("at-")||c.startsWith("~"),h=3e3;return f?(h-=s+1,{matcher:l,handle:(d,m)=>m({...d,parent:`${d.parent?`${d.parent} $$ `:""}@media (max-width: ${Sn(i)})`,parentOrder:h})}):(h+=s+1,u&&s<n.length-1?{matcher:l,handle:(d,m)=>m({...d,parent:`${d.parent?`${d.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Sn(n[s+1][1])})`,parentOrder:h})}:{matcher:l,handle:(d,m)=>m({...d,parent:`${d.parent?`${d.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:h})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}var Ou=[ne("*",t=>({selector:`${t.selector} > *`}),{order:-1}),ne("**",t=>({selector:`${t.selector} *`}),{order:-1})];function Mt(t,e){return{name:`combinator:${t}`,match(r,n){if(!r.startsWith(t))return;let o=n.generator.config.separators,i=Ce(`${t}-`,r,o);if(!i){for(let a of o)if(r.startsWith(`${t}${a}`)){i=["",r.slice(t.length+a.length)];break}if(!i)return}let s=p.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:a=>`${a}${e}${s}`}},multiPass:!0}}var Ru=[Mt("all"," "),Mt("children",">"),Mt("next","+"),Mt("sibling","+"),Mt("siblings","~")],Nu=[ne("svg",t=>({selector:`${t.selector} svg`}))],zu={name:"@",match(t,e){if(t.startsWith("@container"))return;let r=ee("@",t,e.generator.config.separators);if(r){let[n,o,i]=r,s=p.bracket(n),a;if(s?a=p.numberWithUnit(s):a=e.theme.container?.[n]??"",a){let c=1e3+Object.keys(e.theme.container??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${a})`,parentOrder:c})}}}},multiPass:!0};function Iu(t={}){if(t?.dark==="class"||typeof t.dark=="object"){let{dark:e=".dark",light:r=".light"}=typeof t.dark=="string"?{}:t.dark;return[ne("dark",n=>({prefix:`${e} $$ ${n.prefix}`})),ne("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[K("dark","@media (prefers-color-scheme: dark)"),K("light","@media (prefers-color-scheme: light)")]}var ju=[ne(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),ne(".light",t=>({prefix:`.light $$ ${t.prefix}`})),K("@dark","@media (prefers-color-scheme: dark)"),K("@light","@media (prefers-color-scheme: light)"),K("not-dark","@media not (prefers-color-scheme: dark)")],Tu={name:"data",match(t,e){let r=ee("data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function at(t){return{name:`${t}-data`,match(e,r){let n=ee(`${t}-data-`,e,r.generator.config.separators);if(n){let[o,i,s]=n,a=p.bracket(o)??r.theme.data?.[o]??"";if(a){let c={group:`&:is(:where(.group${s?`\\/${s}`:""})[data-${a}] *)`,peer:`&:is(:where(.peer${s?`\\/${s}`:""})[data-${a}] ~ *)`,previous:`:where(*[data-${a}] + &)`,parent:`:where(*[data-${a}] > &)`,has:`&:has(*[data-${a}])`,in:`:where(*[data-${a}]) &`};return{matcher:i,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}${l.selector}`,selector:c[t]})}}}},multiPass:!0}}var Du=[at("group"),at("peer"),at("parent"),at("previous"),at("has"),at("in")],Fu=[ne("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),ne("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function Bu(){let t;return{name:"important",match(e,r){t||(t=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=e.match(t);if(o?n=e.slice(o[0].length):e.endsWith("!")&&(n=e.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),i)}}}}var qu=ne("inert",t=>({parent:`${t.parent?`${t.parent} $$ `:""}${t.selector}`,selector:"&:is([inert],[inert] *)"})),Vu=K("noscript","@media (scripting: none)"),Hu={name:"scripting",match(t,e){let r=ee(["script-","scripting-"],t,e.generator.config.separators);if(r){let[n,o]=r;if(["none","initial-only","enabled"].includes(n))return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (scripting: ${n})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},Wu=K("print","@media print"),Uu={name:"media",match(t,e){let r=ee("media-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??"";if(i===""&&(i=e.theme.media?.[n]??""),i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${i}`})}}},multiPass:!0,autocomplete:"media-$media"},Gu=[K("contrast-more","@media (prefers-contrast: more)"),K("contrast-less","@media (prefers-contrast: less)")],Ku=[K("motion-reduce","@media (prefers-reduced-motion: reduce)"),K("motion-safe","@media (prefers-reduced-motion: no-preference)")],Yu=[K("landscape","@media (orientation: landscape)"),K("portrait","@media (orientation: portrait)")],Xu=[K("forced-colors","@media (forced-colors: active)")],Ju={name:"selector",match(t,e){let r=Ce("selector-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Zu={name:"layer",match(t,e){let r=ee("layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},Qu={name:"uno-layer",match(t,e){let r=ee("uno-layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},ef={name:"scope",match(t,e){let r=Ce("scope-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},tf={name:"variables",match(t,e){if(!t.startsWith("["))return;let[r,n]=tt(t,"[","]")??[];if(!(r&&n))return;let o;for(let a of e.generator.config.separators)if(n.startsWith(a)){o=n.slice(a.length);break}if(o==null)return;let i=p.bracket(r)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(a,c){let l=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return c({...a,...l})}}},multiPass:!0},rf={name:"theme-variables",match(t,e){if(Si(t))return{matcher:t,handle(r,n){return n({...r,entries:JSON.parse(_i(JSON.stringify(r.entries),e.theme))})}}}},nf=[ne("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))],of={name:"implicit-group",match(t,e){let r=ee("in-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${s.selector}`,selector:`:where(*:is(${i})) &`})}}}},Ki=/^-?[0-9.]+(?:[a-z]+|%)?$/,Yi=/-?[0-9.]+(?:[a-z]+|%)?/,sf=[/\b(opacity|color|flex|backdrop-filter|^filter|transform|mask-image)\b/];function af(t){let e=t.match(cr)||t.match(Pn);if(e){let[r,n]=Ne(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r)return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}var lf=/\b(hue-rotate)\s*(\(.*)/;function cf(t){let e=t.match(lf);if(e){let[r,n]=Ne(e[2],"(",")"," ")??[];if(r){let o=Ki.test(r.slice(1,-1))?r.replace(Yi,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${e[1]}${o}${n?` ${n}`:""}`}}}var uf={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(n=>n[0]===$t))return;let r=!1;return e.forEach(n=>{if(O(n[2]).includes($t))return;let o=n[1]?.toString();if(!o||o==="0"||sf.some(a=>a.test(n[0])))return;let i=af(o);if(i){n[1]=i,r=!0;return}let s=cf(o);if(s){n[1]=s,r=!0;return}Ki.test(o)&&(n[1]=o.replace(Yi,a=>a.startsWith("-")?a.slice(1):`-${a}`),r=!0)}),r?e:[]}}}},ff=(t,{theme:e})=>{let r=t.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(De(i,e)||pf(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function pf(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?p.bracket.percent(e[1])!=null:!1}function hf(){return Li({getBracket:tt,h:p,variantGetBracket:Ce})}function df(){return Mi({getBracket:tt,h:p,variantGetBracket:Ce})}function mf(t={}){return Oi(t,{getBracket:tt,h:p,variantGetBracket:Ce})}var gf=Ri(),bf={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}},vf={name:"supports",match(t,e){let r=ee("supports-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??"";if(i===""&&(i=e.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Xi(t){return[Au,Tu,Zu,Ju,Qu,uf,bf,Bu(),vf,Vu,Hu,Wu,Uu,...Gu,...Ku,...Yu,...Xu,Mu(),...Ru,...Nu,ff,...hf(),df(),...mf(t),gf,...Iu(t),...ju,...Fu,ef,...Ou,qu,zu,tf,...Du,...Lu,rf,...nf,of].flat()}var Mn={black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"},light:{50:"oklch(99.4% 0 0)",100:"oklch(99.11% 0 0)",200:"oklch(98.51% 0 0)",300:"oklch(98.16% 0.0017 247.84)",400:"oklch(97.31% 0 0)",500:"oklch(96.12% 0 0)",600:"oklch(96.32% 0.0034 247.86)",700:"oklch(94.17% 0.0052 247.88)",800:"oklch(91.09% 0.007 247.9)",900:"oklch(90.72% 0.0051 228.82)",950:"oklch(89.23% 0.006 239.83)"},dark:{50:"oklch(40.91% 0 0)",100:"oklch(35.62% 0 0)",200:"oklch(31.71% 0 0)",300:"oklch(29.72% 0 0)",400:"oklch(25.2% 0 0)",500:"oklch(23.93% 0 0)",600:"oklch(22.73% 0.0038 286.09)",700:"oklch(22.21% 0 0)",800:"oklch(20.9% 0 0)",900:"oklch(16.84% 0 0)",950:"oklch(13.44% 0 0)"}};Object.values(Mn).forEach(t=>{typeof t!="string"&&t!==void 0&&(t.DEFAULT=t.DEFAULT||t[400])});var yf={keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},kf={busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},xf={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},wf={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"'].join(","),serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"].join(","),mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"].join(",")},Sf={xs:{fontSize:"0.75rem",lineHeight:"1rem"},sm:{fontSize:"0.875rem",lineHeight:"1.25rem"},base:{fontSize:"1rem",lineHeight:"1.5rem"},lg:{fontSize:"1.125rem",lineHeight:"1.75rem"},xl:{fontSize:"1.25rem",lineHeight:"1.75rem"},"2xl":{fontSize:"1.5rem",lineHeight:"2rem"},"3xl":{fontSize:"1.875rem",lineHeight:"2.25rem"},"4xl":{fontSize:"2.25rem",lineHeight:"2.5rem"},"5xl":{fontSize:"3rem",lineHeight:"1"},"6xl":{fontSize:"3.75rem",lineHeight:"1"},"7xl":{fontSize:"4.5rem",lineHeight:"1"},"8xl":{fontSize:"6rem",lineHeight:"1"},"9xl":{fontSize:"8rem",lineHeight:"1"}},_f={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},$f={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Cf={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Ef={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Pf={portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},Af={DEFAULT:"0.25rem",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},Lf={DEFAULT:"0.25rem",none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","4xl":"2rem"},Mf={DEFAULT:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],"2xs":"0 1px rgb(0 0 0 / 0.05)",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:["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)",none:"0 0 rgb(0 0 0 / 0)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},Of={"2xs":"inset 0 1px rgb(0 0 0 / 0.05)",xs:"inset 0 1px 1px rgb(0 0 0 / 0.05)",sm:"inset 0 2px 4px rgb(0 0 0 / 0.05)",none:"0 0 rgb(0 0 0 / 0)"},Rf={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],xs:"0 1px 1px rgb(0 0 0 / 0.05)",sm:"0 1px 2px rgb(0 0 0 / 0.15)",md:"0 3px 3px rgb(0 0 0 / 0.12)",lg:"0 4px 4px rgb(0 0 0 / 0.15)",xl:"0 9px 7px rgb(0 0 0 / 0.1)","2xl":"0 25px 25px rgb(0 0 0 / 0.15)"},Nf={none:"0 0 rgb(0 0 0 / 0)","2xs":"0 1px 0 rgb(0 0 0 / 0.15)",xs:"0 1px 1px rgb(0 0 0 / 0.2)",sm:["0 1px 0 rgb(0 0 0 / 0.075)","0 1px 1px rgb(0 0 0 / 0.075)","0 2px 2px rgb(0 0 0 / 0.075)"],md:["0 1px 1px rgb(0 0 0 / 0.1)","0 1px 2px rgb(0 0 0 / 0.1)","0 2px 4px rgb(0 0 0 / 0.1)"],lg:["0 1px 2px rgb(0 0 0 / 0.1)","0 3px 2px rgb(0 0 0 / 0.1)","0 4px 8px rgb(0 0 0 / 0.1)"]},zf={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},If={transition:{duration:"150ms",timingFunction:"cubic-bezier(0.4, 0, 0.2, 1)"},font:{family:"var(--font-sans)",featureSettings:"var(--font-sans--font-feature-settings)",variationSettings:"var(--font-sans--font-variation-settings)"},monoFont:{family:"var(--font-mono)",featureSettings:"var(--font-mono--font-feature-settings)",variationSettings:"var(--font-mono--font-variation-settings)"}},jf={"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",prose:"65ch"},Ji={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},Tf={...Ji},Df={grid:"(display: grid)"},Ff={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)",DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)"},Bf={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke","--un-gradient-from","--un-gradient-via","--un-gradient-to"].join(","),opacity:"opacity",shadow:"box-shadow",transform:["transform","translate","scale","rotate"].join(","),get DEFAULT(){return[this.colors,this.opacity,this.shadow,this.transform,"filter","-webkit-backdrop-filter","backdrop-filter"].join(",")}},Zi={font:wf,colors:Mn,spacing:Af,breakpoint:Ji,verticalBreakpoint:Tf,text:Sf,fontWeight:_f,tracking:$f,leading:Cf,textStrokeWidth:Ef,radius:Lf,shadow:Mf,insetShadow:Of,dropShadow:Rf,textShadow:Nf,ease:Ff,animation:yf,blur:xf,perspective:zf,property:Bf,default:If,container:jf,aria:kf,media:Pf,supports:Df};var Qi=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],qf=/@media \(min-width: (.+)\)/,es=[[/^__container$/,(t,e)=>{let{theme:r,variantHandlers:n}=e,o=r.containers?.padding,i;I(o)?i=o:i=o?.DEFAULT;let s=r.containers?.maxWidth,a;for(let l of n){let f=l.handle?.({},u=>u)?.parent;if(I(f)){let u=f.match(qf)?.[1];if(u){let d=(Fe(e)??[]).find(m=>m.size===u)?.point;s?d&&(a=s?.[d]):a=u,d&&!I(o)&&(i=o?.[d]??i)}}}let c={"max-width":a};return n.length||(c.width="100%"),r.containers?.center&&(c["margin-left"]="auto",c["margin-right"]="auto"),o&&(c["padding-left"]=i,c["padding-right"]=i),c},{internal:!0}]],ts=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let r=(Fe(e)??[]).map(o=>o.point);if(t){if(!r.includes(t))return;r=r.slice(r.indexOf(t))}let n=r.map(o=>`${o}:__container`);return t||n.unshift("__container"),n}]];var rs=[...ts];var ns={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(N.map(t=>[t,t]))},Vf=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":ns[t]??p.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(ns).join("|")})`,"(vertical|align|v)-<percentage>"]}]],os=["center","left","right","justify","start","end"],Hf=[...os.map(t=>[`text-${t}`,{"text-align":t}]),...[...N,...os].map(t=>[`text-align-${t}`,{"text-align":t}])],Wf=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r)return[`@keyframes ${t}${r}`,{animation:t}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r){let n=e.animation?.durations?.[t]??"1s",o=e.animation?.timingFns?.[t]??"linear",i=e.animation?.counts?.[t]??1,s=e.animation?.properties?.[t];return[`@keyframes ${t}${r}`,{animation:`${t} ${n} ${o} ${i}`,...s}]}return{animation:p.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>({"animation-name":p.bracket.cssvar(t)??t})],[/^animate-duration-(.+)$/,([,t],{theme:e})=>({"animation-duration":e.duration?.[t||"DEFAULT"]??p.bracket.cssvar.time(t)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>({"animation-delay":e.duration?.[t||"DEFAULT"]??p.bracket.cssvar.time(t)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>({"animation-timing-function":e.ease?.[t||"DEFAULT"]??p.bracket.cssvar(t)}),{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,t,e])=>["none","forwards","backwards","both",t?N:[]].includes(e)?{"animation-fill-mode":e}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,t,e])=>["normal","reverse","alternate","alternate-reverse",t?N:[]].includes(e)?{"animation-direction":e}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,t])=>({"animation-iteration-count":p.bracket.cssvar(t)??t.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,t,e])=>["paused","running",t?N:[]].includes(e)?{"animation-play-state":e}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...P("animate","animation")],ws={"gradient-position":y("--un-gradient-position"),"gradient-from":y("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":y("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":y("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":y("--un-gradient-stops"),"gradient-via-stops":y("--un-gradient-via-stops"),"gradient-from-position":y("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":y("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":y("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function is(t){let e="in oklab";if(t)if(t.startsWith("[")&&t.endsWith("]"))e=t.slice(1,-1);else switch(t){case"longer":case"shorter":case"increasing":case"decreasing":e=`in oklch ${t} hue`;break;default:e=`in ${t}`}return e}function Uf(){return function*([,t,e],{theme:r}){let n={},o=At(e,r);if(o){let{color:i,keys:s,alpha:a}=o;if(i){if(Object.values(Ct).includes(i))n[`--un-gradient-${t}`]=i;else{n[`--un-${t}-opacity`]=a;let c=s?T("colors",s):i;n[`--un-gradient-${t}`]=`color-mix(in oklab, ${c} var(--un-${t}-opacity), transparent)`,yield y(`--un-${t}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}s&&E("colors",s),r&&it(i,r)}}else n[`--un-gradient-${t}`]=p.bracket.cssvar(e);if(n[`--un-gradient-${t}`]){switch(t){case"from":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"via":yield{...n,"--un-gradient-via-stops":"var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-via) var(--un-gradient-via-position), var(--un-gradient-to) var(--un-gradient-to-position)","--un-gradient-stops":"var(--un-gradient-via-stops)"};break;case"to":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"stops":yield{...n};break}for(let i of Object.values(ws))yield i}}}function Gf(){return function*([,t,e]){yield{[`--un-gradient-${t}-position`]:`${p.bracket.cssvar.percent(e)}`};for(let r of Object.values(ws))yield r}}var Kf=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,t,e,r])=>{let n;if(p.number(e)!=null?n=`from ${p.number(e)}deg ${is(r)};`:n=p.bracket(e),n)return{"--un-gradient-position":n,"background-image":`${t}-gradient(var(--un-gradient-stops))`}},{autocomplete:["bg-(linear|radial|conic)","(from|to|via)-$colors","(from|to|via)-(op|opacity)","(from|to|via)-(op|opacity)-<percent>"]}],[/^(from|via|to|stops)-(.+)$/,Uf()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:p.bracket.percent(e)})],[/^(from|via|to)-([\d.]+%)$/,Gf()],[/^bg-((?:repeating-)?(?:linear|radial|conic))$/,([,t])=>({"background-image":`${t}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-(linear|radial|conic)(?:-to-([rltb]{1,2}))?(?:\/(.+))?$/,([,t,e,r])=>({"--un-gradient-position":`${e in Y?`to ${Y[e]} `:" "}${is(r)}`,"background-image":`${t}-gradient(var(--un-gradient-stops))`}),{autocomplete:`bg-gradient-to-(${Object.keys(Y).filter(t=>t.length<=2&&Array.from(t).every(e=>"rltb".includes(e))).join("|")})`}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...P("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],[/^bg-size-(.+)$/,([,t])=>({"background-size":p.bracket.cssvar(t)})],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...N.map(t=>[`bg-clip-${t}`,{"-webkit-background-clip":t,"background-clip":t}]),[/^bg-([-\w]{3,})$/,([,t])=>({"background-position":Y[t]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...P("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...P("bg-origin","background-origin")],ss=[[/^outline-(?:width-|size-)?(.+)$/,Ss,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Yf,{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,t])=>({"--un-outline-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,t])=>({"outline-offset":p.bracket.cssvar.global.px(t)}),{autocomplete:"outline-(offset)-<num>"}],["outline-offset-none",{"outline-offset":"0"}],["outline",[{"outline-style":"var(--un-outline-style)","outline-width":"1px"},y("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[V.parent]:"@media (forced-colors: active)",outline:"2px solid transparent","outline-offset":"2px"}]],["outline-none",{"--un-outline-style":"none","outline-style":"none"}],...["auto","dashed","dotted","double","solid","groove","ridge","inset","outset",...N].map(t=>[`outline-${t}`,{"--un-outline-style":t,"outline-style":t}])];function*Ss([,t]){let e=p.bracket.cssvar.global.px(t);e!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":e},yield y("--un-outline-style",{initialValue:"solid"}))}function*Yf(t,e){if(ot(p.bracket(t[1])))yield*Ss(t);else{let r=j("outline-color","outline")(t,e);if(r)for(let n of r)yield n}}var Xf=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Jf(t){let e=p.bracket(t);return e&&p.properties(e)?e:p.properties.auto.cssvar.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}var as=[[/^will-change-(.+)/,([,t])=>({"will-change":Jf(t)})]],On={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},Zf=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=On[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(On).join("|")})`,`list-(${Object.keys(On).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,t])=>{if(/^\[url\(.+\)\]$/.test(t))return{"list-style-image":p.bracket(t)}}],["list-image-none",{"list-style-image":"none"}],...P("list","list-style-type")],Qf=[[/^accent-(.+)$/,j("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":p.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],ep=[[/^caret-(.+)$/,j("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":p.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],tp=[["image-render-auto",{"image-rendering":"auto"}],["image-render-edge",{"image-rendering":"crisp-edges"}],["image-render-pixel",[["-ms-interpolation-mode","nearest-neighbor"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-pixelated"],["image-rendering","pixelated"]]]],rp=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...P("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...P("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...P("overscroll-y","overscroll-behavior-y")],np=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...P("scroll","scroll-behavior")],Be=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...N],op=[[/^(?:border|b)()(?:-(.+))?$/,fe,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,fe],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,fe],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,fe],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,fe],[/^(?:border|b)-()(?:width|size)-(.+)$/,fe,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,fe],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,fe],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,fe],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,fe],[/^(?:border|b)-()(?:color-)?(.+)$/,Ot,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Ot],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Ot],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Ot],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Ot],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Rt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Rt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Rt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Rt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Rt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Nt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Nt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Nt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Nt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Nt],[/^(?:border|b)-(?:style-)?()(.+)$/,zt,{autocomplete:["(border|b)-style",`(border|b)-(${Be.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${Be.join("|")})`,`(border|b)-<directions>-style-(${Be.join("|")})`,`(border|b)-style-(${Be.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,zt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,zt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,zt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,zt]];function ip(t){return([,e],r)=>{let n=At(e,r.theme),o=An(n,`border${t}-color`,`border${t}`,r);if(o){let i=o[0];return n?.color&&!Object.values(Ct).includes(n.color)&&!n.alpha&&t&&t!==""&&(i[`--un-border${t}-opacity`]="var(--un-border-opacity)"),o}}}function fe([,t="",e="1"]){let r=p.bracket.cssvar.global.px(e);if(t in J&&r!=null)return J[t].map(n=>[`border${n}-width`,r])}function Ot([,t="",e],r){if(t in J){if(ot(p.bracket(e)))return fe(["",t,e]);if(De(e,r.theme)){let n=J[t].map(o=>ip(o)(["",e],r)).filter(wt);return[n.map(o=>o[0]).reduce((o,i)=>(Object.assign(o,i),o),{}),...n.flatMap(o=>o.slice(1))]}}}function Rt([,t="",e]){let r=p.bracket.percent.cssvar(e);if(t in J&&r!=null)return J[t].map(n=>[`--un-border${n}-opacity`,r])}function Nt([,t="",e="DEFAULT"],{theme:r}){if(t in Et){if(e==="full")return Et[t].map(o=>[`border${o}-radius`,"calc(infinity * 1px)"]);let n=r.radius?.[e]??p.bracket.cssvar.global.fraction.rem(e);if(n!=null){let o=r.radius&&e in r.radius;return o&&E("radius",e),Et[t].map(i=>[`border${i}-radius`,o?T("radius",e):n])}}}function zt([,t="",e]){if(Be.includes(e)&&t in J)return[["--un-border-style",e],...J[t].map(r=>[`border${r}-style`,e])]}var sp=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:p.bracket.percent.cssvar(t)})]],ap=/^\[url\(.+\)\]$/,lp=/^\[(?:length|size):.+\]$/,cp=/^\[position:.+\]$/,up=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,fp=/^\[image:.+\]$/,pp=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(ap.test(e))return{"--un-url":p.bracket(e),"background-image":"var(--un-url)"};if(lp.test(e)&&p.bracketOfLength(e)!=null)return{"background-size":p.bracketOfLength(e).split(" ").map(r=>p.fraction.auto.px.cssvar(r)??r).join(" ")};if((Wi(e)||cp.test(e))&&p.bracketOfPosition(e)!=null)return{"background-position":p.bracketOfPosition(e).split(" ").map(r=>p.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(up.test(e)||fp.test(e)){let r=p.bracket(e);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:p.cssvar(r))??r}}return j("background-color","bg")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],hp=[[/^(?:color-)?scheme-(.+)$/,([,t])=>({"color-scheme":t.split("-").join(" ")})]],dp=[[/^columns-(.+)$/,([,t])=>({columns:p.bracket.global.number.auto.numberWithUnit(t)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...P("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...P("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...P("break-after")],ls=["solid","double","dotted","dashed","wavy",...N],mp=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,_s,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,gp,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,t])=>({"text-underline-offset":p.auto.bracket.cssvar.global.px(t)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...ls.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...ls.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function _s([,t]){return{"text-decoration-thickness":p.bracket.cssvar.global.px(t)}}function gp(t,e){if(ot(p.bracket(t[1])))return _s(t);let r=j("text-decoration-color","line")(t,e);if(r){let n=r[0];return n["-webkit-text-decoration-color"]=n["text-decoration-color"],r}}var bp=[[/^pa?()-?(.+)$/,z("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,z("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,z("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,z("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,z("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,z("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],vp=[[/^ma?()-?(.+)$/,z("margin")],[/^m-?xy()()$/,z("margin")],[/^m-?([xy])(?:-?(.+))?$/,z("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,z("margin")],[/^m-(block|inline)(?:-(.+))?$/,z("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,z("margin")]],yp=[[/^space-([xy])-(.+)$/,kp,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([,t],{symbols:e}){yield{[e.selector]:qe,[`--un-space-${t}-reverse`]:"1"},yield y(`--un-space-${t}-reverse`,{initialValue:0})}]];function qe(t){let e=">:not(:last-child)";return t.includes(e)?t:`${t}${e}`}function*kp([,t,e],{theme:r,symbols:n}){let o,i=Z(e);if(i!=null?(E("spacing"),o=`calc(var(--spacing) * ${i})`):o=r.spacing?.[e]??p.bracket.cssvar.auto.fraction.rem(e||"1"),o!=null){let s=J[t==="x"?"inline":"block"].map((a,c)=>{let l=`margin${a}`,f=` calc(${o} * ${c===0?`var(--un-space-${t}-reverse)`:`calc(1 - var(--un-space-${t}-reverse))`})`;return[l,f]});s&&(yield{[n.selector]:qe,[`--un-space-${t}-reverse`]:"0",...Object.fromEntries(s)},yield y(`--un-space-${t}-reverse`,{initialValue:0}))}}var xp=[[/^divide-(.+)$/,function*(t,e){let r=j("border-color","divide")(t,e);r&&(yield{[e.symbols.selector]:qe,...r[0]},yield r[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([,t],{symbols:e}){yield{[e.selector]:qe,"--un-divide-opacity":p.bracket.percent(t)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,cs,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,cs],[/^divide-?([xy])-reverse$/,function*([,t],{symbols:e}){yield{[e.selector]:qe,[`--un-divide-${t}-reverse`]:"1"},yield y(`--un-divide-${t}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${Be.join("|")})$`),function*([,t],{symbols:e}){yield{[e.selector]:qe,"border-style":t}},{autocomplete:Be.map(t=>`divide-${t}`)}]];function*cs([,t,e],{symbols:r}){let n=p.bracket.cssvar.px(e||"1");if(n!=null){n==="0"&&(n="0px");let i={x:["-left","-right"],y:["-top","-bottom"]}[t].map(s=>{let a=s.endsWith("left")||s.endsWith("top")?`calc(${n} * var(--un-divide-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${t}-reverse)))`;return[[`border${s}-width`,a],[`border${s}-style`,"var(--un-border-style)"]]});i&&(yield{[r.selector]:qe,[`--un-divide-${t}-reverse`]:0,...Object.fromEntries(i.flat())},yield y(`--un-divide-${t}-reverse`,{initialValue:0}),yield y("--un-border-style",{initialValue:"solid"}))}}var $s=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],Dn=$s.map(t=>y(`--un-${t}`)),gr=$s.map(t=>`var(--un-${t},)`).join(" "),Cs=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],wp=Cs.map(t=>y(`--un-${t}`)),br=Cs.map(t=>`var(--un-${t},)`).join(" ");function Rn(t){let e=p.bracket.cssvar(t||"");if(e!=null||(e=t?p.percent(t):"100%",e!=null&&Number.parseFloat(e.slice(0,-1))<=100))return e}function ve(t,e){return([,r,n],{theme:o})=>{let i=e(n,o)??(n==="none"?"0":"");if(i!=="")return r?[{[`--un-${r}${t}`]:`${t}(${i})`,"-webkit-backdrop-filter":br,"backdrop-filter":br},...wp]:[{[`--un-${t}`]:`${t}(${i})`,filter:gr},...Dn]}}function Sp([,t],{theme:e}){let r=e.dropShadow?.[t||"DEFAULT"];if(r!=null)return[{"--un-drop-shadow":`drop-shadow(${fr(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:gr},...Dn];if(r=p.bracket.cssvar(t)??(t==="none"?"":void 0),r!=null)return[{"--un-drop-shadow":r&&`drop-shadow(${r})`,filter:gr},...Dn]}var _p=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,ve("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||p.bracket.cssvar.px(t)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,ve("brightness",t=>p.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,ve("contrast",t=>p.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Sp,{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow-color-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,j("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":p.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,ve("grayscale",Rn),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,ve("hue-rotate",t=>p.bracket.cssvar.degree(t))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,ve("invert",Rn),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,ve("opacity",t=>p.bracket.cssvar.percent(t)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,ve("saturate",t=>p.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,ve("sepia",Rn),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:gr}],["backdrop-filter",{"-webkit-backdrop-filter":br,"backdrop-filter":br}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...N.map(t=>[`filter-${t}`,{filter:t}]),...N.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])],$p=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:p.bracket(t)!=null?p.bracket(t).split(" ").map(e=>p.cssvar.fraction(e)??e).join(" "):p.cssvar.fraction(t)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,t=""])=>({"flex-shrink":p.bracket.cssvar.number(t)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,t=""])=>({"flex-grow":p.bracket.cssvar.number(t)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,t])=>{let e=Z(t);return e!=null?(E("spacing"),{"flex-basis":`calc(var(--spacing) * ${e})`}):{"flex-basis":p.bracket.cssvar.auto.fraction.rem(t)}},{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],us={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function Nn([,t="",e]){let r=Z(e);return r!=null?(E("spacing"),{[`${us[t]}gap`]:`calc(var(--spacing) * ${r})`}):{[`${us[t]}gap`]:p.bracket.cssvar.global.rem(e)}}var Cp=[[/^(?:flex-|grid-)?gap-?()(.+)$/,Nn,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,Nn,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,Nn,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function me(t){return t.replace("col","column")}function Ep(t){switch(t){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return p.bracket.cssvar.auto.rem(t)}var Pp=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e])=>({[`grid-${me(t)}`]:p.bracket.number.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${me(t)}`]:"1/-1"};let r=p.bracket.number.cssvar(e);if(r!=null)return{[`grid-${me(t)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>({[`grid-${me(t)}-start`]:p.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${me(t)}-end`]:p.bracket.cssvar(e)??e}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e])=>({[`grid-auto-${me(t)}`]:Ep(e)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":p.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,t])=>({"grid-auto-flow":me(t).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,t,e])=>({[`grid-template-${me(t)}`]:p.bracket.cssvar(e)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${me(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${me(t)}`]:`repeat(${e},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,t,e])=>t!=null?{"grid-template-areas":p.cssvar(e)??e.split("-").map(r=>`"${p.bracket(r)}"`).join(" ")}:{"grid-area":p.bracket.cssvar(e)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],hr=["auto","hidden","clip","visible","scroll","overlay",...N],Ap=[[/^(?:overflow|of)-(.+)$/,([,t])=>hr.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${hr.join("|")})`,`(overflow|of)-(x|y)-(${hr.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>hr.includes(e)?{[`overflow-${t}`]:e}:void 0]],Lp=[[/^line-clamp-(\d+)$/,([,t])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t}),{autocomplete:["line-clamp","line-clamp-(1|2|3|4|5|6|none)"]}],["line-clamp-none",{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"}]],Fn={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},fs="linear-gradient(#fff, #fff)",Mp={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function ps([,t=""]){if(t in Et)return{"mask-position":t.split("").flatMap(n=>Fn[n]).join(" ")};let e=p.bracket.cssvar.global.position(t);if(e!==null)return{"mask-position":e}}function zn([t,e="",r,n],o){let i={...Mp},s=[];if(s.push(...["linear","radial","conic"].map(a=>y(`--un-mask-${a}`,{initialValue:fs}))),e in Fn){i["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(let a of Fn[e]){if(i[`--un-mask-${a}`]=`linear-gradient(to ${a}, var(--un-mask-${a}-from-color) var(--un-mask-${a}-from-position), var(--un-mask-${a}-to-color) var(--un-mask-${a}-to-position))`,Z(n)!=null?(E("spacing"),i[`--un-mask-${a}-${r}-position`]=`calc(var(--spacing) * ${p.bracket.cssvar.fraction.number(n)})`):i[`--un-mask-${a}-${r}-position`]=p.bracket.cssvar.fraction.rem(n),De(n,o.theme)){let c=j(`--un-mask-${a}-${r}-color`,pr("colors"))([t,n],o);if(c){let[l,...f]=c;Object.assign(i,l),s.push(...f)}}s.push(...["from","to"].flatMap(c=>[y(`--un-mask-${a}-${c}-position`,{syntax:"<length-percentage>",initialValue:c==="from"?"0%":"100%"}),y(`--un-mask-${a}-${c}-color`,{syntax:"<color>",initialValue:c==="from"?"black":"transparent"})]))}s.push(...["top","right","bottom","left"].map(a=>y(`--un-mask-${a}`,{initialValue:fs})))}else{if(r==null)e==="radial"?(i["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",i["--un-mask-radial-size"]=p.bracket.cssvar.rem(n)):(i[`--un-mask-${e}`]=`${e}-gradient(var(--un-mask-${e}-stops, var(--un-mask-${e}-position)))`,i[`--un-mask-${e}-position`]=Z(n)?`calc(1deg * ${p.bracket.cssvar.number(n)})`:p.bracket.cssvar.fraction(n));else{let a={linear:"",radial:"var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",conic:"from "};if(i[`--un-mask-${e}-stops`]=`${a[e]}var(--un-mask-${e}-position), var(--un-mask-${e}-from-color) var(--un-mask-${e}-from-position), var(--un-mask-${e}-to-color) var(--un-mask-${e}-to-position)`,i[`--un-mask-${e}`]=`${e}-gradient(var(--un-mask-${e}-stops))`,De(n,o.theme)){let c=j(`--un-mask-${e}-${r}-color`,pr("colors"))([t,n],o);if(c){let[l,...f]=c;Object.assign(i,l),s.push(...f)}}else Z(n)!=null?(E("spacing"),i[`--un-mask-${e}-${r}-position`]=`calc(var(--spacing) * ${p.bracket.cssvar.fraction.number(n)})`):i[`--un-mask-${e}-${r}-position`]=p.bracket.cssvar.fraction.rem(n)}e==="radial"&&s.push(y("--un-mask-radial-shape",{initialValue:"ellipse"}),y("--un-mask-radial-size",{initialValue:"farthest-corner"})),s.push(...["from","to"].flatMap(a=>[y(`--un-mask-${e}-position`,{initialValue:e==="radial"?"center":"0deg"}),y(`--un-mask-${e}-${a}-position`,{syntax:"<length-percentage>",initialValue:a==="from"?"0%":"100%"}),y(`--un-mask-${e}-${a}-color`,{syntax:"<color>",initialValue:a==="from"?"black":"transparent"})]))}return[i,...s]}function Op([,t=""]){let e=p.bracket.cssvar.global.fraction.rem(t);if(e!==null)return{"mask-size":e}}var Rp=[["mask-clip-border",{"mask-clip":"border-box"}],["mask-clip-padding",{"mask-clip":"padding-box"}],["mask-clip-content",{"mask-clip":"content-box"}],["mask-clip-fill",{"mask-clip":"fill-box"}],["mask-clip-stroke",{"mask-clip":"stroke-box"}],["mask-clip-view",{"mask-clip":"view-box"}],["mask-no-clip",{"mask-clip":"no-clip"}],["mask-add",{"mask-composite":"add"}],["mask-subtract",{"mask-composite":"subtract"}],["mask-intersect",{"mask-composite":"intersect"}],["mask-exclude",{"mask-composite":"exclude"}],[/^mask-(.+)$/,([,t])=>({"mask-image":p.bracket.cssvar(t)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,zn,{autocomplete:["mask-(linear|radial|conic)-(from|to)-$colors","mask-(linear|radial|conic)-(from|to)-<percentage>","mask-(linear|radial|conic)-(from|to)","mask-(linear|radial|conic)-<percent>","mask-(x|y|t|b|l|r)-(from|to)-$colors","mask-(x|y|t|b|l|r)-(from|to)-<percentage>","mask-(x|y|t|b|l|r)-(from|to)","mask-(x|y|t|b|l|r)-<percent>"]}],[/^mask-(linear|radial|conic)-(from|to)?-?(.*)$/,zn],[/^mask-([trblxy])-(from|to)-(.*)$/,zn],["mask-none",{"mask-image":"none"}],["mask-radial-circle",{"--un-mask-radial-shape":"circle"}],["mask-radial-ellipse",{"--un-mask-radial-shape":"ellipse"}],["mask-radial-closest-side",{"--un-mask-radial-size":"closest-side"}],["mask-radial-closest-corner",{"--un-mask-radial-size":"closest-corner"}],["mask-radial-farthest-side",{"--un-mask-radial-size":"farthest-side"}],["mask-radial-farthest-corner",{"--un-mask-radial-size":"farthest-corner"}],[/^mask-radial-at-([-\w]{3,})$/,([,t])=>({"--un-mask-radial-position":Y[t]}),{autocomplete:[`mask-radial-at-(${Object.keys(Y).filter(t=>t.length>2).join("|")})`]}],["mask-alpha",{"mask-mode":"alpha"}],["mask-luminance",{"mask-mode":"luminance"}],["mask-match",{"mask-mode":"match-source"}],["mask-origin-border",{"mask-origin":"border-box"}],["mask-origin-padding",{"mask-origin":"padding-box"}],["mask-origin-content",{"mask-origin":"content-box"}],["mask-origin-fill",{"mask-origin":"fill-box"}],["mask-origin-stroke",{"mask-origin":"stroke-box"}],["mask-origin-view",{"mask-origin":"view-box"}],[/^mask-([rltb]{1,2})$/,ps],[/^mask-([-\w]{3,})$/,([,t])=>({"mask-position":Y[t]})],[/^mask-(?:position-|pos-)(.+)$/,ps],["mask-repeat",{"mask-repeat":"repeat"}],["mask-no-repeat",{"mask-repeat":"no-repeat"}],["mask-repeat-x",{"mask-repeat":"repeat-x"}],["mask-repeat-y",{"mask-repeat":"repeat-y"}],["mask-repeat-space",{"mask-repeat":"space"}],["mask-repeat-round",{"mask-repeat":"round"}],["mask-auto",{"mask-size":"auto"}],["mask-cover",{"mask-size":"cover"}],["mask-contain",{"mask-size":"contain"}],[/^mask-size-(.+)$/,Op],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],Np=[[/^\$ placeholder-(.+)$/,j("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":p.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],zp=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>N.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],Es=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...P("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...P("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...P("justify-self")],Ip=[[/^order-(.+)$/,([,t])=>({order:p.bracket.cssvar.number(t)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],Ps=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...P("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...P("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...P("self","align-self")],As=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...P("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...P("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...P("place-self")],jp=[...Es,...Ps,...As].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function Bn(t){let e=Z(t);return e!=null?(E("spacing"),`calc(var(--spacing) * ${e})`):p.bracket.cssvar.global.auto.fraction.rem(t)}function It([,t,e]){let r=Bn(e);if(r!=null&&t in Cn)return Cn[t].map(n=>[n.slice(1),r])}var Tp=[[/^(?:position-|pos-)?inset-(.+)$/,([,t])=>({inset:Bn(t)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,It],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,It],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,It],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,It],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,It],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e])=>({[t]:Bn(e)})]],Dp=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...P("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...P("clear")],Fp=[[/^(?:position-|pos-)?z([\d.]+)$/,([,t])=>({"z-index":p.number(t)})],[/^(?:position-|pos-)?z-(.+)$/,([,t])=>({"z-index":p.bracket.cssvar.global.auto.number(t)}),{autocomplete:"z-<num>"}]],Bp=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...P("box","box-sizing")],qp=[[/^(where|\?)$/,(t,{constructCSS:e,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${e({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],qn={shadow:y("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:y("--un-shadow-color"),insetShadow:y("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:y("--un-inset-shadow-color"),ringColor:y("--un-ring-color"),ringShadow:y("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:y("--un-inset-ring-color"),insetRingShadow:y("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:y("--un-ring-inset"),ringOffsetWidth:y("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:y("--un-ring-offset-color"),ringOffsetShadow:y("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},Vp=[[/^shadow(?:-(.+))?$/,hs("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],[/^inset-shadow(?:-(.+))?$/,hs("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-inset-shadow-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}]];function hs(t){return(e,r)=>{let[,n]=e,{theme:o}=r,i=o[t]?.[n||"DEFAULT"],s=n?p.bracket.cssvar(n):void 0,a=pr(t);return(i!=null||s!=null)&&!De(s,o)?[{[`--un-${a}`]:fr(i||s,`--un-${a}-color`).join(","),"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(qn)]:j(`--un-${a}-color`,a)(e,r)}}var Hp=[[/^ring(?:-(.+))?$/,([,t])=>{let e=p.bracket.px(t||"1");if(e!=null)return[{"--un-ring-shadow":`var(--un-ring-inset,) 0 0 0 calc(${e} + var(--un-ring-offset-width)) var(--un-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(qn)]}],[/^ring-(.+)$/,j("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,t])=>{let e=p.bracket.px(t||"1");if(e!=null)return[{"--un-inset-ring-shadow":`inset 0 0 0 ${e} var(--un-inset-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(qn)]}],[/^inset-ring-(.+)$/,j("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-inset-ring-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,t])=>{let e=p.bracket.cssvar.px(t||"1");if(e!=null)return{"--un-ring-offset-width":e,"--un-ring-offset-shadow":"var(--un-ring-inset,) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)"}},{autocomplete:"ring-offset-$colors"}],[/^ring-offset-(.+)$/,j("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],Wp=[...["x","y","both"].map(t=>[`snap-${t}`,[{"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`},y("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(t=>[`snap-${t}`,[{"--un-scroll-snap-strictness":t},y("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(.+)$/,z("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(.+)$/,z("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,z("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,z("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,z("scroll-margin")],[/^scroll-pa?()-?(.+)$/,z("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,z("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,z("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,z("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,z("scroll-padding")]],Up={h:"height",w:"width",inline:"inline-size",block:"block-size"};function lt(t,e){return`${t||""}${Up[e]}`}function dr(t,e,r){let n,o=["container","spacing"];for(let i of o)if(t[i]?.[r]){E(i,r),n=T(i,r);break}if(!n)switch(r){case"fit":case"max":case"min":n=`${r}-content`;break;case"screen":n=e==="w"?"100vw":"100vh";break}return!n&&p.number(r)!=null&&(E("spacing"),n=`calc(var(--spacing) * ${p.number(r)})`),n??p.bracket.cssvar.global.auto.none.fraction.rem(r)}var Gp=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[lt(t,"w")]:dr(r,"w",e),[lt(t,"h")]:dr(r,"h",e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[lt(t,e)]:dr(n,e,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[lt(t,e)]:dr(n,e,r)}),{autocomplete:["(w|h)-<num>","(w|h)-(full|screen|fit|max|min)","(max|min)-(w|h)-<num>","(max|min)-(w|h)-(full|screen|fit|max|min)","(block|inline)-<num>","(block|inline)-(full|screen|fit|max|min)","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-<num>","(max|min)-(w|h|block|inline)-(full|screen|fit|max|min)"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,t,e,r],n)=>({[lt(t,e)]:ds(n,r,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[lt(t,e)]:ds(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$breakpoint","(min|max)-h-screen-$breakpoint","w-screen-$breakpoint","(min|max)-w-screen-$breakpoint"]}]];function ds(t,e,r="breakpoint"){let n=Fe(t,r);if(n)return n.find(o=>o.point===e)?.size}function Kp(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return p.bracket.cssvar.global.auto.number(t)}var Yp=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":Kp(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],Xp=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],In=["size","layout","paint","style"],Jp=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,t])=>({display:p.bracket.cssvar.global(t)})]],Zp=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...P("backface","backface-visibility")],Qp=[[/^cursor-(.+)$/,([,t])=>({cursor:p.bracket.cssvar.global(t)})],...Xp.map(t=>[`cursor-${t}`,{cursor:t}])],eh=[[/^contain-(.*)$/,([,t])=>p.bracket(t)!=null?{contain:p.bracket(t).split(" ").map(e=>p.cssvar.fraction(e)??e).join(" ")}:In.includes(t)?[{"--un-contain-size":t,contain:In.map(e=>`var(--un-contain-${e})`).join(" ")},...In.map(e=>y(`--un-contain-${e}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],th=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...P("pointer-events")],rh=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...P("resize")],nh=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...P("select","user-select")],oh=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...N].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],ih=[[/^intrinsic-size-(.+)$/,([,t])=>({"contain-intrinsic-size":p.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...P("content-visibility")],sh=[[/^content-(.+)$/,([,t])=>{if(p.bracket.cssvar(t)!=null)return[{"--un-content":p.bracket.cssvar(t),content:"var(--un-content)"},y("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],ah=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}],["wrap-break-word",{"overflow-wrap":"break-word"}],["wrap-anywhere",{"overflow-wrap":"anywhere"}],["wrap-normal",{"overflow-wrap":"normal"}]],lh=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],ch=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],uh=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}],...P("case","text-transform")],fh=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],ph=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],hh=[...["manual","auto","none",...N].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],dh=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...P("write","writing-mode")],mh=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...P("write-orient","text-orientation")],gh=[["sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":0}],["not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"}]],bh=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],vh=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,t])=>{if(Y[t])return{"object-position":Y[t]};if(p.bracketOfPosition(t)!=null)return{"object-position":p.bracketOfPosition(t).split(" ").map(e=>p.position.fraction.auto.px.cssvar(e)??e).join(" ")}},{autocomplete:`object-(${Object.keys(Y).join("|")})`}]],yh=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...P("bg-blend","background-blend")],kh=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...P("mix-blend")],xh=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],wh=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],Sh=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],_h=[[/^fill-(.+)$/,j("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Ls],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":p.bracket.cssvar.number(t)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,t])=>({"stroke-dashoffset":p.bracket.cssvar.px.numberWithUnit(t)})],[/^stroke-(.+)$/,$h,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function Ls([,t]){return{"stroke-width":p.bracket.cssvar.fraction.px.number(t)}}function $h(t,e){return ot(p.bracket(t[1]))?Ls(t):j("stroke","stroke")(t,e)}var Ch=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,function*([,t],{theme:e}){let r=ms(t,e);if(r!=null){yield{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(let n of["x","y"])yield y(`--un-border-spacing-${n}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,t,e],{theme:r}){let n=ms(e,r);if(n!=null){yield{[`--un-border-spacing-${t}`]:n,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(let o of["x","y"])yield y(`--un-border-spacing-${o}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];function ms(t,e){let r=e.spacing?.[t];if(!r){let n=Z(t);n!=null?(E("spacing"),r=`calc(var(--spacing) * ${n})`):r=p.bracket.cssvar.global.auto.fraction.rem(t)}return r}var jn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Tn=["pan-x","pan-y","pinch-zoom"].map(t=>y(`--un-${t}`)),Eh=[[/^touch-pan-(x|left|right)$/,function*([,t]){yield{"--un-pan-x":`pan-${t}`,"touch-action":jn};for(let e of Tn)yield e},{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,function*([,t]){yield{"--un-pan-y":`pan-${t}`,"touch-action":jn};for(let e of Tn)yield e}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":jn};for(let t of Tn)yield t}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...P("touch","touch-action")],mr=["translate","rotate","scale"],Vn=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),Hn=Vn,Ph=["translateZ(0)",Vn].join(" ");var Ah=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":Y[t]??p.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(Y).join("|")})`,`origin-(${Object.keys(Y).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,t],{theme:e})=>{let r;if(e.perspective?.[t]?(E("perspective",t),r=T("perspective",t)):r=p.bracket.cssvar.px.numberWithUnit(t),r!=null)return{perspective:r}},{autocomplete:["transform-perspective-<num>","perspective-<num>","perspective-$perspective"]}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,t])=>{let e=p.bracket.cssvar(t)??(t.length>=3?Y[t]:void 0);if(e!=null)return{"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,gs],[/^(?:transform-)?translate-([xyz])-(.+)$/,gs],[/^(?:transform-)?rotate-()(.+)$/,vs],[/^(?:transform-)?rotate-([xyz])-(.+)$/,vs],[/^(?:transform-)?skew-()(.+)$/,ys],[/^(?:transform-)?skew-([xy])-(.+)$/,ys,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,bs],[/^(?:transform-)?scale-([xyz])-(.+)$/,bs,{autocomplete:[`transform-(${mr.join("|")})-<percent>`,`transform-(${mr.join("|")})-(x|y|z)-<percent>`,`(${mr.join("|")})-<percent>`,`(${mr.join("|")})-(x|y|z)-<percent>`]}],["transform-3d",{"transform-style":"preserve-3d"}],["transform-flat",{"transform-style":"flat"}],[/^transform-(border|content|fill|stroke|view)$/,([,t])=>({"transform-box":`${t}-box`})],["transform",{transform:Hn}],["transform-cpu",{transform:Vn}],["transform-gpu",{transform:Ph}],["transform-none",{transform:"none"}],...P("transform")];function gs([,t,e]){let r=Z(e)??p.bracket.cssvar.none.fraction.rem(e);if(r!=null)return r==="none"?{translate:"none"}:(E("spacing"),[[...Wn(t,typeof r=="number"?`calc(var(--spacing) * ${r})`:r,"translate"),["translate",`var(--un-translate-x) var(--un-translate-y)${t==="z"?" var(--un-translate-z)":""}`,$t]],...["x","y","z"].map(n=>y(`--un-translate-${n}`,{initialValue:0}))])}function bs([,t,e]){let r=p.bracket.cssvar.none.fraction.percent(e);if(r!=null)return r==="none"?{scale:"none"}:[[...Wn(t,r,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${t==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(n=>y(`--un-scale-${n}`,{initialValue:1}))]}function vs([,t="",e]){let r=p.bracket.cssvar.none.degree(e);if(r!=null)return r==="none"?{rotate:"none"}:t?[[...Wn(t,r.endsWith("deg")?`rotate${t.toUpperCase()}(${r})`:r,"rotate"),["transform",Hn]],...["x","y","z"].map(n=>y(`--un-rotate-${n}`,{initialValue:`rotate${n.toUpperCase()}(0)`})),...["x","y"].map(n=>y(`--un-skew-${n}`,{initialValue:`skew${n.toUpperCase()}(0)`}))]:{rotate:p.bracket.cssvar.degree(e)}}function ys([,t,e]){let r=p.bracket.cssvar.degree(e),n=En[t];if(r!=null&&n)return[[...n.map(o=>[`--un-skew${o}`,r.endsWith("deg")?`skew${o.slice(1).toUpperCase()}(${r})`:r]),["transform",Hn]],...["x","y","z"].map(o=>y(`--un-rotate-${o}`,{initialValue:`rotate${o.toUpperCase()}(0)`})),...["x","y"].map(o=>y(`--un-skew-${o}`,{initialValue:`skew${o.toUpperCase()}(0)`}))]}function Wn(t,e,r){let n=e.split(Vi);return t||!t&&n.length===1?En[t].map(o=>[`--un-${r}${o}`,e]):n.map((o,i)=>[`--un-${r}-${Fi[i]}`,o])}function ks(t,e){let r;if(p.cssvar(t)!=null)r=p.cssvar(t);else{t.startsWith("[")&&t.endsWith("]")&&(t=t.slice(1,-1));let n=t.split(",").map(o=>e.property?.[o]??p.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var Lh=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,t,e],{theme:r})=>{E("default",["transition","timingFunction"]),E("default",["transition","duration"]);let n={"transition-property":r.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${T("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${T("default",["transition","duration"])})`};if(!t&&!e)return{...n};if(t!=null){let o=ks(t,r);if(o)return{"--un-duration":e&&p.time(e),...n,"transition-property":o}}else if(e!=null)return{"--un-duration":p.time(e),...n}}],[/^(?:transition-)?duration-(.+)$/,([,t])=>({"--un-duration":p.bracket.cssvar.time(t),"transition-duration":p.bracket.cssvar.time(t)})],[/^(?:transition-)?delay-(.+)$/,([,t])=>({"transition-delay":p.bracket.cssvar.time(t)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>{let r;return e.ease?.[t]?(E("ease",t),r=T("ease",t)):r=p.bracket.cssvar(t),[{"--un-ease":r,"transition-timing-function":r},y("--un-ease")]},{autocomplete:["transition-ease-(linear|in|out|in-out)","ease-(linear|in|out|in-out)"]}],[/^(?:transition-)?property-(.+)$/,([,t],{theme:e})=>{let r=p.global(t)||ks(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...N].join("|")})`]}],["transition-none",{transition:"none"}],...P("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Mh=[[/^text-(.+)$/,jh,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,Ms,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,Th,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,j("color","text")],[/^(?:text|color|c)-(.+)$/,([,t])=>N.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${N.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,t],{theme:e})=>{let r;return e.fontWeight?.[t]?(E("fontWeight",t),r=T("fontWeight",t)):r=p.bracket.cssvar.global.number(t),{"--un-font-weight":r,"font-weight":r}},{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,t],{theme:e})=>{let r;if(e.leading?.[t]?(E("leading",t),r=T("leading",t)):Z(t)?(E("spacing"),r=`calc(var(--spacing) * ${Z(t)})`):r=p.bracket.cssvar.global.rem(t),r!=null)return[{"--un-leading":r,"line-height":r},y("--un-leading")]},{autocomplete:"(leading|lh|line-height)-$leading"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,t])=>({"font-synthesis":p.bracket.cssvar.global(t)})],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>{let r;return e.tracking?.[t]?(E("tracking",t),r=T("tracking",t)):r=p.bracket.cssvar.global.rem(t),{"--un-tracking":r,"letter-spacing":r}},{autocomplete:"tracking-$tracking"}],[/^(?:font-)?word-spacing-(.+)$/,([,t],{theme:e})=>{let r=e.tracking?.[t]?T("tracking",t):p.bracket.cssvar.global.rem(t);return{"--un-word-spacing":r,"word-spacing":r}},{autocomplete:"word-spacing-$spacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,t])=>({"font-stretch":p.bracket.cssvar.fraction.global(t)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,t],{theme:e})=>{let r;if(e.font?.[t])return E("font",t),r=T("font",t),{"font-family":r};if(e.fontWeight?.[t])return E("fontWeight",t),r=T("fontWeight",t),{"--un-font-weight":r,"font-weight":r};if(r=p.number(t),r!=null)return{"--un-font-weight":r,"font-weight":r};if(r=p.bracketOfFamily(t),r!=null&&p.number(r)==null)return r=p.cssvar(r)??r,{"font-family":r};if(r=p.bracketOfNumber(t),r!=null)return r=p.cssvar.number(r),{"--un-font-weight":r,"font-weight":r};if(r=p.bracket(t),r!=null&&p.number(r)!=null){let n=p.number(r);return{"--un-font-weight":n,"font-weight":n}}if(r=p.bracket.cssvar.global(t),r!=null)return{"font-family":r}},{autocomplete:["font-$font","font-$fontWeight"]}]],Oh=[[/^tab(?:-(.+))?$/,([,t])=>{let e=p.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],Rh=[[/^indent-(.+)$/,([,t])=>{let e=Z(t);if(e!=null)return E("spacing"),{"text-indent":`calc(var(--spacing) * ${e})`};if(e=p.bracket.cssvar.auto.global.rem(t),e!=null)return{"text-indent":e}}]],Nh=[[/^text-stroke(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>(e.textStrokeWidth?.[t]&&E("textStrokeWidth",t),{"-webkit-text-stroke-width":e.textStrokeWidth?.[t]?T("textStrokeWidth",t):p.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,j("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],xs=/op(?:acity)?-/,zh=[[/^text-shadow(?:-(.+))?$/,(t,e)=>{let[r,n="DEFAULT"]=t,o=e.theme.textShadow?.[n];return o!=null?{"--un-text-shadow":fr(o,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:xs.test(n)?{"--un-text-shadow-opacity":p.bracket.percent.cssvar(n.replace(xs,""))}:j("--un-text-shadow-color","text-shadow")(t,e)??{"text-shadow":p.bracket.cssvar.global(n)}},{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,j("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]],Ee=[y("--un-ordinal"),y("--un-slashed-zero"),y("--un-numeric-figure"),y("--un-numeric-spacing"),y("--un-numeric-fraction")],Pe={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},Ih=[["ordinal",[{"--un-ordinal":"ordinal",...Pe},...Ee]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...Pe},...Ee]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...Pe},...Ee]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...Pe},...Ee]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...Pe},...Ee]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...Pe},...Ee]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...Pe},...Ee]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...Pe},...Ee]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function jh([,t="base"],{theme:e}){let r=Dh(t,"length");if(!r)return;let[n,o]=r,i=e.text?.[n],s;if(o&&(e.leading?.[o]?(E("leading",o),s=T("leading",o)):s=p.bracket.cssvar.global.rem(o)),i)return E("text",[n,"fontSize"]),E("text",[n,"lineHeight"]),i.letterSpacing&&E("text",[n,"letterSpacing"]),{"font-size":T("text",[n,"fontSize"]),"line-height":s??`var(--un-leading, ${T("text",[n,"lineHeight"])})`,"letter-spacing":i.letterSpacing?T("text",[n,"letterSpacing"]):void 0};let a=p.bracketOfLength.rem(n);return s&&a?{"font-size":a,"line-height":s}:{"font-size":p.bracketOfLength.rem(t)}}function Ms([,t],{theme:e}){if(e.text?.[t]!=null)return E("text",[t,"fontSize"]),E("text",[t,"lineHeight"]),{"font-size":T("text",[t,"fontSize"]),"line-height":`var(--un-leading, ${T("text",[t,"lineHeight"])})`};{let r=p.bracket.cssvar.global.rem(t);if(r)return{"font-size":r}}}function Th(t,e){return ot(p.bracket(t[1]))?Ms(t,e):j("color","text")(t,e)}function Dh(t,e){let[r,n]=Ne(t,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(ur)??[])[1];if(o==null||o===e)return[r,n]}}var Fh={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space","bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-image":"background-image","bg-origin":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","mix-blend":"mix-blend-mode",object:"object-fit","object-position":"object-position",write:"writing-mode","write-orient":"text-orientation"},Bh=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=Fh[t];if(r)return{[r]:p.cssvar(e)}}]],qh=[[/^\[(.*)\]$/,([t,e])=>{if(!e.includes(":"))return;let[r,...n]=e.split(":"),o=n.join(":");if(!Hh(e)&&/^[\w-]+$/.test(r)&&Vh(o)){let i=p.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function Vh(t){let e=0;function r(n){for(;e<t.length;)if(e+=1,t[e]===n)return!0;return!1}for(e=0;e<t.length;e++){let n=t[e];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function Hh(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var Wh=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],Os=[Mh,Oh,Rh,Nh,zh,vp,bp,Hf,Vf,Xf,ss,as,Zf,Qf,ep,tp,rp,ss,np,as,op,pp,sp,hp,es,Qi,mp,$p,Cp,Pp,Gp,Yp,Jp,Zp,Qp,eh,th,rh,nh,oh,ih,sh,ah,lh,ch,uh,fh,ph,Hp,Vp,Ah,Lh,Bh,qh,Ps,Bp,jp,Dp,Tp,Es,Ip,As,zp,Fp,Ap,_h,Wf,Kf,hh,dh,mh,wh,gh,bh,vh,yh,kh,xh,Rp,dp,_p,Lp,Np,Wp,Ch,Eh,Ih,Wh,yp,xp,Sh,qp].flat();function Uh(){return{getCSS:()=>{if(Te.size>0){let t="@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",e="*, ::before, ::after, ::backdrop",r=Array.from(Te.entries()).map(([n,o])=>`${n}:${o};`).join("");return`${t}{${e}{${r}}}`}},layer:"properties"}}var Gh=`
22
+ `.trim()},blockValue:function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var o=this.popStack();n.splice(1,0,o),this.push(this.source.functionCall(r,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var n=this.topStack();r.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",r),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,r,n,o){var i=0;!o&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,n)},lookupBlockParam:function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},lookupData:function(e,r,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},resolvePath:function(e,r,n,o,i){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(qg(this.options.strict&&i,this,r,n,e));return}for(var s=r.length;n<s;n++)this.replaceStack(function(c){var l=a.nameLookup(c,r[n],e);return o?[" && ",l]:[" != null ? ",l," : ",c]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,r){var n=this.nameLookup("decorators",r,"decorator"),o=this.setupHelperArgs(r,e);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",o])," || fn;"])},invokeHelper:function(e,r,n){var o=this.popStack(),i=this.setupHelper(e,r),a=[];n&&a.push(i.name),a.push(o),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var s=["(",this.itemsSeparatedBy(a,"||"),")"],c=this.source.functionCall(s,"call",i.callParams);this.push(c)},itemsSeparatedBy:function(e,r){var n=[];n.push(e[0]);for(var o=1;o<e.length;o++)n.push(r,e[o]);return n},invokeKnownHelper:function(e,r){var n=this.setupHelper(e,r);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(e,r){this.useRegister("helper");var n=this.popStack();this.emptyHash();var o=this.setupHelper(0,e,r),i=this.lastHelper=this.nameLookup("helpers",e,"helper"),a=["(","(helper = ",i," || ",n,")"];this.options.strict||(a[0]="(helper = ",a.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",a,o.paramsInit?["),(",o.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",o.callParams)," : helper))"])},invokePartial:function(e,r,n){var o=[],i=this.setupParams(r,1,o);e&&(r=this.popStack(),delete i.name),n&&(i.indent=JSON.stringify(n)),i.helpers="helpers",i.partials="partials",i.decorators="container.decorators",e?o.unshift(r):o.unshift(this.nameLookup("partials",r,"partial")),this.options.compat&&(i.depths="depths"),i=this.objectLiteral(i),o.push(i),this.push(this.source.functionCall("container.invokePartial","",o))},assignToHash:function(e){var r=this.popStack(),n=void 0,o=void 0,i=void 0;this.trackIds&&(i=this.popStack()),this.stringParams&&(o=this.popStack(),n=this.popStack());var a=this.hash;n&&(a.contexts[e]=n),o&&(a.types[e]=o),i&&(a.ids[e]=i),a.values[e]=r},pushId:function(e,r,n){e==="BlockParam"?this.pushStackLiteral("blockParams["+r[0]+"].path["+r[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):e==="PathExpression"?this.pushString(r):e==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:Ct,compileChildren:function(e,r){for(var n=e.children,o=void 0,i=void 0,a=0,s=n.length;a<s;a++){o=n[a],i=new this.compiler;var c=this.matchExistingProgram(o);if(c==null){this.context.programs.push("");var l=this.context.programs.length;o.index=l,o.name="program"+l,this.context.programs[l]=i.compile(o,r,this.context,!this.precompile),this.context.decorators[l]=i.decorators,this.context.environments[l]=o,this.useDepths=this.useDepths||i.useDepths,this.useBlockParams=this.useBlockParams||i.useBlockParams,o.useDepths=this.useDepths,o.useBlockParams=this.useBlockParams}else o.index=c.index,o.name="program"+c.index,this.useDepths=this.useDepths||c.useDepths,this.useBlockParams=this.useBlockParams||c.useBlockParams}},matchExistingProgram:function(e){for(var r=0,n=this.context.environments.length;r<n;r++){var o=this.context.environments[r];if(o&&o.equals(e))return o}},programExpression:function(e){var r=this.environment.children[e],n=[r.index,"data",r.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof _t||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new _t(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var r=["("],n=void 0,o=void 0,i=void 0;if(!this.isInline())throw new Vo.default("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof _t)n=[a.value],r=["(",n],i=!0;else{o=!0;var s=this.incrStack();r=["((",this.push(s)," = ",a,")"],n=this.topStack()}var c=e.call(this,n);i||this.popStack(),o&&this.stackSlot--,this.push(r.concat(c,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var r=0,n=e.length;r<n;r++){var o=e[r];if(o instanceof _t)this.compileStack.push(o);else{var i=this.incrStack();this.pushSource([i," = ",o,";"]),this.compileStack.push(i)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var r=this.isInline(),n=(r?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof _t)return n.value;if(!r){if(!this.stackSlot)throw new Vo.default("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,r=e[e.length-1];return r instanceof _t?r.value:r},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var r=this.aliases[e];return r?(r.referenceCount++,r):(r=this.aliases[e]=this.source.wrap(e),r.aliasable=!0,r.referenceCount=1,r)},setupHelper:function(e,r,n){var o=[],i=this.setupHelperArgs(r,e,o,n),a=this.nameLookup("helpers",r,"helper"),s=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:o,paramsInit:i,name:a,callParams:[s].concat(o)}},setupParams:function(e,r,n){var o={},i=[],a=[],s=[],c=!n,l=void 0;c&&(n=[]),o.name=this.quotedString(e),o.hash=this.popStack(),this.trackIds&&(o.hashIds=this.popStack()),this.stringParams&&(o.hashTypes=this.popStack(),o.hashContexts=this.popStack());var f=this.popStack(),p=this.popStack();(p||f)&&(o.fn=p||"container.noop",o.inverse=f||"container.noop");for(var h=r;h--;)l=this.popStack(),n[h]=l,this.trackIds&&(s[h]=this.popStack()),this.stringParams&&(a[h]=this.popStack(),i[h]=this.popStack());return c&&(o.args=this.source.generateArray(n)),this.trackIds&&(o.ids=this.source.generateArray(s)),this.stringParams&&(o.types=this.source.generateArray(a),o.contexts=this.source.generateArray(i)),this.options.data&&(o.data="data"),this.useBlockParams&&(o.blockParams="blockParams"),o},setupHelperArgs:function(e,r,n,o){var i=this.setupParams(e,r,n);return i.loc=JSON.stringify(this.source.currentLocation),i=this.objectLiteral(i),o?(this.useRegister("options"),n.push("options"),["options=",i]):n?(n.push(i),""):i}};(function(){for(var t="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),e=Ct.RESERVED_WORDS={},r=0,n=t.length;r<n;r++)e[t[r]]=!0})();Ct.isValidJavaScriptVariableName=function(t){return!Ct.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)};function qg(t,e,r,n,o){var i=e.popStack(),a=r.length;for(t&&a--;n<a;n++)i=e.nameLookup(i,r[n],o);return t?[e.aliasable("container.strict"),"(",i,", ",e.quotedString(r[n]),", ",JSON.stringify(e.source.currentLocation)," )"]:i}on.default=Ct;kl.exports=on.default});var $l=P((an,Sl)=>{"use strict";an.__esModule=!0;function nr(t){return t&&t.__esModule?t:{default:t}}var Vg=_s(),Hg=nr(Vg),Wg=ko(),Ug=nr(Wg),Ho=Ds(),Wo=qs(),Gg=xl(),Kg=nr(Gg),Yg=Yr(),Xg=nr(Yg),Jg=go(),Zg=nr(Jg),Qg=Hg.default.create;function wl(){var t=Qg();return t.compile=function(e,r){return Wo.compile(e,r,t)},t.precompile=function(e,r){return Wo.precompile(e,r,t)},t.AST=Ug.default,t.Compiler=Wo.Compiler,t.JavaScriptCompiler=Kg.default,t.Parser=Ho.parser,t.parse=Ho.parse,t.parseWithoutProcessing=Ho.parseWithoutProcessing,t}var Et=wl();Et.create=wl;Zg.default(Et);Et.Visitor=Xg.default;Et.default=Et;an.default=Et;Sl.exports=an.default});var _l=P(sn=>{"use strict";sn.__esModule=!0;sn.print=n0;sn.PrintVisitor=q;function e0(t){return t&&t.__esModule?t:{default:t}}var t0=Yr(),r0=e0(t0);function n0(t){return new q().accept(t)}function q(){this.padding=0}q.prototype=new r0.default;q.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r<n;r++)e+=" ";return e+=t+`
23
+ `,e};q.prototype.Program=function(t){var e="",r=t.body,n=void 0,o=void 0;if(t.blockParams){var i="BLOCK PARAMS: [";for(n=0,o=t.blockParams.length;n<o;n++)i+=" "+t.blockParams[n];i+=" ]",e+=this.pad(i)}for(n=0,o=r.length;n<o;n++)e+=this.accept(r[n]);return this.padding--,e};q.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};q.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};q.prototype.BlockStatement=q.prototype.DecoratorBlock=function(t){var e="";return e+=this.pad((t.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,e+=this.pad(this.SubExpression(t)),t.program&&(e+=this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--),t.inverse&&(t.program&&this.padding++,e+=this.pad("{{^}}"),this.padding++,e+=this.accept(t.inverse),this.padding--,t.program&&this.padding--),this.padding--,e};q.prototype.PartialStatement=function(t){var e="PARTIAL:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),this.pad("{{> "+e+" }}")};q.prototype.PartialBlockStatement=function(t){var e="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),e+=" "+this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--,this.pad("{{> "+e+" }}")};q.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};q.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};q.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,o=0,i=e.length;o<i;o++)r.push(this.accept(e[o]));return e="["+r.join(", ")+"]",n=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+n};q.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};q.prototype.StringLiteral=function(t){return'"'+t.value+'"'};q.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};q.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};q.prototype.UndefinedLiteral=function(){return"UNDEFINED"};q.prototype.NullLiteral=function(){return"NULL"};q.prototype.Hash=function(t){for(var e=t.pairs,r=[],n=0,o=e.length;n<o;n++)r.push(this.accept(e[n]));return"HASH{"+r.join(", ")+"}"};q.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var Uo=P((l1,Pl)=>{var ln=$l().default,El=_l();ln.PrintVisitor=El.PrintVisitor;ln.print=El.print;Pl.exports=ln;function Cl(t,e){var r=ot("fs"),n=r.readFileSync(e,"utf8");t.exports=ln.compile(n)}typeof ot<"u"&&ot.extensions&&(ot.extensions[".handlebars"]=Cl,ot.extensions[".hbs"]=Cl)});var At=class extends Error{name="BaseThrowable";constructor(e,r=null){super(e),r&&(this.stack=r)}},J=class extends At{name="BaseError"},it=class extends At{name="BaseWarning"},at=class extends At{name="PotentialLoopError"};var ur="default",bn="preflights",ec="shortcuts",tc="imports",rc={[tc]:-200,[bn]:-100,[ec]:-10,[ur]:0},xn=/[\\:]?[\s'"`;{}]+/g;function nc(t){return t.split(xn)}var oc={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return nc(t)}};function N(t=[]){return Array.isArray(t)?t:[t]}function he(t){return Array.from(new Set(t))}function si(t,e){return t.reduce((r,n)=>(r.findIndex(i=>e(n,i))===-1&&r.push(n),r),[])}function F(t){return typeof t=="string"}var pr=class extends Set{_map=new Map;constructor(e){if(super(),e)for(let r of e)this.add(r)}add(e){return this._map.set(e,(this._map.get(e)??0)+1),super.add(e)}delete(e){return this._map.has(e)?(this._map.delete(e),super.delete(e)):!1}clear(){this._map.clear(),super.clear()}getCount(e){return this._map.get(e)??0}setCount(e,r){return this._map.set(e,r),super.add(e)}};function hn(t){return t instanceof pr}function lt(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ze(t){let e=t.length,r=-1,n,o="",i=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&e===1&&n===45){o+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=t.charAt(r);continue}o+=`\\${t.charAt(r)}`}return o}var mn=ze;function ic(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}var ac=/[\w\u00A0-\uFFFF%-?]/;function hi(t=""){return ac.test(t)}function sc(t){return typeof t=="function"?{match:t}:t}function li(t){return t.length===3}function Lt(t){return t!=null}function lc(){}var yn=class{_map=new Map;get(e,r){let n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.has(r)||o.set(r,n),o.get(r)}set(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.set(r,n),this}has(e,r){return this._map.get(e)?.has(r)}delete(e,r){return this._map.get(e)?.delete(r)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>e(i,r,o)))}},vn=class extends Map{getFallback(e,r){let n=this.get(e);return n===void 0?(this.set(e,r),r):n}map(e){let r=[];return this.forEach((n,o)=>{r.push(e(n,o))}),r}flatMap(e){let r=[];return this.forEach((n,o)=>{r.push(...e(n,o))}),r}};function fr(t){return F(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function cc(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>fr(e)):[t]:[fr(t)]}function uc(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(t[o][0]===e&&t[o][1]===r)return!1;return!0})}var mi="__virtual_key__";function gn(t){return t==null?"":uc(t).map(([e,r])=>r!=null&&typeof r!="function"?e!==mi?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function lr(t){return t&&typeof t=="object"&&!Array.isArray(t)}function ct(t,e,r=!1){let n=t,o=e;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];let i={...n};return lr(n)&&lr(o)&&Object.keys(o).forEach(a=>{lr(n[a])&&lr(o[a])||Array.isArray(n[a])&&Array.isArray(o[a])?i[a]=ct(n[a],o[a],r):Object.assign(i,{[a]:o[a]})}),i}function st(t){let e,r,n;if(Array.isArray(t)){for(r=Array.from({length:e=t.length});e--;)r[e]=(n=t[e])&&typeof n=="object"?st(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:st(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?st(n):n;return r}return t}function pc(t){return F(t[0])}function fc(t){return F(t[0])}var cr={};function dc(t=["-",":"]){let e=t.join("|");return cr[e]||(cr[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),cr[e].lastIndex=0,cr[e]}function hc(t,e=["-",":"],r=5){let n=dc(e),o,i=t.toString(),a=new Set,s=new Map;do o=!1,i=i.replace(n,(l,f,p,h,m)=>{if(!e.includes(p))return l;o=!0,a.add(f+p);let g=m+f.length+p.length+1,b={length:l.length,items:[]};s.set(m,b);for(let x of[...h.matchAll(/\S+/g)]){let $=g+x.index,S=s.get($)?.items;S?s.delete($):S=[{offset:$,length:x[0].length,className:x[0]}];for(let _ of S)_.className=_.className==="~"?f:_.className.replace(/^(!?)(.*)/,`$1${f}${p}$2`),b.items.push(_)}return"$".repeat(l.length)}),r-=1;while(o&&r);let c;if(typeof t=="string"){c="";let l=0;for(let[f,p]of s)c+=t.slice(l,f),c+=p.items.map(h=>h.className).join(" "),l=f+p.length;c+=t.slice(l)}else{c=t;for(let[l,f]of s)c.overwrite(l,l+f.length,f.items.map(p=>p.className).join(" "))}return{prefixes:Array.from(a),hasChanged:o,groupsByOffset:s,get expanded(){return c.toString()}}}function mc(t,e=["-",":"],r=5){let n=hc(t,e,r);return typeof t=="string"?n.expanded:t}var ci=new Set;function gc(t){ci.has(t)||(console.warn("[unocss]",t),ci.add(t))}function gi(t){return N(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var ui="_uno_resolved";async function bc(t){let e=typeof t=="function"?await t():await t;if(ui in e)return e;e={...e},Object.defineProperty(e,ui,{value:!0,enumerable:!1});let r=e.shortcuts?gi(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){let n=o=>{o[2]||(o[2]={});let i=o[2];i.prefix==null&&e.prefix&&(i.prefix=N(e.prefix)),i.layer==null&&e.layer&&(i.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function bi(t){let e=await bc(t);if(!e.presets)return[e];let r=(await Promise.all((e.presets||[]).flatMap(N).flatMap(bi))).flat();return[e,...r]}function yc(t){if(t.length===0)return{};let e=[],r=[],n=!1,o=[],i=[];for(let s of t){if(s.pipeline===!1){n=!0;break}else s.pipeline?.include&&e.push(s.pipeline.include),s.pipeline?.exclude&&r.push(s.pipeline.exclude);s.filesystem&&o.push(s.filesystem),s.inline&&i.push(s.inline)}let a={pipeline:n?!1:{include:he(fi(...e)),exclude:he(fi(...r))}};return o.length&&(a.filesystem=he(o.flat())),i.length&&(a.inline=he(i.flat())),a}async function pi(t={},e={}){let r=Object.assign({},e,t),n=si((await Promise.all((r.presets||[]).flatMap(N).flatMap(bi))).flat(),(y,A)=>y.name===A.name),o=[...n.filter(y=>y.enforce==="pre"),...n.filter(y=>!y.enforce),...n.filter(y=>y.enforce==="post")],i=[...o,r],a=[...i].reverse(),s=Object.assign({},rc,...i.map(y=>y.layers));function c(y){return he(i.flatMap(A=>N(A[y]||[])))}let l=c("extractors"),f=a.find(y=>y.extractorDefault!==void 0)?.extractorDefault;f===void 0&&(f=oc),f&&!l.includes(f)&&l.unshift(f),l.sort((y,A)=>(y.order||0)-(A.order||0));let p=c("rules"),h=p.length,m={},g=[];for(let[y,A]of p.entries()){let w=A[2]??(A[2]={});w.__index=y,pc(A)?N(w.prefix??"").forEach(R=>{m[R+A[0]]=A}):g.unshift(A)}let b={templates:he(i.flatMap(y=>N(y.autocomplete?.templates))),extractors:i.flatMap(y=>N(y.autocomplete?.extractors)).sort((y,A)=>(y.order||0)-(A.order||0)),shorthands:kc(i.map(y=>y.autocomplete?.shorthands||{}))},x=c("separators");x.length||(x=[":","-"]);let $=c("content"),S=yc($),_={mergeSelectors:!0,warn:!0,sortLayers:y=>y,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:s,theme:vc(i.map(y=>y.theme)),rules:p,rulesSize:h,rulesDynamic:g,rulesStaticMap:m,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:b,variants:c("variants").map(sc).sort((y,A)=>(y.order||0)-(A.order||0)),shortcuts:gi(c("shortcuts")).reverse(),extractors:l,safelist:c("safelist"),separators:x,details:r.details??r.envMode==="dev",content:S,transformers:si(c("transformers"),(y,A)=>y.name===A.name)},E=c("extendTheme");for(let y of E)_.theme=y(_.theme,_)||_.theme;for(let y of i)y?.configResolved?.(_);return _}function vc(t){return t.map(e=>e?st(e):{}).reduce((e,r)=>ct(e,r),{})}function kc(t){return t.reduce((e,r)=>{let n={};for(let o in r){let i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...e,...n}},{})}function fi(...t){return t.flatMap(xc)}function xc(t){return Array.isArray(t)?t:t?[t]:[]}var wc="66.5.2",H={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"},kn=class t{constructor(e={},r={}){this.userConfig=e,this.defaults=r}version=wc;events=ic();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(e={},r={}){let n=new t(e,r);return n.config=await pi(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await pi(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){let o={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(let i of this.config.extractors){let a=await i.extract?.(o);if(a)if(hn(a)&&hn(n))for(let s of a)n.setCount(s,n.getCount(s)+a.getCount(s));else for(let s of a)n.add(s)}return n}makeContext(e,r){let n={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:H,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(e,r){if(this.blocked.has(e))return;let n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let o=this.config.preprocess.reduce((c,l)=>l(c)??c,e);if(this.isBlocked(o)){this.blocked.add(e),this.cache.set(n,null);return}let i=await this.matchVariants(e,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(e),this.cache.set(n,null);return}let a=async c=>{let l=this.makeContext(e,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(l.variants=[...c[3]]);let f=await this.expandShortcut(l.currentSelector,l);return f?await this.stringifyShortcuts(l.variantMatch,l,f[0],f[1]):(await this.parseUtil(l.variantMatch,l))?.map(h=>this.stringifyUtil(h,l)).filter(Lt)},s=(await Promise.all(i.map(c=>a(c)))).flat().filter(c=>!!c);if(s?.length)return this.cache.set(n,s),s;this.cache.set(n,null)}async generate(e,r={}){let{id:n,scope:o,preflights:i=!0,safelist:a=!0,minify:s=!1,extendedInfo:c=!1}=r,l=F(e)?await this.applyExtractors(e,n,c?new pr:new Set):Array.isArray(e)?new Set(e):e;if(a){let w={generator:this,theme:this.config.theme};this.config.safelist.flatMap(L=>typeof L=="function"?L(w):L).forEach(L=>{let R=L.trim();R&&!l.has(R)&&l.add(R)})}let f=s?"":`
24
+ `,p=new Set([ur]),h=c?new Map:new Set,m=new Map,g={},b=Array.from(l).map(async w=>{if(h.has(w))return;let L=await this.parseToken(w);if(L!=null){h instanceof Map?h.set(w,{data:L,count:hn(l)?l.getCount(w):-1}):h.add(w);for(let R of L){let j=R[3]||"",G=R[4]?.layer;m.has(j)||m.set(j,[]),m.get(j).push(R),G&&p.add(G)}}});await Promise.all(b),await(async()=>{if(!i)return;let w={generator:this,theme:this.config.theme},L=new Set([]);this.config.preflights.forEach(({layer:R=bn})=>{p.add(R),L.add(R)}),g=Object.fromEntries(await Promise.all(Array.from(L).map(async R=>{let G=(await Promise.all(this.config.preflights.filter(V=>(V.layer||bn)===R).map(async V=>await V.getCSS(w)))).filter(Boolean).join(f);return[R,G]})))})();let x=this.config.sortLayers(Array.from(p).sort((w,L)=>(this.config.layers[w]??0)-(this.config.layers[L]??0)||w.localeCompare(L))),$={},S=this.config.outputToCssLayers,_=w=>{let L=w;return typeof S=="object"&&(L=S.cssLayerName?.(w)),L===null?null:L??w},E=(w=ur)=>{if($[w])return $[w];let L=Array.from(m).sort((G,V)=>(this.parentOrders.get(G[0])??0)-(this.parentOrders.get(V[0])??0)||G[0]?.localeCompare(V[0]||"")||0).map(([G,V])=>{let ar=V.length,Re=V.filter(U=>(U[4]?.layer||ur)===w).sort((U,de)=>U[0]-de[0]||(U[4]?.sort||0)-(de[4]?.sort||0)||U[5]?.currentSelector?.localeCompare(de[5]?.currentSelector??"")||U[1]?.localeCompare(de[1]||"")||U[2]?.localeCompare(de[2]||"")||0).map(([,U,de,,sr,,pn])=>[[[(U&&$c(U,o))??"",sr?.sort??0]],de,!!(pn??sr?.noMerge)]);if(!Re.length)return;let Pt=Re.reverse().map(([U,de,sr],pn)=>{if(!sr&&this.config.mergeSelectors)for(let Ne=pn+1;Ne<ar;Ne++){let ke=Re[Ne];if(ke&&!ke[2]&&(U&&ke[0]||U==null&&ke[0]==null)&&ke[1]===de)return U&&ke[0]&&ke[0].push(...U),null}let fn=U?he(U.sort((Ne,ke)=>Ne[1]-ke[1]||Ne[0]?.localeCompare(ke[0]||"")||0).map(Ne=>Ne[0]).filter(Boolean)):[];return fn.length?`${fn.join(`,${f}`)}{${de}}`:de}).filter(Boolean),re=Array.from(new Set(Pt)).reverse().join(f);if(!G)return re;let ii=G.split(" $$ ");return`${ii.join("{")}{${f}${re}${f}${"}".repeat(ii.length)}`}).filter(Boolean).join(f);i&&(L=[g[w],L].filter(Boolean).join(f));let R;S&&L&&(R=_(w),R!==null&&(L=`@layer ${R}{${f}${L}${f}}`));let j=s?"":`/* layer: ${w}${R&&R!==w?`, alias: ${R}`:""} */${f}`;return $[w]=L?j+L:""},y=(w=x,L)=>{let R=w.filter(j=>!L?.includes(j));return[S&&R.length>0?`@layer ${R.map(_).filter(Lt).join(", ")};`:void 0,...R.map(j=>E(j)||"")].filter(Boolean).join(f)};return{get css(){return y()},layers:x,matched:h,getLayers:y,getLayer:E,setLayer:async(w,L)=>{let R=await L(E(w));return $[w]=R,R}}}async matchVariants(e,r){let n={rawSelector:e,theme:this.config.theme,generator:this},o=async i=>{let a=!0,[,,s,c]=i;for(;a;){a=!1;let l=i[1];for(let f of this.config.variants){if(!f.multiPass&&c.has(f))continue;let p=await f.match(l,n);if(p){if(F(p)){if(p===l)continue;p={matcher:p}}if(Array.isArray(p)){if(!p.length)continue;if(p.length===1)p=p[0];else{if(f.multiPass)throw new Error("multiPass can not be used together with array return variants");let h=p.map(m=>{let g=m.matcher??l,b=[m,...s],x=new Set(c);return x.add(f),[i[0],g,b,x]});return(await Promise.all(h.map(m=>o(m)))).flat()}}i[1]=p.matcher??l,s.unshift(p),c.add(f),a=!0;break}}if(!a)break;if(s.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[i]};return await o([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){let i=r.slice().sort((l,f)=>(l.order||0)-(f.order||0)).reduceRight((l,f)=>p=>{let h=f.body?.(p.entries)||p.entries,m=Array.isArray(f.parent)?f.parent:[f.parent,void 0],g=f.selector?.(p.selector,h);return(f.handle??Cc)({...p,entries:h,selector:g||p.selector,parent:m[0]||p.parent,parentOrder:m[1]||p.parentOrder,layer:f.layer||p.layer,sort:f.sort||p.sort},l)},l=>l)({prefix:"",selector:_c(n),pseudo:"",entries:e[2]}),{parent:a,parentOrder:s}=i;a!=null&&s!=null&&this.parentOrders.set(a,s);let c={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:a,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(let l of this.config.postprocess)l(c);return c}constructCustomCSS(e,r,n){let o=fr(r);if(F(o))return o;let{selector:i,entries:a,parent:s}=this.applyVariants([0,n||e.rawSelector,o,void 0,e.variantHandlers]),c=`${i}{${gn(a)}}`;return s?`${s}{${c}}`:c}async parseUtil(e,r,n=!1,o){let i=F(e)?await this.matchVariants(e):[e],a=async([c,l,f])=>{this.config.details&&(r.rules=r.rules??[]);let p={...r,variantHandlers:f},h=this.config.rulesStaticMap[l];if(h&&h[1]&&(n||!h[2]?.internal))return this.resolveCSSResult(c,h[1],h,p);for(let m of this.config.rulesDynamic){let[g,b,x]=m;if(x?.internal&&!n)continue;let $=l;if(x?.prefix){let y=N(x.prefix);if(o){let A=N(o);if(!y.some(w=>A.includes(w)))continue}else{let A=y.find(w=>l.startsWith(w));if(A==null)continue;$=l.slice(A.length)}}let S=$.match(g);if(!S)continue;let _=await b(S,p);if(!_)continue;if(typeof _!="string")if(Symbol.asyncIterator in _){let y=[];for await(let A of _)A&&y.push(A);_=y}else Symbol.iterator in _&&!Array.isArray(_)&&(_=Array.from(_).filter(Lt));let E=this.resolveCSSResult(c,_,m,p);if(E)return E}},s=(await Promise.all(i.map(c=>a(c)))).flat().filter(c=>!!c);if(s.length)return s}resolveCSSResult=(e,r,n,o)=>{let i=cc(r).filter(a=>a.length);if(i.length){this.config.details&&o.rules.push(n),o.generator.activatedRules.add(n);let a=n[2];return i.map(s=>{if(F(s))return[a.__index,s,a];let c=o.variantHandlers,l=a;for(let f of s)f[0]===H.variants?typeof f[1]=="function"?c=f[1](c)||c:c=[...N(f[1]),...c]:f[0]===H.parent?c=[{parent:f[1]},...c]:f[0]===H.selector?c=[{selector:f[1]},...c]:f[0]===H.layer?c=[{layer:f[1]},...c]:f[0]===H.sort?l={...l,sort:f[1]}:f[0]===H.noMerge?l={...l,noMerge:f[1]}:f[0]===H.body&&(f[0]=mi);return[a.__index,e,s,l,c]})}};stringifyUtil(e,r){if(!e)return;if(li(e))return[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0];let{selector:n,entries:o,parent:i,layer:a,sort:s,noMerge:c}=this.applyVariants(e),l=gn(o);if(!l)return;let{layer:f,sort:p,...h}=e[3]??{},m={...h,layer:a??f,sort:s??p};return[e[0],n,l,i,m,this.config.details?r:void 0,c]}async expandShortcut(e,r,n=5){if(n===0)return;let o=this.config.details?l=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(l)}:lc,i,a,s,c;for(let l of this.config.shortcuts){let f=e;if(l[2]?.prefix){let h=N(l[2].prefix).find(m=>e.startsWith(m));if(h==null)continue;f=e.slice(h.length)}if(fc(l)){if(l[0]===f){i=i||l[2],a=l[1],o(l);break}}else{let p=f.match(l[0]);if(p&&(a=l[1](p,r)),a){i=i||l[2],o(l);break}}}if(a&&(s=he(N(a).filter(F).map(l=>mc(l.trim()).split(/\s+/g)).flat()),c=N(a).filter(l=>!F(l)).map(l=>({handles:[],value:l}))),!a){let l=F(e)?await this.matchVariants(e):[e];for(let f of l){let[p,h,m]=f;if(p!==h){let g=await this.expandShortcut(h,r,n-1);g&&(s=g[0].filter(F).map(b=>p.replace(h,b)),c=g[0].filter(b=>!F(b)).map(b=>({handles:[...b.handles,...m],value:b.value})))}}}if(!(!s?.length&&!c?.length))return[[await Promise.all(N(s).map(async l=>(await this.expandShortcut(l,r,n-1))?.[0]||[l])),c].flat(2).filter(l=>!!l),i]}async stringifyShortcuts(e,r,n,o={layer:this.config.shortcutsLayer}){let i=new vn,a=(await Promise.all(he(n).map(async f=>{let p=F(f)?await this.parseUtil(f,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",fr(f.value),void 0,f.handles]];return!p&&this.config.warn&&gc(`unmatched utility "${f}" in shortcut "${e[1]}"`),p||[]}))).flat(1).filter(Boolean).sort((f,p)=>f[0]-p[0]),[s,,c]=e,l=[];for(let f of a){if(li(f)){l.push([f[0],void 0,f[1],void 0,f[2],r,void 0]);continue}let{selector:p,entries:h,parent:m,sort:g,noMerge:b,layer:x}=this.applyVariants(f,[...f[4],...c],s);i.getFallback(x??o.layer,new yn).getFallback(p,m,[[],f[0]])[0].push([h,!!(b??f[3]?.noMerge),g??0])}return l.concat(i.flatMap((f,p)=>f.map(([h,m],g,b)=>{let x=(S,_,E)=>{let y=Math.max(...E.map(w=>w[1])),A=E.map(w=>w[0]);return(S?[A.flat(1)]:A).map(w=>{let L=gn(w);if(L)return[m,g,L,b,{...o,noMerge:_,sort:y,layer:p},r,void 0]})};return[[h.filter(([,S])=>S).map(([S,,_])=>[S,_]),!0],[h.filter(([,S])=>!S).map(([S,,_])=>[S,_]),!1]].map(([S,_])=>[...x(!1,_,S.filter(([E])=>E.some(y=>y[0]===H.shortcutsNoMerge))),...x(!0,_,S.filter(([E])=>E.every(y=>y[0]!==H.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(e):F(r)?r===e:r.test(e))}getBlocked(e){let r=this.config.blocklist.find(n=>{let o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(e):F(o)?o===e:o.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function yi(t,e){return await kn.create(t,e)}var vi=/\s\$\$\s+/g;function Sc(t){return vi.test(t)}function $c(t,e){return Sc(t)?t.replace(vi,e?` ${e} `:" "):e?`${e} ${t}`:t}var di=/^\[(.+?)(~?=)"(.*)"\]$/;function _c(t){return di.test(t)?t.replace(di,(e,r,n,o)=>`[${mn(r)}${n}"${mn(o)}"]`):`.${mn(t)}`}function Cc(t,e){return e(t)}function Ec(t){let e,r,n=2166136261;for(e=0,r=t.length;e<r;e++)n^=t.charCodeAt(e),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function Pc(t,e,r,n){for(let o of Array.from(t.matchAll(r)))if(o!=null){let i=o[0],a=`${n}${Ec(i)}`;e.set(a,i),t=t.replace(i,a)}return t}function Ac(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var Lc=/\/\/#\s*sourceMappingURL=.*\n?/g;function Mc(t){return t.includes("sourceMappingURL=")?t.replace(Lc,""):t}var Oc=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Rc=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Nc=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function zc(t){let e=[];for(let o of t.matchAll(Rc))o.index!==0&&!/^[\s'"`]/.test(t[o.index-1]??"")||e.push(o[0]);for(let o of t.matchAll(Oc))e.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=Pc(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(xn).forEach(o=>{o.includes(n)&&(o=Ac(o,r)),hi(o)&&!Nc.test(o)&&e.push(o)}),e}function ki(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return zc(Mc(t))}}}var Ic=44,jc=59,xi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$i=new Uint8Array(64),Dc=new Uint8Array(128);for(let t=0;t<xi.length;t++){let e=xi.charCodeAt(t);$i[t]=e,Dc[e]=t}function Mt(t,e,r){let n=e-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),t.write($i[o])}while(n>0);return e}var wi=1024*16,Si=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}},Tc=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(wi)}write(t){let{buffer:e}=this;e[this.pos++]=t,this.pos===wi&&(this.out+=Si.decode(e),this.pos=0)}flush(){let{buffer:t,out:e,pos:r}=this;return r>0?e+Si.decode(t.subarray(0,r)):e}};function _i(t){let e=new Tc,r=0,n=0,o=0,i=0;for(let a=0;a<t.length;a++){let s=t[a];if(a>0&&e.write(jc),s.length===0)continue;let c=0;for(let l=0;l<s.length;l++){let f=s[l];l>0&&e.write(Ic),c=Mt(e,f[0],c),f.length!==1&&(r=Mt(e,f[1],r),n=Mt(e,f[2],n),o=Mt(e,f[3],o),f.length!==4&&(i=Mt(e,f[4],i)))}}return e.flush()}var dr=class t{constructor(e){this.bits=e instanceof t?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}},hr=class t{constructor(e,r,n){this.start=e,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){let e=new t(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,n){return this.content=e,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){let r=e-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new t(e,this.end,o);return i.outro=this.outro,this.outro="",this.end=e,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;let r=this.content.replace(e,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;let r=this.content.replace(e,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}};function Fc(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof Buffer=="function"?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var Bc=Fc(),wn=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=_i(e.mappings),typeof e.x_google_ignoreList<"u"&&(this.x_google_ignoreList=e.x_google_ignoreList),typeof e.debugId<"u"&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Bc(this.toString())}};function qc(t){let e=t.split(`
25
+ `),r=e.filter(i=>/^\t+/.test(i)),n=e.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let o=n.reduce((i,a)=>{let s=/^ +/.exec(a)[0].length;return Math.min(s,i)},1/0);return new Array(o+1).join(" ")}function Vc(t,e){let r=t.split(/[/\\]/),n=e.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}var Hc=Object.prototype.toString;function Wc(t){return Hc.call(t)==="[object Object]"}function Ci(t){let e=t.split(`
26
+ `),r=[];for(let n=0,o=0;n<e.length;n++)r.push(o),o+=e[n].length+1;return function(o){let i=0,a=r.length;for(;i<a;){let l=i+a>>1;o<r[l]?a=l:i=l+1}let s=i-1,c=o-r[s];return{line:s,column:c}}}var Uc=/\w/,Sn=class{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,r,n,o){if(r.length){let i=r.length-1,a=r.indexOf(`
27
+ `,0),s=-1;for(;a>=0&&i>a;){let l=[this.generatedCodeColumn,e,n.line,n.column];o>=0&&l.push(o),this.rawSegments.push(l),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=a,a=r.indexOf(`
28
+ `,a+1)}let c=[this.generatedCodeColumn,e,n.line,n.column];o>=0&&c.push(o),this.rawSegments.push(c),this.advance(r.slice(s+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(e,r,n,o,i){let a=r.start,s=!0,c=!1;for(;a<r.end;){if(n[a]===`
29
+ `)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=!0,c=!1;else{if(this.hires||s||i.has(a)){let l=[this.generatedCodeColumn,e,o.line,o.column];this.hires==="boundary"?Uc.test(n[a])?c||(this.rawSegments.push(l),c=!0):(this.rawSegments.push(l),c=!1):this.rawSegments.push(l)}o.column+=1,this.generatedCodeColumn+=1,s=!1}a+=1}this.pending=null}advance(e){if(!e)return;let r=e.split(`
30
+ `);if(r.length>1){for(let n=0;n<r.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}},Ot=`
31
+ `,ut={insertLeft:!1,insertRight:!1,storeName:!1},mr=class t{constructor(e,r={}){let n=new hr(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new dr},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[e.length]=n}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.appendLeft(r):this.intro+=r,this}appendRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.appendRight(r):this.outro+=r,this}clone(){let e=new t(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=r.clone();for(;r;){e.byStart[n.start]=n,e.byEnd[n.end]=n;let o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new dr(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};let r=0,n=Object.keys(this.storedNames),o=new Sn(e.hires),i=Ci(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(a=>{let s=i(a.start);a.intro.length&&o.advance(a.intro),a.edited?o.addEdit(r,a.content,s,a.storeName?n.indexOf(a.original):-1):o.addUneditedChunk(r,a,this.original,s,this.sourcemapLocations),a.outro.length&&o.advance(a.outro)}),this.outro&&o.advance(this.outro),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?Vc(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:n,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(e){return new wn(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=qc(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(e,r){let n=/^[^\r\n]/gm;if(Wc(e)&&(r=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;r=r||{};let o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(f=>{for(let p=f[0];p<f[1];p+=1)o[p]=!0});let i=r.indentStart!==!1,a=l=>i?`${e}${l}`:(i=!0,l);this.intro=this.intro.replace(n,a);let s=0,c=this.firstChunk;for(;c;){let l=c.end;if(c.edited)o[s]||(c.content=c.content.replace(n,a),c.content.length&&(i=c.content[c.content.length-1]===`
32
+ `));else for(s=c.start;s<l;){if(!o[s]){let f=this.original[s];f===`
33
+ `?i=!0:f!=="\r"&&i&&(i=!1,s===c.start||(this._splitChunk(c,s),c=c.next),c.prependRight(e))}s+=1}s=c.end,c=c.next}return this.outro=this.outro.replace(n,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,r){return ut.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),ut.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return ut.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),ut.insertRight=!0),this.prependRight(e,r)}move(e,r,n){if(e=e+this.offset,r=r+this.offset,n=n+this.offset,n>=e&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(r),this._split(n);let o=this.byStart[e],i=this.byEnd[r],a=o.previous,s=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;let l=c?c.previous:this.lastChunk;return a&&(a.next=s),s&&(s.previous=a),l&&(l.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=l,i.next=c||null,l||(this.firstChunk=o),c||(this.lastChunk=i),this}overwrite(e,r,n,o){return o=o||{},this.update(e,r,n,{...o,overwrite:!o.contentOnly})}update(e,r,n,o){if(e=e+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(e===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(r),o===!0&&(ut.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),ut.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,a=o!==void 0?o.overwrite:!1;if(i){let l=this.original.slice(e,r);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}let s=this.byStart[e],c=this.byEnd[r];if(s){let l=s;for(;l!==c;){if(l.next!==this.byStart[l.end])throw new Error("Cannot overwrite across a split point");l=l.next,l.edit("",!1)}s.edit(n,i,!a)}else{let l=new hr(e,r,"").edit(n,i);c.next=l,l.previous=c}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(Ot);if(e!==-1)return this.outro.substr(e+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(e=n.outro.lastIndexOf(Ot),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(Ot),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(Ot),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(Ot),e!==-1?this.intro.substr(e+1)+r:this.intro+r}slice(e=0,r=this.original.length-this.offset){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>e||o.end<=e);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===e)&&(n+=o.intro);let a=o.start<r&&o.end>=r;if(a&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let s=i===o?e-o.start:0,c=a?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(s,c),o.outro&&(!a||o.end===r)&&(n+=o.outro),a)break;o=o.next}return n}snip(e,r){let n=this.clone();return n.remove(0,e),n.remove(r,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let r=this.lastSearchedChunk,n=r,o=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);if(r=o?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(e,r){if(e.edited&&e.content.length){let o=Ci(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${e.original}")`)}let n=e.split(r);return this.byEnd[r]=e,this.byStart[r]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,r=this.firstChunk;for(;r;)e+=r.toString(),r=r.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,r=0;do r+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let r=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let o=n.end,i=n.trimEnd(r);if(n.end!==o&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){let r=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let o=n.end,i=n.trimStart(r);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,r){function n(i,a){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(s,c)=>c==="$"?"$":c==="&"?i[0]:+c<i.length?i[+c]:`$${c}`):r(...i,i.index,a,i.groups)}function o(i,a){let s,c=[];for(;s=i.exec(a);)c.push(s);return c}if(e.global)o(e,this.original).forEach(a=>{if(a.index!=null){let s=n(a,this.original);s!==a[0]&&this.overwrite(a.index,a.index+a[0].length,s)}});else{let i=this.original.match(e);if(i&&i.index!=null){let a=n(i,this.original);a!==i[0]&&this.overwrite(i.index,i.index+i[0].length,a)}}return this}_replaceString(e,r){let{original:n}=this,o=n.indexOf(e);return o!==-1&&(typeof r=="function"&&(r=r(e,o,n)),e!==r&&this.overwrite(o,o+e.length,r)),this}replace(e,r){return typeof e=="string"?this._replaceString(e,r):this._replaceRegexp(e,r)}_replaceAllString(e,r){let{original:n}=this,o=e.length;for(let i=n.indexOf(e);i!==-1;i=n.indexOf(e,i+o)){let a=n.slice(i,i+o),s=r;typeof r=="function"&&(s=r(a,i,n)),a!==s&&this.overwrite(i,i+o,s)}return this}replaceAll(e,r){if(typeof e=="string")return this._replaceAllString(e,r);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,r)}};function pt(t,e,r){if(t==="")return;let n=t.length,o=0,i=!1,a=0;for(let s=0;s<n;s++)switch(t[s]){case e:i||(i=!0,a=s),o++;break;case r:if(--o,o<0)return;if(o===0)return[t.slice(a,s+1),t.slice(s+1),t.slice(0,a)];break}}function qe(t,e,r,n){if(t===""||(F(n)&&(n=[n]),n.length===0))return;let o=t.length,i=0;for(let a=0;a<o;a++)switch(t[a]){case e:i++;break;case r:if(--i<0)return;break;default:for(let s of n){let c=s.length;if(c&&s===t.slice(a,a+c)&&i===0)return a===0||a===o-c?void 0:[t.slice(0,a),t.slice(a+c)]}}return[t,""]}function xe(t,e,r,n="(",o=")"){r=r??10;let i=[],a=0;for(;t!=="";){if(++a>r)return;let s=qe(t,n,o,e);if(!s)return;let[c,l]=s;i.push(c),t=l}if(i.length>0)return i}var Cn=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Gc=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],Kc=["hsl","hwb","lch","oklch"],Yc=["shorter","longer","increasing","decreasing"],En=["%alpha","<alpha-value>"],Pn=new RegExp(En.map(t=>lt(t)).join("|"),"g");function An(t){return t?Gc.some(e=>t.includes(e))||Kc.some(e=>t.includes(e))||Yc.some(e=>t.includes(e)):!1}function Ve(t=""){let e=Xc(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:o}=e,i=r.toLowerCase();if(n.length!==0&&!(Cn.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(a=>typeof a=="string"?a.trim():a),alpha:typeof o=="string"?o.trim():o}}function He(t,e){if(typeof t=="string")return t.replace(Pn,`${e??1}`);let{components:r}=t,{alpha:n,type:o}=t;return n=e??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,Cn.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Xc(t){if(!t)return;let e=Jc(t);if(e!=null||(e=Zc(t),e!=null)||(e=Qc(t),e!=null)||(e=tu(t),e!=null)||(e=ru(t),e!=null))return e}function Jc(t){let[,e]=t.match(/^#([\da-f]+)$/i)||[];if(e)switch(e.length){case 3:case 4:{let r=Array.from(e,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:e.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{let r=Number.parseInt(e,16);return{type:"rgb",components:e.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:e.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function Zc(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function Qc(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,o=xe(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}var eu=new RegExp(`^(${Cn.join("|")})\\((.+)\\)$`,"i");function tu(t){let e=t.match(eu);if(!e)return;let[,r,n]=e,o=Li(`${r} ${n}`);if(o){let{alpha:i,components:[a,...s]}=o;return{type:a,components:s,alpha:i}}}function ru(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=Li(e[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function Li(t){let e=xe(t," ");if(!e)return;let r=e.length;if(e[r-2]==="/")return{components:e.slice(0,r-2),alpha:e[r-1]};if(e[r-2]!=null&&(e[r-2].endsWith("/")||e[r-1].startsWith("/"))){let i=e.splice(r-2);e.push(i.join(" ")),--r}let n=xe(e[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:e};let o=n.pop();return e[r-1]=n.join("/"),{components:e,alpha:o}}var nu=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Mi(t){return t.includes("theme(")&&t.includes(")")}function Oi(t,e,r=!0){let n=Array.from(t.toString().matchAll(nu));if(!n.length)return t;let o=new mr(t);for(let i of n){let a=i[2];if(!a)throw new Error("theme() expect exact one argument, but got 0");let s=ou(a,e,r);s&&o.overwrite(i.index,i.index+i[0].length,s)}return o.toString()}function ou(t,e,r=!0){let[n,o]=t.split("/"),a=n.trim().split(".").reduce((s,c)=>s?.[c],e);if(typeof a=="object"&&(a=a.DEFAULT),typeof a=="string"){if(o){let s=Ve(a);s&&(a=He(s,o))}return a}else if(r)throw new Error(`theme of "${t}" did not found`)}function Ln(t){let e=t.match(/^-?\d+\.?\d*/)?.[0]||"",r=t.slice(e.length);if(r==="px"){let n=Number.parseFloat(e)-.1;return Number.isNaN(n)?t:`${n}${r}`}return`calc(${t} - 0.1px)`}function Ri(t){let e=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let a=t[i](n);if(a!=null)return a}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(t))Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return e}var Rt="__pseudo_placeholder__",ft=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${Rt})`],["nth-last",`:nth-last-child(${Rt})`],["nth-last-of-type",`:nth-last-of-type(${Rt})`],["nth-of-type",`:nth-of-type(${Rt})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),Ni=Object.keys(ft),dt=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),zi=Object.keys(dt),iu=["not","is","where","has"],Ii=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),$n=Object.entries(ft).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),_n=Object.entries(dt).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Be=iu.join("|"),Ei=Object.keys(Ii).sort((t,e)=>e.length-t.length).join("|"),au=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],Pi=Object.entries(ft).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Ai=Object.entries(dt).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function su(t,e,r,n){let{h:o,variantGetBracket:i}=n,a=new RegExp(`^(${lt(e)}:)(\\S+)${lt(r)}\\1`),s,c,l,f,p=g=>{let b=i(`${t}-`,g,[]);if(!b)return;let[x,$]=b,S=o.bracket(x);if(S==null)return;let _=$.split(s,1)?.[0]??"",E=`${e}${ze(_)}`;return[_,g.slice(g.length-($.length-_.length-1)),S.includes("&")?S.replace(/&/g,E):`${E}${S}`]},h=g=>{let b=g.match(c)||g.match(l);if(!b)return;let[x,$,S]=b,_=b[3]??"",E=ft[S]||dt[S]||`:${S}`;return $&&(E=`:${$}(${E})`),[_,g.slice(x.length),`${e}${ze(_)}${E}`,S]},m=g=>{let b=g.match(f);if(!b)return;let[x,$,S]=b,_=b[3]??"",E=`:${$}(${S})`;return[_,g.slice(x.length),`${e}${ze(_)}${E}`]};return{name:`pseudo:${t}`,match(g,b){if(s&&c&&l||(s=new RegExp(`(?:${b.generator.config.separators.join("|")})`),c=new RegExp(`^${t}-(?:(?:(${Be})-)?(${$n}))(?:(/[\\w-]+))?(?:${b.generator.config.separators.join("|")})`),l=new RegExp(`^${t}-(?:(?:(${Be})-)?(${_n}))(?:(/[\\w-]+))?(?:${b.generator.config.separators.filter(y=>y!=="-").join("|")})`),f=new RegExp(`^${t}-(?:(${Be})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${b.generator.config.separators.filter(y=>y!=="-").join("|")})`)),!g.startsWith(t))return;let x=p(g)||h(g)||m(g);if(!x)return;let[$,S,_,E=""]=x;return{matcher:S,handle:(y,A)=>A({...y,prefix:`${_}${r}${y.prefix}`.replace(a,"$1$2:"),sort:Ni.indexOf(E)??zi.indexOf(E)})}},multiPass:!0}}function ji(t){let{h:e}=t,r,n,o;return[{name:"pseudo",match(i,a){r&&n||(r=new RegExp(`^(${Pi})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${a.generator.config.separators.join("|")})`),n=new RegExp(`^(${Ai})(?:${a.generator.config.separators.filter(c=>c!=="-").join("|")})`));let s=i.match(r)||i.match(n);if(s){let c=ft[s[1]]||dt[s[1]]||`:${s[1]}`;if(s[2]){let f;s[2].startsWith("[")&&s[2].endsWith("]")?f=e.bracket(s[2]):f=s[2],f&&(c=c.replace(Rt,f))}let l=Ni.indexOf(s[1]);return l===-1&&(l=zi.indexOf(s[1])),l===-1&&(l=void 0),{matcher:i.slice(s[0].length),handle:(f,p)=>{let h=c.includes("::")&&!au.includes(c)?{pseudo:`${f.pseudo}${c}`}:{selector:`${f.selector}${c}`};return p({...f,...h,sort:l,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${Pi}|${Ai}):`},{name:"pseudo:multi",match(i,a){o||(o=new RegExp(`^(${Ei})(?:${a.generator.config.separators.join("|")})`));let s=i.match(o);if(s)return Ii[s[1]].map(l=>({matcher:i.slice(s[0].length),handle:(f,p)=>p({...f,pseudo:`${f.pseudo}${l}`})}))},multiPass:!1,autocomplete:`(${Ei}):`}]}function Di(t){let{getBracket:e,h:r}=t,n,o,i;return{match(a,s){n&&o||(n=new RegExp(`^(${Be})-(${$n})(?:${s.generator.config.separators.join("|")})`),o=new RegExp(`^(${Be})-(${_n})(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`),i=new RegExp(`^(${Be})-(\\[.+\\])(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`));let c=a.match(n)||a.match(o)||a.match(i);if(c){let l=c[1],p=e(c[2],"[","]")?r.bracket(c[2]):ft[c[2]]||dt[c[2]]||`:${c[2]}`;return{matcher:a.slice(c[0].length),selector:h=>`${h}:${l}(${p})`}}},multiPass:!0,autocomplete:`(${Be})-(${$n}|${_n}):`}}function Ti(t,e){let r=!!t?.attributifyPseudo,n=t?.prefix??"";n=(Array.isArray(n)?n:[n]).filter(Boolean)[0]??"";let o=(i,a)=>su(i,r?`[${n}${i}=""]`:`.${n}${i}`,a,e);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var lu=/(part-\[(.+)\]:)(.+)/;function Fi(){return{match(t){let e=t.match(lu);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function se(t,e,r={}){let n;return{name:t,match(o,i){n||(n=new RegExp(`^${lt(t)}(?:${i.generator.config.separators.join("|")})`));let a=o.match(n);if(a){let s=o.slice(a[0].length),c=N(e).map(l=>({matcher:s,handle:(f,p)=>p({...f,...l(f)}),...r}));return c.length===1?c[0]:c}},autocomplete:`${t}:`}}function Z(t,e){let r;return{name:t,match(n,o){r||(r=new RegExp(`^${lt(t)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${e}`})}},autocomplete:`${t}:`}}function Ie(t,e,r){if(e.startsWith(`${t}[`)){let[n,o]=pt(e.slice(t.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function ne(t,e,r){for(let n of N(t))if(e.startsWith(n)){let o=Ie(n,e,r);if(o){let[i="",a=o[1]]=ne("/",o[1],r)??[];return[o[0],a,i]}for(let i of r.filter(a=>a!=="/")){let a=e.indexOf(i,n.length);if(a!==-1){let s=e.indexOf("/",n.length),c=s===-1||a<=s;return[e.slice(n.length,c?a:s),e.slice(a+i.length),c?"":e.slice(s+1,a)]}}}}var qi=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]],uu={body:[700,300],headings:[900,"white"],lead:[600,400],links:[900,"white"],bold:[900,"white"],counters:[500,400],bullets:[300,600],hr:[200,700],quotes:[900,100],"quote-borders":[200,700],captions:[500,400],kbd:[900,"white"],"kbd-shadows":[900,"white"],code:[900,"white"],"pre-code":[200,300],"pre-bg":[800,"rgb(0 0 0 / 50%)"],"th-borders":[300,600],"td-borders":[200,700]},C=t=>t.toFixed(7).replace(/0+$/,"").replace(/\.$/,""),Q=t=>`${C(t/16)}rem`,u=(t,e)=>`${C(t/e)}em`,pu={color:"var(--un-prose-body)","max-width":"65ch",p:{},'[class~="lead"]':{color:"var(--un-prose-lead)"},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},strong:{color:"var(--un-prose-bold)","font-weight":"600"},"a strong":{color:"inherit"},"blockquote strong":{color:"inherit"},"thead th strong":{color:"inherit"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker":{"font-weight":"400",color:"var(--un-prose-counters)"},"ul > li::marker":{color:"var(--un-prose-bullets)"},dt:{color:"var(--un-prose-headings)","font-weight":"600"},hr:{"border-color":"var(--un-prose-hr)","border-top-width":"1px"},blockquote:{"font-weight":"500","font-style":"italic",color:"var(--un-prose-quotes)","border-inline-start-width":"0.25rem","border-inline-start-color":"var(--un-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--un-prose-headings)","font-weight":"800"},"h1 strong":{"font-weight":"900",color:"inherit"},h2:{color:"var(--un-prose-headings)","font-weight":"700"},"h2 strong":{"font-weight":"800",color:"inherit"},h3:{color:"var(--un-prose-headings)","font-weight":"600"},"h3 strong":{"font-weight":"700",color:"inherit"},h4:{color:"var(--un-prose-headings)","font-weight":"600"},"h4 strong":{"font-weight":"700",color:"inherit"},img:{},picture:{display:"block"},video:{},kbd:{"font-weight":"500","font-family":"inherit",color:"var(--un-prose-kbd)","box-shadow":"0 0 0 1px rgb(var(--un-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--un-prose-kbd-shadows) / 10%)"},code:{color:"var(--un-prose-code)","font-weight":"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--un-prose-pre-code)","background-color":"var(--un-prose-pre-bg)","overflow-x":"auto","font-weight":"400"},"pre code":{"background-color":"transparent","border-width":"0","border-radius":"0",padding:"0","font-weight":"inherit",color:"inherit","font-size":"inherit","font-family":"inherit","line-height":"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%","table-layout":"auto","margin-top":u(32,16),"margin-bottom":u(32,16)},thead:{"border-bottom-width":"1px","border-bottom-color":"var(--un-prose-th-borders)"},"thead th":{color:"var(--un-prose-headings)","font-weight":"600","vertical-align":"bottom"},"tbody tr":{"border-bottom-width":"1px","border-bottom-color":"var(--un-prose-td-borders)"},"tbody tr:last-child":{"border-bottom-width":"0"},"tbody td":{"vertical-align":"baseline"},tfoot:{"border-top-width":"1px","border-top-color":"var(--un-prose-th-borders)"},"tfoot td":{"vertical-align":"top"},"th, td":{"text-align":"start"},"figure > *":{},figcaption:{color:"var(--un-prose-captions)"}},Mn={sm:{"font-size":Q(14),"line-height":C(24/14),p:{"margin-top":u(16,14),"margin-bottom":u(16,14)},'[class~="lead"]':{"font-size":u(18,14),"line-height":C(28/18),"margin-top":u(16,18),"margin-bottom":u(16,18)},blockquote:{"margin-top":u(24,18),"margin-bottom":u(24,18),"padding-inline-start":u(20,18)},h1:{"font-size":u(30,14),"margin-top":"0","margin-bottom":u(24,30),"line-height":C(36/30)},h2:{"font-size":u(20,14),"margin-top":u(32,20),"margin-bottom":u(16,20),"line-height":C(28/20)},h3:{"font-size":u(18,14),"margin-top":u(28,18),"margin-bottom":u(8,18),"line-height":C(28/18)},h4:{"margin-top":u(20,14),"margin-bottom":u(8,14),"line-height":C(20/14)},img:{"margin-top":u(24,14),"margin-bottom":u(24,14)},picture:{"margin-top":u(24,14),"margin-bottom":u(24,14)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":u(24,14),"margin-bottom":u(24,14)},kbd:{"font-size":u(12,14),"border-radius":Q(5),"padding-top":u(2,14),"padding-inline-end":u(5,14),"padding-bottom":u(2,14),"padding-inline-start":u(5,14)},code:{"font-size":u(12,14)},"h2 code":{"font-size":u(18,20)},"h3 code":{"font-size":u(16,18)},pre:{"font-size":u(12,14),"line-height":C(20/12),"margin-top":u(20,12),"margin-bottom":u(20,12),"border-radius":Q(4),"padding-top":u(8,12),"padding-inline-end":u(12,12),"padding-bottom":u(8,12),"padding-inline-start":u(12,12)},ol:{"margin-top":u(16,14),"margin-bottom":u(16,14),"padding-inline-start":u(22,14)},ul:{"margin-top":u(16,14),"margin-bottom":u(16,14),"padding-inline-start":u(22,14)},li:{"margin-top":u(4,14),"margin-bottom":u(4,14)},"ol > li":{"padding-inline-start":u(6,14)},"ul > li":{"padding-inline-start":u(6,14)},"> ul > li p":{"margin-top":u(8,14),"margin-bottom":u(8,14)},"> ul > li > p:first-child":{"margin-top":u(16,14)},"> ul > li > p:last-child":{"margin-bottom":u(16,14)},"> ol > li > p:first-child":{"margin-top":u(16,14)},"> ol > li > p:last-child":{"margin-bottom":u(16,14)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":u(8,14),"margin-bottom":u(8,14)},dl:{"margin-top":u(16,14),"margin-bottom":u(16,14)},dt:{"margin-top":u(16,14)},dd:{"margin-top":u(4,14),"padding-inline-start":u(22,14)},hr:{"margin-top":u(40,14),"margin-bottom":u(40,14)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":u(12,14),"line-height":C(18/12)},"thead th":{"padding-inline-end":u(12,12),"padding-bottom":u(8,12),"padding-inline-start":u(12,12)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":u(8,12),"padding-inline-end":u(12,12),"padding-bottom":u(8,12),"padding-inline-start":u(12,12)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":u(24,14),"margin-bottom":u(24,14)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":u(12,14),"line-height":C(16/12),"margin-top":u(8,12)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},base:{"font-size":Q(16),"line-height":C(28/16),p:{"margin-top":u(20,16),"margin-bottom":u(20,16)},'[class~="lead"]':{"font-size":u(20,16),"line-height":C(32/20),"margin-top":u(24,20),"margin-bottom":u(24,20)},blockquote:{"margin-top":u(32,20),"margin-bottom":u(32,20),"padding-inline-start":u(20,20)},h1:{"font-size":u(36,16),"margin-top":"0","margin-bottom":u(32,36),"line-height":C(40/36)},h2:{"font-size":u(24,16),"margin-top":u(48,24),"margin-bottom":u(24,24),"line-height":C(32/24)},h3:{"font-size":u(20,16),"margin-top":u(32,20),"margin-bottom":u(12,20),"line-height":C(32/20)},h4:{"margin-top":u(24,16),"margin-bottom":u(8,16),"line-height":C(24/16)},img:{"margin-top":u(32,16),"margin-bottom":u(32,16)},picture:{"margin-top":u(32,16),"margin-bottom":u(32,16)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":u(32,16),"margin-bottom":u(32,16)},kbd:{"font-size":u(14,16),"border-radius":Q(5),"padding-top":u(3,16),"padding-inline-end":u(6,16),"padding-bottom":u(3,16),"padding-inline-start":u(6,16)},code:{"font-size":u(14,16)},"h2 code":{"font-size":u(21,24)},"h3 code":{"font-size":u(18,20)},pre:{"font-size":u(14,16),"line-height":C(24/14),"margin-top":u(24,14),"margin-bottom":u(24,14),"border-radius":Q(6),"padding-top":u(12,14),"padding-inline-end":u(16,14),"padding-bottom":u(12,14),"padding-inline-start":u(16,14)},ol:{"margin-top":u(20,16),"margin-bottom":u(20,16),"padding-inline-start":u(26,16)},ul:{"margin-top":u(20,16),"margin-bottom":u(20,16),"padding-inline-start":u(26,16)},li:{"margin-top":u(8,16),"margin-bottom":u(8,16)},"ol > li":{"padding-inline-start":u(6,16)},"ul > li":{"padding-inline-start":u(6,16)},"> ul > li p":{"margin-top":u(12,16),"margin-bottom":u(12,16)},"> ul > li > p:first-child":{"margin-top":u(20,16)},"> ul > li > p:last-child":{"margin-bottom":u(20,16)},"> ol > li > p:first-child":{"margin-top":u(20,16)},"> ol > li > p:last-child":{"margin-bottom":u(20,16)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":u(12,16),"margin-bottom":u(12,16)},dl:{"margin-top":u(20,16),"margin-bottom":u(20,16)},dt:{"margin-top":u(20,16)},dd:{"margin-top":u(8,16),"padding-inline-start":u(26,16)},hr:{"margin-top":u(48,16),"margin-bottom":u(48,16)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":u(14,16),"line-height":C(24/14)},"thead th":{"padding-inline-end":u(8,14),"padding-bottom":u(8,14),"padding-inline-start":u(8,14)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":u(8,14),"padding-inline-end":u(8,14),"padding-bottom":u(8,14),"padding-inline-start":u(8,14)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":u(32,16),"margin-bottom":u(32,16)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":u(14,16),"line-height":C(20/14),"margin-top":u(12,14)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},lg:{"font-size":Q(18),"line-height":C(32/18),p:{"margin-top":u(24,18),"margin-bottom":u(24,18)},'[class~="lead"]':{"font-size":u(22,18),"line-height":C(32/22),"margin-top":u(24,22),"margin-bottom":u(24,22)},blockquote:{"margin-top":u(40,24),"margin-bottom":u(40,24),"padding-inline-start":u(24,24)},h1:{"font-size":u(48,18),"margin-top":"0","margin-bottom":u(40,48),"line-height":C(48/48)},h2:{"font-size":u(30,18),"margin-top":u(56,30),"margin-bottom":u(32,30),"line-height":C(40/30)},h3:{"font-size":u(24,18),"margin-top":u(40,24),"margin-bottom":u(16,24),"line-height":C(36/24)},h4:{"margin-top":u(32,18),"margin-bottom":u(8,18),"line-height":C(28/18)},img:{"margin-top":u(32,18),"margin-bottom":u(32,18)},picture:{"margin-top":u(32,18),"margin-bottom":u(32,18)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":u(32,18),"margin-bottom":u(32,18)},kbd:{"font-size":u(16,18),"border-radius":Q(5),"padding-top":u(4,18),"padding-inline-end":u(8,18),"padding-bottom":u(4,18),"padding-inline-start":u(8,18)},code:{"font-size":u(16,18)},"h2 code":{"font-size":u(26,30)},"h3 code":{"font-size":u(21,24)},pre:{"font-size":u(16,18),"line-height":C(28/16),"margin-top":u(32,16),"margin-bottom":u(32,16),"border-radius":Q(6),"padding-top":u(16,16),"padding-inline-end":u(24,16),"padding-bottom":u(16,16),"padding-inline-start":u(24,16)},ol:{"margin-top":u(24,18),"margin-bottom":u(24,18),"padding-inline-start":u(28,18)},ul:{"margin-top":u(24,18),"margin-bottom":u(24,18),"padding-inline-start":u(28,18)},li:{"margin-top":u(12,18),"margin-bottom":u(12,18)},"ol > li":{"padding-inline-start":u(8,18)},"ul > li":{"padding-inline-start":u(8,18)},"> ul > li p":{"margin-top":u(16,18),"margin-bottom":u(16,18)},"> ul > li > p:first-child":{"margin-top":u(24,18)},"> ul > li > p:last-child":{"margin-bottom":u(24,18)},"> ol > li > p:first-child":{"margin-top":u(24,18)},"> ol > li > p:last-child":{"margin-bottom":u(24,18)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":u(16,18),"margin-bottom":u(16,18)},dl:{"margin-top":u(24,18),"margin-bottom":u(24,18)},dt:{"margin-top":u(24,18)},dd:{"margin-top":u(12,18),"padding-inline-start":u(28,18)},hr:{"margin-top":u(56,18),"margin-bottom":u(56,18)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":u(16,18),"line-height":C(24/16)},"thead th":{"padding-inline-end":u(12,16),"padding-bottom":u(12,16),"padding-inline-start":u(12,16)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":u(12,16),"padding-inline-end":u(12,16),"padding-bottom":u(12,16),"padding-inline-start":u(12,16)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":u(32,18),"margin-bottom":u(32,18)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":u(16,18),"line-height":C(24/16),"margin-top":u(16,16)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},xl:{"font-size":Q(20),"line-height":C(36/20),p:{"margin-top":u(24,20),"margin-bottom":u(24,20)},'[class~="lead"]':{"font-size":u(24,20),"line-height":C(36/24),"margin-top":u(24,24),"margin-bottom":u(24,24)},blockquote:{"margin-top":u(48,30),"margin-bottom":u(48,30),"padding-inline-start":u(32,30)},h1:{"font-size":u(56,20),"margin-top":"0","margin-bottom":u(48,56),"line-height":C(56/56)},h2:{"font-size":u(36,20),"margin-top":u(56,36),"margin-bottom":u(32,36),"line-height":C(40/36)},h3:{"font-size":u(30,20),"margin-top":u(48,30),"margin-bottom":u(20,30),"line-height":C(40/30)},h4:{"margin-top":u(36,20),"margin-bottom":u(12,20),"line-height":C(32/20)},img:{"margin-top":u(40,20),"margin-bottom":u(40,20)},picture:{"margin-top":u(40,20),"margin-bottom":u(40,20)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":u(40,20),"margin-bottom":u(40,20)},kbd:{"font-size":u(18,20),"border-radius":Q(5),"padding-top":u(5,20),"padding-inline-end":u(8,20),"padding-bottom":u(5,20),"padding-inline-start":u(8,20)},code:{"font-size":u(18,20)},"h2 code":{"font-size":u(31,36)},"h3 code":{"font-size":u(27,30)},pre:{"font-size":u(18,20),"line-height":C(32/18),"margin-top":u(36,18),"margin-bottom":u(36,18),"border-radius":Q(8),"padding-top":u(20,18),"padding-inline-end":u(24,18),"padding-bottom":u(20,18),"padding-inline-start":u(24,18)},ol:{"margin-top":u(24,20),"margin-bottom":u(24,20),"padding-inline-start":u(32,20)},ul:{"margin-top":u(24,20),"margin-bottom":u(24,20),"padding-inline-start":u(32,20)},li:{"margin-top":u(12,20),"margin-bottom":u(12,20)},"ol > li":{"padding-inline-start":u(8,20)},"ul > li":{"padding-inline-start":u(8,20)},"> ul > li p":{"margin-top":u(16,20),"margin-bottom":u(16,20)},"> ul > li > p:first-child":{"margin-top":u(24,20)},"> ul > li > p:last-child":{"margin-bottom":u(24,20)},"> ol > li > p:first-child":{"margin-top":u(24,20)},"> ol > li > p:last-child":{"margin-bottom":u(24,20)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":u(16,20),"margin-bottom":u(16,20)},dl:{"margin-top":u(24,20),"margin-bottom":u(24,20)},dt:{"margin-top":u(24,20)},dd:{"margin-top":u(12,20),"padding-inline-start":u(32,20)},hr:{"margin-top":u(56,20),"margin-bottom":u(56,20)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":u(18,20),"line-height":C(28/18)},"thead th":{"padding-inline-end":u(12,18),"padding-bottom":u(16,18),"padding-inline-start":u(12,18)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":u(16,18),"padding-inline-end":u(12,18),"padding-bottom":u(16,18),"padding-inline-start":u(12,18)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":u(40,20),"margin-bottom":u(40,20)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":u(18,20),"line-height":C(28/18),"margin-top":u(18,18)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},"2xl":{"font-size":Q(24),"line-height":C(40/24),p:{"margin-top":u(32,24),"margin-bottom":u(32,24)},'[class~="lead"]':{"font-size":u(30,24),"line-height":C(44/30),"margin-top":u(32,30),"margin-bottom":u(32,30)},blockquote:{"margin-top":u(64,36),"margin-bottom":u(64,36),"padding-inline-start":u(40,36)},h1:{"font-size":u(64,24),"margin-top":"0","margin-bottom":u(56,64),"line-height":C(64/64)},h2:{"font-size":u(48,24),"margin-top":u(72,48),"margin-bottom":u(40,48),"line-height":C(52/48)},h3:{"font-size":u(36,24),"margin-top":u(56,36),"margin-bottom":u(24,36),"line-height":C(44/36)},h4:{"margin-top":u(40,24),"margin-bottom":u(16,24),"line-height":C(36/24)},img:{"margin-top":u(48,24),"margin-bottom":u(48,24)},picture:{"margin-top":u(48,24),"margin-bottom":u(48,24)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":u(48,24),"margin-bottom":u(48,24)},kbd:{"font-size":u(20,24),"border-radius":Q(6),"padding-top":u(6,24),"padding-inline-end":u(8,24),"padding-bottom":u(6,24),"padding-inline-start":u(8,24)},code:{"font-size":u(20,24)},"h2 code":{"font-size":u(42,48)},"h3 code":{"font-size":u(32,36)},pre:{"font-size":u(20,24),"line-height":C(36/20),"margin-top":u(40,20),"margin-bottom":u(40,20),"border-radius":Q(8),"padding-top":u(24,20),"padding-inline-end":u(32,20),"padding-bottom":u(24,20),"padding-inline-start":u(32,20)},ol:{"margin-top":u(32,24),"margin-bottom":u(32,24),"padding-inline-start":u(38,24)},ul:{"margin-top":u(32,24),"margin-bottom":u(32,24),"padding-inline-start":u(38,24)},li:{"margin-top":u(12,24),"margin-bottom":u(12,24)},"ol > li":{"padding-inline-start":u(10,24)},"ul > li":{"padding-inline-start":u(10,24)},"> ul > li p":{"margin-top":u(20,24),"margin-bottom":u(20,24)},"> ul > li > p:first-child":{"margin-top":u(32,24)},"> ul > li > p:last-child":{"margin-bottom":u(32,24)},"> ol > li > p:first-child":{"margin-top":u(32,24)},"> ol > li > p:last-child":{"margin-bottom":u(32,24)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":u(16,24),"margin-bottom":u(16,24)},dl:{"margin-top":u(32,24),"margin-bottom":u(32,24)},dt:{"margin-top":u(32,24)},dd:{"margin-top":u(12,24),"padding-inline-start":u(38,24)},hr:{"margin-top":u(72,24),"margin-bottom":u(72,24)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":u(20,24),"line-height":C(28/20)},"thead th":{"padding-inline-end":u(12,20),"padding-bottom":u(16,20),"padding-inline-start":u(12,20)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":u(16,20),"padding-inline-end":u(12,20),"padding-bottom":u(16,20),"padding-inline-start":u(12,20)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":"0"},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":"0"},figure:{"margin-top":u(48,24),"margin-bottom":u(48,24)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":u(20,24),"line-height":C(32/20),"margin-top":u(20,20)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}}};function fu(t){let e=st(uu);if(t)for(let r in t){let[n,o]=N(t[r]),[i,a]=e[r];e[r]=[n??i,o??a]}return e}function du(t){return t?ct(Mn,t):Mn}function Bi(t,e){let r=e.selectorName||"prose",n=`:not(:where([class~="not-${r}"],[class~="not-${r}"] *))`,o=e.important===!0,i="";for(let[a,s]of Object.entries(t))if(typeof s!="object")i+=`${a}:${s}${o?" !important":""};`;else{let c=`:where(${a})${n}`;i+=`${c} {`;for(let[l,f]of Object.entries(s))i+=`${l}:${f}${o?" !important":""};`;i+="}"}return i}function hu(t){for(let[e,...r]of qi)if(e===t)return r.length>0?r:[e]}var On=t=>{let e=t?.selectorName??"prose",r=t?.compatibility?.noColonNot||t?.compatibility?.noColonWhere,n=t?.cssVarPrefix??"--un-prose",o=fu(t?.colorScheme),i=du(t?.sizeScheme),a=(p,h)=>{let m=typeof t?.cssExtend=="function"?t?.cssExtend(h):t?.cssExtend;return ct(p,m??{})},s=p=>(typeof t?.important=="string"&&(p=`${t.important} ${p}`),t?.compatibility?.noColonIs||(p=`:is(${p})`),p),c=new RegExp(`^${e}-default$`),l=new RegExp(`^${e}-([-\\w]+)$`),f=new RegExp(`^${e}-(${Object.keys(i).join("|")})$`);return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},shortcuts:[[e,[`${e}-default`,`${e}-gray`],{layer:"typography"}]],rules:[[c,(p,{symbols:h,theme:m})=>{let g=a(ct(pu,Mn.base),m),b=Bi(g,t??{});return{[h.body]:b,[h.selector]:s}},{layer:"typography",autocomplete:"prose",internal:!0}],[l,([,p],{theme:h,symbols:m})=>{let g=h.colors?.[p];return!g||typeof g!="object"?void 0:["red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue","indigo","violet","purple","fuchsia","pink","rose"].includes(p)?{[`${n}-links`]:g[600],[`${n}-invert-links`]:g[500],[m.selector]:s}:Object.entries(o).reduce((x,[$,S])=>{let[_,E]=S,y=j=>g[j]??h[j]??j,A=y(_),w=y(E),L=`${n}-${$}`,R=`${n}-invert-${$}`;x[L]=He(A,`var(${L}-opacity)`),x[R]=He(w,`var(${R}-opacity)`);for(let[j,G]of[[A,`${L}-opacity`],[w,`${R}-opacity`]])En.some(V=>j.includes(V))&&(x[G]="1");return x},{[m.selector]:s})},{layer:"typography",autocomplete:`${e}-$colors`}],[f,([,p],{symbols:h,theme:m})=>{let g=Bi(a(i[p],m),t??{});return{[h.body]:g,[h.selector]:b=>(typeof t?.important=="string"&&(b=`${t.important} ${b}`),t?.compatibility?.noColonIs||(b=`:is(${b})`),b)}},{layer:"typography",autocomplete:`${e}-(${Object.keys(i).join("|")})`}],[`${e}-invert`,[{[`${n}-body`]:`var(${n}-invert-body)`,[`${n}-headings`]:`var(${n}-invert-headings)`,[`${n}-lead`]:`var(${n}-invert-lead)`,[`${n}-links`]:`var(${n}-invert-links)`,[`${n}-bold`]:`var(${n}-invert-bold)`,[`${n}-counters`]:`var(${n}-invert-counters)`,[`${n}-bullets`]:`var(${n}-invert-bullets)`,[`${n}-hr`]:`var(${n}-invert-hr)`,[`${n}-quotes`]:`var(${n}-invert-quotes)`,[`${n}-quote-borders`]:`var(${n}-invert-quote-borders)`,[`${n}-captions`]:`var(${n}-invert-captions)`,[`${n}-kbd`]:`var(${n}-invert-kbd)`,[`${n}-kbd-shadows`]:`var(${n}-invert-kbd-shadows)`,[`${n}-code`]:`var(${n}-invert-code)`,[`${n}-pre-code`]:`var(${n}-invert-pre-code)`,[`${n}-pre-bg`]:`var(${n}-invert-pre-bg)`,[`${n}-th-borders`]:`var(${n}-invert-th-borders)`,[`${n}-td-borders`]:`var(${n}-invert-td-borders)`,[H.selector]:s}],{layer:"typography"}]],variants:[{name:"typography element modifiers",match:p=>{if(p.startsWith(`${e}-`)){let h=new RegExp(`^${e}-(\\w+)[:-].+$`),m=p.match(h)?.[1];if(m){let g=hu(m);if(g?.length)return{matcher:p.slice(e.length+m.length+2),selector:b=>{let x=`:not(:where([class~="not-${e}"],[class~="not-${e}"] *))`;return r?g.map(S=>`${b} ${S}`).join(","):`${b} :is(:where(${g})${x})`}}}}},autocomplete:`${e}-(${qi.map(p=>`${p[0]}:`).join("|")})`}]}};var Ui="@unocss/preset-wind4",Nt="$$mini-no-negative",zt={transparent:"transparent",current:"currentColor",inherit:"inherit"},le={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-inline"],y:["-block"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},Nn={...le,x:["-inset-inline"],y:["-inset-block"],s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},It={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},zn={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Gi=["x","y","z"],Vi=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],ee=Object.assign({},...Vi.map(t=>({[t.replace(/ /,"-")]:t})),...Vi.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),D=["inherit","initial","revert","revert-layer","unset"],gr=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,In=/^(var)\s*\((.+)\)(.*)/,br=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,mu=/^(-?\d*(?:\.\d+)?)$/,Ki=/^(px|[sld]?v[wh])$/i,Yi={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},yr=/^\[(color|image|length|size|position|quoted|string|number|family):/i,Xi=/,(?![^()]*\))/g;var gu=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function me(t){return+t.toFixed(10)}function bu(t){let e=t.match(br);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${me(o)}${n}`}function yu(t){if(t==="auto"||t==="a")return"auto"}function vu(t){if(!t)return;if(Ki.test(t))return`${Yi[t]}${t}`;let e=t.match(br);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${me(o)}${n}`:`${me(o/4)}rem`}function ku(t){if(Ki.test(t))return`${Yi[t]}${t}`;let e=t.match(br);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${me(o)}${n}`:`${me(o)}px`}function Ji(t){if(!mu.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return me(e)}function xu(t){t.endsWith("%")&&(t=t.slice(0,-1));let e=Ji(t);if(e!=null)return`${e}%`}function wu(t){if(!t)return;if(t==="full")return"100%";let[e,r]=t.split("/"),n=Number.parseFloat(e)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${me(n*100)}%`}function We(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,n,o=t.match(yr);if(!o)r=t.slice(1,-1);else{if(!e)n=o[1];else if(o[1]!==e)return;r=t.slice(o[0].length,-1)}if(!r||r==='=""')return;if(r.startsWith("--")){let[a,s]=r.slice(2).split(",");r=`var(--${ze(a)}${s?`, ${s}`:""})`}let i=0;for(let a of r)if(a==="[")i+=1;else if(a==="]"&&(i-=1,i<0))return;if(i)return;switch(n){case"string":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return r.replace(/(url\(.*?\))/g,a=>a.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>{let s=[];return a.replace(/var\((--.+?)[,)]/g,(c,l)=>(s.push(l),c.replace(l,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function Su(t){return We(t)}function $u(t){return We(t,"color")}function _u(t){return We(t,"length")||We(t,"size")}function Cu(t){return We(t,"position")}function Eu(t){return We(t,"family")}function Pu(t){return We(t,"number")}function Au(t){if(t.startsWith("var("))return t;let e=t.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(e){let[r,n]=e[1].split(",");return`var(--${ze(r)}${n?`, ${n}`:""})`}}function Lu(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${me(o)}${n}`:`${me(o)}ms`}function Mu(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0deg":n?`${me(o)}${n}`:`${me(o)}deg`}function Ou(t){if(D.includes(t))return t}function Ru(t){if(t.split(",").every(e=>gu.includes(e)))return t}function Nu(t){if(["top","left","right","bottom","center"].includes(t))return t}function zu(t){if(t==="none")return"none"}var Iu={__proto__:null,auto:yu,bracket:Su,bracketOfColor:$u,bracketOfFamily:Eu,bracketOfLength:_u,bracketOfNumber:Pu,bracketOfPosition:Cu,cssvar:Au,degree:Mu,fraction:wu,global:Ou,none:zu,number:Ji,numberWithUnit:bu,percent:xu,position:Nu,properties:Ru,px:ku,rem:vu,time:Lu},ju=Ri(Iu),d=ju;function oe(t,e){let r=d.number(t)??e;if(r!=null){let n=Number(r);return String(r).endsWith("%")&&(n=Number(String(r).slice(0,-1))/100),n}}function z(t,e=le,r=(n,o)=>`${n}${o}`){return(([n,o,i],{theme:a})=>{if(i!=null&&o!=null){let s,c=i.startsWith("-");if(c&&(i=i.slice(1)),s=oe(i),s!=null&&!Number.isNaN(s))return M("spacing"),e[o].map(l=>[r(t,l),`calc(var(--spacing) * ${c?"-":""}${s})`]);if(a.spacing&&i in a.spacing)return M("spacing",i),e[o].map(l=>[r(t,l),c?`calc(var(--spacing-${i}) * -1)`:`var(--spacing-${i})`]);if(s=d.bracket.cssvar.global.auto.fraction.rem(c?`-${i}`:i),s!=null)return e[o].map(l=>[r(t,l),s])}})}function jt(t,e){let r,[n,...o]=xe(t,["/",":"],3)??[];if(n!=null){let b=(n.match(yr)??[])[1];(b==null||b==="color")&&(r=[n,...o])}if(!r)return;let i,[a,s,c]=r;An(s)||An(d.bracket(s??""))?c=s:i=s;let l=a.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[f]=l;if(!f)return;let p=Hi(e,l);if(!p&&l.length>=2){let b=l.at(-1),x=l.at(-2);if(/^\d+$/.test(b)){let $=l.slice(0,-2).concat([`${x}${b}`]);p=Hi(e,$)}}let{no:h,keys:m,color:g}=p??{};if(!g){let b=d.bracketOfColor(a),x=b||a;if(d.numberWithUnit(x))return;/^#[\da-f]+$/i.test(x)?g=x:/^hex-[\da-fA-F]+$/.test(x)?g=`#${x.slice(4)}`:a.startsWith("$")&&(g=d.cssvar(a)),g=g||b}return{opacity:i,modifier:c&&d.bracket.cssvar(c)||c,name:f,no:h,color:g??zt[f],alpha:d.bracket.cssvar.percent(i??""),keys:m,get cssColor(){return Ve(this.color)}}}function Hi(t,e){let r,n,o,i=Dt(t,"colors",e);if(typeof i=="object"?"DEFAULT"in i&&(r=i.DEFAULT,n="DEFAULT",o=[...e,n]):typeof i=="string"&&(r=i,o=e,n=e.at(-1)),!!r)return{color:r,no:n,keys:o}}function Dt(t,e,r){let n=t[e];function o(i,a){if(!(!i||typeof i!="object")){if(a.length===0)return i;for(let s=a.length;s>0;s--){let c=a.slice(0,s).join("-");if(c in i){let l=i[c];return s===a.length?l:o(l,a.slice(s))}}}}return o(n,r)}function jn(t,e,r,n){if(!t)return;let{color:o,keys:i,alpha:a,modifier:s}=t,c=n?.generator.config.envMode==="dev"&&o?` /* ${o} */`:"",l={};if(o){let f=[l];if(Object.values(zt).includes(o))l[e]=o;else{let p=`--un-${r}-opacity`,h=i?B("colors",i):o,m=s??(i?"in srgb":"in oklab");if(!m.startsWith("in ")&&!m.startsWith("var(")&&(m=`in ${m}`),l[e]=`color-mix(${m}, ${h} ${a??`var(${p})`}, transparent)${c}`,f.push(k(p,{syntax:"<percentage>",initialValue:"100%"})),i&&(M("colors",i),!s)){let g=["shadow","inset-shadow","text-shadow","drop-shadow"].includes(r)?`${a?`color-mix(in oklab, ${h} ${a}, transparent)`:`${h}`} var(${p})`:`${h} ${a??`var(${p})`}`;f.push({[H.parent]:"@supports (color: color-mix(in lab, red, red))",[H.noMerge]:!0,[H.shortcutsNoMerge]:!0,[e]:`color-mix(in oklab, ${g}, transparent)${c}`})}n?.theme&&mt(o,n.theme)}return f}}function T(t,e){return([,r],n)=>{let o=jt(r??"",n.theme);if(o)return jn(o,t,e,n)}}function vr(t,e,r){let n=[];t=N(t);for(let o=0;o<t.length;o++){let i=xe(t[o]," ",6);if(!i||i.length<3)return t;let a=!1,s=i.indexOf("inset");s!==-1&&(i.splice(s,1),a=!0);let c="",l=i.at(-1);if(Ve(i.at(0))){let f=Ve(i.shift());f&&(c=He(f))}else if(Ve(l)){let f=Ve(i.pop());f&&(c=He(f))}else if(l&&In.test(l)){let f=i.pop();f&&(c=f)}n.push(`${a?"inset ":""}${i.join(" ")} var(${e}, ${r?`oklab(from ${c} l a b / ${r})`:c})`)}return n}function we(t,e){return t!=null&&!!jt(t,e)?.color}var Wi=/[a-z]+/gi,Rn=new WeakMap;function Ke({theme:t,generator:e},r="breakpoint"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if(Rn.has(t))return Rn.get(t);let o=Object.entries(n).sort((i,a)=>Number.parseInt(i[1].replace(Wi,""))-Number.parseInt(a[1].replace(Wi,""))).map(([i,a])=>({point:i,size:a}));return Rn.set(t,o),o}function O(t,e){return D.map(r=>[`${t}-${r}`,{[e??t]:r}])}function k(t,e={}){let{syntax:r="*",inherits:n=!1,initialValue:o}=e,i={[H.shortcutsNoMerge]:!0,[H.noMerge]:!0,[H.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${t}`}],syntax:JSON.stringify(r),inherits:n?"true":"false"};return o!=null&&(i["initial-value"]=o),Du(t,o?String(o):"initial"),i}function ht(t){return t!=null&&gr.test(t)}function Zi(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),gr.test(t)||br.test(t)}function kr(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function Dn(t,e=!1){return e?t.trim():t.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}var Ue=new Set([]);function M(t,e="DEFAULT"){let r=`${t}:${N(e).join("-")}`;Ue.has(r)||Ue.add(r)}function B(t,e){return`var(--${t}-${N(e).join("-")})`}function mt(t,e){if(t.startsWith("var(")){let r=t.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(r){let[n,...o]=r.split("-"),i=Dt(e,n,o);typeof i=="string"&&(M(n,o),mt(i,e))}}}var Ge=new Map;function Du(t,e){Ge.has(t)||Ge.set(t,e)}function Tu({important:t}){if(t==null||t===!1)return[];let e=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[r=>{r.layer!=="properties"&&(t===!0?r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")}):r.selector.startsWith(t)||(r.selector=`${t} ${e(r.selector)}`))}]}function Fu({variablePrefix:t}){return t!=="un-"?[r=>{r.entries.forEach(n=>{n[0]=n[0].replace(/^--un-/,`--${t}`),typeof n[1]=="string"&&(n[1]=n[1].replace(/var\(--un-/g,`var(--${t}`))})}]:[]}function Qi(t){return[Tu,Fu].flatMap(e=>e(t))}var Bu={name:"aria",match(t,e){let r=ne("aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[aria-${i}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function gt(t){return{name:`${t}-aria`,match(e,r){let n=ne(`${t}-aria-`,e,r.generator.config.separators);if(n){let[o,i,a]=n,s=d.bracket(o)??r.theme.aria?.[o]??"";if(s){let c={group:`&:is(:where(.group${a?`\\/${a}`:""})[aria-${s}] *)`,peer:`&:is(:where(.peer${a?`\\/${a}`:""})[aria-${s}] ~ *)`,previous:`:where(*[aria-${s}] + &)`,parent:`:where(*[aria-${s}] > &)`,has:`&:has(*[aria-${s}])`,in:`:where(*[aria-${s}]) &`};return{matcher:i,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}${l.selector}`,selector:c[t]})}}}},multiPass:!0}}var qu=[gt("group"),gt("peer"),gt("parent"),gt("previous"),gt("has"),gt("in")],ea=/(max|min)-\[([^\]]*)\]:/;function Vu(){let t={};return{name:"breakpoints",match(e,r){if(ea.test(e)){let o=e.match(ea);return{matcher:e.replace(o[0],""),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(Ke(r)??[]).map(({point:o,size:i},a)=>[o,i,a]);for(let[o,i,a]of n){t[o]||(t[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let s=e.match(t[o]);if(!s)continue;let[,c]=s,l=e.slice(c.length);if(l==="container")continue;let f=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),p=c.startsWith("at-")||c.startsWith("~"),h=3e3;return f?(h-=a+1,{matcher:l,handle:(m,g)=>g({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (max-width: ${Ln(i)})`,parentOrder:h})}):(h+=a+1,p&&a<n.length-1?{matcher:l,handle:(m,g)=>g({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${Ln(n[a+1][1])})`,parentOrder:h})}:{matcher:l,handle:(m,g)=>g({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:h})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}var Hu=[se("*",t=>({selector:`${t.selector} > *`}),{order:-1}),se("**",t=>({selector:`${t.selector} *`}),{order:-1})];function Tt(t,e){return{name:`combinator:${t}`,match(r,n){if(!r.startsWith(t))return;let o=n.generator.config.separators,i=Ie(`${t}-`,r,o);if(!i){for(let s of o)if(r.startsWith(`${t}${s}`)){i=["",r.slice(t.length+s.length)];break}if(!i)return}let a=d.bracket(i[0])??"";return a===""&&(a="*"),{matcher:i[1],selector:s=>`${s}${e}${a}`}},multiPass:!0}}var Wu=[Tt("all"," "),Tt("children",">"),Tt("next","+"),Tt("sibling","+"),Tt("siblings","~")],Uu=[se("svg",t=>({selector:`${t.selector} svg`}))],Gu={name:"@",match(t,e){if(t.startsWith("@container"))return;let r=ne("@",t,e.generator.config.separators);if(r){let[n,o,i]=r,a=d.bracket(n),s;if(a?s=d.numberWithUnit(a):s=e.theme.container?.[n]??"",s){let c=1e3+Object.keys(e.theme.container??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${s})`,parentOrder:c})}}}},multiPass:!0};function Ku(t={}){if(t?.dark==="class"||typeof t.dark=="object"){let{dark:e=".dark",light:r=".light"}=typeof t.dark=="string"?{}:t.dark;return[se("dark",n=>({prefix:`${e} $$ ${n.prefix}`})),se("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[Z("dark","@media (prefers-color-scheme: dark)"),Z("light","@media (prefers-color-scheme: light)")]}var Yu=[se(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),se(".light",t=>({prefix:`.light $$ ${t.prefix}`})),Z("@dark","@media (prefers-color-scheme: dark)"),Z("@light","@media (prefers-color-scheme: light)"),Z("not-dark","@media not (prefers-color-scheme: dark)")],Xu={name:"data",match(t,e){let r=ne("data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,selector:a=>`${a}[data-${i}]`}}},multiPass:!0};function bt(t){return{name:`${t}-data`,match(e,r){let n=ne(`${t}-data-`,e,r.generator.config.separators);if(n){let[o,i,a]=n,s=d.bracket(o)??r.theme.data?.[o]??"";if(s){let c={group:`&:is(:where(.group${a?`\\/${a}`:""})[data-${s}] *)`,peer:`&:is(:where(.peer${a?`\\/${a}`:""})[data-${s}] ~ *)`,previous:`:where(*[data-${s}] + &)`,parent:`:where(*[data-${s}] > &)`,has:`&:has(*[data-${s}])`,in:`:where(*[data-${s}]) &`};return{matcher:i,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}${l.selector}`,selector:c[t]})}}}},multiPass:!0}}var Ju=[bt("group"),bt("peer"),bt("parent"),bt("previous"),bt("has"),bt("in")],Zu=[se("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),se("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function Qu(){let t;return{name:"important",match(e,r){t||(t=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=e.match(t);if(o?n=e.slice(o[0].length):e.endsWith("!")&&(n=e.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),i)}}}}var ep=se("inert",t=>({parent:`${t.parent?`${t.parent} $$ `:""}${t.selector}`,selector:"&:is([inert],[inert] *)"})),tp=Z("noscript","@media (scripting: none)"),rp={name:"scripting",match(t,e){let r=ne(["script-","scripting-"],t,e.generator.config.separators);if(r){let[n,o]=r;if(["none","initial-only","enabled"].includes(n))return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (scripting: ${n})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},np=Z("print","@media print"),op={name:"media",match(t,e){let r=ne("media-",t,e.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??"";if(i===""&&(i=e.theme.media?.[n]??""),i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${i}`})}}},multiPass:!0,autocomplete:"media-$media"},ip=[Z("contrast-more","@media (prefers-contrast: more)"),Z("contrast-less","@media (prefers-contrast: less)")],ap=[Z("motion-reduce","@media (prefers-reduced-motion: reduce)"),Z("motion-safe","@media (prefers-reduced-motion: no-preference)")],sp=[Z("landscape","@media (orientation: landscape)"),Z("portrait","@media (orientation: portrait)")],lp=[Z("forced-colors","@media (forced-colors: active)")],cp={name:"selector",match(t,e){let r=Ie("selector-",t,e.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},up={name:"layer",match(t,e){let r=ne("layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??n;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${i}`})}}}},pp={name:"uno-layer",match(t,e){let r=ne("uno-layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},fp={name:"scope",match(t,e){let r=Ie("scope-",t,e.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n);if(i)return{matcher:o,selector:a=>`${i} $$ ${a}`}}}},dp={name:"variables",match(t,e){if(!t.startsWith("["))return;let[r,n]=pt(t,"[","]")??[];if(!(r&&n))return;let o;for(let s of e.generator.config.separators)if(n.startsWith(s)){o=n.slice(s.length);break}if(o==null)return;let i=d.bracket(r)??"",a=i.startsWith("@");if(a||i.includes("&"))return{matcher:o,handle(s,c){let l=a?{parent:`${s.parent?`${s.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,s.selector)};return c({...s,...l})}}},multiPass:!0},hp={name:"theme-variables",match(t,e){if(Mi(t))return{matcher:t,handle(r,n){return n({...r,entries:JSON.parse(Oi(JSON.stringify(r.entries),e.theme))})}}}},mp=[se("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))],gp={name:"implicit-group",match(t,e){let r=ne("in-",t,e.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??n;if(i)return{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${a.selector}`,selector:`:where(*:is(${i})) &`})}}}},ta=/^-?[0-9.]+(?:[a-z]+|%)?$/,ra=/-?[0-9.]+(?:[a-z]+|%)?/,bp=[/\b(opacity|color|flex|backdrop-filter|^filter|^scale|transform|mask-image)\b/];function yp(t){let e=t.match(gr)||t.match(In);if(e){let[r,n]=qe(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r)return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}var vp=/\b(hue-rotate)\s*(\(.*)/;function kp(t){let e=t.match(vp);if(e){let[r,n]=qe(e[2],"(",")"," ")??[];if(r){let o=ta.test(r.slice(1,-1))?r.replace(ra,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${e[1]}${o}${n?` ${n}`:""}`}}}var xp={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(n=>n[0]===Nt))return;let r=!1;return e.forEach(n=>{if(N(n[2]).includes(Nt))return;let o=n[1]?.toString();if(!o||o==="0"||bp.some(s=>s.test(n[0])))return;let i=yp(o);if(i){n[1]=i,r=!0;return}let a=kp(o);if(a){n[1]=a,r=!0;return}ta.test(o)&&(n[1]=o.replace(ra,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?e:[]}}}},wp=(t,{theme:e})=>{let r=t.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(we(i,e)||Sp(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function Sp(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?d.bracket.percent(e[1])!=null:!1}function $p(){return ji({getBracket:pt,h:d,variantGetBracket:Ie})}function _p(){return Di({getBracket:pt,h:d,variantGetBracket:Ie})}function Cp(t={}){return Ti(t,{getBracket:pt,h:d,variantGetBracket:Ie})}var Ep=Fi(),Pp={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}},Ap={name:"supports",match(t,e){let r=ne("supports-",t,e.generator.config.separators);if(r){let[n,o]=r,i=d.bracket(n)??"";if(i===""&&(i=e.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function na(t){return[Bu,Xu,up,cp,pp,xp,Pp,Qu(),Ap,tp,rp,np,op,...ip,...ap,...sp,...lp,Vu(),...Wu,...Uu,wp,...$p(),_p(),...Cp(t),Ep,...Ku(t),...Yu,...Zu,fp,...Hu,ep,Gu,dp,...Ju,...qu,hp,...mp,gp].flat()}var Tn={black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"},light:{50:"oklch(99.4% 0 0)",100:"oklch(99.11% 0 0)",200:"oklch(98.51% 0 0)",300:"oklch(98.16% 0.0017 247.84)",400:"oklch(97.31% 0 0)",500:"oklch(96.12% 0 0)",600:"oklch(96.32% 0.0034 247.86)",700:"oklch(94.17% 0.0052 247.88)",800:"oklch(91.09% 0.007 247.9)",900:"oklch(90.72% 0.0051 228.82)",950:"oklch(89.23% 0.006 239.83)"},dark:{50:"oklch(40.91% 0 0)",100:"oklch(35.62% 0 0)",200:"oklch(31.71% 0 0)",300:"oklch(29.72% 0 0)",400:"oklch(25.2% 0 0)",500:"oklch(23.93% 0 0)",600:"oklch(22.73% 0.0038 286.09)",700:"oklch(22.21% 0 0)",800:"oklch(20.9% 0 0)",900:"oklch(16.84% 0 0)",950:"oklch(13.44% 0 0)"}};Object.values(Tn).forEach(t=>{typeof t!="string"&&t!==void 0&&(t.DEFAULT=t.DEFAULT||t[400])});var Lp={keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},Mp={busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},Op={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Rp={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"'].join(","),serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"].join(","),mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"].join(",")},Np={xs:{fontSize:"0.75rem",lineHeight:"1rem"},sm:{fontSize:"0.875rem",lineHeight:"1.25rem"},base:{fontSize:"1rem",lineHeight:"1.5rem"},lg:{fontSize:"1.125rem",lineHeight:"1.75rem"},xl:{fontSize:"1.25rem",lineHeight:"1.75rem"},"2xl":{fontSize:"1.5rem",lineHeight:"2rem"},"3xl":{fontSize:"1.875rem",lineHeight:"2.25rem"},"4xl":{fontSize:"2.25rem",lineHeight:"2.5rem"},"5xl":{fontSize:"3rem",lineHeight:"1"},"6xl":{fontSize:"3.75rem",lineHeight:"1"},"7xl":{fontSize:"4.5rem",lineHeight:"1"},"8xl":{fontSize:"6rem",lineHeight:"1"},"9xl":{fontSize:"8rem",lineHeight:"1"}},zp={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Ip={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},jp={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Dp={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Tp={portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},Fp={DEFAULT:"0.25rem",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},Bp={DEFAULT:"0.25rem",none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","4xl":"2rem"},qp={DEFAULT:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],"2xs":"0 1px rgb(0 0 0 / 0.05)",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:["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)",none:"0 0 rgb(0 0 0 / 0)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},Vp={"2xs":"inset 0 1px rgb(0 0 0 / 0.05)",xs:"inset 0 1px 1px rgb(0 0 0 / 0.05)",sm:"inset 0 2px 4px rgb(0 0 0 / 0.05)",none:"0 0 rgb(0 0 0 / 0)"},Hp={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],xs:"0 1px 1px rgb(0 0 0 / 0.05)",sm:"0 1px 2px rgb(0 0 0 / 0.15)",md:"0 3px 3px rgb(0 0 0 / 0.12)",lg:"0 4px 4px rgb(0 0 0 / 0.15)",xl:"0 9px 7px rgb(0 0 0 / 0.1)","2xl":"0 25px 25px rgb(0 0 0 / 0.15)"},Wp={none:"0 0 rgb(0 0 0 / 0)","2xs":"0 1px 0 rgb(0 0 0 / 0.15)",xs:"0 1px 1px rgb(0 0 0 / 0.2)",sm:["0 1px 0 rgb(0 0 0 / 0.075)","0 1px 1px rgb(0 0 0 / 0.075)","0 2px 2px rgb(0 0 0 / 0.075)"],md:["0 1px 1px rgb(0 0 0 / 0.1)","0 1px 2px rgb(0 0 0 / 0.1)","0 2px 4px rgb(0 0 0 / 0.1)"],lg:["0 1px 2px rgb(0 0 0 / 0.1)","0 3px 2px rgb(0 0 0 / 0.1)","0 4px 8px rgb(0 0 0 / 0.1)"]},Up={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},Gp={transition:{duration:"150ms",timingFunction:"cubic-bezier(0.4, 0, 0.2, 1)"},font:{family:"var(--font-sans)",featureSettings:"var(--font-sans--font-feature-settings)",variationSettings:"var(--font-sans--font-variation-settings)"},monoFont:{family:"var(--font-mono)",featureSettings:"var(--font-mono--font-feature-settings)",variationSettings:"var(--font-mono--font-variation-settings)"}},Kp={"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",prose:"65ch"},oa={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},Yp={...oa},Xp={grid:"(display: grid)"},Jp={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)",DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)"},Zp={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke","--un-gradient-from","--un-gradient-via","--un-gradient-to"].join(","),opacity:"opacity",shadow:"box-shadow",transform:["transform","translate","scale","rotate"].join(","),get DEFAULT(){return[this.colors,this.opacity,this.shadow,this.transform,"filter","-webkit-backdrop-filter","backdrop-filter"].join(",")}},ia={font:Rp,colors:Tn,spacing:Fp,breakpoint:oa,verticalBreakpoint:Yp,text:Np,fontWeight:zp,tracking:Ip,leading:jp,textStrokeWidth:Dp,radius:Bp,shadow:qp,insetShadow:Vp,dropShadow:Hp,textShadow:Wp,ease:Jp,animation:Lp,blur:Op,perspective:Up,property:Zp,default:Gp,container:Kp,aria:Mp,media:Tp,supports:Xp};var aa=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],Qp=/@media \(min-width: (.+)\)/,sa=[[/^__container$/,(t,e)=>{let{theme:r,variantHandlers:n}=e,o=r.containers?.padding,i;F(o)?i=o:i=o?.DEFAULT;let a=r.containers?.maxWidth,s;for(let l of n){let f=l.handle?.({},p=>p)?.parent;if(F(f)){let p=f.match(Qp)?.[1];if(p){let m=(Ke(e)??[]).find(g=>g.size===p)?.point;a?m&&(s=a?.[m]):s=p,m&&!F(o)&&(i=o?.[m]??i)}}}let c={"max-width":s};return n.length||(c.width="100%"),r.containers?.center&&(c["margin-left"]="auto",c["margin-right"]="auto"),o&&(c["padding-left"]=i,c["padding-right"]=i),c},{internal:!0}]],la=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let r=(Ke(e)??[]).map(o=>o.point);if(t){if(!r.includes(t))return;r=r.slice(r.indexOf(t))}let n=r.map(o=>`${o}:__container`);return t||n.unshift("__container"),n}]];var ca=[...la];var ua={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(D.map(t=>[t,t]))},ef=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":ua[t]??d.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(ua).join("|")})`,"(vertical|align|v)-<percentage>"]}]],pa=["center","left","right","justify","start","end"],tf=[...pa.map(t=>[`text-${t}`,{"text-align":t}]),...[...D,...pa].map(t=>[`text-align-${t}`,{"text-align":t}])],rf=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r)return[`@keyframes ${t}${r}`,{animation:t}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r){let n=e.animation?.durations?.[t]??"1s",o=e.animation?.timingFns?.[t]??"linear",i=e.animation?.counts?.[t]??1,a=e.animation?.properties?.[t];return[`@keyframes ${t}${r}`,{animation:`${t} ${n} ${o} ${i}`,...a}]}return{animation:d.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>({"animation-name":d.bracket.cssvar(t)??t})],[/^animate-duration-(.+)$/,([,t],{theme:e})=>({"animation-duration":e.duration?.[t||"DEFAULT"]??d.bracket.cssvar.time(t)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>({"animation-delay":e.duration?.[t||"DEFAULT"]??d.bracket.cssvar.time(t)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>({"animation-timing-function":e.ease?.[t||"DEFAULT"]??d.bracket.cssvar(t)}),{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,t,e])=>["none","forwards","backwards","both",t?D:[]].includes(e)?{"animation-fill-mode":e}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,t,e])=>["normal","reverse","alternate","alternate-reverse",t?D:[]].includes(e)?{"animation-direction":e}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,t])=>({"animation-iteration-count":d.bracket.cssvar(t)??t.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,t,e])=>["paused","running",t?D:[]].includes(e)?{"animation-play-state":e}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...O("animate","animation")],Ea={"gradient-position":k("--un-gradient-position"),"gradient-from":k("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":k("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":k("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":k("--un-gradient-stops"),"gradient-via-stops":k("--un-gradient-via-stops"),"gradient-from-position":k("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":k("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":k("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function fa(t){let e="in oklab";if(t)if(t.startsWith("[")&&t.endsWith("]"))e=t.slice(1,-1);else switch(t){case"longer":case"shorter":case"increasing":case"decreasing":e=`in oklch ${t} hue`;break;default:e=`in ${t}`}return e}function nf(){return function*([,t,e],{theme:r}){let n={},o=jt(e,r);if(o){let{color:i,keys:a,alpha:s}=o;if(i){if(Object.values(zt).includes(i))n[`--un-gradient-${t}`]=i;else{n[`--un-${t}-opacity`]=s;let c=a?B("colors",a):i;n[`--un-gradient-${t}`]=`color-mix(in oklab, ${c} var(--un-${t}-opacity), transparent)`,yield k(`--un-${t}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}a&&M("colors",a),r&&mt(i,r)}}else n[`--un-gradient-${t}`]=d.bracket.cssvar(e);if(n[`--un-gradient-${t}`]){switch(t){case"from":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"via":yield{...n,"--un-gradient-via-stops":"var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-via) var(--un-gradient-via-position), var(--un-gradient-to) var(--un-gradient-to-position)","--un-gradient-stops":"var(--un-gradient-via-stops)"};break;case"to":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"stops":yield{...n};break}for(let i of Object.values(Ea))yield i}}}function of(){return function*([,t,e]){yield{[`--un-gradient-${t}-position`]:`${d.bracket.cssvar.percent(e)}`};for(let r of Object.values(Ea))yield r}}var af=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,t,e,r])=>{let n;if(d.number(e)!=null?n=`from ${d.number(e)}deg ${fa(r)};`:n=d.bracket(e),n)return{"--un-gradient-position":n,"background-image":`${t}-gradient(var(--un-gradient-stops))`}},{autocomplete:["bg-(linear|radial|conic)","(from|to|via)-$colors","(from|to|via)-(op|opacity)","(from|to|via)-(op|opacity)-<percent>"]}],[/^(from|via|to|stops)-(.+)$/,nf()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:d.bracket.percent(e)})],[/^(from|via|to)-([\d.]+%)$/,of()],[/^bg-((?:repeating-)?(?:linear|radial|conic))$/,([,t])=>({"background-image":`${t}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-(gradient|linear|radial|conic)(?:-to-([rltb]{1,2}))?(?:\/(.+))?$/,([,t,e,r])=>({"--un-gradient-position":`${e in ee?`to ${ee[e]} `:" "}${fa(r)}`,"background-image":`${t==="gradient"?"linear":t}-gradient(var(--un-gradient-stops))`}),{autocomplete:["gradient","linear","radial","conic"].map(t=>`bg-${t}-to-(${Object.keys(ee).filter(e=>e.length<=2&&Array.from(e).every(r=>"rltb".includes(r))).join("|")})`)}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...O("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],[/^bg-size-(.+)$/,([,t])=>({"background-size":d.bracket.cssvar(t)})],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...D.map(t=>[`bg-clip-${t}`,{"-webkit-background-clip":t,"background-clip":t}]),[/^bg-([-\w]{3,})$/,([,t])=>({"background-position":ee[t]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...O("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...O("bg-origin","background-origin")],da=[[/^outline-(?:width-|size-)?(.+)$/,Pa,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,sf,{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,t])=>({"--un-outline-opacity":d.bracket.percent.cssvar(t)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,t])=>({"outline-offset":d.bracket.cssvar.global.px(t)}),{autocomplete:"outline-(offset)-<num>"}],["outline-offset-none",{"outline-offset":"0"}],["outline",[{"outline-style":"var(--un-outline-style)","outline-width":"1px"},k("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[H.parent]:"@media (forced-colors: active)",outline:"2px solid transparent","outline-offset":"2px"}]],["outline-none",{"--un-outline-style":"none","outline-style":"none"}],...["auto","dashed","dotted","double","solid","groove","ridge","inset","outset",...D].map(t=>[`outline-${t}`,{"--un-outline-style":t,"outline-style":t}])];function*Pa([,t]){let e=d.bracket.cssvar.global.px(t);e!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":e},yield k("--un-outline-style",{initialValue:"solid"}))}function*sf(t,e){if(ht(d.bracket(t[1])))yield*Pa(t);else{let r=T("outline-color","outline")(t,e);if(r)for(let n of r)yield n}}var lf=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function cf(t){let e=d.bracket(t);return e&&d.properties(e)?e:d.properties.auto.cssvar.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}var ha=[[/^will-change-(.+)/,([,t])=>({"will-change":cf(t)})]],Fn={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},uf=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=Fn[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(Fn).join("|")})`,`list-(${Object.keys(Fn).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,t])=>{if(/^\[url\(.+\)\]$/.test(t))return{"list-style-image":d.bracket(t)}}],["list-image-none",{"list-style-image":"none"}],...O("list","list-style-type")],pf=[[/^accent-(.+)$/,T("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":d.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],ff=[[/^caret-(.+)$/,T("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":d.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],df=[["image-render-auto",{"image-rendering":"auto"}],["image-render-edge",{"image-rendering":"crisp-edges"}],["image-render-pixel",[["-ms-interpolation-mode","nearest-neighbor"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-pixelated"],["image-rendering","pixelated"]]]],hf=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...O("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...O("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...O("overscroll-y","overscroll-behavior-y")],mf=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...O("scroll","scroll-behavior")],Ye=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...D],gf=[[/^(?:border|b)()(?:-(.+))?$/,ge,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,ge],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,ge],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,ge],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,ge],[/^(?:border|b)-()(?:width|size)-(.+)$/,ge,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,ge],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,ge],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,ge],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,ge],[/^(?:border|b)-()(?:color-)?(.+)$/,Ft,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Ft],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Ft],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Ft],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Ft],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Bt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Bt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Bt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Bt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Bt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,qt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,qt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,qt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,qt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,qt],[/^(?:border|b)-(?:style-)?()(.+)$/,Vt,{autocomplete:["(border|b)-style",`(border|b)-(${Ye.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${Ye.join("|")})`,`(border|b)-<directions>-style-(${Ye.join("|")})`,`(border|b)-style-(${Ye.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Vt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Vt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Vt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Vt]];function bf(t){return([,e],r)=>{let n=jt(e,r.theme),o=jn(n,`border${t}-color`,`border${t}`,r);if(o){let i=o[0];return n?.color&&!Object.values(zt).includes(n.color)&&!n.alpha&&t&&t!==""&&(i[`--un-border${t}-opacity`]="var(--un-border-opacity)"),o}}}function ge([,t="",e="1"]){let r=d.bracket.cssvar.global.px(e);if(t in le&&r!=null)return le[t].map(n=>[`border${n}-width`,r])}function Ft([,t="",e],r){if(t in le){if(ht(d.bracket(e)))return ge(["",t,e]);if(we(e,r.theme)){let n=le[t].map(o=>bf(o)(["",e],r)).filter(Lt);return[n.map(o=>o[0]).reduce((o,i)=>(Object.assign(o,i),o),{}),...n.flatMap(o=>o.slice(1))]}}}function Bt([,t="",e]){let r=d.bracket.percent.cssvar(e);if(t in le&&r!=null)return le[t].map(n=>[`--un-border${n}-opacity`,r])}function qt([,t="",e="DEFAULT"],{theme:r}){if(t in It){if(e==="full")return It[t].map(o=>[`border${o}-radius`,"calc(infinity * 1px)"]);let n=r.radius?.[e]??d.bracket.cssvar.global.fraction.rem(e);if(n!=null){let o=r.radius&&e in r.radius;return o&&M("radius",e),It[t].map(i=>[`border${i}-radius`,o?B("radius",e):n])}}}function Vt([,t="",e]){if(Ye.includes(e)&&t in le)return[["--un-border-style",e],...le[t].map(r=>[`border${r}-style`,e])]}var yf=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:d.bracket.percent.cssvar(t)})]],vf=/^\[url\(.+\)\]$/,kf=/^\[(?:length|size):.+\]$/,xf=/^\[position:.+\]$/,wf=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Sf=/^\[image:.+\]$/,$f=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(vf.test(e))return{"--un-url":d.bracket(e),"background-image":"var(--un-url)"};if(kf.test(e)&&d.bracketOfLength(e)!=null)return{"background-size":d.bracketOfLength(e).split(" ").map(r=>d.fraction.auto.px.cssvar(r)??r).join(" ")};if((Zi(e)||xf.test(e))&&d.bracketOfPosition(e)!=null)return{"background-position":d.bracketOfPosition(e).split(" ").map(r=>d.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(wf.test(e)||Sf.test(e)){let r=d.bracket(e);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:d.cssvar(r))??r}}return T("background-color","bg")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":d.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],_f=[[/^(?:color-)?scheme-(.+)$/,([,t])=>({"color-scheme":t.split("-").join(" ")})]],Cf=[[/^columns-(.+)$/,([,t])=>({columns:d.bracket.global.number.auto.numberWithUnit(t)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...O("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...O("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...O("break-after")],ma=["solid","double","dotted","dashed","wavy",...D],Ef=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Aa,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Pf,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":d.bracket.percent.cssvar(t)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,t])=>({"text-underline-offset":d.auto.bracket.cssvar.global.px(t)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...ma.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...ma.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Aa([,t]){return{"text-decoration-thickness":d.bracket.cssvar.global.px(t)}}function Pf(t,e){if(ht(d.bracket(t[1])))return Aa(t);let r=T("text-decoration-color","line")(t,e);if(r){let n=r[0];return n["-webkit-text-decoration-color"]=n["text-decoration-color"],r}}var Af=[[/^pa?()-?(.+)$/,z("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,z("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,z("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,z("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,z("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,z("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Lf=[[/^ma?()-?(.+)$/,z("margin")],[/^m-?xy()()$/,z("margin")],[/^m-?([xy])(?:-?(.+))?$/,z("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,z("margin")],[/^m-(block|inline)(?:-(.+))?$/,z("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,z("margin")]],Mf=[[/^space-([xy])-(.+)$/,Of,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([t,e],{symbols:r}){yield{[r.variants]:[Xe(t)],[`--un-space-${e}-reverse`]:"1"},yield k(`--un-space-${e}-reverse`,{initialValue:0})}]];function Xe(t){return{matcher:t,handle:(e,r)=>r({...e,parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:":where(&>:not(:last-child))"})}}function*Of([t,e,r],{theme:n,symbols:o}){let i,a=oe(r);if(a!=null?(M("spacing"),i=`calc(var(--spacing) * ${a})`):i=n.spacing?.[r]??d.bracket.cssvar.auto.fraction.rem(r||"1"),i!=null){let s=le[e==="x"?"inline":"block"].map((c,l)=>{let f=`margin${c}`,p=` calc(${i} * ${l===0?`var(--un-space-${e}-reverse)`:`calc(1 - var(--un-space-${e}-reverse))`})`;return[f,p]});s&&(yield{[o.variants]:[Xe(t)],[`--un-space-${e}-reverse`]:"0",...Object.fromEntries(s)},yield k(`--un-space-${e}-reverse`,{initialValue:0}))}}var Rf=[[/^divide-(.+)$/,function*(t,e){let r=T("border-color","divide")(t,e);r&&(yield{[e.symbols.variants]:[Xe(t[0])],...r[0]},yield r[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([t,e],{symbols:r}){yield{[r.variants]:[Xe(t)],"--un-divide-opacity":d.bracket.percent(e)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,ga,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,ga],[/^divide-?([xy])-reverse$/,function*([t,e],{symbols:r}){yield{[r.variants]:[Xe(t)],[`--un-divide-${e}-reverse`]:"1"},yield k(`--un-divide-${e}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${Ye.join("|")})$`),function*([t,e],{symbols:r}){yield{[r.variants]:[Xe(t)],"border-style":e}},{autocomplete:Ye.map(t=>`divide-${t}`)}]];function*ga([t,e,r],{symbols:n}){let o=d.bracket.cssvar.px(r||"1");if(o!=null){o==="0"&&(o="0px");let a={x:["-left","-right"],y:["-top","-bottom"]}[e].map(s=>{let c=s.endsWith("left")||s.endsWith("top")?`calc(${o} * var(--un-divide-${e}-reverse))`:`calc(${o} * calc(1 - var(--un-divide-${e}-reverse)))`;return[[`border${s}-width`,c],[`border${s}-style`,"var(--un-border-style)"]]});a&&(yield{[n.variants]:[Xe(t)],[`--un-divide-${e}-reverse`]:0,...Object.fromEntries(a.flat())},yield k(`--un-divide-${e}-reverse`,{initialValue:0}),yield k("--un-border-style",{initialValue:"solid"}))}}var La=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],Gn=La.map(t=>k(`--un-${t}`)),$r=La.map(t=>`var(--un-${t},)`).join(" "),Ma=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],Nf=Ma.map(t=>k(`--un-${t}`)),_r=Ma.map(t=>`var(--un-${t},)`).join(" ");function Bn(t){let e=d.bracket.cssvar(t||"");if(e!=null||(e=t?d.percent(t):"100%",e!=null&&Number.parseFloat(e.slice(0,-1))<=100))return e}function Ee(t,e){return([,r,n],{theme:o})=>{let i=e(n,o)??(n==="none"?"0":"");if(i!=="")return r?[{[`--un-${r}${t}`]:`${t}(${i})`,"-webkit-backdrop-filter":_r,"backdrop-filter":_r},...Nf]:[{[`--un-${t}`]:`${t}(${i})`,filter:$r},...Gn]}}function zf(t,e){let[,r]=t,{theme:n}=e,o=[];r&&(o=xe(r,"/",2)??[],r.startsWith("/")&&(o=["",r.slice(1)]));let i=n.dropShadow?.[o[0]||"DEFAULT"],a=r?d.bracket.cssvar(r):void 0;if((i!=null||a!=null)&&!we(a,n)){let s=o[1]?d.bracket.percent.cssvar(o[1]):void 0;return[{"--un-drop-shadow-opacity":s,"--un-drop-shadow":`drop-shadow(${vr(i||a,"--un-drop-shadow-color",s).join(") drop-shadow(")})`,filter:$r},...Gn]}if(we(r,n))return T("--un-drop-shadow-color","drop-shadow")(t,e);if(i=d.bracket.cssvar(r)??(r==="none"?"":void 0),i!=null)return[{"--un-drop-shadow":i&&`drop-shadow(${i})`,filter:$r},...Gn]}var If=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,Ee("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||d.bracket.cssvar.px(t)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,Ee("brightness",t=>d.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,Ee("contrast",t=>d.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-?(.+))?$/,zf,{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-$colors","drop-shadow-$colors","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow(-color)?-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,T("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":d.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,Ee("grayscale",Bn),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,Ee("hue-rotate",t=>d.bracket.cssvar.degree(t))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,Ee("invert",Bn),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,Ee("opacity",t=>d.bracket.cssvar.percent(t)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,Ee("saturate",t=>d.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,Ee("sepia",Bn),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:$r}],["backdrop-filter",{"-webkit-backdrop-filter":_r,"backdrop-filter":_r}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...D.map(t=>[`filter-${t}`,{filter:t}]),...D.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])],jf=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:d.bracket(t)!=null?d.bracket(t).split(" ").map(e=>d.cssvar.fraction(e)??e).join(" "):d.cssvar.fraction(t)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,t=""])=>({"flex-shrink":d.bracket.cssvar.number(t)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,t=""])=>({"flex-grow":d.bracket.cssvar.number(t)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,t])=>{let e=oe(t);return e!=null?(M("spacing"),{"flex-basis":`calc(var(--spacing) * ${e})`}):{"flex-basis":d.bracket.cssvar.auto.fraction.rem(t)}},{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],qn={"":[""],x:["column-"],y:["row-"],col:["column-"],row:["row-"]},Df=[[/^(?:flex-|grid-)?gap-?()(.+)$/,z("gap",qn,(t,e)=>`${e}${t}`),{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,z("gap",qn,(t,e)=>`${e}${t}`),{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,z("gap",qn,(t,e)=>`${e}${t}`),{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function Se(t){return t.replace("col","column")}function Tf(t){switch(t){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return d.bracket.cssvar.auto.rem(t)}var Ff=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e])=>({[`grid-${Se(t)}`]:d.bracket.number.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${Se(t)}`]:"1/-1"};let r=d.bracket.number.cssvar(e);if(r!=null)return{[`grid-${Se(t)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>({[`grid-${Se(t)}-start`]:d.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${Se(t)}-end`]:d.bracket.cssvar(e)??e}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e])=>({[`grid-auto-${Se(t)}`]:Tf(e)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":d.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,t])=>({"grid-auto-flow":Se(t).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,t,e])=>({[`grid-template-${Se(t)}`]:d.bracket.cssvar(e)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${Se(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${Se(t)}`]:`repeat(${e},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,t,e])=>t!=null?{"grid-template-areas":d.cssvar(e)??e.split("-").map(r=>`"${d.bracket(r)}"`).join(" ")}:{"grid-area":d.bracket.cssvar(e)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],xr=["auto","hidden","clip","visible","scroll","overlay",...D],Bf=[[/^(?:overflow|of)-(.+)$/,([,t])=>xr.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${xr.join("|")})`,`(overflow|of)-(x|y)-(${xr.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>xr.includes(e)?{[`overflow-${t}`]:e}:void 0]],qf=[[/^line-clamp-(\d+)$/,([,t])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t}),{autocomplete:["line-clamp","line-clamp-(1|2|3|4|5|6|none)"]}],["line-clamp-none",{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"}]],Kn={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},ba="linear-gradient(#fff, #fff)",Vf={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function ya([,t=""]){if(t in It)return{"mask-position":t.split("").flatMap(n=>Kn[n]).join(" ")};let e=d.bracket.cssvar.global.position(t);if(e!==null)return{"mask-position":e}}function Vn([t,e="",r,n],o){let i={...Vf},a=[];if(a.push(...["linear","radial","conic"].map(s=>k(`--un-mask-${s}`,{initialValue:ba}))),e in Kn){i["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(let s of Kn[e]){if(i[`--un-mask-${s}`]=`linear-gradient(to ${s}, var(--un-mask-${s}-from-color) var(--un-mask-${s}-from-position), var(--un-mask-${s}-to-color) var(--un-mask-${s}-to-position))`,oe(n)!=null?(M("spacing"),i[`--un-mask-${s}-${r}-position`]=`calc(var(--spacing) * ${d.bracket.cssvar.fraction.number(n)})`):i[`--un-mask-${s}-${r}-position`]=d.bracket.cssvar.fraction.rem(n),we(n,o.theme)){let c=T(`--un-mask-${s}-${r}-color`,kr("colors"))([t,n],o);if(c){let[l,...f]=c;Object.assign(i,l),a.push(...f)}}a.push(...["from","to"].flatMap(c=>[k(`--un-mask-${s}-${c}-position`,{syntax:"<length-percentage>",initialValue:c==="from"?"0%":"100%"}),k(`--un-mask-${s}-${c}-color`,{syntax:"<color>",initialValue:c==="from"?"black":"transparent"})]))}a.push(...["top","right","bottom","left"].map(s=>k(`--un-mask-${s}`,{initialValue:ba})))}else{if(r==null)e==="radial"?(i["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",i["--un-mask-radial-size"]=d.bracket.cssvar.rem(n)):(i[`--un-mask-${e}`]=`${e}-gradient(var(--un-mask-${e}-stops, var(--un-mask-${e}-position)))`,i[`--un-mask-${e}-position`]=oe(n)?`calc(1deg * ${d.bracket.cssvar.number(n)})`:d.bracket.cssvar.fraction(n));else{let s={linear:"",radial:"var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",conic:"from "};if(i[`--un-mask-${e}-stops`]=`${s[e]}var(--un-mask-${e}-position), var(--un-mask-${e}-from-color) var(--un-mask-${e}-from-position), var(--un-mask-${e}-to-color) var(--un-mask-${e}-to-position)`,i[`--un-mask-${e}`]=`${e}-gradient(var(--un-mask-${e}-stops))`,we(n,o.theme)){let c=T(`--un-mask-${e}-${r}-color`,kr("colors"))([t,n],o);if(c){let[l,...f]=c;Object.assign(i,l),a.push(...f)}}else oe(n)!=null?(M("spacing"),i[`--un-mask-${e}-${r}-position`]=`calc(var(--spacing) * ${d.bracket.cssvar.fraction.number(n)})`):i[`--un-mask-${e}-${r}-position`]=d.bracket.cssvar.fraction.rem(n)}e==="radial"&&a.push(k("--un-mask-radial-shape",{initialValue:"ellipse"}),k("--un-mask-radial-size",{initialValue:"farthest-corner"})),a.push(...["from","to"].flatMap(s=>[k(`--un-mask-${e}-position`,{initialValue:e==="radial"?"center":"0deg"}),k(`--un-mask-${e}-${s}-position`,{syntax:"<length-percentage>",initialValue:s==="from"?"0%":"100%"}),k(`--un-mask-${e}-${s}-color`,{syntax:"<color>",initialValue:s==="from"?"black":"transparent"})]))}return[i,...a]}function Hf([,t=""]){let e=d.bracket.cssvar.global.fraction.rem(t);if(e!==null)return{"mask-size":e}}var Wf=[["mask-clip-border",{"mask-clip":"border-box"}],["mask-clip-padding",{"mask-clip":"padding-box"}],["mask-clip-content",{"mask-clip":"content-box"}],["mask-clip-fill",{"mask-clip":"fill-box"}],["mask-clip-stroke",{"mask-clip":"stroke-box"}],["mask-clip-view",{"mask-clip":"view-box"}],["mask-no-clip",{"mask-clip":"no-clip"}],["mask-add",{"mask-composite":"add"}],["mask-subtract",{"mask-composite":"subtract"}],["mask-intersect",{"mask-composite":"intersect"}],["mask-exclude",{"mask-composite":"exclude"}],[/^mask-(.+)$/,([,t])=>({"mask-image":d.bracket.cssvar(t)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,Vn,{autocomplete:["mask-(linear|radial|conic)-(from|to)-$colors","mask-(linear|radial|conic)-(from|to)-<percentage>","mask-(linear|radial|conic)-(from|to)","mask-(linear|radial|conic)-<percent>","mask-(x|y|t|b|l|r)-(from|to)-$colors","mask-(x|y|t|b|l|r)-(from|to)-<percentage>","mask-(x|y|t|b|l|r)-(from|to)","mask-(x|y|t|b|l|r)-<percent>"]}],[/^mask-(linear|radial|conic)-(from|to)?-?(.*)$/,Vn],[/^mask-([trblxy])-(from|to)-(.*)$/,Vn],["mask-none",{"mask-image":"none"}],["mask-radial-circle",{"--un-mask-radial-shape":"circle"}],["mask-radial-ellipse",{"--un-mask-radial-shape":"ellipse"}],["mask-radial-closest-side",{"--un-mask-radial-size":"closest-side"}],["mask-radial-closest-corner",{"--un-mask-radial-size":"closest-corner"}],["mask-radial-farthest-side",{"--un-mask-radial-size":"farthest-side"}],["mask-radial-farthest-corner",{"--un-mask-radial-size":"farthest-corner"}],[/^mask-radial-at-([-\w]{3,})$/,([,t])=>({"--un-mask-radial-position":ee[t]}),{autocomplete:[`mask-radial-at-(${Object.keys(ee).filter(t=>t.length>2).join("|")})`]}],["mask-alpha",{"mask-mode":"alpha"}],["mask-luminance",{"mask-mode":"luminance"}],["mask-match",{"mask-mode":"match-source"}],["mask-origin-border",{"mask-origin":"border-box"}],["mask-origin-padding",{"mask-origin":"padding-box"}],["mask-origin-content",{"mask-origin":"content-box"}],["mask-origin-fill",{"mask-origin":"fill-box"}],["mask-origin-stroke",{"mask-origin":"stroke-box"}],["mask-origin-view",{"mask-origin":"view-box"}],[/^mask-([rltb]{1,2})$/,ya],[/^mask-([-\w]{3,})$/,([,t])=>({"mask-position":ee[t]})],[/^mask-(?:position-|pos-)(.+)$/,ya],["mask-repeat",{"mask-repeat":"repeat"}],["mask-no-repeat",{"mask-repeat":"no-repeat"}],["mask-repeat-x",{"mask-repeat":"repeat-x"}],["mask-repeat-y",{"mask-repeat":"repeat-y"}],["mask-repeat-space",{"mask-repeat":"space"}],["mask-repeat-round",{"mask-repeat":"round"}],["mask-auto",{"mask-size":"auto"}],["mask-cover",{"mask-size":"cover"}],["mask-contain",{"mask-size":"contain"}],[/^mask-size-(.+)$/,Hf],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],Uf=[[/^\$ placeholder-(.+)$/,T("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":d.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],Gf=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>D.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],Oa=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...O("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...O("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...O("justify-self")],Kf=[[/^order-(.+)$/,([,t])=>({order:d.bracket.cssvar.number(t)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],Ra=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...O("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...O("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...O("self","align-self")],Na=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...O("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...O("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...O("place-self")],Yf=[...Oa,...Ra,...Na].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function Yn(t){let e=oe(t);return e!=null?(M("spacing"),`calc(var(--spacing) * ${e})`):d.bracket.cssvar.global.auto.fraction.rem(t)}function Ht([,t,e]){let r=Yn(e);if(r!=null&&t in Nn)return Nn[t].map(n=>[n.slice(1),r])}var Xf=[[/^(?:position-|pos-)?inset-(.+)$/,([,t])=>({inset:Yn(t)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,Ht],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Ht],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Ht],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Ht],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Ht],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e])=>({[t]:Yn(e)})]],Jf=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...O("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...O("clear")],Zf=[[/^(?:position-|pos-)?z([\d.]+)$/,([,t])=>({"z-index":d.number(t)})],[/^(?:position-|pos-)?z-(.+)$/,([,t])=>({"z-index":d.bracket.cssvar.global.auto.number(t)}),{autocomplete:"z-<num>"}]],Qf=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...O("box","box-sizing")],ed=[[/^(where|\?)$/,(t,{constructCSS:e,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${e({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],Xn={shadow:k("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:k("--un-shadow-color"),insetShadow:k("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:k("--un-inset-shadow-color"),ringColor:k("--un-ring-color"),ringShadow:k("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:k("--un-inset-ring-color"),insetRingShadow:k("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:k("--un-ring-inset"),ringOffsetWidth:k("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:k("--un-ring-offset-color"),ringOffsetShadow:k("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},td=[[/^shadow(?:-?(.+))?$/,va("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":d.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],[/^inset-shadow(?:-(.+))?$/,va("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-inset-shadow-opacity":d.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}]];function va(t){return(e,r)=>{let[,n]=e,{theme:o}=r,i=[];n&&(i=xe(n,"/",2)??[],n.startsWith("/")&&(i=["",n.slice(1)]));let a=o[t]?.[i[0]||"DEFAULT"],s=n?d.bracket.cssvar(n):void 0,c=kr(t);if((a!=null||s!=null)&&!we(s,o)){let l=i[1]?d.bracket.percent.cssvar(i[1]):void 0;return[{[`--un-${c}-opacity`]:l,[`--un-${c}`]:vr(a||s,`--un-${c}-color`,l).join(","),"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Xn)]}return T(`--un-${c}-color`,c)(e,r)}}var rd=[[/^ring(?:-(.+))?$/,([,t])=>{let e=d.bracket.px(t||"1");if(e!=null)return[{"--un-ring-shadow":`var(--un-ring-inset,) 0 0 0 calc(${e} + var(--un-ring-offset-width)) var(--un-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Xn)]}],[/^ring-(.+)$/,T("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":d.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,t])=>{let e=d.bracket.px(t||"1");if(e!=null)return[{"--un-inset-ring-shadow":`inset 0 0 0 ${e} var(--un-inset-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Xn)]}],[/^inset-ring-(.+)$/,T("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-inset-ring-opacity":d.bracket.percent.cssvar(t)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,t])=>{let e=d.bracket.cssvar.px(t||"1");if(e!=null)return{"--un-ring-offset-width":e,"--un-ring-offset-shadow":"var(--un-ring-inset,) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)"}},{autocomplete:"ring-offset-$colors"}],[/^ring-offset-(.+)$/,T("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":d.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],nd=[...["x","y","both"].map(t=>[`snap-${t}`,[{"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`},k("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(t=>[`snap-${t}`,[{"--un-scroll-snap-strictness":t},k("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(.+)$/,z("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(.+)$/,z("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,z("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,z("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,z("scroll-margin")],[/^scroll-pa?()-?(.+)$/,z("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,z("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,z("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,z("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,z("scroll-padding")]],od={h:"height",w:"width",inline:"inline-size",block:"block-size"};function yt(t,e){return`${t||""}${od[e]}`}function wr(t,e,r){let n,o=["container","spacing"];for(let i of o)if(t[i]?.[r]){M(i,r),n=B(i,r);break}if(!n)switch(r){case"fit":case"max":case"min":n=`${r}-content`;break;case"screen":n=e==="w"?"100vw":"100vh";break}return!n&&d.number(r)!=null&&(M("spacing"),n=`calc(var(--spacing) * ${d.number(r)})`),n??d.bracket.cssvar.global.auto.none.fraction.rem(r)}var id=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[yt(t,"w")]:wr(r,"w",e),[yt(t,"h")]:wr(r,"h",e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[yt(t,e)]:wr(n,e,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[yt(t,e)]:wr(n,e,r)}),{autocomplete:["(w|h)-<num>","(w|h)-(full|screen|fit|max|min)","(max|min)-(w|h)-<num>","(max|min)-(w|h)-(full|screen|fit|max|min)","(block|inline)-<num>","(block|inline)-(full|screen|fit|max|min)","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-<num>","(max|min)-(w|h|block|inline)-(full|screen|fit|max|min)"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,t,e,r],n)=>({[yt(t,e)]:ka(n,r,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[yt(t,e)]:ka(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$breakpoint","(min|max)-h-screen-$breakpoint","w-screen-$breakpoint","(min|max)-w-screen-$breakpoint"]}]];function ka(t,e,r="breakpoint"){let n=Ke(t,r);if(n)return n.find(o=>o.point===e)?.size}function ad(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return d.bracket.cssvar.global.auto.number(t)}var sd=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":ad(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],ld=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],Hn=["size","layout","paint","style"],cd=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,t])=>({display:d.bracket.cssvar.global(t)})]],ud=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...O("backface","backface-visibility")],pd=[[/^cursor-(.+)$/,([,t])=>({cursor:d.bracket.cssvar.global(t)})],...ld.map(t=>[`cursor-${t}`,{cursor:t}])],fd=[[/^contain-(.*)$/,([,t])=>d.bracket(t)!=null?{contain:d.bracket(t).split(" ").map(e=>d.cssvar.fraction(e)??e).join(" ")}:Hn.includes(t)?[{"--un-contain-size":t,contain:Hn.map(e=>`var(--un-contain-${e})`).join(" ")},...Hn.map(e=>k(`--un-contain-${e}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],dd=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...O("pointer-events")],hd=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...O("resize")],md=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...O("select","user-select")],gd=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...D].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],bd=[[/^intrinsic-size-(.+)$/,([,t])=>({"contain-intrinsic-size":d.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...O("content-visibility")],yd=[[/^content-(.+)$/,([,t])=>{if(d.bracket.cssvar(t)!=null)return[{"--un-content":d.bracket.cssvar(t),content:"var(--un-content)"},k("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],vd=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}],["wrap-break-word",{"overflow-wrap":"break-word"}],["wrap-anywhere",{"overflow-wrap":"anywhere"}],["wrap-normal",{"overflow-wrap":"normal"}]],kd=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],xd=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],wd=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}],...O("case","text-transform")],Sd=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],$d=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],_d=[...["manual","auto","none",...D].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],Cd=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...O("write","writing-mode")],Ed=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...O("write-orient","text-orientation")],Pd=[["sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":0}],["not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"}]],Ad=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Ld=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,t])=>{if(ee[t])return{"object-position":ee[t]};if(d.bracketOfPosition(t)!=null)return{"object-position":d.bracketOfPosition(t).split(" ").map(e=>d.position.fraction.auto.px.cssvar(e)??e).join(" ")}},{autocomplete:`object-(${Object.keys(ee).join("|")})`}]],Md=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...O("bg-blend","background-blend")],Od=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...O("mix-blend")],Rd=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],Nd=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],zd=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Id=[[/^fill-(.+)$/,T("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":d.bracket.percent.cssvar(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,za],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":d.bracket.cssvar.number(t)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,t])=>({"stroke-dashoffset":d.bracket.cssvar.px.numberWithUnit(t)})],[/^stroke-(.+)$/,jd,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":d.bracket.percent.cssvar(t)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function za([,t]){return{"stroke-width":d.bracket.cssvar.fraction.px.number(t)}}function jd(t,e){return ht(d.bracket(t[1]))?za(t):T("stroke","stroke")(t,e)}var Dd=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,function*([,t],{theme:e}){let r=xa(t,e);if(r!=null){yield{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(let n of["x","y"])yield k(`--un-border-spacing-${n}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,t,e],{theme:r}){let n=xa(e,r);if(n!=null){yield{[`--un-border-spacing-${t}`]:n,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(let o of["x","y"])yield k(`--un-border-spacing-${o}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];function xa(t,e){let r=e.spacing?.[t];if(!r){let n=oe(t);n!=null?(M("spacing"),r=`calc(var(--spacing) * ${n})`):r=d.bracket.cssvar.global.auto.fraction.rem(t)}return r}var Wn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Un=["pan-x","pan-y","pinch-zoom"].map(t=>k(`--un-${t}`)),Td=[[/^touch-pan-(x|left|right)$/,function*([,t]){yield{"--un-pan-x":`pan-${t}`,"touch-action":Wn};for(let e of Un)yield e},{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,function*([,t]){yield{"--un-pan-y":`pan-${t}`,"touch-action":Wn};for(let e of Un)yield e}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":Wn};for(let t of Un)yield t}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...O("touch","touch-action")],Sr=["translate","rotate","scale"],Jn=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),Zn=Jn,Fd=["translateZ(0)",Jn].join(" ");var Bd=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":ee[t]??d.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(ee).join("|")})`,`origin-(${Object.keys(ee).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,t],{theme:e})=>{let r;if(e.perspective?.[t]?(M("perspective",t),r=B("perspective",t)):r=d.bracket.cssvar.px.numberWithUnit(t),r!=null)return{perspective:r}},{autocomplete:["transform-perspective-<num>","perspective-<num>","perspective-$perspective"]}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,t])=>{let e=d.bracket.cssvar(t)??(t.length>=3?ee[t]:void 0);if(e!=null)return{"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,wa],[/^(?:transform-)?translate-([xyz])-(.+)$/,wa],[/^(?:transform-)?rotate-()(.+)$/,$a],[/^(?:transform-)?rotate-([xyz])-(.+)$/,$a],[/^(?:transform-)?skew-()(.+)$/,_a],[/^(?:transform-)?skew-([xy])-(.+)$/,_a,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Sa],[/^(?:transform-)?scale-([xyz])-(.+)$/,Sa,{autocomplete:[`transform-(${Sr.join("|")})-<percent>`,`transform-(${Sr.join("|")})-(x|y|z)-<percent>`,`(${Sr.join("|")})-<percent>`,`(${Sr.join("|")})-(x|y|z)-<percent>`]}],["transform-3d",{"transform-style":"preserve-3d"}],["transform-flat",{"transform-style":"flat"}],[/^transform-(border|content|fill|stroke|view)$/,([,t])=>({"transform-box":`${t}-box`})],["transform",{transform:Zn}],["transform-cpu",{transform:Jn}],["transform-gpu",{transform:Fd}],["transform-none",{transform:"none"}],...O("transform")];function wa([,t,e]){let r=oe(e)??d.bracket.cssvar.none.fraction.rem(e);if(r!=null)return r==="none"?{translate:"none"}:(M("spacing"),[[...Qn(t,typeof r=="number"?`calc(var(--spacing) * ${r})`:r,"translate"),["translate",`var(--un-translate-x) var(--un-translate-y)${t==="z"?" var(--un-translate-z)":""}`,Nt]],...["x","y","z"].map(n=>k(`--un-translate-${n}`,{initialValue:0}))])}function Sa([,t,e]){let r=d.bracket.cssvar.none.fraction.percent(e);if(r!=null)return r==="none"?{scale:"none"}:[[...Qn(t,r,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${t==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(n=>k(`--un-scale-${n}`,{initialValue:1}))]}function $a([,t="",e]){let r=d.bracket.cssvar.none.degree(e);if(r!=null)return r==="none"?{rotate:"none"}:t?[[...Qn(t,r.endsWith("deg")?`rotate${t.toUpperCase()}(${r})`:r,"rotate"),["transform",Zn]],...["x","y","z"].map(n=>k(`--un-rotate-${n}`,{initialValue:`rotate${n.toUpperCase()}(0)`})),...["x","y"].map(n=>k(`--un-skew-${n}`,{initialValue:`skew${n.toUpperCase()}(0)`}))]:{rotate:d.bracket.cssvar.degree(e)}}function _a([,t,e]){let r=d.bracket.cssvar.degree(e),n=zn[t];if(r!=null&&n)return[[...n.map(o=>[`--un-skew${o}`,r.endsWith("deg")?`skew${o.slice(1).toUpperCase()}(${r})`:r]),["transform",Zn]],...["x","y","z"].map(o=>k(`--un-rotate-${o}`,{initialValue:`rotate${o.toUpperCase()}(0)`})),...["x","y"].map(o=>k(`--un-skew-${o}`,{initialValue:`skew${o.toUpperCase()}(0)`}))]}function Qn(t,e,r){let n=e.split(Xi);return t||!t&&n.length===1?zn[t].map(o=>[`--un-${r}${o}`,e]):n.map((o,i)=>[`--un-${r}-${Gi[i]}`,o])}function Ca(t,e){let r;if(d.cssvar(t)!=null)r=d.cssvar(t);else{t.startsWith("[")&&t.endsWith("]")&&(t=t.slice(1,-1));let n=t.split(",").map(o=>e.property?.[o]??d.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var qd=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,t,e],{theme:r})=>{M("default",["transition","timingFunction"]),M("default",["transition","duration"]);let n={"transition-property":r.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${B("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${B("default",["transition","duration"])})`};if(!t&&!e)return{...n};if(t!=null){let o=Ca(t,r);if(o)return{"--un-duration":e&&d.time(e),...n,"transition-property":o}}else if(e!=null)return{"--un-duration":d.time(e),...n}}],[/^(?:transition-)?duration-(.+)$/,([,t])=>({"--un-duration":d.bracket.cssvar.time(t),"transition-duration":d.bracket.cssvar.time(t)})],[/^(?:transition-)?delay-(.+)$/,([,t])=>({"transition-delay":d.bracket.cssvar.time(t)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>{let r;return e.ease?.[t]?(M("ease",t),r=B("ease",t)):r=d.bracket.cssvar(t),[{"--un-ease":r,"transition-timing-function":r},k("--un-ease")]},{autocomplete:["transition-ease-(linear|in|out|in-out)","ease-(linear|in|out|in-out)"]}],[/^(?:transition-)?property-(.+)$/,([,t],{theme:e})=>{let r=d.global(t)||Ca(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...D].join("|")})`]}],["transition-none",{transition:"none"}],...O("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Vd=[[/^text-(.+)$/,Xd,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,Ia,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,Jd,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,T("color","text")],[/^(?:text|color|c)-(.+)$/,([,t])=>D.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${D.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":d.bracket.percent.cssvar(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,t],{theme:e})=>{let r;return e.fontWeight?.[t]?(M("fontWeight",t),r=B("fontWeight",t)):r=d.bracket.cssvar.global.number(t),{"--un-font-weight":r,"font-weight":r}},{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,t],{theme:e})=>{let r;if(e.leading?.[t]?(M("leading",t),r=B("leading",t)):oe(t)?(M("spacing"),r=`calc(var(--spacing) * ${oe(t)})`):r=d.bracket.cssvar.global.rem(t),r!=null)return[{"--un-leading":r,"line-height":r},k("--un-leading")]},{autocomplete:"(leading|lh|line-height)-$leading"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,t])=>({"font-synthesis":d.bracket.cssvar.global(t)})],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>{let r;return e.tracking?.[t]?(M("tracking",t),r=B("tracking",t)):r=d.bracket.cssvar.global.rem(t),{"--un-tracking":r,"letter-spacing":r}},{autocomplete:"tracking-$tracking"}],[/^(?:font-)?word-spacing-(.+)$/,([,t],{theme:e})=>{let r=e.tracking?.[t]?B("tracking",t):d.bracket.cssvar.global.rem(t);return{"--un-word-spacing":r,"word-spacing":r}},{autocomplete:"word-spacing-$spacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,t])=>({"font-stretch":d.bracket.cssvar.fraction.global(t)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,t],{theme:e})=>{let r;if(e.font?.[t])return M("font",t),r=B("font",t),{"font-family":r};if(e.fontWeight?.[t])return M("fontWeight",t),r=B("fontWeight",t),{"--un-font-weight":r,"font-weight":r};if(r=d.number(t),r!=null)return{"--un-font-weight":r,"font-weight":r};if(r=d.bracketOfFamily(t),r!=null&&d.number(r)==null)return r=d.cssvar(r)??r,{"font-family":r};if(r=d.bracketOfNumber(t),r!=null)return r=d.cssvar.number(r),{"--un-font-weight":r,"font-weight":r};if(r=d.bracket(t),r!=null&&d.number(r)!=null){let n=d.number(r);return{"--un-font-weight":n,"font-weight":n}}if(r=d.bracket.cssvar.global(t),r!=null)return{"font-family":r}},{autocomplete:["font-$font","font-$fontWeight"]}]],Hd=[[/^tab(?:-(.+))?$/,([,t])=>{let e=d.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],Wd=[[/^indent-(.+)$/,([,t])=>{let e=oe(t);if(e!=null)return M("spacing"),{"text-indent":`calc(var(--spacing) * ${e})`};if(e=d.bracket.cssvar.auto.global.rem(t),e!=null)return{"text-indent":e}}]],Ud=[[/^text-stroke(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>(e.textStrokeWidth?.[t]&&M("textStrokeWidth",t),{"-webkit-text-stroke-width":e.textStrokeWidth?.[t]?B("textStrokeWidth",t):d.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,T("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":d.bracket.percent.cssvar(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]];function Gd(t,e){let[,r]=t,{theme:n}=e,o=[];r&&(o=xe(r,"/",2)??[]);let i=n.textShadow?.[o[0]],a=r?d.bracket.cssvar(r):void 0;if((i!=null||a!=null)&&!we(a,n)){let s=o[1]?d.bracket.percent.cssvar(o[1]):void 0;return{"--un-text-shadow-opacity":s,"--un-text-shadow":vr(i||a,"--un-text-shadow-color",s).join(","),"text-shadow":"var(--un-text-shadow)"}}return T("--un-text-shadow-color","text-shadow")(t,e)??{"text-shadow":d.bracket.cssvar.global(r)}}var Kd=[[/^text-shadow-(.+)$/,Gd,{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,T("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":d.bracket.percent.cssvar(t)}),{autocomplete:"text-shadow(-color)?-(op|opacity)-<percent>"}]],je=[k("--un-ordinal"),k("--un-slashed-zero"),k("--un-numeric-figure"),k("--un-numeric-spacing"),k("--un-numeric-fraction")],De={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},Yd=[["ordinal",[{"--un-ordinal":"ordinal",...De},...je]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...De},...je]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...De},...je]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...De},...je]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...De},...je]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...De},...je]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...De},...je]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...De},...je]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function Xd([,t="base"],{theme:e}){let r=Zd(t,"length");if(!r)return;let[n,o]=r,i=e.text?.[n],a;if(o&&(e.leading?.[o]?(M("leading",o),a=B("leading",o)):a=d.bracket.cssvar.global.rem(o)),i)return M("text",[n,"fontSize"]),M("text",[n,"lineHeight"]),i.letterSpacing&&M("text",[n,"letterSpacing"]),{"font-size":B("text",[n,"fontSize"]),"line-height":a??`var(--un-leading, ${B("text",[n,"lineHeight"])})`,"letter-spacing":i.letterSpacing?B("text",[n,"letterSpacing"]):void 0};let s=d.bracketOfLength.rem(n);return a&&s?{"font-size":s,"line-height":a}:{"font-size":d.bracketOfLength.rem(t)}}function Ia([,t],{theme:e}){if(e.text?.[t]!=null)return M("text",[t,"fontSize"]),M("text",[t,"lineHeight"]),{"font-size":B("text",[t,"fontSize"]),"line-height":`var(--un-leading, ${B("text",[t,"lineHeight"])})`};{let r=d.bracket.cssvar.global.rem(t);if(r)return{"font-size":r}}}function Jd(t,e){return ht(d.bracket(t[1]))?Ia(t,e):T("color","text")(t,e)}function Zd(t,e){let[r,n]=qe(t,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(yr)??[])[1];if(o==null||o===e)return[r,n]}}var Qd={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space","bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-image":"background-image","bg-origin":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","mix-blend":"mix-blend-mode",object:"object-fit","object-position":"object-position",write:"writing-mode","write-orient":"text-orientation"},eh=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=Qd[t];if(r)return{[r]:d.cssvar(e)}}]],th=[[/^\[(.*)\]$/,([t,e])=>{if(!e.includes(":"))return;let[r,...n]=e.split(":"),o=n.join(":");if(!nh(e)&&/^[\w-]+$/.test(r)&&rh(o)){let i=d.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function rh(t){let e=0;function r(n){for(;e<t.length;)if(e+=1,t[e]===n)return!0;return!1}for(e=0;e<t.length;e++){let n=t[e];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function nh(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var oh=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],ja=[Vd,Hd,Wd,Ud,Kd,Lf,Af,tf,ef,lf,da,ha,uf,pf,ff,df,hf,da,mf,ha,gf,$f,yf,_f,sa,aa,Ef,jf,Df,Ff,id,sd,cd,ud,pd,fd,dd,hd,md,gd,bd,yd,vd,kd,xd,wd,Sd,$d,rd,td,Bd,qd,eh,th,Ra,Qf,Yf,Jf,Xf,Oa,Kf,Na,Gf,Zf,Bf,Id,rf,af,_d,Cd,Ed,Nd,Pd,Ad,Ld,Md,Od,Rd,Wf,Cf,If,qf,Uf,nd,Dd,Td,Yd,oh,Mf,Rf,zd,ed].flat();function ih(){return{getCSS:()=>{if(Ge.size>0){let t="@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",e="*, ::before, ::after, ::backdrop",r=Array.from(Ge.entries()).map(([n,o])=>`${n}:${o};`).join("");return`${t}{${e}{${r}}}`}},layer:"properties"}}var ah=`
34
34
  /*
35
35
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
36
36
  2. Remove default margins and padding
@@ -382,6 +382,14 @@ textarea {
382
382
  padding-block: 0;
383
383
  }
384
384
 
385
+ /*
386
+ Center dropdown marker shown on inputs with paired \`<datalist>\`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
387
+ */
388
+
389
+ ::-webkit-calendar-picker-indicator {
390
+ line-height: 1;
391
+ }
392
+
385
393
  /*
386
394
  Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
387
395
  */
@@ -416,8 +424,8 @@ input:where([type='button'], [type='reset'], [type='submit']),
416
424
  [hidden]:where(:not([hidden='until-found'])) {
417
425
  display: none !important;
418
426
  }
419
- `;function Kh(t){if(t.preflights?.reset!==!1)return{getCSS:({generator:e})=>(E("font","sans"),E("font","mono"),E("default",["font","family"]),E("default",["monoFont","family"]),Ln(Gh,e.config.envMode==="dev")),layer:"base"}}var Yh=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports"];function Xh(t,e){let r=new Map([["--spacing",t.spacing.DEFAULT]]),n=i=>i.replace(xn,"1");function o(i,s){for(let a in i)Array.isArray(i[a])?r.set(`--${s}-${a}`,n(i[a].join(","))):typeof i[a]=="object"?o(i[a],`${s}-${a}`):r.set(`--${s}-${a}`,n(i[a]))}for(let i in t)e.includes(i)&&o(t[i],i);return r}function Jh(t){return{layer:"theme",getCSS(e){let{theme:r,generator:n}=e,o=ce(n.config.safelist.flatMap(l=>typeof l=="function"?l(e):l)),{mode:i,process:s}=t.preflights.theme;if(i===!1)return;if(o.length>0)for(let l of o){let[f,...u]=l.trim().split(":");if(f in r&&u.length<=1){let h=u.length===0?["DEFAULT"]:u[0].split("-"),d=Lt(r,f,h);typeof d=="string"&&(E(f,h),it(d,r))}}let a,c=l=>{if(s)for(let h of l)for(let d of O(s))d(h,e);let f=l.map(([h,d])=>h&&d?`${h}: ${d};`:void 0).filter(Boolean);if(f.length===0)return;let u=f.join(`
420
- `);return Ln(`
427
+ `;function sh(t){if(t.preflights?.reset!==!1)return{getCSS:({generator:e})=>(M("font","sans"),M("font","mono"),M("default",["font","family"]),M("default",["monoFont","family"]),Dn(ah,e.config.envMode==="dev")),layer:"base"}}var lh=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports","containers"];function ch(t,e){let r=new Map([["--spacing",t.spacing.DEFAULT]]),n=i=>i.replace(Pn,"1");function o(i,a){for(let s in i)Array.isArray(i[s])?r.set(`--${a}-${s}`,n(i[s].join(","))):typeof i[s]=="object"?o(i[s],`${a}-${s}`):r.set(`--${a}-${s}`,n(i[s]))}for(let i in t)e.includes(i)&&o(t[i],i);return r}function uh(t){return{layer:"theme",getCSS(e){let{theme:r,generator:n}=e,o=he(n.config.safelist.flatMap(l=>typeof l=="function"?l(e):l)),{mode:i,process:a}=t.preflights.theme;if(i===!1)return;if(o.length>0)for(let l of o){let[f,...p]=l.trim().split(":");if(f in r&&p.length<=1){let h=p.length===0?["DEFAULT"]:p[0].split("-"),m=Dt(r,f,h);typeof m=="string"&&(M(f,h),mt(m,r))}}let s,c=l=>{if(a)for(let h of l)for(let m of N(a))m(h,e);let f=l.map(([h,m])=>h&&m?`${h}: ${m};`:void 0).filter(Boolean);if(f.length===0)return;let p=f.join(`
428
+ `);return Dn(`
421
429
  :root, :host {
422
- ${u}
423
- }`,n.config.envMode==="dev")};if(i==="on-demand"){if(je.size===0)return;a=Array.from(je).map(l=>{let[f,u]=l.split(":"),h=Lt(r,f,u.split("-"));if(typeof h=="string")return[`--${f}${`${f==="spacing"&&u==="DEFAULT"?"":`-${u}`}`}`,h]}).filter(Boolean)}else{let l=Object.keys(r).filter(f=>!Yh.includes(f));a=Array.from(Xh(r,l))}return c(a)}}}var Zh=t=>[Kh(t),Jh(t),Uh()].filter(Boolean),Qh={position:["relative","absolute","fixed","sticky","static"],globalKeyword:N},Rs=(t={})=>{t.dark=t.dark??"class",t.attributifyPseudo=t.attributifyPseudo??!1,t.variablePrefix=t.variablePrefix??"un-",t.important=t.important??!1;let e=typeof t.preflights?.theme=="boolean"||typeof t.preflights?.theme=="string"?{mode:t.preflights.theme??"on-demand"}:{mode:t.preflights?.theme?.mode??"on-demand",...t.preflights?.theme};return t.preflights={reset:t.preflights?.reset??!0,theme:e},{name:Di,rules:Os,shortcuts:rs,theme:Zi,layers:{properties:-200,theme:-150,base:-100},preflights:Zh(t),variants:Xi(t),prefix:t.prefix,postprocess:Ui(t),extractorDefault:t.arbitraryVariants===!1?void 0:pi(),autocomplete:{shorthands:Qh},options:t,configResolved(){je.clear(),Te.clear()},meta:{themeDeps:je,propertyDeps:Te}}};var tn=Qo(To(),1),W0=ui({presets:[Rs(),_n()],theme:{}}),Do=10,en=class extends tn.default.Visitor{data=[];match=()=>!0;constructor(e){super(),e&&this.setMatchHandler(e)}onCollect(e){this.match(e)&&this.data.push(e)}setMatchHandler(e){return this.match=e,this}setAst(e){return this.accept(e),this}collect(e){return this.data=[],this.setAst(e),this.data}},Fo=class extends en{CommentStatement(e){return this.onCollect(e.value),super.CommentStatement(e)}},Bo=class extends en{PathExpression(e){return this.onCollect(e.original),super.PathExpression(e)}},qo=class extends Fo{match=Ho.macro};function Wo(t,e){return t.hasOwnProperty(e)}function Ye(t){switch(typeof t){case"string":return`'${t}'`;case"object":return JSON.stringify(t);default:return String(t)}}function Oe(t={}){return{helpers:t?.helpers??null}}function U0(t){return[...new Set(t)]}function _l(t){return tn.default.parse(t)}function Uo(t){return tn.default.compile(t)}function Go(t,e={},r={}){return t(e,{helpers:r})}async function $l(t,e={},r={}){let n=await W0,o=Go(t,e,r),{css:i}=await n.generate(o,{preflights:!0});return i}function G0(t){let e=new Bo().collect(t);return U0(e)}function Vo(t,e=Do){if(e<=0)throw new Je("Flext: Unable to get the model: The model is too deep");let[r,...n]=t?.split(".")??[],o={name:r};return n?.length>0&&(o.$=[Vo(n?.join("."),e-1)]),o}function K0(t,e=Do){let n={name:"root",$:[Vo(t,e)]};return n.addPath=(o,i=Do)=>{let s=Vo(o,i),a=n,c=s;for(let l=0;l<99;l++){if(!c)return;let f=a?.$??[],u=null;for(let d of f)c?.name===d?.name&&(u=d);if(!u){a.$=[...f,c];return}let[h]=c.$??[];a=u,c=h??null}},n}function Cl(t){let[e,...r]=G0(t),n=K0(e);for(let o of r)n.addPath(o);return n}function Y0(t){let e=s=>t?.match(s)??null,r=s=>{let a=s?.groups?.value??null;return{name:s?.groups?.name??a,value:a}},n=e(Me.macroParam),o=e(Me.macroNamedParam),i=e(Me.macroSimpleParam);return n?r(n):o?r(o):i?r(i):null}function X0(t,e=!0){let r=t?.match(Me.macroParams)??[],n=[];for(let o of r){let i=Y0(o);if(i)n.push(i);else if(e)throw new xt("Flext: Unable to parse the macros: Bad token: "+Ye(o))}return n}function El(t,e=!0){let r=new qo().collect(t),n=[];for(let o of r){let i=o?.trim()?.match(Me.macro)??null;if(!i&&e)throw new xt("Flext: Unable to parse the macros: Bad macro: "+Ye(o));let s=i?.groups?.name??null,a=i?.groups?.params??null,c=X0(a,e);n.push({name:s,params:c})}return n}var Me=class{static macro=/^@(?<name>.+?) (?<params>.+)$/;static macroParams=/(?<param>".+?")|(?<namedParam>[a-zA-Z0-9]+=".+?")|(?<simplaeParam>[a-zA-Z0-9]+)/gm;static macroParam=/^"(?<value>.+)"$/;static macroNamedParam=/^(?<name>.+)="(?<value>.+)"$/;static macroSimpleParam=/^(?<name>[a-zA-Z]+)$/},Ho=class{static macro(e){return!!e?.trim()?.match(Me.macro)}};var Yo={};Vl(Yo,{cond:()=>Pl,match:()=>Ll,math:()=>zl,put:()=>Rl});function he(t){let e=t?.args??[],[r,n,o]=e,i=(...s)=>{let[a,...c]=s,[l]=c;throw new Error("Condition: Unknown operation: "+Ye(a))};switch(n){case"equal":return r===o;case"softEqual":return r==o;case"notEqual":return r!==o;case"softNotEqual":return r!=o;case"and":return r&&o;case"or":return r||o;case"greater":return Number(r)>Number(o);case"less":return Number(r)<Number(o);default:return i(...e)}}function J0(t){let e=t?.args??[],[r,n]=e;return he({args:[r,"equal",n]})}function Z0(t){let e=t?.args??[],[r,n]=e;return he({args:[r,"softEqual",n]})}function Q0(t){let e=t?.args??[],[r,n]=e;return he({args:[r,"notEqual",n]})}function eg(t){let e=t?.args??[],[r,n]=e;return he({args:[r,"softNotEqual",n]})}function tg(t){let e=t?.args??[],[r,n]=e;return he({args:[r,"and",n]})}function rg(t){let e=t?.args??[],[r,n]=e;return he({args:[r,"or",n]})}function ng(t){let e=t?.args??[],[r,n]=e;return he({args:[r,"greater",n]})}function og(t){let e=t?.args??[],[r,n]=e;return he({args:[r,"less",n]})}var Pl=Oe({helpers:{op:he,equal:J0,softEqual:Z0,notEqual:Q0,softNotEqual:eg,and:tg,or:rg,greater:ng,less:og,noColor:he,__default:he}});function ig(t){let e=t?.args??[],[r]=e,n=t?.self??null,o=t?.getContent??null;return n.__flext_match_value=r,n.__flext_match_isInProgress=!0,o()}function Al(t){let e=t?.args??[],r=t?.self??null,n=r.__flext_match_value??null,o=t?.getContent??null;if(r.__flext_match_isInProgress){for(let i of e)if(n===i)return r.__flext_match_isInProgress=!1,o()}return""}function sg(t){let r=(t?.self??null).__flext_match_value??null;return Al({...t,args:[r]})}var Ll=Oe({helpers:{case:Al,fallback:sg,__default:ig}});var Ml=Qo(To(),1);function Ol(t){let e=t?.args??[],[r,n]=e;return r??n??""}function Ko(t){return new Ml.SafeString(`<span class="text-blue-500">${Ol(t)}</span>`)}var Rl=Oe({helpers:{noColor:Ol,__default:Ko}});function Nl(t){let e=t?.args??[],[r,n,o]=e,i=(...s)=>{let[a,...c]=s,l=Math[a]??null;if(l)return l(...c);throw new Error("Math: Unknown operation: "+Ye(a))};switch(n){case"plus":return Number(r)+Number(o);case"minus":return Number(r)-Number(o);case"multiply":return Number(r)*Number(o);case"divide":return Number(r)/Number(o);case"intDivide":return Number(r)%Number(o);case"power":return Number(r)**Number(o);default:return i(...e)}}function ae(t){let e=Nl(t),r={...t,args:[e]};return Ko(r)}function ag(t){let e=t?.args??[],[r,n]=e;return ae({args:[r,"plus",n]})}function lg(t){let e=t?.args??[],[r,n]=e;return ae({args:[r,"minus",n]})}function cg(t){let e=t?.args??[],[r,n]=e;return ae({args:[r,"multiply",n]})}function ug(t){let e=t?.args??[],[r,n]=e;return ae({args:[r,"divide",n]})}function fg(t){let e=t?.args??[],[r,n]=e;return ae({args:[r,"intDivide",n]})}function pg(t){let e=t?.args??[],[r,n]=e;return ae({args:[r,"power",n]})}function hg(t){let e=t?.args??[],[r,n]=e,o=(i,s)=>ae({args:[i,s]});if(!n)return o("round",r);switch(n){case"floor":return o("floor",r);case"ceil":return o("ceil",r);case"trunc":return o("trunc",r);default:throw new Error("Math: Unknown operation: "+Ye(n))}}function dg(t){let e=t?.args??[],[r]=e;return ae({args:["sqrt",r]})}function mg(t){let e=t?.args??[],[r]=e;return ae({args:["cbrt",r]})}function gg(t){let e=t?.args??[],[r]=e;return ae({args:["abs",r]})}var zl=Oe({helpers:{op:ae,plus:ag,minus:lg,multiply:cg,divide:ug,intDivide:fg,power:pg,round:hg,sqrt:dg,cbrt:mg,abs:gg,noColor:Nl,__default:ae}});var bg="__default",jl="string",Il=10,Xo=class{constructor(e=null,r={},n={}){this.setData(r),this.setHelpers(n),e&&this.setTemplate(e)}setTemplate(e){return this.data={},this.helpers={},this.ast=_l(e),this}setData(e){return this.data=e,this}setHelpers(e){return this.helpers=e,this}addHelper(e,r){return this.helpers[e]=r,this}getHtml(e={},r={}){let n=Uo(this.ast);if(!n)throw new kt("Flext: Unable to get HTML: No template");return Go(n,{...this.data,...e},{...this.helpers,...r})}async getCss(e={},r={}){let n=Uo(this.ast);if(!n)throw new kt("Flext: Unable to get CSS: No template");return await $l(n,{...this.data,...e},{...this.helpers,...r})}get html(){return this.getHtml()}},Jo=class extends Xo{useModule(...e){for(let r of e)this.addModule(r,Yo[r]);return this}setTemplate(e){super.setTemplate(e);let r=El(this.ast),n=u=>r?.filter(h=>h?.name===u)??null,o=u=>{let[h]=n(u),[d]=h?.params??[];return d?.value??null},i=o("v"),s=n("use"),a=o("lineHeight"),l=n("field")?.map(yg)??null;i&&this.setVersion(i),a&&this.setLineHeight(Number(a)),l&&this.setFields(l);let f=s.map(vg).flat();return this.useModule(...f),this}setVersion(e){return this.version=e,this}setLineHeight(e){return this.lineHeight=e,this}setFields(e){return this.fields=e,this}addModule(e,r){let n=r?.helpers??{};for(let o in n){if(!Wo(n,o))continue;let i=n[o],s=o===bg,a=function(...c){let l=c[c.length-1]??{},f=this;return i({args:c,options:l,self:f,getContent:()=>l?.fn(f)??null})};s?this.addHelper(e,a):this.addHelper(e+":"+o,a)}return this}getDataModel(e=Il){let r=s=>{for(let a in this.helpers)if(Wo(this.helpers,a)&&s?.name===a)return!0;return!1},n=(s,a={},c=Il)=>{if(c<=0)throw new Je("Flext: Unable to get data model: The data model is too deep");let l=a?.fieldName??null,f=this.fields?.find(w=>w?.name===l)??null,u=s?.name??null,h=f?.label??null,d=f?.type??jl,m=!!f?.isRequired,g=s?.$??[],k=[];for(let w of g){let S=w?.name??null;k.push(n(w,{fieldName:l+"."+S},c-1))}return{name:u,label:h,type:d,isRequired:m,$:k}};return(Cl(this.ast)?.$??[]).filter(s=>!r(s)).map(s=>n(s,{fieldName:s?.name??null},e))}get model(){return this.getDataModel()}};function vg(t){return(t?.params??[]).map(r=>r?.value??null)}function yg(t){let e=t?.params??[],[r,...n]=e,o=l=>{let f=n?.find(u=>u?.name===l)??null;return f&&f?.value?f?.value??null:f&&f?.name?!0:null},i=r?.value??null,s=o("label"),a=o("type")??jl,c=!!o("required");return{name:i,label:s,type:a,isRequired:c}}var c1=Jo;export{jl as DEFAULT_FIELD_TYPE,bg as DEFAULT_HELPER_NAME,Il as DEFAULT_MODEL_DEPTH,Jo as Flext,Xo as SimpleFlext,c1 as default,yg as macroToField,vg as macroToModuleNames};
430
+ ${p}
431
+ }`,n.config.envMode==="dev")};if(i==="on-demand"){if(Ue.size===0)return;s=Array.from(Ue).map(l=>{let[f,p]=l.split(":"),h=Dt(r,f,p.split("-"));if(typeof h=="string")return[`--${f}${`${f==="spacing"&&p==="DEFAULT"?"":`-${p}`}`}`,h]}).filter(Boolean)}else{let l=Object.keys(r).filter(f=>!lh.includes(f));s=Array.from(ch(r,l))}return c(s)}}}var ph=t=>[sh(t),uh(t),ih()].filter(Boolean),fh={position:["relative","absolute","fixed","sticky","static"],globalKeyword:D},Da=(t={})=>{t.dark=t.dark??"class",t.attributifyPseudo=t.attributifyPseudo??!1,t.variablePrefix=t.variablePrefix??"un-",t.important=t.important??!1;let e=typeof t.preflights?.theme=="boolean"||typeof t.preflights?.theme=="string"?{mode:t.preflights.theme??"on-demand"}:{mode:t.preflights?.theme?.mode??"on-demand",...t.preflights?.theme};return t.preflights={reset:t.preflights?.reset??!0,theme:e},{name:Ui,rules:ja,shortcuts:ca,theme:ia,layers:{properties:-200,theme:-150,base:-100},preflights:ph(t),variants:na(t),prefix:t.prefix,postprocess:Qi(t),extractorDefault:t.arbitraryVariants===!1?void 0:ki(),autocomplete:{shorthands:fh},options:t,configResolved(){Ue.clear(),Ge.clear()},meta:{themeDeps:Ue,propertyDeps:Ge}}};var un=ai(Uo(),1),o0=yi({presets:[Da(),On()],theme:{}}),Go=10,cn=class extends un.default.Visitor{data=[];match=()=>!0;constructor(e){super(),e&&this.setMatchHandler(e)}onCollect(e){this.match(e)&&this.data.push(e)}setMatchHandler(e){return this.match=e,this}setAst(e){return this.accept(e),this}collect(e){return this.data=[],this.setAst(e),this.data}},Ko=class extends cn{CommentStatement(e){return this.onCollect(e.value),super.CommentStatement(e)}},Yo=class extends cn{PathExpression(e){return this.onCollect(e.original),super.PathExpression(e)}},Xo=class extends Ko{match=Zo.macro};function i0(t){return typeof t=="object"&&t!==null}function Qo(t,e){return t.hasOwnProperty(e)}function Al(t,...e){return e.includes(t)}function ye(t){switch(typeof t){case"string":return`'${t}'`;case"object":return JSON.stringify(t);default:return String(t)}}function Ce(t={}){return{helpers:t?.helpers??null}}function a0(t){return[...new Set(t)]}function Ll(t){return un.default.parse(t)}function ei(t){return un.default.compile(t)}function ti(t,e={},r={}){return t(e,{helpers:r})}async function Ml(t,e={},r={}){let n=await o0,o=ti(t,e,r),{css:i}=await n.generate(o,{preflights:!0});return i}function s0(t){let e=new Yo().collect(t);return a0(e)}function Jo(t,e=Go){if(e<=0)throw new at("Flext: Unable to get the model: The model is too deep");let[r,...n]=t?.split(".")??[],o={name:r};return n?.length>0&&(o.$=[Jo(n?.join("."),e-1)]),o}function l0(t,e=Go){let n={name:"root",$:[Jo(t,e)]};return n.addPath=(o,i=Go)=>{let a=Jo(o,i),s=n,c=a;for(let l=0;l<99;l++){if(!c)return;let f=s?.$??[],p=null;for(let m of f)c?.name===m?.name&&(p=m);if(!p){s.$=[...f,c];return}let[h]=c.$??[];s=p,c=h??null}},n}function Ol(t){let[e,...r]=s0(t),n=l0(e);for(let o of r)n.addPath(o);return n}function c0(t){let e=a=>t?.match(a)??null,r=a=>{let s=a?.groups?.value??null;return{name:a?.groups?.name??s,value:s}},n=e(Oe.macroParam),o=e(Oe.macroNamedParam),i=e(Oe.macroSimpleParam);return n?r(n):o?r(o):i?r(i):null}function u0(t,e=!0){let r=t?.match(Oe.macroParams)??[],n=[];for(let o of r){let i=c0(o);if(i)n.push(i);else if(e)throw new it("Flext: Unable to parse the macros: Bad token: "+ye(o))}return n}function Rl(t,e=!0){let r=new Xo().collect(t),n=[];for(let o of r){let i=o?.trim()?.match(Oe.macro)??null;if(!i&&e)throw new it("Flext: Unable to parse the macros: Bad macro: "+ye(o));let a=i?.groups?.name??null,s=i?.groups?.params??null,c=u0(s,e);n.push({name:a,params:c})}return n}function Nl(t){let e=i0(t)&&t instanceof Date,r=typeof t=="string"&&Oe.dbDateStr.test(t),n=i=>{let[a,s,c]=i?.split("-")?.map(Number)??[];if(a&&s&&c)return new Date(a,s-1,c);throw new J("Unable to get date: The date is invalid: "+ye(i))},o=i=>{let a=new Date(i);if(isNaN(a.getTime()))throw new it("Flext: Unable to get date: The date is invalid");return a};return e?t:r?n(t):o(t)}var Oe=class{static dbDateStr=/^\d+-\d+-\d+$/;static macro=/^@(?<name>.+?) (?<params>.+)$/;static macroParams=/(?<param>".+?")|(?<namedParam>[a-zA-Z0-9]+=".+?")|(?<simplaeParam>[a-zA-Z0-9]+)/gm;static macroParam=/^"(?<value>.+)"$/;static macroNamedParam=/^(?<name>.+)="(?<value>.+)"$/;static macroSimpleParam=/^(?<name>[a-zA-Z]+)$/},Zo=class{static macro(e){return!!e?.trim()?.match(Oe.macro)}};var ri={};Zl(ri,{cond:()=>zl,date:()=>Fl,match:()=>ql,math:()=>Hl,put:()=>Dl});function ve(t){let e=t?.args??[],[r,n,o]=e,i=(...a)=>{let[s,...c]=a,[l]=c;throw new J("Condition: Unknown operation: "+ye(s))};switch(n){case"equal":return r===o;case"softEqual":return r==o;case"notEqual":return r!==o;case"softNotEqual":return r!=o;case"and":return r&&o;case"or":return r||o;case"greater":return Number(r)>Number(o);case"less":return Number(r)<Number(o);default:return i(...e)}}function p0(t){let e=t?.args??[],[r,n]=e;return ve({args:[r,"equal",n]})}function f0(t){let e=t?.args??[],[r,n]=e;return ve({args:[r,"softEqual",n]})}function d0(t){let e=t?.args??[],[r,n]=e;return ve({args:[r,"notEqual",n]})}function h0(t){let e=t?.args??[],[r,n]=e;return ve({args:[r,"softNotEqual",n]})}function m0(t){let e=t?.args??[],[r,n]=e;return ve({args:[r,"and",n]})}function g0(t){let e=t?.args??[],[r,n]=e;return ve({args:[r,"or",n]})}function b0(t){let e=t?.args??[],[r,n]=e;return ve({args:[r,"greater",n]})}function y0(t){let e=t?.args??[],[r,n]=e;return ve({args:[r,"less",n]})}var zl=Ce({helpers:{op:ve,equal:p0,softEqual:f0,notEqual:d0,softNotEqual:h0,and:m0,or:g0,greater:b0,less:y0,noColor:ve,__default:ve}});var Il=ai(Uo(),1);function jl(t){let e=t?.args??[],[r,n]=e;return r??n??""}function or(t){return new Il.SafeString(`<span class="text-blue-500">${jl(t)}</span>`)}var Dl=Ce({helpers:{noColor:jl,__default:or}});var ir="en-US";function nt(t){let e=t?.args??[],[r,n,o,i]=e,a=Al(r,"now",null,void 0)?new Date:Nl(r),s=(c,l=2)=>String(c||"").padStart(l,"0");if(n==="pad")switch(o){case"seconds":return s(a.getSeconds());case"minutes":return s(a.getMinutes());case"hours":return s(a.getHours());case"day":return s(a.getDate());case"month":return s(a.getMonth()+1);case"year":return s(a.getFullYear(),4);default:throw new J(`Date: Operation ${ye(nt)} is not compatible with argument 'pad'`)}if(o==="genitive")switch(n){case"monthText":return a.toLocaleString(i??ir,{day:"numeric",month:"long"}).replace(/[^\p{L}]/gu,"").toLowerCase();default:throw new J(`Date: Operation ${ye(nt)} is not compatible with argument 'genitive'`)}switch(n){case"seconds":return a.getSeconds();case"minutes":return a.getMinutes();case"hours":return a.getHours();case"day":return a.getDate();case"month":return a.getMonth()+1;case"monthText":return a.toLocaleString(o??ir,{month:"long"}).toLowerCase();case"year":return a.getFullYear();case"text":return a.toLocaleString(o??ir);case"unix":return a.getTime();case"iso":return a.toISOString();default:return a}}function X(t){let e=nt(t),r={...t,args:[e]};return or(r)}function v0(t){let e=t?.args??[],[r,n]=e;return X(n==="noPadding"?{args:[r,"seconds"]}:{args:[r,"pad","seconds"]})}function k0(t){let e=t?.args??[],[r,n]=e;return X(n==="noPadding"?{args:[r,"minutes"]}:{args:[r,"pad","minutes"]})}function x0(t){let e=t?.args??[],[r,n]=e;return X(n==="noPadding"?{args:[r,"hours"]}:{args:[r,"pad","hours"]})}function w0(t){let e=t?.args??[],[r,n]=e;return X(n==="noPadding"?{args:[r,"day"]}:{args:[r,"pad","day"]})}function S0(t){let e=t?.args??[],[r,n]=e;return X(n==="noPadding"?{args:[r,"month"]}:{args:[r,"pad","month"]})}function $0(t){let e=t?.args??[],[r,n,o]=e;return X(n==="nominative"?{args:[r,"monthText",o??ir]}:{args:[r,"monthText","genitive",n??ir]})}function _0(t){let e=t?.args??[],[r,n]=e;return X(n==="noPadding"?{args:[r,"year"]}:{args:[r,"pad","year"]})}function Tl(t){let e=t?.args??[],[r,n]=e;return X({args:[r,"text",n]})}function C0(){return nt({args:["now"]})}function E0(t){let e=t?.args??[],[r]=e;return nt({args:[r,"unix"]})}function P0(t){let e=t?.args??[],[r]=e;return nt({args:[r,"iso"]})}var Fl=Ce({helpers:{op:X,now:C0,seconds:v0,minutes:k0,hours:x0,day:w0,month:S0,monthText:$0,year:_0,text:Tl,unix:E0,iso:P0,noColor:nt,__default:Tl}});function A0(t){let e=t?.args??[],[r]=e,n=t?.self??null,o=t?.getContent??null;return n.__flext_match_value=r,n.__flext_match_isInProgress=!0,o()}function Bl(t){let e=t?.args??[],r=t?.self??null,n=r.__flext_match_value??null,o=t?.getContent??null;if(r.__flext_match_isInProgress){for(let i of e)if(n===i)return r.__flext_match_isInProgress=!1,o()}return""}function L0(t){let r=(t?.self??null).__flext_match_value??null;return Bl({...t,args:[r]})}var ql=Ce({helpers:{case:Bl,fallback:L0,__default:A0}});function Vl(t){let e=t?.args??[],[r,n,o]=e,i=(...a)=>{let[s,...c]=a,l=Math[s]??null;if(l)return l(...c);throw new J("Math: Unknown operation: "+ye(s))};switch(n){case"plus":return Number(r)+Number(o);case"minus":return Number(r)-Number(o);case"multiply":return Number(r)*Number(o);case"divide":return Number(r)/Number(o);case"intDivide":return Number(r)%Number(o);case"power":return Number(r)**Number(o);default:return i(...e)}}function fe(t){let e=Vl(t),r={...t,args:[e]};return or(r)}function M0(t){let e=t?.args??[],[r,n]=e;return fe({args:[r,"plus",n]})}function O0(t){let e=t?.args??[],[r,n]=e;return fe({args:[r,"minus",n]})}function R0(t){let e=t?.args??[],[r,n]=e;return fe({args:[r,"multiply",n]})}function N0(t){let e=t?.args??[],[r,n]=e;return fe({args:[r,"divide",n]})}function z0(t){let e=t?.args??[],[r,n]=e;return fe({args:[r,"intDivide",n]})}function I0(t){let e=t?.args??[],[r,n]=e;return fe({args:[r,"power",n]})}function j0(t){let e=t?.args??[],[r,n]=e,o=(i,a)=>fe({args:[i,a]});if(!n)return o("round",r);switch(n){case"floor":return o("floor",r);case"ceil":return o("ceil",r);case"trunc":return o("trunc",r);default:throw new J("Math: Unknown operation: "+ye(n))}}function D0(t){let e=t?.args??[],[r]=e;return fe({args:["sqrt",r]})}function T0(t){let e=t?.args??[],[r]=e;return fe({args:["cbrt",r]})}function F0(t){let e=t?.args??[],[r]=e;return fe({args:["abs",r]})}var Hl=Ce({helpers:{op:fe,plus:M0,minus:O0,multiply:R0,divide:N0,intDivide:z0,power:I0,round:j0,sqrt:D0,cbrt:T0,abs:F0,noColor:Vl,__default:fe}});var B0="__default",Ul="string",Wl=10,ni=class{constructor(e=null,r={},n={}){this.setData(r),this.setHelpers(n),e&&this.setTemplate(e)}setTemplate(e){return this.data={},this.helpers={},this.ast=Ll(e),this}setData(e){return this.data=e,this}setHelpers(e){return this.helpers=e,this}addHelper(e,r){return this.helpers[e]=r,this}getHtml(e={},r={}){let n=ei(this.ast);if(!n)throw new J("Flext: Unable to get HTML: No template");return ti(n,{...this.data,...e},{...this.helpers,...r})}async getCss(e={},r={}){let n=ei(this.ast);if(!n)throw new J("Flext: Unable to get CSS: No template");return await Ml(n,{...this.data,...e},{...this.helpers,...r})}get html(){return this.getHtml()}},oi=class extends ni{useModule(...e){for(let r of e)this.addModule(r,ri[r]);return this}setTemplate(e){super.setTemplate(e);let r=Rl(this.ast),n=h=>r?.filter(m=>m?.name===h)??null,o=h=>{let[m]=n(h),[g]=m?.params??[];return g?.value??null},i=o("v"),a=o("lang"),s=n("use"),c=o("lineHeight"),f=n("field")?.map(V0)??null;i&&this.setVersion(i),a&&this.setLang(a),c&&this.setLineHeight(Number(c)),f&&this.setFields(f);let p=s.map(q0).flat();return this.useModule(...p),this}setVersion(e){return this.version=e,this}setLang(e){return this.lang=e,this}setLineHeight(e){return this.lineHeight=e,this}setFields(e){return this.fields=e,this}addModule(e,r){let n=r?.helpers??{};for(let o in n){if(!Qo(n,o))continue;let i=n[o],a=o===B0,s=function(...c){let l=c?.slice(0,-1)??[],f=c[c.length-1]??{},p=this;return i({args:l,options:f,self:p,getContent:()=>f?.fn(p)??null})};a?this.addHelper(e,s):this.addHelper(e+":"+o,s)}return this}getDataModel(e=Wl){let r=a=>{for(let s in this.helpers)if(Qo(this.helpers,s)&&a?.name===s)return!0;return!1},n=(a,s={},c=Wl)=>{if(c<=0)throw new at("Flext: Unable to get data model: The data model is too deep");let l=s?.fieldName??null,f=this.fields?.find($=>$?.name===l)??null,p=a?.name??null,h=f?.label??null,m=f?.type??Ul,g=!!f?.isRequired,b=a?.$??[],x=[];for(let $ of b){let S=$?.name??null;x.push(n($,{fieldName:l+"."+S},c-1))}return{name:p,label:h,type:m,isRequired:g,$:x}};return(Ol(this.ast)?.$??[]).filter(a=>!r(a)).map(a=>n(a,{fieldName:a?.name??null},e))}get model(){return this.getDataModel()}};function q0(t){return(t?.params??[]).map(r=>r?.value??null)}function V0(t){let e=t?.params??[],[r,...n]=e,o=l=>{let f=n?.find(p=>p?.name===l)??null;return f&&f?.value?f?.value??null:f&&f?.name?!0:null},i=r?.value??null,a=o("label"),s=o("type")??Ul,c=!!o("required");return{name:i,label:a,type:s,isRequired:c}}var F1=oi;export{Ul as DEFAULT_FIELD_TYPE,B0 as DEFAULT_HELPER_NAME,Wl as DEFAULT_MODEL_DEPTH,oi as Flext,ni as SimpleFlext,F1 as default,V0 as macroToField,q0 as macroToModuleNames};