@trustme24/flext 1.3.4 → 1.4.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,16 +1,17 @@
1
- var vd=Object.create;var Mi=Object.defineProperty;var kd=Object.getOwnPropertyDescriptor;var wd=Object.getOwnPropertyNames;var xd=Object.getPrototypeOf,Sd=Object.prototype.hasOwnProperty;var It=(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 L=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),$d=(t,e)=>{for(var r in e)Mi(t,r,{get:e[r],enumerable:!0})},_d=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wd(e))!Sd.call(t,i)&&i!==r&&Mi(t,i,{get:()=>e[i],enumerable:!(n=kd(e,i))||n.enumerable});return t};var na=(t,e,r)=>(r=t!=null?vd(xd(t)):{},_d(e||!t||!t.__esModule?Mi(r,"default",{value:t,enumerable:!0}):r,t));var ue=L(be=>{"use strict";be.__esModule=!0;be.extend=fu;be.indexOf=Pb;be.escapeExpression=Ab;be.isEmpty=Db;be.createFrame=Ib;be.blockParams=Rb;be.appendContextPath=zb;var Mb={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},Tb=/[&<>"'`=]/g,Lb=/[&<>"'`=]/;function Nb(t){return Mb[t]}function fu(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 Qo=Object.prototype.toString;be.toString=Qo;var Xo=function(e){return typeof e=="function"};Xo(/x/)&&(be.isFunction=Xo=function(t){return typeof t=="function"&&Qo.call(t)==="[object Function]"});be.isFunction=Xo;var du=Array.isArray||function(t){return t&&typeof t=="object"?Qo.call(t)==="[object Array]":!1};be.isArray=du;function Pb(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function Ab(t){if(typeof t!="string"){if(t&&t.toHTML)return t.toHTML();if(t==null)return"";if(!t)return t+"";t=""+t}return Lb.test(t)?t.replace(Tb,Nb):t}function Db(t){return!t&&t!==0?!0:!!(du(t)&&t.length===0)}function Ib(t){var e=fu({},t);return e._parent=t,e}function Rb(t,e){return t.path=e,t}function zb(t,e){return(t?t+".":"")+e}});var Ce=L((qn,hu)=>{"use strict";qn.__esModule=!0;var es=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function ts(t,e){var r=e&&e.loc,n=void 0,i=void 0,o=void 0,s=void 0;r&&(n=r.start.line,i=r.end.line,o=r.start.column,s=r.end.column,t+=" - "+n+":"+o);for(var a=Error.prototype.constructor.call(this,t),l=0;l<es.length;l++)this[es[l]]=a[es[l]];Error.captureStackTrace&&Error.captureStackTrace(this,ts);try{r&&(this.lineNumber=n,this.endLineNumber=i,Object.defineProperty?(Object.defineProperty(this,"column",{value:o,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:s,enumerable:!0})):(this.column=o,this.endColumn=s))}catch{}}ts.prototype=new Error;qn.default=ts;hu.exports=qn.default});var mu=L((Bn,pu)=>{"use strict";Bn.__esModule=!0;var rs=ue();Bn.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var n=r.inverse,i=r.fn;if(e===!0)return i(this);if(e===!1||e==null)return n(this);if(rs.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 o=rs.createFrame(r.data);o.contextPath=rs.appendContextPath(r.data.contextPath,r.name),r={data:o}}return i(e,r)})};pu.exports=Bn.default});var bu=L((Un,gu)=>{"use strict";Un.__esModule=!0;function Fb(t){return t&&t.__esModule?t:{default:t}}var qr=ue(),Vb=Ce(),jb=Fb(Vb);Un.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new jb.default("Must pass iterator to #each");var n=r.fn,i=r.inverse,o=0,s="",a=void 0,l=void 0;r.data&&r.ids&&(l=qr.appendContextPath(r.data.contextPath,r.ids[0])+"."),qr.isFunction(e)&&(e=e.call(this)),r.data&&(a=qr.createFrame(r.data));function c(g,b,v){a&&(a.key=g,a.index=b,a.first=b===0,a.last=!!v,l&&(a.contextPath=l+g)),s=s+n(e[g],{data:a,blockParams:qr.blockParams([e[g],g],[l+g,null])})}if(e&&typeof e=="object")if(qr.isArray(e))for(var d=e.length;o<d;o++)o in e&&c(o,o,o===e.length-1);else if(typeof Symbol=="function"&&e[Symbol.iterator]){for(var u=[],h=e[Symbol.iterator](),m=h.next();!m.done;m=h.next())u.push(m.value);e=u;for(var d=e.length;o<d;o++)c(o,o,o===e.length-1)}else(function(){var g=void 0;Object.keys(e).forEach(function(b){g!==void 0&&c(g,o-1),g=b,o++}),g!==void 0&&c(g,o-1,!0)})();return o===0&&(s=i(this)),s})};gu.exports=Un.default});var vu=L((Hn,yu)=>{"use strict";Hn.__esModule=!0;function Wb(t){return t&&t.__esModule?t:{default:t}}var qb=Ce(),Bb=Wb(qb);Hn.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new Bb.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};yu.exports=Hn.default});var Su=L((Zn,xu)=>{"use strict";Zn.__esModule=!0;function Ub(t){return t&&t.__esModule?t:{default:t}}var ku=ue(),Hb=Ce(),wu=Ub(Hb);Zn.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new wu.default("#if requires exactly one argument");return ku.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||ku.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new wu.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};xu.exports=Zn.default});var _u=L((Gn,$u)=>{"use strict";Gn.__esModule=!0;Gn.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 i=1;r.hash.level!=null?i=r.hash.level:r.data&&r.data.level!=null&&(i=r.data.level),e[0]=i,t.log.apply(t,e)})};$u.exports=Gn.default});var Eu=L((Yn,Cu)=>{"use strict";Yn.__esModule=!0;Yn.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};Cu.exports=Yn.default});var Mu=L((Jn,Ou)=>{"use strict";Jn.__esModule=!0;function Zb(t){return t&&t.__esModule?t:{default:t}}var Br=ue(),Gb=Ce(),Yb=Zb(Gb);Jn.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new Yb.default("#with requires exactly one argument");Br.isFunction(e)&&(e=e.call(this));var n=r.fn;if(Br.isEmpty(e))return r.inverse(this);var i=r.data;return r.data&&r.ids&&(i=Br.createFrame(r.data),i.contextPath=Br.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:i,blockParams:Br.blockParams([e],[i&&i.contextPath])})})};Ou.exports=Jn.default});var ns=L(Kn=>{"use strict";Kn.__esModule=!0;Kn.registerDefaultHelpers=u2;Kn.moveHelperToHooks=f2;function Mt(t){return t&&t.__esModule?t:{default:t}}var Jb=mu(),Kb=Mt(Jb),Xb=bu(),Qb=Mt(Xb),e2=vu(),t2=Mt(e2),r2=Su(),n2=Mt(r2),i2=_u(),o2=Mt(i2),s2=Eu(),a2=Mt(s2),l2=Mu(),c2=Mt(l2);function u2(t){Kb.default(t),Qb.default(t),t2.default(t),n2.default(t),o2.default(t),a2.default(t),c2.default(t)}function f2(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||delete t.helpers[e])}});var Lu=L((Xn,Tu)=>{"use strict";Xn.__esModule=!0;var d2=ue();Xn.default=function(t){t.registerDecorator("inline",function(e,r,n,i){var o=e;return r.partials||(r.partials={},o=function(s,a){var l=n.partials;n.partials=d2.extend({},l,r.partials);var c=e(s,a);return n.partials=l,c}),r.partials[i.args[0]]=i.fn,o})};Tu.exports=Xn.default});var Nu=L(is=>{"use strict";is.__esModule=!0;is.registerDefaultDecorators=g2;function h2(t){return t&&t.__esModule?t:{default:t}}var p2=Lu(),m2=h2(p2);function g2(t){m2.default(t)}});var os=L((Qn,Pu)=>{"use strict";Qn.__esModule=!0;var b2=ue(),lr={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if(typeof e=="string"){var r=b2.indexOf(lr.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},log:function(e){if(e=lr.lookupLevel(e),typeof console<"u"&&lr.lookupLevel(lr.level)<=e){var r=lr.methodMap[e];console[r]||(r="log");for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];console[r].apply(console,i)}}};Qn.default=lr;Pu.exports=Qn.default});var Au=L(ss=>{"use strict";ss.__esModule=!0;ss.createNewLookupObject=v2;var y2=ue();function v2(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return y2.extend.apply(void 0,[Object.create(null)].concat(e))}});var as=L(Ur=>{"use strict";Ur.__esModule=!0;Ur.createProtoAccessControl=S2;Ur.resultIsAllowed=$2;Ur.resetLoggedProperties=C2;function k2(t){return t&&t.__esModule?t:{default:t}}var Du=Au(),w2=os(),x2=k2(w2),ei=Object.create(null);function S2(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:Du.createNewLookupObject(r,t.allowedProtoProperties),defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:Du.createNewLookupObject(e,t.allowedProtoMethods),defaultValue:t.allowProtoMethodsByDefault}}}function $2(t,e,r){return Iu(typeof t=="function"?e.methods:e.properties,r)}function Iu(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(_2(e),!1)}function _2(t){ei[t]!==!0&&(ei[t]=!0,x2.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 Od=Object.create;var Ti=Object.defineProperty;var Md=Object.getOwnPropertyDescriptor;var Td=Object.getOwnPropertyNames;var Ld=Object.getPrototypeOf,Ad=Object.prototype.hasOwnProperty;var It=(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 A=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Nd=(t,e)=>{for(var r in e)Ti(t,r,{get:e[r],enumerable:!0})},Pd=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Td(e))!Ad.call(t,i)&&i!==r&&Ti(t,i,{get:()=>e[i],enumerable:!(n=Md(e,i))||n.enumerable});return t};var Li=(t,e,r)=>(r=t!=null?Od(Ld(t)):{},Pd(e||!t||!t.__esModule?Ti(r,"default",{value:t,enumerable:!0}):r,t));var gu=A((mu,qn)=>{"use strict";(function(t){if(typeof e!="function"){var e=function(h){return h};e.nonNative=!0}let r=e("plaintext"),n=e("html"),i=e("comment"),o=/<(\w*)>/g,s=/<\/?([^\s\/>]+)/;function a(h,g,b){h=h||"",g=g||[],b=b||"";let y=c(g,b);return d(h,y)}function l(h,g){h=h||[],g=g||"";let b=c(h,g);return function(k){return d(k||"",b)}}a.init_streaming_mode=l;function c(h,g){return h=u(h),{allowable_tags:h,tag_replacement:g,state:r,tag_buffer:"",depth:0,in_quote_char:""}}function d(h,g){if(typeof h!="string")throw new TypeError("'html' parameter must be a string");let b=g.allowable_tags,y=g.tag_replacement,k=g.state,v=g.tag_buffer,C=g.depth,E=g.in_quote_char,w="";for(let M=0,S=h.length;M<S;M++){let O=h[M];if(k===r)switch(O){case"<":k=n,v+=O;break;default:w+=O;break}else if(k===n)switch(O){case"<":if(E)break;C++;break;case">":if(E)break;if(C){C--;break}E="",k=r,v+=">",b.has(p(v))?w+=v:w+=y,v="";break;case'"':case"'":O===E?E="":E=E||O,v+=O;break;case"-":v==="<!-"&&(k=i),v+=O;break;case" ":case`
2
+ `:if(v==="<"){k=r,w+="< ",v="";break}v+=O;break;default:v+=O;break}else if(k===i)switch(O){case">":v.slice(-2)=="--"&&(k=r),v="";break;default:v+=O;break}}return g.state=k,g.tag_buffer=v,g.depth=C,g.in_quote_char=E,w}function u(h){let g=new Set;if(typeof h=="string"){let b;for(;b=o.exec(h);)g.add(b[1])}else!e.nonNative&&typeof h[e.iterator]=="function"?g=new Set(h):typeof h.forEach=="function"&&h.forEach(g.add,g);return g}function p(h){let g=s.exec(h);return g?g[1].toLowerCase():null}typeof define=="function"&&define.amd?define(function(){return a}):typeof qn=="object"&&qn.exports?qn.exports=a:t.striptags=a})(mu)});var ce=A(be=>{"use strict";be.__esModule=!0;be.extend=bu;be.indexOf=Wb;be.escapeExpression=qb;be.isEmpty=Bb;be.createFrame=Ub;be.blockParams=Hb;be.appendContextPath=Gb;var zb={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},Fb=/[&<>"'`=]/g,Vb=/[&<>"'`=]/;function jb(t){return zb[t]}function bu(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 ts=Object.prototype.toString;be.toString=ts;var es=function(e){return typeof e=="function"};es(/x/)&&(be.isFunction=es=function(t){return typeof t=="function"&&ts.call(t)==="[object Function]"});be.isFunction=es;var yu=Array.isArray||function(t){return t&&typeof t=="object"?ts.call(t)==="[object Array]":!1};be.isArray=yu;function Wb(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function qb(t){if(typeof t!="string"){if(t&&t.toHTML)return t.toHTML();if(t==null)return"";if(!t)return t+"";t=""+t}return Vb.test(t)?t.replace(Fb,jb):t}function Bb(t){return!t&&t!==0?!0:!!(yu(t)&&t.length===0)}function Ub(t){var e=bu({},t);return e._parent=t,e}function Hb(t,e){return t.path=e,t}function Gb(t,e){return(t?t+".":"")+e}});var _e=A((Bn,vu)=>{"use strict";Bn.__esModule=!0;var rs=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function ns(t,e){var r=e&&e.loc,n=void 0,i=void 0,o=void 0,s=void 0;r&&(n=r.start.line,i=r.end.line,o=r.start.column,s=r.end.column,t+=" - "+n+":"+o);for(var a=Error.prototype.constructor.call(this,t),l=0;l<rs.length;l++)this[rs[l]]=a[rs[l]];Error.captureStackTrace&&Error.captureStackTrace(this,ns);try{r&&(this.lineNumber=n,this.endLineNumber=i,Object.defineProperty?(Object.defineProperty(this,"column",{value:o,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:s,enumerable:!0})):(this.column=o,this.endColumn=s))}catch{}}ns.prototype=new Error;Bn.default=ns;vu.exports=Bn.default});var wu=A((Un,ku)=>{"use strict";Un.__esModule=!0;var is=ce();Un.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var n=r.inverse,i=r.fn;if(e===!0)return i(this);if(e===!1||e==null)return n(this);if(is.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 o=is.createFrame(r.data);o.contextPath=is.appendContextPath(r.data.contextPath,r.name),r={data:o}}return i(e,r)})};ku.exports=Un.default});var Su=A((Hn,xu)=>{"use strict";Hn.__esModule=!0;function Zb(t){return t&&t.__esModule?t:{default:t}}var qr=ce(),Yb=_e(),Jb=Zb(Yb);Hn.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new Jb.default("Must pass iterator to #each");var n=r.fn,i=r.inverse,o=0,s="",a=void 0,l=void 0;r.data&&r.ids&&(l=qr.appendContextPath(r.data.contextPath,r.ids[0])+"."),qr.isFunction(e)&&(e=e.call(this)),r.data&&(a=qr.createFrame(r.data));function c(g,b,y){a&&(a.key=g,a.index=b,a.first=b===0,a.last=!!y,l&&(a.contextPath=l+g)),s=s+n(e[g],{data:a,blockParams:qr.blockParams([e[g],g],[l+g,null])})}if(e&&typeof e=="object")if(qr.isArray(e))for(var d=e.length;o<d;o++)o in e&&c(o,o,o===e.length-1);else if(typeof Symbol=="function"&&e[Symbol.iterator]){for(var u=[],p=e[Symbol.iterator](),h=p.next();!h.done;h=p.next())u.push(h.value);e=u;for(var d=e.length;o<d;o++)c(o,o,o===e.length-1)}else(function(){var g=void 0;Object.keys(e).forEach(function(b){g!==void 0&&c(g,o-1),g=b,o++}),g!==void 0&&c(g,o-1,!0)})();return o===0&&(s=i(this)),s})};xu.exports=Hn.default});var _u=A((Gn,$u)=>{"use strict";Gn.__esModule=!0;function Kb(t){return t&&t.__esModule?t:{default:t}}var Xb=_e(),Qb=Kb(Xb);Gn.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new Qb.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};$u.exports=Gn.default});var Mu=A((Zn,Ou)=>{"use strict";Zn.__esModule=!0;function e2(t){return t&&t.__esModule?t:{default:t}}var Cu=ce(),t2=_e(),Eu=e2(t2);Zn.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new Eu.default("#if requires exactly one argument");return Cu.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||Cu.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new Eu.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};Ou.exports=Zn.default});var Lu=A((Yn,Tu)=>{"use strict";Yn.__esModule=!0;Yn.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 i=1;r.hash.level!=null?i=r.hash.level:r.data&&r.data.level!=null&&(i=r.data.level),e[0]=i,t.log.apply(t,e)})};Tu.exports=Yn.default});var Nu=A((Jn,Au)=>{"use strict";Jn.__esModule=!0;Jn.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};Au.exports=Jn.default});var Du=A((Kn,Pu)=>{"use strict";Kn.__esModule=!0;function r2(t){return t&&t.__esModule?t:{default:t}}var Br=ce(),n2=_e(),i2=r2(n2);Kn.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new i2.default("#with requires exactly one argument");Br.isFunction(e)&&(e=e.call(this));var n=r.fn;if(Br.isEmpty(e))return r.inverse(this);var i=r.data;return r.data&&r.ids&&(i=Br.createFrame(r.data),i.contextPath=Br.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:i,blockParams:Br.blockParams([e],[i&&i.contextPath])})})};Pu.exports=Kn.default});var os=A(Xn=>{"use strict";Xn.__esModule=!0;Xn.registerDefaultHelpers=v2;Xn.moveHelperToHooks=k2;function Mt(t){return t&&t.__esModule?t:{default:t}}var o2=wu(),s2=Mt(o2),a2=Su(),l2=Mt(a2),c2=_u(),u2=Mt(c2),f2=Mu(),d2=Mt(f2),h2=Lu(),p2=Mt(h2),m2=Nu(),g2=Mt(m2),b2=Du(),y2=Mt(b2);function v2(t){s2.default(t),l2.default(t),u2.default(t),d2.default(t),p2.default(t),g2.default(t),y2.default(t)}function k2(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||delete t.helpers[e])}});var Ru=A((Qn,Iu)=>{"use strict";Qn.__esModule=!0;var w2=ce();Qn.default=function(t){t.registerDecorator("inline",function(e,r,n,i){var o=e;return r.partials||(r.partials={},o=function(s,a){var l=n.partials;n.partials=w2.extend({},l,r.partials);var c=e(s,a);return n.partials=l,c}),r.partials[i.args[0]]=i.fn,o})};Iu.exports=Qn.default});var zu=A(ss=>{"use strict";ss.__esModule=!0;ss.registerDefaultDecorators=_2;function x2(t){return t&&t.__esModule?t:{default:t}}var S2=Ru(),$2=x2(S2);function _2(t){$2.default(t)}});var as=A((ei,Fu)=>{"use strict";ei.__esModule=!0;var C2=ce(),lr={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if(typeof e=="string"){var r=C2.indexOf(lr.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},log:function(e){if(e=lr.lookupLevel(e),typeof console<"u"&&lr.lookupLevel(lr.level)<=e){var r=lr.methodMap[e];console[r]||(r="log");for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];console[r].apply(console,i)}}};ei.default=lr;Fu.exports=ei.default});var Vu=A(ls=>{"use strict";ls.__esModule=!0;ls.createNewLookupObject=O2;var E2=ce();function O2(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return E2.extend.apply(void 0,[Object.create(null)].concat(e))}});var cs=A(Ur=>{"use strict";Ur.__esModule=!0;Ur.createProtoAccessControl=A2;Ur.resultIsAllowed=N2;Ur.resetLoggedProperties=D2;function M2(t){return t&&t.__esModule?t:{default:t}}var ju=Vu(),T2=as(),L2=M2(T2),ti=Object.create(null);function A2(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:ju.createNewLookupObject(r,t.allowedProtoProperties),defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:ju.createNewLookupObject(e,t.allowedProtoMethods),defaultValue:t.allowProtoMethodsByDefault}}}function N2(t,e,r){return Wu(typeof t=="function"?e.methods:e.properties,r)}function Wu(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(P2(e),!1)}function P2(t){ti[t]!==!0&&(ti[t]=!0,L2.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+`" because it is not an "own property" of its parent.
2
3
  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 C2(){Object.keys(ei).forEach(function(t){delete ei[t]})}});var ri=L(Be=>{"use strict";Be.__esModule=!0;Be.HandlebarsEnvironment=us;function Ru(t){return t&&t.__esModule?t:{default:t}}var Tt=ue(),E2=Ce(),ls=Ru(E2),O2=ns(),M2=Nu(),T2=os(),ti=Ru(T2),L2=as(),N2="4.7.8";Be.VERSION=N2;var P2=8;Be.COMPILER_REVISION=P2;var A2=7;Be.LAST_COMPATIBLE_COMPILER_REVISION=A2;var D2={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"};Be.REVISION_CHANGES=D2;var cs="[object Object]";function us(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},O2.registerDefaultHelpers(this),M2.registerDefaultDecorators(this)}us.prototype={constructor:us,logger:ti.default,log:ti.default.log,registerHelper:function(e,r){if(Tt.toString.call(e)===cs){if(r)throw new ls.default("Arg not supported with multiple helpers");Tt.extend(this.helpers,e)}else this.helpers[e]=r},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,r){if(Tt.toString.call(e)===cs)Tt.extend(this.partials,e);else{if(typeof r>"u")throw new ls.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(Tt.toString.call(e)===cs){if(r)throw new ls.default("Arg not supported with multiple decorators");Tt.extend(this.decorators,e)}else this.decorators[e]=r},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){L2.resetLoggedProperties()}};var I2=ti.default.log;Be.log=I2;Be.createFrame=Tt.createFrame;Be.logger=ti.default});var Fu=L((ni,zu)=>{"use strict";ni.__esModule=!0;function fs(t){this.string=t}fs.prototype.toString=fs.prototype.toHTML=function(){return""+this.string};ni.default=fs;zu.exports=ni.default});var Vu=L(ds=>{"use strict";ds.__esModule=!0;ds.wrapHelper=R2;function R2(t,e){if(typeof t!="function")return t;var r=function(){var i=arguments[arguments.length-1];return arguments[arguments.length-1]=e(i),t.apply(this,arguments)};return r}});var Uu=L(dt=>{"use strict";dt.__esModule=!0;dt.checkRevision=q2;dt.template=B2;dt.wrapProgram=ii;dt.resolvePartial=U2;dt.invokePartial=H2;dt.noop=qu;function z2(t){return t&&t.__esModule?t:{default:t}}function F2(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 V2=ue(),Je=F2(V2),j2=Ce(),Ke=z2(j2),Xe=ri(),ju=ns(),W2=Vu(),Wu=as();function q2(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],i=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 ("+i+").")}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 B2(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,l){l.hash&&(a=Je.extend({},a,l.hash),l.ids&&(l.ids[0]=!0)),s=e.VM.resolvePartial.call(this,s,a,l);var c=Je.extend({},l,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),d=e.VM.invokePartial.call(this,s,a,c);if(d==null&&e.compile&&(l.partials[l.name]=e.compile(s,t.compilerOptions,e),d=l.partials[l.name](a,c)),d!=null){if(l.indent){for(var u=d.split(`
4
- `),h=0,m=u.length;h<m&&!(!u[h]&&h+1===m);h++)u[h]=l.indent+u[h];d=u.join(`
5
- `)}return d}else throw new Ke.default("The partial "+l.name+" could not be compiled when running in runtime-only mode")}var i={strict:function(a,l,c){if(!a||!(l in a))throw new Ke.default('"'+l+'" not defined in '+a,{loc:c});return i.lookupProperty(a,l)},lookupProperty:function(a,l){var c=a[l];if(c==null||Object.prototype.hasOwnProperty.call(a,l)||Wu.resultIsAllowed(c,i.protoAccessControl,l))return c},lookup:function(a,l){for(var c=a.length,d=0;d<c;d++){var u=a[d]&&i.lookupProperty(a[d],l);if(u!=null)return a[d][l]}},lambda:function(a,l){return typeof a=="function"?a.call(l):a},escapeExpression:Je.escapeExpression,invokePartial:n,fn:function(a){var l=t[a];return l.decorator=t[a+"_d"],l},programs:[],program:function(a,l,c,d,u){var h=this.programs[a],m=this.fn(a);return l||u||d||c?h=ii(this,a,m,l,c,d,u):h||(h=this.programs[a]=ii(this,a,m)),h},data:function(a,l){for(;a&&l--;)a=a._parent;return a},mergeIfNeeded:function(a,l){var c=a||l;return a&&l&&a!==l&&(c=Je.extend({},l,a)),c},nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function o(s){var a=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],l=a.data;o._setup(a),!a.partial&&t.useData&&(l=Z2(s,l));var c=void 0,d=t.useBlockParams?[]:void 0;t.useDepths&&(a.depths?c=s!=a.depths[0]?[s].concat(a.depths):a.depths:c=[s]);function u(h){return""+t.main(i,h,i.helpers,i.partials,l,d,c)}return u=Bu(t.main,u,i,a.depths||[],l,d),u(s,a)}return o.isTop=!0,o._setup=function(s){if(s.partial)i.protoAccessControl=s.protoAccessControl,i.helpers=s.helpers,i.partials=s.partials,i.decorators=s.decorators,i.hooks=s.hooks;else{var a=Je.extend({},e.helpers,s.helpers);G2(a,i),i.helpers=a,t.usePartial&&(i.partials=i.mergeIfNeeded(s.partials,e.partials)),(t.usePartial||t.useDecorators)&&(i.decorators=Je.extend({},e.decorators,s.decorators)),i.hooks={},i.protoAccessControl=Wu.createProtoAccessControl(s);var l=s.allowCallsToHelperMissing||r;ju.moveHelperToHooks(i,"helperMissing",l),ju.moveHelperToHooks(i,"blockHelperMissing",l)}},o._child=function(s,a,l,c){if(t.useBlockParams&&!l)throw new Ke.default("must pass block params");if(t.useDepths&&!c)throw new Ke.default("must pass parent depths");return ii(i,s,t[s],a,0,l,c)},o}function ii(t,e,r,n,i,o,s){function a(l){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],d=s;return s&&l!=s[0]&&!(l===t.nullContext&&s[0]===null)&&(d=[l].concat(s)),r(t,l,t.helpers,t.partials,c.data||n,o&&[c.blockParams].concat(o),d)}return a=Bu(r,a,t,s,n,o),a.program=e,a.depth=s?s.length:0,a.blockParams=i||0,a}function U2(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 H2(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 i=void 0;if(r.fn&&r.fn!==qu&&(function(){r.data=Xe.createFrame(r.data);var o=r.fn;i=r.data["partial-block"]=function(a){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return l.data=Xe.createFrame(l.data),l.data["partial-block"]=n,o(a,l)},o.partials&&(r.partials=Je.extend({},r.partials,o.partials))})(),t===void 0&&i&&(t=i),t===void 0)throw new Ke.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}function qu(){return""}function Z2(t,e){return(!e||!("root"in e))&&(e=e?Xe.createFrame(e):{},e.root=t),e}function Bu(t,e,r,n,i,o){if(t.decorator){var s={};e=t.decorator(e,s,r,n&&n[0],i,o,n),Je.extend(e,s)}return e}function G2(t,e){Object.keys(t).forEach(function(r){var n=t[r];t[r]=Y2(n,e)})}function Y2(t,e){var r=e.lookupProperty;return W2.wrapHelper(t,function(n){return Je.extend({lookupProperty:r},n)})}});var hs=L((oi,Hu)=>{"use strict";oi.__esModule=!0;oi.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}};Hu.exports=oi.default});var Ku=L((si,Ju)=>{"use strict";si.__esModule=!0;function ms(t){return t&&t.__esModule?t:{default:t}}function gs(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 J2=ri(),Zu=gs(J2),K2=Fu(),X2=ms(K2),Q2=Ce(),ey=ms(Q2),ty=ue(),ps=gs(ty),ry=Uu(),Gu=gs(ry),ny=hs(),iy=ms(ny);function Yu(){var t=new Zu.HandlebarsEnvironment;return ps.extend(t,Zu),t.SafeString=X2.default,t.Exception=ey.default,t.Utils=ps,t.escapeExpression=ps.escapeExpression,t.VM=Gu,t.template=function(e){return Gu.template(e,t)},t}var Hr=Yu();Hr.create=Yu;iy.default(Hr);Hr.default=Hr;si.default=Hr;Ju.exports=si.default});var bs=L((ai,Qu)=>{"use strict";ai.__esModule=!0;var Xu={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&&!Xu.helpers.scopedId(e)&&!e.depth}}};ai.default=Xu;Qu.exports=ai.default});var tf=L((li,ef)=>{"use strict";li.__esModule=!0;var oy=(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(i,o,s,a,l,c,d){var u=c.length-1;switch(l){case 1:return c[u-1];case 2:this.$=a.prepareProgram(c[u]);break;case 3:this.$=c[u];break;case 4:this.$=c[u];break;case 5:this.$=c[u];break;case 6:this.$=c[u];break;case 7:this.$=c[u];break;case 8:this.$=c[u];break;case 9:this.$={type:"CommentStatement",value:a.stripComment(c[u]),strip:a.stripFlags(c[u],c[u]),loc:a.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:c[u],value:c[u],loc:a.locInfo(this._$)};break;case 11:this.$=a.prepareRawBlock(c[u-2],c[u-1],c[u],this._$);break;case 12:this.$={path:c[u-3],params:c[u-2],hash:c[u-1]};break;case 13:this.$=a.prepareBlock(c[u-3],c[u-2],c[u-1],c[u],!1,this._$);break;case 14:this.$=a.prepareBlock(c[u-3],c[u-2],c[u-1],c[u],!0,this._$);break;case 15:this.$={open:c[u-5],path:c[u-4],params:c[u-3],hash:c[u-2],blockParams:c[u-1],strip:a.stripFlags(c[u-5],c[u])};break;case 16:this.$={path:c[u-4],params:c[u-3],hash:c[u-2],blockParams:c[u-1],strip:a.stripFlags(c[u-5],c[u])};break;case 17:this.$={path:c[u-4],params:c[u-3],hash:c[u-2],blockParams:c[u-1],strip:a.stripFlags(c[u-5],c[u])};break;case 18:this.$={strip:a.stripFlags(c[u-1],c[u-1]),program:c[u]};break;case 19:var h=a.prepareBlock(c[u-2],c[u-1],c[u],c[u],!1,this._$),m=a.prepareProgram([h],c[u-1].loc);m.chained=!0,this.$={strip:c[u-2].strip,program:m,chain:!0};break;case 20:this.$=c[u];break;case 21:this.$={path:c[u-1],strip:a.stripFlags(c[u-2],c[u])};break;case 22:this.$=a.prepareMustache(c[u-3],c[u-2],c[u-1],c[u-4],a.stripFlags(c[u-4],c[u]),this._$);break;case 23:this.$=a.prepareMustache(c[u-3],c[u-2],c[u-1],c[u-4],a.stripFlags(c[u-4],c[u]),this._$);break;case 24:this.$={type:"PartialStatement",name:c[u-3],params:c[u-2],hash:c[u-1],indent:"",strip:a.stripFlags(c[u-4],c[u]),loc:a.locInfo(this._$)};break;case 25:this.$=a.preparePartialBlock(c[u-2],c[u-1],c[u],this._$);break;case 26:this.$={path:c[u-3],params:c[u-2],hash:c[u-1],strip:a.stripFlags(c[u-4],c[u])};break;case 27:this.$=c[u];break;case 28:this.$=c[u];break;case 29:this.$={type:"SubExpression",path:c[u-3],params:c[u-2],hash:c[u-1],loc:a.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:c[u],loc:a.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:a.id(c[u-2]),value:c[u],loc:a.locInfo(this._$)};break;case 32:this.$=a.id(c[u-1]);break;case 33:this.$=c[u];break;case 34:this.$=c[u];break;case 35:this.$={type:"StringLiteral",value:c[u],original:c[u],loc:a.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(c[u]),original:Number(c[u]),loc:a.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:c[u]==="true",original:c[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.$=c[u];break;case 41:this.$=c[u];break;case 42:this.$=a.preparePath(!0,c[u],this._$);break;case 43:this.$=a.preparePath(!1,c[u],this._$);break;case 44:c[u-2].push({part:a.id(c[u]),original:c[u],separator:c[u-1]}),this.$=c[u-2];break;case 45:this.$=[{part:a.id(c[u]),original:c[u]}];break;case 46:this.$=[];break;case 47:c[u-1].push(c[u]);break;case 48:this.$=[];break;case 49:c[u-1].push(c[u]);break;case 50:this.$=[];break;case 51:c[u-1].push(c[u]);break;case 58:this.$=[];break;case 59:c[u-1].push(c[u]);break;case 64:this.$=[];break;case 65:c[u-1].push(c[u]);break;case 70:this.$=[];break;case 71:c[u-1].push(c[u]);break;case 78:this.$=[];break;case 79:c[u-1].push(c[u]);break;case 82:this.$=[];break;case 83:c[u-1].push(c[u]);break;case 86:this.$=[];break;case 87:c[u-1].push(c[u]);break;case 90:this.$=[];break;case 91:c[u-1].push(c[u]);break;case 94:this.$=[];break;case 95:c[u-1].push(c[u]);break;case 98:this.$=[c[u]];break;case 99:c[u-1].push(c[u]);break;case 100:this.$=[c[u]];break;case 101:c[u-1].push(c[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(i,o){throw new Error(i)},parse:function(i){var o=this,s=[0],a=[null],l=[],c=this.table,d="",u=0,h=0,m=0,g=2,b=1;this.lexer.setInput(i),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var v=this.lexer.yylloc;l.push(v);var S=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function $(fe){s.length=s.length-2*fe,a.length=a.length-fe,l.length=l.length-fe}function C(){var fe;return fe=o.lexer.lex()||1,typeof fe!="number"&&(fe=o.symbols_[fe]||fe),fe}for(var E,k,T,_,P,N,R={},Q,Y,on,tt;;){if(T=s[s.length-1],this.defaultActions[T]?_=this.defaultActions[T]:((E===null||typeof E>"u")&&(E=C()),_=c[T]&&c[T][E]),typeof _>"u"||!_.length||!_[0]){var br="";if(!m){tt=[];for(Q in c[T])this.terminals_[Q]&&Q>2&&tt.push("'"+this.terminals_[Q]+"'");this.lexer.showPosition?br="Parse error on line "+(u+1)+`:
4
+ See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function D2(){Object.keys(ti).forEach(function(t){delete ti[t]})}});var ni=A(Be=>{"use strict";Be.__esModule=!0;Be.HandlebarsEnvironment=ds;function qu(t){return t&&t.__esModule?t:{default:t}}var Tt=ce(),I2=_e(),us=qu(I2),R2=os(),z2=zu(),F2=as(),ri=qu(F2),V2=cs(),j2="4.7.8";Be.VERSION=j2;var W2=8;Be.COMPILER_REVISION=W2;var q2=7;Be.LAST_COMPATIBLE_COMPILER_REVISION=q2;var B2={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"};Be.REVISION_CHANGES=B2;var fs="[object Object]";function ds(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},R2.registerDefaultHelpers(this),z2.registerDefaultDecorators(this)}ds.prototype={constructor:ds,logger:ri.default,log:ri.default.log,registerHelper:function(e,r){if(Tt.toString.call(e)===fs){if(r)throw new us.default("Arg not supported with multiple helpers");Tt.extend(this.helpers,e)}else this.helpers[e]=r},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,r){if(Tt.toString.call(e)===fs)Tt.extend(this.partials,e);else{if(typeof r>"u")throw new us.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(Tt.toString.call(e)===fs){if(r)throw new us.default("Arg not supported with multiple decorators");Tt.extend(this.decorators,e)}else this.decorators[e]=r},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){V2.resetLoggedProperties()}};var U2=ri.default.log;Be.log=U2;Be.createFrame=Tt.createFrame;Be.logger=ri.default});var Uu=A((ii,Bu)=>{"use strict";ii.__esModule=!0;function hs(t){this.string=t}hs.prototype.toString=hs.prototype.toHTML=function(){return""+this.string};ii.default=hs;Bu.exports=ii.default});var Hu=A(ps=>{"use strict";ps.__esModule=!0;ps.wrapHelper=H2;function H2(t,e){if(typeof t!="function")return t;var r=function(){var i=arguments[arguments.length-1];return arguments[arguments.length-1]=e(i),t.apply(this,arguments)};return r}});var Ku=A(ht=>{"use strict";ht.__esModule=!0;ht.checkRevision=X2;ht.template=Q2;ht.wrapProgram=oi;ht.resolvePartial=ey;ht.invokePartial=ty;ht.noop=Yu;function G2(t){return t&&t.__esModule?t:{default:t}}function Z2(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 Y2=ce(),Je=Z2(Y2),J2=_e(),Ke=G2(J2),Xe=ni(),Gu=os(),K2=Hu(),Zu=cs();function X2(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],i=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 ("+i+").")}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 Q2(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,l){l.hash&&(a=Je.extend({},a,l.hash),l.ids&&(l.ids[0]=!0)),s=e.VM.resolvePartial.call(this,s,a,l);var c=Je.extend({},l,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),d=e.VM.invokePartial.call(this,s,a,c);if(d==null&&e.compile&&(l.partials[l.name]=e.compile(s,t.compilerOptions,e),d=l.partials[l.name](a,c)),d!=null){if(l.indent){for(var u=d.split(`
5
+ `),p=0,h=u.length;p<h&&!(!u[p]&&p+1===h);p++)u[p]=l.indent+u[p];d=u.join(`
6
+ `)}return d}else throw new Ke.default("The partial "+l.name+" could not be compiled when running in runtime-only mode")}var i={strict:function(a,l,c){if(!a||!(l in a))throw new Ke.default('"'+l+'" not defined in '+a,{loc:c});return i.lookupProperty(a,l)},lookupProperty:function(a,l){var c=a[l];if(c==null||Object.prototype.hasOwnProperty.call(a,l)||Zu.resultIsAllowed(c,i.protoAccessControl,l))return c},lookup:function(a,l){for(var c=a.length,d=0;d<c;d++){var u=a[d]&&i.lookupProperty(a[d],l);if(u!=null)return a[d][l]}},lambda:function(a,l){return typeof a=="function"?a.call(l):a},escapeExpression:Je.escapeExpression,invokePartial:n,fn:function(a){var l=t[a];return l.decorator=t[a+"_d"],l},programs:[],program:function(a,l,c,d,u){var p=this.programs[a],h=this.fn(a);return l||u||d||c?p=oi(this,a,h,l,c,d,u):p||(p=this.programs[a]=oi(this,a,h)),p},data:function(a,l){for(;a&&l--;)a=a._parent;return a},mergeIfNeeded:function(a,l){var c=a||l;return a&&l&&a!==l&&(c=Je.extend({},l,a)),c},nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function o(s){var a=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],l=a.data;o._setup(a),!a.partial&&t.useData&&(l=ry(s,l));var c=void 0,d=t.useBlockParams?[]:void 0;t.useDepths&&(a.depths?c=s!=a.depths[0]?[s].concat(a.depths):a.depths:c=[s]);function u(p){return""+t.main(i,p,i.helpers,i.partials,l,d,c)}return u=Ju(t.main,u,i,a.depths||[],l,d),u(s,a)}return o.isTop=!0,o._setup=function(s){if(s.partial)i.protoAccessControl=s.protoAccessControl,i.helpers=s.helpers,i.partials=s.partials,i.decorators=s.decorators,i.hooks=s.hooks;else{var a=Je.extend({},e.helpers,s.helpers);ny(a,i),i.helpers=a,t.usePartial&&(i.partials=i.mergeIfNeeded(s.partials,e.partials)),(t.usePartial||t.useDecorators)&&(i.decorators=Je.extend({},e.decorators,s.decorators)),i.hooks={},i.protoAccessControl=Zu.createProtoAccessControl(s);var l=s.allowCallsToHelperMissing||r;Gu.moveHelperToHooks(i,"helperMissing",l),Gu.moveHelperToHooks(i,"blockHelperMissing",l)}},o._child=function(s,a,l,c){if(t.useBlockParams&&!l)throw new Ke.default("must pass block params");if(t.useDepths&&!c)throw new Ke.default("must pass parent depths");return oi(i,s,t[s],a,0,l,c)},o}function oi(t,e,r,n,i,o,s){function a(l){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],d=s;return s&&l!=s[0]&&!(l===t.nullContext&&s[0]===null)&&(d=[l].concat(s)),r(t,l,t.helpers,t.partials,c.data||n,o&&[c.blockParams].concat(o),d)}return a=Ju(r,a,t,s,n,o),a.program=e,a.depth=s?s.length:0,a.blockParams=i||0,a}function ey(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 ty(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 i=void 0;if(r.fn&&r.fn!==Yu&&(function(){r.data=Xe.createFrame(r.data);var o=r.fn;i=r.data["partial-block"]=function(a){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return l.data=Xe.createFrame(l.data),l.data["partial-block"]=n,o(a,l)},o.partials&&(r.partials=Je.extend({},r.partials,o.partials))})(),t===void 0&&i&&(t=i),t===void 0)throw new Ke.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}function Yu(){return""}function ry(t,e){return(!e||!("root"in e))&&(e=e?Xe.createFrame(e):{},e.root=t),e}function Ju(t,e,r,n,i,o){if(t.decorator){var s={};e=t.decorator(e,s,r,n&&n[0],i,o,n),Je.extend(e,s)}return e}function ny(t,e){Object.keys(t).forEach(function(r){var n=t[r];t[r]=iy(n,e)})}function iy(t,e){var r=e.lookupProperty;return K2.wrapHelper(t,function(n){return Je.extend({lookupProperty:r},n)})}});var ms=A((si,Xu)=>{"use strict";si.__esModule=!0;si.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}};Xu.exports=si.default});var nf=A((ai,rf)=>{"use strict";ai.__esModule=!0;function bs(t){return t&&t.__esModule?t:{default:t}}function ys(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 oy=ni(),Qu=ys(oy),sy=Uu(),ay=bs(sy),ly=_e(),cy=bs(ly),uy=ce(),gs=ys(uy),fy=Ku(),ef=ys(fy),dy=ms(),hy=bs(dy);function tf(){var t=new Qu.HandlebarsEnvironment;return gs.extend(t,Qu),t.SafeString=ay.default,t.Exception=cy.default,t.Utils=gs,t.escapeExpression=gs.escapeExpression,t.VM=ef,t.template=function(e){return ef.template(e,t)},t}var Hr=tf();Hr.create=tf;hy.default(Hr);Hr.default=Hr;ai.default=Hr;rf.exports=ai.default});var vs=A((li,sf)=>{"use strict";li.__esModule=!0;var of={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&&!of.helpers.scopedId(e)&&!e.depth}}};li.default=of;sf.exports=li.default});var lf=A((ci,af)=>{"use strict";ci.__esModule=!0;var py=(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(i,o,s,a,l,c,d){var u=c.length-1;switch(l){case 1:return c[u-1];case 2:this.$=a.prepareProgram(c[u]);break;case 3:this.$=c[u];break;case 4:this.$=c[u];break;case 5:this.$=c[u];break;case 6:this.$=c[u];break;case 7:this.$=c[u];break;case 8:this.$=c[u];break;case 9:this.$={type:"CommentStatement",value:a.stripComment(c[u]),strip:a.stripFlags(c[u],c[u]),loc:a.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:c[u],value:c[u],loc:a.locInfo(this._$)};break;case 11:this.$=a.prepareRawBlock(c[u-2],c[u-1],c[u],this._$);break;case 12:this.$={path:c[u-3],params:c[u-2],hash:c[u-1]};break;case 13:this.$=a.prepareBlock(c[u-3],c[u-2],c[u-1],c[u],!1,this._$);break;case 14:this.$=a.prepareBlock(c[u-3],c[u-2],c[u-1],c[u],!0,this._$);break;case 15:this.$={open:c[u-5],path:c[u-4],params:c[u-3],hash:c[u-2],blockParams:c[u-1],strip:a.stripFlags(c[u-5],c[u])};break;case 16:this.$={path:c[u-4],params:c[u-3],hash:c[u-2],blockParams:c[u-1],strip:a.stripFlags(c[u-5],c[u])};break;case 17:this.$={path:c[u-4],params:c[u-3],hash:c[u-2],blockParams:c[u-1],strip:a.stripFlags(c[u-5],c[u])};break;case 18:this.$={strip:a.stripFlags(c[u-1],c[u-1]),program:c[u]};break;case 19:var p=a.prepareBlock(c[u-2],c[u-1],c[u],c[u],!1,this._$),h=a.prepareProgram([p],c[u-1].loc);h.chained=!0,this.$={strip:c[u-2].strip,program:h,chain:!0};break;case 20:this.$=c[u];break;case 21:this.$={path:c[u-1],strip:a.stripFlags(c[u-2],c[u])};break;case 22:this.$=a.prepareMustache(c[u-3],c[u-2],c[u-1],c[u-4],a.stripFlags(c[u-4],c[u]),this._$);break;case 23:this.$=a.prepareMustache(c[u-3],c[u-2],c[u-1],c[u-4],a.stripFlags(c[u-4],c[u]),this._$);break;case 24:this.$={type:"PartialStatement",name:c[u-3],params:c[u-2],hash:c[u-1],indent:"",strip:a.stripFlags(c[u-4],c[u]),loc:a.locInfo(this._$)};break;case 25:this.$=a.preparePartialBlock(c[u-2],c[u-1],c[u],this._$);break;case 26:this.$={path:c[u-3],params:c[u-2],hash:c[u-1],strip:a.stripFlags(c[u-4],c[u])};break;case 27:this.$=c[u];break;case 28:this.$=c[u];break;case 29:this.$={type:"SubExpression",path:c[u-3],params:c[u-2],hash:c[u-1],loc:a.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:c[u],loc:a.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:a.id(c[u-2]),value:c[u],loc:a.locInfo(this._$)};break;case 32:this.$=a.id(c[u-1]);break;case 33:this.$=c[u];break;case 34:this.$=c[u];break;case 35:this.$={type:"StringLiteral",value:c[u],original:c[u],loc:a.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(c[u]),original:Number(c[u]),loc:a.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:c[u]==="true",original:c[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.$=c[u];break;case 41:this.$=c[u];break;case 42:this.$=a.preparePath(!0,c[u],this._$);break;case 43:this.$=a.preparePath(!1,c[u],this._$);break;case 44:c[u-2].push({part:a.id(c[u]),original:c[u],separator:c[u-1]}),this.$=c[u-2];break;case 45:this.$=[{part:a.id(c[u]),original:c[u]}];break;case 46:this.$=[];break;case 47:c[u-1].push(c[u]);break;case 48:this.$=[];break;case 49:c[u-1].push(c[u]);break;case 50:this.$=[];break;case 51:c[u-1].push(c[u]);break;case 58:this.$=[];break;case 59:c[u-1].push(c[u]);break;case 64:this.$=[];break;case 65:c[u-1].push(c[u]);break;case 70:this.$=[];break;case 71:c[u-1].push(c[u]);break;case 78:this.$=[];break;case 79:c[u-1].push(c[u]);break;case 82:this.$=[];break;case 83:c[u-1].push(c[u]);break;case 86:this.$=[];break;case 87:c[u-1].push(c[u]);break;case 90:this.$=[];break;case 91:c[u-1].push(c[u]);break;case 94:this.$=[];break;case 95:c[u-1].push(c[u]);break;case 98:this.$=[c[u]];break;case 99:c[u-1].push(c[u]);break;case 100:this.$=[c[u]];break;case 101:c[u-1].push(c[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(i,o){throw new Error(i)},parse:function(i){var o=this,s=[0],a=[null],l=[],c=this.table,d="",u=0,p=0,h=0,g=2,b=1;this.lexer.setInput(i),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var y=this.lexer.yylloc;l.push(y);var k=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function v(fe){s.length=s.length-2*fe,a.length=a.length-fe,l.length=l.length-fe}function C(){var fe;return fe=o.lexer.lex()||1,typeof fe!="number"&&(fe=o.symbols_[fe]||fe),fe}for(var E,w,M,S,O,N,R={},Q,Y,on,tt;;){if(M=s[s.length-1],this.defaultActions[M]?S=this.defaultActions[M]:((E===null||typeof E>"u")&&(E=C()),S=c[M]&&c[M][E]),typeof S>"u"||!S.length||!S[0]){var br="";if(!h){tt=[];for(Q in c[M])this.terminals_[Q]&&Q>2&&tt.push("'"+this.terminals_[Q]+"'");this.lexer.showPosition?br="Parse error on line "+(u+1)+`:
6
7
  `+this.lexer.showPosition()+`
7
- Expecting `+tt.join(", ")+", got '"+(this.terminals_[E]||E)+"'":br="Parse error on line "+(u+1)+": Unexpected "+(E==1?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(br,{text:this.lexer.match,token:this.terminals_[E]||E,line:this.lexer.yylineno,loc:v,expected:tt})}}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+T+", token: "+E);switch(_[0]){case 1:s.push(E),a.push(this.lexer.yytext),l.push(this.lexer.yylloc),s.push(_[1]),E=null,k?(E=k,k=null):(h=this.lexer.yyleng,d=this.lexer.yytext,u=this.lexer.yylineno,v=this.lexer.yylloc,m>0&&m--);break;case 2:if(Y=this.productions_[_[1]][1],R.$=a[a.length-Y],R._$={first_line:l[l.length-(Y||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(Y||1)].first_column,last_column:l[l.length-1].last_column},S&&(R._$.range=[l[l.length-(Y||1)].range[0],l[l.length-1].range[1]]),N=this.performAction.call(R,d,h,u,this.yy,_[1],a,l),typeof N<"u")return N;Y&&(s=s.slice(0,-1*Y*2),a=a.slice(0,-1*Y),l=l.slice(0,-1*Y)),s.push(this.productions_[_[1]][0]),a.push(R.$),l.push(R._$),on=c[s[s.length-2]][s[s.length-1]],s.push(on);break;case 3:return!0}}return!0}},e=(function(){var n={EOF:1,parseError:function(o,s){if(this.yy.parser)this.yy.parser.parseError(o,s);else throw new Error(o)},setInput:function(o){return this._input=o,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 o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var s=o.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),o},unput:function(o){var s=o.length,a=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s-1),this.offset-=s;var l=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 c=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===l.length?this.yylloc.first_column:0)+l[l.length-a.length].length-a[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[c[0],c[0]+this.yyleng-s]),this},more:function(){return this._more=!0,this},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),s=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
8
- `+s+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var o,s,a,l,c,d;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,l=h,!this.options.flex)));h++);return s?(d=s[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.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],o=this.performAction.call(this,this.yy,this,u[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o||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 o=this.next();return typeof o<"u"?o:this.lex()},begin:function(o){this.conditionStack.push(o)},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(o){this.begin(o)}};return n.options={},n.performAction=function(o,s,a,l){function c(u,h){return s.yytext=s.yytext.substring(u,s.yyleng-h+u)}var d=l;switch(a){case 0:if(s.yytext.slice(-2)==="\\\\"?(c(0,1),this.begin("mu")):s.yytext.slice(-1)==="\\"?(c(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:(c(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=c(1,2).replace(/\\"/g,'"'),80;break;case 32:return s.yytext=c(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})();li.default=oy;ef.exports=li.default});var di=L((fi,of)=>{"use strict";fi.__esModule=!0;function sy(t){return t&&t.__esModule?t:{default:t}}var ay=Ce(),ys=sy(ay);function ci(){this.parents=[]}ci.prototype={constructor:ci,mutating:!1,acceptKey:function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!ci.prototype[n.type])throw new ys.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 ys.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 ys.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:ui,Decorator:ui,BlockStatement:rf,DecoratorBlock:rf,PartialStatement:nf,PartialBlockStatement:function(e){nf.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:ui,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 ui(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function rf(t){ui.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function nf(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}fi.default=ci;of.exports=fi.default});var af=L((hi,sf)=>{"use strict";hi.__esModule=!0;function ly(t){return t&&t.__esModule?t:{default:t}}var cy=di(),uy=ly(cy);function Ue(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}Ue.prototype=new uy.default;Ue.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,i=0,o=n.length;i<o;i++){var s=n[i],a=this.accept(s);if(a){var l=vs(n,i,r),c=ks(n,i,r),d=a.openStandalone&&l,u=a.closeStandalone&&c,h=a.inlineStandalone&&l&&c;a.close&&Lt(n,i,!0),a.open&&ht(n,i,!0),e&&h&&(Lt(n,i),ht(n,i)&&s.type==="PartialStatement"&&(s.indent=/([ \t]+$)/.exec(n[i-1].original)[1])),e&&d&&(Lt((s.program||s.inverse).body),ht(n,i)),e&&u&&(Lt(n,i),ht((s.inverse||s.program).body))}}return t};Ue.prototype.BlockStatement=Ue.prototype.DecoratorBlock=Ue.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,i=r;if(r&&r.chained)for(n=r.body[0].program;i.chained;)i=i.body[i.body.length-1].program;var o={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:ks(e.body),closeStandalone:vs((n||e).body)};if(t.openStrip.close&&Lt(e.body,null,!0),r){var s=t.inverseStrip;s.open&&ht(e.body,null,!0),s.close&&Lt(n.body,null,!0),t.closeStrip.open&&ht(i.body,null,!0),!this.options.ignoreStandalone&&vs(e.body)&&ks(n.body)&&(ht(e.body),Lt(n.body))}else t.closeStrip.open&&ht(e.body,null,!0);return o};Ue.prototype.Decorator=Ue.prototype.MustacheStatement=function(t){return t.strip};Ue.prototype.PartialStatement=Ue.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};function vs(t,e,r){e===void 0&&(e=t.length);var n=t[e-1],i=t[e-2];if(!n)return r;if(n.type==="ContentStatement")return(i||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original)}function ks(t,e,r){e===void 0&&(e=-1);var n=t[e+1],i=t[e+2];if(!n)return r;if(n.type==="ContentStatement")return(i||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original)}function Lt(t,e,r){var n=t[e==null?0:e+1];if(!(!n||n.type!=="ContentStatement"||!r&&n.rightStripped)){var i=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==i}}function ht(t,e,r){var n=t[e==null?t.length-1:e-1];if(!(!n||n.type!=="ContentStatement"||!r&&n.leftStripped)){var i=n.value;return n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==i,n.leftStripped}}hi.default=Ue;sf.exports=hi.default});var lf=L(Ee=>{"use strict";Ee.__esModule=!0;Ee.SourceLocation=hy;Ee.id=py;Ee.stripFlags=my;Ee.stripComment=gy;Ee.preparePath=by;Ee.prepareMustache=yy;Ee.prepareRawBlock=vy;Ee.prepareBlock=ky;Ee.prepareProgram=wy;Ee.preparePartialBlock=xy;function fy(t){return t&&t.__esModule?t:{default:t}}var dy=Ce(),ws=fy(dy);function xs(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new ws.default(t.path.original+" doesn't match "+e,r)}}function hy(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 py(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function my(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function gy(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function by(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",i=[],o=0,s=0,a=e.length;s<a;s++){var l=e[s].part,c=e[s].original!==l;if(n+=(e[s].separator||"")+l,!c&&(l===".."||l==="."||l==="this")){if(i.length>0)throw new ws.default("Invalid path: "+n,{loc:r});l===".."&&o++}else i.push(l)}return{type:"PathExpression",data:t,depth:o,parts:i,original:n,loc:r}}function yy(t,e,r,n,i,o){var s=n.charAt(3)||n.charAt(2),a=s!=="{"&&s!=="&",l=/\*/.test(n);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:a,strip:i,loc:this.locInfo(o)}}function vy(t,e,r,n){xs(t,r),n=this.locInfo(n);var i={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function ky(t,e,r,n,i,o){n&&n.path&&xs(t,n);var s=/\*/.test(t.open);e.blockParams=t.blockParams;var a=void 0,l=void 0;if(r){if(s)throw new ws.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),l=r.strip,a=r.program}return i&&(i=a,a=e,e=i),{type:s?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:a,openStrip:t.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(o)}}function wy(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 xy(t,e,r,n){return xs(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 ff=L(Zr=>{"use strict";Zr.__esModule=!0;Zr.parseWithoutProcessing=uf;Zr.parse=Ty;function Sy(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 cf(t){return t&&t.__esModule?t:{default:t}}var $y=tf(),Ss=cf($y),_y=af(),Cy=cf(_y),Ey=lf(),Oy=Sy(Ey),My=ue();Zr.parser=Ss.default;var pi={};My.extend(pi,Oy);function uf(t,e){if(t.type==="Program")return t;Ss.default.yy=pi,pi.locInfo=function(n){return new pi.SourceLocation(e&&e.srcName,n)};var r=Ss.default.parse(t);return r}function Ty(t,e){var r=uf(t,e),n=new Cy.default(e);return n.accept(r)}});var mf=L(Kr=>{"use strict";Kr.__esModule=!0;Kr.Compiler=$s;Kr.precompile=Ay;Kr.compile=Dy;function hf(t){return t&&t.__esModule?t:{default:t}}var Ly=Ce(),Yr=hf(Ly),Jr=ue(),Ny=bs(),Gr=hf(Ny),Py=[].slice;function $s(){}$s.prototype={compiler:$s,equals:function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var n=0;n<r;n++){var i=this.opcodes[n],o=e.opcodes[n];if(i.opcode!==o.opcode||!pf(i.args,o.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=Jr.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),i=this.guid++;return this.usePartial=this.usePartial||n.usePartial,this.children[i]=n,this.useDepths=this.useDepths||n.useDepths,i},accept:function(e){if(!this[e.type])throw new Yr.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,i=0;i<n;i++)this.accept(r[i]);return this.options.blockParams.shift(),this.isSimple=n===1,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){df(e);var r=e.program,n=e.inverse;r=r&&this.compileProgram(r),n=n&&this.compileProgram(n);var i=this.classifySexpr(e);i==="helper"?this.helperSexpr(e,r,n):i==="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),i=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,i.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 Yr.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 i=e.name.original,o=e.name.type==="SubExpression";o&&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",o,i,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){df(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 i=e.path,o=i.parts[0],s=r!=null||n!=null;this.opcode("getContext",i.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",n),i.strict=!0,this.accept(i),this.opcode("invokeAmbiguous",o,s)},simpleSexpr:function(e){var r=e.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,r,n){var i=this.setupFullMustacheParams(e,r,n),o=e.path,s=o.parts[0];if(this.options.knownHelpers[s])this.opcode("invokeKnownHelper",i.length,s);else{if(this.options.knownHelpersOnly)throw new Yr.default("You specified knownHelpersOnly, but used the unknown helper "+s,e);o.strict=!0,o.falsy=!0,this.accept(o),this.opcode("invokeHelper",i.length,o.original,Gr.default.helpers.simpleId(o))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=Gr.default.helpers.scopedId(e),i=!e.depth&&!n&&this.blockParamIndex(r);i?this.opcode("lookupBlockParam",i,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,i=r.length;for(this.opcode("pushHash");n<i;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:Py.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var r=Gr.default.helpers.simpleId(e.path),n=r&&!!this.blockParamIndex(e.path.parts[0]),i=!n&&Gr.default.helpers.helperExpression(e),o=!n&&(i||r);if(o&&!i){var s=e.path.parts[0],a=this.options;a.knownHelpers[s]?i=!0:a.knownHelpersOnly&&(o=!1)}return i?"helper":o?"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&&!Gr.default.helpers.scopedId(e)&&!e.depth&&(n=this.blockParamIndex(e.parts[0])),n){var i=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,i)}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,i){var o=e.params;return this.pushParams(o),this.opcode("pushProgram",r),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",i),o},blockParamIndex:function(e){for(var r=0,n=this.options.blockParams.length;r<n;r++){var i=this.options.blockParams[r],o=i&&Jr.indexOf(i,e);if(i&&o>=0)return[r,o]}}};function Ay(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new Yr.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),i=new r.Compiler().compile(n,e);return new r.JavaScriptCompiler().compile(i,e)}function Dy(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new Yr.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=Jr.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=void 0;function i(){var s=r.parse(t,e),a=new r.Compiler().compile(s,e),l=new r.JavaScriptCompiler().compile(a,e,void 0,!0);return r.template(l)}function o(s,a){return n||(n=i()),n.call(this,s,a)}return o._setup=function(s){return n||(n=i()),n._setup(s)},o._child=function(s,a,l,c){return n||(n=i()),n._child(s,a,l,c)},o}function pf(t,e){if(t===e)return!0;if(Jr.isArray(t)&&Jr.isArray(e)&&t.length===e.length){for(var r=0;r<t.length;r++)if(!pf(t[r],e[r]))return!1;return!0}}function df(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 bf=L(_s=>{var gf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");_s.encode=function(t){if(0<=t&&t<gf.length)return gf[t];throw new TypeError("Must be between 0 and 63: "+t)};_s.decode=function(t){var e=65,r=90,n=97,i=122,o=48,s=57,a=43,l=47,c=26,d=52;return e<=t&&t<=r?t-e:n<=t&&t<=i?t-n+c:o<=t&&t<=s?t-o+d:t==a?62:t==l?63:-1}});var Os=L(Es=>{var yf=bf(),Cs=5,vf=1<<Cs,kf=vf-1,wf=vf;function Iy(t){return t<0?(-t<<1)+1:(t<<1)+0}function Ry(t){var e=(t&1)===1,r=t>>1;return e?-r:r}Es.encode=function(e){var r="",n,i=Iy(e);do n=i&kf,i>>>=Cs,i>0&&(n|=wf),r+=yf.encode(n);while(i>0);return r};Es.decode=function(e,r,n){var i=e.length,o=0,s=0,a,l;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=yf.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));a=!!(l&wf),l&=kf,o=o+(l<<s),s+=Cs}while(a);n.value=Ry(o),n.rest=r}});var fr=L(oe=>{function zy(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}oe.getArg=zy;var xf=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Fy=/^data:.+\,.+$/;function Xr(t){var e=t.match(xf);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}oe.urlParse=Xr;function cr(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}oe.urlGenerate=cr;function Ms(t){var e=t,r=Xr(t);if(r){if(!r.path)return t;e=r.path}for(var n=oe.isAbsolute(e),i=e.split(/\/+/),o,s=0,a=i.length-1;a>=0;a--)o=i[a],o==="."?i.splice(a,1):o===".."?s++:s>0&&(o===""?(i.splice(a+1,s),s=0):(i.splice(a,2),s--));return e=i.join("/"),e===""&&(e=n?"/":"."),r?(r.path=e,cr(r)):e}oe.normalize=Ms;function Sf(t,e){t===""&&(t="."),e===""&&(e=".");var r=Xr(e),n=Xr(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),cr(r);if(r||e.match(Fy))return e;if(n&&!n.host&&!n.path)return n.host=e,cr(n);var i=e.charAt(0)==="/"?e:Ms(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=i,cr(n)):i}oe.join=Sf;oe.isAbsolute=function(t){return t.charAt(0)==="/"||xf.test(t)};function Vy(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)}oe.relative=Vy;var $f=(function(){var t=Object.create(null);return!("__proto__"in t)})();function _f(t){return t}function jy(t){return Cf(t)?"$"+t:t}oe.toSetString=$f?_f:jy;function Wy(t){return Cf(t)?t.slice(1):t}oe.fromSetString=$f?_f:Wy;function Cf(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 qy(t,e,r){var n=ur(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:ur(t.name,e.name)}oe.compareByOriginalPositions=qy;function By(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=ur(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:ur(t.name,e.name)}oe.compareByGeneratedPositionsDeflated=By;function ur(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function Uy(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=ur(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:ur(t.name,e.name)}oe.compareByGeneratedPositionsInflated=Uy;function Hy(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}oe.parseSourceMapInput=Hy;function Zy(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=Xr(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}e=Sf(cr(n),e)}return Ms(e)}oe.computeSourceURL=Zy});var Ns=L(Ef=>{var Ts=fr(),Ls=Object.prototype.hasOwnProperty,Nt=typeof Map<"u";function Qe(){this._array=[],this._set=Nt?new Map:Object.create(null)}Qe.fromArray=function(e,r){for(var n=new Qe,i=0,o=e.length;i<o;i++)n.add(e[i],r);return n};Qe.prototype.size=function(){return Nt?this._set.size:Object.getOwnPropertyNames(this._set).length};Qe.prototype.add=function(e,r){var n=Nt?e:Ts.toSetString(e),i=Nt?this.has(e):Ls.call(this._set,n),o=this._array.length;(!i||r)&&this._array.push(e),i||(Nt?this._set.set(e,o):this._set[n]=o)};Qe.prototype.has=function(e){if(Nt)return this._set.has(e);var r=Ts.toSetString(e);return Ls.call(this._set,r)};Qe.prototype.indexOf=function(e){if(Nt){var r=this._set.get(e);if(r>=0)return r}else{var n=Ts.toSetString(e);if(Ls.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')};Qe.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};Qe.prototype.toArray=function(){return this._array.slice()};Ef.ArraySet=Qe});var Tf=L(Mf=>{var Of=fr();function Gy(t,e){var r=t.generatedLine,n=e.generatedLine,i=t.generatedColumn,o=e.generatedColumn;return n>r||n==r&&o>=i||Of.compareByGeneratedPositionsInflated(t,e)<=0}function mi(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}mi.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};mi.prototype.add=function(e){Gy(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};mi.prototype.toArray=function(){return this._sorted||(this._array.sort(Of.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Mf.MappingList=mi});var Ps=L(Lf=>{var Qr=Os(),X=fr(),gi=Ns().ArraySet,Yy=Tf().MappingList;function Oe(t){t||(t={}),this._file=X.getArg(t,"file",null),this._sourceRoot=X.getArg(t,"sourceRoot",null),this._skipValidation=X.getArg(t,"skipValidation",!1),this._sources=new gi,this._names=new gi,this._mappings=new Yy,this._sourcesContents=null}Oe.prototype._version=3;Oe.fromSourceMap=function(e){var r=e.sourceRoot,n=new Oe({file:e.file,sourceRoot:r});return e.eachMapping(function(i){var o={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(o.source=i.source,r!=null&&(o.source=X.relative(r,o.source)),o.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(o.name=i.name)),n.addMapping(o)}),e.sources.forEach(function(i){var o=i;r!==null&&(o=X.relative(r,i)),n._sources.has(o)||n._sources.add(o);var s=e.sourceContentFor(i);s!=null&&n.setSourceContent(i,s)}),n};Oe.prototype.addMapping=function(e){var r=X.getArg(e,"generated"),n=X.getArg(e,"original",null),i=X.getArg(e,"source",null),o=X.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,i,o),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),o!=null&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:o})};Oe.prototype.setSourceContent=function(e,r){var n=e;this._sourceRoot!=null&&(n=X.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[X.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[X.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Oe.prototype.applySourceMap=function(e,r,n){var i=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.`);i=e.file}var o=this._sourceRoot;o!=null&&(i=X.relative(o,i));var s=new gi,a=new gi;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var c=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});c.source!=null&&(l.source=c.source,n!=null&&(l.source=X.join(n,l.source)),o!=null&&(l.source=X.relative(o,l.source)),l.originalLine=c.line,l.originalColumn=c.column,c.name!=null&&(l.name=c.name))}var d=l.source;d!=null&&!s.has(d)&&s.add(d);var u=l.name;u!=null&&!a.has(u)&&a.add(u)},this),this._sources=s,this._names=a,e.sources.forEach(function(l){var c=e.sourceContentFor(l);c!=null&&(n!=null&&(l=X.join(n,l)),o!=null&&(l=X.relative(o,l)),this.setSourceContent(l,c))},this)};Oe.prototype._validateMapping=function(e,r,n,i){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&&!i)){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:i}))}};Oe.prototype._serializeMappings=function(){for(var e=0,r=1,n=0,i=0,o=0,s=0,a="",l,c,d,u,h=this._mappings.toArray(),m=0,g=h.length;m<g;m++){if(c=h[m],l="",c.generatedLine!==r)for(e=0;c.generatedLine!==r;)l+=";",r++;else if(m>0){if(!X.compareByGeneratedPositionsInflated(c,h[m-1]))continue;l+=","}l+=Qr.encode(c.generatedColumn-e),e=c.generatedColumn,c.source!=null&&(u=this._sources.indexOf(c.source),l+=Qr.encode(u-s),s=u,l+=Qr.encode(c.originalLine-1-i),i=c.originalLine-1,l+=Qr.encode(c.originalColumn-n),n=c.originalColumn,c.name!=null&&(d=this._names.indexOf(c.name),l+=Qr.encode(d-o),o=d)),a+=l}return a};Oe.prototype._generateSourcesContent=function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=X.relative(r,n));var i=X.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};Oe.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};Oe.prototype.toString=function(){return JSON.stringify(this.toJSON())};Lf.SourceMapGenerator=Oe});var Nf=L(Pt=>{Pt.GREATEST_LOWER_BOUND=1;Pt.LEAST_UPPER_BOUND=2;function As(t,e,r,n,i,o){var s=Math.floor((e-t)/2)+t,a=i(r,n[s],!0);return a===0?s:a>0?e-s>1?As(s,e,r,n,i,o):o==Pt.LEAST_UPPER_BOUND?e<n.length?e:-1:s:s-t>1?As(t,s,r,n,i,o):o==Pt.LEAST_UPPER_BOUND?s:t<0?-1:t}Pt.search=function(e,r,n,i){if(r.length===0)return-1;var o=As(-1,r.length,e,r,n,i||Pt.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&n(r[o],r[o-1],!0)===0;)--o;return o}});var Af=L(Pf=>{function Ds(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function Jy(t,e){return Math.round(t+Math.random()*(e-t))}function Is(t,e,r,n){if(r<n){var i=Jy(r,n),o=r-1;Ds(t,i,n);for(var s=t[n],a=r;a<n;a++)e(t[a],s)<=0&&(o+=1,Ds(t,o,a));Ds(t,o+1,a);var l=o+1;Is(t,e,r,l-1),Is(t,e,l+1,n)}}Pf.quickSort=function(t,e){Is(t,e,0,t.length-1)}});var If=L(bi=>{var w=fr(),Rs=Nf(),dr=Ns().ArraySet,Ky=Os(),en=Af().quickSort;function W(t,e){var r=t;return typeof t=="string"&&(r=w.parseSourceMapInput(t)),r.sections!=null?new Re(r,e):new ne(r,e)}W.fromSourceMap=function(t,e){return ne.fromSourceMap(t,e)};W.prototype._version=3;W.prototype.__generatedMappings=null;Object.defineProperty(W.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});W.prototype.__originalMappings=null;Object.defineProperty(W.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});W.prototype._charIsMappingSeparator=function(e,r){var n=e.charAt(r);return n===";"||n===","};W.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};W.GENERATED_ORDER=1;W.ORIGINAL_ORDER=2;W.GREATEST_LOWER_BOUND=1;W.LEAST_UPPER_BOUND=2;W.prototype.eachMapping=function(e,r,n){var i=r||null,o=n||W.GENERATED_ORDER,s;switch(o){case W.GENERATED_ORDER:s=this._generatedMappings;break;case W.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;s.map(function(l){var c=l.source===null?null:this._sources.at(l.source);return c=w.computeSourceURL(a,c,this._sourceMapURL),{source:c,generatedLine:l.generatedLine,generatedColumn:l.generatedColumn,originalLine:l.originalLine,originalColumn:l.originalColumn,name:l.name===null?null:this._names.at(l.name)}},this).forEach(e,i)};W.prototype.allGeneratedPositionsFor=function(e){var r=w.getArg(e,"line"),n={source:w.getArg(e,"source"),originalLine:r,originalColumn:w.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",w.compareByOriginalPositions,Rs.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(e.column===void 0)for(var a=s.originalLine;s&&s.originalLine===a;)i.push({line:w.getArg(s,"generatedLine",null),column:w.getArg(s,"generatedColumn",null),lastColumn:w.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==l;)i.push({line:w.getArg(s,"generatedLine",null),column:w.getArg(s,"generatedColumn",null),lastColumn:w.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++o]}return i};bi.SourceMapConsumer=W;function ne(t,e){var r=t;typeof t=="string"&&(r=w.parseSourceMapInput(t));var n=w.getArg(r,"version"),i=w.getArg(r,"sources"),o=w.getArg(r,"names",[]),s=w.getArg(r,"sourceRoot",null),a=w.getArg(r,"sourcesContent",null),l=w.getArg(r,"mappings"),c=w.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);s&&(s=w.normalize(s)),i=i.map(String).map(w.normalize).map(function(d){return s&&w.isAbsolute(s)&&w.isAbsolute(d)?w.relative(s,d):d}),this._names=dr.fromArray(o.map(String),!0),this._sources=dr.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(d){return w.computeSourceURL(s,d,e)}),this.sourceRoot=s,this.sourcesContent=a,this._mappings=l,this._sourceMapURL=e,this.file=c}ne.prototype=Object.create(W.prototype);ne.prototype.consumer=W;ne.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=w.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};ne.fromSourceMap=function(e,r){var n=Object.create(ne.prototype),i=n._names=dr.fromArray(e._names.toArray(),!0),o=n._sources=dr.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 w.computeSourceURL(n.sourceRoot,m,r)});for(var s=e._mappings.toArray().slice(),a=n.__generatedMappings=[],l=n.__originalMappings=[],c=0,d=s.length;c<d;c++){var u=s[c],h=new Df;h.generatedLine=u.generatedLine,h.generatedColumn=u.generatedColumn,u.source&&(h.source=o.indexOf(u.source),h.originalLine=u.originalLine,h.originalColumn=u.originalColumn,u.name&&(h.name=i.indexOf(u.name)),l.push(h)),a.push(h)}return en(n.__originalMappings,w.compareByOriginalPositions),n};ne.prototype._version=3;Object.defineProperty(ne.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Df(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}ne.prototype._parseMappings=function(e,r){for(var n=1,i=0,o=0,s=0,a=0,l=0,c=e.length,d=0,u={},h={},m=[],g=[],b,v,S,$,C;d<c;)if(e.charAt(d)===";")n++,d++,i=0;else if(e.charAt(d)===",")d++;else{for(b=new Df,b.generatedLine=n,$=d;$<c&&!this._charIsMappingSeparator(e,$);$++);if(v=e.slice(d,$),S=u[v],S)d+=v.length;else{for(S=[];d<$;)Ky.decode(e,d,h),C=h.value,d=h.rest,S.push(C);if(S.length===2)throw new Error("Found a source, but no line and column");if(S.length===3)throw new Error("Found a source and line, but no column");u[v]=S}b.generatedColumn=i+S[0],i=b.generatedColumn,S.length>1&&(b.source=a+S[1],a+=S[1],b.originalLine=o+S[2],o=b.originalLine,b.originalLine+=1,b.originalColumn=s+S[3],s=b.originalColumn,S.length>4&&(b.name=l+S[4],l+=S[4])),g.push(b),typeof b.originalLine=="number"&&m.push(b)}en(g,w.compareByGeneratedPositionsDeflated),this.__generatedMappings=g,en(m,w.compareByOriginalPositions),this.__originalMappings=m};ne.prototype._findMapping=function(e,r,n,i,o,s){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return Rs.search(e,r,o,s)};ne.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}};ne.prototype.originalPositionFor=function(e){var r={generatedLine:w.getArg(e,"line"),generatedColumn:w.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",w.compareByGeneratedPositionsDeflated,w.getArg(e,"bias",W.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var o=w.getArg(i,"source",null);o!==null&&(o=this._sources.at(o),o=w.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var s=w.getArg(i,"name",null);return s!==null&&(s=this._names.at(s)),{source:o,line:w.getArg(i,"originalLine",null),column:w.getArg(i,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}};ne.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};ne.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var i=e;this.sourceRoot!=null&&(i=w.relative(this.sourceRoot,i));var o;if(this.sourceRoot!=null&&(o=w.urlParse(this.sourceRoot))){var s=i.replace(/^file:\/\//,"");if(o.scheme=="file"&&this._sources.has(s))return this.sourcesContent[this._sources.indexOf(s)];if((!o.path||o.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(r)return null;throw new Error('"'+i+'" is not in the SourceMap.')};ne.prototype.generatedPositionFor=function(e){var r=w.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:w.getArg(e,"line"),originalColumn:w.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",w.compareByOriginalPositions,w.getArg(e,"bias",W.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===n.source)return{line:w.getArg(o,"generatedLine",null),column:w.getArg(o,"generatedColumn",null),lastColumn:w.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};bi.BasicSourceMapConsumer=ne;function Re(t,e){var r=t;typeof t=="string"&&(r=w.parseSourceMapInput(t));var n=w.getArg(r,"version"),i=w.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new dr,this._names=new dr;var o={line:-1,column:0};this._sections=i.map(function(s){if(s.url)throw new Error("Support for url field in sections not implemented.");var a=w.getArg(s,"offset"),l=w.getArg(a,"line"),c=w.getArg(a,"column");if(l<o.line||l===o.line&&c<o.column)throw new Error("Section offsets must be ordered and non-overlapping.");return o=a,{generatedOffset:{generatedLine:l+1,generatedColumn:c+1},consumer:new W(w.getArg(s,"map"),e)}})}Re.prototype=Object.create(W.prototype);Re.prototype.constructor=W;Re.prototype._version=3;Object.defineProperty(Re.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}});Re.prototype.originalPositionFor=function(e){var r={generatedLine:w.getArg(e,"line"),generatedColumn:w.getArg(e,"column")},n=Rs.search(r,this._sections,function(o,s){var a=o.generatedLine-s.generatedOffset.generatedLine;return a||o.generatedColumn-s.generatedOffset.generatedColumn}),i=this._sections[n];return i?i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};Re.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};Re.prototype.sourceContentFor=function(e,r){for(var n=0;n<this._sections.length;n++){var i=this._sections[n],o=i.consumer.sourceContentFor(e,!0);if(o)return o}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};Re.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(w.getArg(e,"source"))!==-1){var i=n.consumer.generatedPositionFor(e);if(i){var o={line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)};return o}}}return{line:null,column:null}};Re.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],o=i.consumer._generatedMappings,s=0;s<o.length;s++){var a=o[s],l=i.consumer._sources.at(a.source);l=w.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var c=null;a.name&&(c=i.consumer._names.at(a.name),this._names.add(c),c=this._names.indexOf(c));var d={source:l,generatedLine:a.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(i.generatedOffset.generatedLine===a.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:c};this.__generatedMappings.push(d),typeof d.originalLine=="number"&&this.__originalMappings.push(d)}en(this.__generatedMappings,w.compareByGeneratedPositionsDeflated),en(this.__originalMappings,w.compareByOriginalPositions)};bi.IndexedSourceMapConsumer=Re});var zf=L(Rf=>{var Xy=Ps().SourceMapGenerator,yi=fr(),Qy=/(\r?\n)/,ev=10,hr="$$$isSourceNode$$$";function ye(t,e,r,n,i){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=i??null,this[hr]=!0,n!=null&&this.add(n)}ye.fromStringWithSourceMap=function(e,r,n){var i=new ye,o=e.split(Qy),s=0,a=function(){var h=g(),m=g()||"";return h+m;function g(){return s<o.length?o[s++]:void 0}},l=1,c=0,d=null;return r.eachMapping(function(h){if(d!==null)if(l<h.generatedLine)u(d,a()),l++,c=0;else{var m=o[s]||"",g=m.substr(0,h.generatedColumn-c);o[s]=m.substr(h.generatedColumn-c),c=h.generatedColumn,u(d,g),d=h;return}for(;l<h.generatedLine;)i.add(a()),l++;if(c<h.generatedColumn){var m=o[s]||"";i.add(m.substr(0,h.generatedColumn)),o[s]=m.substr(h.generatedColumn),c=h.generatedColumn}d=h},this),s<o.length&&(d&&u(d,a()),i.add(o.splice(s).join(""))),r.sources.forEach(function(h){var m=r.sourceContentFor(h);m!=null&&(n!=null&&(h=yi.join(n,h)),i.setSourceContent(h,m))}),i;function u(h,m){if(h===null||h.source===void 0)i.add(m);else{var g=n?yi.join(n,h.source):h.source;i.add(new ye(h.originalLine,h.originalColumn,g,m,h.name))}}};ye.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[hr]||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};ye.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[hr]||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};ye.prototype.walk=function(e){for(var r,n=0,i=this.children.length;n<i;n++)r=this.children[n],r[hr]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};ye.prototype.join=function(e){var r,n,i=this.children.length;if(i>0){for(r=[],n=0;n<i-1;n++)r.push(this.children[n]),r.push(e);r.push(this.children[n]),this.children=r}return this};ye.prototype.replaceRight=function(e,r){var n=this.children[this.children.length-1];return n[hr]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this};ye.prototype.setSourceContent=function(e,r){this.sourceContents[yi.toSetString(e)]=r};ye.prototype.walkSourceContents=function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][hr]&&this.children[r].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),r=0,n=i.length;r<n;r++)e(yi.fromSetString(i[r]),this.sourceContents[i[r]])};ye.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};ye.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},n=new Xy(e),i=!1,o=null,s=null,a=null,l=null;return this.walk(function(c,d){r.code+=c,d.source!==null&&d.line!==null&&d.column!==null?((o!==d.source||s!==d.line||a!==d.column||l!==d.name)&&n.addMapping({source:d.source,original:{line:d.line,column:d.column},generated:{line:r.line,column:r.column},name:d.name}),o=d.source,s=d.line,a=d.column,l=d.name,i=!0):i&&(n.addMapping({generated:{line:r.line,column:r.column}}),o=null,i=!1);for(var u=0,h=c.length;u<h;u++)c.charCodeAt(u)===ev?(r.line++,r.column=0,u+1===h?(o=null,i=!1):i&&n.addMapping({source:d.source,original:{line:d.line,column:d.column},generated:{line:r.line,column:r.column},name:d.name})):r.column++}),this.walkSourceContents(function(c,d){n.setSourceContent(c,d)}),{code:r.code,map:n}};Rf.SourceNode=ye});var Ff=L(vi=>{vi.SourceMapGenerator=Ps().SourceMapGenerator;vi.SourceMapConsumer=If().SourceMapConsumer;vi.SourceNode=zf().SourceNode});var qf=L((ki,Wf)=>{"use strict";ki.__esModule=!0;var Fs=ue(),At=void 0;try{(typeof define!="function"||!define.amd)&&(Vf=Ff(),At=Vf.SourceNode)}catch{}var Vf;At||(At=function(t,e,r,n){this.src="",n&&this.add(n)},At.prototype={add:function(e){Fs.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){Fs.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function zs(t,e,r){if(Fs.isArray(t)){for(var n=[],i=0,o=t.length;i<o;i++)n.push(e.wrap(t[i],r));return n}else if(typeof t=="boolean"||typeof t=="number")return t+"";return t}function jf(t){this.srcFile=t,this.source=[]}jf.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 At(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 At?e:(e=zs(e,this,r),new At(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(o){var s=zs(e[o],r);s!=="undefined"&&n.push([r.quotedString(o),":",s])});var i=this.generateList(n);return i.prepend("{"),i.add("}"),i},generateList:function(e){for(var r=this.empty(),n=0,i=e.length;n<i;n++)n&&r.add(","),r.add(zs(e[n],this));return r},generateArray:function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r}};ki.default=jf;Wf.exports=ki.default});var Gf=L((wi,Zf)=>{"use strict";wi.__esModule=!0;function Hf(t){return t&&t.__esModule?t:{default:t}}var Bf=ri(),tv=Ce(),Vs=Hf(tv),rv=ue(),nv=qf(),Uf=Hf(nv);function pr(t){this.value=t}function mr(){}mr.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=Bf.COMPILER_REVISION,r=Bf.REVISION_CHANGES[e];return[e,r]},appendToBuffer:function(e,r,n){return rv.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,i){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!i,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 o=e.opcodes,s=void 0,a=void 0,l=void 0,c=void 0;for(l=0,c=o.length;l<c;l++)s=o[l],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 Vs.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(),`;
8
+ Expecting `+tt.join(", ")+", got '"+(this.terminals_[E]||E)+"'":br="Parse error on line "+(u+1)+": Unexpected "+(E==1?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(br,{text:this.lexer.match,token:this.terminals_[E]||E,line:this.lexer.yylineno,loc:y,expected:tt})}}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+E);switch(S[0]){case 1:s.push(E),a.push(this.lexer.yytext),l.push(this.lexer.yylloc),s.push(S[1]),E=null,w?(E=w,w=null):(p=this.lexer.yyleng,d=this.lexer.yytext,u=this.lexer.yylineno,y=this.lexer.yylloc,h>0&&h--);break;case 2:if(Y=this.productions_[S[1]][1],R.$=a[a.length-Y],R._$={first_line:l[l.length-(Y||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(Y||1)].first_column,last_column:l[l.length-1].last_column},k&&(R._$.range=[l[l.length-(Y||1)].range[0],l[l.length-1].range[1]]),N=this.performAction.call(R,d,p,u,this.yy,S[1],a,l),typeof N<"u")return N;Y&&(s=s.slice(0,-1*Y*2),a=a.slice(0,-1*Y),l=l.slice(0,-1*Y)),s.push(this.productions_[S[1]][0]),a.push(R.$),l.push(R._$),on=c[s[s.length-2]][s[s.length-1]],s.push(on);break;case 3:return!0}}return!0}},e=(function(){var n={EOF:1,parseError:function(o,s){if(this.yy.parser)this.yy.parser.parseError(o,s);else throw new Error(o)},setInput:function(o){return this._input=o,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 o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var s=o.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),o},unput:function(o){var s=o.length,a=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s-1),this.offset-=s;var l=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 c=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===l.length?this.yylloc.first_column:0)+l[l.length-a.length].length-a[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[c[0],c[0]+this.yyleng-s]),this},more:function(){return this._more=!0,this},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),s=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
9
+ `+s+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var o,s,a,l,c,d;this._more||(this.yytext="",this.match="");for(var u=this._currentRules(),p=0;p<u.length&&(a=this._input.match(this.rules[u[p]]),!(a&&(!s||a[0].length>s[0].length)&&(s=a,l=p,!this.options.flex)));p++);return s?(d=s[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.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],o=this.performAction.call(this,this.yy,this,u[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
10
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var o=this.next();return typeof o<"u"?o:this.lex()},begin:function(o){this.conditionStack.push(o)},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(o){this.begin(o)}};return n.options={},n.performAction=function(o,s,a,l){function c(u,p){return s.yytext=s.yytext.substring(u,s.yyleng-p+u)}var d=l;switch(a){case 0:if(s.yytext.slice(-2)==="\\\\"?(c(0,1),this.begin("mu")):s.yytext.slice(-1)==="\\"?(c(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:(c(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=c(1,2).replace(/\\"/g,'"'),80;break;case 32:return s.yytext=c(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})();ci.default=py;af.exports=ci.default});var hi=A((di,ff)=>{"use strict";di.__esModule=!0;function my(t){return t&&t.__esModule?t:{default:t}}var gy=_e(),ks=my(gy);function ui(){this.parents=[]}ui.prototype={constructor:ui,mutating:!1,acceptKey:function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!ui.prototype[n.type])throw new ks.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 ks.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 ks.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:fi,Decorator:fi,BlockStatement:cf,DecoratorBlock:cf,PartialStatement:uf,PartialBlockStatement:function(e){uf.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:fi,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 fi(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function cf(t){fi.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function uf(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}di.default=ui;ff.exports=di.default});var hf=A((pi,df)=>{"use strict";pi.__esModule=!0;function by(t){return t&&t.__esModule?t:{default:t}}var yy=hi(),vy=by(yy);function Ue(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}Ue.prototype=new vy.default;Ue.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,i=0,o=n.length;i<o;i++){var s=n[i],a=this.accept(s);if(a){var l=ws(n,i,r),c=xs(n,i,r),d=a.openStandalone&&l,u=a.closeStandalone&&c,p=a.inlineStandalone&&l&&c;a.close&&Lt(n,i,!0),a.open&&pt(n,i,!0),e&&p&&(Lt(n,i),pt(n,i)&&s.type==="PartialStatement"&&(s.indent=/([ \t]+$)/.exec(n[i-1].original)[1])),e&&d&&(Lt((s.program||s.inverse).body),pt(n,i)),e&&u&&(Lt(n,i),pt((s.inverse||s.program).body))}}return t};Ue.prototype.BlockStatement=Ue.prototype.DecoratorBlock=Ue.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,i=r;if(r&&r.chained)for(n=r.body[0].program;i.chained;)i=i.body[i.body.length-1].program;var o={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:xs(e.body),closeStandalone:ws((n||e).body)};if(t.openStrip.close&&Lt(e.body,null,!0),r){var s=t.inverseStrip;s.open&&pt(e.body,null,!0),s.close&&Lt(n.body,null,!0),t.closeStrip.open&&pt(i.body,null,!0),!this.options.ignoreStandalone&&ws(e.body)&&xs(n.body)&&(pt(e.body),Lt(n.body))}else t.closeStrip.open&&pt(e.body,null,!0);return o};Ue.prototype.Decorator=Ue.prototype.MustacheStatement=function(t){return t.strip};Ue.prototype.PartialStatement=Ue.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};function ws(t,e,r){e===void 0&&(e=t.length);var n=t[e-1],i=t[e-2];if(!n)return r;if(n.type==="ContentStatement")return(i||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original)}function xs(t,e,r){e===void 0&&(e=-1);var n=t[e+1],i=t[e+2];if(!n)return r;if(n.type==="ContentStatement")return(i||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original)}function Lt(t,e,r){var n=t[e==null?0:e+1];if(!(!n||n.type!=="ContentStatement"||!r&&n.rightStripped)){var i=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==i}}function pt(t,e,r){var n=t[e==null?t.length-1:e-1];if(!(!n||n.type!=="ContentStatement"||!r&&n.leftStripped)){var i=n.value;return n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==i,n.leftStripped}}pi.default=Ue;df.exports=pi.default});var pf=A(Ce=>{"use strict";Ce.__esModule=!0;Ce.SourceLocation=xy;Ce.id=Sy;Ce.stripFlags=$y;Ce.stripComment=_y;Ce.preparePath=Cy;Ce.prepareMustache=Ey;Ce.prepareRawBlock=Oy;Ce.prepareBlock=My;Ce.prepareProgram=Ty;Ce.preparePartialBlock=Ly;function ky(t){return t&&t.__esModule?t:{default:t}}var wy=_e(),Ss=ky(wy);function $s(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new Ss.default(t.path.original+" doesn't match "+e,r)}}function xy(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 Sy(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function $y(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function _y(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function Cy(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",i=[],o=0,s=0,a=e.length;s<a;s++){var l=e[s].part,c=e[s].original!==l;if(n+=(e[s].separator||"")+l,!c&&(l===".."||l==="."||l==="this")){if(i.length>0)throw new Ss.default("Invalid path: "+n,{loc:r});l===".."&&o++}else i.push(l)}return{type:"PathExpression",data:t,depth:o,parts:i,original:n,loc:r}}function Ey(t,e,r,n,i,o){var s=n.charAt(3)||n.charAt(2),a=s!=="{"&&s!=="&",l=/\*/.test(n);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:a,strip:i,loc:this.locInfo(o)}}function Oy(t,e,r,n){$s(t,r),n=this.locInfo(n);var i={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function My(t,e,r,n,i,o){n&&n.path&&$s(t,n);var s=/\*/.test(t.open);e.blockParams=t.blockParams;var a=void 0,l=void 0;if(r){if(s)throw new Ss.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),l=r.strip,a=r.program}return i&&(i=a,a=e,e=i),{type:s?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:a,openStrip:t.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(o)}}function Ty(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 Ly(t,e,r,n){return $s(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 bf=A(Gr=>{"use strict";Gr.__esModule=!0;Gr.parseWithoutProcessing=gf;Gr.parse=Fy;function Ay(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 mf(t){return t&&t.__esModule?t:{default:t}}var Ny=lf(),_s=mf(Ny),Py=hf(),Dy=mf(Py),Iy=pf(),Ry=Ay(Iy),zy=ce();Gr.parser=_s.default;var mi={};zy.extend(mi,Ry);function gf(t,e){if(t.type==="Program")return t;_s.default.yy=mi,mi.locInfo=function(n){return new mi.SourceLocation(e&&e.srcName,n)};var r=_s.default.parse(t);return r}function Fy(t,e){var r=gf(t,e),n=new Dy.default(e);return n.accept(r)}});var wf=A(Kr=>{"use strict";Kr.__esModule=!0;Kr.Compiler=Cs;Kr.precompile=qy;Kr.compile=By;function vf(t){return t&&t.__esModule?t:{default:t}}var Vy=_e(),Yr=vf(Vy),Jr=ce(),jy=vs(),Zr=vf(jy),Wy=[].slice;function Cs(){}Cs.prototype={compiler:Cs,equals:function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var n=0;n<r;n++){var i=this.opcodes[n],o=e.opcodes[n];if(i.opcode!==o.opcode||!kf(i.args,o.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=Jr.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),i=this.guid++;return this.usePartial=this.usePartial||n.usePartial,this.children[i]=n,this.useDepths=this.useDepths||n.useDepths,i},accept:function(e){if(!this[e.type])throw new Yr.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,i=0;i<n;i++)this.accept(r[i]);return this.options.blockParams.shift(),this.isSimple=n===1,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){yf(e);var r=e.program,n=e.inverse;r=r&&this.compileProgram(r),n=n&&this.compileProgram(n);var i=this.classifySexpr(e);i==="helper"?this.helperSexpr(e,r,n):i==="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),i=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,i.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 Yr.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 i=e.name.original,o=e.name.type==="SubExpression";o&&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",o,i,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){yf(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 i=e.path,o=i.parts[0],s=r!=null||n!=null;this.opcode("getContext",i.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",n),i.strict=!0,this.accept(i),this.opcode("invokeAmbiguous",o,s)},simpleSexpr:function(e){var r=e.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,r,n){var i=this.setupFullMustacheParams(e,r,n),o=e.path,s=o.parts[0];if(this.options.knownHelpers[s])this.opcode("invokeKnownHelper",i.length,s);else{if(this.options.knownHelpersOnly)throw new Yr.default("You specified knownHelpersOnly, but used the unknown helper "+s,e);o.strict=!0,o.falsy=!0,this.accept(o),this.opcode("invokeHelper",i.length,o.original,Zr.default.helpers.simpleId(o))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=Zr.default.helpers.scopedId(e),i=!e.depth&&!n&&this.blockParamIndex(r);i?this.opcode("lookupBlockParam",i,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,i=r.length;for(this.opcode("pushHash");n<i;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:Wy.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var r=Zr.default.helpers.simpleId(e.path),n=r&&!!this.blockParamIndex(e.path.parts[0]),i=!n&&Zr.default.helpers.helperExpression(e),o=!n&&(i||r);if(o&&!i){var s=e.path.parts[0],a=this.options;a.knownHelpers[s]?i=!0:a.knownHelpersOnly&&(o=!1)}return i?"helper":o?"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&&!Zr.default.helpers.scopedId(e)&&!e.depth&&(n=this.blockParamIndex(e.parts[0])),n){var i=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,i)}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,i){var o=e.params;return this.pushParams(o),this.opcode("pushProgram",r),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",i),o},blockParamIndex:function(e){for(var r=0,n=this.options.blockParams.length;r<n;r++){var i=this.options.blockParams[r],o=i&&Jr.indexOf(i,e);if(i&&o>=0)return[r,o]}}};function qy(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new Yr.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),i=new r.Compiler().compile(n,e);return new r.JavaScriptCompiler().compile(i,e)}function By(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new Yr.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=Jr.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=void 0;function i(){var s=r.parse(t,e),a=new r.Compiler().compile(s,e),l=new r.JavaScriptCompiler().compile(a,e,void 0,!0);return r.template(l)}function o(s,a){return n||(n=i()),n.call(this,s,a)}return o._setup=function(s){return n||(n=i()),n._setup(s)},o._child=function(s,a,l,c){return n||(n=i()),n._child(s,a,l,c)},o}function kf(t,e){if(t===e)return!0;if(Jr.isArray(t)&&Jr.isArray(e)&&t.length===e.length){for(var r=0;r<t.length;r++)if(!kf(t[r],e[r]))return!1;return!0}}function yf(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 Sf=A(Es=>{var xf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Es.encode=function(t){if(0<=t&&t<xf.length)return xf[t];throw new TypeError("Must be between 0 and 63: "+t)};Es.decode=function(t){var e=65,r=90,n=97,i=122,o=48,s=57,a=43,l=47,c=26,d=52;return e<=t&&t<=r?t-e:n<=t&&t<=i?t-n+c:o<=t&&t<=s?t-o+d:t==a?62:t==l?63:-1}});var Ts=A(Ms=>{var $f=Sf(),Os=5,_f=1<<Os,Cf=_f-1,Ef=_f;function Uy(t){return t<0?(-t<<1)+1:(t<<1)+0}function Hy(t){var e=(t&1)===1,r=t>>1;return e?-r:r}Ms.encode=function(e){var r="",n,i=Uy(e);do n=i&Cf,i>>>=Os,i>0&&(n|=Ef),r+=$f.encode(n);while(i>0);return r};Ms.decode=function(e,r,n){var i=e.length,o=0,s=0,a,l;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=$f.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));a=!!(l&Ef),l&=Cf,o=o+(l<<s),s+=Os}while(a);n.value=Hy(o),n.rest=r}});var fr=A(oe=>{function Gy(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}oe.getArg=Gy;var Of=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Zy=/^data:.+\,.+$/;function Xr(t){var e=t.match(Of);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}oe.urlParse=Xr;function cr(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}oe.urlGenerate=cr;function Ls(t){var e=t,r=Xr(t);if(r){if(!r.path)return t;e=r.path}for(var n=oe.isAbsolute(e),i=e.split(/\/+/),o,s=0,a=i.length-1;a>=0;a--)o=i[a],o==="."?i.splice(a,1):o===".."?s++:s>0&&(o===""?(i.splice(a+1,s),s=0):(i.splice(a,2),s--));return e=i.join("/"),e===""&&(e=n?"/":"."),r?(r.path=e,cr(r)):e}oe.normalize=Ls;function Mf(t,e){t===""&&(t="."),e===""&&(e=".");var r=Xr(e),n=Xr(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),cr(r);if(r||e.match(Zy))return e;if(n&&!n.host&&!n.path)return n.host=e,cr(n);var i=e.charAt(0)==="/"?e:Ls(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=i,cr(n)):i}oe.join=Mf;oe.isAbsolute=function(t){return t.charAt(0)==="/"||Of.test(t)};function Yy(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)}oe.relative=Yy;var Tf=(function(){var t=Object.create(null);return!("__proto__"in t)})();function Lf(t){return t}function Jy(t){return Af(t)?"$"+t:t}oe.toSetString=Tf?Lf:Jy;function Ky(t){return Af(t)?t.slice(1):t}oe.fromSetString=Tf?Lf:Ky;function Af(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 Xy(t,e,r){var n=ur(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:ur(t.name,e.name)}oe.compareByOriginalPositions=Xy;function Qy(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=ur(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:ur(t.name,e.name)}oe.compareByGeneratedPositionsDeflated=Qy;function ur(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function ev(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=ur(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:ur(t.name,e.name)}oe.compareByGeneratedPositionsInflated=ev;function tv(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}oe.parseSourceMapInput=tv;function rv(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=Xr(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}e=Mf(cr(n),e)}return Ls(e)}oe.computeSourceURL=rv});var Ps=A(Nf=>{var As=fr(),Ns=Object.prototype.hasOwnProperty,At=typeof Map<"u";function Qe(){this._array=[],this._set=At?new Map:Object.create(null)}Qe.fromArray=function(e,r){for(var n=new Qe,i=0,o=e.length;i<o;i++)n.add(e[i],r);return n};Qe.prototype.size=function(){return At?this._set.size:Object.getOwnPropertyNames(this._set).length};Qe.prototype.add=function(e,r){var n=At?e:As.toSetString(e),i=At?this.has(e):Ns.call(this._set,n),o=this._array.length;(!i||r)&&this._array.push(e),i||(At?this._set.set(e,o):this._set[n]=o)};Qe.prototype.has=function(e){if(At)return this._set.has(e);var r=As.toSetString(e);return Ns.call(this._set,r)};Qe.prototype.indexOf=function(e){if(At){var r=this._set.get(e);if(r>=0)return r}else{var n=As.toSetString(e);if(Ns.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')};Qe.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};Qe.prototype.toArray=function(){return this._array.slice()};Nf.ArraySet=Qe});var If=A(Df=>{var Pf=fr();function nv(t,e){var r=t.generatedLine,n=e.generatedLine,i=t.generatedColumn,o=e.generatedColumn;return n>r||n==r&&o>=i||Pf.compareByGeneratedPositionsInflated(t,e)<=0}function gi(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}gi.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};gi.prototype.add=function(e){nv(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};gi.prototype.toArray=function(){return this._sorted||(this._array.sort(Pf.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Df.MappingList=gi});var Ds=A(Rf=>{var Qr=Ts(),X=fr(),bi=Ps().ArraySet,iv=If().MappingList;function Ee(t){t||(t={}),this._file=X.getArg(t,"file",null),this._sourceRoot=X.getArg(t,"sourceRoot",null),this._skipValidation=X.getArg(t,"skipValidation",!1),this._sources=new bi,this._names=new bi,this._mappings=new iv,this._sourcesContents=null}Ee.prototype._version=3;Ee.fromSourceMap=function(e){var r=e.sourceRoot,n=new Ee({file:e.file,sourceRoot:r});return e.eachMapping(function(i){var o={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(o.source=i.source,r!=null&&(o.source=X.relative(r,o.source)),o.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(o.name=i.name)),n.addMapping(o)}),e.sources.forEach(function(i){var o=i;r!==null&&(o=X.relative(r,i)),n._sources.has(o)||n._sources.add(o);var s=e.sourceContentFor(i);s!=null&&n.setSourceContent(i,s)}),n};Ee.prototype.addMapping=function(e){var r=X.getArg(e,"generated"),n=X.getArg(e,"original",null),i=X.getArg(e,"source",null),o=X.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,i,o),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),o!=null&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:o})};Ee.prototype.setSourceContent=function(e,r){var n=e;this._sourceRoot!=null&&(n=X.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[X.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[X.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Ee.prototype.applySourceMap=function(e,r,n){var i=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.`);i=e.file}var o=this._sourceRoot;o!=null&&(i=X.relative(o,i));var s=new bi,a=new bi;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var c=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});c.source!=null&&(l.source=c.source,n!=null&&(l.source=X.join(n,l.source)),o!=null&&(l.source=X.relative(o,l.source)),l.originalLine=c.line,l.originalColumn=c.column,c.name!=null&&(l.name=c.name))}var d=l.source;d!=null&&!s.has(d)&&s.add(d);var u=l.name;u!=null&&!a.has(u)&&a.add(u)},this),this._sources=s,this._names=a,e.sources.forEach(function(l){var c=e.sourceContentFor(l);c!=null&&(n!=null&&(l=X.join(n,l)),o!=null&&(l=X.relative(o,l)),this.setSourceContent(l,c))},this)};Ee.prototype._validateMapping=function(e,r,n,i){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&&!i)){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:i}))}};Ee.prototype._serializeMappings=function(){for(var e=0,r=1,n=0,i=0,o=0,s=0,a="",l,c,d,u,p=this._mappings.toArray(),h=0,g=p.length;h<g;h++){if(c=p[h],l="",c.generatedLine!==r)for(e=0;c.generatedLine!==r;)l+=";",r++;else if(h>0){if(!X.compareByGeneratedPositionsInflated(c,p[h-1]))continue;l+=","}l+=Qr.encode(c.generatedColumn-e),e=c.generatedColumn,c.source!=null&&(u=this._sources.indexOf(c.source),l+=Qr.encode(u-s),s=u,l+=Qr.encode(c.originalLine-1-i),i=c.originalLine-1,l+=Qr.encode(c.originalColumn-n),n=c.originalColumn,c.name!=null&&(d=this._names.indexOf(c.name),l+=Qr.encode(d-o),o=d)),a+=l}return a};Ee.prototype._generateSourcesContent=function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=X.relative(r,n));var i=X.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};Ee.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};Ee.prototype.toString=function(){return JSON.stringify(this.toJSON())};Rf.SourceMapGenerator=Ee});var zf=A(Nt=>{Nt.GREATEST_LOWER_BOUND=1;Nt.LEAST_UPPER_BOUND=2;function Is(t,e,r,n,i,o){var s=Math.floor((e-t)/2)+t,a=i(r,n[s],!0);return a===0?s:a>0?e-s>1?Is(s,e,r,n,i,o):o==Nt.LEAST_UPPER_BOUND?e<n.length?e:-1:s:s-t>1?Is(t,s,r,n,i,o):o==Nt.LEAST_UPPER_BOUND?s:t<0?-1:t}Nt.search=function(e,r,n,i){if(r.length===0)return-1;var o=Is(-1,r.length,e,r,n,i||Nt.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&n(r[o],r[o-1],!0)===0;)--o;return o}});var Vf=A(Ff=>{function Rs(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function ov(t,e){return Math.round(t+Math.random()*(e-t))}function zs(t,e,r,n){if(r<n){var i=ov(r,n),o=r-1;Rs(t,i,n);for(var s=t[n],a=r;a<n;a++)e(t[a],s)<=0&&(o+=1,Rs(t,o,a));Rs(t,o+1,a);var l=o+1;zs(t,e,r,l-1),zs(t,e,l+1,n)}}Ff.quickSort=function(t,e){zs(t,e,0,t.length-1)}});var Wf=A(yi=>{var $=fr(),Fs=zf(),dr=Ps().ArraySet,sv=Ts(),en=Vf().quickSort;function W(t,e){var r=t;return typeof t=="string"&&(r=$.parseSourceMapInput(t)),r.sections!=null?new Ie(r,e):new ne(r,e)}W.fromSourceMap=function(t,e){return ne.fromSourceMap(t,e)};W.prototype._version=3;W.prototype.__generatedMappings=null;Object.defineProperty(W.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});W.prototype.__originalMappings=null;Object.defineProperty(W.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});W.prototype._charIsMappingSeparator=function(e,r){var n=e.charAt(r);return n===";"||n===","};W.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};W.GENERATED_ORDER=1;W.ORIGINAL_ORDER=2;W.GREATEST_LOWER_BOUND=1;W.LEAST_UPPER_BOUND=2;W.prototype.eachMapping=function(e,r,n){var i=r||null,o=n||W.GENERATED_ORDER,s;switch(o){case W.GENERATED_ORDER:s=this._generatedMappings;break;case W.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;s.map(function(l){var c=l.source===null?null:this._sources.at(l.source);return c=$.computeSourceURL(a,c,this._sourceMapURL),{source:c,generatedLine:l.generatedLine,generatedColumn:l.generatedColumn,originalLine:l.originalLine,originalColumn:l.originalColumn,name:l.name===null?null:this._names.at(l.name)}},this).forEach(e,i)};W.prototype.allGeneratedPositionsFor=function(e){var r=$.getArg(e,"line"),n={source:$.getArg(e,"source"),originalLine:r,originalColumn:$.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",$.compareByOriginalPositions,Fs.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(e.column===void 0)for(var a=s.originalLine;s&&s.originalLine===a;)i.push({line:$.getArg(s,"generatedLine",null),column:$.getArg(s,"generatedColumn",null),lastColumn:$.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==l;)i.push({line:$.getArg(s,"generatedLine",null),column:$.getArg(s,"generatedColumn",null),lastColumn:$.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++o]}return i};yi.SourceMapConsumer=W;function ne(t,e){var r=t;typeof t=="string"&&(r=$.parseSourceMapInput(t));var n=$.getArg(r,"version"),i=$.getArg(r,"sources"),o=$.getArg(r,"names",[]),s=$.getArg(r,"sourceRoot",null),a=$.getArg(r,"sourcesContent",null),l=$.getArg(r,"mappings"),c=$.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);s&&(s=$.normalize(s)),i=i.map(String).map($.normalize).map(function(d){return s&&$.isAbsolute(s)&&$.isAbsolute(d)?$.relative(s,d):d}),this._names=dr.fromArray(o.map(String),!0),this._sources=dr.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(d){return $.computeSourceURL(s,d,e)}),this.sourceRoot=s,this.sourcesContent=a,this._mappings=l,this._sourceMapURL=e,this.file=c}ne.prototype=Object.create(W.prototype);ne.prototype.consumer=W;ne.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=$.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};ne.fromSourceMap=function(e,r){var n=Object.create(ne.prototype),i=n._names=dr.fromArray(e._names.toArray(),!0),o=n._sources=dr.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(h){return $.computeSourceURL(n.sourceRoot,h,r)});for(var s=e._mappings.toArray().slice(),a=n.__generatedMappings=[],l=n.__originalMappings=[],c=0,d=s.length;c<d;c++){var u=s[c],p=new jf;p.generatedLine=u.generatedLine,p.generatedColumn=u.generatedColumn,u.source&&(p.source=o.indexOf(u.source),p.originalLine=u.originalLine,p.originalColumn=u.originalColumn,u.name&&(p.name=i.indexOf(u.name)),l.push(p)),a.push(p)}return en(n.__originalMappings,$.compareByOriginalPositions),n};ne.prototype._version=3;Object.defineProperty(ne.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function jf(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}ne.prototype._parseMappings=function(e,r){for(var n=1,i=0,o=0,s=0,a=0,l=0,c=e.length,d=0,u={},p={},h=[],g=[],b,y,k,v,C;d<c;)if(e.charAt(d)===";")n++,d++,i=0;else if(e.charAt(d)===",")d++;else{for(b=new jf,b.generatedLine=n,v=d;v<c&&!this._charIsMappingSeparator(e,v);v++);if(y=e.slice(d,v),k=u[y],k)d+=y.length;else{for(k=[];d<v;)sv.decode(e,d,p),C=p.value,d=p.rest,k.push(C);if(k.length===2)throw new Error("Found a source, but no line and column");if(k.length===3)throw new Error("Found a source and line, but no column");u[y]=k}b.generatedColumn=i+k[0],i=b.generatedColumn,k.length>1&&(b.source=a+k[1],a+=k[1],b.originalLine=o+k[2],o=b.originalLine,b.originalLine+=1,b.originalColumn=s+k[3],s=b.originalColumn,k.length>4&&(b.name=l+k[4],l+=k[4])),g.push(b),typeof b.originalLine=="number"&&h.push(b)}en(g,$.compareByGeneratedPositionsDeflated),this.__generatedMappings=g,en(h,$.compareByOriginalPositions),this.__originalMappings=h};ne.prototype._findMapping=function(e,r,n,i,o,s){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return Fs.search(e,r,o,s)};ne.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}};ne.prototype.originalPositionFor=function(e){var r={generatedLine:$.getArg(e,"line"),generatedColumn:$.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",$.compareByGeneratedPositionsDeflated,$.getArg(e,"bias",W.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var o=$.getArg(i,"source",null);o!==null&&(o=this._sources.at(o),o=$.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var s=$.getArg(i,"name",null);return s!==null&&(s=this._names.at(s)),{source:o,line:$.getArg(i,"originalLine",null),column:$.getArg(i,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}};ne.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};ne.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var i=e;this.sourceRoot!=null&&(i=$.relative(this.sourceRoot,i));var o;if(this.sourceRoot!=null&&(o=$.urlParse(this.sourceRoot))){var s=i.replace(/^file:\/\//,"");if(o.scheme=="file"&&this._sources.has(s))return this.sourcesContent[this._sources.indexOf(s)];if((!o.path||o.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(r)return null;throw new Error('"'+i+'" is not in the SourceMap.')};ne.prototype.generatedPositionFor=function(e){var r=$.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:$.getArg(e,"line"),originalColumn:$.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",$.compareByOriginalPositions,$.getArg(e,"bias",W.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===n.source)return{line:$.getArg(o,"generatedLine",null),column:$.getArg(o,"generatedColumn",null),lastColumn:$.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};yi.BasicSourceMapConsumer=ne;function Ie(t,e){var r=t;typeof t=="string"&&(r=$.parseSourceMapInput(t));var n=$.getArg(r,"version"),i=$.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new dr,this._names=new dr;var o={line:-1,column:0};this._sections=i.map(function(s){if(s.url)throw new Error("Support for url field in sections not implemented.");var a=$.getArg(s,"offset"),l=$.getArg(a,"line"),c=$.getArg(a,"column");if(l<o.line||l===o.line&&c<o.column)throw new Error("Section offsets must be ordered and non-overlapping.");return o=a,{generatedOffset:{generatedLine:l+1,generatedColumn:c+1},consumer:new W($.getArg(s,"map"),e)}})}Ie.prototype=Object.create(W.prototype);Ie.prototype.constructor=W;Ie.prototype._version=3;Object.defineProperty(Ie.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}});Ie.prototype.originalPositionFor=function(e){var r={generatedLine:$.getArg(e,"line"),generatedColumn:$.getArg(e,"column")},n=Fs.search(r,this._sections,function(o,s){var a=o.generatedLine-s.generatedOffset.generatedLine;return a||o.generatedColumn-s.generatedOffset.generatedColumn}),i=this._sections[n];return i?i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};Ie.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};Ie.prototype.sourceContentFor=function(e,r){for(var n=0;n<this._sections.length;n++){var i=this._sections[n],o=i.consumer.sourceContentFor(e,!0);if(o)return o}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};Ie.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex($.getArg(e,"source"))!==-1){var i=n.consumer.generatedPositionFor(e);if(i){var o={line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)};return o}}}return{line:null,column:null}};Ie.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],o=i.consumer._generatedMappings,s=0;s<o.length;s++){var a=o[s],l=i.consumer._sources.at(a.source);l=$.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var c=null;a.name&&(c=i.consumer._names.at(a.name),this._names.add(c),c=this._names.indexOf(c));var d={source:l,generatedLine:a.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(i.generatedOffset.generatedLine===a.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:c};this.__generatedMappings.push(d),typeof d.originalLine=="number"&&this.__originalMappings.push(d)}en(this.__generatedMappings,$.compareByGeneratedPositionsDeflated),en(this.__originalMappings,$.compareByOriginalPositions)};yi.IndexedSourceMapConsumer=Ie});var Bf=A(qf=>{var av=Ds().SourceMapGenerator,vi=fr(),lv=/(\r?\n)/,cv=10,hr="$$$isSourceNode$$$";function ye(t,e,r,n,i){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=i??null,this[hr]=!0,n!=null&&this.add(n)}ye.fromStringWithSourceMap=function(e,r,n){var i=new ye,o=e.split(lv),s=0,a=function(){var p=g(),h=g()||"";return p+h;function g(){return s<o.length?o[s++]:void 0}},l=1,c=0,d=null;return r.eachMapping(function(p){if(d!==null)if(l<p.generatedLine)u(d,a()),l++,c=0;else{var h=o[s]||"",g=h.substr(0,p.generatedColumn-c);o[s]=h.substr(p.generatedColumn-c),c=p.generatedColumn,u(d,g),d=p;return}for(;l<p.generatedLine;)i.add(a()),l++;if(c<p.generatedColumn){var h=o[s]||"";i.add(h.substr(0,p.generatedColumn)),o[s]=h.substr(p.generatedColumn),c=p.generatedColumn}d=p},this),s<o.length&&(d&&u(d,a()),i.add(o.splice(s).join(""))),r.sources.forEach(function(p){var h=r.sourceContentFor(p);h!=null&&(n!=null&&(p=vi.join(n,p)),i.setSourceContent(p,h))}),i;function u(p,h){if(p===null||p.source===void 0)i.add(h);else{var g=n?vi.join(n,p.source):p.source;i.add(new ye(p.originalLine,p.originalColumn,g,h,p.name))}}};ye.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[hr]||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};ye.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[hr]||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};ye.prototype.walk=function(e){for(var r,n=0,i=this.children.length;n<i;n++)r=this.children[n],r[hr]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};ye.prototype.join=function(e){var r,n,i=this.children.length;if(i>0){for(r=[],n=0;n<i-1;n++)r.push(this.children[n]),r.push(e);r.push(this.children[n]),this.children=r}return this};ye.prototype.replaceRight=function(e,r){var n=this.children[this.children.length-1];return n[hr]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this};ye.prototype.setSourceContent=function(e,r){this.sourceContents[vi.toSetString(e)]=r};ye.prototype.walkSourceContents=function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][hr]&&this.children[r].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),r=0,n=i.length;r<n;r++)e(vi.fromSetString(i[r]),this.sourceContents[i[r]])};ye.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};ye.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},n=new av(e),i=!1,o=null,s=null,a=null,l=null;return this.walk(function(c,d){r.code+=c,d.source!==null&&d.line!==null&&d.column!==null?((o!==d.source||s!==d.line||a!==d.column||l!==d.name)&&n.addMapping({source:d.source,original:{line:d.line,column:d.column},generated:{line:r.line,column:r.column},name:d.name}),o=d.source,s=d.line,a=d.column,l=d.name,i=!0):i&&(n.addMapping({generated:{line:r.line,column:r.column}}),o=null,i=!1);for(var u=0,p=c.length;u<p;u++)c.charCodeAt(u)===cv?(r.line++,r.column=0,u+1===p?(o=null,i=!1):i&&n.addMapping({source:d.source,original:{line:d.line,column:d.column},generated:{line:r.line,column:r.column},name:d.name})):r.column++}),this.walkSourceContents(function(c,d){n.setSourceContent(c,d)}),{code:r.code,map:n}};qf.SourceNode=ye});var Uf=A(ki=>{ki.SourceMapGenerator=Ds().SourceMapGenerator;ki.SourceMapConsumer=Wf().SourceMapConsumer;ki.SourceNode=Bf().SourceNode});var Yf=A((wi,Zf)=>{"use strict";wi.__esModule=!0;var js=ce(),Pt=void 0;try{(typeof define!="function"||!define.amd)&&(Hf=Uf(),Pt=Hf.SourceNode)}catch{}var Hf;Pt||(Pt=function(t,e,r,n){this.src="",n&&this.add(n)},Pt.prototype={add:function(e){js.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){js.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function Vs(t,e,r){if(js.isArray(t)){for(var n=[],i=0,o=t.length;i<o;i++)n.push(e.wrap(t[i],r));return n}else if(typeof t=="boolean"||typeof t=="number")return t+"";return t}function Gf(t){this.srcFile=t,this.source=[]}Gf.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,`
11
+ `])}),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 Pt(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 Pt?e:(e=Vs(e,this,r),new Pt(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(o){var s=Vs(e[o],r);s!=="undefined"&&n.push([r.quotedString(o),":",s])});var i=this.generateList(n);return i.prepend("{"),i.add("}"),i},generateList:function(e){for(var r=this.empty(),n=0,i=e.length;n<i;n++)n&&r.add(","),r.add(Vs(e[n],this));return r},generateArray:function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r}};wi.default=Gf;Zf.exports=wi.default});var ed=A((xi,Qf)=>{"use strict";xi.__esModule=!0;function Xf(t){return t&&t.__esModule?t:{default:t}}var Jf=ni(),uv=_e(),Ws=Xf(uv),fv=ce(),dv=Yf(),Kf=Xf(dv);function pr(t){this.value=t}function mr(){}mr.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=Jf.COMPILER_REVISION,r=Jf.REVISION_CHANGES[e];return[e,r]},appendToBuffer:function(e,r,n){return fv.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,i){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!i,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 o=e.opcodes,s=void 0,a=void 0,l=void 0,c=void 0;for(l=0,c=o.length;l<c;l++)s=o[l],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 Ws.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
12
  `]),this.decorators.push("return fn;"),i?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
13
  `),this.decorators.push(`}
13
- `),this.decorators=this.decorators.merge()));var d=this.createFunctionContext(i);if(this.isChild)return d;var u={compiler:this.compilerInfo(),main:d};this.decorators&&(u.main_d=this.decorators,u.useDecorators=!0);var h=this.context,m=h.programs,g=h.decorators;for(l=0,c=m.length;l<c;l++)m[l]&&(u[l]=m[l],g[l]&&(u[l+"_d"]=g[l],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),i?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 Uf.default(this.options.srcName),this.decorators=new Uf.default(this.options.srcName)},createFunctionContext:function(e){var r=this,n="",i=this.stackVars.concat(this.registers.list);i.length>0&&(n+=", "+i.join(", "));var o=0;Object.keys(this.aliases).forEach(function(l){var c=r.aliases[l];c.children&&c.referenceCount>1&&(n+=", alias"+ ++o+"="+l,c.children[0]="alias"+o)}),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
+ `),this.decorators=this.decorators.merge()));var d=this.createFunctionContext(i);if(this.isChild)return d;var u={compiler:this.compilerInfo(),main:d};this.decorators&&(u.main_d=this.decorators,u.useDecorators=!0);var p=this.context,h=p.programs,g=p.decorators;for(l=0,c=h.length;l<c;l++)h[l]&&(u[l]=h[l],g[l]&&(u[l+"_d"]=g[l],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),i?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 Kf.default(this.options.srcName),this.decorators=new Kf.default(this.options.srcName)},createFunctionContext:function(e){var r=this,n="",i=this.stackVars.concat(this.registers.list);i.length>0&&(n+=", "+i.join(", "));var o=0;Object.keys(this.aliases).forEach(function(l){var c=r.aliases[l];c.children&&c.referenceCount>1&&(n+=", alias"+ ++o+"="+l,c.children[0]="alias"+o)}),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
15
  `,a,"}"])},mergeSource:function(e){var r=this.environment.isSimple,n=!this.forceBuffer,i=void 0,o=void 0,s=void 0,a=void 0;return this.source.each(function(l){l.appendToBuffer?(s?l.prepend(" + "):s=l,a=l):(s&&(o?s.prepend("buffer += "):i=!0,a.add(";"),s=a=void 0),o=!0,r||(n=!1))}),n?s?(s.prepend("return "),a.add(";")):o||this.source.push('return "";'):(e+=", buffer = "+(i?"":this.initializeBuffer()),s?(s.prepend("return buffer + "),a.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(i?"":`;
15
16
  `)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return`
16
17
  lookupProperty = container.lookupProperty || function(parent, propertyName) {
@@ -19,18 +20,18 @@ Expecting `+tt.join(", ")+", got '"+(this.terminals_[E]||E)+"'":br="Parse error
19
20
  }
20
21
  return undefined
21
22
  }
22
- `.trim()},blockValue:function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var i=this.popStack();n.splice(1,0,i),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,i){var o=0;!i&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[o++])):this.pushContext(),this.resolvePath("context",e,o,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,i,o){var s=this;if(this.options.strict||this.options.assumeObjects){this.push(iv(this.options.strict&&o,this,r,n,e));return}for(var a=r.length;n<a;n++)this.replaceStack(function(l){var c=s.nameLookup(l,r[n],e);return i?[" && ",c]:[" != null ? ",c," : ",l]})},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"),i=this.setupHelperArgs(r,e);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",i])," || fn;"])},invokeHelper:function(e,r,n){var i=this.popStack(),o=this.setupHelper(e,r),s=[];n&&s.push(o.name),s.push(i),this.options.strict||s.push(this.aliasable("container.hooks.helperMissing"));var a=["(",this.itemsSeparatedBy(s,"||"),")"],l=this.source.functionCall(a,"call",o.callParams);this.push(l)},itemsSeparatedBy:function(e,r){var n=[];n.push(e[0]);for(var i=1;i<e.length;i++)n.push(r,e[i]);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 i=this.setupHelper(0,e,r),o=this.lastHelper=this.nameLookup("helpers",e,"helper"),s=["(","(helper = ",o," || ",n,")"];this.options.strict||(s[0]="(helper = ",s.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",s,i.paramsInit?["),(",i.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",i.callParams)," : helper))"])},invokePartial:function(e,r,n){var i=[],o=this.setupParams(r,1,i);e&&(r=this.popStack(),delete o.name),n&&(o.indent=JSON.stringify(n)),o.helpers="helpers",o.partials="partials",o.decorators="container.decorators",e?i.unshift(r):i.unshift(this.nameLookup("partials",r,"partial")),this.options.compat&&(o.depths="depths"),o=this.objectLiteral(o),i.push(o),this.push(this.source.functionCall("container.invokePartial","",i))},assignToHash:function(e){var r=this.popStack(),n=void 0,i=void 0,o=void 0;this.trackIds&&(o=this.popStack()),this.stringParams&&(i=this.popStack(),n=this.popStack());var s=this.hash;n&&(s.contexts[e]=n),i&&(s.types[e]=i),o&&(s.ids[e]=o),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:mr,compileChildren:function(e,r){for(var n=e.children,i=void 0,o=void 0,s=0,a=n.length;s<a;s++){i=n[s],o=new this.compiler;var l=this.matchExistingProgram(i);if(l==null){this.context.programs.push("");var c=this.context.programs.length;i.index=c,i.name="program"+c,this.context.programs[c]=o.compile(i,r,this.context,!this.precompile),this.context.decorators[c]=o.decorators,this.context.environments[c]=i,this.useDepths=this.useDepths||o.useDepths,this.useBlockParams=this.useBlockParams||o.useBlockParams,i.useDepths=this.useDepths,i.useBlockParams=this.useBlockParams}else i.index=l.index,i.name="program"+l.index,this.useDepths=this.useDepths||l.useDepths,this.useBlockParams=this.useBlockParams||l.useBlockParams}},matchExistingProgram:function(e){for(var r=0,n=this.context.environments.length;r<n;r++){var i=this.context.environments[r];if(i&&i.equals(e))return i}},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 pr||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new pr(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,i=void 0,o=void 0;if(!this.isInline())throw new Vs.default("replaceStack on non-inline");var s=this.popStack(!0);if(s instanceof pr)n=[s.value],r=["(",n],o=!0;else{i=!0;var a=this.incrStack();r=["((",this.push(a)," = ",s,")"],n=this.topStack()}var l=e.call(this,n);o||this.popStack(),i&&this.stackSlot--,this.push(r.concat(l,")"))},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 i=e[r];if(i instanceof pr)this.compileStack.push(i);else{var o=this.incrStack();this.pushSource([o," = ",i,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var r=this.isInline(),n=(r?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof pr)return n.value;if(!r){if(!this.stackSlot)throw new Vs.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 pr?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 i=[],o=this.setupHelperArgs(r,e,i,n),s=this.nameLookup("helpers",r,"helper"),a=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:i,paramsInit:o,name:s,callParams:[a].concat(i)}},setupParams:function(e,r,n){var i={},o=[],s=[],a=[],l=!n,c=void 0;l&&(n=[]),i.name=this.quotedString(e),i.hash=this.popStack(),this.trackIds&&(i.hashIds=this.popStack()),this.stringParams&&(i.hashTypes=this.popStack(),i.hashContexts=this.popStack());var d=this.popStack(),u=this.popStack();(u||d)&&(i.fn=u||"container.noop",i.inverse=d||"container.noop");for(var h=r;h--;)c=this.popStack(),n[h]=c,this.trackIds&&(a[h]=this.popStack()),this.stringParams&&(s[h]=this.popStack(),o[h]=this.popStack());return l&&(i.args=this.source.generateArray(n)),this.trackIds&&(i.ids=this.source.generateArray(a)),this.stringParams&&(i.types=this.source.generateArray(s),i.contexts=this.source.generateArray(o)),this.options.data&&(i.data="data"),this.useBlockParams&&(i.blockParams="blockParams"),i},setupHelperArgs:function(e,r,n,i){var o=this.setupParams(e,r,n);return o.loc=JSON.stringify(this.source.currentLocation),o=this.objectLiteral(o),i?(this.useRegister("options"),n.push("options"),["options=",o]):n?(n.push(o),""):o}};(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=mr.RESERVED_WORDS={},r=0,n=t.length;r<n;r++)e[t[r]]=!0})();mr.isValidJavaScriptVariableName=function(t){return!mr.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)};function iv(t,e,r,n,i){var o=e.popStack(),s=r.length;for(t&&s--;n<s;n++)o=e.nameLookup(o,r[n],i);return t?[e.aliasable("container.strict"),"(",o,", ",e.quotedString(r[n]),", ",JSON.stringify(e.source.currentLocation)," )"]:o}wi.default=mr;Zf.exports=wi.default});var Kf=L((xi,Jf)=>{"use strict";xi.__esModule=!0;function tn(t){return t&&t.__esModule?t:{default:t}}var ov=Ku(),sv=tn(ov),av=bs(),lv=tn(av),js=ff(),Ws=mf(),cv=Gf(),uv=tn(cv),fv=di(),dv=tn(fv),hv=hs(),pv=tn(hv),mv=sv.default.create;function Yf(){var t=mv();return t.compile=function(e,r){return Ws.compile(e,r,t)},t.precompile=function(e,r){return Ws.precompile(e,r,t)},t.AST=lv.default,t.Compiler=Ws.Compiler,t.JavaScriptCompiler=uv.default,t.Parser=js.parser,t.parse=js.parse,t.parseWithoutProcessing=js.parseWithoutProcessing,t}var gr=Yf();gr.create=Yf;pv.default(gr);gr.Visitor=dv.default;gr.default=gr;xi.default=gr;Jf.exports=xi.default});var Xf=L(Si=>{"use strict";Si.__esModule=!0;Si.print=vv;Si.PrintVisitor=G;function gv(t){return t&&t.__esModule?t:{default:t}}var bv=di(),yv=gv(bv);function vv(t){return new G().accept(t)}function G(){this.padding=0}G.prototype=new yv.default;G.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r<n;r++)e+=" ";return e+=t+`
23
- `,e};G.prototype.Program=function(t){var e="",r=t.body,n=void 0,i=void 0;if(t.blockParams){var o="BLOCK PARAMS: [";for(n=0,i=t.blockParams.length;n<i;n++)o+=" "+t.blockParams[n];o+=" ]",e+=this.pad(o)}for(n=0,i=r.length;n<i;n++)e+=this.accept(r[n]);return this.padding--,e};G.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};G.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};G.prototype.BlockStatement=G.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};G.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+" }}")};G.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+" }}")};G.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};G.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};G.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,i=0,o=e.length;i<o;i++)r.push(this.accept(e[i]));return e="["+r.join(", ")+"]",n=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+n};G.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};G.prototype.StringLiteral=function(t){return'"'+t.value+'"'};G.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};G.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};G.prototype.UndefinedLiteral=function(){return"UNDEFINED"};G.prototype.NullLiteral=function(){return"NULL"};G.prototype.Hash=function(t){for(var e=t.pairs,r=[],n=0,i=e.length;n<i;n++)r.push(this.accept(e[n]));return"HASH{"+r.join(", ")+"}"};G.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var qs=L((Ew,td)=>{var $i=Kf().default,ed=Xf();$i.PrintVisitor=ed.PrintVisitor;$i.print=ed.print;td.exports=$i;function Qf(t,e){var r=It("fs"),n=r.readFileSync(e,"utf8");t.exports=$i.compile(n)}typeof It<"u"&&It.extensions&&(It.extensions[".handlebars"]=Qf,It.extensions[".hbs"]=Qf)});var yr=class extends Error{name="BaseThrowable";constructor(e,r=null){super(e),r&&(this.stack=r)}},se=class extends yr{name="BaseError"},pt=class extends yr{name="BaseWarning"},Rt=class extends yr{name="PotentialLoopError"};var Ge=class extends Error{},Fi=class extends Ge{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},Vi=class extends Ge{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},ji=class extends Ge{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},ot=class extends Ge{},pn=class extends Ge{constructor(e){super(`Invalid unit ${e}`)}},te=class extends Ge{},Ve=class extends Ge{constructor(){super("Zone is an abstract class")}},y="numeric",Pe="short",pe="long",mn={year:y,month:y,day:y},Aa={year:y,month:Pe,day:y},Cd={year:y,month:Pe,day:y,weekday:Pe},Da={year:y,month:pe,day:y},Ia={year:y,month:pe,day:y,weekday:pe},Ra={hour:y,minute:y},za={hour:y,minute:y,second:y},Fa={hour:y,minute:y,second:y,timeZoneName:Pe},Va={hour:y,minute:y,second:y,timeZoneName:pe},ja={hour:y,minute:y,hourCycle:"h23"},Wa={hour:y,minute:y,second:y,hourCycle:"h23"},qa={hour:y,minute:y,second:y,hourCycle:"h23",timeZoneName:Pe},Ba={hour:y,minute:y,second:y,hourCycle:"h23",timeZoneName:pe},Ua={year:y,month:y,day:y,hour:y,minute:y},Ha={year:y,month:y,day:y,hour:y,minute:y,second:y},Za={year:y,month:Pe,day:y,hour:y,minute:y},Ga={year:y,month:Pe,day:y,hour:y,minute:y,second:y},Ed={year:y,month:Pe,day:y,weekday:Pe,hour:y,minute:y},Ya={year:y,month:pe,day:y,hour:y,minute:y,timeZoneName:Pe},Ja={year:y,month:pe,day:y,hour:y,minute:y,second:y,timeZoneName:Pe},Ka={year:y,month:pe,day:y,weekday:pe,hour:y,minute:y,timeZoneName:pe},Xa={year:y,month:pe,day:y,weekday:pe,hour:y,minute:y,second:y,timeZoneName:pe},yt=class{get type(){throw new Ve}get name(){throw new Ve}get ianaName(){return this.name}get isUniversal(){throw new Ve}offsetName(e,r){throw new Ve}formatOffset(e,r){throw new Ve}offset(e){throw new Ve}equals(e){throw new Ve}get isValid(){throw new Ve}},Ti=null,gn=class t extends yt{static get instance(){return Ti===null&&(Ti=new t),Ti}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return cl(e,r,n)}formatOffset(e,r){return Sr(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}},Wi=new Map;function Od(t){let e=Wi.get(t);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Wi.set(t,e)),e}var Md={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Td(t,e){let r=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,i,o,s,a,l,c,d]=n;return[s,i,o,a,l,c,d]}function Ld(t,e){let r=t.formatToParts(e),n=[];for(let i=0;i<r.length;i++){let{type:o,value:s}=r[i],a=Md[o];o==="era"?n[a]=s:O(a)||(n[a]=parseInt(s,10))}return n}var Li=new Map,at=class t extends yt{static create(e){let r=Li.get(e);return r===void 0&&Li.set(e,r=new t(e)),r}static resetCache(){Li.clear(),Wi.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=t.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return cl(e,r,n,this.name)}formatOffset(e,r){return Sr(this.offset(e),r)}offset(e){if(!this.valid)return NaN;let r=new Date(e);if(isNaN(r))return NaN;let n=Od(this.name),[i,o,s,a,l,c,d]=n.formatToParts?Ld(n,r):Td(n,r);a==="BC"&&(i=-Math.abs(i)+1);let h=xn({year:i,month:o,day:s,hour:l===24?0:l,minute:c,second:d,millisecond:0}),m=+r,g=m%1e3;return m-=g>=0?g:1e3+g,(h-m)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}},ia={};function Nd(t,e={}){let r=JSON.stringify([t,e]),n=ia[r];return n||(n=new Intl.ListFormat(t,e),ia[r]=n),n}var qi=new Map;function Bi(t,e={}){let r=JSON.stringify([t,e]),n=qi.get(r);return n===void 0&&(n=new Intl.DateTimeFormat(t,e),qi.set(r,n)),n}var Ui=new Map;function Pd(t,e={}){let r=JSON.stringify([t,e]),n=Ui.get(r);return n===void 0&&(n=new Intl.NumberFormat(t,e),Ui.set(r,n)),n}var Hi=new Map;function Ad(t,e={}){let{base:r,...n}=e,i=JSON.stringify([t,n]),o=Hi.get(i);return o===void 0&&(o=new Intl.RelativeTimeFormat(t,e),Hi.set(i,o)),o}var kr=null;function Dd(){return kr||(kr=new Intl.DateTimeFormat().resolvedOptions().locale,kr)}var Zi=new Map;function Qa(t){let e=Zi.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}var Gi=new Map;function Id(t){let e=Gi.get(t);if(!e){let r=new Intl.Locale(t);e="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in e||(e={...el,...e}),Gi.set(t,e)}return e}function Rd(t){let e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));let r=t.indexOf("-u-");if(r===-1)return[t];{let n,i;try{n=Bi(t).resolvedOptions(),i=t}catch{let l=t.substring(0,r);n=Bi(l).resolvedOptions(),i=l}let{numberingSystem:o,calendar:s}=n;return[i,o,s]}}function zd(t,e,r){return(r||e)&&(t.includes("-u-")||(t+="-u"),r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function Fd(t){let e=[];for(let r=1;r<=12;r++){let n=z.utc(2009,r,1);e.push(t(n))}return e}function Vd(t){let e=[];for(let r=1;r<=7;r++){let n=z.utc(2016,11,13+r);e.push(t(n))}return e}function an(t,e,r,n){let i=t.listingMode();return i==="error"?null:i==="en"?r(e):n(e)}function jd(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||Qa(t.locale).numberingSystem==="latn"}var Yi=class{constructor(e,r,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;let{padTo:i,floor:o,...s}=n;if(!r||Object.keys(s).length>0){let a={useGrouping:!1,...n};n.padTo>0&&(a.minimumIntegerDigits=n.padTo),this.inf=Pd(e,a)}}format(e){if(this.inf){let r=this.floor?Math.floor(e):e;return this.inf.format(r)}else{let r=this.floor?Math.floor(e):ao(e,3);return K(r,this.padTo)}}},Ji=class{constructor(e,r,n){this.opts=n,this.originalZone=void 0;let i;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){let s=-1*(e.offset/60),a=s>=0?`Etc/GMT+${s}`:`Etc/GMT${s}`;e.offset!==0&&at.create(a).valid?(i=a,this.dt=e):(i="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,i=e.zone.name):(i="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let o={...this.opts};o.timeZone=o.timeZone||i,this.dtf=Bi(r,o)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(r=>{if(r.type==="timeZoneName"){let n=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:n}}else return r}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},Ki=class{constructor(e,r,n){this.opts={style:"long",...n},!r&&al()&&(this.rtf=Ad(e,n))}format(e,r){return this.rtf?this.rtf.format(e,r):lh(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}},el={firstDay:1,minimalDays:4,weekend:[6,7]},V=class t{static fromOpts(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,r,n,i,o=!1){let s=e||q.defaultLocale,a=s||(o?"en-US":Dd()),l=r||q.defaultNumberingSystem,c=n||q.defaultOutputCalendar,d=eo(i)||q.defaultWeekSettings;return new t(a,l,c,d,s)}static resetCache(){kr=null,qi.clear(),Ui.clear(),Hi.clear(),Zi.clear(),Gi.clear()}static fromObject({locale:e,numberingSystem:r,outputCalendar:n,weekSettings:i}={}){return t.create(e,r,n,i)}constructor(e,r,n,i,o){let[s,a,l]=Rd(e);this.locale=s,this.numberingSystem=r||a||null,this.outputCalendar=n||l||null,this.weekSettings=i,this.intl=zd(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=jd(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,eo(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return an(this,e,dl,()=>{let n=this.intl==="ja"||this.intl.startsWith("ja-");r&=!n;let i=r?{month:e,day:"numeric"}:{month:e},o=r?"format":"standalone";if(!this.monthsCache[o][e]){let s=n?a=>this.dtFormatter(a,i).format():a=>this.extract(a,i,"month");this.monthsCache[o][e]=Fd(s)}return this.monthsCache[o][e]})}weekdays(e,r=!1){return an(this,e,ml,()=>{let n=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=r?"format":"standalone";return this.weekdaysCache[i][e]||(this.weekdaysCache[i][e]=Vd(o=>this.extract(o,n,"weekday"))),this.weekdaysCache[i][e]})}meridiems(){return an(this,void 0,()=>gl,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[z.utc(2016,11,13,9),z.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(e){return an(this,e,bl,()=>{let r={era:e};return this.eraCache[e]||(this.eraCache[e]=[z.utc(-40,1,1),z.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[e]})}extract(e,r,n){let i=this.dtFormatter(e,r),o=i.formatToParts(),s=o.find(a=>a.type.toLowerCase()===n);return s?s.value:null}numberFormatter(e={}){return new Yi(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new Ji(e,this.intl,r)}relFormatter(e={}){return new Ki(this.intl,this.isEnglish(),e)}listFormatter(e={}){return Nd(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||Qa(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:ll()?Id(this.locale):el}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}},Ni=null,Se=class t extends yt{static get utcInstance(){return Ni===null&&(Ni=new t(0)),Ni}static instance(e){return e===0?t.utcInstance:new t(e)}static parseSpecifier(e){if(e){let r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new t(Sn(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Sr(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Sr(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return Sr(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}},Xi=class extends yt{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function it(t,e){if(O(t)||t===null)return e;if(t instanceof yt)return t;if(Zd(t)){let r=t.toLowerCase();return r==="default"?e:r==="local"||r==="system"?gn.instance:r==="utc"||r==="gmt"?Se.utcInstance:Se.parseSpecifier(r)||at.create(t)}else return st(t)?Se.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new Xi(t)}var no={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},oa={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Wd=no.hanidec.replace(/[\[|\]]/g,"").split("");function qd(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(t[r].search(no.hanidec)!==-1)e+=Wd.indexOf(t[r]);else for(let i in oa){let[o,s]=oa[i];n>=o&&n<=s&&(e+=n-o)}}return parseInt(e,10)}else return e}var Qi=new Map;function Bd(){Qi.clear()}function Le({numberingSystem:t},e=""){let r=t||"latn",n=Qi.get(r);n===void 0&&(n=new Map,Qi.set(r,n));let i=n.get(e);return i===void 0&&(i=new RegExp(`${no[r]}${e}`),n.set(e,i)),i}var sa=()=>Date.now(),aa="system",la=null,ca=null,ua=null,fa=60,da,ha=null,q=class{static get now(){return sa}static set now(e){sa=e}static set defaultZone(e){aa=e}static get defaultZone(){return it(aa,gn.instance)}static get defaultLocale(){return la}static set defaultLocale(e){la=e}static get defaultNumberingSystem(){return ca}static set defaultNumberingSystem(e){ca=e}static get defaultOutputCalendar(){return ua}static set defaultOutputCalendar(e){ua=e}static get defaultWeekSettings(){return ha}static set defaultWeekSettings(e){ha=eo(e)}static get twoDigitCutoffYear(){return fa}static set twoDigitCutoffYear(e){fa=e%100}static get throwOnInvalid(){return da}static set throwOnInvalid(e){da=e}static resetCaches(){V.resetCache(),at.resetCache(),z.resetCache(),Bd()}},he=class{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}},tl=[0,31,59,90,120,151,181,212,243,273,304,334],rl=[0,31,60,91,121,152,182,213,244,274,305,335];function we(t,e){return new he("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function io(t,e,r){let n=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let i=n.getUTCDay();return i===0?7:i}function nl(t,e,r){return r+(_r(t)?rl:tl)[e-1]}function il(t,e){let r=_r(t)?rl:tl,n=r.findIndex(o=>o<e),i=e-r[n];return{month:n+1,day:i}}function oo(t,e){return(t-e+7)%7+1}function bn(t,e=4,r=1){let{year:n,month:i,day:o}=t,s=nl(n,i,o),a=oo(io(n,i,o),r),l=Math.floor((s-a+14-e)/7),c;return l<1?(c=n-1,l=$r(c,e,r)):l>$r(n,e,r)?(c=n+1,l=1):c=n,{weekYear:c,weekNumber:l,weekday:a,...$n(t)}}function pa(t,e=4,r=1){let{weekYear:n,weekNumber:i,weekday:o}=t,s=oo(io(n,1,e),r),a=Wt(n),l=i*7+o-s-7+e,c;l<1?(c=n-1,l+=Wt(c)):l>a?(c=n+1,l-=Wt(n)):c=n;let{month:d,day:u}=il(c,l);return{year:c,month:d,day:u,...$n(t)}}function Pi(t){let{year:e,month:r,day:n}=t,i=nl(e,r,n);return{year:e,ordinal:i,...$n(t)}}function ma(t){let{year:e,ordinal:r}=t,{month:n,day:i}=il(e,r);return{year:e,month:n,day:i,...$n(t)}}function ga(t,e){if(!O(t.localWeekday)||!O(t.localWeekNumber)||!O(t.localWeekYear)){if(!O(t.weekday)||!O(t.weekNumber)||!O(t.weekYear))throw new ot("Cannot mix locale-based week fields with ISO-based week fields");return O(t.localWeekday)||(t.weekday=t.localWeekday),O(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),O(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function Ud(t,e=4,r=1){let n=wn(t.weekYear),i=xe(t.weekNumber,1,$r(t.weekYear,e,r)),o=xe(t.weekday,1,7);return n?i?o?!1:we("weekday",t.weekday):we("week",t.weekNumber):we("weekYear",t.weekYear)}function Hd(t){let e=wn(t.year),r=xe(t.ordinal,1,Wt(t.year));return e?r?!1:we("ordinal",t.ordinal):we("year",t.year)}function ol(t){let e=wn(t.year),r=xe(t.month,1,12),n=xe(t.day,1,yn(t.year,t.month));return e?r?n?!1:we("day",t.day):we("month",t.month):we("year",t.year)}function sl(t){let{hour:e,minute:r,second:n,millisecond:i}=t,o=xe(e,0,23)||e===24&&r===0&&n===0&&i===0,s=xe(r,0,59),a=xe(n,0,59),l=xe(i,0,999);return o?s?a?l?!1:we("millisecond",i):we("second",n):we("minute",r):we("hour",e)}function O(t){return typeof t>"u"}function st(t){return typeof t=="number"}function wn(t){return typeof t=="number"&&t%1===0}function Zd(t){return typeof t=="string"}function Gd(t){return Object.prototype.toString.call(t)==="[object Date]"}function al(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function ll(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function Yd(t){return Array.isArray(t)?t:[t]}function ba(t,e,r){if(t.length!==0)return t.reduce((n,i)=>{let o=[e(i),i];return n&&r(n[0],o[0])===n[0]?n:o},null)[1]}function Jd(t,e){return e.reduce((r,n)=>(r[n]=t[n],r),{})}function Ut(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function eo(t){if(t==null)return null;if(typeof t!="object")throw new te("Week settings must be an object");if(!xe(t.firstDay,1,7)||!xe(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!xe(e,1,7)))throw new te("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function xe(t,e,r){return wn(t)&&t>=e&&t<=r}function Kd(t,e){return t-e*Math.floor(t/e)}function K(t,e=2){let r=t<0,n;return r?n="-"+(""+-t).padStart(e,"0"):n=(""+t).padStart(e,"0"),n}function nt(t){if(!(O(t)||t===null||t===""))return parseInt(t,10)}function mt(t){if(!(O(t)||t===null||t===""))return parseFloat(t)}function so(t){if(!(O(t)||t===null||t==="")){let e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function ao(t,e,r="round"){let n=10**e;switch(r){case"expand":return t>0?Math.ceil(t*n)/n:Math.floor(t*n)/n;case"trunc":return Math.trunc(t*n)/n;case"round":return Math.round(t*n)/n;case"floor":return Math.floor(t*n)/n;case"ceil":return Math.ceil(t*n)/n;default:throw new RangeError(`Value rounding ${r} is out of range`)}}function _r(t){return t%4===0&&(t%100!==0||t%400===0)}function Wt(t){return _r(t)?366:365}function yn(t,e){let r=Kd(e-1,12)+1,n=t+(e-r)/12;return r===2?_r(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function xn(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function ya(t,e,r){return-oo(io(t,1,e),r)+e-1}function $r(t,e=4,r=1){let n=ya(t,e,r),i=ya(t+1,e,r);return(Wt(t)-n+i)/7}function to(t){return t>99?t:t>q.twoDigitCutoffYear?1900+t:2e3+t}function cl(t,e,r,n=null){let i=new Date(t),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(o.timeZone=n);let s={timeZoneName:e,...o},a=new Intl.DateTimeFormat(r,s).formatToParts(i).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function Sn(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);let n=parseInt(e,10)||0,i=r<0||Object.is(r,-0)?-n:n;return r*60+i}function ul(t){let e=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(e))throw new te(`Invalid unit value ${t}`);return e}function vn(t,e){let r={};for(let n in t)if(Ut(t,n)){let i=t[n];if(i==null)continue;r[e(n)]=ul(i)}return r}function Sr(t,e){let r=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return`${i}${K(r,2)}:${K(n,2)}`;case"narrow":return`${i}${r}${n>0?`:${n}`:""}`;case"techie":return`${i}${K(r,2)}${K(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function $n(t){return Jd(t,["hour","minute","second","millisecond"])}var Xd=["January","February","March","April","May","June","July","August","September","October","November","December"],fl=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Qd=["J","F","M","A","M","J","J","A","S","O","N","D"];function dl(t){switch(t){case"narrow":return[...Qd];case"short":return[...fl];case"long":return[...Xd];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var hl=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],pl=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],eh=["M","T","W","T","F","S","S"];function ml(t){switch(t){case"narrow":return[...eh];case"short":return[...pl];case"long":return[...hl];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var gl=["AM","PM"],th=["Before Christ","Anno Domini"],rh=["BC","AD"],nh=["B","A"];function bl(t){switch(t){case"narrow":return[...nh];case"short":return[...rh];case"long":return[...th];default:return null}}function ih(t){return gl[t.hour<12?0:1]}function oh(t,e){return ml(e)[t.weekday-1]}function sh(t,e){return dl(e)[t.month-1]}function ah(t,e){return bl(e)[t.year<0?0:1]}function lh(t,e,r="always",n=!1){let i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&o){let u=t==="days";switch(e){case 1:return u?"tomorrow":`next ${i[t][0]}`;case-1:return u?"yesterday":`last ${i[t][0]}`;case 0:return u?"today":`this ${i[t][0]}`}}let s=Object.is(e,-0)||e<0,a=Math.abs(e),l=a===1,c=i[t],d=n?l?c[1]:c[2]||c[1]:l?i[t][0]:t;return s?`${a} ${d} ago`:`in ${a} ${d}`}function va(t,e){let r="";for(let n of t)n.literal?r+=n.val:r+=e(n.val);return r}var ch={D:mn,DD:Aa,DDD:Da,DDDD:Ia,t:Ra,tt:za,ttt:Fa,tttt:Va,T:ja,TT:Wa,TTT:qa,TTTT:Ba,f:Ua,ff:Za,fff:Ya,ffff:Ka,F:Ha,FF:Ga,FFF:Ja,FFFF:Xa},de=class t{static create(e,r={}){return new t(e,r)}static parseFormat(e){let r=null,n="",i=!1,o=[];for(let s=0;s<e.length;s++){let a=e.charAt(s);a==="'"?((n.length>0||i)&&o.push({literal:i||/^\s+$/.test(n),val:n===""?"'":n}),r=null,n="",i=!i):i||a===r?n+=a:(n.length>0&&o.push({literal:/^\s+$/.test(n),val:n}),n=a,r=a)}return n.length>0&&o.push({literal:i||/^\s+$/.test(n),val:n}),o}static macroTokenToFormatOpts(e){return ch[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}dtFormatter(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r})}formatDateTime(e,r){return this.dtFormatter(e,r).format()}formatDateTimeParts(e,r){return this.dtFormatter(e,r).formatToParts()}formatInterval(e,r){return this.dtFormatter(e.start,r).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,r){return this.dtFormatter(e,r).resolvedOptions()}num(e,r=0,n=void 0){if(this.opts.forceSimple)return K(e,r);let i={...this.opts};return r>0&&(i.padTo=r),n&&(i.signDisplay=n),this.loc.numberFormatter(i).format(e)}formatDateTimeFromString(e,r){let n=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(m,g)=>this.loc.extract(e,m,g),s=m=>e.isOffsetFixed&&e.offset===0&&m.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,m.format):"",a=()=>n?ih(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(m,g)=>n?sh(e,m):o(g?{month:m}:{month:m,day:"numeric"},"month"),c=(m,g)=>n?oh(e,m):o(g?{weekday:m}:{weekday:m,month:"long",day:"numeric"},"weekday"),d=m=>{let g=t.macroTokenToFormatOpts(m);return g?this.formatWithSystemDefault(e,g):m},u=m=>n?ah(e,m):o({era:m},"era"),h=m=>{switch(m){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return a();case"d":return i?o({day:"numeric"},"day"):this.num(e.day);case"dd":return i?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return i?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return i?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return i?o({month:"numeric"},"month"):this.num(e.month);case"MM":return i?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return i?o({year:"numeric"},"year"):this.num(e.year);case"yy":return i?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return i?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return i?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return u("short");case"GG":return u("long");case"GGGGG":return u("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return d(m)}};return va(t.parseFormat(r),h)}formatDurationFromString(e,r){let n=this.opts.signMode==="negativeLargestOnly"?-1:1,i=d=>{switch(d[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},o=(d,u)=>h=>{let m=i(h);if(m){let g=u.isNegativeDuration&&m!==u.largestUnit?n:1,b;return this.opts.signMode==="negativeLargestOnly"&&m!==u.largestUnit?b="never":this.opts.signMode==="all"?b="always":b="auto",this.num(d.get(m)*g,h.length,b)}else return h},s=t.parseFormat(r),a=s.reduce((d,{literal:u,val:h})=>u?d:d.concat(h),[]),l=e.shiftTo(...a.map(i).filter(d=>d)),c={isNegativeDuration:l<0,largestUnit:Object.keys(l.values)[0]};return va(s,o(l,c))}},yl=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ht(...t){let e=t.reduce((r,n)=>r+n.source,"");return RegExp(`^${e}$`)}function Zt(...t){return e=>t.reduce(([r,n,i],o)=>{let[s,a,l]=o(e,i);return[{...r,...s},a||n,l]},[{},null,1]).slice(0,2)}function Gt(t,...e){if(t==null)return[null,null];for(let[r,n]of e){let i=r.exec(t);if(i)return n(i)}return[null,null]}function vl(...t){return(e,r)=>{let n={},i;for(i=0;i<t.length;i++)n[t[i]]=nt(e[r+i]);return[n,null,r+i]}}var kl=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,uh=`(?:${kl.source}?(?:\\[(${yl.source})\\])?)?`,lo=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,wl=RegExp(`${lo.source}${uh}`),co=RegExp(`(?:[Tt]${wl.source})?`),fh=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,dh=/(\d{4})-?W(\d\d)(?:-?(\d))?/,hh=/(\d{4})-?(\d{3})/,ph=vl("weekYear","weekNumber","weekDay"),mh=vl("year","ordinal"),gh=/(\d{4})-(\d\d)-(\d\d)/,xl=RegExp(`${lo.source} ?(?:${kl.source}|(${yl.source}))?`),bh=RegExp(`(?: ${xl.source})?`);function qt(t,e,r){let n=t[e];return O(n)?r:nt(n)}function yh(t,e){return[{year:qt(t,e),month:qt(t,e+1,1),day:qt(t,e+2,1)},null,e+3]}function Yt(t,e){return[{hours:qt(t,e,0),minutes:qt(t,e+1,0),seconds:qt(t,e+2,0),milliseconds:so(t[e+3])},null,e+4]}function Cr(t,e){let r=!t[e]&&!t[e+1],n=Sn(t[e+1],t[e+2]),i=r?null:Se.instance(n);return[{},i,e+3]}function Er(t,e){let r=t[e]?at.create(t[e]):null;return[{},r,e+1]}var vh=RegExp(`^T?${lo.source}$`),kh=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function wh(t){let[e,r,n,i,o,s,a,l,c]=t,d=e[0]==="-",u=l&&l[0]==="-",h=(m,g=!1)=>m!==void 0&&(g||m&&d)?-m:m;return[{years:h(mt(r)),months:h(mt(n)),weeks:h(mt(i)),days:h(mt(o)),hours:h(mt(s)),minutes:h(mt(a)),seconds:h(mt(l),l==="-0"),milliseconds:h(so(c),u)}]}var xh={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function uo(t,e,r,n,i,o,s){let a={year:e.length===2?to(nt(e)):nt(e),month:fl.indexOf(r)+1,day:nt(n),hour:nt(i),minute:nt(o)};return s&&(a.second=nt(s)),t&&(a.weekday=t.length>3?hl.indexOf(t)+1:pl.indexOf(t)+1),a}var Sh=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function $h(t){let[,e,r,n,i,o,s,a,l,c,d,u]=t,h=uo(e,i,n,r,o,s,a),m;return l?m=xh[l]:c?m=0:m=Sn(d,u),[h,new Se(m)]}function _h(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var Ch=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Eh=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Oh=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function ka(t){let[,e,r,n,i,o,s,a]=t;return[uo(e,i,n,r,o,s,a),Se.utcInstance]}function Mh(t){let[,e,r,n,i,o,s,a]=t;return[uo(e,a,r,n,i,o,s),Se.utcInstance]}var Th=Ht(fh,co),Lh=Ht(dh,co),Nh=Ht(hh,co),Ph=Ht(wl),Sl=Zt(yh,Yt,Cr,Er),Ah=Zt(ph,Yt,Cr,Er),Dh=Zt(mh,Yt,Cr,Er),Ih=Zt(Yt,Cr,Er);function Rh(t){return Gt(t,[Th,Sl],[Lh,Ah],[Nh,Dh],[Ph,Ih])}function zh(t){return Gt(_h(t),[Sh,$h])}function Fh(t){return Gt(t,[Ch,ka],[Eh,ka],[Oh,Mh])}function Vh(t){return Gt(t,[kh,wh])}var jh=Zt(Yt);function Wh(t){return Gt(t,[vh,jh])}var qh=Ht(gh,bh),Bh=Ht(xl),Uh=Zt(Yt,Cr,Er);function Hh(t){return Gt(t,[qh,Sl],[Bh,Uh])}var wa="Invalid Duration",$l={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},Zh={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...$l},ke=146097/400,zt=146097/4800,Gh={years:{quarters:4,months:12,weeks:ke/7,days:ke,hours:ke*24,minutes:ke*24*60,seconds:ke*24*60*60,milliseconds:ke*24*60*60*1e3},quarters:{months:3,weeks:ke/28,days:ke/4,hours:ke*24/4,minutes:ke*24*60/4,seconds:ke*24*60*60/4,milliseconds:ke*24*60*60*1e3/4},months:{weeks:zt/7,days:zt,hours:zt*24,minutes:zt*24*60,seconds:zt*24*60*60,milliseconds:zt*24*60*60*1e3},...$l},bt=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Yh=bt.slice(0).reverse();function Ze(t,e,r=!1){let n={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new re(n)}function _l(t,e){let r=e.milliseconds??0;for(let n of Yh.slice(1))e[n]&&(r+=e[n]*t[n].milliseconds);return r}function xa(t,e){let r=_l(t,e)<0?-1:1;bt.reduceRight((n,i)=>{if(O(e[i]))return n;if(n){let o=e[n]*r,s=t[i][n],a=Math.floor(o/s);e[i]+=a*r,e[n]-=a*s*r}return i},null),bt.reduce((n,i)=>{if(O(e[i]))return n;if(n){let o=e[n]%1;e[n]-=o,e[i]+=o*t[n][i]}return i},null)}function Sa(t){let e={};for(let[r,n]of Object.entries(t))n!==0&&(e[r]=n);return e}var re=class t{constructor(e){let r=e.conversionAccuracy==="longterm"||!1,n=r?Gh:Zh;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||V.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,r){return t.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new te(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new t({values:vn(e,t.normalizeUnit),loc:V.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(e){if(st(e))return t.fromMillis(e);if(t.isDuration(e))return e;if(typeof e=="object")return t.fromObject(e);throw new te(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){let[n]=Vh(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){let[n]=Wh(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new te("need to specify a reason the Duration is invalid");let n=e instanceof he?e:new he(e,r);if(q.throwOnInvalid)throw new ji(n);return new t({invalid:n})}static normalizeUnit(e){let r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!r)throw new pn(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){let n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?de.create(this.loc,n).formatDurationFromString(this,e):wa}toHuman(e={}){if(!this.isValid)return wa;let r=e.showZeros!==!1,n=bt.map(i=>{let o=this.values[i];return O(o)||o===0&&!r?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:i.slice(0,-1)}).format(o)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=ao(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let r=this.toMillis();return r<0||r>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},z.fromMillis(r,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?_l(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e),n={};for(let i of bt)(Ut(r.values,i)||Ut(this.values,i))&&(n[i]=r.get(i)+this.get(i));return Ze(this,{values:n},!0)}minus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;let r={};for(let n of Object.keys(this.values))r[n]=ul(e(this.values[n],n));return Ze(this,{values:r},!0)}get(e){return this[t.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let r={...this.values,...vn(e,t.normalizeUnit)};return Ze(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:n,matrix:i}={}){let s={loc:this.loc.clone({locale:e,numberingSystem:r}),matrix:i,conversionAccuracy:n};return Ze(this,s)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return xa(this.matrix,e),Ze(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=Sa(this.normalize().shiftToAll().toObject());return Ze(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(s=>t.normalizeUnit(s));let r={},n={},i=this.toObject(),o;for(let s of bt)if(e.indexOf(s)>=0){o=s;let a=0;for(let c in n)a+=this.matrix[c][s]*n[c],n[c]=0;st(i[s])&&(a+=i[s]);let l=Math.trunc(a);r[s]=l,n[s]=(a*1e3-l*1e3)/1e3}else st(i[s])&&(n[s]=i[s]);for(let s in n)n[s]!==0&&(r[o]+=s===o?n[s]:n[s]/this.matrix[o][s]);return xa(this.matrix,r),Ze(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return Ze(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;let e=Sa(this.values);return Ze(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(n,i){return n===void 0||n===0?i===void 0||i===0:n===i}for(let n of bt)if(!r(this.values[n],e.values[n]))return!1;return!0}},Ft="Invalid Interval";function Jh(t,e){return!t||!t.isValid?Bt.invalid("missing or invalid start"):!e||!e.isValid?Bt.invalid("missing or invalid end"):e<t?Bt.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}var Bt=class t{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,r=null){if(!e)throw new te("need to specify a reason the Interval is invalid");let n=e instanceof he?e:new he(e,r);if(q.throwOnInvalid)throw new Vi(n);return new t({invalid:n})}static fromDateTimes(e,r){let n=vr(e),i=vr(r),o=Jh(n,i);return o??new t({start:n,end:i})}static after(e,r){let n=re.fromDurationLike(r),i=vr(e);return t.fromDateTimes(i,i.plus(n))}static before(e,r){let n=re.fromDurationLike(r),i=vr(e);return t.fromDateTimes(i.minus(n),i)}static fromISO(e,r){let[n,i]=(e||"").split("/",2);if(n&&i){let o,s;try{o=z.fromISO(n,r),s=o.isValid}catch{s=!1}let a,l;try{a=z.fromISO(i,r),l=a.isValid}catch{l=!1}if(s&&l)return t.fromDateTimes(o,a);if(s){let c=re.fromISO(i,r);if(c.isValid)return t.after(o,c)}else if(l){let c=re.fromISO(n,r);if(c.isValid)return t.before(a,c)}}return t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",r){if(!this.isValid)return NaN;let n=this.start.startOf(e,r),i;return r?.useLocaleWeeks?i=this.end.reconfigure({locale:n.locale}):i=this.end,i=i.startOf(e,r),Math.floor(i.diff(n,e).get(e))+(i.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?t.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];let r=e.map(vr).filter(s=>this.contains(s)).sort((s,a)=>s.toMillis()-a.toMillis()),n=[],{s:i}=this,o=0;for(;i<this.e;){let s=r[o]||this.e,a=+s>+this.e?this.e:s;n.push(t.fromDateTimes(i,a)),i=a,o+=1}return n}splitBy(e){let r=re.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,i=1,o,s=[];for(;n<this.e;){let a=this.start.plus(r.mapUnits(l=>l*i));o=+a>+this.e?this.e:a,s.push(t.fromDateTimes(n,o)),n=o,i+=1}return s}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let r=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return r>=n?null:t.fromDateTimes(r,n)}union(e){if(!this.isValid)return this;let r=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return t.fromDateTimes(r,n)}static merge(e){let[r,n]=e.sort((i,o)=>i.s-o.s).reduce(([i,o],s)=>o?o.overlaps(s)||o.abutsStart(s)?[i,o.union(s)]:[i.concat([o]),s]:[i,s],[[],null]);return n&&r.push(n),r}static xor(e){let r=null,n=0,i=[],o=e.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),s=Array.prototype.concat(...o),a=s.sort((l,c)=>l.time-c.time);for(let l of a)n+=l.type==="s"?1:-1,n===1?r=l.time:(r&&+r!=+l.time&&i.push(t.fromDateTimes(r,l.time)),r=null);return t.merge(i)}difference(...e){return t.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Ft}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=mn,r={}){return this.isValid?de.create(this.s.loc.clone(r),e).formatInterval(this):Ft}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Ft}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Ft}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Ft}toFormat(e,{separator:r=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:Ft}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):re.invalid(this.invalidReason)}mapEndpoints(e){return t.fromDateTimes(e(this.s),e(this.e))}},jt=class{static hasDST(e=q.defaultZone){let r=z.now().setZone(e).set({month:12});return!e.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(e){return at.isValidZone(e)}static normalizeZone(e){return it(e,q.defaultZone)}static getStartOfWeek({locale:e=null,locObj:r=null}={}){return(r||V.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:r=null}={}){return(r||V.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:r=null}={}){return(r||V.create(e)).getWeekendDays().slice()}static months(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:o="gregory"}={}){return(i||V.create(r,n,o)).months(e)}static monthsFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:o="gregory"}={}){return(i||V.create(r,n,o)).months(e,!0)}static weekdays(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||V.create(r,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||V.create(r,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return V.create(e).meridiems()}static eras(e="short",{locale:r=null}={}){return V.create(r,null,"gregory").eras(e)}static features(){return{relative:al(),localeWeek:ll()}}};function $a(t,e){let r=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(e)-r(t);return Math.floor(re.fromMillis(n).as("days"))}function Kh(t,e,r){let n=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{let d=$a(l,c);return(d-d%7)/7}],["days",$a]],i={},o=t,s,a;for(let[l,c]of n)r.indexOf(l)>=0&&(s=l,i[l]=c(t,e),a=o.plus(i),a>e?(i[l]--,t=o.plus(i),t>e&&(a=t,i[l]--,t=o.plus(i))):t=a);return[t,i,a,s]}function Xh(t,e,r,n){let[i,o,s,a]=Kh(t,e,r),l=e-i,c=r.filter(u=>["hours","minutes","seconds","milliseconds"].indexOf(u)>=0);c.length===0&&(s<e&&(s=i.plus({[a]:1})),s!==i&&(o[a]=(o[a]||0)+l/(s-i)));let d=re.fromObject(o,n);return c.length>0?re.fromMillis(l,n).shiftTo(...c).plus(d):d}var Qh="missing Intl.DateTimeFormat.formatToParts support";function I(t,e=r=>r){return{regex:t,deser:([r])=>e(qd(r))}}var ep="\xA0",Cl=`[ ${ep}]`,El=new RegExp(Cl,"g");function tp(t){return t.replace(/\./g,"\\.?").replace(El,Cl)}function _a(t){return t.replace(/\./g,"").replace(El," ").toLowerCase()}function Ne(t,e){return t===null?null:{regex:RegExp(t.map(tp).join("|")),deser:([r])=>t.findIndex(n=>_a(r)===_a(n))+e}}function Ca(t,e){return{regex:t,deser:([,r,n])=>Sn(r,n),groups:e}}function ln(t){return{regex:t,deser:([e])=>e}}function rp(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function np(t,e){let r=Le(e),n=Le(e,"{2}"),i=Le(e,"{3}"),o=Le(e,"{4}"),s=Le(e,"{6}"),a=Le(e,"{1,2}"),l=Le(e,"{1,3}"),c=Le(e,"{1,6}"),d=Le(e,"{1,9}"),u=Le(e,"{2,4}"),h=Le(e,"{4,6}"),m=v=>({regex:RegExp(rp(v.val)),deser:([S])=>S,literal:!0}),b=(v=>{if(t.literal)return m(v);switch(v.val){case"G":return Ne(e.eras("short"),0);case"GG":return Ne(e.eras("long"),0);case"y":return I(c);case"yy":return I(u,to);case"yyyy":return I(o);case"yyyyy":return I(h);case"yyyyyy":return I(s);case"M":return I(a);case"MM":return I(n);case"MMM":return Ne(e.months("short",!0),1);case"MMMM":return Ne(e.months("long",!0),1);case"L":return I(a);case"LL":return I(n);case"LLL":return Ne(e.months("short",!1),1);case"LLLL":return Ne(e.months("long",!1),1);case"d":return I(a);case"dd":return I(n);case"o":return I(l);case"ooo":return I(i);case"HH":return I(n);case"H":return I(a);case"hh":return I(n);case"h":return I(a);case"mm":return I(n);case"m":return I(a);case"q":return I(a);case"qq":return I(n);case"s":return I(a);case"ss":return I(n);case"S":return I(l);case"SSS":return I(i);case"u":return ln(d);case"uu":return ln(a);case"uuu":return I(r);case"a":return Ne(e.meridiems(),0);case"kkkk":return I(o);case"kk":return I(u,to);case"W":return I(a);case"WW":return I(n);case"E":case"c":return I(r);case"EEE":return Ne(e.weekdays("short",!1),1);case"EEEE":return Ne(e.weekdays("long",!1),1);case"ccc":return Ne(e.weekdays("short",!0),1);case"cccc":return Ne(e.weekdays("long",!0),1);case"Z":case"ZZ":return Ca(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Ca(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return ln(/[a-z_+-/]{1,256}?/i);case" ":return ln(/[^\S\n\r]/);default:return m(v)}})(t)||{invalidReason:Qh};return b.token=t,b}var ip={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function op(t,e,r){let{type:n,value:i}=t;if(n==="literal"){let l=/^\s+$/.test(i);return{literal:!l,val:l?" ":i}}let o=e[n],s=n;n==="hour"&&(e.hour12!=null?s=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?s="hour12":s="hour24":s=r.hour12?"hour12":"hour24");let a=ip[s];if(typeof a=="object"&&(a=a[o]),a)return{literal:!1,val:a}}function sp(t){return[`^${t.map(r=>r.regex).reduce((r,n)=>`${r}(${n.source})`,"")}$`,t]}function ap(t,e,r){let n=t.match(e);if(n){let i={},o=1;for(let s in r)if(Ut(r,s)){let a=r[s],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(i[a.token.val[0]]=a.deser(n.slice(o,o+l))),o+=l}return[n,i]}else return[n,{}]}function lp(t){let e=o=>{switch(o){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},r=null,n;return O(t.z)||(r=at.create(t.z)),O(t.Z)||(r||(r=new Se(t.Z)),n=t.Z),O(t.q)||(t.M=(t.q-1)*3+1),O(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),O(t.u)||(t.S=so(t.u)),[Object.keys(t).reduce((o,s)=>{let a=e(s);return a&&(o[a]=t[s]),o},{}),r,n]}var Ai=null;function cp(){return Ai||(Ai=z.fromMillis(1555555555555)),Ai}function up(t,e){if(t.literal)return t;let r=de.macroTokenToFormatOpts(t.val),n=Tl(r,e);return n==null||n.includes(void 0)?t:n}function Ol(t,e){return Array.prototype.concat(...t.map(r=>up(r,e)))}var kn=class{constructor(e,r){if(this.locale=e,this.format=r,this.tokens=Ol(de.parseFormat(r),e),this.units=this.tokens.map(n=>np(n,e)),this.disqualifyingUnit=this.units.find(n=>n.invalidReason),!this.disqualifyingUnit){let[n,i]=sp(this.units);this.regex=RegExp(n,"i"),this.handlers=i}}explainFromTokens(e){if(this.isValid){let[r,n]=ap(e,this.regex,this.handlers),[i,o,s]=n?lp(n):[null,null,void 0];if(Ut(n,"a")&&Ut(n,"H"))throw new ot("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:n,result:i,zone:o,specificOffset:s}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function Ml(t,e,r){return new kn(t,r).explainFromTokens(e)}function fp(t,e,r){let{result:n,zone:i,specificOffset:o,invalidReason:s}=Ml(t,e,r);return[n,i,o,s]}function Tl(t,e){if(!t)return null;let n=de.create(e,t).dtFormatter(cp()),i=n.formatToParts(),o=n.resolvedOptions();return i.map(s=>op(s,t,o))}var Di="Invalid DateTime",Ea=864e13;function wr(t){return new he("unsupported zone",`the zone "${t.name}" is not supported`)}function Ii(t){return t.weekData===null&&(t.weekData=bn(t.c)),t.weekData}function Ri(t){return t.localWeekData===null&&(t.localWeekData=bn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function gt(t,e){let r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new z({...r,...e,old:r})}function Ll(t,e,r){let n=t-e*60*1e3,i=r.offset(n);if(e===i)return[n,e];n-=(i-e)*60*1e3;let o=r.offset(n);return i===o?[n,i]:[t-Math.min(i,o)*60*1e3,Math.max(i,o)]}function cn(t,e){t+=e*60*1e3;let r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function fn(t,e,r){return Ll(xn(t),e,r)}function Oa(t,e){let r=t.o,n=t.c.year+Math.trunc(e.years),i=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,o={...t.c,year:n,month:i,day:Math.min(t.c.day,yn(n,i))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},s=re.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=xn(o),[l,c]=Ll(a,r,t.zone);return s!==0&&(l+=s,c=t.zone.offset(l)),{ts:l,o:c}}function Vt(t,e,r,n,i,o){let{setZone:s,zone:a}=r;if(t&&Object.keys(t).length!==0||e){let l=e||a,c=z.fromObject(t,{...r,zone:l,specificOffset:o});return s?c:c.setZone(a)}else return z.invalid(new he("unparsable",`the input "${i}" can't be parsed as ${n}`))}function un(t,e,r=!0){return t.isValid?de.create(V.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function zi(t,e,r){let n=t.c.year>9999||t.c.year<0,i="";if(n&&t.c.year>=0&&(i+="+"),i+=K(t.c.year,n?6:4),r==="year")return i;if(e){if(i+="-",i+=K(t.c.month),r==="month")return i;i+="-"}else if(i+=K(t.c.month),r==="month")return i;return i+=K(t.c.day),i}function Ma(t,e,r,n,i,o,s){let a=!r||t.c.millisecond!==0||t.c.second!==0,l="";switch(s){case"day":case"month":case"year":break;default:if(l+=K(t.c.hour),s==="hour")break;if(e){if(l+=":",l+=K(t.c.minute),s==="minute")break;a&&(l+=":",l+=K(t.c.second))}else{if(l+=K(t.c.minute),s==="minute")break;a&&(l+=K(t.c.second))}if(s==="second")break;a&&(!n||t.c.millisecond!==0)&&(l+=".",l+=K(t.c.millisecond,3))}return i&&(t.isOffsetFixed&&t.offset===0&&!o?l+="Z":t.o<0?(l+="-",l+=K(Math.trunc(-t.o/60)),l+=":",l+=K(Math.trunc(-t.o%60))):(l+="+",l+=K(Math.trunc(t.o/60)),l+=":",l+=K(Math.trunc(t.o%60)))),o&&(l+="["+t.zone.ianaName+"]"),l}var Nl={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},dp={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hp={ordinal:1,hour:0,minute:0,second:0,millisecond:0},dn=["year","month","day","hour","minute","second","millisecond"],pp=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mp=["year","ordinal","hour","minute","second","millisecond"];function hn(t){let e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new pn(t);return e}function Ta(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return hn(t)}}function gp(t){if(xr===void 0&&(xr=q.now()),t.type!=="iana")return t.offset(xr);let e=t.name,r=ro.get(e);return r===void 0&&(r=t.offset(xr),ro.set(e,r)),r}function La(t,e){let r=it(e.zone,q.defaultZone);if(!r.isValid)return z.invalid(wr(r));let n=V.fromObject(e),i,o;if(O(t.year))i=q.now();else{for(let l of dn)O(t[l])&&(t[l]=Nl[l]);let s=ol(t)||sl(t);if(s)return z.invalid(s);let a=gp(r);[i,o]=fn(t,a,r)}return new z({ts:i,zone:r,loc:n,o})}function Na(t,e,r){let n=O(r.round)?!0:r.round,i=O(r.rounding)?"trunc":r.rounding,o=(a,l)=>(a=ao(a,n||r.calendary?0:2,r.calendary?"round":i),e.loc.clone(r).relFormatter(r).format(a,l)),s=a=>r.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(r.unit)return o(s(r.unit),r.unit);for(let a of r.units){let l=s(a);if(Math.abs(l)>=1)return o(l,a)}return o(t>e?-0:0,r.units[r.units.length-1])}function Pa(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}var xr,ro=new Map,z=class t{constructor(e){let r=e.zone||q.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new he("invalid input"):null)||(r.isValid?null:wr(r));this.ts=O(e.ts)?q.now():e.ts;let i=null,o=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[i,o]=[e.old.c,e.old.o];else{let a=st(e.o)&&!e.old?e.o:r.offset(this.ts);i=cn(this.ts,a),n=Number.isNaN(i.year)?new he("invalid input"):null,i=n?null:i,o=n?null:a}this._zone=r,this.loc=e.loc||V.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=i,this.o=o,this.isLuxonDateTime=!0}static now(){return new t({})}static local(){let[e,r]=Pa(arguments),[n,i,o,s,a,l,c]=r;return La({year:n,month:i,day:o,hour:s,minute:a,second:l,millisecond:c},e)}static utc(){let[e,r]=Pa(arguments),[n,i,o,s,a,l,c]=r;return e.zone=Se.utcInstance,La({year:n,month:i,day:o,hour:s,minute:a,second:l,millisecond:c},e)}static fromJSDate(e,r={}){let n=Gd(e)?e.valueOf():NaN;if(Number.isNaN(n))return t.invalid("invalid input");let i=it(r.zone,q.defaultZone);return i.isValid?new t({ts:n,zone:i,loc:V.fromObject(r)}):t.invalid(wr(i))}static fromMillis(e,r={}){if(st(e))return e<-Ea||e>Ea?t.invalid("Timestamp out of range"):new t({ts:e,zone:it(r.zone,q.defaultZone),loc:V.fromObject(r)});throw new te(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(st(e))return new t({ts:e*1e3,zone:it(r.zone,q.defaultZone),loc:V.fromObject(r)});throw new te("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};let n=it(r.zone,q.defaultZone);if(!n.isValid)return t.invalid(wr(n));let i=V.fromObject(r),o=vn(e,Ta),{minDaysInFirstWeek:s,startOfWeek:a}=ga(o,i),l=q.now(),c=O(r.specificOffset)?n.offset(l):r.specificOffset,d=!O(o.ordinal),u=!O(o.year),h=!O(o.month)||!O(o.day),m=u||h,g=o.weekYear||o.weekNumber;if((m||d)&&g)throw new ot("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&d)throw new ot("Can't mix ordinal dates with month/day");let b=g||o.weekday&&!m,v,S,$=cn(l,c);b?(v=pp,S=dp,$=bn($,s,a)):d?(v=mp,S=hp,$=Pi($)):(v=dn,S=Nl);let C=!1;for(let R of v){let Q=o[R];O(Q)?C?o[R]=S[R]:o[R]=$[R]:C=!0}let E=b?Ud(o,s,a):d?Hd(o):ol(o),k=E||sl(o);if(k)return t.invalid(k);let T=b?pa(o,s,a):d?ma(o):o,[_,P]=fn(T,c,n),N=new t({ts:_,zone:n,o:P,loc:i});return o.weekday&&m&&e.weekday!==N.weekday?t.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${N.toISO()}`):N.isValid?N:t.invalid(N.invalid)}static fromISO(e,r={}){let[n,i]=Rh(e);return Vt(n,i,r,"ISO 8601",e)}static fromRFC2822(e,r={}){let[n,i]=zh(e);return Vt(n,i,r,"RFC 2822",e)}static fromHTTP(e,r={}){let[n,i]=Fh(e);return Vt(n,i,r,"HTTP",r)}static fromFormat(e,r,n={}){if(O(e)||O(r))throw new te("fromFormat requires an input string and a format");let{locale:i=null,numberingSystem:o=null}=n,s=V.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0}),[a,l,c,d]=fp(s,e,r);return d?t.invalid(d):Vt(a,l,n,`format ${r}`,e,c)}static fromString(e,r,n={}){return t.fromFormat(e,r,n)}static fromSQL(e,r={}){let[n,i]=Hh(e);return Vt(n,i,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new te("need to specify a reason the DateTime is invalid");let n=e instanceof he?e:new he(e,r);if(q.throwOnInvalid)throw new Fi(n);return new t({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,r={}){let n=Tl(e,V.fromObject(r));return n?n.map(i=>i?i.val:null).join(""):null}static expandFormat(e,r={}){return Ol(de.parseFormat(e),V.fromObject(r)).map(i=>i.val).join("")}static resetCache(){xr=void 0,ro.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Ii(this).weekYear:NaN}get weekNumber(){return this.isValid?Ii(this).weekNumber:NaN}get weekday(){return this.isValid?Ii(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Ri(this).weekday:NaN}get localWeekNumber(){return this.isValid?Ri(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Ri(this).weekYear:NaN}get ordinal(){return this.isValid?Pi(this.c).ordinal:NaN}get monthShort(){return this.isValid?jt.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?jt.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?jt.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?jt.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,r=6e4,n=xn(this.c),i=this.zone.offset(n-e),o=this.zone.offset(n+e),s=this.zone.offset(n-i*r),a=this.zone.offset(n-o*r);if(s===a)return[this];let l=n-s*r,c=n-a*r,d=cn(l,s),u=cn(c,a);return d.hour===u.hour&&d.minute===u.minute&&d.second===u.second&&d.millisecond===u.millisecond?[gt(this,{ts:l}),gt(this,{ts:c})]:[this]}get isInLeapYear(){return _r(this.year)}get daysInMonth(){return yn(this.year,this.month)}get daysInYear(){return this.isValid?Wt(this.year):NaN}get weeksInWeekYear(){return this.isValid?$r(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?$r(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:r,numberingSystem:n,calendar:i}=de.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:i}}toUTC(e=0,r={}){return this.setZone(Se.instance(e),r)}toLocal(){return this.setZone(q.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(e=it(e,q.defaultZone),e.equals(this.zone))return this;if(e.isValid){let i=this.ts;if(r||n){let o=e.offset(this.ts),s=this.toObject();[i]=fn(s,o,e)}return gt(this,{ts:i,zone:e})}else return t.invalid(wr(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:n}={}){let i=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:n});return gt(this,{loc:i})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let r=vn(e,Ta),{minDaysInFirstWeek:n,startOfWeek:i}=ga(r,this.loc),o=!O(r.weekYear)||!O(r.weekNumber)||!O(r.weekday),s=!O(r.ordinal),a=!O(r.year),l=!O(r.month)||!O(r.day),c=a||l,d=r.weekYear||r.weekNumber;if((c||s)&&d)throw new ot("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&s)throw new ot("Can't mix ordinal dates with month/day");let u;o?u=pa({...bn(this.c,n,i),...r},n,i):O(r.ordinal)?(u={...this.toObject(),...r},O(r.day)&&(u.day=Math.min(yn(u.year,u.month),u.day))):u=ma({...Pi(this.c),...r});let[h,m]=fn(u,this.o,this.zone);return gt(this,{ts:h,o:m})}plus(e){if(!this.isValid)return this;let r=re.fromDurationLike(e);return gt(this,Oa(this,r))}minus(e){if(!this.isValid)return this;let r=re.fromDurationLike(e).negate();return gt(this,Oa(this,r))}startOf(e,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;let n={},i=re.normalizeUnit(e);switch(i){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(i==="weeks")if(r){let o=this.loc.getStartOfWeek(),{weekday:s}=this;s<o&&(n.weekNumber=this.weekNumber-1),n.weekday=o}else n.weekday=1;if(i==="quarters"){let o=Math.ceil(this.month/3);n.month=(o-1)*3+1}return this.set(n)}endOf(e,r){return this.isValid?this.plus({[e]:1}).startOf(e,r).minus(1):this}toFormat(e,r={}){return this.isValid?de.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):Di}toLocaleString(e=mn,r={}){return this.isValid?de.create(this.loc.clone(r),e).formatDateTime(this):Di}toLocaleParts(e={}){return this.isValid?de.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:n=!1,includeOffset:i=!0,extendedZone:o=!1,precision:s="milliseconds"}={}){if(!this.isValid)return null;s=hn(s);let a=e==="extended",l=zi(this,a,s);return dn.indexOf(s)>=3&&(l+="T"),l+=Ma(this,a,r,n,i,o,s),l}toISODate({format:e="extended",precision:r="day"}={}){return this.isValid?zi(this,e==="extended",hn(r)):null}toISOWeekDate(){return un(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:n=!0,includePrefix:i=!1,extendedZone:o=!1,format:s="extended",precision:a="milliseconds"}={}){return this.isValid?(a=hn(a),(i&&dn.indexOf(a)>=3?"T":"")+Ma(this,s==="extended",r,e,n,o,a)):null}toRFC2822(){return un(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return un(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?zi(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:n=!0}={}){let i="HH:mm:ss.SSS";return(r||e)&&(n&&(i+=" "),r?i+="z":e&&(i+="ZZ")),un(this,i,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Di}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let r={...this.c};return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,r="milliseconds",n={}){if(!this.isValid||!e.isValid)return re.invalid("created by diffing an invalid DateTime");let i={locale:this.locale,numberingSystem:this.numberingSystem,...n},o=Yd(r).map(re.normalizeUnit),s=e.valueOf()>this.valueOf(),a=s?this:e,l=s?e:this,c=Xh(a,l,o,i);return s?c.negate():c}diffNow(e="milliseconds",r={}){return this.diff(t.now(),e,r)}until(e){return this.isValid?Bt.fromDateTimes(this,e):this}hasSame(e,r,n){if(!this.isValid)return!1;let i=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(r,n)<=i&&i<=o.endOf(r,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let r=e.base||t.fromObject({},{zone:this.zone}),n=e.padding?this<r?-e.padding:e.padding:0,i=["years","months","days","hours","minutes","seconds"],o=e.unit;return Array.isArray(e.unit)&&(i=e.unit,o=void 0),Na(r,this.plus(n),{...e,numeric:"always",units:i,unit:o})}toRelativeCalendar(e={}){return this.isValid?Na(e.base||t.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(t.isDateTime))throw new te("min requires all arguments be DateTimes");return ba(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(t.isDateTime))throw new te("max requires all arguments be DateTimes");return ba(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,n={}){let{locale:i=null,numberingSystem:o=null}=n,s=V.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0});return Ml(s,e,r)}static fromStringExplain(e,r,n={}){return t.fromFormatExplain(e,r,n)}static buildFormatParser(e,r={}){let{locale:n=null,numberingSystem:i=null}=r,o=V.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0});return new kn(o,e)}static fromFormatParser(e,r,n={}){if(O(e)||O(r))throw new te("fromFormatParser requires an input string and a format parser");let{locale:i=null,numberingSystem:o=null}=n,s=V.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0});if(!s.equals(r.locale))throw new te(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${r.locale}`);let{result:a,zone:l,specificOffset:c,invalidReason:d}=r.explainFromTokens(e);return d?t.invalid(d):Vt(a,l,n,`format ${r.format}`,e,c)}static get DATE_SHORT(){return mn}static get DATE_MED(){return Aa}static get DATE_MED_WITH_WEEKDAY(){return Cd}static get DATE_FULL(){return Da}static get DATE_HUGE(){return Ia}static get TIME_SIMPLE(){return Ra}static get TIME_WITH_SECONDS(){return za}static get TIME_WITH_SHORT_OFFSET(){return Fa}static get TIME_WITH_LONG_OFFSET(){return Va}static get TIME_24_SIMPLE(){return ja}static get TIME_24_WITH_SECONDS(){return Wa}static get TIME_24_WITH_SHORT_OFFSET(){return qa}static get TIME_24_WITH_LONG_OFFSET(){return Ba}static get DATETIME_SHORT(){return Ua}static get DATETIME_SHORT_WITH_SECONDS(){return Ha}static get DATETIME_MED(){return Za}static get DATETIME_MED_WITH_SECONDS(){return Ga}static get DATETIME_MED_WITH_WEEKDAY(){return Ed}static get DATETIME_FULL(){return Ya}static get DATETIME_FULL_WITH_SECONDS(){return Ja}static get DATETIME_HUGE(){return Ka}static get DATETIME_HUGE_WITH_SECONDS(){return Xa}};function vr(t){if(z.isDateTime(t))return t;if(t&&t.valueOf&&st(t.valueOf()))return z.fromJSDate(t);if(t&&typeof t=="object")return z.fromObject(t);throw new te(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var En="default",mo="preflights",bp="shortcuts",yp="imports",vp={[yp]:-200,[mo]:-100,[bp]:-10,[En]:0},vo=/[\\:]?[\s'"`;{}]+/g;function kp(t){return t.split(vo)}var wp={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return kp(t)}};function F(t=[]){return Array.isArray(t)?t:[t]}function Ae(t){return Array.from(new Set(t))}function Pl(t,e){return t.reduce((r,n)=>(r.findIndex(o=>e(n,o))===-1&&r.push(n),r),[])}function H(t){return typeof t=="string"}var On=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 fo(t){return t instanceof On}function Kt(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function lt(t){let e=t.length,r=-1,n,i="",o=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){i+="\uFFFD";continue}if(n===37){i+="\\%";continue}if(n===44){i+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&o===45){i+=`\\${n.toString(16)} `;continue}if(r===0&&e===1&&n===45){i+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=t.charAt(r);continue}i+=`\\${t.charAt(r)}`}return i}var ho=lt;function xp(){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 Sp=/[\w\u00A0-\uFFFF%-?]/;function Vl(t=""){return Sp.test(t)}function $p(t){return typeof t=="function"?{match:t}:t}function Al(t){return t.length===3}function Or(t){return t!=null}function _p(){}var go=class{_map=new Map;get(e,r){let n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let i=this._map.get(e);return i||(i=new Map,this._map.set(e,i)),i.has(r)||i.set(r,n),i.get(r)}set(e,r,n){let i=this._map.get(e);return i||(i=new Map,this._map.set(e,i)),i.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(([i,o])=>e(o,r,i)))}},bo=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,i)=>{r.push(e(n,i))}),r}flatMap(e){let r=[];return this.forEach((n,i)=>{r.push(...e(n,i))}),r}};function Mn(t){return H(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function Cp(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>Mn(e)):[t]:[Mn(t)]}function Ep(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let i=n-1;i>=0;i--)if(t[i][0]===e&&t[i][1]===r)return!1;return!0})}var jl="__virtual_key__";function po(t){return t==null?"":Ep(t).map(([e,r])=>r!=null&&typeof r!="function"?e!==jl?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function _n(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Xt(t,e,r=!1){let n=t,i=e;if(Array.isArray(i))return r&&Array.isArray(i)?[...n,...i]:[...i];let o={...n};return _n(n)&&_n(i)&&Object.keys(i).forEach(s=>{_n(n[s])&&_n(i[s])||Array.isArray(n[s])&&Array.isArray(i[s])?o[s]=Xt(n[s],i[s],r):Object.assign(o,{[s]:i[s]})}),o}function Jt(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"?Jt(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:Jt(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?Jt(n):n;return r}return t}function Op(t){return H(t[0])}function Mp(t){return H(t[0])}var Cn={};function Tp(t=["-",":"]){let e=t.join("|");return Cn[e]||(Cn[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Cn[e].lastIndex=0,Cn[e]}function Lp(t,e=["-",":"],r=5){let n=Tp(e),i,o=t.toString(),s=new Set,a=new Map;do i=!1,o=o.replace(n,(c,d,u,h,m)=>{if(!e.includes(u))return c;i=!0,s.add(d+u);let g=m+d.length+u.length+1,b={length:c.length,items:[]};a.set(m,b);for(let v of[...h.matchAll(/\S+/g)]){let S=g+v.index,$=a.get(S)?.items;$?a.delete(S):$=[{offset:S,length:v[0].length,className:v[0]}];for(let C of $)C.className=C.className==="~"?d:C.className.replace(/^(!?)(.*)/,`$1${d}${u}$2`),b.items.push(C)}return"$".repeat(c.length)}),r-=1;while(i&&r);let l;if(typeof t=="string"){l="";let c=0;for(let[d,u]of a)l+=t.slice(c,d),l+=u.items.map(h=>h.className).join(" "),c=d+u.length;l+=t.slice(c)}else{l=t;for(let[c,d]of a)l.overwrite(c,c+d.length,d.items.map(u=>u.className).join(" "))}return{prefixes:Array.from(s),hasChanged:i,groupsByOffset:a,get expanded(){return l.toString()}}}function Np(t,e=["-",":"],r=5){let n=Lp(t,e,r);return typeof t=="string"?n.expanded:t}var Dl=new Set;function Pp(t){Dl.has(t)||(console.warn("[unocss]",t),Dl.add(t))}function Wl(t){return F(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var Il="_uno_resolved";async function Ap(t){let e=typeof t=="function"?await t():await t;if(Il in e)return e;e={...e},Object.defineProperty(e,Il,{value:!0,enumerable:!1});let r=e.shortcuts?Wl(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){let n=i=>{i[2]||(i[2]={});let o=i[2];o.prefix==null&&e.prefix&&(o.prefix=F(e.prefix)),o.layer==null&&e.layer&&(o.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function ql(t){let e=await Ap(t);if(!e.presets)return[e];let r=(await Promise.all((e.presets||[]).flatMap(F).flatMap(ql))).flat();return[e,...r]}function Dp(t){if(t.length===0)return{};let e=[],r=[],n=!1,i=[],o=[];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&&i.push(a.filesystem),a.inline&&o.push(a.inline)}let s={pipeline:n?!1:{include:Ae(zl(...e)),exclude:Ae(zl(...r))}};return i.length&&(s.filesystem=Ae(i.flat())),o.length&&(s.inline=Ae(o.flat())),s}async function Rl(t={},e={}){let r=Object.assign({},e,t),n=Pl((await Promise.all((r.presets||[]).flatMap(F).flatMap(ql))).flat(),(k,T)=>k.name===T.name),i=[...n.filter(k=>k.enforce==="pre"),...n.filter(k=>!k.enforce),...n.filter(k=>k.enforce==="post")],o=[...i,r],s=[...o].reverse(),a=Object.assign({},vp,...o.map(k=>k.layers));function l(k){return Ae(o.flatMap(T=>F(T[k]||[])))}let c=l("extractors"),d=s.find(k=>k.extractorDefault!==void 0)?.extractorDefault;d===void 0&&(d=wp),d&&!c.includes(d)&&c.unshift(d),c.sort((k,T)=>(k.order||0)-(T.order||0));let u=l("rules"),h=u.length,m={},g=[];for(let[k,T]of u.entries()){let _=T[2]??(T[2]={});_.__index=k,Op(T)?F(_.prefix??"").forEach(N=>{m[N+T[0]]=T}):g.unshift(T)}let b={templates:Ae(o.flatMap(k=>F(k.autocomplete?.templates))),extractors:o.flatMap(k=>F(k.autocomplete?.extractors)).sort((k,T)=>(k.order||0)-(T.order||0)),shorthands:Rp(o.map(k=>k.autocomplete?.shorthands||{}))},v=l("separators");v.length||(v=[":","-"]);let S=l("content"),$=Dp(S),C={mergeSelectors:!0,warn:!0,sortLayers:k=>k,...r,blocklist:l("blocklist"),presets:i,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:Ip(o.map(k=>k.theme)),rules:u,rulesSize:h,rulesDynamic:g,rulesStaticMap:m,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:b,variants:l("variants").map($p).sort((k,T)=>(k.order||0)-(T.order||0)),shortcuts:Wl(l("shortcuts")).reverse(),extractors:c,safelist:l("safelist"),separators:v,details:r.details??r.envMode==="dev",content:$,transformers:Pl(l("transformers"),(k,T)=>k.name===T.name)},E=l("extendTheme");for(let k of E)C.theme=k(C.theme,C)||C.theme;for(let k of o)k?.configResolved?.(C);return C}function Ip(t){return t.map(e=>e?Jt(e):{}).reduce((e,r)=>Xt(e,r),{})}function Rp(t){return t.reduce((e,r)=>{let n={};for(let i in r){let o=r[i];Array.isArray(o)?n[i]=`(${o.join("|")})`:n[i]=o}return{...e,...n}},{})}function zl(...t){return t.flatMap(zp)}function zp(t){return Array.isArray(t)?t:t?[t]:[]}var Fp="66.5.2",J={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"},yo=class t{constructor(e={},r={}){this.userConfig=e,this.defaults=r}version=Fp;events=xp();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 Rl(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 Rl(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){let i={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(let o of this.config.extractors){let s=await o.extract?.(i);if(s)if(fo(s)&&fo(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:J,variantHandlers:r[2],constructCSS:(...i)=>this.constructCustomCSS(n,...i),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 i=this.config.preprocess.reduce((l,c)=>c(l)??l,e);if(this.isBlocked(i)){this.blocked.add(e),this.cache.set(n,null);return}let o=await this.matchVariants(e,i);if(o.every(l=>!l||this.isBlocked(l[1]))){this.blocked.add(e),this.cache.set(n,null);return}let s=async l=>{let c=this.makeContext(e,[r||l[0],l[1],l[2],l[3]]);this.config.details&&(c.variants=[...l[3]]);let d=await this.expandShortcut(c.currentSelector,c);return d?await this.stringifyShortcuts(c.variantMatch,c,d[0],d[1]):(await this.parseUtil(c.variantMatch,c))?.map(h=>this.stringifyUtil(h,c)).filter(Or)},a=(await Promise.all(o.map(l=>s(l)))).flat().filter(l=>!!l);if(a?.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(e,r={}){let{id:n,scope:i,preflights:o=!0,safelist:s=!0,minify:a=!1,extendedInfo:l=!1}=r,c=H(e)?await this.applyExtractors(e,n,l?new On:new Set):Array.isArray(e)?new Set(e):e;if(s){let _={generator:this,theme:this.config.theme};this.config.safelist.flatMap(P=>typeof P=="function"?P(_):P).forEach(P=>{let N=P.trim();N&&!c.has(N)&&c.add(N)})}let d=a?"":`
24
- `,u=new Set([En]),h=l?new Map:new Set,m=new Map,g={},b=Array.from(c).map(async _=>{if(h.has(_))return;let P=await this.parseToken(_);if(P!=null){h instanceof Map?h.set(_,{data:P,count:fo(c)?c.getCount(_):-1}):h.add(_);for(let N of P){let R=N[3]||"",Q=N[4]?.layer;m.has(R)||m.set(R,[]),m.get(R).push(N),Q&&u.add(Q)}}});await Promise.all(b),await(async()=>{if(!o)return;let _={generator:this,theme:this.config.theme},P=new Set([]);this.config.preflights.forEach(({layer:N=mo})=>{u.add(N),P.add(N)}),g=Object.fromEntries(await Promise.all(Array.from(P).map(async N=>{let Q=(await Promise.all(this.config.preflights.filter(Y=>(Y.layer||mo)===N).map(async Y=>await Y.getCSS(_)))).filter(Boolean).join(d);return[N,Q]})))})();let v=this.config.sortLayers(Array.from(u).sort((_,P)=>(this.config.layers[_]??0)-(this.config.layers[P]??0)||_.localeCompare(P))),S={},$=this.config.outputToCssLayers,C=_=>{let P=_;return typeof $=="object"&&(P=$.cssLayerName?.(_)),P===null?null:P??_},E=(_=En)=>{if(S[_])return S[_];let P=Array.from(m).sort((Q,Y)=>(this.parentOrders.get(Q[0])??0)-(this.parentOrders.get(Y[0])??0)||Q[0]?.localeCompare(Y[0]||"")||0).map(([Q,Y])=>{let on=Y.length,tt=Y.filter(ee=>(ee[4]?.layer||En)===_).sort((ee,Te)=>ee[0]-Te[0]||(ee[4]?.sort||0)-(Te[4]?.sort||0)||ee[5]?.currentSelector?.localeCompare(Te[5]?.currentSelector??"")||ee[1]?.localeCompare(Te[1]||"")||ee[2]?.localeCompare(Te[2]||"")||0).map(([,ee,Te,,sn,,Ei])=>[[[(ee&&jp(ee,i))??"",sn?.sort??0]],Te,!!(Ei??sn?.noMerge)]);if(!tt.length)return;let br=tt.reverse().map(([ee,Te,sn],Ei)=>{if(!sn&&this.config.mergeSelectors)for(let rt=Ei+1;rt<on;rt++){let Fe=tt[rt];if(Fe&&!Fe[2]&&(ee&&Fe[0]||ee==null&&Fe[0]==null)&&Fe[1]===Te)return ee&&Fe[0]&&Fe[0].push(...ee),null}let Oi=ee?Ae(ee.sort((rt,Fe)=>rt[1]-Fe[1]||rt[0]?.localeCompare(Fe[0]||"")||0).map(rt=>rt[0]).filter(Boolean)):[];return Oi.length?`${Oi.join(`,${d}`)}{${Te}}`:Te}).filter(Boolean),fe=Array.from(new Set(br)).reverse().join(d);if(!Q)return fe;let ra=Q.split(" $$ ");return`${ra.join("{")}{${d}${fe}${d}${"}".repeat(ra.length)}`}).filter(Boolean).join(d);o&&(P=[g[_],P].filter(Boolean).join(d));let N;$&&P&&(N=C(_),N!==null&&(P=`@layer ${N}{${d}${P}${d}}`));let R=a?"":`/* layer: ${_}${N&&N!==_?`, alias: ${N}`:""} */${d}`;return S[_]=P?R+P:""},k=(_=v,P)=>{let N=_.filter(R=>!P?.includes(R));return[$&&N.length>0?`@layer ${N.map(C).filter(Or).join(", ")};`:void 0,...N.map(R=>E(R)||"")].filter(Boolean).join(d)};return{get css(){return k()},layers:v,matched:h,getLayers:k,getLayer:E,setLayer:async(_,P)=>{let N=await P(E(_));return S[_]=N,N}}}async matchVariants(e,r){let n={rawSelector:e,theme:this.config.theme,generator:this},i=async o=>{let s=!0,[,,a,l]=o;for(;s;){s=!1;let c=o[1];for(let d of this.config.variants){if(!d.multiPass&&l.has(d))continue;let u=await d.match(c,n);if(u){if(H(u)){if(u===c)continue;u={matcher:u}}if(Array.isArray(u)){if(!u.length)continue;if(u.length===1)u=u[0];else{if(d.multiPass)throw new Error("multiPass can not be used together with array return variants");let h=u.map(m=>{let g=m.matcher??c,b=[m,...a],v=new Set(l);return v.add(d),[o[0],g,b,v]});return(await Promise.all(h.map(m=>i(m)))).flat()}}o[1]=u.matcher??c,a.unshift(u),l.add(d),s=!0;break}}if(!s)break;if(a.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[o]};return await i([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){let o=r.slice().sort((c,d)=>(c.order||0)-(d.order||0)).reduceRight((c,d)=>u=>{let h=d.body?.(u.entries)||u.entries,m=Array.isArray(d.parent)?d.parent:[d.parent,void 0],g=d.selector?.(u.selector,h);return(d.handle??qp)({...u,entries:h,selector:g||u.selector,parent:m[0]||u.parent,parentOrder:m[1]||u.parentOrder,layer:d.layer||u.layer,sort:d.sort||u.sort},c)},c=>c)({prefix:"",selector:Wp(n),pseudo:"",entries:e[2]}),{parent:s,parentOrder:a}=o;s!=null&&a!=null&&this.parentOrders.set(s,a);let l={selector:[o.prefix,o.selector,o.pseudo].join(""),entries:o.entries,parent:s,layer:o.layer,sort:o.sort,noMerge:o.noMerge};for(let c of this.config.postprocess)c(l);return l}constructCustomCSS(e,r,n){let i=Mn(r);if(H(i))return i;let{selector:o,entries:s,parent:a}=this.applyVariants([0,n||e.rawSelector,i,void 0,e.variantHandlers]),l=`${o}{${po(s)}}`;return a?`${a}{${l}}`:l}async parseUtil(e,r,n=!1,i){let o=H(e)?await this.matchVariants(e):[e],s=async([l,c,d])=>{this.config.details&&(r.rules=r.rules??[]);let u={...r,variantHandlers:d},h=this.config.rulesStaticMap[c];if(h&&h[1]&&(n||!h[2]?.internal))return this.resolveCSSResult(l,h[1],h,u);for(let m of this.config.rulesDynamic){let[g,b,v]=m;if(v?.internal&&!n)continue;let S=c;if(v?.prefix){let k=F(v.prefix);if(i){let T=F(i);if(!k.some(_=>T.includes(_)))continue}else{let T=k.find(_=>c.startsWith(_));if(T==null)continue;S=c.slice(T.length)}}let $=S.match(g);if(!$)continue;let C=await b($,u);if(!C)continue;if(typeof C!="string")if(Symbol.asyncIterator in C){let k=[];for await(let T of C)T&&k.push(T);C=k}else Symbol.iterator in C&&!Array.isArray(C)&&(C=Array.from(C).filter(Or));let E=this.resolveCSSResult(l,C,m,u);if(E)return E}},a=(await Promise.all(o.map(l=>s(l)))).flat().filter(l=>!!l);if(a.length)return a}resolveCSSResult=(e,r,n,i)=>{let o=Cp(r).filter(s=>s.length);if(o.length){this.config.details&&i.rules.push(n),i.generator.activatedRules.add(n);let s=n[2];return o.map(a=>{if(H(a))return[s.__index,a,s];let l=i.variantHandlers,c=s;for(let d of a)d[0]===J.variants?typeof d[1]=="function"?l=d[1](l)||l:l=[...F(d[1]),...l]:d[0]===J.parent?l=[{parent:d[1]},...l]:d[0]===J.selector?l=[{selector:d[1]},...l]:d[0]===J.layer?l=[{layer:d[1]},...l]:d[0]===J.sort?c={...c,sort:d[1]}:d[0]===J.noMerge?c={...c,noMerge:d[1]}:d[0]===J.body&&(d[0]=jl);return[s.__index,e,a,c,l]})}};stringifyUtil(e,r){if(!e)return;if(Al(e))return[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0];let{selector:n,entries:i,parent:o,layer:s,sort:a,noMerge:l}=this.applyVariants(e),c=po(i);if(!c)return;let{layer:d,sort:u,...h}=e[3]??{},m={...h,layer:s??d,sort:a??u};return[e[0],n,c,o,m,this.config.details?r:void 0,l]}async expandShortcut(e,r,n=5){if(n===0)return;let i=this.config.details?c=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(c)}:_p,o,s,a,l;for(let c of this.config.shortcuts){let d=e;if(c[2]?.prefix){let h=F(c[2].prefix).find(m=>e.startsWith(m));if(h==null)continue;d=e.slice(h.length)}if(Mp(c)){if(c[0]===d){o=o||c[2],s=c[1],i(c);break}}else{let u=d.match(c[0]);if(u&&(s=c[1](u,r)),s){o=o||c[2],i(c);break}}}if(s&&(a=Ae(F(s).filter(H).map(c=>Np(c.trim()).split(/\s+/g)).flat()),l=F(s).filter(c=>!H(c)).map(c=>({handles:[],value:c}))),!s){let c=H(e)?await this.matchVariants(e):[e];for(let d of c){let[u,h,m]=d;if(u!==h){let g=await this.expandShortcut(h,r,n-1);g&&(a=g[0].filter(H).map(b=>u.replace(h,b)),l=g[0].filter(b=>!H(b)).map(b=>({handles:[...b.handles,...m],value:b.value})))}}}if(!(!a?.length&&!l?.length))return[[await Promise.all(F(a).map(async c=>(await this.expandShortcut(c,r,n-1))?.[0]||[c])),l].flat(2).filter(c=>!!c),o]}async stringifyShortcuts(e,r,n,i={layer:this.config.shortcutsLayer}){let o=new bo,s=(await Promise.all(Ae(n).map(async d=>{let u=H(d)?await this.parseUtil(d,r,!0,i.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Mn(d.value),void 0,d.handles]];return!u&&this.config.warn&&Pp(`unmatched utility "${d}" in shortcut "${e[1]}"`),u||[]}))).flat(1).filter(Boolean).sort((d,u)=>d[0]-u[0]),[a,,l]=e,c=[];for(let d of s){if(Al(d)){c.push([d[0],void 0,d[1],void 0,d[2],r,void 0]);continue}let{selector:u,entries:h,parent:m,sort:g,noMerge:b,layer:v}=this.applyVariants(d,[...d[4],...l],a);o.getFallback(v??i.layer,new go).getFallback(u,m,[[],d[0]])[0].push([h,!!(b??d[3]?.noMerge),g??0])}return c.concat(o.flatMap((d,u)=>d.map(([h,m],g,b)=>{let v=($,C,E)=>{let k=Math.max(...E.map(_=>_[1])),T=E.map(_=>_[0]);return($?[T.flat(1)]:T).map(_=>{let P=po(_);if(P)return[m,g,P,b,{...i,noMerge:C,sort:k,layer:u},r,void 0]})};return[[h.filter(([,$])=>$).map(([$,,C])=>[$,C]),!0],[h.filter(([,$])=>!$).map(([$,,C])=>[$,C]),!1]].map(([$,C])=>[...v(!1,C,$.filter(([E])=>E.some(k=>k[0]===J.shortcutsNoMerge))),...v(!0,C,$.filter(([E])=>E.every(k=>k[0]!==J.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):H(r)?r===e:r.test(e))}getBlocked(e){let r=this.config.blocklist.find(n=>{let i=Array.isArray(n)?n[0]:n;return typeof i=="function"?i(e):H(i)?i===e:i.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function Bl(t,e){return await yo.create(t,e)}var Ul=/\s\$\$\s+/g;function Vp(t){return Ul.test(t)}function jp(t,e){return Vp(t)?t.replace(Ul,e?` ${e} `:" "):e?`${e} ${t}`:t}var Fl=/^\[(.+?)(~?=)"(.*)"\]$/;function Wp(t){return Fl.test(t)?t.replace(Fl,(e,r,n,i)=>`[${ho(r)}${n}"${ho(i)}"]`):`.${ho(t)}`}function qp(t,e){return e(t)}function Bp(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 Up(t,e,r,n){for(let i of Array.from(t.matchAll(r)))if(i!=null){let o=i[0],s=`${n}${Bp(o)}`;e.set(s,o),t=t.replace(o,s)}return t}function Hp(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var Zp=/\/\/#\s*sourceMappingURL=.*\n?/g;function Gp(t){return t.includes("sourceMappingURL=")?t.replace(Zp,""):t}var Yp=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Jp=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Kp=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Xp(t){let e=[];for(let i of t.matchAll(Jp))i.index!==0&&!/^[\s'"`]/.test(t[i.index-1]??"")||e.push(i[0]);for(let i of t.matchAll(Yp))e.push(i[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=Up(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(vo).forEach(i=>{i.includes(n)&&(i=Hp(i,r)),Vl(i)&&!Kp.test(i)&&e.push(i)}),e}function Hl(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return Xp(Gp(t))}}}var Qp=44,em=59,Zl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Jl=new Uint8Array(64),tm=new Uint8Array(128);for(let t=0;t<Zl.length;t++){let e=Zl.charCodeAt(t);Jl[t]=e,tm[e]=t}function Mr(t,e,r){let n=e-r;n=n<0?-n<<1|1:n<<1;do{let i=n&31;n>>>=5,n>0&&(i|=32),t.write(Jl[i])}while(n>0);return e}var Gl=1024*16,Yl=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}},rm=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Gl)}write(t){let{buffer:e}=this;e[this.pos++]=t,this.pos===Gl&&(this.out+=Yl.decode(e),this.pos=0)}flush(){let{buffer:t,out:e,pos:r}=this;return r>0?e+Yl.decode(t.subarray(0,r)):e}};function Kl(t){let e=new rm,r=0,n=0,i=0,o=0;for(let s=0;s<t.length;s++){let a=t[s];if(s>0&&e.write(em),a.length===0)continue;let l=0;for(let c=0;c<a.length;c++){let d=a[c];c>0&&e.write(Qp),l=Mr(e,d[0],l),d.length!==1&&(r=Mr(e,d[1],r),n=Mr(e,d[2],n),i=Mr(e,d[3],i),d.length!==4&&(o=Mr(e,d[4],o)))}}return e.flush()}var Tn=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))}},Ln=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),i=this.original.slice(r);this.original=n;let o=new t(e,this.end,i);return o.outro=this.outro,this.outro="",this.end=e,this.edited?(o.edit("",!1),this.content=""):this.content=n,o.next=this.next,o.next&&(o.next.previous=o),o.previous=this,this.next=o,o}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 nm(){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 im=nm(),ko=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=Kl(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,"+im(this.toString())}};function om(t){let e=t.split(`
25
- `),r=e.filter(o=>/^\t+/.test(o)),n=e.filter(o=>/^ {2,}/.test(o));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let i=n.reduce((o,s)=>{let a=/^ +/.exec(s)[0].length;return Math.min(a,o)},1/0);return new Array(i+1).join(" ")}function sm(t,e){let r=t.split(/[/\\]/),n=e.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let i=r.length;for(;i--;)r[i]=".."}return r.concat(n).join("/")}var am=Object.prototype.toString;function lm(t){return am.call(t)==="[object Object]"}function Xl(t){let e=t.split(`
26
- `),r=[];for(let n=0,i=0;n<e.length;n++)r.push(i),i+=e[n].length+1;return function(i){let o=0,s=r.length;for(;o<s;){let c=o+s>>1;i<r[c]?s=c:o=c+1}let a=o-1,l=i-r[a];return{line:a,column:l}}}var cm=/\w/,wo=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,i){if(r.length){let o=r.length-1,s=r.indexOf(`
23
+ `.trim()},blockValue:function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var i=this.popStack();n.splice(1,0,i),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,i){var o=0;!i&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[o++])):this.pushContext(),this.resolvePath("context",e,o,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,i,o){var s=this;if(this.options.strict||this.options.assumeObjects){this.push(hv(this.options.strict&&o,this,r,n,e));return}for(var a=r.length;n<a;n++)this.replaceStack(function(l){var c=s.nameLookup(l,r[n],e);return i?[" && ",c]:[" != null ? ",c," : ",l]})},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"),i=this.setupHelperArgs(r,e);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",i])," || fn;"])},invokeHelper:function(e,r,n){var i=this.popStack(),o=this.setupHelper(e,r),s=[];n&&s.push(o.name),s.push(i),this.options.strict||s.push(this.aliasable("container.hooks.helperMissing"));var a=["(",this.itemsSeparatedBy(s,"||"),")"],l=this.source.functionCall(a,"call",o.callParams);this.push(l)},itemsSeparatedBy:function(e,r){var n=[];n.push(e[0]);for(var i=1;i<e.length;i++)n.push(r,e[i]);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 i=this.setupHelper(0,e,r),o=this.lastHelper=this.nameLookup("helpers",e,"helper"),s=["(","(helper = ",o," || ",n,")"];this.options.strict||(s[0]="(helper = ",s.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",s,i.paramsInit?["),(",i.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",i.callParams)," : helper))"])},invokePartial:function(e,r,n){var i=[],o=this.setupParams(r,1,i);e&&(r=this.popStack(),delete o.name),n&&(o.indent=JSON.stringify(n)),o.helpers="helpers",o.partials="partials",o.decorators="container.decorators",e?i.unshift(r):i.unshift(this.nameLookup("partials",r,"partial")),this.options.compat&&(o.depths="depths"),o=this.objectLiteral(o),i.push(o),this.push(this.source.functionCall("container.invokePartial","",i))},assignToHash:function(e){var r=this.popStack(),n=void 0,i=void 0,o=void 0;this.trackIds&&(o=this.popStack()),this.stringParams&&(i=this.popStack(),n=this.popStack());var s=this.hash;n&&(s.contexts[e]=n),i&&(s.types[e]=i),o&&(s.ids[e]=o),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:mr,compileChildren:function(e,r){for(var n=e.children,i=void 0,o=void 0,s=0,a=n.length;s<a;s++){i=n[s],o=new this.compiler;var l=this.matchExistingProgram(i);if(l==null){this.context.programs.push("");var c=this.context.programs.length;i.index=c,i.name="program"+c,this.context.programs[c]=o.compile(i,r,this.context,!this.precompile),this.context.decorators[c]=o.decorators,this.context.environments[c]=i,this.useDepths=this.useDepths||o.useDepths,this.useBlockParams=this.useBlockParams||o.useBlockParams,i.useDepths=this.useDepths,i.useBlockParams=this.useBlockParams}else i.index=l.index,i.name="program"+l.index,this.useDepths=this.useDepths||l.useDepths,this.useBlockParams=this.useBlockParams||l.useBlockParams}},matchExistingProgram:function(e){for(var r=0,n=this.context.environments.length;r<n;r++){var i=this.context.environments[r];if(i&&i.equals(e))return i}},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 pr||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new pr(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,i=void 0,o=void 0;if(!this.isInline())throw new Ws.default("replaceStack on non-inline");var s=this.popStack(!0);if(s instanceof pr)n=[s.value],r=["(",n],o=!0;else{i=!0;var a=this.incrStack();r=["((",this.push(a)," = ",s,")"],n=this.topStack()}var l=e.call(this,n);o||this.popStack(),i&&this.stackSlot--,this.push(r.concat(l,")"))},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 i=e[r];if(i instanceof pr)this.compileStack.push(i);else{var o=this.incrStack();this.pushSource([o," = ",i,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var r=this.isInline(),n=(r?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof pr)return n.value;if(!r){if(!this.stackSlot)throw new Ws.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 pr?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 i=[],o=this.setupHelperArgs(r,e,i,n),s=this.nameLookup("helpers",r,"helper"),a=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:i,paramsInit:o,name:s,callParams:[a].concat(i)}},setupParams:function(e,r,n){var i={},o=[],s=[],a=[],l=!n,c=void 0;l&&(n=[]),i.name=this.quotedString(e),i.hash=this.popStack(),this.trackIds&&(i.hashIds=this.popStack()),this.stringParams&&(i.hashTypes=this.popStack(),i.hashContexts=this.popStack());var d=this.popStack(),u=this.popStack();(u||d)&&(i.fn=u||"container.noop",i.inverse=d||"container.noop");for(var p=r;p--;)c=this.popStack(),n[p]=c,this.trackIds&&(a[p]=this.popStack()),this.stringParams&&(s[p]=this.popStack(),o[p]=this.popStack());return l&&(i.args=this.source.generateArray(n)),this.trackIds&&(i.ids=this.source.generateArray(a)),this.stringParams&&(i.types=this.source.generateArray(s),i.contexts=this.source.generateArray(o)),this.options.data&&(i.data="data"),this.useBlockParams&&(i.blockParams="blockParams"),i},setupHelperArgs:function(e,r,n,i){var o=this.setupParams(e,r,n);return o.loc=JSON.stringify(this.source.currentLocation),o=this.objectLiteral(o),i?(this.useRegister("options"),n.push("options"),["options=",o]):n?(n.push(o),""):o}};(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=mr.RESERVED_WORDS={},r=0,n=t.length;r<n;r++)e[t[r]]=!0})();mr.isValidJavaScriptVariableName=function(t){return!mr.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)};function hv(t,e,r,n,i){var o=e.popStack(),s=r.length;for(t&&s--;n<s;n++)o=e.nameLookup(o,r[n],i);return t?[e.aliasable("container.strict"),"(",o,", ",e.quotedString(r[n]),", ",JSON.stringify(e.source.currentLocation)," )"]:o}xi.default=mr;Qf.exports=xi.default});var nd=A((Si,rd)=>{"use strict";Si.__esModule=!0;function tn(t){return t&&t.__esModule?t:{default:t}}var pv=nf(),mv=tn(pv),gv=vs(),bv=tn(gv),qs=bf(),Bs=wf(),yv=ed(),vv=tn(yv),kv=hi(),wv=tn(kv),xv=ms(),Sv=tn(xv),$v=mv.default.create;function td(){var t=$v();return t.compile=function(e,r){return Bs.compile(e,r,t)},t.precompile=function(e,r){return Bs.precompile(e,r,t)},t.AST=bv.default,t.Compiler=Bs.Compiler,t.JavaScriptCompiler=vv.default,t.Parser=qs.parser,t.parse=qs.parse,t.parseWithoutProcessing=qs.parseWithoutProcessing,t}var gr=td();gr.create=td;Sv.default(gr);gr.Visitor=wv.default;gr.default=gr;Si.default=gr;rd.exports=Si.default});var id=A($i=>{"use strict";$i.__esModule=!0;$i.print=Ov;$i.PrintVisitor=Z;function _v(t){return t&&t.__esModule?t:{default:t}}var Cv=hi(),Ev=_v(Cv);function Ov(t){return new Z().accept(t)}function Z(){this.padding=0}Z.prototype=new Ev.default;Z.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r<n;r++)e+=" ";return e+=t+`
24
+ `,e};Z.prototype.Program=function(t){var e="",r=t.body,n=void 0,i=void 0;if(t.blockParams){var o="BLOCK PARAMS: [";for(n=0,i=t.blockParams.length;n<i;n++)o+=" "+t.blockParams[n];o+=" ]",e+=this.pad(o)}for(n=0,i=r.length;n<i;n++)e+=this.accept(r[n]);return this.padding--,e};Z.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};Z.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};Z.prototype.BlockStatement=Z.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};Z.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+" }}")};Z.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+" }}")};Z.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};Z.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};Z.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,i=0,o=e.length;i<o;i++)r.push(this.accept(e[i]));return e="["+r.join(", ")+"]",n=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+n};Z.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};Z.prototype.StringLiteral=function(t){return'"'+t.value+'"'};Z.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};Z.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};Z.prototype.UndefinedLiteral=function(){return"UNDEFINED"};Z.prototype.NullLiteral=function(){return"NULL"};Z.prototype.Hash=function(t){for(var e=t.pairs,r=[],n=0,i=e.length;n<i;n++)r.push(this.accept(e[n]));return"HASH{"+r.join(", ")+"}"};Z.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var Us=A((Iw,ad)=>{var _i=nd().default,sd=id();_i.PrintVisitor=sd.PrintVisitor;_i.print=sd.print;ad.exports=_i;function od(t,e){var r=It("fs"),n=r.readFileSync(e,"utf8");t.exports=_i.compile(n)}typeof It<"u"&&It.extensions&&(It.extensions[".handlebars"]=od,It.extensions[".hbs"]=od)});var yr=class extends Error{name="BaseThrowable";constructor(e,r=null){super(e),r&&(this.stack=r)}},ie=class extends yr{name="BaseError"},nt=class extends yr{name="BaseWarning"},Rt=class extends yr{name="PotentialLoopError"};var Ze=class extends Error{},ji=class extends Ze{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},Wi=class extends Ze{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},qi=class extends Ze{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},st=class extends Ze{},pn=class extends Ze{constructor(e){super(`Invalid unit ${e}`)}},te=class extends Ze{},Ve=class extends Ze{constructor(){super("Zone is an abstract class")}},x="numeric",Ae="short",pe="long",mn={year:x,month:x,day:x},za={year:x,month:Ae,day:x},Dd={year:x,month:Ae,day:x,weekday:Ae},Fa={year:x,month:pe,day:x},Va={year:x,month:pe,day:x,weekday:pe},ja={hour:x,minute:x},Wa={hour:x,minute:x,second:x},qa={hour:x,minute:x,second:x,timeZoneName:Ae},Ba={hour:x,minute:x,second:x,timeZoneName:pe},Ua={hour:x,minute:x,hourCycle:"h23"},Ha={hour:x,minute:x,second:x,hourCycle:"h23"},Ga={hour:x,minute:x,second:x,hourCycle:"h23",timeZoneName:Ae},Za={hour:x,minute:x,second:x,hourCycle:"h23",timeZoneName:pe},Ya={year:x,month:x,day:x,hour:x,minute:x},Ja={year:x,month:x,day:x,hour:x,minute:x,second:x},Ka={year:x,month:Ae,day:x,hour:x,minute:x},Xa={year:x,month:Ae,day:x,hour:x,minute:x,second:x},Id={year:x,month:Ae,day:x,weekday:Ae,hour:x,minute:x},Qa={year:x,month:pe,day:x,hour:x,minute:x,timeZoneName:Ae},el={year:x,month:pe,day:x,hour:x,minute:x,second:x,timeZoneName:Ae},tl={year:x,month:pe,day:x,weekday:pe,hour:x,minute:x,timeZoneName:pe},rl={year:x,month:pe,day:x,weekday:pe,hour:x,minute:x,second:x,timeZoneName:pe},yt=class{get type(){throw new Ve}get name(){throw new Ve}get ianaName(){return this.name}get isUniversal(){throw new Ve}offsetName(e,r){throw new Ve}formatOffset(e,r){throw new Ve}offset(e){throw new Ve}equals(e){throw new Ve}get isValid(){throw new Ve}},Ai=null,gn=class t extends yt{static get instance(){return Ai===null&&(Ai=new t),Ai}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return hl(e,r,n)}formatOffset(e,r){return Sr(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}},Bi=new Map;function Rd(t){let e=Bi.get(t);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Bi.set(t,e)),e}var zd={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Fd(t,e){let r=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,i,o,s,a,l,c,d]=n;return[s,i,o,a,l,c,d]}function Vd(t,e){let r=t.formatToParts(e),n=[];for(let i=0;i<r.length;i++){let{type:o,value:s}=r[i],a=zd[o];o==="era"?n[a]=s:T(a)||(n[a]=parseInt(s,10))}return n}var Ni=new Map,lt=class t extends yt{static create(e){let r=Ni.get(e);return r===void 0&&Ni.set(e,r=new t(e)),r}static resetCache(){Ni.clear(),Bi.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=t.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return hl(e,r,n,this.name)}formatOffset(e,r){return Sr(this.offset(e),r)}offset(e){if(!this.valid)return NaN;let r=new Date(e);if(isNaN(r))return NaN;let n=Rd(this.name),[i,o,s,a,l,c,d]=n.formatToParts?Vd(n,r):Fd(n,r);a==="BC"&&(i=-Math.abs(i)+1);let p=xn({year:i,month:o,day:s,hour:l===24?0:l,minute:c,second:d,millisecond:0}),h=+r,g=h%1e3;return h-=g>=0?g:1e3+g,(p-h)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}},la={};function jd(t,e={}){let r=JSON.stringify([t,e]),n=la[r];return n||(n=new Intl.ListFormat(t,e),la[r]=n),n}var Ui=new Map;function Hi(t,e={}){let r=JSON.stringify([t,e]),n=Ui.get(r);return n===void 0&&(n=new Intl.DateTimeFormat(t,e),Ui.set(r,n)),n}var Gi=new Map;function Wd(t,e={}){let r=JSON.stringify([t,e]),n=Gi.get(r);return n===void 0&&(n=new Intl.NumberFormat(t,e),Gi.set(r,n)),n}var Zi=new Map;function qd(t,e={}){let{base:r,...n}=e,i=JSON.stringify([t,n]),o=Zi.get(i);return o===void 0&&(o=new Intl.RelativeTimeFormat(t,e),Zi.set(i,o)),o}var kr=null;function Bd(){return kr||(kr=new Intl.DateTimeFormat().resolvedOptions().locale,kr)}var Yi=new Map;function nl(t){let e=Yi.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Yi.set(t,e)),e}var Ji=new Map;function Ud(t){let e=Ji.get(t);if(!e){let r=new Intl.Locale(t);e="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in e||(e={...il,...e}),Ji.set(t,e)}return e}function Hd(t){let e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));let r=t.indexOf("-u-");if(r===-1)return[t];{let n,i;try{n=Hi(t).resolvedOptions(),i=t}catch{let l=t.substring(0,r);n=Hi(l).resolvedOptions(),i=l}let{numberingSystem:o,calendar:s}=n;return[i,o,s]}}function Gd(t,e,r){return(r||e)&&(t.includes("-u-")||(t+="-u"),r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function Zd(t){let e=[];for(let r=1;r<=12;r++){let n=z.utc(2009,r,1);e.push(t(n))}return e}function Yd(t){let e=[];for(let r=1;r<=7;r++){let n=z.utc(2016,11,13+r);e.push(t(n))}return e}function an(t,e,r,n){let i=t.listingMode();return i==="error"?null:i==="en"?r(e):n(e)}function Jd(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||nl(t.locale).numberingSystem==="latn"}var Ki=class{constructor(e,r,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;let{padTo:i,floor:o,...s}=n;if(!r||Object.keys(s).length>0){let a={useGrouping:!1,...n};n.padTo>0&&(a.minimumIntegerDigits=n.padTo),this.inf=Wd(e,a)}}format(e){if(this.inf){let r=this.floor?Math.floor(e):e;return this.inf.format(r)}else{let r=this.floor?Math.floor(e):co(e,3);return K(r,this.padTo)}}},Xi=class{constructor(e,r,n){this.opts=n,this.originalZone=void 0;let i;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){let s=-1*(e.offset/60),a=s>=0?`Etc/GMT+${s}`:`Etc/GMT${s}`;e.offset!==0&&lt.create(a).valid?(i=a,this.dt=e):(i="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,i=e.zone.name):(i="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let o={...this.opts};o.timeZone=o.timeZone||i,this.dtf=Hi(r,o)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(r=>{if(r.type==="timeZoneName"){let n=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:n}}else return r}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},Qi=class{constructor(e,r,n){this.opts={style:"long",...n},!r&&fl()&&(this.rtf=qd(e,n))}format(e,r){return this.rtf?this.rtf.format(e,r):bh(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}},il={firstDay:1,minimalDays:4,weekend:[6,7]},V=class t{static fromOpts(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,r,n,i,o=!1){let s=e||q.defaultLocale,a=s||(o?"en-US":Bd()),l=r||q.defaultNumberingSystem,c=n||q.defaultOutputCalendar,d=ro(i)||q.defaultWeekSettings;return new t(a,l,c,d,s)}static resetCache(){kr=null,Ui.clear(),Gi.clear(),Zi.clear(),Yi.clear(),Ji.clear()}static fromObject({locale:e,numberingSystem:r,outputCalendar:n,weekSettings:i}={}){return t.create(e,r,n,i)}constructor(e,r,n,i,o){let[s,a,l]=Hd(e);this.locale=s,this.numberingSystem=r||a||null,this.outputCalendar=n||l||null,this.weekSettings=i,this.intl=Gd(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=Jd(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,ro(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return an(this,e,gl,()=>{let n=this.intl==="ja"||this.intl.startsWith("ja-");r&=!n;let i=r?{month:e,day:"numeric"}:{month:e},o=r?"format":"standalone";if(!this.monthsCache[o][e]){let s=n?a=>this.dtFormatter(a,i).format():a=>this.extract(a,i,"month");this.monthsCache[o][e]=Zd(s)}return this.monthsCache[o][e]})}weekdays(e,r=!1){return an(this,e,vl,()=>{let n=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=r?"format":"standalone";return this.weekdaysCache[i][e]||(this.weekdaysCache[i][e]=Yd(o=>this.extract(o,n,"weekday"))),this.weekdaysCache[i][e]})}meridiems(){return an(this,void 0,()=>kl,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[z.utc(2016,11,13,9),z.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(e){return an(this,e,wl,()=>{let r={era:e};return this.eraCache[e]||(this.eraCache[e]=[z.utc(-40,1,1),z.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[e]})}extract(e,r,n){let i=this.dtFormatter(e,r),o=i.formatToParts(),s=o.find(a=>a.type.toLowerCase()===n);return s?s.value:null}numberFormatter(e={}){return new Ki(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new Xi(e,this.intl,r)}relFormatter(e={}){return new Qi(this.intl,this.isEnglish(),e)}listFormatter(e={}){return jd(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||nl(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:dl()?Ud(this.locale):il}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}},Pi=null,xe=class t extends yt{static get utcInstance(){return Pi===null&&(Pi=new t(0)),Pi}static instance(e){return e===0?t.utcInstance:new t(e)}static parseSpecifier(e){if(e){let r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new t(Sn(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Sr(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Sr(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return Sr(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}},eo=class extends yt{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function ot(t,e){if(T(t)||t===null)return e;if(t instanceof yt)return t;if(rh(t)){let r=t.toLowerCase();return r==="default"?e:r==="local"||r==="system"?gn.instance:r==="utc"||r==="gmt"?xe.utcInstance:xe.parseSpecifier(r)||lt.create(t)}else return at(t)?xe.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new eo(t)}var oo={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},ca={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Kd=oo.hanidec.replace(/[\[|\]]/g,"").split("");function Xd(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(t[r].search(oo.hanidec)!==-1)e+=Kd.indexOf(t[r]);else for(let i in ca){let[o,s]=ca[i];n>=o&&n<=s&&(e+=n-o)}}return parseInt(e,10)}else return e}var to=new Map;function Qd(){to.clear()}function Te({numberingSystem:t},e=""){let r=t||"latn",n=to.get(r);n===void 0&&(n=new Map,to.set(r,n));let i=n.get(e);return i===void 0&&(i=new RegExp(`${oo[r]}${e}`),n.set(e,i)),i}var ua=()=>Date.now(),fa="system",da=null,ha=null,pa=null,ma=60,ga,ba=null,q=class{static get now(){return ua}static set now(e){ua=e}static set defaultZone(e){fa=e}static get defaultZone(){return ot(fa,gn.instance)}static get defaultLocale(){return da}static set defaultLocale(e){da=e}static get defaultNumberingSystem(){return ha}static set defaultNumberingSystem(e){ha=e}static get defaultOutputCalendar(){return pa}static set defaultOutputCalendar(e){pa=e}static get defaultWeekSettings(){return ba}static set defaultWeekSettings(e){ba=ro(e)}static get twoDigitCutoffYear(){return ma}static set twoDigitCutoffYear(e){ma=e%100}static get throwOnInvalid(){return ga}static set throwOnInvalid(e){ga=e}static resetCaches(){V.resetCache(),lt.resetCache(),z.resetCache(),Qd()}},he=class{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}},ol=[0,31,59,90,120,151,181,212,243,273,304,334],sl=[0,31,60,91,121,152,182,213,244,274,305,335];function ke(t,e){return new he("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function so(t,e,r){let n=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let i=n.getUTCDay();return i===0?7:i}function al(t,e,r){return r+(_r(t)?sl:ol)[e-1]}function ll(t,e){let r=_r(t)?sl:ol,n=r.findIndex(o=>o<e),i=e-r[n];return{month:n+1,day:i}}function ao(t,e){return(t-e+7)%7+1}function bn(t,e=4,r=1){let{year:n,month:i,day:o}=t,s=al(n,i,o),a=ao(so(n,i,o),r),l=Math.floor((s-a+14-e)/7),c;return l<1?(c=n-1,l=$r(c,e,r)):l>$r(n,e,r)?(c=n+1,l=1):c=n,{weekYear:c,weekNumber:l,weekday:a,...$n(t)}}function ya(t,e=4,r=1){let{weekYear:n,weekNumber:i,weekday:o}=t,s=ao(so(n,1,e),r),a=Wt(n),l=i*7+o-s-7+e,c;l<1?(c=n-1,l+=Wt(c)):l>a?(c=n+1,l-=Wt(n)):c=n;let{month:d,day:u}=ll(c,l);return{year:c,month:d,day:u,...$n(t)}}function Di(t){let{year:e,month:r,day:n}=t,i=al(e,r,n);return{year:e,ordinal:i,...$n(t)}}function va(t){let{year:e,ordinal:r}=t,{month:n,day:i}=ll(e,r);return{year:e,month:n,day:i,...$n(t)}}function ka(t,e){if(!T(t.localWeekday)||!T(t.localWeekNumber)||!T(t.localWeekYear)){if(!T(t.weekday)||!T(t.weekNumber)||!T(t.weekYear))throw new st("Cannot mix locale-based week fields with ISO-based week fields");return T(t.localWeekday)||(t.weekday=t.localWeekday),T(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),T(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function eh(t,e=4,r=1){let n=wn(t.weekYear),i=we(t.weekNumber,1,$r(t.weekYear,e,r)),o=we(t.weekday,1,7);return n?i?o?!1:ke("weekday",t.weekday):ke("week",t.weekNumber):ke("weekYear",t.weekYear)}function th(t){let e=wn(t.year),r=we(t.ordinal,1,Wt(t.year));return e?r?!1:ke("ordinal",t.ordinal):ke("year",t.year)}function cl(t){let e=wn(t.year),r=we(t.month,1,12),n=we(t.day,1,yn(t.year,t.month));return e?r?n?!1:ke("day",t.day):ke("month",t.month):ke("year",t.year)}function ul(t){let{hour:e,minute:r,second:n,millisecond:i}=t,o=we(e,0,23)||e===24&&r===0&&n===0&&i===0,s=we(r,0,59),a=we(n,0,59),l=we(i,0,999);return o?s?a?l?!1:ke("millisecond",i):ke("second",n):ke("minute",r):ke("hour",e)}function T(t){return typeof t>"u"}function at(t){return typeof t=="number"}function wn(t){return typeof t=="number"&&t%1===0}function rh(t){return typeof t=="string"}function nh(t){return Object.prototype.toString.call(t)==="[object Date]"}function fl(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function dl(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function ih(t){return Array.isArray(t)?t:[t]}function wa(t,e,r){if(t.length!==0)return t.reduce((n,i)=>{let o=[e(i),i];return n&&r(n[0],o[0])===n[0]?n:o},null)[1]}function oh(t,e){return e.reduce((r,n)=>(r[n]=t[n],r),{})}function Ut(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ro(t){if(t==null)return null;if(typeof t!="object")throw new te("Week settings must be an object");if(!we(t.firstDay,1,7)||!we(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!we(e,1,7)))throw new te("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function we(t,e,r){return wn(t)&&t>=e&&t<=r}function sh(t,e){return t-e*Math.floor(t/e)}function K(t,e=2){let r=t<0,n;return r?n="-"+(""+-t).padStart(e,"0"):n=(""+t).padStart(e,"0"),n}function it(t){if(!(T(t)||t===null||t===""))return parseInt(t,10)}function mt(t){if(!(T(t)||t===null||t===""))return parseFloat(t)}function lo(t){if(!(T(t)||t===null||t==="")){let e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function co(t,e,r="round"){let n=10**e;switch(r){case"expand":return t>0?Math.ceil(t*n)/n:Math.floor(t*n)/n;case"trunc":return Math.trunc(t*n)/n;case"round":return Math.round(t*n)/n;case"floor":return Math.floor(t*n)/n;case"ceil":return Math.ceil(t*n)/n;default:throw new RangeError(`Value rounding ${r} is out of range`)}}function _r(t){return t%4===0&&(t%100!==0||t%400===0)}function Wt(t){return _r(t)?366:365}function yn(t,e){let r=sh(e-1,12)+1,n=t+(e-r)/12;return r===2?_r(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function xn(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function xa(t,e,r){return-ao(so(t,1,e),r)+e-1}function $r(t,e=4,r=1){let n=xa(t,e,r),i=xa(t+1,e,r);return(Wt(t)-n+i)/7}function no(t){return t>99?t:t>q.twoDigitCutoffYear?1900+t:2e3+t}function hl(t,e,r,n=null){let i=new Date(t),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(o.timeZone=n);let s={timeZoneName:e,...o},a=new Intl.DateTimeFormat(r,s).formatToParts(i).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function Sn(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);let n=parseInt(e,10)||0,i=r<0||Object.is(r,-0)?-n:n;return r*60+i}function pl(t){let e=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(e))throw new te(`Invalid unit value ${t}`);return e}function vn(t,e){let r={};for(let n in t)if(Ut(t,n)){let i=t[n];if(i==null)continue;r[e(n)]=pl(i)}return r}function Sr(t,e){let r=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return`${i}${K(r,2)}:${K(n,2)}`;case"narrow":return`${i}${r}${n>0?`:${n}`:""}`;case"techie":return`${i}${K(r,2)}${K(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function $n(t){return oh(t,["hour","minute","second","millisecond"])}var ah=["January","February","March","April","May","June","July","August","September","October","November","December"],ml=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],lh=["J","F","M","A","M","J","J","A","S","O","N","D"];function gl(t){switch(t){case"narrow":return[...lh];case"short":return[...ml];case"long":return[...ah];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var bl=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],yl=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ch=["M","T","W","T","F","S","S"];function vl(t){switch(t){case"narrow":return[...ch];case"short":return[...yl];case"long":return[...bl];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var kl=["AM","PM"],uh=["Before Christ","Anno Domini"],fh=["BC","AD"],dh=["B","A"];function wl(t){switch(t){case"narrow":return[...dh];case"short":return[...fh];case"long":return[...uh];default:return null}}function hh(t){return kl[t.hour<12?0:1]}function ph(t,e){return vl(e)[t.weekday-1]}function mh(t,e){return gl(e)[t.month-1]}function gh(t,e){return wl(e)[t.year<0?0:1]}function bh(t,e,r="always",n=!1){let i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&o){let u=t==="days";switch(e){case 1:return u?"tomorrow":`next ${i[t][0]}`;case-1:return u?"yesterday":`last ${i[t][0]}`;case 0:return u?"today":`this ${i[t][0]}`}}let s=Object.is(e,-0)||e<0,a=Math.abs(e),l=a===1,c=i[t],d=n?l?c[1]:c[2]||c[1]:l?i[t][0]:t;return s?`${a} ${d} ago`:`in ${a} ${d}`}function Sa(t,e){let r="";for(let n of t)n.literal?r+=n.val:r+=e(n.val);return r}var yh={D:mn,DD:za,DDD:Fa,DDDD:Va,t:ja,tt:Wa,ttt:qa,tttt:Ba,T:Ua,TT:Ha,TTT:Ga,TTTT:Za,f:Ya,ff:Ka,fff:Qa,ffff:tl,F:Ja,FF:Xa,FFF:el,FFFF:rl},de=class t{static create(e,r={}){return new t(e,r)}static parseFormat(e){let r=null,n="",i=!1,o=[];for(let s=0;s<e.length;s++){let a=e.charAt(s);a==="'"?((n.length>0||i)&&o.push({literal:i||/^\s+$/.test(n),val:n===""?"'":n}),r=null,n="",i=!i):i||a===r?n+=a:(n.length>0&&o.push({literal:/^\s+$/.test(n),val:n}),n=a,r=a)}return n.length>0&&o.push({literal:i||/^\s+$/.test(n),val:n}),o}static macroTokenToFormatOpts(e){return yh[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}dtFormatter(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r})}formatDateTime(e,r){return this.dtFormatter(e,r).format()}formatDateTimeParts(e,r){return this.dtFormatter(e,r).formatToParts()}formatInterval(e,r){return this.dtFormatter(e.start,r).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,r){return this.dtFormatter(e,r).resolvedOptions()}num(e,r=0,n=void 0){if(this.opts.forceSimple)return K(e,r);let i={...this.opts};return r>0&&(i.padTo=r),n&&(i.signDisplay=n),this.loc.numberFormatter(i).format(e)}formatDateTimeFromString(e,r){let n=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(h,g)=>this.loc.extract(e,h,g),s=h=>e.isOffsetFixed&&e.offset===0&&h.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,h.format):"",a=()=>n?hh(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(h,g)=>n?mh(e,h):o(g?{month:h}:{month:h,day:"numeric"},"month"),c=(h,g)=>n?ph(e,h):o(g?{weekday:h}:{weekday:h,month:"long",day:"numeric"},"weekday"),d=h=>{let g=t.macroTokenToFormatOpts(h);return g?this.formatWithSystemDefault(e,g):h},u=h=>n?gh(e,h):o({era:h},"era"),p=h=>{switch(h){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return a();case"d":return i?o({day:"numeric"},"day"):this.num(e.day);case"dd":return i?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return i?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return i?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return i?o({month:"numeric"},"month"):this.num(e.month);case"MM":return i?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return i?o({year:"numeric"},"year"):this.num(e.year);case"yy":return i?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return i?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return i?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return u("short");case"GG":return u("long");case"GGGGG":return u("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return d(h)}};return Sa(t.parseFormat(r),p)}formatDurationFromString(e,r){let n=this.opts.signMode==="negativeLargestOnly"?-1:1,i=d=>{switch(d[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},o=(d,u)=>p=>{let h=i(p);if(h){let g=u.isNegativeDuration&&h!==u.largestUnit?n:1,b;return this.opts.signMode==="negativeLargestOnly"&&h!==u.largestUnit?b="never":this.opts.signMode==="all"?b="always":b="auto",this.num(d.get(h)*g,p.length,b)}else return p},s=t.parseFormat(r),a=s.reduce((d,{literal:u,val:p})=>u?d:d.concat(p),[]),l=e.shiftTo(...a.map(i).filter(d=>d)),c={isNegativeDuration:l<0,largestUnit:Object.keys(l.values)[0]};return Sa(s,o(l,c))}},xl=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ht(...t){let e=t.reduce((r,n)=>r+n.source,"");return RegExp(`^${e}$`)}function Gt(...t){return e=>t.reduce(([r,n,i],o)=>{let[s,a,l]=o(e,i);return[{...r,...s},a||n,l]},[{},null,1]).slice(0,2)}function Zt(t,...e){if(t==null)return[null,null];for(let[r,n]of e){let i=r.exec(t);if(i)return n(i)}return[null,null]}function Sl(...t){return(e,r)=>{let n={},i;for(i=0;i<t.length;i++)n[t[i]]=it(e[r+i]);return[n,null,r+i]}}var $l=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,vh=`(?:${$l.source}?(?:\\[(${xl.source})\\])?)?`,uo=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_l=RegExp(`${uo.source}${vh}`),fo=RegExp(`(?:[Tt]${_l.source})?`),kh=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,wh=/(\d{4})-?W(\d\d)(?:-?(\d))?/,xh=/(\d{4})-?(\d{3})/,Sh=Sl("weekYear","weekNumber","weekDay"),$h=Sl("year","ordinal"),_h=/(\d{4})-(\d\d)-(\d\d)/,Cl=RegExp(`${uo.source} ?(?:${$l.source}|(${xl.source}))?`),Ch=RegExp(`(?: ${Cl.source})?`);function qt(t,e,r){let n=t[e];return T(n)?r:it(n)}function Eh(t,e){return[{year:qt(t,e),month:qt(t,e+1,1),day:qt(t,e+2,1)},null,e+3]}function Yt(t,e){return[{hours:qt(t,e,0),minutes:qt(t,e+1,0),seconds:qt(t,e+2,0),milliseconds:lo(t[e+3])},null,e+4]}function Cr(t,e){let r=!t[e]&&!t[e+1],n=Sn(t[e+1],t[e+2]),i=r?null:xe.instance(n);return[{},i,e+3]}function Er(t,e){let r=t[e]?lt.create(t[e]):null;return[{},r,e+1]}var Oh=RegExp(`^T?${uo.source}$`),Mh=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Th(t){let[e,r,n,i,o,s,a,l,c]=t,d=e[0]==="-",u=l&&l[0]==="-",p=(h,g=!1)=>h!==void 0&&(g||h&&d)?-h:h;return[{years:p(mt(r)),months:p(mt(n)),weeks:p(mt(i)),days:p(mt(o)),hours:p(mt(s)),minutes:p(mt(a)),seconds:p(mt(l),l==="-0"),milliseconds:p(lo(c),u)}]}var Lh={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ho(t,e,r,n,i,o,s){let a={year:e.length===2?no(it(e)):it(e),month:ml.indexOf(r)+1,day:it(n),hour:it(i),minute:it(o)};return s&&(a.second=it(s)),t&&(a.weekday=t.length>3?bl.indexOf(t)+1:yl.indexOf(t)+1),a}var Ah=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Nh(t){let[,e,r,n,i,o,s,a,l,c,d,u]=t,p=ho(e,i,n,r,o,s,a),h;return l?h=Lh[l]:c?h=0:h=Sn(d,u),[p,new xe(h)]}function Ph(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var Dh=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ih=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Rh=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function $a(t){let[,e,r,n,i,o,s,a]=t;return[ho(e,i,n,r,o,s,a),xe.utcInstance]}function zh(t){let[,e,r,n,i,o,s,a]=t;return[ho(e,a,r,n,i,o,s),xe.utcInstance]}var Fh=Ht(kh,fo),Vh=Ht(wh,fo),jh=Ht(xh,fo),Wh=Ht(_l),El=Gt(Eh,Yt,Cr,Er),qh=Gt(Sh,Yt,Cr,Er),Bh=Gt($h,Yt,Cr,Er),Uh=Gt(Yt,Cr,Er);function Hh(t){return Zt(t,[Fh,El],[Vh,qh],[jh,Bh],[Wh,Uh])}function Gh(t){return Zt(Ph(t),[Ah,Nh])}function Zh(t){return Zt(t,[Dh,$a],[Ih,$a],[Rh,zh])}function Yh(t){return Zt(t,[Mh,Th])}var Jh=Gt(Yt);function Kh(t){return Zt(t,[Oh,Jh])}var Xh=Ht(_h,Ch),Qh=Ht(Cl),ep=Gt(Yt,Cr,Er);function tp(t){return Zt(t,[Xh,El],[Qh,ep])}var _a="Invalid Duration",Ol={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},rp={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...Ol},ve=146097/400,zt=146097/4800,np={years:{quarters:4,months:12,weeks:ve/7,days:ve,hours:ve*24,minutes:ve*24*60,seconds:ve*24*60*60,milliseconds:ve*24*60*60*1e3},quarters:{months:3,weeks:ve/28,days:ve/4,hours:ve*24/4,minutes:ve*24*60/4,seconds:ve*24*60*60/4,milliseconds:ve*24*60*60*1e3/4},months:{weeks:zt/7,days:zt,hours:zt*24,minutes:zt*24*60,seconds:zt*24*60*60,milliseconds:zt*24*60*60*1e3},...Ol},bt=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],ip=bt.slice(0).reverse();function Ge(t,e,r=!1){let n={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new re(n)}function Ml(t,e){let r=e.milliseconds??0;for(let n of ip.slice(1))e[n]&&(r+=e[n]*t[n].milliseconds);return r}function Ca(t,e){let r=Ml(t,e)<0?-1:1;bt.reduceRight((n,i)=>{if(T(e[i]))return n;if(n){let o=e[n]*r,s=t[i][n],a=Math.floor(o/s);e[i]+=a*r,e[n]-=a*s*r}return i},null),bt.reduce((n,i)=>{if(T(e[i]))return n;if(n){let o=e[n]%1;e[n]-=o,e[i]+=o*t[n][i]}return i},null)}function Ea(t){let e={};for(let[r,n]of Object.entries(t))n!==0&&(e[r]=n);return e}var re=class t{constructor(e){let r=e.conversionAccuracy==="longterm"||!1,n=r?np:rp;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||V.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,r){return t.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new te(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new t({values:vn(e,t.normalizeUnit),loc:V.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(e){if(at(e))return t.fromMillis(e);if(t.isDuration(e))return e;if(typeof e=="object")return t.fromObject(e);throw new te(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){let[n]=Yh(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){let[n]=Kh(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new te("need to specify a reason the Duration is invalid");let n=e instanceof he?e:new he(e,r);if(q.throwOnInvalid)throw new qi(n);return new t({invalid:n})}static normalizeUnit(e){let r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!r)throw new pn(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){let n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?de.create(this.loc,n).formatDurationFromString(this,e):_a}toHuman(e={}){if(!this.isValid)return _a;let r=e.showZeros!==!1,n=bt.map(i=>{let o=this.values[i];return T(o)||o===0&&!r?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:i.slice(0,-1)}).format(o)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=co(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let r=this.toMillis();return r<0||r>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},z.fromMillis(r,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Ml(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e),n={};for(let i of bt)(Ut(r.values,i)||Ut(this.values,i))&&(n[i]=r.get(i)+this.get(i));return Ge(this,{values:n},!0)}minus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;let r={};for(let n of Object.keys(this.values))r[n]=pl(e(this.values[n],n));return Ge(this,{values:r},!0)}get(e){return this[t.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let r={...this.values,...vn(e,t.normalizeUnit)};return Ge(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:n,matrix:i}={}){let s={loc:this.loc.clone({locale:e,numberingSystem:r}),matrix:i,conversionAccuracy:n};return Ge(this,s)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return Ca(this.matrix,e),Ge(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=Ea(this.normalize().shiftToAll().toObject());return Ge(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(s=>t.normalizeUnit(s));let r={},n={},i=this.toObject(),o;for(let s of bt)if(e.indexOf(s)>=0){o=s;let a=0;for(let c in n)a+=this.matrix[c][s]*n[c],n[c]=0;at(i[s])&&(a+=i[s]);let l=Math.trunc(a);r[s]=l,n[s]=(a*1e3-l*1e3)/1e3}else at(i[s])&&(n[s]=i[s]);for(let s in n)n[s]!==0&&(r[o]+=s===o?n[s]:n[s]/this.matrix[o][s]);return Ca(this.matrix,r),Ge(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return Ge(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;let e=Ea(this.values);return Ge(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(n,i){return n===void 0||n===0?i===void 0||i===0:n===i}for(let n of bt)if(!r(this.values[n],e.values[n]))return!1;return!0}},Ft="Invalid Interval";function op(t,e){return!t||!t.isValid?Bt.invalid("missing or invalid start"):!e||!e.isValid?Bt.invalid("missing or invalid end"):e<t?Bt.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}var Bt=class t{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,r=null){if(!e)throw new te("need to specify a reason the Interval is invalid");let n=e instanceof he?e:new he(e,r);if(q.throwOnInvalid)throw new Wi(n);return new t({invalid:n})}static fromDateTimes(e,r){let n=vr(e),i=vr(r),o=op(n,i);return o??new t({start:n,end:i})}static after(e,r){let n=re.fromDurationLike(r),i=vr(e);return t.fromDateTimes(i,i.plus(n))}static before(e,r){let n=re.fromDurationLike(r),i=vr(e);return t.fromDateTimes(i.minus(n),i)}static fromISO(e,r){let[n,i]=(e||"").split("/",2);if(n&&i){let o,s;try{o=z.fromISO(n,r),s=o.isValid}catch{s=!1}let a,l;try{a=z.fromISO(i,r),l=a.isValid}catch{l=!1}if(s&&l)return t.fromDateTimes(o,a);if(s){let c=re.fromISO(i,r);if(c.isValid)return t.after(o,c)}else if(l){let c=re.fromISO(n,r);if(c.isValid)return t.before(a,c)}}return t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",r){if(!this.isValid)return NaN;let n=this.start.startOf(e,r),i;return r?.useLocaleWeeks?i=this.end.reconfigure({locale:n.locale}):i=this.end,i=i.startOf(e,r),Math.floor(i.diff(n,e).get(e))+(i.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?t.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];let r=e.map(vr).filter(s=>this.contains(s)).sort((s,a)=>s.toMillis()-a.toMillis()),n=[],{s:i}=this,o=0;for(;i<this.e;){let s=r[o]||this.e,a=+s>+this.e?this.e:s;n.push(t.fromDateTimes(i,a)),i=a,o+=1}return n}splitBy(e){let r=re.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,i=1,o,s=[];for(;n<this.e;){let a=this.start.plus(r.mapUnits(l=>l*i));o=+a>+this.e?this.e:a,s.push(t.fromDateTimes(n,o)),n=o,i+=1}return s}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let r=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return r>=n?null:t.fromDateTimes(r,n)}union(e){if(!this.isValid)return this;let r=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return t.fromDateTimes(r,n)}static merge(e){let[r,n]=e.sort((i,o)=>i.s-o.s).reduce(([i,o],s)=>o?o.overlaps(s)||o.abutsStart(s)?[i,o.union(s)]:[i.concat([o]),s]:[i,s],[[],null]);return n&&r.push(n),r}static xor(e){let r=null,n=0,i=[],o=e.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),s=Array.prototype.concat(...o),a=s.sort((l,c)=>l.time-c.time);for(let l of a)n+=l.type==="s"?1:-1,n===1?r=l.time:(r&&+r!=+l.time&&i.push(t.fromDateTimes(r,l.time)),r=null);return t.merge(i)}difference(...e){return t.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Ft}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=mn,r={}){return this.isValid?de.create(this.s.loc.clone(r),e).formatInterval(this):Ft}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Ft}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Ft}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Ft}toFormat(e,{separator:r=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:Ft}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):re.invalid(this.invalidReason)}mapEndpoints(e){return t.fromDateTimes(e(this.s),e(this.e))}},jt=class{static hasDST(e=q.defaultZone){let r=z.now().setZone(e).set({month:12});return!e.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(e){return lt.isValidZone(e)}static normalizeZone(e){return ot(e,q.defaultZone)}static getStartOfWeek({locale:e=null,locObj:r=null}={}){return(r||V.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:r=null}={}){return(r||V.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:r=null}={}){return(r||V.create(e)).getWeekendDays().slice()}static months(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:o="gregory"}={}){return(i||V.create(r,n,o)).months(e)}static monthsFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:o="gregory"}={}){return(i||V.create(r,n,o)).months(e,!0)}static weekdays(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||V.create(r,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||V.create(r,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return V.create(e).meridiems()}static eras(e="short",{locale:r=null}={}){return V.create(r,null,"gregory").eras(e)}static features(){return{relative:fl(),localeWeek:dl()}}};function Oa(t,e){let r=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(e)-r(t);return Math.floor(re.fromMillis(n).as("days"))}function sp(t,e,r){let n=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{let d=Oa(l,c);return(d-d%7)/7}],["days",Oa]],i={},o=t,s,a;for(let[l,c]of n)r.indexOf(l)>=0&&(s=l,i[l]=c(t,e),a=o.plus(i),a>e?(i[l]--,t=o.plus(i),t>e&&(a=t,i[l]--,t=o.plus(i))):t=a);return[t,i,a,s]}function ap(t,e,r,n){let[i,o,s,a]=sp(t,e,r),l=e-i,c=r.filter(u=>["hours","minutes","seconds","milliseconds"].indexOf(u)>=0);c.length===0&&(s<e&&(s=i.plus({[a]:1})),s!==i&&(o[a]=(o[a]||0)+l/(s-i)));let d=re.fromObject(o,n);return c.length>0?re.fromMillis(l,n).shiftTo(...c).plus(d):d}var lp="missing Intl.DateTimeFormat.formatToParts support";function I(t,e=r=>r){return{regex:t,deser:([r])=>e(Xd(r))}}var cp="\xA0",Tl=`[ ${cp}]`,Ll=new RegExp(Tl,"g");function up(t){return t.replace(/\./g,"\\.?").replace(Ll,Tl)}function Ma(t){return t.replace(/\./g,"").replace(Ll," ").toLowerCase()}function Le(t,e){return t===null?null:{regex:RegExp(t.map(up).join("|")),deser:([r])=>t.findIndex(n=>Ma(r)===Ma(n))+e}}function Ta(t,e){return{regex:t,deser:([,r,n])=>Sn(r,n),groups:e}}function ln(t){return{regex:t,deser:([e])=>e}}function fp(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function dp(t,e){let r=Te(e),n=Te(e,"{2}"),i=Te(e,"{3}"),o=Te(e,"{4}"),s=Te(e,"{6}"),a=Te(e,"{1,2}"),l=Te(e,"{1,3}"),c=Te(e,"{1,6}"),d=Te(e,"{1,9}"),u=Te(e,"{2,4}"),p=Te(e,"{4,6}"),h=y=>({regex:RegExp(fp(y.val)),deser:([k])=>k,literal:!0}),b=(y=>{if(t.literal)return h(y);switch(y.val){case"G":return Le(e.eras("short"),0);case"GG":return Le(e.eras("long"),0);case"y":return I(c);case"yy":return I(u,no);case"yyyy":return I(o);case"yyyyy":return I(p);case"yyyyyy":return I(s);case"M":return I(a);case"MM":return I(n);case"MMM":return Le(e.months("short",!0),1);case"MMMM":return Le(e.months("long",!0),1);case"L":return I(a);case"LL":return I(n);case"LLL":return Le(e.months("short",!1),1);case"LLLL":return Le(e.months("long",!1),1);case"d":return I(a);case"dd":return I(n);case"o":return I(l);case"ooo":return I(i);case"HH":return I(n);case"H":return I(a);case"hh":return I(n);case"h":return I(a);case"mm":return I(n);case"m":return I(a);case"q":return I(a);case"qq":return I(n);case"s":return I(a);case"ss":return I(n);case"S":return I(l);case"SSS":return I(i);case"u":return ln(d);case"uu":return ln(a);case"uuu":return I(r);case"a":return Le(e.meridiems(),0);case"kkkk":return I(o);case"kk":return I(u,no);case"W":return I(a);case"WW":return I(n);case"E":case"c":return I(r);case"EEE":return Le(e.weekdays("short",!1),1);case"EEEE":return Le(e.weekdays("long",!1),1);case"ccc":return Le(e.weekdays("short",!0),1);case"cccc":return Le(e.weekdays("long",!0),1);case"Z":case"ZZ":return Ta(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Ta(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return ln(/[a-z_+-/]{1,256}?/i);case" ":return ln(/[^\S\n\r]/);default:return h(y)}})(t)||{invalidReason:lp};return b.token=t,b}var hp={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function pp(t,e,r){let{type:n,value:i}=t;if(n==="literal"){let l=/^\s+$/.test(i);return{literal:!l,val:l?" ":i}}let o=e[n],s=n;n==="hour"&&(e.hour12!=null?s=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?s="hour12":s="hour24":s=r.hour12?"hour12":"hour24");let a=hp[s];if(typeof a=="object"&&(a=a[o]),a)return{literal:!1,val:a}}function mp(t){return[`^${t.map(r=>r.regex).reduce((r,n)=>`${r}(${n.source})`,"")}$`,t]}function gp(t,e,r){let n=t.match(e);if(n){let i={},o=1;for(let s in r)if(Ut(r,s)){let a=r[s],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(i[a.token.val[0]]=a.deser(n.slice(o,o+l))),o+=l}return[n,i]}else return[n,{}]}function bp(t){let e=o=>{switch(o){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},r=null,n;return T(t.z)||(r=lt.create(t.z)),T(t.Z)||(r||(r=new xe(t.Z)),n=t.Z),T(t.q)||(t.M=(t.q-1)*3+1),T(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),T(t.u)||(t.S=lo(t.u)),[Object.keys(t).reduce((o,s)=>{let a=e(s);return a&&(o[a]=t[s]),o},{}),r,n]}var Ii=null;function yp(){return Ii||(Ii=z.fromMillis(1555555555555)),Ii}function vp(t,e){if(t.literal)return t;let r=de.macroTokenToFormatOpts(t.val),n=Pl(r,e);return n==null||n.includes(void 0)?t:n}function Al(t,e){return Array.prototype.concat(...t.map(r=>vp(r,e)))}var kn=class{constructor(e,r){if(this.locale=e,this.format=r,this.tokens=Al(de.parseFormat(r),e),this.units=this.tokens.map(n=>dp(n,e)),this.disqualifyingUnit=this.units.find(n=>n.invalidReason),!this.disqualifyingUnit){let[n,i]=mp(this.units);this.regex=RegExp(n,"i"),this.handlers=i}}explainFromTokens(e){if(this.isValid){let[r,n]=gp(e,this.regex,this.handlers),[i,o,s]=n?bp(n):[null,null,void 0];if(Ut(n,"a")&&Ut(n,"H"))throw new st("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:n,result:i,zone:o,specificOffset:s}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function Nl(t,e,r){return new kn(t,r).explainFromTokens(e)}function kp(t,e,r){let{result:n,zone:i,specificOffset:o,invalidReason:s}=Nl(t,e,r);return[n,i,o,s]}function Pl(t,e){if(!t)return null;let n=de.create(e,t).dtFormatter(yp()),i=n.formatToParts(),o=n.resolvedOptions();return i.map(s=>pp(s,t,o))}var Ri="Invalid DateTime",La=864e13;function wr(t){return new he("unsupported zone",`the zone "${t.name}" is not supported`)}function zi(t){return t.weekData===null&&(t.weekData=bn(t.c)),t.weekData}function Fi(t){return t.localWeekData===null&&(t.localWeekData=bn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function gt(t,e){let r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new z({...r,...e,old:r})}function Dl(t,e,r){let n=t-e*60*1e3,i=r.offset(n);if(e===i)return[n,e];n-=(i-e)*60*1e3;let o=r.offset(n);return i===o?[n,i]:[t-Math.min(i,o)*60*1e3,Math.max(i,o)]}function cn(t,e){t+=e*60*1e3;let r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function fn(t,e,r){return Dl(xn(t),e,r)}function Aa(t,e){let r=t.o,n=t.c.year+Math.trunc(e.years),i=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,o={...t.c,year:n,month:i,day:Math.min(t.c.day,yn(n,i))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},s=re.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=xn(o),[l,c]=Dl(a,r,t.zone);return s!==0&&(l+=s,c=t.zone.offset(l)),{ts:l,o:c}}function Vt(t,e,r,n,i,o){let{setZone:s,zone:a}=r;if(t&&Object.keys(t).length!==0||e){let l=e||a,c=z.fromObject(t,{...r,zone:l,specificOffset:o});return s?c:c.setZone(a)}else return z.invalid(new he("unparsable",`the input "${i}" can't be parsed as ${n}`))}function un(t,e,r=!0){return t.isValid?de.create(V.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Vi(t,e,r){let n=t.c.year>9999||t.c.year<0,i="";if(n&&t.c.year>=0&&(i+="+"),i+=K(t.c.year,n?6:4),r==="year")return i;if(e){if(i+="-",i+=K(t.c.month),r==="month")return i;i+="-"}else if(i+=K(t.c.month),r==="month")return i;return i+=K(t.c.day),i}function Na(t,e,r,n,i,o,s){let a=!r||t.c.millisecond!==0||t.c.second!==0,l="";switch(s){case"day":case"month":case"year":break;default:if(l+=K(t.c.hour),s==="hour")break;if(e){if(l+=":",l+=K(t.c.minute),s==="minute")break;a&&(l+=":",l+=K(t.c.second))}else{if(l+=K(t.c.minute),s==="minute")break;a&&(l+=K(t.c.second))}if(s==="second")break;a&&(!n||t.c.millisecond!==0)&&(l+=".",l+=K(t.c.millisecond,3))}return i&&(t.isOffsetFixed&&t.offset===0&&!o?l+="Z":t.o<0?(l+="-",l+=K(Math.trunc(-t.o/60)),l+=":",l+=K(Math.trunc(-t.o%60))):(l+="+",l+=K(Math.trunc(t.o/60)),l+=":",l+=K(Math.trunc(t.o%60)))),o&&(l+="["+t.zone.ianaName+"]"),l}var Il={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},wp={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},xp={ordinal:1,hour:0,minute:0,second:0,millisecond:0},dn=["year","month","day","hour","minute","second","millisecond"],Sp=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],$p=["year","ordinal","hour","minute","second","millisecond"];function hn(t){let e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new pn(t);return e}function Pa(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return hn(t)}}function _p(t){if(xr===void 0&&(xr=q.now()),t.type!=="iana")return t.offset(xr);let e=t.name,r=io.get(e);return r===void 0&&(r=t.offset(xr),io.set(e,r)),r}function Da(t,e){let r=ot(e.zone,q.defaultZone);if(!r.isValid)return z.invalid(wr(r));let n=V.fromObject(e),i,o;if(T(t.year))i=q.now();else{for(let l of dn)T(t[l])&&(t[l]=Il[l]);let s=cl(t)||ul(t);if(s)return z.invalid(s);let a=_p(r);[i,o]=fn(t,a,r)}return new z({ts:i,zone:r,loc:n,o})}function Ia(t,e,r){let n=T(r.round)?!0:r.round,i=T(r.rounding)?"trunc":r.rounding,o=(a,l)=>(a=co(a,n||r.calendary?0:2,r.calendary?"round":i),e.loc.clone(r).relFormatter(r).format(a,l)),s=a=>r.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(r.unit)return o(s(r.unit),r.unit);for(let a of r.units){let l=s(a);if(Math.abs(l)>=1)return o(l,a)}return o(t>e?-0:0,r.units[r.units.length-1])}function Ra(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}var xr,io=new Map,z=class t{constructor(e){let r=e.zone||q.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new he("invalid input"):null)||(r.isValid?null:wr(r));this.ts=T(e.ts)?q.now():e.ts;let i=null,o=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[i,o]=[e.old.c,e.old.o];else{let a=at(e.o)&&!e.old?e.o:r.offset(this.ts);i=cn(this.ts,a),n=Number.isNaN(i.year)?new he("invalid input"):null,i=n?null:i,o=n?null:a}this._zone=r,this.loc=e.loc||V.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=i,this.o=o,this.isLuxonDateTime=!0}static now(){return new t({})}static local(){let[e,r]=Ra(arguments),[n,i,o,s,a,l,c]=r;return Da({year:n,month:i,day:o,hour:s,minute:a,second:l,millisecond:c},e)}static utc(){let[e,r]=Ra(arguments),[n,i,o,s,a,l,c]=r;return e.zone=xe.utcInstance,Da({year:n,month:i,day:o,hour:s,minute:a,second:l,millisecond:c},e)}static fromJSDate(e,r={}){let n=nh(e)?e.valueOf():NaN;if(Number.isNaN(n))return t.invalid("invalid input");let i=ot(r.zone,q.defaultZone);return i.isValid?new t({ts:n,zone:i,loc:V.fromObject(r)}):t.invalid(wr(i))}static fromMillis(e,r={}){if(at(e))return e<-La||e>La?t.invalid("Timestamp out of range"):new t({ts:e,zone:ot(r.zone,q.defaultZone),loc:V.fromObject(r)});throw new te(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(at(e))return new t({ts:e*1e3,zone:ot(r.zone,q.defaultZone),loc:V.fromObject(r)});throw new te("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};let n=ot(r.zone,q.defaultZone);if(!n.isValid)return t.invalid(wr(n));let i=V.fromObject(r),o=vn(e,Pa),{minDaysInFirstWeek:s,startOfWeek:a}=ka(o,i),l=q.now(),c=T(r.specificOffset)?n.offset(l):r.specificOffset,d=!T(o.ordinal),u=!T(o.year),p=!T(o.month)||!T(o.day),h=u||p,g=o.weekYear||o.weekNumber;if((h||d)&&g)throw new st("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(p&&d)throw new st("Can't mix ordinal dates with month/day");let b=g||o.weekday&&!h,y,k,v=cn(l,c);b?(y=Sp,k=wp,v=bn(v,s,a)):d?(y=$p,k=xp,v=Di(v)):(y=dn,k=Il);let C=!1;for(let R of y){let Q=o[R];T(Q)?C?o[R]=k[R]:o[R]=v[R]:C=!0}let E=b?eh(o,s,a):d?th(o):cl(o),w=E||ul(o);if(w)return t.invalid(w);let M=b?ya(o,s,a):d?va(o):o,[S,O]=fn(M,c,n),N=new t({ts:S,zone:n,o:O,loc:i});return o.weekday&&h&&e.weekday!==N.weekday?t.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${N.toISO()}`):N.isValid?N:t.invalid(N.invalid)}static fromISO(e,r={}){let[n,i]=Hh(e);return Vt(n,i,r,"ISO 8601",e)}static fromRFC2822(e,r={}){let[n,i]=Gh(e);return Vt(n,i,r,"RFC 2822",e)}static fromHTTP(e,r={}){let[n,i]=Zh(e);return Vt(n,i,r,"HTTP",r)}static fromFormat(e,r,n={}){if(T(e)||T(r))throw new te("fromFormat requires an input string and a format");let{locale:i=null,numberingSystem:o=null}=n,s=V.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0}),[a,l,c,d]=kp(s,e,r);return d?t.invalid(d):Vt(a,l,n,`format ${r}`,e,c)}static fromString(e,r,n={}){return t.fromFormat(e,r,n)}static fromSQL(e,r={}){let[n,i]=tp(e);return Vt(n,i,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new te("need to specify a reason the DateTime is invalid");let n=e instanceof he?e:new he(e,r);if(q.throwOnInvalid)throw new ji(n);return new t({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,r={}){let n=Pl(e,V.fromObject(r));return n?n.map(i=>i?i.val:null).join(""):null}static expandFormat(e,r={}){return Al(de.parseFormat(e),V.fromObject(r)).map(i=>i.val).join("")}static resetCache(){xr=void 0,io.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?zi(this).weekYear:NaN}get weekNumber(){return this.isValid?zi(this).weekNumber:NaN}get weekday(){return this.isValid?zi(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Fi(this).weekday:NaN}get localWeekNumber(){return this.isValid?Fi(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Fi(this).weekYear:NaN}get ordinal(){return this.isValid?Di(this.c).ordinal:NaN}get monthShort(){return this.isValid?jt.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?jt.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?jt.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?jt.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,r=6e4,n=xn(this.c),i=this.zone.offset(n-e),o=this.zone.offset(n+e),s=this.zone.offset(n-i*r),a=this.zone.offset(n-o*r);if(s===a)return[this];let l=n-s*r,c=n-a*r,d=cn(l,s),u=cn(c,a);return d.hour===u.hour&&d.minute===u.minute&&d.second===u.second&&d.millisecond===u.millisecond?[gt(this,{ts:l}),gt(this,{ts:c})]:[this]}get isInLeapYear(){return _r(this.year)}get daysInMonth(){return yn(this.year,this.month)}get daysInYear(){return this.isValid?Wt(this.year):NaN}get weeksInWeekYear(){return this.isValid?$r(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?$r(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:r,numberingSystem:n,calendar:i}=de.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:i}}toUTC(e=0,r={}){return this.setZone(xe.instance(e),r)}toLocal(){return this.setZone(q.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(e=ot(e,q.defaultZone),e.equals(this.zone))return this;if(e.isValid){let i=this.ts;if(r||n){let o=e.offset(this.ts),s=this.toObject();[i]=fn(s,o,e)}return gt(this,{ts:i,zone:e})}else return t.invalid(wr(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:n}={}){let i=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:n});return gt(this,{loc:i})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let r=vn(e,Pa),{minDaysInFirstWeek:n,startOfWeek:i}=ka(r,this.loc),o=!T(r.weekYear)||!T(r.weekNumber)||!T(r.weekday),s=!T(r.ordinal),a=!T(r.year),l=!T(r.month)||!T(r.day),c=a||l,d=r.weekYear||r.weekNumber;if((c||s)&&d)throw new st("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&s)throw new st("Can't mix ordinal dates with month/day");let u;o?u=ya({...bn(this.c,n,i),...r},n,i):T(r.ordinal)?(u={...this.toObject(),...r},T(r.day)&&(u.day=Math.min(yn(u.year,u.month),u.day))):u=va({...Di(this.c),...r});let[p,h]=fn(u,this.o,this.zone);return gt(this,{ts:p,o:h})}plus(e){if(!this.isValid)return this;let r=re.fromDurationLike(e);return gt(this,Aa(this,r))}minus(e){if(!this.isValid)return this;let r=re.fromDurationLike(e).negate();return gt(this,Aa(this,r))}startOf(e,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;let n={},i=re.normalizeUnit(e);switch(i){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(i==="weeks")if(r){let o=this.loc.getStartOfWeek(),{weekday:s}=this;s<o&&(n.weekNumber=this.weekNumber-1),n.weekday=o}else n.weekday=1;if(i==="quarters"){let o=Math.ceil(this.month/3);n.month=(o-1)*3+1}return this.set(n)}endOf(e,r){return this.isValid?this.plus({[e]:1}).startOf(e,r).minus(1):this}toFormat(e,r={}){return this.isValid?de.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):Ri}toLocaleString(e=mn,r={}){return this.isValid?de.create(this.loc.clone(r),e).formatDateTime(this):Ri}toLocaleParts(e={}){return this.isValid?de.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:n=!1,includeOffset:i=!0,extendedZone:o=!1,precision:s="milliseconds"}={}){if(!this.isValid)return null;s=hn(s);let a=e==="extended",l=Vi(this,a,s);return dn.indexOf(s)>=3&&(l+="T"),l+=Na(this,a,r,n,i,o,s),l}toISODate({format:e="extended",precision:r="day"}={}){return this.isValid?Vi(this,e==="extended",hn(r)):null}toISOWeekDate(){return un(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:n=!0,includePrefix:i=!1,extendedZone:o=!1,format:s="extended",precision:a="milliseconds"}={}){return this.isValid?(a=hn(a),(i&&dn.indexOf(a)>=3?"T":"")+Na(this,s==="extended",r,e,n,o,a)):null}toRFC2822(){return un(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return un(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Vi(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:n=!0}={}){let i="HH:mm:ss.SSS";return(r||e)&&(n&&(i+=" "),r?i+="z":e&&(i+="ZZ")),un(this,i,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Ri}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let r={...this.c};return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,r="milliseconds",n={}){if(!this.isValid||!e.isValid)return re.invalid("created by diffing an invalid DateTime");let i={locale:this.locale,numberingSystem:this.numberingSystem,...n},o=ih(r).map(re.normalizeUnit),s=e.valueOf()>this.valueOf(),a=s?this:e,l=s?e:this,c=ap(a,l,o,i);return s?c.negate():c}diffNow(e="milliseconds",r={}){return this.diff(t.now(),e,r)}until(e){return this.isValid?Bt.fromDateTimes(this,e):this}hasSame(e,r,n){if(!this.isValid)return!1;let i=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(r,n)<=i&&i<=o.endOf(r,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let r=e.base||t.fromObject({},{zone:this.zone}),n=e.padding?this<r?-e.padding:e.padding:0,i=["years","months","days","hours","minutes","seconds"],o=e.unit;return Array.isArray(e.unit)&&(i=e.unit,o=void 0),Ia(r,this.plus(n),{...e,numeric:"always",units:i,unit:o})}toRelativeCalendar(e={}){return this.isValid?Ia(e.base||t.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(t.isDateTime))throw new te("min requires all arguments be DateTimes");return wa(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(t.isDateTime))throw new te("max requires all arguments be DateTimes");return wa(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,n={}){let{locale:i=null,numberingSystem:o=null}=n,s=V.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0});return Nl(s,e,r)}static fromStringExplain(e,r,n={}){return t.fromFormatExplain(e,r,n)}static buildFormatParser(e,r={}){let{locale:n=null,numberingSystem:i=null}=r,o=V.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0});return new kn(o,e)}static fromFormatParser(e,r,n={}){if(T(e)||T(r))throw new te("fromFormatParser requires an input string and a format parser");let{locale:i=null,numberingSystem:o=null}=n,s=V.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0});if(!s.equals(r.locale))throw new te(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${r.locale}`);let{result:a,zone:l,specificOffset:c,invalidReason:d}=r.explainFromTokens(e);return d?t.invalid(d):Vt(a,l,n,`format ${r.format}`,e,c)}static get DATE_SHORT(){return mn}static get DATE_MED(){return za}static get DATE_MED_WITH_WEEKDAY(){return Dd}static get DATE_FULL(){return Fa}static get DATE_HUGE(){return Va}static get TIME_SIMPLE(){return ja}static get TIME_WITH_SECONDS(){return Wa}static get TIME_WITH_SHORT_OFFSET(){return qa}static get TIME_WITH_LONG_OFFSET(){return Ba}static get TIME_24_SIMPLE(){return Ua}static get TIME_24_WITH_SECONDS(){return Ha}static get TIME_24_WITH_SHORT_OFFSET(){return Ga}static get TIME_24_WITH_LONG_OFFSET(){return Za}static get DATETIME_SHORT(){return Ya}static get DATETIME_SHORT_WITH_SECONDS(){return Ja}static get DATETIME_MED(){return Ka}static get DATETIME_MED_WITH_SECONDS(){return Xa}static get DATETIME_MED_WITH_WEEKDAY(){return Id}static get DATETIME_FULL(){return Qa}static get DATETIME_FULL_WITH_SECONDS(){return el}static get DATETIME_HUGE(){return tl}static get DATETIME_HUGE_WITH_SECONDS(){return rl}};function vr(t){if(z.isDateTime(t))return t;if(t&&t.valueOf&&at(t.valueOf()))return z.fromJSDate(t);if(t&&typeof t=="object")return z.fromObject(t);throw new te(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var En="default",bo="preflights",Cp="shortcuts",Ep="imports",Op={[Ep]:-200,[bo]:-100,[Cp]:-10,[En]:0},wo=/[\\:]?[\s'"`;{}]+/g;function Mp(t){return t.split(wo)}var Tp={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return Mp(t)}};function F(t=[]){return Array.isArray(t)?t:[t]}function Ne(t){return Array.from(new Set(t))}function Rl(t,e){return t.reduce((r,n)=>(r.findIndex(o=>e(n,o))===-1&&r.push(n),r),[])}function H(t){return typeof t=="string"}var On=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 po(t){return t instanceof On}function Kt(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ct(t){let e=t.length,r=-1,n,i="",o=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){i+="\uFFFD";continue}if(n===37){i+="\\%";continue}if(n===44){i+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&o===45){i+=`\\${n.toString(16)} `;continue}if(r===0&&e===1&&n===45){i+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=t.charAt(r);continue}i+=`\\${t.charAt(r)}`}return i}var mo=ct;function Lp(){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 Ap=/[\w\u00A0-\uFFFF%-?]/;function Bl(t=""){return Ap.test(t)}function Np(t){return typeof t=="function"?{match:t}:t}function zl(t){return t.length===3}function Or(t){return t!=null}function Pp(){}var yo=class{_map=new Map;get(e,r){let n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let i=this._map.get(e);return i||(i=new Map,this._map.set(e,i)),i.has(r)||i.set(r,n),i.get(r)}set(e,r,n){let i=this._map.get(e);return i||(i=new Map,this._map.set(e,i)),i.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(([i,o])=>e(o,r,i)))}},vo=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,i)=>{r.push(e(n,i))}),r}flatMap(e){let r=[];return this.forEach((n,i)=>{r.push(...e(n,i))}),r}};function Mn(t){return H(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function Dp(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>Mn(e)):[t]:[Mn(t)]}function Ip(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let i=n-1;i>=0;i--)if(t[i][0]===e&&t[i][1]===r)return!1;return!0})}var Ul="__virtual_key__";function go(t){return t==null?"":Ip(t).map(([e,r])=>r!=null&&typeof r!="function"?e!==Ul?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function _n(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Xt(t,e,r=!1){let n=t,i=e;if(Array.isArray(i))return r&&Array.isArray(i)?[...n,...i]:[...i];let o={...n};return _n(n)&&_n(i)&&Object.keys(i).forEach(s=>{_n(n[s])&&_n(i[s])||Array.isArray(n[s])&&Array.isArray(i[s])?o[s]=Xt(n[s],i[s],r):Object.assign(o,{[s]:i[s]})}),o}function Jt(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"?Jt(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:Jt(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?Jt(n):n;return r}return t}function Rp(t){return H(t[0])}function zp(t){return H(t[0])}var Cn={};function Fp(t=["-",":"]){let e=t.join("|");return Cn[e]||(Cn[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Cn[e].lastIndex=0,Cn[e]}function Vp(t,e=["-",":"],r=5){let n=Fp(e),i,o=t.toString(),s=new Set,a=new Map;do i=!1,o=o.replace(n,(c,d,u,p,h)=>{if(!e.includes(u))return c;i=!0,s.add(d+u);let g=h+d.length+u.length+1,b={length:c.length,items:[]};a.set(h,b);for(let y of[...p.matchAll(/\S+/g)]){let k=g+y.index,v=a.get(k)?.items;v?a.delete(k):v=[{offset:k,length:y[0].length,className:y[0]}];for(let C of v)C.className=C.className==="~"?d:C.className.replace(/^(!?)(.*)/,`$1${d}${u}$2`),b.items.push(C)}return"$".repeat(c.length)}),r-=1;while(i&&r);let l;if(typeof t=="string"){l="";let c=0;for(let[d,u]of a)l+=t.slice(c,d),l+=u.items.map(p=>p.className).join(" "),c=d+u.length;l+=t.slice(c)}else{l=t;for(let[c,d]of a)l.overwrite(c,c+d.length,d.items.map(u=>u.className).join(" "))}return{prefixes:Array.from(s),hasChanged:i,groupsByOffset:a,get expanded(){return l.toString()}}}function jp(t,e=["-",":"],r=5){let n=Vp(t,e,r);return typeof t=="string"?n.expanded:t}var Fl=new Set;function Wp(t){Fl.has(t)||(console.warn("[unocss]",t),Fl.add(t))}function Hl(t){return F(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var Vl="_uno_resolved";async function qp(t){let e=typeof t=="function"?await t():await t;if(Vl in e)return e;e={...e},Object.defineProperty(e,Vl,{value:!0,enumerable:!1});let r=e.shortcuts?Hl(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){let n=i=>{i[2]||(i[2]={});let o=i[2];o.prefix==null&&e.prefix&&(o.prefix=F(e.prefix)),o.layer==null&&e.layer&&(o.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function Gl(t){let e=await qp(t);if(!e.presets)return[e];let r=(await Promise.all((e.presets||[]).flatMap(F).flatMap(Gl))).flat();return[e,...r]}function Bp(t){if(t.length===0)return{};let e=[],r=[],n=!1,i=[],o=[];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&&i.push(a.filesystem),a.inline&&o.push(a.inline)}let s={pipeline:n?!1:{include:Ne(Wl(...e)),exclude:Ne(Wl(...r))}};return i.length&&(s.filesystem=Ne(i.flat())),o.length&&(s.inline=Ne(o.flat())),s}async function jl(t={},e={}){let r=Object.assign({},e,t),n=Rl((await Promise.all((r.presets||[]).flatMap(F).flatMap(Gl))).flat(),(w,M)=>w.name===M.name),i=[...n.filter(w=>w.enforce==="pre"),...n.filter(w=>!w.enforce),...n.filter(w=>w.enforce==="post")],o=[...i,r],s=[...o].reverse(),a=Object.assign({},Op,...o.map(w=>w.layers));function l(w){return Ne(o.flatMap(M=>F(M[w]||[])))}let c=l("extractors"),d=s.find(w=>w.extractorDefault!==void 0)?.extractorDefault;d===void 0&&(d=Tp),d&&!c.includes(d)&&c.unshift(d),c.sort((w,M)=>(w.order||0)-(M.order||0));let u=l("rules"),p=u.length,h={},g=[];for(let[w,M]of u.entries()){let S=M[2]??(M[2]={});S.__index=w,Rp(M)?F(S.prefix??"").forEach(N=>{h[N+M[0]]=M}):g.unshift(M)}let b={templates:Ne(o.flatMap(w=>F(w.autocomplete?.templates))),extractors:o.flatMap(w=>F(w.autocomplete?.extractors)).sort((w,M)=>(w.order||0)-(M.order||0)),shorthands:Hp(o.map(w=>w.autocomplete?.shorthands||{}))},y=l("separators");y.length||(y=[":","-"]);let k=l("content"),v=Bp(k),C={mergeSelectors:!0,warn:!0,sortLayers:w=>w,...r,blocklist:l("blocklist"),presets:i,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:Up(o.map(w=>w.theme)),rules:u,rulesSize:p,rulesDynamic:g,rulesStaticMap:h,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:b,variants:l("variants").map(Np).sort((w,M)=>(w.order||0)-(M.order||0)),shortcuts:Hl(l("shortcuts")).reverse(),extractors:c,safelist:l("safelist"),separators:y,details:r.details??r.envMode==="dev",content:v,transformers:Rl(l("transformers"),(w,M)=>w.name===M.name)},E=l("extendTheme");for(let w of E)C.theme=w(C.theme,C)||C.theme;for(let w of o)w?.configResolved?.(C);return C}function Up(t){return t.map(e=>e?Jt(e):{}).reduce((e,r)=>Xt(e,r),{})}function Hp(t){return t.reduce((e,r)=>{let n={};for(let i in r){let o=r[i];Array.isArray(o)?n[i]=`(${o.join("|")})`:n[i]=o}return{...e,...n}},{})}function Wl(...t){return t.flatMap(Gp)}function Gp(t){return Array.isArray(t)?t:t?[t]:[]}var Zp="66.5.4",J={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"},ko=class t{constructor(e={},r={}){this.userConfig=e,this.defaults=r}version=Zp;events=Lp();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 jl(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 jl(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){let i={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(let o of this.config.extractors){let s=await o.extract?.(i);if(s)if(po(s)&&po(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:J,variantHandlers:r[2],constructCSS:(...i)=>this.constructCustomCSS(n,...i),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 i=this.config.preprocess.reduce((l,c)=>c(l)??l,e);if(this.isBlocked(i)){this.blocked.add(e),this.cache.set(n,null);return}let o=await this.matchVariants(e,i);if(o.every(l=>!l||this.isBlocked(l[1]))){this.blocked.add(e),this.cache.set(n,null);return}let s=async l=>{let c=this.makeContext(e,[r||l[0],l[1],l[2],l[3]]);this.config.details&&(c.variants=[...l[3]]);let d=await this.expandShortcut(c.currentSelector,c);return d?await this.stringifyShortcuts(c.variantMatch,c,d[0],d[1]):(await this.parseUtil(c.variantMatch,c))?.map(p=>this.stringifyUtil(p,c)).filter(Or)},a=(await Promise.all(o.map(l=>s(l)))).flat().filter(l=>!!l);if(a?.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(e,r={}){let{id:n,scope:i,preflights:o=!0,safelist:s=!0,minify:a=!1,extendedInfo:l=!1}=r,c=H(e)?await this.applyExtractors(e,n,l?new On:new Set):Array.isArray(e)?new Set(e):e;if(s){let S={generator:this,theme:this.config.theme};this.config.safelist.flatMap(O=>typeof O=="function"?O(S):O).forEach(O=>{let N=O.trim();N&&!c.has(N)&&c.add(N)})}let d=a?"":`
25
+ `,u=new Set([En]),p=l?new Map:new Set,h=new Map,g={},b=Array.from(c).map(async S=>{if(p.has(S))return;let O=await this.parseToken(S);if(O!=null){p instanceof Map?p.set(S,{data:O,count:po(c)?c.getCount(S):-1}):p.add(S);for(let N of O){let R=N[3]||"",Q=N[4]?.layer;h.has(R)||h.set(R,[]),h.get(R).push(N),Q&&u.add(Q)}}});await Promise.all(b),await(async()=>{if(!o)return;let S={generator:this,theme:this.config.theme},O=new Set([]);this.config.preflights.forEach(({layer:N=bo})=>{u.add(N),O.add(N)}),g=Object.fromEntries(await Promise.all(Array.from(O).map(async N=>{let Q=(await Promise.all(this.config.preflights.filter(Y=>(Y.layer||bo)===N).map(async Y=>await Y.getCSS(S)))).filter(Boolean).join(d);return[N,Q]})))})();let y=this.config.sortLayers(Array.from(u).sort((S,O)=>(this.config.layers[S]??0)-(this.config.layers[O]??0)||S.localeCompare(O))),k={},v=this.config.outputToCssLayers,C=S=>{let O=S;return typeof v=="object"&&(O=v.cssLayerName?.(S)),O===null?null:O??S},E=(S=En)=>{if(k[S])return k[S];let O=Array.from(h).sort((Q,Y)=>(this.parentOrders.get(Q[0])??0)-(this.parentOrders.get(Y[0])??0)||Q[0]?.localeCompare(Y[0]||"")||0).map(([Q,Y])=>{let on=Y.length,tt=Y.filter(ee=>(ee[4]?.layer||En)===S).sort((ee,Me)=>ee[0]-Me[0]||(ee[4]?.sort||0)-(Me[4]?.sort||0)||ee[5]?.currentSelector?.localeCompare(Me[5]?.currentSelector??"")||ee[1]?.localeCompare(Me[1]||"")||ee[2]?.localeCompare(Me[2]||"")||0).map(([,ee,Me,,sn,,Oi])=>[[[(ee&&Jp(ee,i))??"",sn?.sort??0]],Me,!!(Oi??sn?.noMerge)]);if(!tt.length)return;let br=tt.reverse().map(([ee,Me,sn],Oi)=>{if(!sn&&this.config.mergeSelectors)for(let rt=Oi+1;rt<on;rt++){let Fe=tt[rt];if(Fe&&!Fe[2]&&(ee&&Fe[0]||ee==null&&Fe[0]==null)&&Fe[1]===Me)return ee&&Fe[0]&&Fe[0].push(...ee),null}let Mi=ee?Ne(ee.sort((rt,Fe)=>rt[1]-Fe[1]||rt[0]?.localeCompare(Fe[0]||"")||0).map(rt=>rt[0]).filter(Boolean)):[];return Mi.length?`${Mi.join(`,${d}`)}{${Me}}`:Me}).filter(Boolean),fe=Array.from(new Set(br)).reverse().join(d);if(!Q)return fe;let aa=Q.split(" $$ ");return`${aa.join("{")}{${d}${fe}${d}${"}".repeat(aa.length)}`}).filter(Boolean).join(d);o&&(O=[g[S],O].filter(Boolean).join(d));let N;v&&O&&(N=C(S),N!==null&&(O=`@layer ${N}{${d}${O}${d}}`));let R=a?"":`/* layer: ${S}${N&&N!==S?`, alias: ${N}`:""} */${d}`;return k[S]=O?R+O:""},w=(S=y,O)=>{let N=S.filter(R=>!O?.includes(R));return[v&&N.length>0?`@layer ${N.map(C).filter(Or).join(", ")};`:void 0,...N.map(R=>E(R)||"")].filter(Boolean).join(d)};return{get css(){return w()},layers:y,matched:p,getLayers:w,getLayer:E,setLayer:async(S,O)=>{let N=await O(E(S));return k[S]=N,N}}}async matchVariants(e,r){let n={rawSelector:e,theme:this.config.theme,generator:this},i=async o=>{let s=!0,[,,a,l]=o;for(;s;){s=!1;let c=o[1];for(let d of this.config.variants){if(!d.multiPass&&l.has(d))continue;let u=await d.match(c,n);if(u){if(H(u)){if(u===c)continue;u={matcher:u}}if(Array.isArray(u)){if(!u.length)continue;if(u.length===1)u=u[0];else{if(d.multiPass)throw new Error("multiPass can not be used together with array return variants");let p=u.map(h=>{let g=h.matcher??c,b=[h,...a],y=new Set(l);return y.add(d),[o[0],g,b,y]});return(await Promise.all(p.map(h=>i(h)))).flat()}}o[1]=u.matcher??c,a.unshift(u),l.add(d),s=!0;break}}if(!s)break;if(a.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[o]};return await i([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){let o=r.slice().sort((c,d)=>(c.order||0)-(d.order||0)).reduceRight((c,d)=>u=>{let p=d.body?.(u.entries)||u.entries,h=Array.isArray(d.parent)?d.parent:[d.parent,void 0],g=d.selector?.(u.selector,p);return(d.handle??Xp)({...u,entries:p,selector:g||u.selector,parent:h[0]||u.parent,parentOrder:h[1]||u.parentOrder,layer:d.layer||u.layer,sort:d.sort||u.sort},c)},c=>c)({prefix:"",selector:Kp(n),pseudo:"",entries:e[2]}),{parent:s,parentOrder:a}=o;s!=null&&a!=null&&this.parentOrders.set(s,a);let l={selector:[o.prefix,o.selector,o.pseudo].join(""),entries:o.entries,parent:s,layer:o.layer,sort:o.sort,noMerge:o.noMerge};for(let c of this.config.postprocess)c(l);return l}constructCustomCSS(e,r,n){let i=Mn(r);if(H(i))return i;let{selector:o,entries:s,parent:a}=this.applyVariants([0,n||e.rawSelector,i,void 0,e.variantHandlers]),l=`${o}{${go(s)}}`;return a?`${a}{${l}}`:l}async parseUtil(e,r,n=!1,i){let o=H(e)?await this.matchVariants(e):[e],s=async([l,c,d])=>{this.config.details&&(r.rules=r.rules??[]);let u={...r,variantHandlers:d},p=this.config.rulesStaticMap[c];if(p&&p[1]&&(n||!p[2]?.internal))return this.resolveCSSResult(l,p[1],p,u);for(let h of this.config.rulesDynamic){let[g,b,y]=h;if(y?.internal&&!n)continue;let k=c;if(y?.prefix){let w=F(y.prefix);if(i){let M=F(i);if(!w.some(S=>M.includes(S)))continue}else{let M=w.find(S=>c.startsWith(S));if(M==null)continue;k=c.slice(M.length)}}let v=k.match(g);if(!v)continue;let C=await b(v,u);if(!C)continue;if(typeof C!="string")if(Symbol.asyncIterator in C){let w=[];for await(let M of C)M&&w.push(M);C=w}else Symbol.iterator in C&&!Array.isArray(C)&&(C=Array.from(C).filter(Or));let E=this.resolveCSSResult(l,C,h,u);if(E)return E}},a=(await Promise.all(o.map(l=>s(l)))).flat().filter(l=>!!l);if(a.length)return a}resolveCSSResult=(e,r,n,i)=>{let o=Dp(r).filter(s=>s.length);if(o.length){this.config.details&&i.rules.push(n),i.generator.activatedRules.add(n);let s=n[2];return o.map(a=>{if(H(a))return[s.__index,a,s];let l=i.variantHandlers,c=s;for(let d of a)d[0]===J.variants?typeof d[1]=="function"?l=d[1](l)||l:l=[...F(d[1]),...l]:d[0]===J.parent?l=[{parent:d[1]},...l]:d[0]===J.selector?l=[{selector:d[1]},...l]:d[0]===J.layer?l=[{layer:d[1]},...l]:d[0]===J.sort?c={...c,sort:d[1]}:d[0]===J.noMerge?c={...c,noMerge:d[1]}:d[0]===J.body&&(d[0]=Ul);return[s.__index,e,a,c,l]})}};stringifyUtil(e,r){if(!e)return;if(zl(e))return[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0];let{selector:n,entries:i,parent:o,layer:s,sort:a,noMerge:l}=this.applyVariants(e),c=go(i);if(!c)return;let{layer:d,sort:u,...p}=e[3]??{},h={...p,layer:s??d,sort:a??u};return[e[0],n,c,o,h,this.config.details?r:void 0,l]}async expandShortcut(e,r,n=5){if(n===0)return;let i=this.config.details?c=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(c)}:Pp,o,s,a,l;for(let c of this.config.shortcuts){let d=e;if(c[2]?.prefix){let p=F(c[2].prefix).find(h=>e.startsWith(h));if(p==null)continue;d=e.slice(p.length)}if(zp(c)){if(c[0]===d){o=o||c[2],s=c[1],i(c);break}}else{let u=d.match(c[0]);if(u&&(s=c[1](u,r)),s){o=o||c[2],i(c);break}}}if(s&&(a=Ne(F(s).filter(H).map(c=>jp(c.trim()).split(/\s+/g)).flat()),l=F(s).filter(c=>!H(c)).map(c=>({handles:[],value:c}))),!s){let c=H(e)?await this.matchVariants(e):[e];for(let d of c){let[u,p,h]=d;if(u!==p){let g=await this.expandShortcut(p,r,n-1);g&&(a=g[0].filter(H).map(b=>u.replace(p,b)),l=g[0].filter(b=>!H(b)).map(b=>({handles:[...b.handles,...h],value:b.value})))}}}if(!(!a?.length&&!l?.length))return[[await Promise.all(F(a).map(async c=>(await this.expandShortcut(c,r,n-1))?.[0]||[c])),l].flat(2).filter(c=>!!c),o]}async stringifyShortcuts(e,r,n,i={layer:this.config.shortcutsLayer}){let o=new vo,s=(await Promise.all(Ne(n).map(async d=>{let u=H(d)?await this.parseUtil(d,r,!0,i.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Mn(d.value),void 0,d.handles]];return!u&&this.config.warn&&Wp(`unmatched utility "${d}" in shortcut "${e[1]}"`),u||[]}))).flat(1).filter(Boolean).sort((d,u)=>d[0]-u[0]),[a,,l]=e,c=[];for(let d of s){if(zl(d)){c.push([d[0],void 0,d[1],void 0,d[2],r,void 0]);continue}let{selector:u,entries:p,parent:h,sort:g,noMerge:b,layer:y}=this.applyVariants(d,[...d[4],...l],a);o.getFallback(y??i.layer,new yo).getFallback(u,h,[[],d[0]])[0].push([p,!!(b??d[3]?.noMerge),g??0])}return c.concat(o.flatMap((d,u)=>d.map(([p,h],g,b)=>{let y=(v,C,E)=>{let w=Math.max(...E.map(S=>S[1])),M=E.map(S=>S[0]);return(v?[M.flat(1)]:M).map(S=>{let O=go(S);if(O)return[h,g,O,b,{...i,noMerge:C,sort:w,layer:u},r,void 0]})};return[[p.filter(([,v])=>v).map(([v,,C])=>[v,C]),!0],[p.filter(([,v])=>!v).map(([v,,C])=>[v,C]),!1]].map(([v,C])=>[...y(!1,C,v.filter(([E])=>E.some(w=>w[0]===J.shortcutsNoMerge))),...y(!0,C,v.filter(([E])=>E.every(w=>w[0]!==J.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):H(r)?r===e:r.test(e))}getBlocked(e){let r=this.config.blocklist.find(n=>{let i=Array.isArray(n)?n[0]:n;return typeof i=="function"?i(e):H(i)?i===e:i.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function Zl(t,e){return await ko.create(t,e)}var Yl=/\s\$\$\s+/g;function Yp(t){return Yl.test(t)}function Jp(t,e){return Yp(t)?t.replace(Yl,e?` ${e} `:" "):e?`${e} ${t}`:t}var ql=/^\[(.+?)(~?=)"(.*)"\]$/;function Kp(t){return ql.test(t)?t.replace(ql,(e,r,n,i)=>`[${mo(r)}${n}"${mo(i)}"]`):`.${mo(t)}`}function Xp(t,e){return e(t)}function Qp(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 em(t,e,r,n){for(let i of Array.from(t.matchAll(r)))if(i!=null){let o=i[0],s=`${n}${Qp(o)}`;e.set(s,o),t=t.replace(o,s)}return t}function tm(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var rm=/\/\/#\s*sourceMappingURL=.*\n?/g;function nm(t){return t.includes("sourceMappingURL=")?t.replace(rm,""):t}var im=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,om=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,sm=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function am(t){let e=[];for(let i of t.matchAll(om))i.index!==0&&!/^[\s'"`]/.test(t[i.index-1]??"")||e.push(i[0]);for(let i of t.matchAll(im))e.push(i[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=em(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(wo).forEach(i=>{i.includes(n)&&(i=tm(i,r)),Bl(i)&&!sm.test(i)&&e.push(i)}),e}function Jl(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return am(nm(t))}}}var lm=44,cm=59,Kl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ec=new Uint8Array(64),um=new Uint8Array(128);for(let t=0;t<Kl.length;t++){let e=Kl.charCodeAt(t);ec[t]=e,um[e]=t}function Mr(t,e,r){let n=e-r;n=n<0?-n<<1|1:n<<1;do{let i=n&31;n>>>=5,n>0&&(i|=32),t.write(ec[i])}while(n>0);return e}var Xl=1024*16,Ql=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}},fm=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Xl)}write(t){let{buffer:e}=this;e[this.pos++]=t,this.pos===Xl&&(this.out+=Ql.decode(e),this.pos=0)}flush(){let{buffer:t,out:e,pos:r}=this;return r>0?e+Ql.decode(t.subarray(0,r)):e}};function tc(t){let e=new fm,r=0,n=0,i=0,o=0;for(let s=0;s<t.length;s++){let a=t[s];if(s>0&&e.write(cm),a.length===0)continue;let l=0;for(let c=0;c<a.length;c++){let d=a[c];c>0&&e.write(lm),l=Mr(e,d[0],l),d.length!==1&&(r=Mr(e,d[1],r),n=Mr(e,d[2],n),i=Mr(e,d[3],i),d.length!==4&&(o=Mr(e,d[4],o)))}}return e.flush()}var Tn=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))}},Ln=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),i=this.original.slice(r);this.original=n;let o=new t(e,this.end,i);return o.outro=this.outro,this.outro="",this.end=e,this.edited?(o.edit("",!1),this.content=""):this.content=n,o.next=this.next,o.next&&(o.next.previous=o),o.previous=this,this.next=o,o}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 dm(){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 hm=dm(),xo=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=tc(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,"+hm(this.toString())}};function pm(t){let e=t.split(`
26
+ `),r=e.filter(o=>/^\t+/.test(o)),n=e.filter(o=>/^ {2,}/.test(o));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let i=n.reduce((o,s)=>{let a=/^ +/.exec(s)[0].length;return Math.min(a,o)},1/0);return new Array(i+1).join(" ")}function mm(t,e){let r=t.split(/[/\\]/),n=e.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let i=r.length;for(;i--;)r[i]=".."}return r.concat(n).join("/")}var gm=Object.prototype.toString;function bm(t){return gm.call(t)==="[object Object]"}function rc(t){let e=t.split(`
27
+ `),r=[];for(let n=0,i=0;n<e.length;n++)r.push(i),i+=e[n].length+1;return function(i){let o=0,s=r.length;for(;o<s;){let c=o+s>>1;i<r[c]?s=c:o=c+1}let a=o-1,l=i-r[a];return{line:a,column:l}}}var ym=/\w/,So=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,i){if(r.length){let o=r.length-1,s=r.indexOf(`
27
28
  `,0),a=-1;for(;s>=0&&o>s;){let c=[this.generatedCodeColumn,e,n.line,n.column];i>=0&&c.push(i),this.rawSegments.push(c),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=s,s=r.indexOf(`
28
29
  `,s+1)}let l=[this.generatedCodeColumn,e,n.line,n.column];i>=0&&l.push(i),this.rawSegments.push(l),this.advance(r.slice(a+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(e,r,n,i,o){let s=r.start,a=!0,l=!1;for(;s<r.end;){if(n[s]===`
29
- `)i.line+=1,i.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=!0,l=!1;else{if(this.hires||a||o.has(s)){let c=[this.generatedCodeColumn,e,i.line,i.column];this.hires==="boundary"?cm.test(n[s])?l||(this.rawSegments.push(c),l=!0):(this.rawSegments.push(c),l=!1):this.rawSegments.push(c)}i.column+=1,this.generatedCodeColumn+=1,a=!1}s+=1}this.pending=null}advance(e){if(!e)return;let r=e.split(`
30
+ `)i.line+=1,i.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=!0,l=!1;else{if(this.hires||a||o.has(s)){let c=[this.generatedCodeColumn,e,i.line,i.column];this.hires==="boundary"?ym.test(n[s])?l||(this.rawSegments.push(c),l=!0):(this.rawSegments.push(c),l=!1):this.rawSegments.push(c)}i.column+=1,this.generatedCodeColumn+=1,a=!1}s+=1}this.pending=null}advance(e){if(!e)return;let r=e.split(`
30
31
  `);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}},Tr=`
31
- `,Qt={insertLeft:!1,insertRight:!1,storeName:!1},Nn=class t{constructor(e,r={}){let n=new Ln(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 Tn},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 i=r.next,o=i&&i.clone();o&&(n.next=o,o.previous=n,n=o),r=i}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new Tn(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};let r=0,n=Object.keys(this.storedNames),i=new wo(e.hires),o=Xl(this.original);return this.intro&&i.advance(this.intro),this.firstChunk.eachNext(s=>{let a=o(s.start);s.intro.length&&i.advance(s.intro),s.edited?i.addEdit(r,s.content,a,s.storeName?n.indexOf(s.original):-1):i.addUneditedChunk(r,s,this.original,a,this.sourcemapLocations),s.outro.length&&i.advance(s.outro)}),this.outro&&i.advance(this.outro),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?sm(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:n,mappings:i.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(e){return new ko(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=om(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(lm(e)&&(r=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;r=r||{};let i={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(d=>{for(let u=d[0];u<d[1];u+=1)i[u]=!0});let o=r.indentStart!==!1,s=c=>o?`${e}${c}`:(o=!0,c);this.intro=this.intro.replace(n,s);let a=0,l=this.firstChunk;for(;l;){let c=l.end;if(l.edited)i[a]||(l.content=l.content.replace(n,s),l.content.length&&(o=l.content[l.content.length-1]===`
32
+ `,Qt={insertLeft:!1,insertRight:!1,storeName:!1},An=class t{constructor(e,r={}){let n=new Ln(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 Tn},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 i=r.next,o=i&&i.clone();o&&(n.next=o,o.previous=n,n=o),r=i}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new Tn(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};let r=0,n=Object.keys(this.storedNames),i=new So(e.hires),o=rc(this.original);return this.intro&&i.advance(this.intro),this.firstChunk.eachNext(s=>{let a=o(s.start);s.intro.length&&i.advance(s.intro),s.edited?i.addEdit(r,s.content,a,s.storeName?n.indexOf(s.original):-1):i.addUneditedChunk(r,s,this.original,a,this.sourcemapLocations),s.outro.length&&i.advance(s.outro)}),this.outro&&i.advance(this.outro),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?mm(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:n,mappings:i.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(e){return new xo(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=pm(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(bm(e)&&(r=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;r=r||{};let i={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(d=>{for(let u=d[0];u<d[1];u+=1)i[u]=!0});let o=r.indentStart!==!1,s=c=>o?`${e}${c}`:(o=!0,c);this.intro=this.intro.replace(n,s);let a=0,l=this.firstChunk;for(;l;){let c=l.end;if(l.edited)i[a]||(l.content=l.content.replace(n,s),l.content.length&&(o=l.content[l.content.length-1]===`
32
33
  `));else for(a=l.start;a<c;){if(!i[a]){let d=this.original[a];d===`
33
- `?o=!0:d!=="\r"&&o&&(o=!1,a===l.start||(this._splitChunk(l,a),l=l.next),l.prependRight(e))}a+=1}a=l.end,l=l.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 Qt.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Qt.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return Qt.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Qt.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 i=this.byStart[e],o=this.byEnd[r],s=i.previous,a=o.next,l=this.byStart[n];if(!l&&o===this.lastChunk)return this;let c=l?l.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),c&&(c.next=i),l&&(l.previous=o),i.previous||(this.firstChunk=o.next),o.next||(this.lastChunk=i.previous,this.lastChunk.next=null),i.previous=c,o.next=l||null,c||(this.firstChunk=i),l||(this.lastChunk=o),this}overwrite(e,r,n,i){return i=i||{},this.update(e,r,n,{...i,overwrite:!i.contentOnly})}update(e,r,n,i){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),i===!0&&(Qt.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Qt.storeName=!0),i={storeName:!0});let o=i!==void 0?i.storeName:!1,s=i!==void 0?i.overwrite:!1;if(o){let c=this.original.slice(e,r);Object.defineProperty(this.storedNames,c,{writable:!0,value:!0,enumerable:!0})}let a=this.byStart[e],l=this.byEnd[r];if(a){let c=a;for(;c!==l;){if(c.next!==this.byStart[c.end])throw new Error("Cannot overwrite across a split point");c=c.next,c.edit("",!1)}a.edit(n,o,!s)}else{let c=new Ln(e,r,"").edit(n,o);l.next=c,c.previous=l}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(Tr);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(Tr),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(Tr),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(Tr),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(Tr),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="",i=this.firstChunk;for(;i&&(i.start>e||i.end<=e);){if(i.start<r&&i.end>=r)return n;i=i.next}if(i&&i.edited&&i.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let o=i;for(;i;){i.intro&&(o!==i||i.start===e)&&(n+=i.intro);let s=i.start<r&&i.end>=r;if(s&&i.edited&&i.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let a=o===i?e-i.start:0,l=s?i.content.length+r-i.end:i.content.length;if(n+=i.content.slice(a,l),i.outro&&(!s||i.end===r)&&(n+=i.outro),s)break;i=i.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,i=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);if(r=i?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(e,r){if(e.edited&&e.content.length){let i=Xl(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${i.line}:${i.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 i=n.end,o=n.trimEnd(r);if(n.end!==i&&(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),o)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 i=n.end,o=n.trimStart(r);if(n.end!==i&&(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),o)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(o,s){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(a,l)=>l==="$"?"$":l==="&"?o[0]:+l<o.length?o[+l]:`$${l}`):r(...o,o.index,s,o.groups)}function i(o,s){let a,l=[];for(;a=o.exec(s);)l.push(a);return l}if(e.global)i(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 o=this.original.match(e);if(o&&o.index!=null){let s=n(o,this.original);s!==o[0]&&this.overwrite(o.index,o.index+o[0].length,s)}}return this}_replaceString(e,r){let{original:n}=this,i=n.indexOf(e);return i!==-1&&(typeof r=="function"&&(r=r(e,i,n)),e!==r&&this.overwrite(i,i+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,i=e.length;for(let o=n.indexOf(e);o!==-1;o=n.indexOf(e,o+i)){let s=n.slice(o,o+i),a=r;typeof r=="function"&&(a=r(s,o,n)),s!==a&&this.overwrite(o,o+i,a)}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 er(t,e,r){if(t==="")return;let n=t.length,i=0,o=!1,s=0;for(let a=0;a<n;a++)switch(t[a]){case e:o||(o=!0,s=a),i++;break;case r:if(--i,i<0)return;if(i===0)return[t.slice(s,a+1),t.slice(a+1),t.slice(0,s)];break}}function kt(t,e,r,n){if(t===""||(H(n)&&(n=[n]),n.length===0))return;let i=t.length,o=0;for(let s=0;s<i;s++)switch(t[s]){case e:o++;break;case r:if(--o<0)return;break;default:for(let a of n){let l=a.length;if(l&&a===t.slice(s,s+l)&&o===0)return s===0||s===i-l?void 0:[t.slice(0,s),t.slice(s+l)]}}return[t,""]}function je(t,e,r,n="(",i=")"){r=r??10;let o=[],s=0;for(;t!=="";){if(++s>r)return;let a=kt(t,n,i,e);if(!a)return;let[l,c]=a;o.push(l),t=c}if(o.length>0)return o}var $o=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],um=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],fm=["hsl","hwb","lch","oklch"],dm=["shorter","longer","increasing","decreasing"],_o=["%alpha","<alpha-value>"],Co=new RegExp(_o.map(t=>Kt(t)).join("|"),"g");function Eo(t){return t?um.some(e=>t.includes(e))||fm.some(e=>t.includes(e))||dm.some(e=>t.includes(e)):!1}function wt(t=""){let e=hm(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:i}=e,o=r.toLowerCase();if(n.length!==0&&!($o.includes(o)&&![1,3].includes(n.length)))return{type:o,components:n.map(s=>typeof s=="string"?s.trim():s),alpha:typeof i=="string"?i.trim():i}}function xt(t,e){if(typeof t=="string")return t.replace(Co,`${e??1}`);let{components:r}=t,{alpha:n,type:i}=t;return n=e??n,i=i.toLowerCase(),["hsla","rgba"].includes(i)?`${i}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,$o.includes(i)?`${i}(${r.join(" ")}${n})`:`color(${i} ${r.join(" ")}${n})`)}function hm(t){if(!t)return;let e=pm(t);if(e!=null||(e=mm(t),e!=null)||(e=gm(t),e!=null)||(e=ym(t),e!=null)||(e=vm(t),e!=null))return e}function pm(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 mm(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function gm(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,i=je(n,",",5);if(i){if([3,4].includes(i.length))return{type:r,components:i.slice(0,3),alpha:i[3]};if(i.length!==1)return!1}}var bm=new RegExp(`^(${$o.join("|")})\\((.+)\\)$`,"i");function ym(t){let e=t.match(bm);if(!e)return;let[,r,n]=e,i=rc(`${r} ${n}`);if(i){let{alpha:o,components:[s,...a]}=i;return{type:s,components:a,alpha:o}}}function vm(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=rc(e[1]);if(r){let{alpha:n,components:[i,...o]}=r;return{type:i,components:o,alpha:n}}}function rc(t){let e=je(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 o=e.splice(r-2);e.push(o.join(" ")),--r}let n=je(e[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:e};let i=n.pop();return e[r-1]=n.join("/"),{components:e,alpha:i}}var km=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function nc(t){return t.includes("theme(")&&t.includes(")")}function ic(t,e,r=!0){let n=Array.from(t.toString().matchAll(km));if(!n.length)return t;let i=new Nn(t);for(let o of n){let s=o[2];if(!s)throw new Error("theme() expect exact one argument, but got 0");let a=wm(s,e,r);a&&i.overwrite(o.index,o.index+o[0].length,a)}return i.toString()}function wm(t,e,r=!0){let[n,i]=t.split("/"),s=n.trim().split(".").reduce((a,l)=>a?.[l],e);if(typeof s=="object"&&(s=s.DEFAULT),typeof s=="string"){if(i){let a=wt(s);a&&(s=xt(a,i))}return s}else if(r)throw new Error(`theme of "${t}" did not found`)}function Oo(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 oc(t){let e=function(n){let i=this.__options?.sequence||[];this.__options.sequence=[];for(let o of i){let s=t[o](n);if(s!=null)return s}};function r(n,i){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(i),n}for(let n of Object.keys(t))Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return e}var Lr="__pseudo_placeholder__",tr=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(${Lr})`],["nth-last",`:nth-last-child(${Lr})`],["nth-last-of-type",`:nth-last-of-type(${Lr})`],["nth-of-type",`:nth-of-type(${Lr})`],"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}`])),sc=Object.keys(tr),rr=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),ac=Object.keys(rr),xm=["not","is","where","has"],lc=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),xo=Object.entries(tr).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),So=Object.entries(rr).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),vt=xm.join("|"),Ql=Object.keys(lc).sort((t,e)=>e.length-t.length).join("|"),Sm=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],ec=Object.entries(tr).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),tc=Object.entries(rr).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function $m(t,e,r,n){let{h:i,variantGetBracket:o}=n,s=new RegExp(`^(${Kt(e)}:)(\\S+)${Kt(r)}\\1`),a,l,c,d,u=g=>{let b=o(`${t}-`,g,[]);if(!b)return;let[v,S]=b,$=i.bracket(v);if($==null)return;let C=S.split(a,1)?.[0]??"",E=`${e}${lt(C)}`;return[C,g.slice(g.length-(S.length-C.length-1)),$.includes("&")?$.replace(/&/g,E):`${E}${$}`]},h=g=>{let b=g.match(l)||g.match(c);if(!b)return;let[v,S,$]=b,C=b[3]??"",E=tr[$]||rr[$]||`:${$}`;return S&&(E=`:${S}(${E})`),[C,g.slice(v.length),`${e}${lt(C)}${E}`,$]},m=g=>{let b=g.match(d);if(!b)return;let[v,S,$]=b,C=b[3]??"",E=`:${S}(${$})`;return[C,g.slice(v.length),`${e}${lt(C)}${E}`]};return{name:`pseudo:${t}`,match(g,b){if(a&&l&&c||(a=new RegExp(`(?:${b.generator.config.separators.join("|")})`),l=new RegExp(`^${t}-(?:(?:(${vt})-)?(${xo}))(?:(/[\\w-]+))?(?:${b.generator.config.separators.join("|")})`),c=new RegExp(`^${t}-(?:(?:(${vt})-)?(${So}))(?:(/[\\w-]+))?(?:${b.generator.config.separators.filter(k=>k!=="-").join("|")})`),d=new RegExp(`^${t}-(?:(${vt})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${b.generator.config.separators.filter(k=>k!=="-").join("|")})`)),!g.startsWith(t))return;let v=u(g)||h(g)||m(g);if(!v)return;let[S,$,C,E=""]=v;return{matcher:$,handle:(k,T)=>T({...k,prefix:`${C}${r}${k.prefix}`.replace(s,"$1$2:"),sort:sc.indexOf(E)??ac.indexOf(E)})}},multiPass:!0}}function cc(t){let{h:e}=t,r,n,i;return[{name:"pseudo",match(o,s){r&&n||(r=new RegExp(`^(${ec})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${s.generator.config.separators.join("|")})`),n=new RegExp(`^(${tc})(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`));let a=o.match(r)||o.match(n);if(a){let l=tr[a[1]]||rr[a[1]]||`:${a[1]}`;if(a[2]){let d;a[2].startsWith("[")&&a[2].endsWith("]")?d=e.bracket(a[2]):d=a[2],d&&(l=l.replace(Lr,d))}let c=sc.indexOf(a[1]);return c===-1&&(c=ac.indexOf(a[1])),c===-1&&(c=void 0),{matcher:o.slice(a[0].length),handle:(d,u)=>{let h=l.includes("::")&&!Sm.includes(l)?{pseudo:`${d.pseudo}${l}`}:{selector:`${d.selector}${l}`};return u({...d,...h,sort:c,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${ec}|${tc}):`},{name:"pseudo:multi",match(o,s){i||(i=new RegExp(`^(${Ql})(?:${s.generator.config.separators.join("|")})`));let a=o.match(i);if(a)return lc[a[1]].map(c=>({matcher:o.slice(a[0].length),handle:(d,u)=>u({...d,pseudo:`${d.pseudo}${c}`})}))},multiPass:!1,autocomplete:`(${Ql}):`}]}function uc(t){let{getBracket:e,h:r}=t,n,i,o;return{match(s,a){n&&i||(n=new RegExp(`^(${vt})-(${xo})(?:${a.generator.config.separators.join("|")})`),i=new RegExp(`^(${vt})-(${So})(?:${a.generator.config.separators.filter(c=>c!=="-").join("|")})`),o=new RegExp(`^(${vt})-(\\[.+\\])(?:${a.generator.config.separators.filter(c=>c!=="-").join("|")})`));let l=s.match(n)||s.match(i)||s.match(o);if(l){let c=l[1],u=e(l[2],"[","]")?r.bracket(l[2]):tr[l[2]]||rr[l[2]]||`:${l[2]}`;return{matcher:s.slice(l[0].length),selector:h=>`${h}:${c}(${u})`}}},multiPass:!0,autocomplete:`(${vt})-(${xo}|${So}):`}}function fc(t,e){let r=!!t?.attributifyPseudo,n=t?.prefix??"";n=(Array.isArray(n)?n:[n]).filter(Boolean)[0]??"";let i=(o,s)=>$m(o,r?`[${n}${o}=""]`:`.${n}${o}`,s,e);return[i("group"," "),i("peer","~"),i("parent",">"),i("previous","+")]}var _m=/(part-\[(.+)\]:)(.+)/;function dc(){return{match(t){let e=t.match(_m);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function $e(t,e,r={}){let n;return{name:t,match(i,o){n||(n=new RegExp(`^${Kt(t)}(?:${o.generator.config.separators.join("|")})`));let s=i.match(n);if(s){let a=i.slice(s[0].length),l=F(e).map(c=>({matcher:a,handle:(d,u)=>u({...d,...c(d)}),...r}));return l.length===1?l[0]:l}},autocomplete:`${t}:`}}function ae(t,e){let r;return{name:t,match(n,i){r||(r=new RegExp(`^${Kt(t)}(?:${i.generator.config.separators.join("|")})`));let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${e}`})}},autocomplete:`${t}:`}}function ct(t,e,r){if(e.startsWith(`${t}[`)){let[n,i]=er(e.slice(t.length),"[","]")??[];if(n&&i){for(let o of r)if(i.startsWith(o))return[n,i.slice(o.length),o];return[n,i,""]}}}function me(t,e,r){for(let n of F(t))if(e.startsWith(n)){let i=ct(n,e,r);if(i){let[o="",s=i[1]]=me("/",i[1],r)??[];return[i[0],s,o]}for(let o of r.filter(s=>s!=="/")){let s=e.indexOf(o,n.length);if(s!==-1){let a=e.indexOf("/",n.length),l=a===-1||s<=a;return[e.slice(n.length,l?s:a),e.slice(s+o.length),l?"":e.slice(a+1,s)]}}}}var pc=[["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"]],Em={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]},M=t=>t.toFixed(7).replace(/0+$/,"").replace(/\.$/,""),le=t=>`${M(t/16)}rem`,f=(t,e)=>`${M(t/e)}em`,Om={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":f(32,16),"margin-bottom":f(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)"}},Mo={sm:{"font-size":le(14),"line-height":M(24/14),p:{"margin-top":f(16,14),"margin-bottom":f(16,14)},'[class~="lead"]':{"font-size":f(18,14),"line-height":M(28/18),"margin-top":f(16,18),"margin-bottom":f(16,18)},blockquote:{"margin-top":f(24,18),"margin-bottom":f(24,18),"padding-inline-start":f(20,18)},h1:{"font-size":f(30,14),"margin-top":"0","margin-bottom":f(24,30),"line-height":M(36/30)},h2:{"font-size":f(20,14),"margin-top":f(32,20),"margin-bottom":f(16,20),"line-height":M(28/20)},h3:{"font-size":f(18,14),"margin-top":f(28,18),"margin-bottom":f(8,18),"line-height":M(28/18)},h4:{"margin-top":f(20,14),"margin-bottom":f(8,14),"line-height":M(20/14)},img:{"margin-top":f(24,14),"margin-bottom":f(24,14)},picture:{"margin-top":f(24,14),"margin-bottom":f(24,14)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":f(24,14),"margin-bottom":f(24,14)},kbd:{"font-size":f(12,14),"border-radius":le(5),"padding-top":f(2,14),"padding-inline-end":f(5,14),"padding-bottom":f(2,14),"padding-inline-start":f(5,14)},code:{"font-size":f(12,14)},"h2 code":{"font-size":f(18,20)},"h3 code":{"font-size":f(16,18)},pre:{"font-size":f(12,14),"line-height":M(20/12),"margin-top":f(20,12),"margin-bottom":f(20,12),"border-radius":le(4),"padding-top":f(8,12),"padding-inline-end":f(12,12),"padding-bottom":f(8,12),"padding-inline-start":f(12,12)},ol:{"margin-top":f(16,14),"margin-bottom":f(16,14),"padding-inline-start":f(22,14)},ul:{"margin-top":f(16,14),"margin-bottom":f(16,14),"padding-inline-start":f(22,14)},li:{"margin-top":f(4,14),"margin-bottom":f(4,14)},"ol > li":{"padding-inline-start":f(6,14)},"ul > li":{"padding-inline-start":f(6,14)},"> ul > li p":{"margin-top":f(8,14),"margin-bottom":f(8,14)},"> ul > li > p:first-child":{"margin-top":f(16,14)},"> ul > li > p:last-child":{"margin-bottom":f(16,14)},"> ol > li > p:first-child":{"margin-top":f(16,14)},"> ol > li > p:last-child":{"margin-bottom":f(16,14)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":f(8,14),"margin-bottom":f(8,14)},dl:{"margin-top":f(16,14),"margin-bottom":f(16,14)},dt:{"margin-top":f(16,14)},dd:{"margin-top":f(4,14),"padding-inline-start":f(22,14)},hr:{"margin-top":f(40,14),"margin-bottom":f(40,14)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":f(12,14),"line-height":M(18/12)},"thead th":{"padding-inline-end":f(12,12),"padding-bottom":f(8,12),"padding-inline-start":f(12,12)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":f(8,12),"padding-inline-end":f(12,12),"padding-bottom":f(8,12),"padding-inline-start":f(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":f(24,14),"margin-bottom":f(24,14)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":f(12,14),"line-height":M(16/12),"margin-top":f(8,12)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},base:{"font-size":le(16),"line-height":M(28/16),p:{"margin-top":f(20,16),"margin-bottom":f(20,16)},'[class~="lead"]':{"font-size":f(20,16),"line-height":M(32/20),"margin-top":f(24,20),"margin-bottom":f(24,20)},blockquote:{"margin-top":f(32,20),"margin-bottom":f(32,20),"padding-inline-start":f(20,20)},h1:{"font-size":f(36,16),"margin-top":"0","margin-bottom":f(32,36),"line-height":M(40/36)},h2:{"font-size":f(24,16),"margin-top":f(48,24),"margin-bottom":f(24,24),"line-height":M(32/24)},h3:{"font-size":f(20,16),"margin-top":f(32,20),"margin-bottom":f(12,20),"line-height":M(32/20)},h4:{"margin-top":f(24,16),"margin-bottom":f(8,16),"line-height":M(24/16)},img:{"margin-top":f(32,16),"margin-bottom":f(32,16)},picture:{"margin-top":f(32,16),"margin-bottom":f(32,16)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":f(32,16),"margin-bottom":f(32,16)},kbd:{"font-size":f(14,16),"border-radius":le(5),"padding-top":f(3,16),"padding-inline-end":f(6,16),"padding-bottom":f(3,16),"padding-inline-start":f(6,16)},code:{"font-size":f(14,16)},"h2 code":{"font-size":f(21,24)},"h3 code":{"font-size":f(18,20)},pre:{"font-size":f(14,16),"line-height":M(24/14),"margin-top":f(24,14),"margin-bottom":f(24,14),"border-radius":le(6),"padding-top":f(12,14),"padding-inline-end":f(16,14),"padding-bottom":f(12,14),"padding-inline-start":f(16,14)},ol:{"margin-top":f(20,16),"margin-bottom":f(20,16),"padding-inline-start":f(26,16)},ul:{"margin-top":f(20,16),"margin-bottom":f(20,16),"padding-inline-start":f(26,16)},li:{"margin-top":f(8,16),"margin-bottom":f(8,16)},"ol > li":{"padding-inline-start":f(6,16)},"ul > li":{"padding-inline-start":f(6,16)},"> ul > li p":{"margin-top":f(12,16),"margin-bottom":f(12,16)},"> ul > li > p:first-child":{"margin-top":f(20,16)},"> ul > li > p:last-child":{"margin-bottom":f(20,16)},"> ol > li > p:first-child":{"margin-top":f(20,16)},"> ol > li > p:last-child":{"margin-bottom":f(20,16)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":f(12,16),"margin-bottom":f(12,16)},dl:{"margin-top":f(20,16),"margin-bottom":f(20,16)},dt:{"margin-top":f(20,16)},dd:{"margin-top":f(8,16),"padding-inline-start":f(26,16)},hr:{"margin-top":f(48,16),"margin-bottom":f(48,16)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":f(14,16),"line-height":M(24/14)},"thead th":{"padding-inline-end":f(8,14),"padding-bottom":f(8,14),"padding-inline-start":f(8,14)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":f(8,14),"padding-inline-end":f(8,14),"padding-bottom":f(8,14),"padding-inline-start":f(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":f(32,16),"margin-bottom":f(32,16)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":f(14,16),"line-height":M(20/14),"margin-top":f(12,14)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},lg:{"font-size":le(18),"line-height":M(32/18),p:{"margin-top":f(24,18),"margin-bottom":f(24,18)},'[class~="lead"]':{"font-size":f(22,18),"line-height":M(32/22),"margin-top":f(24,22),"margin-bottom":f(24,22)},blockquote:{"margin-top":f(40,24),"margin-bottom":f(40,24),"padding-inline-start":f(24,24)},h1:{"font-size":f(48,18),"margin-top":"0","margin-bottom":f(40,48),"line-height":M(48/48)},h2:{"font-size":f(30,18),"margin-top":f(56,30),"margin-bottom":f(32,30),"line-height":M(40/30)},h3:{"font-size":f(24,18),"margin-top":f(40,24),"margin-bottom":f(16,24),"line-height":M(36/24)},h4:{"margin-top":f(32,18),"margin-bottom":f(8,18),"line-height":M(28/18)},img:{"margin-top":f(32,18),"margin-bottom":f(32,18)},picture:{"margin-top":f(32,18),"margin-bottom":f(32,18)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":f(32,18),"margin-bottom":f(32,18)},kbd:{"font-size":f(16,18),"border-radius":le(5),"padding-top":f(4,18),"padding-inline-end":f(8,18),"padding-bottom":f(4,18),"padding-inline-start":f(8,18)},code:{"font-size":f(16,18)},"h2 code":{"font-size":f(26,30)},"h3 code":{"font-size":f(21,24)},pre:{"font-size":f(16,18),"line-height":M(28/16),"margin-top":f(32,16),"margin-bottom":f(32,16),"border-radius":le(6),"padding-top":f(16,16),"padding-inline-end":f(24,16),"padding-bottom":f(16,16),"padding-inline-start":f(24,16)},ol:{"margin-top":f(24,18),"margin-bottom":f(24,18),"padding-inline-start":f(28,18)},ul:{"margin-top":f(24,18),"margin-bottom":f(24,18),"padding-inline-start":f(28,18)},li:{"margin-top":f(12,18),"margin-bottom":f(12,18)},"ol > li":{"padding-inline-start":f(8,18)},"ul > li":{"padding-inline-start":f(8,18)},"> ul > li p":{"margin-top":f(16,18),"margin-bottom":f(16,18)},"> ul > li > p:first-child":{"margin-top":f(24,18)},"> ul > li > p:last-child":{"margin-bottom":f(24,18)},"> ol > li > p:first-child":{"margin-top":f(24,18)},"> ol > li > p:last-child":{"margin-bottom":f(24,18)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":f(16,18),"margin-bottom":f(16,18)},dl:{"margin-top":f(24,18),"margin-bottom":f(24,18)},dt:{"margin-top":f(24,18)},dd:{"margin-top":f(12,18),"padding-inline-start":f(28,18)},hr:{"margin-top":f(56,18),"margin-bottom":f(56,18)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":f(16,18),"line-height":M(24/16)},"thead th":{"padding-inline-end":f(12,16),"padding-bottom":f(12,16),"padding-inline-start":f(12,16)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":f(12,16),"padding-inline-end":f(12,16),"padding-bottom":f(12,16),"padding-inline-start":f(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":f(32,18),"margin-bottom":f(32,18)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":f(16,18),"line-height":M(24/16),"margin-top":f(16,16)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},xl:{"font-size":le(20),"line-height":M(36/20),p:{"margin-top":f(24,20),"margin-bottom":f(24,20)},'[class~="lead"]':{"font-size":f(24,20),"line-height":M(36/24),"margin-top":f(24,24),"margin-bottom":f(24,24)},blockquote:{"margin-top":f(48,30),"margin-bottom":f(48,30),"padding-inline-start":f(32,30)},h1:{"font-size":f(56,20),"margin-top":"0","margin-bottom":f(48,56),"line-height":M(56/56)},h2:{"font-size":f(36,20),"margin-top":f(56,36),"margin-bottom":f(32,36),"line-height":M(40/36)},h3:{"font-size":f(30,20),"margin-top":f(48,30),"margin-bottom":f(20,30),"line-height":M(40/30)},h4:{"margin-top":f(36,20),"margin-bottom":f(12,20),"line-height":M(32/20)},img:{"margin-top":f(40,20),"margin-bottom":f(40,20)},picture:{"margin-top":f(40,20),"margin-bottom":f(40,20)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":f(40,20),"margin-bottom":f(40,20)},kbd:{"font-size":f(18,20),"border-radius":le(5),"padding-top":f(5,20),"padding-inline-end":f(8,20),"padding-bottom":f(5,20),"padding-inline-start":f(8,20)},code:{"font-size":f(18,20)},"h2 code":{"font-size":f(31,36)},"h3 code":{"font-size":f(27,30)},pre:{"font-size":f(18,20),"line-height":M(32/18),"margin-top":f(36,18),"margin-bottom":f(36,18),"border-radius":le(8),"padding-top":f(20,18),"padding-inline-end":f(24,18),"padding-bottom":f(20,18),"padding-inline-start":f(24,18)},ol:{"margin-top":f(24,20),"margin-bottom":f(24,20),"padding-inline-start":f(32,20)},ul:{"margin-top":f(24,20),"margin-bottom":f(24,20),"padding-inline-start":f(32,20)},li:{"margin-top":f(12,20),"margin-bottom":f(12,20)},"ol > li":{"padding-inline-start":f(8,20)},"ul > li":{"padding-inline-start":f(8,20)},"> ul > li p":{"margin-top":f(16,20),"margin-bottom":f(16,20)},"> ul > li > p:first-child":{"margin-top":f(24,20)},"> ul > li > p:last-child":{"margin-bottom":f(24,20)},"> ol > li > p:first-child":{"margin-top":f(24,20)},"> ol > li > p:last-child":{"margin-bottom":f(24,20)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":f(16,20),"margin-bottom":f(16,20)},dl:{"margin-top":f(24,20),"margin-bottom":f(24,20)},dt:{"margin-top":f(24,20)},dd:{"margin-top":f(12,20),"padding-inline-start":f(32,20)},hr:{"margin-top":f(56,20),"margin-bottom":f(56,20)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":f(18,20),"line-height":M(28/18)},"thead th":{"padding-inline-end":f(12,18),"padding-bottom":f(16,18),"padding-inline-start":f(12,18)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":f(16,18),"padding-inline-end":f(12,18),"padding-bottom":f(16,18),"padding-inline-start":f(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":f(40,20),"margin-bottom":f(40,20)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":f(18,20),"line-height":M(28/18),"margin-top":f(18,18)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},"2xl":{"font-size":le(24),"line-height":M(40/24),p:{"margin-top":f(32,24),"margin-bottom":f(32,24)},'[class~="lead"]':{"font-size":f(30,24),"line-height":M(44/30),"margin-top":f(32,30),"margin-bottom":f(32,30)},blockquote:{"margin-top":f(64,36),"margin-bottom":f(64,36),"padding-inline-start":f(40,36)},h1:{"font-size":f(64,24),"margin-top":"0","margin-bottom":f(56,64),"line-height":M(64/64)},h2:{"font-size":f(48,24),"margin-top":f(72,48),"margin-bottom":f(40,48),"line-height":M(52/48)},h3:{"font-size":f(36,24),"margin-top":f(56,36),"margin-bottom":f(24,36),"line-height":M(44/36)},h4:{"margin-top":f(40,24),"margin-bottom":f(16,24),"line-height":M(36/24)},img:{"margin-top":f(48,24),"margin-bottom":f(48,24)},picture:{"margin-top":f(48,24),"margin-bottom":f(48,24)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":f(48,24),"margin-bottom":f(48,24)},kbd:{"font-size":f(20,24),"border-radius":le(6),"padding-top":f(6,24),"padding-inline-end":f(8,24),"padding-bottom":f(6,24),"padding-inline-start":f(8,24)},code:{"font-size":f(20,24)},"h2 code":{"font-size":f(42,48)},"h3 code":{"font-size":f(32,36)},pre:{"font-size":f(20,24),"line-height":M(36/20),"margin-top":f(40,20),"margin-bottom":f(40,20),"border-radius":le(8),"padding-top":f(24,20),"padding-inline-end":f(32,20),"padding-bottom":f(24,20),"padding-inline-start":f(32,20)},ol:{"margin-top":f(32,24),"margin-bottom":f(32,24),"padding-inline-start":f(38,24)},ul:{"margin-top":f(32,24),"margin-bottom":f(32,24),"padding-inline-start":f(38,24)},li:{"margin-top":f(12,24),"margin-bottom":f(12,24)},"ol > li":{"padding-inline-start":f(10,24)},"ul > li":{"padding-inline-start":f(10,24)},"> ul > li p":{"margin-top":f(20,24),"margin-bottom":f(20,24)},"> ul > li > p:first-child":{"margin-top":f(32,24)},"> ul > li > p:last-child":{"margin-bottom":f(32,24)},"> ol > li > p:first-child":{"margin-top":f(32,24)},"> ol > li > p:last-child":{"margin-bottom":f(32,24)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":f(16,24),"margin-bottom":f(16,24)},dl:{"margin-top":f(32,24),"margin-bottom":f(32,24)},dt:{"margin-top":f(32,24)},dd:{"margin-top":f(12,24),"padding-inline-start":f(38,24)},hr:{"margin-top":f(72,24),"margin-bottom":f(72,24)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":f(20,24),"line-height":M(28/20)},"thead th":{"padding-inline-end":f(12,20),"padding-bottom":f(16,20),"padding-inline-start":f(12,20)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":f(16,20),"padding-inline-end":f(12,20),"padding-bottom":f(16,20),"padding-inline-start":f(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":f(48,24),"margin-bottom":f(48,24)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":f(20,24),"line-height":M(32/20),"margin-top":f(20,20)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}}};function Mm(t){let e=Jt(Em);if(t)for(let r in t){let[n,i]=F(t[r]),[o,s]=e[r];e[r]=[n??o,i??s]}return e}function Tm(t){return t?Xt(Mo,t):Mo}function hc(t,e){let r=e.selectorName||"prose",n=`:not(:where([class~="not-${r}"],[class~="not-${r}"] *))`,i=e.important===!0,o="";for(let[s,a]of Object.entries(t))if(typeof a!="object")o+=`${s}:${a}${i?" !important":""};`;else{let l=`:where(${s})${n}`;o+=`${l} {`;for(let[c,d]of Object.entries(a))o+=`${c}:${d}${i?" !important":""};`;o+="}"}return o}function Lm(t){for(let[e,...r]of pc)if(e===t)return r.length>0?r:[e]}var To=t=>{let e=t?.selectorName??"prose",r=t?.compatibility?.noColonNot||t?.compatibility?.noColonWhere,n=t?.cssVarPrefix??"--un-prose",i=Mm(t?.colorScheme),o=Tm(t?.sizeScheme),s=(u,h)=>{let m=typeof t?.cssExtend=="function"?t?.cssExtend(h):t?.cssExtend;return Xt(u,m??{})},a=u=>(typeof t?.important=="string"&&(u=`${t.important} ${u}`),t?.compatibility?.noColonIs||(u=`:is(${u})`),u),l=new RegExp(`^${e}-default$`),c=new RegExp(`^${e}-([-\\w]+)$`),d=new RegExp(`^${e}-(${Object.keys(o).join("|")})$`);return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},shortcuts:[[e,[`${e}-default`,`${e}-gray`],{layer:"typography"}]],rules:[[l,(u,{symbols:h,theme:m})=>{let g=s(Xt(Om,Mo.base),m),b=hc(g,t??{});return{[h.body]:b,[h.selector]:a}},{layer:"typography",autocomplete:"prose",internal:!0}],[c,([,u],{theme:h,symbols:m})=>{let g=h.colors?.[u];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(u)?{[`${n}-links`]:g[600],[`${n}-invert-links`]:g[500],[m.selector]:a}:Object.entries(i).reduce((v,[S,$])=>{let[C,E]=$,k=R=>g[R]??h[R]??R,T=k(C),_=k(E),P=`${n}-${S}`,N=`${n}-invert-${S}`;v[P]=xt(T,`var(${P}-opacity)`),v[N]=xt(_,`var(${N}-opacity)`);for(let[R,Q]of[[T,`${P}-opacity`],[_,`${N}-opacity`]])_o.some(Y=>R.includes(Y))&&(v[Q]="1");return v},{[m.selector]:a})},{layer:"typography",autocomplete:`${e}-$colors`}],[d,([,u],{symbols:h,theme:m})=>{let g=hc(s(o[u],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(o).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)`,[J.selector]:a}],{layer:"typography"}]],variants:[{name:"typography element modifiers",match:u=>{if(u.startsWith(`${e}-`)){let h=new RegExp(`^${e}-(\\w+)[:-].+$`),m=u.match(h)?.[1];if(m){let g=Lm(m);if(g?.length)return{matcher:u.slice(e.length+m.length+2),selector:b=>{let v=`:not(:where([class~="not-${e}"],[class~="not-${e}"] *))`;return r?g.map($=>`${b} ${$}`).join(","):`${b} :is(:where(${g})${v})`}}}}},autocomplete:`${e}-(${pc.map(u=>`${u[0]}:`).join("|")})`}]}};var yc="@unocss/preset-wind4",Nr="$$mini-no-negative",Pr={transparent:"transparent",current:"currentColor",inherit:"inherit"},_e={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"]},No={..._e,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"]},Ar={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"]},Po={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},vc=["x","y","z"],mc=["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"],ce=Object.assign({},...mc.map(t=>({[t.replace(/ /,"-")]:t})),...mc.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),B=["inherit","initial","revert","revert-layer","unset"],Pn=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Ao=/^(var)\s*\((.+)\)(.*)/,An=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Nm=/^(-?\d*(?:\.\d+)?)$/,kc=/^(px|[sld]?v[wh])$/i,wc={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Dn=/^\[(color|image|length|size|position|quoted|string|number|family):/i,xc=/,(?![^()]*\))/g;var Pm=["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 De(t){return+t.toFixed(10)}function Am(t){let e=t.match(An);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(n&&!Number.isNaN(i))return`${De(i)}${n}`}function Dm(t){if(t==="auto"||t==="a")return"auto"}function Im(t){if(!t)return;if(kc.test(t))return`${wc[t]}${t}`;let e=t.match(An);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0?"0":n?`${De(i)}${n}`:`${De(i/4)}rem`}function Rm(t){if(kc.test(t))return`${wc[t]}${t}`;let e=t.match(An);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(!Number.isNaN(i))return n?`${De(i)}${n}`:`${De(i)}px`}function Sc(t){if(!Nm.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return De(e)}function zm(t){t.endsWith("%")&&(t=t.slice(0,-1));let e=Sc(t);if(e!=null)return`${e}%`}function Fm(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":`${De(n*100)}%`}function St(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,n,i=t.match(Dn);if(!i)r=t.slice(1,-1);else{if(!e)n=i[1];else if(i[1]!==e)return;r=t.slice(i[0].length,-1)}if(!r||r==='=""')return;if(r.startsWith("--")){let[s,a]=r.slice(2).split(",");r=`var(--${lt(s)}${a?`, ${a}`:""})`}let o=0;for(let s of r)if(s==="[")o+=1;else if(s==="]"&&(o-=1,o<0))return;if(o)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,(l,c)=>(a.push(c),l.replace(c,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function Vm(t){return St(t)}function jm(t){return St(t,"color")}function Wm(t){return St(t,"length")||St(t,"size")}function qm(t){return St(t,"position")}function Bm(t){return St(t,"family")}function Um(t){return St(t,"number")}function Hm(t){if(t.startsWith("var("))return t;let e=t.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(e){let[r,n]=e[1].split(",");return`var(--${lt(r)}${n?`, ${n}`:""})`}}function Zm(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0&&!n?"0s":n?`${De(i)}${n}`:`${De(i)}ms`}function Gm(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0?"0deg":n?`${De(i)}${n}`:`${De(i)}deg`}function Ym(t){if(B.includes(t))return t}function Jm(t){if(t.split(",").every(e=>Pm.includes(e)))return t}function Km(t){if(["top","left","right","bottom","center"].includes(t))return t}function Xm(t){if(t==="none")return"none"}var Qm={__proto__:null,auto:Dm,bracket:Vm,bracketOfColor:jm,bracketOfFamily:Bm,bracketOfLength:Wm,bracketOfNumber:Um,bracketOfPosition:qm,cssvar:Hm,degree:Gm,fraction:Fm,global:Ym,none:Xm,number:Sc,numberWithUnit:Am,percent:zm,position:Km,properties:Jm,px:Rm,rem:Im,time:Zm},eg=oc(Qm),p=eg;function ge(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 j(t,e=_e,r=(n,i)=>`${n}${i}`){return(([n,i,o],{theme:s})=>{if(o!=null&&i!=null){let a,l=o.startsWith("-");if(l&&(o=o.slice(1)),a=ge(o),a!=null&&!Number.isNaN(a))return A("spacing"),e[i].map(c=>[r(t,c),`calc(var(--spacing) * ${l?"-":""}${a})`]);if(s.spacing&&o in s.spacing)return A("spacing",o),e[i].map(c=>[r(t,c),l?`calc(var(--spacing-${o}) * -1)`:`var(--spacing-${o})`]);if(a=p.bracket.cssvar.global.auto.fraction.rem(l?`-${o}`:o),a!=null)return e[i].map(c=>[r(t,c),a])}})}function Dr(t,e){let r,[n,...i]=je(t,["/",":"],3)??[];if(n!=null){let b=(n.match(Dn)??[])[1];(b==null||b==="color")&&(r=[n,...i])}if(!r)return;let o,[s,a,l]=r;Eo(a)||Eo(p.bracket(a??""))?l=a:o=a;let c=s.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[d]=c;if(!d)return;let u=gc(e,c);if(!u&&c.length>=2){let b=c.at(-1),v=c.at(-2);if(/^\d+$/.test(b)){let S=c.slice(0,-2).concat([`${v}${b}`]);u=gc(e,S)}}let{no:h,keys:m,color:g}=u??{};if(!g){let b=p.bracketOfColor(s),v=b||s;if(p.numberWithUnit(v))return;/^#[\da-f]+$/i.test(v)?g=v:/^hex-[\da-fA-F]+$/.test(v)?g=`#${v.slice(4)}`:s.startsWith("$")&&(g=p.cssvar(s)),g=g||b}return{opacity:o,modifier:l&&p.bracket.cssvar(l)||l,name:d,no:h,color:g??Pr[d],alpha:p.bracket.cssvar.percent(o??""),keys:m,get cssColor(){return wt(this.color)}}}function gc(t,e){let r,n,i,o=Ir(t,"colors",e);if(typeof o=="object"?"DEFAULT"in o&&(r=o.DEFAULT,n="DEFAULT",i=[...e,n]):typeof o=="string"&&(r=o,i=e,n=e.at(-1)),!!r)return{color:r,no:n,keys:i}}function Ir(t,e,r){let n=t[e];function i(o,s){if(!(!o||typeof o!="object")){if(s.length===0)return o;for(let a=s.length;a>0;a--){let l=s.slice(0,a).join("-");if(l in o){let c=o[l];return a===s.length?c:i(c,s.slice(a))}}}}return i(n,r)}function Do(t,e,r,n){if(!t)return;let{color:i,keys:o,alpha:s,modifier:a}=t,l=n?.generator.config.envMode==="dev"&&i?` /* ${i} */`:"",c={};if(i){let d=[c];if(Object.values(Pr).includes(i))c[e]=i;else{let u=`--un-${r}-opacity`,h=o?Z("colors",o):i,m=a??(o?"in srgb":"in oklab");if(!m.startsWith("in ")&&!m.startsWith("var(")&&(m=`in ${m}`),c[e]=`color-mix(${m}, ${h} ${s??`var(${u})`}, transparent)${l}`,d.push(x(u,{syntax:"<percentage>",initialValue:"100%"})),o&&(A("colors",o),!a)){let g=["shadow","inset-shadow","text-shadow","drop-shadow"].includes(r)?`${s?`color-mix(in oklab, ${h} ${s}, transparent)`:`${h}`} var(${u})`:`${h} ${s??`var(${u})`}`;d.push({[J.parent]:"@supports (color: color-mix(in lab, red, red))",[J.noMerge]:!0,[J.shortcutsNoMerge]:!0,[e]:`color-mix(in oklab, ${g}, transparent)${l}`})}n?.theme&&ir(i,n.theme)}return d}}function U(t,e){return([,r],n)=>{let i=Dr(r??"",n.theme);if(i)return Do(i,t,e,n)}}function In(t,e,r){let n=[];t=F(t);for(let i=0;i<t.length;i++){let o=je(t[i]," ",6);if(!o||o.length<3)return t;let s=!1,a=o.indexOf("inset");a!==-1&&(o.splice(a,1),s=!0);let l="",c=o.at(-1);if(wt(o.at(0))){let d=wt(o.shift());d&&(l=xt(d))}else if(wt(c)){let d=wt(o.pop());d&&(l=xt(d))}else if(c&&Ao.test(c)){let d=o.pop();d&&(l=d)}n.push(`${s?"inset ":""}${o.join(" ")} var(${e}, ${r?`oklab(from ${l} l a b / ${r})`:l})`)}return n}function We(t,e){return t!=null&&!!Dr(t,e)?.color}var bc=/[a-z]+/gi,Lo=new WeakMap;function Ct({theme:t,generator:e},r="breakpoint"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if(Lo.has(t))return Lo.get(t);let i=Object.entries(n).sort((o,s)=>Number.parseInt(o[1].replace(bc,""))-Number.parseInt(s[1].replace(bc,""))).map(([o,s])=>({point:o,size:s}));return Lo.set(t,i),i}function D(t,e){return B.map(r=>[`${t}-${r}`,{[e??t]:r}])}function x(t,e={}){let{syntax:r="*",inherits:n=!1,initialValue:i}=e,o={[J.shortcutsNoMerge]:!0,[J.noMerge]:!0,[J.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${t}`}],syntax:JSON.stringify(r),inherits:n?"true":"false"};return i!=null&&(o["initial-value"]=i),tg(t,i?String(i):"initial"),o}function nr(t){return t!=null&&Pn.test(t)}function $c(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),Pn.test(t)||An.test(t)}function Rn(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function Io(t,e=!1){return e?t.trim():t.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}var $t=new Set([]);function A(t,e="DEFAULT"){let r=`${t}:${F(e).join("-")}`;$t.has(r)||$t.add(r)}function Z(t,e){return`var(--${t}-${F(e).join("-")})`}function ir(t,e){if(t.startsWith("var(")){let r=t.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(r){let[n,...i]=r.split("-"),o=Ir(e,n,i);typeof o=="string"&&(A(n,i),ir(o,e))}}}var _t=new Map;function tg(t,e){_t.has(t)||_t.set(t,e)}function rg({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 ng({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 _c(t){return[rg,ng].flatMap(e=>e(t))}var ig={name:"aria",match(t,e){let r=me("aria-",t,e.generator.config.separators);if(r){let[n,i]=r,o=p.bracket(n)??e.theme.aria?.[n]??"";if(o)return{matcher:i,selector:s=>`${s}[aria-${o}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function or(t){return{name:`${t}-aria`,match(e,r){let n=me(`${t}-aria-`,e,r.generator.config.separators);if(n){let[i,o,s]=n,a=p.bracket(i)??r.theme.aria?.[i]??"";if(a){let l={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:o,handle:(c,d)=>d({...c,parent:`${c.parent?`${c.parent} $$ `:""}${c.selector}`,selector:l[t]})}}}},multiPass:!0}}var og=[or("group"),or("peer"),or("parent"),or("previous"),or("has"),or("in")],Cc=/(max|min)-\[([^\]]*)\]:/;function sg(){let t={};return{name:"breakpoints",match(e,r){if(Cc.test(e)){let i=e.match(Cc);return{matcher:e.replace(i[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${i[1]}-width: ${i[2]})`})}}let n=(Ct(r)??[]).map(({point:i,size:o},s)=>[i,o,s]);for(let[i,o,s]of n){t[i]||(t[i]=new RegExp(`^((?:([al]t-|[<~]|max-))?${i}(?:${r.generator.config.separators.join("|")}))`));let a=e.match(t[i]);if(!a)continue;let[,l]=a,c=e.slice(l.length);if(c==="container")continue;let d=l.startsWith("lt-")||l.startsWith("<")||l.startsWith("max-"),u=l.startsWith("at-")||l.startsWith("~"),h=3e3;return d?(h-=s+1,{matcher:c,handle:(m,g)=>g({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (max-width: ${Oo(o)})`,parentOrder:h})}):(h+=s+1,u&&s<n.length-1?{matcher:c,handle:(m,g)=>g({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${o}) and (max-width: ${Oo(n[s+1][1])})`,parentOrder:h})}:{matcher:c,handle:(m,g)=>g({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${o})`,parentOrder:h})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}var ag=[$e("*",t=>({selector:`${t.selector} > *`}),{order:-1}),$e("**",t=>({selector:`${t.selector} *`}),{order:-1})];function Rr(t,e){return{name:`combinator:${t}`,match(r,n){if(!r.startsWith(t))return;let i=n.generator.config.separators,o=ct(`${t}-`,r,i);if(!o){for(let a of i)if(r.startsWith(`${t}${a}`)){o=["",r.slice(t.length+a.length)];break}if(!o)return}let s=p.bracket(o[0])??"";return s===""&&(s="*"),{matcher:o[1],selector:a=>`${a}${e}${s}`}},multiPass:!0}}var lg=[Rr("all"," "),Rr("children",">"),Rr("next","+"),Rr("sibling","+"),Rr("siblings","~")],cg=[$e("svg",t=>({selector:`${t.selector} svg`}))],ug={name:"@",match(t,e){if(t.startsWith("@container"))return;let r=me("@",t,e.generator.config.separators);if(r){let[n,i,o]=r,s=p.bracket(n),a;if(s?a=p.numberWithUnit(s):a=e.theme.container?.[n]??"",a){let l=1e3+Object.keys(e.theme.container??{}).indexOf(n);return o&&(l+=1e3),{matcher:i,handle:(c,d)=>d({...c,parent:`${c.parent?`${c.parent} $$ `:""}@container${o?` ${o} `:" "}(min-width: ${a})`,parentOrder:l})}}}},multiPass:!0};function fg(t={}){if(t?.dark==="class"||typeof t.dark=="object"){let{dark:e=".dark",light:r=".light"}=typeof t.dark=="string"?{}:t.dark;return[$e("dark",n=>({prefix:`${e} $$ ${n.prefix}`})),$e("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[ae("dark","@media (prefers-color-scheme: dark)"),ae("light","@media (prefers-color-scheme: light)")]}var dg=[$e(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),$e(".light",t=>({prefix:`.light $$ ${t.prefix}`})),ae("@dark","@media (prefers-color-scheme: dark)"),ae("@light","@media (prefers-color-scheme: light)"),ae("not-dark","@media not (prefers-color-scheme: dark)")],hg={name:"data",match(t,e){let r=me("data-",t,e.generator.config.separators);if(r){let[n,i]=r,o=p.bracket(n)??e.theme.data?.[n]??"";if(o)return{matcher:i,selector:s=>`${s}[data-${o}]`}}},multiPass:!0};function sr(t){return{name:`${t}-data`,match(e,r){let n=me(`${t}-data-`,e,r.generator.config.separators);if(n){let[i,o,s]=n,a=p.bracket(i)??r.theme.data?.[i]??"";if(a){let l={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:o,handle:(c,d)=>d({...c,parent:`${c.parent?`${c.parent} $$ `:""}${c.selector}`,selector:l[t]})}}}},multiPass:!0}}var pg=[sr("group"),sr("peer"),sr("parent"),sr("previous"),sr("has"),sr("in")],mg=[$e("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),$e("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function gg(){let t;return{name:"important",match(e,r){t||(t=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,i=e.match(t);if(i?n=e.slice(i[0].length):e.endsWith("!")&&(n=e.slice(0,-1)),n)return{matcher:n,body:o=>(o.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),o)}}}}var bg=$e("inert",t=>({parent:`${t.parent?`${t.parent} $$ `:""}${t.selector}`,selector:"&:is([inert],[inert] *)"})),yg=ae("noscript","@media (scripting: none)"),vg={name:"scripting",match(t,e){let r=me(["script-","scripting-"],t,e.generator.config.separators);if(r){let[n,i]=r;if(["none","initial-only","enabled"].includes(n))return{matcher:i,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (scripting: ${n})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},kg=ae("print","@media print"),wg={name:"media",match(t,e){let r=me("media-",t,e.generator.config.separators);if(r){let[n,i]=r,o=p.bracket(n)??"";if(o===""&&(o=e.theme.media?.[n]??""),o)return{matcher:i,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${o}`})}}},multiPass:!0,autocomplete:"media-$media"},xg=[ae("contrast-more","@media (prefers-contrast: more)"),ae("contrast-less","@media (prefers-contrast: less)")],Sg=[ae("motion-reduce","@media (prefers-reduced-motion: reduce)"),ae("motion-safe","@media (prefers-reduced-motion: no-preference)")],$g=[ae("landscape","@media (orientation: landscape)"),ae("portrait","@media (orientation: portrait)")],_g=[ae("forced-colors","@media (forced-colors: active)")],Cg={name:"selector",match(t,e){let r=ct("selector-",t,e.generator.config.separators);if(r){let[n,i]=r,o=p.bracket(n);if(o)return{matcher:i,selector:()=>o}}}},Eg={name:"layer",match(t,e){let r=me("layer-",t,e.generator.config.separators);if(r){let[n,i]=r,o=p.bracket(n)??n;if(o)return{matcher:i,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${o}`})}}}},Og={name:"uno-layer",match(t,e){let r=me("uno-layer-",t,e.generator.config.separators);if(r){let[n,i]=r,o=p.bracket(n)??n;if(o)return{matcher:i,layer:o}}}},Mg={name:"scope",match(t,e){let r=ct("scope-",t,e.generator.config.separators);if(r){let[n,i]=r,o=p.bracket(n);if(o)return{matcher:i,selector:s=>`${o} $$ ${s}`}}}},Tg={name:"variables",match(t,e){if(!t.startsWith("["))return;let[r,n]=er(t,"[","]")??[];if(!(r&&n))return;let i;for(let a of e.generator.config.separators)if(n.startsWith(a)){i=n.slice(a.length);break}if(i==null)return;let o=p.bracket(r)??"",s=o.startsWith("@");if(s||o.includes("&"))return{matcher:i,handle(a,l){let c=s?{parent:`${a.parent?`${a.parent} $$ `:""}${o}`}:{selector:o.replace(/&/g,a.selector)};return l({...a,...c})}}},multiPass:!0},Lg={name:"theme-variables",match(t,e){if(nc(t))return{matcher:t,handle(r,n){return n({...r,entries:JSON.parse(ic(JSON.stringify(r.entries),e.theme))})}}}},Ng=[$e("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))],Pg={name:"implicit-group",match(t,e){let r=me("in-",t,e.generator.config.separators);if(r){let[n,i]=r,o=p.bracket(n)??n;if(o)return{matcher:i,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${s.selector}`,selector:`:where(*:is(${o})) &`})}}}},Ec=/^-?[0-9.]+(?:[a-z]+|%)?$/,Oc=/-?[0-9.]+(?:[a-z]+|%)?/,Ag=[/\b(opacity|color|flex|backdrop-filter|^filter|^scale|transform|mask-image)\b/];function Dg(t){let e=t.match(Pn)||t.match(Ao);if(e){let[r,n]=kt(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r)return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}var Ig=/\b(hue-rotate)\s*(\(.*)/;function Rg(t){let e=t.match(Ig);if(e){let[r,n]=kt(e[2],"(",")"," ")??[];if(r){let i=Ec.test(r.slice(1,-1))?r.replace(Oc,o=>o.startsWith("-")?o.slice(1):`-${o}`):`(calc(${r} * -1))`;return`${e[1]}${i}${n?` ${n}`:""}`}}}var zg={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(n=>n[0]===Nr))return;let r=!1;return e.forEach(n=>{if(F(n[2]).includes(Nr))return;let i=n[1]?.toString();if(!i||i==="0"||Ag.some(a=>a.test(n[0])))return;let o=Dg(i);if(o){n[1]=o,r=!0;return}let s=Rg(i);if(s){n[1]=s,r=!0;return}Ec.test(i)&&(n[1]=i.replace(Oc,a=>a.startsWith("-")?a.slice(1):`-${a}`),r=!0)}),r?e:[]}}}},Fg=(t,{theme:e})=>{let r=t.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",i,o]=r;if(We(o,e)||Vg(o))return{matcher:`${n}placeholder-$ ${i}${o}`}}};function Vg(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?p.bracket.percent(e[1])!=null:!1}function jg(){return cc({getBracket:er,h:p,variantGetBracket:ct})}function Wg(){return uc({getBracket:er,h:p,variantGetBracket:ct})}function qg(t={}){return fc(t,{getBracket:er,h:p,variantGetBracket:ct})}var Bg=dc(),Ug={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}},Hg={name:"supports",match(t,e){let r=me("supports-",t,e.generator.config.separators);if(r){let[n,i]=r,o=p.bracket(n)??"";if(o===""&&(o=e.theme.supports?.[n]??""),o)return o.startsWith("(")&&o.endsWith(")")||(o=`(${o})`),{matcher:i,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${o}`})}}},multiPass:!0};function Mc(t){return[ig,hg,Eg,Cg,Og,zg,Ug,gg(),Hg,yg,vg,kg,wg,...xg,...Sg,...$g,..._g,sg(),...lg,...cg,Fg,...jg(),Wg(),...qg(t),Bg,...fg(t),...dg,...mg,Mg,...ag,bg,ug,Tg,...pg,...og,Lg,...Ng,Pg].flat()}var Ro={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(Ro).forEach(t=>{typeof t!="string"&&t!==void 0&&(t.DEFAULT=t.DEFAULT||t[400])});var Zg={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"}},Gg={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"'},Yg={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Jg={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(",")},Kg={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"}},Xg={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Qg={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},e0={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},t0={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},r0={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)"},n0={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"},i0={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"},o0={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)"},s0={"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)"},a0={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)"},l0={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)"]},c0={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},u0={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)"}},f0={"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"},Tc={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},d0={...Tc},h0={grid:"(display: grid)"},p0={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)"},m0={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(",")}},Lc={font:Jg,colors:Ro,spacing:n0,breakpoint:Tc,verticalBreakpoint:d0,text:Kg,fontWeight:Xg,tracking:Qg,leading:e0,textStrokeWidth:t0,radius:i0,shadow:o0,insetShadow:s0,dropShadow:a0,textShadow:l0,ease:p0,animation:Zg,blur:Yg,perspective:c0,property:m0,default:u0,container:f0,aria:Gg,media:r0,supports:h0};var Nc=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],g0=/@media \(min-width: (.+)\)/,Pc=[[/^__container$/,(t,e)=>{let{theme:r,variantHandlers:n}=e,i=r.containers?.padding,o;H(i)?o=i:o=i?.DEFAULT;let s=r.containers?.maxWidth,a;for(let c of n){let d=c.handle?.({},u=>u)?.parent;if(H(d)){let u=d.match(g0)?.[1];if(u){let m=(Ct(e)??[]).find(g=>g.size===u)?.point;s?m&&(a=s?.[m]):a=u,m&&!H(i)&&(o=i?.[m]??o)}}}let l={"max-width":a};return n.length||(l.width="100%"),r.containers?.center&&(l["margin-left"]="auto",l["margin-right"]="auto"),i&&(l["padding-left"]=o,l["padding-right"]=o),l},{internal:!0}]],Ac=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let r=(Ct(e)??[]).map(i=>i.point);if(t){if(!r.includes(t))return;r=r.slice(r.indexOf(t))}let n=r.map(i=>`${i}:__container`);return t||n.unshift("__container"),n}]];var Dc=[...Ac];var Ic={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(B.map(t=>[t,t]))},b0=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":Ic[t]??p.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Ic).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Rc=["center","left","right","justify","start","end"],y0=[...Rc.map(t=>[`text-${t}`,{"text-align":t}]),...[...B,...Rc].map(t=>[`text-align-${t}`,{"text-align":t}])],v0=[[/^(?: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",i=e.animation?.timingFns?.[t]??"linear",o=e.animation?.counts?.[t]??1,s=e.animation?.properties?.[t];return[`@keyframes ${t}${r}`,{animation:`${t} ${n} ${i} ${o}`,...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?B:[]].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?B:[]].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?B:[]].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"}],...D("animate","animation")],Qc={"gradient-position":x("--un-gradient-position"),"gradient-from":x("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":x("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":x("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":x("--un-gradient-stops"),"gradient-via-stops":x("--un-gradient-via-stops"),"gradient-from-position":x("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":x("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":x("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function zc(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 k0(){return function*([,t,e],{theme:r}){let n={},i=Dr(e,r);if(i){let{color:o,keys:s,alpha:a}=i;if(o){if(Object.values(Pr).includes(o))n[`--un-gradient-${t}`]=o;else{n[`--un-${t}-opacity`]=a;let l=s?Z("colors",s):o;n[`--un-gradient-${t}`]=`color-mix(in oklab, ${l} var(--un-${t}-opacity), transparent)`,yield x(`--un-${t}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}s&&A("colors",s),r&&ir(o,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 o of Object.values(Qc))yield o}}}function w0(){return function*([,t,e]){yield{[`--un-gradient-${t}-position`]:`${p.bracket.cssvar.percent(e)}`};for(let r of Object.values(Qc))yield r}}var x0=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,t,e,r])=>{let n;if(p.number(e)!=null?n=`from ${p.number(e)}deg ${zc(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)-(.+)$/,k0()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:p.bracket.percent(e)})],[/^(from|via|to)-([\d.]+%)$/,w0()],[/^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 ce?`to ${ce[e]} `:" "}${zc(r)}`,"background-image":`${t==="gradient"?"linear":t}-gradient(var(--un-gradient-stops))`}),{autocomplete:["gradient","linear","radial","conic"].map(t=>`bg-${t}-to-(${Object.keys(ce).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"}],...D("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"}],...B.map(t=>[`bg-clip-${t}`,{"-webkit-background-clip":t,"background-clip":t}]),[/^bg-([-\w]{3,})$/,([,t])=>({"background-position":ce[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"}],...D("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"}],...D("bg-origin","background-origin")],Fc=[[/^outline-(?:width-|size-)?(.+)$/,eu,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,S0,{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"},x("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[J.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",...B].map(t=>[`outline-${t}`,{"--un-outline-style":t,"outline-style":t}])];function*eu([,t]){let e=p.bracket.cssvar.global.px(t);e!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":e},yield x("--un-outline-style",{initialValue:"solid"}))}function*S0(t,e){if(nr(p.bracket(t[1])))yield*eu(t);else{let r=U("outline-color","outline")(t,e);if(r)for(let n of r)yield n}}var $0=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function _0(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 Vc=[[/^will-change-(.+)/,([,t])=>({"will-change":_0(t)})]],zo={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"},C0=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=zo[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(zo).join("|")})`,`list-(${Object.keys(zo).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"}],...D("list","list-style-type")],E0=[[/^accent-(.+)$/,U("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>"]}]],O0=[[/^caret-(.+)$/,U("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>"]}]],M0=[["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"]]]],T0=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...D("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...D("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"}],...D("overscroll-y","overscroll-behavior-y")],L0=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...D("scroll","scroll-behavior")],Et=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...B],N0=[[/^(?:border|b)()(?:-(.+))?$/,Ie,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Ie],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Ie],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Ie],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Ie],[/^(?:border|b)-()(?:width|size)-(.+)$/,Ie,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Ie],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Ie],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Ie],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Ie],[/^(?:border|b)-()(?:color-)?(.+)$/,zr,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,zr],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,zr],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,zr],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,zr],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Fr,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Fr],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Fr],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Fr],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Fr],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Vr,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Vr],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Vr],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Vr],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Vr],[/^(?:border|b)-(?:style-)?()(.+)$/,jr,{autocomplete:["(border|b)-style",`(border|b)-(${Et.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${Et.join("|")})`,`(border|b)-<directions>-style-(${Et.join("|")})`,`(border|b)-style-(${Et.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,jr],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,jr],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,jr],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,jr]];function P0(t){return([,e],r)=>{let n=Dr(e,r.theme),i=Do(n,`border${t}-color`,`border${t}`,r);if(i){let o=i[0];return n?.color&&!Object.values(Pr).includes(n.color)&&!n.alpha&&t&&t!==""&&(o[`--un-border${t}-opacity`]="var(--un-border-opacity)"),i}}}function Ie([,t="",e="1"]){let r=p.bracket.cssvar.global.px(e);if(t in _e&&r!=null)return _e[t].map(n=>[`border${n}-width`,r])}function zr([,t="",e],r){if(t in _e){if(nr(p.bracket(e)))return Ie(["",t,e]);if(We(e,r.theme)){let n=_e[t].map(i=>P0(i)(["",e],r)).filter(Or);return[n.map(i=>i[0]).reduce((i,o)=>(Object.assign(i,o),i),{}),...n.flatMap(i=>i.slice(1))]}}}function Fr([,t="",e]){let r=p.bracket.percent.cssvar(e);if(t in _e&&r!=null)return _e[t].map(n=>[`--un-border${n}-opacity`,r])}function Vr([,t="",e="DEFAULT"],{theme:r}){if(t in Ar){if(e==="full")return Ar[t].map(i=>[`border${i}-radius`,"calc(infinity * 1px)"]);let n=r.radius?.[e]??p.bracket.cssvar.global.fraction.rem(e);if(n!=null){let i=r.radius&&e in r.radius;return i&&A("radius",e),Ar[t].map(o=>[`border${o}-radius`,i?Z("radius",e):n])}}}function jr([,t="",e]){if(Et.includes(e)&&t in _e)return[["--un-border-style",e],..._e[t].map(r=>[`border${r}-style`,e])]}var A0=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:p.bracket.percent.cssvar(t)})]],D0=/^\[url\(.+\)\]$/,I0=/^\[(?:length|size):.+\]$/,R0=/^\[position:.+\]$/,z0=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,F0=/^\[image:.+\]$/,V0=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(D0.test(e))return{"--un-url":p.bracket(e),"background-image":"var(--un-url)"};if(I0.test(e)&&p.bracketOfLength(e)!=null)return{"background-size":p.bracketOfLength(e).split(" ").map(r=>p.fraction.auto.px.cssvar(r)??r).join(" ")};if(($c(e)||R0.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(z0.test(e)||F0.test(e)){let r=p.bracket(e);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:p.cssvar(r))??r}}return U("background-color","bg")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],j0=[[/^(?:color-)?scheme-(.+)$/,([,t])=>({"color-scheme":t.split("-").join(" ")})]],W0=[[/^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"}],...D("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"}],...D("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"}],...D("break-after")],jc=["solid","double","dotted","dashed","wavy",...B],q0=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,tu,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,B0,{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>"}],...jc.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...jc.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function tu([,t]){return{"text-decoration-thickness":p.bracket.cssvar.global.px(t)}}function B0(t,e){if(nr(p.bracket(t[1])))return tu(t);let r=U("text-decoration-color","line")(t,e);if(r){let n=r[0];return n["-webkit-text-decoration-color"]=n["text-decoration-color"],r}}var U0=[[/^pa?()-?(.+)$/,j("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,j("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,j("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,j("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,j("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,j("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],H0=[[/^ma?()-?(.+)$/,j("margin")],[/^m-?xy()()$/,j("margin")],[/^m-?([xy])(?:-?(.+))?$/,j("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,j("margin")],[/^m-(block|inline)(?:-(.+))?$/,j("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,j("margin")]],Z0=[[/^space-([xy])-(.+)$/,G0,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([t,e],{symbols:r}){yield{[r.variants]:[Ot(t)],[`--un-space-${e}-reverse`]:"1"},yield x(`--un-space-${e}-reverse`,{initialValue:0})}]];function Ot(t){return{matcher:t,handle:(e,r)=>r({...e,parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:":where(&>:not(:last-child))"})}}function*G0([t,e,r],{theme:n,symbols:i}){let o,s=ge(r);if(s!=null?(A("spacing"),o=`calc(var(--spacing) * ${s})`):o=n.spacing?.[r]??p.bracket.cssvar.auto.fraction.rem(r||"1"),o!=null){let a=_e[e==="x"?"inline":"block"].map((l,c)=>{let d=`margin${l}`,u=` calc(${o} * ${c===0?`var(--un-space-${e}-reverse)`:`calc(1 - var(--un-space-${e}-reverse))`})`;return[d,u]});a&&(yield{[i.variants]:[Ot(t)],[`--un-space-${e}-reverse`]:"0",...Object.fromEntries(a)},yield x(`--un-space-${e}-reverse`,{initialValue:0}))}}var Y0=[[/^divide-(.+)$/,function*(t,e){let r=U("border-color","divide")(t,e);r&&(yield{[e.symbols.variants]:[Ot(t[0])],...r[0]},yield r[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([t,e],{symbols:r}){yield{[r.variants]:[Ot(t)],"--un-divide-opacity":p.bracket.percent(e)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,Wc,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,Wc],[/^divide-?([xy])-reverse$/,function*([t,e],{symbols:r}){yield{[r.variants]:[Ot(t)],[`--un-divide-${e}-reverse`]:"1"},yield x(`--un-divide-${e}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${Et.join("|")})$`),function*([t,e],{symbols:r}){yield{[r.variants]:[Ot(t)],"border-style":e}},{autocomplete:Et.map(t=>`divide-${t}`)}]];function*Wc([t,e,r],{symbols:n}){let i=p.bracket.cssvar.px(r||"1");if(i!=null){i==="0"&&(i="0px");let s={x:["-left","-right"],y:["-top","-bottom"]}[e].map(a=>{let l=a.endsWith("left")||a.endsWith("top")?`calc(${i} * var(--un-divide-${e}-reverse))`:`calc(${i} * calc(1 - var(--un-divide-${e}-reverse)))`;return[[`border${a}-width`,l],[`border${a}-style`,"var(--un-border-style)"]]});s&&(yield{[n.variants]:[Ot(t)],[`--un-divide-${e}-reverse`]:0,...Object.fromEntries(s.flat())},yield x(`--un-divide-${e}-reverse`,{initialValue:0}),yield x("--un-border-style",{initialValue:"solid"}))}}var ru=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],Uo=ru.map(t=>x(`--un-${t}`)),jn=ru.map(t=>`var(--un-${t},)`).join(" "),nu=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],J0=nu.map(t=>x(`--un-${t}`)),Wn=nu.map(t=>`var(--un-${t},)`).join(" ");function Fo(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 Ye(t,e){return([,r,n],{theme:i})=>{let o=e(n,i)??(n==="none"?"0":"");if(o!=="")return r?[{[`--un-${r}${t}`]:`${t}(${o})`,"-webkit-backdrop-filter":Wn,"backdrop-filter":Wn},...J0]:[{[`--un-${t}`]:`${t}(${o})`,filter:jn},...Uo]}}function K0(t,e){let[,r]=t,{theme:n}=e,i=[];r&&(i=je(r,"/",2)??[],r.startsWith("/")&&(i=["",r.slice(1)]));let o=n.dropShadow?.[i[0]||"DEFAULT"],s=r?p.bracket.cssvar(r):void 0;if((o!=null||s!=null)&&!We(s,n)){let a=i[1]?p.bracket.percent.cssvar(i[1]):void 0;return[{"--un-drop-shadow-opacity":a,"--un-drop-shadow":`drop-shadow(${In(o||s,"--un-drop-shadow-color",a).join(") drop-shadow(")})`,filter:jn},...Uo]}if(We(r,n))return U("--un-drop-shadow-color","drop-shadow")(t,e);if(o=p.bracket.cssvar(r)??(r==="none"?"":void 0),o!=null)return[{"--un-drop-shadow":o&&`drop-shadow(${o})`,filter:jn},...Uo]}var X0=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,Ye("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||p.bracket.cssvar.px(t)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,Ye("brightness",t=>p.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,Ye("contrast",t=>p.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-?(.+))?$/,K0,{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-(.+)$/,U("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":p.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,Ye("grayscale",Fo),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,Ye("hue-rotate",t=>p.bracket.cssvar.degree(t))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,Ye("invert",Fo),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,Ye("opacity",t=>p.bracket.cssvar.percent(t)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,Ye("saturate",t=>p.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,Ye("sepia",Fo),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:jn}],["backdrop-filter",{"-webkit-backdrop-filter":Wn,"backdrop-filter":Wn}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...B.map(t=>[`filter-${t}`,{filter:t}]),...B.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])],Q0=[["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=ge(t);return e!=null?(A("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"}]],Vo={"":[""],x:["column-"],y:["row-"],col:["column-"],row:["row-"]},e1=[[/^(?:flex-|grid-)?gap-?()(.+)$/,j("gap",Vo,(t,e)=>`${e}${t}`),{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,j("gap",Vo,(t,e)=>`${e}${t}`),{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,j("gap",Vo,(t,e)=>`${e}${t}`),{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function qe(t){return t.replace("col","column")}function t1(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 r1=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e])=>({[`grid-${qe(t)}`]:p.bracket.number.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${qe(t)}`]:"1/-1"};let r=p.bracket.number.cssvar(e);if(r!=null)return{[`grid-${qe(t)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>({[`grid-${qe(t)}-start`]:p.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${qe(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-${qe(t)}`]:t1(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":qe(t).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,t,e])=>({[`grid-template-${qe(t)}`]:p.bracket.cssvar(e)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${qe(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${qe(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"}]],zn=["auto","hidden","clip","visible","scroll","overlay",...B],n1=[[/^(?:overflow|of)-(.+)$/,([,t])=>zn.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${zn.join("|")})`,`(overflow|of)-(x|y)-(${zn.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>zn.includes(e)?{[`overflow-${t}`]:e}:void 0]],i1=[[/^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"}]],Ho={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},qc="linear-gradient(#fff, #fff)",o1={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function Bc([,t=""]){if(t in Ar)return{"mask-position":t.split("").flatMap(n=>Ho[n]).join(" ")};let e=p.bracket.cssvar.global.position(t);if(e!==null)return{"mask-position":e}}function jo([t,e="",r,n],i){let o={...o1},s=[];if(s.push(...["linear","radial","conic"].map(a=>x(`--un-mask-${a}`,{initialValue:qc}))),e in Ho){o["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(let a of Ho[e]){if(o[`--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))`,ge(n)!=null?(A("spacing"),o[`--un-mask-${a}-${r}-position`]=`calc(var(--spacing) * ${p.bracket.cssvar.fraction.number(n)})`):o[`--un-mask-${a}-${r}-position`]=p.bracket.cssvar.fraction.rem(n),We(n,i.theme)){let l=U(`--un-mask-${a}-${r}-color`,Rn("colors"))([t,n],i);if(l){let[c,...d]=l;Object.assign(o,c),s.push(...d)}}s.push(...["from","to"].flatMap(l=>[x(`--un-mask-${a}-${l}-position`,{syntax:"<length-percentage>",initialValue:l==="from"?"0%":"100%"}),x(`--un-mask-${a}-${l}-color`,{syntax:"<color>",initialValue:l==="from"?"black":"transparent"})]))}s.push(...["top","right","bottom","left"].map(a=>x(`--un-mask-${a}`,{initialValue:qc})))}else{if(r==null)e==="radial"?(o["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",o["--un-mask-radial-size"]=p.bracket.cssvar.rem(n)):(o[`--un-mask-${e}`]=`${e}-gradient(var(--un-mask-${e}-stops, var(--un-mask-${e}-position)))`,o[`--un-mask-${e}-position`]=ge(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(o[`--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)`,o[`--un-mask-${e}`]=`${e}-gradient(var(--un-mask-${e}-stops))`,We(n,i.theme)){let l=U(`--un-mask-${e}-${r}-color`,Rn("colors"))([t,n],i);if(l){let[c,...d]=l;Object.assign(o,c),s.push(...d)}}else ge(n)!=null?(A("spacing"),o[`--un-mask-${e}-${r}-position`]=`calc(var(--spacing) * ${p.bracket.cssvar.fraction.number(n)})`):o[`--un-mask-${e}-${r}-position`]=p.bracket.cssvar.fraction.rem(n)}e==="radial"&&s.push(x("--un-mask-radial-shape",{initialValue:"ellipse"}),x("--un-mask-radial-size",{initialValue:"farthest-corner"})),s.push(...["from","to"].flatMap(a=>[x(`--un-mask-${e}-position`,{initialValue:e==="radial"?"center":"0deg"}),x(`--un-mask-${e}-${a}-position`,{syntax:"<length-percentage>",initialValue:a==="from"?"0%":"100%"}),x(`--un-mask-${e}-${a}-color`,{syntax:"<color>",initialValue:a==="from"?"black":"transparent"})]))}return[o,...s]}function s1([,t=""]){let e=p.bracket.cssvar.global.fraction.rem(t);if(e!==null)return{"mask-size":e}}var a1=[["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)()(?:-(.+))?$/,jo,{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)?-?(.*)$/,jo],[/^mask-([trblxy])-(from|to)-(.*)$/,jo],["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":ce[t]}),{autocomplete:[`mask-radial-at-(${Object.keys(ce).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})$/,Bc],[/^mask-([-\w]{3,})$/,([,t])=>({"mask-position":ce[t]})],[/^mask-(?:position-|pos-)(.+)$/,Bc],["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-(.+)$/,s1],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],l1=[[/^\$ placeholder-(.+)$/,U("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":p.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],c1=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>B.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],iu=[["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"}],...D("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"}],...D("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"}],...D("justify-self")],u1=[[/^order-(.+)$/,([,t])=>({order:p.bracket.cssvar.number(t)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],ou=[["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"}],...D("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"}],...D("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"}],...D("self","align-self")],su=[["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"}],...D("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"}],...D("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"}],...D("place-self")],f1=[...iu,...ou,...su].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function Zo(t){let e=ge(t);return e!=null?(A("spacing"),`calc(var(--spacing) * ${e})`):p.bracket.cssvar.global.auto.fraction.rem(t)}function Wr([,t,e]){let r=Zo(e);if(r!=null&&t in No)return No[t].map(n=>[n.slice(1),r])}var d1=[[/^(?:position-|pos-)?inset-(.+)$/,([,t])=>({inset:Zo(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)-(.+)$/,Wr],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Wr],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Wr],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Wr],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Wr],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e])=>({[t]:Zo(e)})]],h1=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...D("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"}],...D("clear")],p1=[[/^(?: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>"}]],m1=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...D("box","box-sizing")],g1=[[/^(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"})}`}]],Go={shadow:x("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:x("--un-shadow-color"),insetShadow:x("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:x("--un-inset-shadow-color"),ringColor:x("--un-ring-color"),ringShadow:x("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:x("--un-inset-ring-color"),insetRingShadow:x("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:x("--un-ring-inset"),ringOffsetWidth:x("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:x("--un-ring-offset-color"),ringOffsetShadow:x("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},b1=[[/^shadow(?:-?(.+))?$/,Uc("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(?:-(.+))?$/,Uc("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 Uc(t){return(e,r)=>{let[,n]=e,{theme:i}=r,o=[];n&&(o=je(n,"/",2)??[],n.startsWith("/")&&(o=["",n.slice(1)]));let s=i[t]?.[o[0]||"DEFAULT"],a=n?p.bracket.cssvar(n):void 0,l=Rn(t);if((s!=null||a!=null)&&!We(a,i)){let c=o[1]?p.bracket.percent.cssvar(o[1]):void 0;return[{[`--un-${l}-opacity`]:c,[`--un-${l}`]:In(s||a,`--un-${l}-color`,c).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(Go)]}return U(`--un-${l}-color`,l)(e,r)}}var y1=[[/^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(Go)]}],[/^ring-(.+)$/,U("--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(Go)]}],[/^inset-ring-(.+)$/,U("--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-(.+)$/,U("--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"}]],v1=[...["x","y","both"].map(t=>[`snap-${t}`,[{"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`},x("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(t=>[`snap-${t}`,[{"--un-scroll-snap-strictness":t},x("--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?()-?(.+)$/,j("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])-?(.+)$/,j("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,j("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,j("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,j("scroll-margin")],[/^scroll-pa?()-?(.+)$/,j("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,j("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,j("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,j("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,j("scroll-padding")]],k1={h:"height",w:"width",inline:"inline-size",block:"block-size"};function ar(t,e){return`${t||""}${k1[e]}`}function Fn(t,e,r){let n,i=["container","spacing"];for(let o of i)if(t[o]?.[r]){A(o,r),n=Z(o,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&&(A("spacing"),n=`calc(var(--spacing) * ${p.number(r)})`),n??p.bracket.cssvar.global.auto.none.fraction.rem(r)}var w1=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[ar(t,"w")]:Fn(r,"w",e),[ar(t,"h")]:Fn(r,"h",e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[ar(t,e)]:Fn(n,e,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[ar(t,e)]:Fn(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)=>({[ar(t,e)]:Hc(n,r,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[ar(t,e)]:Hc(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 Hc(t,e,r="breakpoint"){let n=Ct(t,r);if(n)return n.find(i=>i.point===e)?.size}function x1(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 S1=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":x1(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],$1=["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"],Wo=["size","layout","paint","style"],_1=[["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)})]],C1=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...D("backface","backface-visibility")],E1=[[/^cursor-(.+)$/,([,t])=>({cursor:p.bracket.cssvar.global(t)})],...$1.map(t=>[`cursor-${t}`,{cursor:t}])],O1=[[/^contain-(.*)$/,([,t])=>p.bracket(t)!=null?{contain:p.bracket(t).split(" ").map(e=>p.cssvar.fraction(e)??e).join(" ")}:Wo.includes(t)?[{"--un-contain-size":t,contain:Wo.map(e=>`var(--un-contain-${e})`).join(" ")},...Wo.map(e=>x(`--un-contain-${e}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],M1=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...D("pointer-events")],T1=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...D("resize")],L1=[["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"}],...D("select","user-select")],N1=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...B].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],P1=[[/^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"}],...D("content-visibility")],A1=[[/^content-(.+)$/,([,t])=>{if(p.bracket.cssvar(t)!=null)return[{"--un-content":p.bracket.cssvar(t),content:"var(--un-content)"},x("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],D1=[["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"}]],I1=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],R1=[["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"}]],z1=[["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"}],...D("case","text-transform")],F1=[["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"}]],V1=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],j1=[...["manual","auto","none",...B].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],W1=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...D("write","writing-mode")],q1=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...D("write-orient","text-orientation")],B1=[["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"}]],U1=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],H1=[["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(ce[t])return{"object-position":ce[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(ce).join("|")})`}]],Z1=[["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"}],...D("bg-blend","background-blend")],G1=[["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"}],...D("mix-blend")],Y1=[["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"}]],J1=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],K1=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],X1=[[/^fill-(.+)$/,U("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-)?(.+)$/,au],[/^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-(.+)$/,Q1,{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 au([,t]){return{"stroke-width":p.bracket.cssvar.fraction.px.number(t)}}function Q1(t,e){return nr(p.bracket(t[1]))?au(t):U("stroke","stroke")(t,e)}var eb=[["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=Zc(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 x(`--un-border-spacing-${n}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,t,e],{theme:r}){let n=Zc(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 i of["x","y"])yield x(`--un-border-spacing-${i}`,{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 Zc(t,e){let r=e.spacing?.[t];if(!r){let n=ge(t);n!=null?(A("spacing"),r=`calc(var(--spacing) * ${n})`):r=p.bracket.cssvar.global.auto.fraction.rem(t)}return r}var qo="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Bo=["pan-x","pan-y","pinch-zoom"].map(t=>x(`--un-${t}`)),tb=[[/^touch-pan-(x|left|right)$/,function*([,t]){yield{"--un-pan-x":`pan-${t}`,"touch-action":qo};for(let e of Bo)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":qo};for(let e of Bo)yield e}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":qo};for(let t of Bo)yield t}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...D("touch","touch-action")],Vn=["translate","rotate","scale"],Yo=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),Jo=Yo,rb=["translateZ(0)",Yo].join(" ");var nb=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":ce[t]??p.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(ce).join("|")})`,`origin-(${Object.keys(ce).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,t],{theme:e})=>{let r;if(e.perspective?.[t]?(A("perspective",t),r=Z("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?ce[t]:void 0);if(e!=null)return{"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,Gc],[/^(?:transform-)?translate-([xyz])-(.+)$/,Gc],[/^(?:transform-)?rotate-()(.+)$/,Jc],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Jc],[/^(?:transform-)?skew-()(.+)$/,Kc],[/^(?:transform-)?skew-([xy])-(.+)$/,Kc,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Yc],[/^(?:transform-)?scale-([xyz])-(.+)$/,Yc,{autocomplete:[`transform-(${Vn.join("|")})-<percent>`,`transform-(${Vn.join("|")})-(x|y|z)-<percent>`,`(${Vn.join("|")})-<percent>`,`(${Vn.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:Jo}],["transform-cpu",{transform:Yo}],["transform-gpu",{transform:rb}],["transform-none",{transform:"none"}],...D("transform")];function Gc([,t,e]){let r=ge(e)??p.bracket.cssvar.none.fraction.rem(e);if(r!=null)return r==="none"?{translate:"none"}:(A("spacing"),[[...Ko(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)":""}`,Nr]],...["x","y","z"].map(n=>x(`--un-translate-${n}`,{initialValue:0}))])}function Yc([,t,e]){let r=p.bracket.cssvar.none.fraction.percent(e);if(r!=null)return r==="none"?{scale:"none"}:[[...Ko(t,r,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${t==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(n=>x(`--un-scale-${n}`,{initialValue:1}))]}function Jc([,t="",e]){let r=p.bracket.cssvar.none.degree(e);if(r!=null)return r==="none"?{rotate:"none"}:t?[[...Ko(t,r.endsWith("deg")?`rotate${t.toUpperCase()}(${r})`:r,"rotate"),["transform",Jo]],...["x","y","z"].map(n=>x(`--un-rotate-${n}`,{initialValue:`rotate${n.toUpperCase()}(0)`})),...["x","y"].map(n=>x(`--un-skew-${n}`,{initialValue:`skew${n.toUpperCase()}(0)`}))]:{rotate:p.bracket.cssvar.degree(e)}}function Kc([,t,e]){let r=p.bracket.cssvar.degree(e),n=Po[t];if(r!=null&&n)return[[...n.map(i=>[`--un-skew${i}`,r.endsWith("deg")?`skew${i.slice(1).toUpperCase()}(${r})`:r]),["transform",Jo]],...["x","y","z"].map(i=>x(`--un-rotate-${i}`,{initialValue:`rotate${i.toUpperCase()}(0)`})),...["x","y"].map(i=>x(`--un-skew-${i}`,{initialValue:`skew${i.toUpperCase()}(0)`}))]}function Ko(t,e,r){let n=e.split(xc);return t||!t&&n.length===1?Po[t].map(i=>[`--un-${r}${i}`,e]):n.map((i,o)=>[`--un-${r}-${vc[o]}`,i])}function Xc(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(i=>e.property?.[i]??p.properties(i));n.every(Boolean)&&(r=n.join(","))}return r}var ib=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,t,e],{theme:r})=>{A("default",["transition","timingFunction"]),A("default",["transition","duration"]);let n={"transition-property":r.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${Z("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${Z("default",["transition","duration"])})`};if(!t&&!e)return{...n};if(t!=null){let i=Xc(t,r);if(i)return{"--un-duration":e&&p.time(e),...n,"transition-property":i}}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]?(A("ease",t),r=Z("ease",t)):r=p.bracket.cssvar(t),[{"--un-ease":r,"transition-timing-function":r},x("--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)||Xc(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...B].join("|")})`]}],["transition-none",{transition:"none"}],...D("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],ob=[[/^text-(.+)$/,db,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,lu,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,hb,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,U("color","text")],[/^(?:text|color|c)-(.+)$/,([,t])=>B.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${B.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]?(A("fontWeight",t),r=Z("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]?(A("leading",t),r=Z("leading",t)):ge(t)?(A("spacing"),r=`calc(var(--spacing) * ${ge(t)})`):r=p.bracket.cssvar.global.rem(t),r!=null)return[{"--un-leading":r,"line-height":r},x("--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]?(A("tracking",t),r=Z("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]?Z("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 A("font",t),r=Z("font",t),{"font-family":r};if(e.fontWeight?.[t])return A("fontWeight",t),r=Z("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"]}]],sb=[[/^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}}]],ab=[[/^indent-(.+)$/,([,t])=>{let e=ge(t);if(e!=null)return A("spacing"),{"text-indent":`calc(var(--spacing) * ${e})`};if(e=p.bracket.cssvar.auto.global.rem(t),e!=null)return{"text-indent":e}}]],lb=[[/^text-stroke(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>(e.textStrokeWidth?.[t]&&A("textStrokeWidth",t),{"-webkit-text-stroke-width":e.textStrokeWidth?.[t]?Z("textStrokeWidth",t):p.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,U("-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>"}]];function cb(t,e){let[,r]=t,{theme:n}=e,i=[];r&&(i=je(r,"/",2)??[]);let o=n.textShadow?.[i[0]],s=r?p.bracket.cssvar(r):void 0;if((o!=null||s!=null)&&!We(s,n)){let a=i[1]?p.bracket.percent.cssvar(i[1]):void 0;return{"--un-text-shadow-opacity":a,"--un-text-shadow":In(o||s,"--un-text-shadow-color",a).join(","),"text-shadow":"var(--un-text-shadow)"}}return U("--un-text-shadow-color","text-shadow")(t,e)??{"text-shadow":p.bracket.cssvar.global(r)}}var ub=[[/^text-shadow-(.+)$/,cb,{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,U("--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>"}]],ut=[x("--un-ordinal"),x("--un-slashed-zero"),x("--un-numeric-figure"),x("--un-numeric-spacing"),x("--un-numeric-fraction")],ft={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},fb=[["ordinal",[{"--un-ordinal":"ordinal",...ft},...ut]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...ft},...ut]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...ft},...ut]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...ft},...ut]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...ft},...ut]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...ft},...ut]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...ft},...ut]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...ft},...ut]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function db([,t="base"],{theme:e}){let r=pb(t,"length");if(!r)return;let[n,i]=r,o=e.text?.[n],s;if(i&&(e.leading?.[i]?(A("leading",i),s=Z("leading",i)):s=p.bracket.cssvar.global.rem(i)),o)return A("text",[n,"fontSize"]),A("text",[n,"lineHeight"]),o.letterSpacing&&A("text",[n,"letterSpacing"]),{"font-size":Z("text",[n,"fontSize"]),"line-height":s??`var(--un-leading, ${Z("text",[n,"lineHeight"])})`,"letter-spacing":o.letterSpacing?Z("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 lu([,t],{theme:e}){if(e.text?.[t]!=null)return A("text",[t,"fontSize"]),A("text",[t,"lineHeight"]),{"font-size":Z("text",[t,"fontSize"]),"line-height":`var(--un-leading, ${Z("text",[t,"lineHeight"])})`};{let r=p.bracket.cssvar.global.rem(t);if(r)return{"font-size":r}}}function hb(t,e){return nr(p.bracket(t[1]))?lu(t,e):U("color","text")(t,e)}function pb(t,e){let[r,n]=kt(t,"[","]",["/",":"])??[];if(r!=null){let i=(r.match(Dn)??[])[1];if(i==null||i===e)return[r,n]}}var mb={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"},gb=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=mb[t];if(r)return{[r]:p.cssvar(e)}}]],bb=[[/^\[(.*)\]$/,([t,e])=>{if(!e.includes(":"))return;let[r,...n]=e.split(":"),i=n.join(":");if(!vb(e)&&/^[\w-]+$/.test(r)&&yb(i)){let o=p.bracket(`[${i}]`);if(o)return{[r]:o}}}]];function yb(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 vb(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var kb=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],cu=[ob,sb,ab,lb,ub,H0,U0,y0,b0,$0,Fc,Vc,C0,E0,O0,M0,T0,Fc,L0,Vc,N0,V0,A0,j0,Pc,Nc,q0,Q0,e1,r1,w1,S1,_1,C1,E1,O1,M1,T1,L1,N1,P1,A1,D1,I1,R1,z1,F1,V1,y1,b1,nb,ib,gb,bb,ou,m1,f1,h1,d1,iu,u1,su,c1,p1,n1,X1,v0,x0,j1,W1,q1,J1,B1,U1,H1,Z1,G1,Y1,a1,W0,X0,i1,l1,v1,eb,tb,fb,kb,Z0,Y0,K1,g1].flat();function wb(){return{getCSS:()=>{if(_t.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(_t.entries()).map(([n,i])=>`${n}:${i};`).join("");return`${t}{${e}{${r}}}`}},layer:"properties"}}var xb=`
34
+ `?o=!0:d!=="\r"&&o&&(o=!1,a===l.start||(this._splitChunk(l,a),l=l.next),l.prependRight(e))}a+=1}a=l.end,l=l.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 Qt.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Qt.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return Qt.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Qt.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 i=this.byStart[e],o=this.byEnd[r],s=i.previous,a=o.next,l=this.byStart[n];if(!l&&o===this.lastChunk)return this;let c=l?l.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),c&&(c.next=i),l&&(l.previous=o),i.previous||(this.firstChunk=o.next),o.next||(this.lastChunk=i.previous,this.lastChunk.next=null),i.previous=c,o.next=l||null,c||(this.firstChunk=i),l||(this.lastChunk=o),this}overwrite(e,r,n,i){return i=i||{},this.update(e,r,n,{...i,overwrite:!i.contentOnly})}update(e,r,n,i){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),i===!0&&(Qt.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Qt.storeName=!0),i={storeName:!0});let o=i!==void 0?i.storeName:!1,s=i!==void 0?i.overwrite:!1;if(o){let c=this.original.slice(e,r);Object.defineProperty(this.storedNames,c,{writable:!0,value:!0,enumerable:!0})}let a=this.byStart[e],l=this.byEnd[r];if(a){let c=a;for(;c!==l;){if(c.next!==this.byStart[c.end])throw new Error("Cannot overwrite across a split point");c=c.next,c.edit("",!1)}a.edit(n,o,!s)}else{let c=new Ln(e,r,"").edit(n,o);l.next=c,c.previous=l}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(Tr);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(Tr),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(Tr),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(Tr),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(Tr),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="",i=this.firstChunk;for(;i&&(i.start>e||i.end<=e);){if(i.start<r&&i.end>=r)return n;i=i.next}if(i&&i.edited&&i.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let o=i;for(;i;){i.intro&&(o!==i||i.start===e)&&(n+=i.intro);let s=i.start<r&&i.end>=r;if(s&&i.edited&&i.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let a=o===i?e-i.start:0,l=s?i.content.length+r-i.end:i.content.length;if(n+=i.content.slice(a,l),i.outro&&(!s||i.end===r)&&(n+=i.outro),s)break;i=i.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,i=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);if(r=i?this.byStart[r.end]:this.byEnd[r.start],r===n)return;n=r}}_splitChunk(e,r){if(e.edited&&e.content.length){let i=rc(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${i.line}:${i.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 i=n.end,o=n.trimEnd(r);if(n.end!==i&&(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),o)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 i=n.end,o=n.trimStart(r);if(n.end!==i&&(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),o)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(o,s){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(a,l)=>l==="$"?"$":l==="&"?o[0]:+l<o.length?o[+l]:`$${l}`):r(...o,o.index,s,o.groups)}function i(o,s){let a,l=[];for(;a=o.exec(s);)l.push(a);return l}if(e.global)i(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 o=this.original.match(e);if(o&&o.index!=null){let s=n(o,this.original);s!==o[0]&&this.overwrite(o.index,o.index+o[0].length,s)}}return this}_replaceString(e,r){let{original:n}=this,i=n.indexOf(e);return i!==-1&&(typeof r=="function"&&(r=r(e,i,n)),e!==r&&this.overwrite(i,i+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,i=e.length;for(let o=n.indexOf(e);o!==-1;o=n.indexOf(e,o+i)){let s=n.slice(o,o+i),a=r;typeof r=="function"&&(a=r(s,o,n)),s!==a&&this.overwrite(o,o+i,a)}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 er(t,e,r){if(t==="")return;let n=t.length,i=0,o=!1,s=0;for(let a=0;a<n;a++)switch(t[a]){case e:o||(o=!0,s=a),i++;break;case r:if(--i,i<0)return;if(i===0)return[t.slice(s,a+1),t.slice(a+1),t.slice(0,s)];break}}function kt(t,e,r,n){if(t===""||(H(n)&&(n=[n]),n.length===0))return;let i=t.length,o=0;for(let s=0;s<i;s++)switch(t[s]){case e:o++;break;case r:if(--o<0)return;break;default:for(let a of n){let l=a.length;if(l&&a===t.slice(s,s+l)&&o===0)return s===0||s===i-l?void 0:[t.slice(0,s),t.slice(s+l)]}}return[t,""]}function je(t,e,r,n="(",i=")"){r=r??10;let o=[],s=0;for(;t!=="";){if(++s>r)return;let a=kt(t,n,i,e);if(!a)return;let[l,c]=a;o.push(l),t=c}if(o.length>0)return o}var Co=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],vm=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],km=["hsl","hwb","lch","oklch"],wm=["shorter","longer","increasing","decreasing"],Eo=["%alpha","<alpha-value>"],Oo=new RegExp(Eo.map(t=>Kt(t)).join("|"),"g");function Mo(t){return t?vm.some(e=>t.includes(e))||km.some(e=>t.includes(e))||wm.some(e=>t.includes(e)):!1}function wt(t=""){let e=xm(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:i}=e,o=r.toLowerCase();if(n.length!==0&&!(Co.includes(o)&&![1,3].includes(n.length)))return{type:o,components:n.map(s=>typeof s=="string"?s.trim():s),alpha:typeof i=="string"?i.trim():i}}function xt(t,e){if(typeof t=="string")return t.replace(Oo,`${e??1}`);let{components:r}=t,{alpha:n,type:i}=t;return n=e??n,i=i.toLowerCase(),["hsla","rgba"].includes(i)?`${i}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,Co.includes(i)?`${i}(${r.join(" ")}${n})`:`color(${i} ${r.join(" ")}${n})`)}function xm(t){if(!t)return;let e=Sm(t);if(e!=null||(e=$m(t),e!=null)||(e=_m(t),e!=null)||(e=Em(t),e!=null)||(e=Om(t),e!=null))return e}function Sm(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 $m(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function _m(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,i=je(n,",",5);if(i){if([3,4].includes(i.length))return{type:r,components:i.slice(0,3),alpha:i[3]};if(i.length!==1)return!1}}var Cm=new RegExp(`^(${Co.join("|")})\\((.+)\\)$`,"i");function Em(t){let e=t.match(Cm);if(!e)return;let[,r,n]=e,i=sc(`${r} ${n}`);if(i){let{alpha:o,components:[s,...a]}=i;return{type:s,components:a,alpha:o}}}function Om(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=sc(e[1]);if(r){let{alpha:n,components:[i,...o]}=r;return{type:i,components:o,alpha:n}}}function sc(t){let e=je(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 o=e.splice(r-2);e.push(o.join(" ")),--r}let n=je(e[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:e};let i=n.pop();return e[r-1]=n.join("/"),{components:e,alpha:i}}var Mm=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function ac(t){return t.includes("theme(")&&t.includes(")")}function lc(t,e,r=!0){let n=Array.from(t.toString().matchAll(Mm));if(!n.length)return t;let i=new An(t);for(let o of n){let s=o[2];if(!s)throw new Error("theme() expect exact one argument, but got 0");let a=Tm(s,e,r);a&&i.overwrite(o.index,o.index+o[0].length,a)}return i.toString()}function Tm(t,e,r=!0){let[n,i]=t.split("/"),s=n.trim().split(".").reduce((a,l)=>a?.[l],e);if(typeof s=="object"&&(s=s.DEFAULT),typeof s=="string"){if(i){let a=wt(s);a&&(s=xt(a,i))}return s}else if(r)throw new Error(`theme of "${t}" did not found`)}function To(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 cc(t){let e=function(n){let i=this.__options?.sequence||[];this.__options.sequence=[];for(let o of i){let s=t[o](n);if(s!=null)return s}};function r(n,i){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(i),n}for(let n of Object.keys(t))Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return e}var Lr="__pseudo_placeholder__",tr=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(${Lr})`],["nth-last",`:nth-last-child(${Lr})`],["nth-last-of-type",`:nth-last-of-type(${Lr})`],["nth-of-type",`:nth-of-type(${Lr})`],"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}`])),uc=Object.keys(tr),rr=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),fc=Object.keys(rr),Lm=["not","is","where","has"],dc=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),$o=Object.entries(tr).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),_o=Object.entries(rr).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),vt=Lm.join("|"),nc=Object.keys(dc).sort((t,e)=>e.length-t.length).join("|"),Am=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],ic=Object.entries(tr).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),oc=Object.entries(rr).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function Nm(t,e,r,n){let{h:i,variantGetBracket:o}=n,s=new RegExp(`^(${Kt(e)}:)(\\S+)${Kt(r)}\\1`),a,l,c,d,u=g=>{let b=o(`${t}-`,g,[]);if(!b)return;let[y,k]=b,v=i.bracket(y);if(v==null)return;let C=k.split(a,1)?.[0]??"",E=`${e}${ct(C)}`;return[C,g.slice(g.length-(k.length-C.length-1)),v.includes("&")?v.replace(/&/g,E):`${E}${v}`]},p=g=>{let b=g.match(l)||g.match(c);if(!b)return;let[y,k,v]=b,C=b[3]??"",E=tr[v]||rr[v]||`:${v}`;return k&&(E=`:${k}(${E})`),[C,g.slice(y.length),`${e}${ct(C)}${E}`,v]},h=g=>{let b=g.match(d);if(!b)return;let[y,k,v]=b,C=b[3]??"",E=`:${k}(${v})`;return[C,g.slice(y.length),`${e}${ct(C)}${E}`]};return{name:`pseudo:${t}`,match(g,b){if(a&&l&&c||(a=new RegExp(`(?:${b.generator.config.separators.join("|")})`),l=new RegExp(`^${t}-(?:(?:(${vt})-)?(${$o}))(?:(/[\\w-]+))?(?:${b.generator.config.separators.join("|")})`),c=new RegExp(`^${t}-(?:(?:(${vt})-)?(${_o}))(?:(/[\\w-]+))?(?:${b.generator.config.separators.filter(w=>w!=="-").join("|")})`),d=new RegExp(`^${t}-(?:(${vt})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${b.generator.config.separators.filter(w=>w!=="-").join("|")})`)),!g.startsWith(t))return;let y=u(g)||p(g)||h(g);if(!y)return;let[k,v,C,E=""]=y;return{matcher:v,handle:(w,M)=>M({...w,prefix:`${C}${r}${w.prefix}`.replace(s,"$1$2:"),sort:uc.indexOf(E)??fc.indexOf(E)})}},multiPass:!0}}function hc(t){let{h:e}=t,r,n,i;return[{name:"pseudo",match(o,s){r&&n||(r=new RegExp(`^(${ic})(?:-(\\d+|\\[(\\w|[+-.])+\\]))?(?:${s.generator.config.separators.join("|")})`),n=new RegExp(`^(${oc})(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`));let a=o.match(r)||o.match(n);if(a){let l=tr[a[1]]||rr[a[1]]||`:${a[1]}`;if(a[2]){let d;a[2].startsWith("[")&&a[2].endsWith("]")?d=e.bracket(a[2]):d=a[2],d&&(l=l.replace(Lr,d))}let c=uc.indexOf(a[1]);return c===-1&&(c=fc.indexOf(a[1])),c===-1&&(c=void 0),{matcher:o.slice(a[0].length),handle:(d,u)=>{let p=l.includes("::")&&!Am.includes(l)?{pseudo:`${d.pseudo}${l}`}:{selector:`${d.selector}${l}`};return u({...d,...p,sort:c,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${ic}|${oc}):`},{name:"pseudo:multi",match(o,s){i||(i=new RegExp(`^(${nc})(?:${s.generator.config.separators.join("|")})`));let a=o.match(i);if(a)return dc[a[1]].map(c=>({matcher:o.slice(a[0].length),handle:(d,u)=>u({...d,pseudo:`${d.pseudo}${c}`})}))},multiPass:!1,autocomplete:`(${nc}):`}]}function pc(t){let{getBracket:e,h:r}=t,n,i,o;return{match(s,a){n&&i||(n=new RegExp(`^(${vt})-(${$o})(?:${a.generator.config.separators.join("|")})`),i=new RegExp(`^(${vt})-(${_o})(?:${a.generator.config.separators.filter(c=>c!=="-").join("|")})`),o=new RegExp(`^(${vt})-(\\[.+\\])(?:${a.generator.config.separators.filter(c=>c!=="-").join("|")})`));let l=s.match(n)||s.match(i)||s.match(o);if(l){let c=l[1],u=e(l[2],"[","]")?r.bracket(l[2]):tr[l[2]]||rr[l[2]]||`:${l[2]}`;return{matcher:s.slice(l[0].length),selector:p=>`${p}:${c}(${u})`}}},multiPass:!0,autocomplete:`(${vt})-(${$o}|${_o}):`}}function mc(t,e){let r=!!t?.attributifyPseudo,n=t?.prefix??"";n=(Array.isArray(n)?n:[n]).filter(Boolean)[0]??"";let i=(o,s)=>Nm(o,r?`[${n}${o}=""]`:`.${n}${o}`,s,e);return[i("group"," "),i("peer","~"),i("parent",">"),i("previous","+")]}var Pm=/(part-\[(.+)\]:)(.+)/;function gc(){return{match(t){let e=t.match(Pm);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(i,o){n||(n=new RegExp(`^${Kt(t)}(?:${o.generator.config.separators.join("|")})`));let s=i.match(n);if(s){let a=i.slice(s[0].length),l=F(e).map(c=>({matcher:a,handle:(d,u)=>u({...d,...c(d)}),...r}));return l.length===1?l[0]:l}},autocomplete:`${t}:`}}function se(t,e){let r;return{name:t,match(n,i){r||(r=new RegExp(`^${Kt(t)}(?:${i.generator.config.separators.join("|")})`));let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${e}`})}},autocomplete:`${t}:`}}function ut(t,e,r){if(e.startsWith(`${t}[`)){let[n,i]=er(e.slice(t.length),"[","]")??[];if(n&&i){for(let o of r)if(i.startsWith(o))return[n,i.slice(o.length),o];return[n,i,""]}}}function me(t,e,r){for(let n of F(t))if(e.startsWith(n)){let i=ut(n,e,r);if(i){let[o="",s=i[1]]=me("/",i[1],r)??[];return[i[0],s,o]}for(let o of r.filter(s=>s!=="/")){let s=e.indexOf(o,n.length);if(s!==-1){let a=e.indexOf("/",n.length),l=a===-1||s<=a;return[e.slice(n.length,l?s:a),e.slice(s+o.length),l?"":e.slice(a+1,s)]}}}}var yc=[["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"]],Im={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]},L=t=>t.toFixed(7).replace(/0+$/,"").replace(/\.$/,""),ae=t=>`${L(t/16)}rem`,f=(t,e)=>`${L(t/e)}em`,Rm={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":f(32,16),"margin-bottom":f(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)"}},Lo={sm:{"font-size":ae(14),"line-height":L(24/14),p:{"margin-top":f(16,14),"margin-bottom":f(16,14)},'[class~="lead"]':{"font-size":f(18,14),"line-height":L(28/18),"margin-top":f(16,18),"margin-bottom":f(16,18)},blockquote:{"margin-top":f(24,18),"margin-bottom":f(24,18),"padding-inline-start":f(20,18)},h1:{"font-size":f(30,14),"margin-top":"0","margin-bottom":f(24,30),"line-height":L(36/30)},h2:{"font-size":f(20,14),"margin-top":f(32,20),"margin-bottom":f(16,20),"line-height":L(28/20)},h3:{"font-size":f(18,14),"margin-top":f(28,18),"margin-bottom":f(8,18),"line-height":L(28/18)},h4:{"margin-top":f(20,14),"margin-bottom":f(8,14),"line-height":L(20/14)},img:{"margin-top":f(24,14),"margin-bottom":f(24,14)},picture:{"margin-top":f(24,14),"margin-bottom":f(24,14)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":f(24,14),"margin-bottom":f(24,14)},kbd:{"font-size":f(12,14),"border-radius":ae(5),"padding-top":f(2,14),"padding-inline-end":f(5,14),"padding-bottom":f(2,14),"padding-inline-start":f(5,14)},code:{"font-size":f(12,14)},"h2 code":{"font-size":f(18,20)},"h3 code":{"font-size":f(16,18)},pre:{"font-size":f(12,14),"line-height":L(20/12),"margin-top":f(20,12),"margin-bottom":f(20,12),"border-radius":ae(4),"padding-top":f(8,12),"padding-inline-end":f(12,12),"padding-bottom":f(8,12),"padding-inline-start":f(12,12)},ol:{"margin-top":f(16,14),"margin-bottom":f(16,14),"padding-inline-start":f(22,14)},ul:{"margin-top":f(16,14),"margin-bottom":f(16,14),"padding-inline-start":f(22,14)},li:{"margin-top":f(4,14),"margin-bottom":f(4,14)},"ol > li":{"padding-inline-start":f(6,14)},"ul > li":{"padding-inline-start":f(6,14)},"> ul > li p":{"margin-top":f(8,14),"margin-bottom":f(8,14)},"> ul > li > p:first-child":{"margin-top":f(16,14)},"> ul > li > p:last-child":{"margin-bottom":f(16,14)},"> ol > li > p:first-child":{"margin-top":f(16,14)},"> ol > li > p:last-child":{"margin-bottom":f(16,14)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":f(8,14),"margin-bottom":f(8,14)},dl:{"margin-top":f(16,14),"margin-bottom":f(16,14)},dt:{"margin-top":f(16,14)},dd:{"margin-top":f(4,14),"padding-inline-start":f(22,14)},hr:{"margin-top":f(40,14),"margin-bottom":f(40,14)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":f(12,14),"line-height":L(18/12)},"thead th":{"padding-inline-end":f(12,12),"padding-bottom":f(8,12),"padding-inline-start":f(12,12)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":f(8,12),"padding-inline-end":f(12,12),"padding-bottom":f(8,12),"padding-inline-start":f(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":f(24,14),"margin-bottom":f(24,14)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":f(12,14),"line-height":L(16/12),"margin-top":f(8,12)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},base:{"font-size":ae(16),"line-height":L(28/16),p:{"margin-top":f(20,16),"margin-bottom":f(20,16)},'[class~="lead"]':{"font-size":f(20,16),"line-height":L(32/20),"margin-top":f(24,20),"margin-bottom":f(24,20)},blockquote:{"margin-top":f(32,20),"margin-bottom":f(32,20),"padding-inline-start":f(20,20)},h1:{"font-size":f(36,16),"margin-top":"0","margin-bottom":f(32,36),"line-height":L(40/36)},h2:{"font-size":f(24,16),"margin-top":f(48,24),"margin-bottom":f(24,24),"line-height":L(32/24)},h3:{"font-size":f(20,16),"margin-top":f(32,20),"margin-bottom":f(12,20),"line-height":L(32/20)},h4:{"margin-top":f(24,16),"margin-bottom":f(8,16),"line-height":L(24/16)},img:{"margin-top":f(32,16),"margin-bottom":f(32,16)},picture:{"margin-top":f(32,16),"margin-bottom":f(32,16)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":f(32,16),"margin-bottom":f(32,16)},kbd:{"font-size":f(14,16),"border-radius":ae(5),"padding-top":f(3,16),"padding-inline-end":f(6,16),"padding-bottom":f(3,16),"padding-inline-start":f(6,16)},code:{"font-size":f(14,16)},"h2 code":{"font-size":f(21,24)},"h3 code":{"font-size":f(18,20)},pre:{"font-size":f(14,16),"line-height":L(24/14),"margin-top":f(24,14),"margin-bottom":f(24,14),"border-radius":ae(6),"padding-top":f(12,14),"padding-inline-end":f(16,14),"padding-bottom":f(12,14),"padding-inline-start":f(16,14)},ol:{"margin-top":f(20,16),"margin-bottom":f(20,16),"padding-inline-start":f(26,16)},ul:{"margin-top":f(20,16),"margin-bottom":f(20,16),"padding-inline-start":f(26,16)},li:{"margin-top":f(8,16),"margin-bottom":f(8,16)},"ol > li":{"padding-inline-start":f(6,16)},"ul > li":{"padding-inline-start":f(6,16)},"> ul > li p":{"margin-top":f(12,16),"margin-bottom":f(12,16)},"> ul > li > p:first-child":{"margin-top":f(20,16)},"> ul > li > p:last-child":{"margin-bottom":f(20,16)},"> ol > li > p:first-child":{"margin-top":f(20,16)},"> ol > li > p:last-child":{"margin-bottom":f(20,16)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":f(12,16),"margin-bottom":f(12,16)},dl:{"margin-top":f(20,16),"margin-bottom":f(20,16)},dt:{"margin-top":f(20,16)},dd:{"margin-top":f(8,16),"padding-inline-start":f(26,16)},hr:{"margin-top":f(48,16),"margin-bottom":f(48,16)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":f(14,16),"line-height":L(24/14)},"thead th":{"padding-inline-end":f(8,14),"padding-bottom":f(8,14),"padding-inline-start":f(8,14)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":f(8,14),"padding-inline-end":f(8,14),"padding-bottom":f(8,14),"padding-inline-start":f(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":f(32,16),"margin-bottom":f(32,16)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":f(14,16),"line-height":L(20/14),"margin-top":f(12,14)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},lg:{"font-size":ae(18),"line-height":L(32/18),p:{"margin-top":f(24,18),"margin-bottom":f(24,18)},'[class~="lead"]':{"font-size":f(22,18),"line-height":L(32/22),"margin-top":f(24,22),"margin-bottom":f(24,22)},blockquote:{"margin-top":f(40,24),"margin-bottom":f(40,24),"padding-inline-start":f(24,24)},h1:{"font-size":f(48,18),"margin-top":"0","margin-bottom":f(40,48),"line-height":L(48/48)},h2:{"font-size":f(30,18),"margin-top":f(56,30),"margin-bottom":f(32,30),"line-height":L(40/30)},h3:{"font-size":f(24,18),"margin-top":f(40,24),"margin-bottom":f(16,24),"line-height":L(36/24)},h4:{"margin-top":f(32,18),"margin-bottom":f(8,18),"line-height":L(28/18)},img:{"margin-top":f(32,18),"margin-bottom":f(32,18)},picture:{"margin-top":f(32,18),"margin-bottom":f(32,18)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":f(32,18),"margin-bottom":f(32,18)},kbd:{"font-size":f(16,18),"border-radius":ae(5),"padding-top":f(4,18),"padding-inline-end":f(8,18),"padding-bottom":f(4,18),"padding-inline-start":f(8,18)},code:{"font-size":f(16,18)},"h2 code":{"font-size":f(26,30)},"h3 code":{"font-size":f(21,24)},pre:{"font-size":f(16,18),"line-height":L(28/16),"margin-top":f(32,16),"margin-bottom":f(32,16),"border-radius":ae(6),"padding-top":f(16,16),"padding-inline-end":f(24,16),"padding-bottom":f(16,16),"padding-inline-start":f(24,16)},ol:{"margin-top":f(24,18),"margin-bottom":f(24,18),"padding-inline-start":f(28,18)},ul:{"margin-top":f(24,18),"margin-bottom":f(24,18),"padding-inline-start":f(28,18)},li:{"margin-top":f(12,18),"margin-bottom":f(12,18)},"ol > li":{"padding-inline-start":f(8,18)},"ul > li":{"padding-inline-start":f(8,18)},"> ul > li p":{"margin-top":f(16,18),"margin-bottom":f(16,18)},"> ul > li > p:first-child":{"margin-top":f(24,18)},"> ul > li > p:last-child":{"margin-bottom":f(24,18)},"> ol > li > p:first-child":{"margin-top":f(24,18)},"> ol > li > p:last-child":{"margin-bottom":f(24,18)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":f(16,18),"margin-bottom":f(16,18)},dl:{"margin-top":f(24,18),"margin-bottom":f(24,18)},dt:{"margin-top":f(24,18)},dd:{"margin-top":f(12,18),"padding-inline-start":f(28,18)},hr:{"margin-top":f(56,18),"margin-bottom":f(56,18)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":f(16,18),"line-height":L(24/16)},"thead th":{"padding-inline-end":f(12,16),"padding-bottom":f(12,16),"padding-inline-start":f(12,16)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":f(12,16),"padding-inline-end":f(12,16),"padding-bottom":f(12,16),"padding-inline-start":f(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":f(32,18),"margin-bottom":f(32,18)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":f(16,18),"line-height":L(24/16),"margin-top":f(16,16)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},xl:{"font-size":ae(20),"line-height":L(36/20),p:{"margin-top":f(24,20),"margin-bottom":f(24,20)},'[class~="lead"]':{"font-size":f(24,20),"line-height":L(36/24),"margin-top":f(24,24),"margin-bottom":f(24,24)},blockquote:{"margin-top":f(48,30),"margin-bottom":f(48,30),"padding-inline-start":f(32,30)},h1:{"font-size":f(56,20),"margin-top":"0","margin-bottom":f(48,56),"line-height":L(56/56)},h2:{"font-size":f(36,20),"margin-top":f(56,36),"margin-bottom":f(32,36),"line-height":L(40/36)},h3:{"font-size":f(30,20),"margin-top":f(48,30),"margin-bottom":f(20,30),"line-height":L(40/30)},h4:{"margin-top":f(36,20),"margin-bottom":f(12,20),"line-height":L(32/20)},img:{"margin-top":f(40,20),"margin-bottom":f(40,20)},picture:{"margin-top":f(40,20),"margin-bottom":f(40,20)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":f(40,20),"margin-bottom":f(40,20)},kbd:{"font-size":f(18,20),"border-radius":ae(5),"padding-top":f(5,20),"padding-inline-end":f(8,20),"padding-bottom":f(5,20),"padding-inline-start":f(8,20)},code:{"font-size":f(18,20)},"h2 code":{"font-size":f(31,36)},"h3 code":{"font-size":f(27,30)},pre:{"font-size":f(18,20),"line-height":L(32/18),"margin-top":f(36,18),"margin-bottom":f(36,18),"border-radius":ae(8),"padding-top":f(20,18),"padding-inline-end":f(24,18),"padding-bottom":f(20,18),"padding-inline-start":f(24,18)},ol:{"margin-top":f(24,20),"margin-bottom":f(24,20),"padding-inline-start":f(32,20)},ul:{"margin-top":f(24,20),"margin-bottom":f(24,20),"padding-inline-start":f(32,20)},li:{"margin-top":f(12,20),"margin-bottom":f(12,20)},"ol > li":{"padding-inline-start":f(8,20)},"ul > li":{"padding-inline-start":f(8,20)},"> ul > li p":{"margin-top":f(16,20),"margin-bottom":f(16,20)},"> ul > li > p:first-child":{"margin-top":f(24,20)},"> ul > li > p:last-child":{"margin-bottom":f(24,20)},"> ol > li > p:first-child":{"margin-top":f(24,20)},"> ol > li > p:last-child":{"margin-bottom":f(24,20)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":f(16,20),"margin-bottom":f(16,20)},dl:{"margin-top":f(24,20),"margin-bottom":f(24,20)},dt:{"margin-top":f(24,20)},dd:{"margin-top":f(12,20),"padding-inline-start":f(32,20)},hr:{"margin-top":f(56,20),"margin-bottom":f(56,20)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":f(18,20),"line-height":L(28/18)},"thead th":{"padding-inline-end":f(12,18),"padding-bottom":f(16,18),"padding-inline-start":f(12,18)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":f(16,18),"padding-inline-end":f(12,18),"padding-bottom":f(16,18),"padding-inline-start":f(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":f(40,20),"margin-bottom":f(40,20)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":f(18,20),"line-height":L(28/18),"margin-top":f(18,18)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}},"2xl":{"font-size":ae(24),"line-height":L(40/24),p:{"margin-top":f(32,24),"margin-bottom":f(32,24)},'[class~="lead"]':{"font-size":f(30,24),"line-height":L(44/30),"margin-top":f(32,30),"margin-bottom":f(32,30)},blockquote:{"margin-top":f(64,36),"margin-bottom":f(64,36),"padding-inline-start":f(40,36)},h1:{"font-size":f(64,24),"margin-top":"0","margin-bottom":f(56,64),"line-height":L(64/64)},h2:{"font-size":f(48,24),"margin-top":f(72,48),"margin-bottom":f(40,48),"line-height":L(52/48)},h3:{"font-size":f(36,24),"margin-top":f(56,36),"margin-bottom":f(24,36),"line-height":L(44/36)},h4:{"margin-top":f(40,24),"margin-bottom":f(16,24),"line-height":L(36/24)},img:{"margin-top":f(48,24),"margin-bottom":f(48,24)},picture:{"margin-top":f(48,24),"margin-bottom":f(48,24)},"picture > img":{"margin-top":"0","margin-bottom":"0"},video:{"margin-top":f(48,24),"margin-bottom":f(48,24)},kbd:{"font-size":f(20,24),"border-radius":ae(6),"padding-top":f(6,24),"padding-inline-end":f(8,24),"padding-bottom":f(6,24),"padding-inline-start":f(8,24)},code:{"font-size":f(20,24)},"h2 code":{"font-size":f(42,48)},"h3 code":{"font-size":f(32,36)},pre:{"font-size":f(20,24),"line-height":L(36/20),"margin-top":f(40,20),"margin-bottom":f(40,20),"border-radius":ae(8),"padding-top":f(24,20),"padding-inline-end":f(32,20),"padding-bottom":f(24,20),"padding-inline-start":f(32,20)},ol:{"margin-top":f(32,24),"margin-bottom":f(32,24),"padding-inline-start":f(38,24)},ul:{"margin-top":f(32,24),"margin-bottom":f(32,24),"padding-inline-start":f(38,24)},li:{"margin-top":f(12,24),"margin-bottom":f(12,24)},"ol > li":{"padding-inline-start":f(10,24)},"ul > li":{"padding-inline-start":f(10,24)},"> ul > li p":{"margin-top":f(20,24),"margin-bottom":f(20,24)},"> ul > li > p:first-child":{"margin-top":f(32,24)},"> ul > li > p:last-child":{"margin-bottom":f(32,24)},"> ol > li > p:first-child":{"margin-top":f(32,24)},"> ol > li > p:last-child":{"margin-bottom":f(32,24)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":f(16,24),"margin-bottom":f(16,24)},dl:{"margin-top":f(32,24),"margin-bottom":f(32,24)},dt:{"margin-top":f(32,24)},dd:{"margin-top":f(12,24),"padding-inline-start":f(38,24)},hr:{"margin-top":f(72,24),"margin-bottom":f(72,24)},"hr + *":{"margin-top":"0"},"h2 + *":{"margin-top":"0"},"h3 + *":{"margin-top":"0"},"h4 + *":{"margin-top":"0"},table:{"font-size":f(20,24),"line-height":L(28/20)},"thead th":{"padding-inline-end":f(12,20),"padding-bottom":f(16,20),"padding-inline-start":f(12,20)},"thead th:first-child":{"padding-inline-start":"0"},"thead th:last-child":{"padding-inline-end":"0"},"tbody td, tfoot td":{"padding-top":f(16,20),"padding-inline-end":f(12,20),"padding-bottom":f(16,20),"padding-inline-start":f(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":f(48,24),"margin-bottom":f(48,24)},"figure > *":{"margin-top":"0","margin-bottom":"0"},figcaption:{"font-size":f(20,24),"line-height":L(32/20),"margin-top":f(20,20)},"> :first-child":{"margin-top":"0"},"> :last-child":{"margin-bottom":"0"}}};function zm(t){let e=Jt(Im);if(t)for(let r in t){let[n,i]=F(t[r]),[o,s]=e[r];e[r]=[n??o,i??s]}return e}function Fm(t){return t?Xt(Lo,t):Lo}function bc(t,e){let r=e.selectorName||"prose",n=`:not(:where([class~="not-${r}"],[class~="not-${r}"] *))`,i=e.important===!0,o="";for(let[s,a]of Object.entries(t))if(typeof a!="object")o+=`${s}:${a}${i?" !important":""};`;else{let[l,c]=s.split("::"),d=`:where(${l})${n}${c?`::${c}`:""}`;o+=`${d} {`;for(let[u,p]of Object.entries(a))o+=`${u}:${p}${i?" !important":""};`;o+="}"}return o}function Vm(t){for(let[e,...r]of yc)if(e===t)return r.length>0?r:[e]}var Ao=t=>{let e=t?.selectorName??"prose",r=t?.compatibility?.noColonNot||t?.compatibility?.noColonWhere,n=t?.cssVarPrefix??"--un-prose",i=zm(t?.colorScheme),o=Fm(t?.sizeScheme),s=(u,p)=>{let h=typeof t?.cssExtend=="function"?t?.cssExtend(p):t?.cssExtend;return Xt(u,h??{})},a=u=>(typeof t?.important=="string"&&(u=`${t.important} ${u}`),t?.compatibility?.noColonIs||(u=`:is(${u})`),u),l=new RegExp(`^${e}-default$`),c=new RegExp(`^${e}-([-\\w]+)$`),d=new RegExp(`^${e}-(${Object.keys(o).join("|")})$`);return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},shortcuts:[[e,[`${e}-default`,`${e}-gray`],{layer:"typography"}]],rules:[[l,(u,{symbols:p,theme:h})=>{let g=s(Xt(Rm,Lo.base),h),b=bc(g,t??{});return{[p.body]:b,[p.selector]:a}},{layer:"typography",autocomplete:"prose",internal:!0}],[c,([,u],{theme:p,symbols:h})=>{let g=p.colors?.[u];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(u)?{[`${n}-links`]:g[600],[`${n}-invert-links`]:g[500],[h.selector]:a}:Object.entries(i).reduce((y,[k,v])=>{let[C,E]=v,w=R=>g[R]??p[R]??R,M=w(C),S=w(E),O=`${n}-${k}`,N=`${n}-invert-${k}`;y[O]=xt(M,`var(${O}-opacity)`),y[N]=xt(S,`var(${N}-opacity)`);for(let[R,Q]of[[M,`${O}-opacity`],[S,`${N}-opacity`]])Eo.some(Y=>R.includes(Y))&&(y[Q]="1");return y},{[h.selector]:a})},{layer:"typography",autocomplete:`${e}-$colors`}],[d,([,u],{symbols:p,theme:h})=>{let g=bc(s(o[u],h),t??{});return{[p.body]:g,[p.selector]:a}},{layer:"typography",autocomplete:`${e}-(${Object.keys(o).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)`,[J.selector]:a}],{layer:"typography"}]],variants:[{name:"typography element modifiers",match:u=>{if(u.startsWith(`${e}-`)){let p=new RegExp(`^${e}-(\\w+)[:-].+$`),h=u.match(p)?.[1];if(h){let g=Vm(h);if(g?.length)return{matcher:u.slice(e.length+h.length+2),selector:b=>{let y=`:not(:where([class~="not-${e}"],[class~="not-${e}"] *))`;return r?g.map(v=>`${b} ${v}`).join(","):`${b} :is(:where(${g})${y})`}}}}},autocomplete:`${e}-(${yc.map(u=>`${u[0]}:`).join("|")})`}]}};var xc="@unocss/preset-wind4",Ar="$$mini-no-negative",Nr={transparent:"transparent",current:"currentColor",inherit:"inherit"},$e={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"]},Po={...$e,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"]},Pr={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"]},Do={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},Sc=["x","y","z"],vc=["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"],le=Object.assign({},...vc.map(t=>({[t.replace(/ /,"-")]:t})),...vc.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),B=["inherit","initial","revert","revert-layer","unset"],Nn=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Io=/^(var)\s*\((.+)\)(.*)/,Pn=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,jm=/^(-?\d*(?:\.\d+)?)$/,$c=/^(px|[sld]?v[wh])$/i,_c={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Dn=/^\[(color|image|length|size|position|quoted|string|number|family):/i,Cc=/,(?![^()]*\))/g;var Wm=["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 Pe(t){return+t.toFixed(10)}function qm(t){let e=t.match(Pn);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(n&&!Number.isNaN(i))return`${Pe(i)}${n}`}function Bm(t){if(t==="auto"||t==="a")return"auto"}function Um(t){if(!t)return;if($c.test(t))return`${_c[t]}${t}`;let e=t.match(Pn);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0?"0":n?`${Pe(i)}${n}`:`${Pe(i/4)}rem`}function Hm(t){if($c.test(t))return`${_c[t]}${t}`;let e=t.match(Pn);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(!Number.isNaN(i))return n?`${Pe(i)}${n}`:`${Pe(i)}px`}function Ec(t){if(!jm.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return Pe(e)}function Gm(t){t.endsWith("%")&&(t=t.slice(0,-1));let e=Ec(t);if(e!=null)return`${e}%`}function Zm(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":`${Pe(n*100)}%`}function St(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,n,i=t.match(Dn);if(!i)r=t.slice(1,-1);else{if(!e)n=i[1];else if(i[1]!==e)return;r=t.slice(i[0].length,-1)}if(!r||r==='=""')return;if(r.startsWith("--")){let[s,a]=r.slice(2).split(",");r=`var(--${ct(s)}${a?`, ${a}`:""})`}let o=0;for(let s of r)if(s==="[")o+=1;else if(s==="]"&&(o-=1,o<0))return;if(o)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,(l,c)=>(a.push(c),l.replace(c,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function Ym(t){return St(t)}function Jm(t){return St(t,"color")}function Km(t){return St(t,"length")||St(t,"size")}function Xm(t){return St(t,"position")}function Qm(t){return St(t,"family")}function eg(t){return St(t,"number")}function tg(t){if(t.startsWith("var("))return t;let e=t.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(e){let[r,n]=e[1].split(",");return`var(--${ct(r)}${n?`, ${n}`:""})`}}function rg(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0&&!n?"0s":n?`${Pe(i)}${n}`:`${Pe(i)}ms`}function ng(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0?"0deg":n?`${Pe(i)}${n}`:`${Pe(i)}deg`}function ig(t){if(B.includes(t))return t}function og(t){if(t.split(",").every(e=>Wm.includes(e)))return t}function sg(t){if(["top","left","right","bottom","center"].includes(t))return t}function ag(t){if(t==="none")return"none"}var lg={__proto__:null,auto:Bm,bracket:Ym,bracketOfColor:Jm,bracketOfFamily:Qm,bracketOfLength:Km,bracketOfNumber:eg,bracketOfPosition:Xm,cssvar:tg,degree:ng,fraction:Zm,global:ig,none:ag,number:Ec,numberWithUnit:qm,percent:Gm,position:sg,properties:og,px:Hm,rem:Um,time:rg},cg=cc(lg),m=cg;function ge(t,e){let r=m.number(t)??e;if(r!=null){let n=Number(r);return String(r).endsWith("%")&&(n=Number(String(r).slice(0,-1))/100),n}}function j(t,e=$e,r=(n,i)=>`${n}${i}`){return(([n,i,o],{theme:s})=>{if(o!=null&&i!=null){let a,l=o.startsWith("-");if(l&&(o=o.slice(1)),a=ge(o),a!=null&&!Number.isNaN(a))return P("spacing"),e[i].map(c=>[r(t,c),`calc(var(--spacing) * ${l?"-":""}${a})`]);if(s.spacing&&o in s.spacing)return P("spacing",o),e[i].map(c=>[r(t,c),l?`calc(var(--spacing-${o}) * -1)`:`var(--spacing-${o})`]);if(a=m.bracket.cssvar.global.auto.fraction.rem(l?`-${o}`:o),a!=null)return e[i].map(c=>[r(t,c),a])}})}function Dr(t,e){let r,[n,...i]=je(t,["/",":"],3)??[];if(n!=null){let b=(n.match(Dn)??[])[1];(b==null||b==="color")&&(r=[n,...i])}if(!r)return;let o,[s,a,l]=r;Mo(a)||Mo(m.bracket(a??""))?l=a:o=a;let c=s.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[d]=c;if(!d)return;let u=kc(e,c);if(!u&&c.length>=2){let b=c.at(-1),y=c.at(-2);if(/^\d+$/.test(b)){let k=c.slice(0,-2).concat([`${y}${b}`]);u=kc(e,k)}}let{no:p,keys:h,color:g}=u??{};if(!g){let b=m.bracketOfColor(s),y=b||s;if(m.numberWithUnit(y))return;/^#[\da-f]+$/i.test(y)?g=y:/^hex-[\da-fA-F]+$/.test(y)?g=`#${y.slice(4)}`:s.startsWith("$")&&(g=m.cssvar(s)),g=g||b}return{opacity:o,modifier:l&&m.bracket.cssvar(l)||l,name:d,no:p,color:g??Nr[d],alpha:m.bracket.cssvar.percent(o??""),keys:h,get cssColor(){return wt(this.color)}}}function kc(t,e){let r,n,i,o=Ir(t,"colors",e);if(typeof o=="object"?"DEFAULT"in o&&(r=o.DEFAULT,n="DEFAULT",i=[...e,n]):typeof o=="string"&&(r=o,i=e,n=e.at(-1)),!!r)return{color:r,no:n,keys:i}}function Ir(t,e,r){let n=t[e];function i(o,s){if(!(!o||typeof o!="object")){if(s.length===0)return o;for(let a=s.length;a>0;a--){let l=s.slice(0,a).join("-");if(l in o){let c=o[l];return a===s.length?c:i(c,s.slice(a))}}}}return i(n,r)}function Ro(t,e,r,n){if(!t)return;let{color:i,keys:o,alpha:s,modifier:a}=t,l=n?.generator.config.envMode==="dev"&&i?` /* ${i} */`:"",c={};if(i){let d=[c];if(Object.values(Nr).includes(i))c[e]=i;else{let u=`--un-${r}-opacity`,p=o?G("colors",o):i,h=a??(o?"in srgb":"in oklab");if(!h.startsWith("in ")&&!h.startsWith("var(")&&(h=`in ${h}`),c[e]=`color-mix(${h}, ${p} ${s??`var(${u})`}, transparent)${l}`,d.push(_(u,{syntax:"<percentage>",initialValue:"100%"})),o&&(P("colors",o),!a)){let g=["shadow","inset-shadow","text-shadow","drop-shadow"].includes(r)?`${s?`color-mix(in oklab, ${p} ${s}, transparent)`:`${p}`} var(${u})`:`${p} ${s??`var(${u})`}`;d.push({[J.parent]:"@supports (color: color-mix(in lab, red, red))",[J.noMerge]:!0,[J.shortcutsNoMerge]:!0,[e]:`color-mix(in oklab, ${g}, transparent)${l}`})}n?.theme&&ir(i,n.theme)}return d}}function U(t,e){return([,r],n)=>{let i=Dr(r??"",n.theme);if(i)return Ro(i,t,e,n)}}function In(t,e,r){let n=[];t=F(t);for(let i=0;i<t.length;i++){let o=je(t[i]," ",6);if(!o||o.length<3)return t;let s=!1,a=o.indexOf("inset");a!==-1&&(o.splice(a,1),s=!0);let l="",c=o.at(-1);if(wt(o.at(0))){let d=wt(o.shift());d&&(l=xt(d))}else if(wt(c)){let d=wt(o.pop());d&&(l=xt(d))}else if(c&&Io.test(c)){let d=o.pop();d&&(l=d)}n.push(`${s?"inset ":""}${o.join(" ")} var(${e}, ${r?`oklab(from ${l} l a b / ${r})`:l})`)}return n}function We(t,e){return t!=null&&!!Dr(t,e)?.color}var wc=/[a-z]+/gi,No=new WeakMap;function Ct({theme:t,generator:e},r="breakpoint"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if(No.has(t))return No.get(t);let i=Object.entries(n).sort((o,s)=>Number.parseInt(o[1].replace(wc,""))-Number.parseInt(s[1].replace(wc,""))).map(([o,s])=>({point:o,size:s}));return No.set(t,i),i}function D(t,e){return B.map(r=>[`${t}-${r}`,{[e??t]:r}])}function _(t,e={}){let{syntax:r="*",inherits:n=!1,initialValue:i}=e,o={[J.shortcutsNoMerge]:!0,[J.noMerge]:!0,[J.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${t}`}],syntax:JSON.stringify(r),inherits:n?"true":"false"};return i!=null&&(o["initial-value"]=i),ug(t,i?String(i):"initial"),o}function nr(t){return t!=null&&Nn.test(t)}function Oc(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),Nn.test(t)||Pn.test(t)}function Rn(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function zo(t,e=!1){return e?t.trim():t.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}var $t=new Set([]);function P(t,e="DEFAULT"){let r=`${t}:${F(e).join("-")}`;$t.has(r)||$t.add(r)}function G(t,e){return`var(--${t}-${F(e).join("-")})`}function ir(t,e){if(t.startsWith("var(")){let r=t.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(r){let[n,...i]=r.split("-"),o=Ir(e,n,i);typeof o=="string"&&(P(n,i),ir(o,e))}}}var _t=new Map;function ug(t,e){_t.has(t)||_t.set(t,e)}function fg({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 dg({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 Mc(t){return[fg,dg].flatMap(e=>e(t))}var hg={name:"aria",match(t,e){let r=me("aria-",t,e.generator.config.separators);if(r){let[n,i]=r,o=m.bracket(n)??e.theme.aria?.[n]??"";if(o)return{matcher:i,selector:s=>`${s}[aria-${o}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function or(t){return{name:`${t}-aria`,match(e,r){let n=me(`${t}-aria-`,e,r.generator.config.separators);if(n){let[i,o,s]=n,a=m.bracket(i)??r.theme.aria?.[i]??"";if(a){let l={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:o,handle:(c,d)=>d({...c,parent:`${c.parent?`${c.parent} $$ `:""}${c.selector}`,selector:l[t]})}}}},multiPass:!0}}var pg=[or("group"),or("peer"),or("parent"),or("previous"),or("has"),or("in")],Tc=/(max|min)-\[([^\]]*)\]:/;function mg(){let t={};return{name:"breakpoints",match(e,r){if(Tc.test(e)){let i=e.match(Tc);return{matcher:e.replace(i[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${i[1]}-width: ${i[2]})`})}}let n=(Ct(r)??[]).map(({point:i,size:o},s)=>[i,o,s]);for(let[i,o,s]of n){t[i]||(t[i]=new RegExp(`^((?:([al]t-|[<~]|max-))?${i}(?:${r.generator.config.separators.join("|")}))`));let a=e.match(t[i]);if(!a)continue;let[,l]=a,c=e.slice(l.length);if(c==="container")continue;let d=l.startsWith("lt-")||l.startsWith("<")||l.startsWith("max-"),u=l.startsWith("at-")||l.startsWith("~"),p=3e3;return d?(p-=s+1,{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (max-width: ${To(o)})`,parentOrder:p})}):(p+=s+1,u&&s<n.length-1?{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${o}) and (max-width: ${To(n[s+1][1])})`,parentOrder:p})}:{matcher:c,handle:(h,g)=>g({...h,parent:`${h.parent?`${h.parent} $$ `:""}@media (min-width: ${o})`,parentOrder:p})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}var gg=[Se("*",t=>({selector:`${t.selector} > *`}),{order:-1}),Se("**",t=>({selector:`${t.selector} *`}),{order:-1})];function Rr(t,e){return{name:`combinator:${t}`,match(r,n){if(!r.startsWith(t))return;let i=n.generator.config.separators,o=ut(`${t}-`,r,i);if(!o){for(let a of i)if(r.startsWith(`${t}${a}`)){o=["",r.slice(t.length+a.length)];break}if(!o)return}let s=m.bracket(o[0])??"";return s===""&&(s="*"),{matcher:o[1],selector:a=>`${a}${e}${s}`}},multiPass:!0}}var bg=[Rr("all"," "),Rr("children",">"),Rr("next","+"),Rr("sibling","+"),Rr("siblings","~")],yg=[Se("svg",t=>({selector:`${t.selector} svg`}))],vg={name:"@",match(t,e){if(t.startsWith("@container"))return;let r=me("@",t,e.generator.config.separators);if(r){let[n,i,o]=r,s=m.bracket(n),a;if(s?a=m.numberWithUnit(s):a=e.theme.container?.[n]??"",a){let l=1e3+Object.keys(e.theme.container??{}).indexOf(n);return o&&(l+=1e3),{matcher:i,handle:(c,d)=>d({...c,parent:`${c.parent?`${c.parent} $$ `:""}@container${o?` ${o} `:" "}(min-width: ${a})`,parentOrder:l})}}}},multiPass:!0};function kg(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[se("dark","@media (prefers-color-scheme: dark)"),se("light","@media (prefers-color-scheme: light)")]}var wg=[Se(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),Se(".light",t=>({prefix:`.light $$ ${t.prefix}`})),se("@dark","@media (prefers-color-scheme: dark)"),se("@light","@media (prefers-color-scheme: light)"),se("not-dark","@media not (prefers-color-scheme: dark)")],xg={name:"data",match(t,e){let r=me("data-",t,e.generator.config.separators);if(r){let[n,i]=r,o=m.bracket(n)??e.theme.data?.[n]??"";if(o)return{matcher:i,selector:s=>`${s}[data-${o}]`}}},multiPass:!0};function sr(t){return{name:`${t}-data`,match(e,r){let n=me(`${t}-data-`,e,r.generator.config.separators);if(n){let[i,o,s]=n,a=m.bracket(i)??r.theme.data?.[i]??"";if(a){let l={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:o,handle:(c,d)=>d({...c,parent:`${c.parent?`${c.parent} $$ `:""}${c.selector}`,selector:l[t]})}}}},multiPass:!0}}var Sg=[sr("group"),sr("peer"),sr("parent"),sr("previous"),sr("has"),sr("in")],$g=[Se("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),Se("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function _g(){let t;return{name:"important",match(e,r){t||(t=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,i=e.match(t);if(i?n=e.slice(i[0].length):e.endsWith("!")&&(n=e.slice(0,-1)),n)return{matcher:n,body:o=>(o.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),o)}}}}var Cg=Se("inert",t=>({parent:`${t.parent?`${t.parent} $$ `:""}${t.selector}`,selector:"&:is([inert],[inert] *)"})),Eg=se("noscript","@media (scripting: none)"),Og={name:"scripting",match(t,e){let r=me(["script-","scripting-"],t,e.generator.config.separators);if(r){let[n,i]=r;if(["none","initial-only","enabled"].includes(n))return{matcher:i,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (scripting: ${n})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},Mg=se("print","@media print"),Tg={name:"media",match(t,e){let r=me("media-",t,e.generator.config.separators);if(r){let[n,i]=r,o=m.bracket(n)??"";if(o===""&&(o=e.theme.media?.[n]??""),o)return{matcher:i,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${o}`})}}},multiPass:!0,autocomplete:"media-$media"},Lg=[se("contrast-more","@media (prefers-contrast: more)"),se("contrast-less","@media (prefers-contrast: less)")],Ag=[se("motion-reduce","@media (prefers-reduced-motion: reduce)"),se("motion-safe","@media (prefers-reduced-motion: no-preference)")],Ng=[se("landscape","@media (orientation: landscape)"),se("portrait","@media (orientation: portrait)")],Pg=[se("forced-colors","@media (forced-colors: active)")],Dg={name:"selector",match(t,e){let r=ut("selector-",t,e.generator.config.separators);if(r){let[n,i]=r,o=m.bracket(n);if(o)return{matcher:i,selector:()=>o}}}},Ig={name:"layer",match(t,e){let r=me("layer-",t,e.generator.config.separators);if(r){let[n,i]=r,o=m.bracket(n)??n;if(o)return{matcher:i,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${o}`})}}}},Rg={name:"uno-layer",match(t,e){let r=me("uno-layer-",t,e.generator.config.separators);if(r){let[n,i]=r,o=m.bracket(n)??n;if(o)return{matcher:i,layer:o}}}},zg={name:"scope",match(t,e){let r=ut("scope-",t,e.generator.config.separators);if(r){let[n,i]=r,o=m.bracket(n);if(o)return{matcher:i,selector:s=>`${o} $$ ${s}`}}}},Fg={name:"variables",match(t,e){if(!t.startsWith("["))return;let[r,n]=er(t,"[","]")??[];if(!(r&&n))return;let i;for(let a of e.generator.config.separators)if(n.startsWith(a)){i=n.slice(a.length);break}if(i==null)return;let o=m.bracket(r)??"",s=o.startsWith("@");if(s||o.includes("&"))return{matcher:i,handle(a,l){let c=s?{parent:`${a.parent?`${a.parent} $$ `:""}${o}`}:{selector:o.replace(/&/g,a.selector)};return l({...a,...c})}}},multiPass:!0},Vg={name:"theme-variables",match(t,e){if(ac(t))return{matcher:t,handle(r,n){return n({...r,entries:JSON.parse(lc(JSON.stringify(r.entries),e.theme))})}}}},jg=[Se("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))],Wg={name:"implicit-group",match(t,e){let r=me("in-",t,e.generator.config.separators);if(r){let[n,i]=r,o=m.bracket(n)??n;if(o)return{matcher:i,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${s.selector}`,selector:`:where(*:is(${o})) &`})}}}},Lc=/^-?[0-9.]+(?:[a-z]+|%)?$/,Ac=/-?[0-9.]+(?:[a-z]+|%)?/,qg=[/\b(opacity|color|flex|backdrop-filter|^filter|^scale|transform|mask-image)\b/];function Bg(t){let e=t.match(Nn)||t.match(Io);if(e){let[r,n]=kt(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r)return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}var Ug=/\b(hue-rotate)\s*(\(.*)/;function Hg(t){let e=t.match(Ug);if(e){let[r,n]=kt(e[2],"(",")"," ")??[];if(r){let i=Lc.test(r.slice(1,-1))?r.replace(Ac,o=>o.startsWith("-")?o.slice(1):`-${o}`):`(calc(${r} * -1))`;return`${e[1]}${i}${n?` ${n}`:""}`}}}var Gg={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(n=>n[0]===Ar))return;let r=!1;return e.forEach(n=>{if(F(n[2]).includes(Ar))return;let i=n[1]?.toString();if(!i||i==="0"||qg.some(a=>a.test(n[0])))return;let o=Bg(i);if(o){n[1]=o,r=!0;return}let s=Hg(i);if(s){n[1]=s,r=!0;return}Lc.test(i)&&(n[1]=i.replace(Ac,a=>a.startsWith("-")?a.slice(1):`-${a}`),r=!0)}),r?e:[]}}}},Zg=(t,{theme:e})=>{let r=t.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",i,o]=r;if(We(o,e)||Yg(o))return{matcher:`${n}placeholder-$ ${i}${o}`}}};function Yg(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?m.bracket.percent(e[1])!=null:!1}function Jg(){return hc({getBracket:er,h:m,variantGetBracket:ut})}function Kg(){return pc({getBracket:er,h:m,variantGetBracket:ut})}function Xg(t={}){return mc(t,{getBracket:er,h:m,variantGetBracket:ut})}var Qg=gc(),e0={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}},t0={name:"supports",match(t,e){let r=me("supports-",t,e.generator.config.separators);if(r){let[n,i]=r,o=m.bracket(n)??"";if(o===""&&(o=e.theme.supports?.[n]??""),o)return o.startsWith("(")&&o.endsWith(")")||(o=`(${o})`),{matcher:i,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${o}`})}}},multiPass:!0};function Nc(t){return[hg,xg,Ig,Dg,Rg,Gg,e0,_g(),t0,Eg,Og,Mg,Tg,...Lg,...Ag,...Ng,...Pg,mg(),...bg,...yg,Zg,...Jg(),Kg(),...Xg(t),Qg,...kg(t),...wg,...$g,zg,...gg,Cg,vg,Fg,...Sg,...pg,Vg,...jg,Wg].flat()}var Fo={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(Fo).forEach(t=>{typeof t!="string"&&t!==void 0&&(t.DEFAULT=t.DEFAULT||t[400])});var r0={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"}},n0={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"'},i0={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},o0={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(",")},s0={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"}},a0={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},l0={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},c0={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},u0={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},f0={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)"},d0={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"},h0={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"},p0={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)"},m0={"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)"},g0={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)"},b0={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)"]},y0={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},v0={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)"}},k0={"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"},Pc={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},w0={...Pc},x0={grid:"(display: grid)"},S0={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)"},$0={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(",")}},Dc={font:o0,colors:Fo,spacing:d0,breakpoint:Pc,verticalBreakpoint:w0,text:s0,fontWeight:a0,tracking:l0,leading:c0,textStrokeWidth:u0,radius:h0,shadow:p0,insetShadow:m0,dropShadow:g0,textShadow:b0,ease:S0,animation:r0,blur:i0,perspective:y0,property:$0,default:v0,container:k0,aria:n0,media:f0,supports:x0};var Ic=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],_0=/@media \(min-width: (.+)\)/,Rc=[[/^__container$/,(t,e)=>{let{theme:r,variantHandlers:n}=e,i=r.containers?.padding,o;H(i)?o=i:o=i?.DEFAULT;let s=r.containers?.maxWidth,a;for(let c of n){let d=c.handle?.({},u=>u)?.parent;if(H(d)){let u=d.match(_0)?.[1];if(u){let h=(Ct(e)??[]).find(g=>g.size===u)?.point;s?h&&(a=s?.[h]):a=u,h&&!H(i)&&(o=i?.[h]??o)}}}let l={"max-width":a};return n.length||(l.width="100%"),r.containers?.center&&(l["margin-left"]="auto",l["margin-right"]="auto"),i&&(l["padding-left"]=o,l["padding-right"]=o),l},{internal:!0}]],zc=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let r=(Ct(e)??[]).map(i=>i.point);if(t){if(!r.includes(t))return;r=r.slice(r.indexOf(t))}let n=r.map(i=>`${i}:__container`);return t||n.unshift("__container"),n}]];var Fc=[...zc];var Vc={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(B.map(t=>[t,t]))},C0=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":Vc[t]??m.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Vc).join("|")})`,"(vertical|align|v)-<percentage>"]}]],jc=["center","left","right","justify","start","end"],E0=[...jc.map(t=>[`text-${t}`,{"text-align":t}]),...[...B,...jc].map(t=>[`text-align-${t}`,{"text-align":t}])],O0=[[/^(?: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",i=e.animation?.timingFns?.[t]??"linear",o=e.animation?.counts?.[t]??1,s=e.animation?.properties?.[t];return[`@keyframes ${t}${r}`,{animation:`${t} ${n} ${i} ${o}`,...s}]}return{animation:m.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>({"animation-name":m.bracket.cssvar(t)??t})],[/^animate-duration-(.+)$/,([,t],{theme:e})=>({"animation-duration":e.duration?.[t||"DEFAULT"]??m.bracket.cssvar.time(t)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>({"animation-delay":e.duration?.[t||"DEFAULT"]??m.bracket.cssvar.time(t)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>({"animation-timing-function":e.ease?.[t||"DEFAULT"]??m.bracket.cssvar(t)}),{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,t,e])=>["none","forwards","backwards","both",t?B:[]].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?B:[]].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":m.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?B:[]].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"}],...D("animate","animation")],nu={"gradient-position":_("--un-gradient-position"),"gradient-from":_("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":_("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":_("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":_("--un-gradient-stops"),"gradient-via-stops":_("--un-gradient-via-stops"),"gradient-from-position":_("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":_("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":_("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function Wc(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 M0(){return function*([,t,e],{theme:r}){let n={},i=Dr(e,r);if(i){let{color:o,keys:s,alpha:a}=i;if(o){if(Object.values(Nr).includes(o))n[`--un-gradient-${t}`]=o;else{n[`--un-${t}-opacity`]=a;let l=s?G("colors",s):o;n[`--un-gradient-${t}`]=`color-mix(in oklab, ${l} var(--un-${t}-opacity), transparent)`,yield _(`--un-${t}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}s&&P("colors",s),r&&ir(o,r)}}else n[`--un-gradient-${t}`]=m.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 o of Object.values(nu))yield o}}}function T0(){return function*([,t,e]){yield{[`--un-gradient-${t}-position`]:`${m.bracket.cssvar.percent(e)}`};for(let r of Object.values(nu))yield r}}var L0=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,t,e,r])=>{let n;if(m.number(e)!=null?n=`from ${m.number(e)}deg ${Wc(r)};`:n=m.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)-(.+)$/,M0()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:m.bracket.percent(e)})],[/^(from|via|to)-([\d.]+%)$/,T0()],[/^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 le?`to ${le[e]} `:" "}${Wc(r)}`,"background-image":`${t==="gradient"?"linear":t}-gradient(var(--un-gradient-stops))`}),{autocomplete:["gradient","linear","radial","conic"].map(t=>`bg-${t}-to-(${Object.keys(le).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"}],...D("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":m.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"}],...B.map(t=>[`bg-clip-${t}`,{"-webkit-background-clip":t,"background-clip":t}]),[/^bg-([-\w]{3,})$/,([,t])=>({"background-position":le[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"}],...D("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"}],...D("bg-origin","background-origin")],qc=[[/^outline-(?:width-|size-)?(.+)$/,iu,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,A0,{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,t])=>({"--un-outline-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,t])=>({"outline-offset":m.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"},_("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[J.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",...B].map(t=>[`outline-${t}`,{"--un-outline-style":t,"outline-style":t}])];function*iu([,t]){let e=m.bracket.cssvar.global.px(t);e!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":e},yield _("--un-outline-style",{initialValue:"solid"}))}function*A0(t,e){if(nr(m.bracket(t[1])))yield*iu(t);else{let r=U("outline-color","outline")(t,e);if(r)for(let n of r)yield n}}var N0=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function P0(t){let e=m.bracket(t);return e&&m.properties(e)?e:m.properties.auto.cssvar.global(t)??{contents:"contents",scroll:"scroll-position"}[t]}var Bc=[[/^will-change-(.+)/,([,t])=>({"will-change":P0(t)})]],Vo={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"},D0=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=Vo[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(Vo).join("|")})`,`list-(${Object.keys(Vo).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":m.bracket(t)}}],["list-image-none",{"list-style-image":"none"}],...D("list","list-style-type")],I0=[[/^accent-(.+)$/,U("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":m.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],R0=[[/^caret-(.+)$/,U("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":m.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],z0=[["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"]]]],F0=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...D("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...D("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"}],...D("overscroll-y","overscroll-behavior-y")],V0=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...D("scroll","scroll-behavior")],Et=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...B],j0=[[/^(?:border|b)()(?:-(.+))?$/,De,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,De],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,De],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,De],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,De],[/^(?:border|b)-()(?:width|size)-(.+)$/,De,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,De],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,De],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,De],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,De],[/^(?:border|b)-()(?:color-)?(.+)$/,zr,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,zr],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,zr],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,zr],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,zr],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Fr,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Fr],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Fr],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Fr],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Fr],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Vr,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Vr],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Vr],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Vr],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Vr],[/^(?:border|b)-(?:style-)?()(.+)$/,jr,{autocomplete:["(border|b)-style",`(border|b)-(${Et.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${Et.join("|")})`,`(border|b)-<directions>-style-(${Et.join("|")})`,`(border|b)-style-(${Et.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,jr],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,jr],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,jr],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,jr]];function W0(t){return([,e],r)=>{let n=Dr(e,r.theme),i=Ro(n,`border${t}-color`,`border${t}`,r);if(i){let o=i[0];return n?.color&&!Object.values(Nr).includes(n.color)&&!n.alpha&&t&&t!==""&&(o[`--un-border${t}-opacity`]="var(--un-border-opacity)"),i}}}function De([,t="",e="1"]){let r=m.bracket.cssvar.global.px(e);if(t in $e&&r!=null)return $e[t].map(n=>[`border${n}-width`,r])}function zr([,t="",e],r){if(t in $e){if(nr(m.bracket(e)))return De(["",t,e]);if(We(e,r.theme)){let n=$e[t].map(i=>W0(i)(["",e],r)).filter(Or);return[n.map(i=>i[0]).reduce((i,o)=>(Object.assign(i,o),i),{}),...n.flatMap(i=>i.slice(1))]}}}function Fr([,t="",e]){let r=m.bracket.percent.cssvar(e);if(t in $e&&r!=null)return $e[t].map(n=>[`--un-border${n}-opacity`,r])}function Vr([,t="",e="DEFAULT"],{theme:r}){if(t in Pr){if(e==="full")return Pr[t].map(i=>[`border${i}-radius`,"calc(infinity * 1px)"]);let n=r.radius?.[e]??m.bracket.cssvar.global.fraction.rem(e);if(n!=null){let i=r.radius&&e in r.radius;return i&&P("radius",e),Pr[t].map(o=>[`border${o}-radius`,i?G("radius",e):n])}}}function jr([,t="",e]){if(Et.includes(e)&&t in $e)return[["--un-border-style",e],...$e[t].map(r=>[`border${r}-style`,e])]}var q0=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:m.bracket.percent.cssvar(t)})]],B0=/^\[url\(.+\)\]$/,U0=/^\[(?:length|size):.+\]$/,H0=/^\[position:.+\]$/,G0=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Z0=/^\[image:.+\]$/,Y0=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(B0.test(e))return{"--un-url":m.bracket(e),"background-image":"var(--un-url)"};if(U0.test(e)&&m.bracketOfLength(e)!=null)return{"background-size":m.bracketOfLength(e).split(" ").map(r=>m.fraction.auto.px.cssvar(r)??r).join(" ")};if((Oc(e)||H0.test(e))&&m.bracketOfPosition(e)!=null)return{"background-position":m.bracketOfPosition(e).split(" ").map(r=>m.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(G0.test(e)||Z0.test(e)){let r=m.bracket(e);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:m.cssvar(r))??r}}return U("background-color","bg")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],J0=[[/^(?:color-)?scheme-(.+)$/,([,t])=>({"color-scheme":t.split("-").join(" ")})]],K0=[[/^columns-(.+)$/,([,t])=>({columns:m.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"}],...D("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"}],...D("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"}],...D("break-after")],Uc=["solid","double","dotted","dashed","wavy",...B],X0=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,ou,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Q0,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-line-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,t])=>({"text-underline-offset":m.auto.bracket.cssvar.global.px(t)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Uc.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...Uc.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function ou([,t]){return{"text-decoration-thickness":m.bracket.cssvar.global.px(t)}}function Q0(t,e){if(nr(m.bracket(t[1])))return ou(t);let r=U("text-decoration-color","line")(t,e);if(r){let n=r[0];return n["-webkit-text-decoration-color"]=n["text-decoration-color"],r}}var e1=[[/^pa?()-?(.+)$/,j("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,j("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,j("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,j("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,j("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,j("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],t1=[[/^ma?()-?(.+)$/,j("margin")],[/^m-?xy()()$/,j("margin")],[/^m-?([xy])(?:-?(.+))?$/,j("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,j("margin")],[/^m-(block|inline)(?:-(.+))?$/,j("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,j("margin")]],r1=[[/^space-([xy])-(.+)$/,n1,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([t,e],{symbols:r}){yield{[r.variants]:[Ot(t)],[`--un-space-${e}-reverse`]:"1"},yield _(`--un-space-${e}-reverse`,{initialValue:0})}]];function Ot(t){return{matcher:t,handle:(e,r)=>r({...e,parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:":where(&>:not(:last-child))"})}}function*n1([t,e,r],{theme:n,symbols:i}){let o,s=ge(r);if(s!=null?(P("spacing"),o=`calc(var(--spacing) * ${s})`):o=n.spacing?.[r]??m.bracket.cssvar.auto.fraction.rem(r||"1"),o!=null){let a=$e[e==="x"?"inline":"block"].map((l,c)=>{let d=`margin${l}`,u=` calc(${o} * ${c===0?`var(--un-space-${e}-reverse)`:`calc(1 - var(--un-space-${e}-reverse))`})`;return[d,u]});a&&(yield{[i.variants]:[Ot(t)],[`--un-space-${e}-reverse`]:"0",...Object.fromEntries(a)},yield _(`--un-space-${e}-reverse`,{initialValue:0}))}}var i1=[[/^divide-(.+)$/,function*(t,e){let r=U("border-color","divide")(t,e);r&&(yield{[e.symbols.variants]:[Ot(t[0])],...r[0]},yield r[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([t,e],{symbols:r}){yield{[r.variants]:[Ot(t)],"--un-divide-opacity":m.bracket.percent(e)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,Hc,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,Hc],[/^divide-?([xy])-reverse$/,function*([t,e],{symbols:r}){yield{[r.variants]:[Ot(t)],[`--un-divide-${e}-reverse`]:"1"},yield _(`--un-divide-${e}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${Et.join("|")})$`),function*([t,e],{symbols:r}){yield{[r.variants]:[Ot(t)],"border-style":e}},{autocomplete:Et.map(t=>`divide-${t}`)}]];function*Hc([t,e,r],{symbols:n}){let i=m.bracket.cssvar.px(r||"1");if(i!=null){i==="0"&&(i="0px");let s={x:["-left","-right"],y:["-top","-bottom"]}[e].map(a=>{let l=a.endsWith("left")||a.endsWith("top")?`calc(${i} * var(--un-divide-${e}-reverse))`:`calc(${i} * calc(1 - var(--un-divide-${e}-reverse)))`;return[[`border${a}-width`,l],[`border${a}-style`,"var(--un-border-style)"]]});s&&(yield{[n.variants]:[Ot(t)],[`--un-divide-${e}-reverse`]:0,...Object.fromEntries(s.flat())},yield _(`--un-divide-${e}-reverse`,{initialValue:0}),yield _("--un-border-style",{initialValue:"solid"}))}}var su=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],Go=su.map(t=>_(`--un-${t}`)),jn=su.map(t=>`var(--un-${t},)`).join(" "),au=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],o1=au.map(t=>_(`--un-${t}`)),Wn=au.map(t=>`var(--un-${t},)`).join(" ");function jo(t){let e=m.bracket.cssvar(t||"");if(e!=null||(e=t?m.percent(t):"100%",e!=null&&Number.parseFloat(e.slice(0,-1))<=100))return e}function Ye(t,e){return([,r,n],{theme:i})=>{let o=e(n,i)??(n==="none"?"0":"");if(o!=="")return r?[{[`--un-${r}${t}`]:`${t}(${o})`,"-webkit-backdrop-filter":Wn,"backdrop-filter":Wn},...o1]:[{[`--un-${t}`]:`${t}(${o})`,filter:jn},...Go]}}function s1(t,e){let[,r]=t,{theme:n}=e,i=[];r&&(i=je(r,"/",2)??[],r.startsWith("/")&&(i=["",r.slice(1)]));let o=n.dropShadow?.[i[0]||"DEFAULT"],s=r?m.bracket.cssvar(r):void 0;if((o!=null||s!=null)&&!We(s,n)){let a=i[1]?m.bracket.percent.cssvar(i[1]):void 0;return[{"--un-drop-shadow-opacity":a,"--un-drop-shadow":`drop-shadow(${In(o||s,"--un-drop-shadow-color",a).join(") drop-shadow(")})`,filter:jn},...Go]}if(We(r,n))return U("--un-drop-shadow-color","drop-shadow")(t,e);if(o=m.bracket.cssvar(r)??(r==="none"?"":void 0),o!=null)return[{"--un-drop-shadow":o&&`drop-shadow(${o})`,filter:jn},...Go]}var a1=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,Ye("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||m.bracket.cssvar.px(t)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,Ye("brightness",t=>m.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,Ye("contrast",t=>m.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-?(.+))?$/,s1,{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-(.+)$/,U("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":m.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,Ye("grayscale",jo),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,Ye("hue-rotate",t=>m.bracket.cssvar.degree(t))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,Ye("invert",jo),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,Ye("opacity",t=>m.bracket.cssvar.percent(t)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,Ye("saturate",t=>m.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,Ye("sepia",jo),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:jn}],["backdrop-filter",{"-webkit-backdrop-filter":Wn,"backdrop-filter":Wn}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...B.map(t=>[`filter-${t}`,{filter:t}]),...B.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])],l1=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:m.bracket(t)!=null?m.bracket(t).split(" ").map(e=>m.cssvar.fraction(e)??e).join(" "):m.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":m.bracket.cssvar.number(t)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,t=""])=>({"flex-grow":m.bracket.cssvar.number(t)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,t])=>{let e=ge(t);return e!=null?(P("spacing"),{"flex-basis":`calc(var(--spacing) * ${e})`}):{"flex-basis":m.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"}]],Wo={"":[""],x:["column-"],y:["row-"],col:["column-"],row:["row-"]},c1=[[/^(?:flex-|grid-)?gap-?()(.+)$/,j("gap",Wo,(t,e)=>`${e}${t}`),{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,j("gap",Wo,(t,e)=>`${e}${t}`),{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,j("gap",Wo,(t,e)=>`${e}${t}`),{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function qe(t){return t.replace("col","column")}function u1(t){switch(t){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return m.bracket.cssvar.auto.rem(t)}var f1=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e])=>({[`grid-${qe(t)}`]:m.bracket.number.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${qe(t)}`]:"1/-1"};let r=m.bracket.number.cssvar(e);if(r!=null)return{[`grid-${qe(t)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>({[`grid-${qe(t)}-start`]:m.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${qe(t)}-end`]:m.bracket.cssvar(e)??e}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,t,e])=>({[`grid-auto-${qe(t)}`]:u1(e)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,t])=>({"grid-auto-flow":m.bracket.cssvar(t)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,t])=>({"grid-auto-flow":qe(t).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,t,e])=>({[`grid-template-${qe(t)}`]:m.bracket.cssvar(e)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${qe(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${qe(t)}`]:`repeat(${e},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,t,e])=>t!=null?{"grid-template-areas":m.cssvar(e)??e.split("-").map(r=>`"${m.bracket(r)}"`).join(" ")}:{"grid-area":m.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"}]],zn=["auto","hidden","clip","visible","scroll","overlay",...B],d1=[[/^(?:overflow|of)-(.+)$/,([,t])=>zn.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${zn.join("|")})`,`(overflow|of)-(x|y)-(${zn.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>zn.includes(e)?{[`overflow-${t}`]:e}:void 0]],h1=[[/^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"}]],Zo={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},Gc="linear-gradient(#fff, #fff)",p1={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function Zc([,t=""]){if(t in Pr)return{"mask-position":t.split("").flatMap(n=>Zo[n]).join(" ")};let e=m.bracket.cssvar.global.position(t);if(e!==null)return{"mask-position":e}}function qo([t,e="",r,n],i){let o={...p1},s=[];if(s.push(...["linear","radial","conic"].map(a=>_(`--un-mask-${a}`,{initialValue:Gc}))),e in Zo){o["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(let a of Zo[e]){if(o[`--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))`,ge(n)!=null?(P("spacing"),o[`--un-mask-${a}-${r}-position`]=`calc(var(--spacing) * ${m.bracket.cssvar.fraction.number(n)})`):o[`--un-mask-${a}-${r}-position`]=m.bracket.cssvar.fraction.rem(n),We(n,i.theme)){let l=U(`--un-mask-${a}-${r}-color`,Rn("colors"))([t,n],i);if(l){let[c,...d]=l;Object.assign(o,c),s.push(...d)}}s.push(...["from","to"].flatMap(l=>[_(`--un-mask-${a}-${l}-position`,{syntax:"<length-percentage>",initialValue:l==="from"?"0%":"100%"}),_(`--un-mask-${a}-${l}-color`,{syntax:"<color>",initialValue:l==="from"?"black":"transparent"})]))}s.push(...["top","right","bottom","left"].map(a=>_(`--un-mask-${a}`,{initialValue:Gc})))}else{if(r==null)e==="radial"?(o["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",o["--un-mask-radial-size"]=m.bracket.cssvar.rem(n)):(o[`--un-mask-${e}`]=`${e}-gradient(var(--un-mask-${e}-stops, var(--un-mask-${e}-position)))`,o[`--un-mask-${e}-position`]=ge(n)?`calc(1deg * ${m.bracket.cssvar.number(n)})`:m.bracket.cssvar.fraction(n));else{let a={linear:"",radial:"var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",conic:"from "};if(o[`--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)`,o[`--un-mask-${e}`]=`${e}-gradient(var(--un-mask-${e}-stops))`,We(n,i.theme)){let l=U(`--un-mask-${e}-${r}-color`,Rn("colors"))([t,n],i);if(l){let[c,...d]=l;Object.assign(o,c),s.push(...d)}}else ge(n)!=null?(P("spacing"),o[`--un-mask-${e}-${r}-position`]=`calc(var(--spacing) * ${m.bracket.cssvar.fraction.number(n)})`):o[`--un-mask-${e}-${r}-position`]=m.bracket.cssvar.fraction.rem(n)}e==="radial"&&s.push(_("--un-mask-radial-shape",{initialValue:"ellipse"}),_("--un-mask-radial-size",{initialValue:"farthest-corner"})),s.push(...["from","to"].flatMap(a=>[_(`--un-mask-${e}-position`,{initialValue:e==="radial"?"center":"0deg"}),_(`--un-mask-${e}-${a}-position`,{syntax:"<length-percentage>",initialValue:a==="from"?"0%":"100%"}),_(`--un-mask-${e}-${a}-color`,{syntax:"<color>",initialValue:a==="from"?"black":"transparent"})]))}return[o,...s]}function m1([,t=""]){let e=m.bracket.cssvar.global.fraction.rem(t);if(e!==null)return{"mask-size":e}}var g1=[["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":m.bracket.cssvar(t)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,qo,{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)?-?(.*)$/,qo],[/^mask-([trblxy])-(from|to)-(.*)$/,qo],["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":le[t]}),{autocomplete:[`mask-radial-at-(${Object.keys(le).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})$/,Zc],[/^mask-([-\w]{3,})$/,([,t])=>({"mask-position":le[t]})],[/^mask-(?:position-|pos-)(.+)$/,Zc],["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-(.+)$/,m1],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],b1=[[/^\$ placeholder-(.+)$/,U("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":m.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],y1=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>B.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],lu=[["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"}],...D("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"}],...D("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"}],...D("justify-self")],v1=[[/^order-(.+)$/,([,t])=>({order:m.bracket.cssvar.number(t)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],cu=[["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"}],...D("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"}],...D("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"}],...D("self","align-self")],uu=[["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"}],...D("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"}],...D("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"}],...D("place-self")],k1=[...lu,...cu,...uu].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function Yo(t){let e=ge(t);return e!=null?(P("spacing"),`calc(var(--spacing) * ${e})`):m.bracket.cssvar.global.auto.fraction.rem(t)}function Wr([,t,e]){let r=Yo(e);if(r!=null&&t in Po)return Po[t].map(n=>[n.slice(1),r])}var w1=[[/^(?:position-|pos-)?inset-(.+)$/,([,t])=>({inset:Yo(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)-(.+)$/,Wr],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Wr],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Wr],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Wr],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Wr],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e])=>({[t]:Yo(e)})]],x1=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...D("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"}],...D("clear")],S1=[[/^(?:position-|pos-)?z([\d.]+)$/,([,t])=>({"z-index":m.number(t)})],[/^(?:position-|pos-)?z-(.+)$/,([,t])=>({"z-index":m.bracket.cssvar.global.auto.number(t)}),{autocomplete:"z-<num>"}]],$1=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...D("box","box-sizing")],_1=[[/^(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"})}`}]],Jo={shadow:_("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:_("--un-shadow-color"),insetShadow:_("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:_("--un-inset-shadow-color"),ringColor:_("--un-ring-color"),ringShadow:_("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:_("--un-inset-ring-color"),insetRingShadow:_("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:_("--un-ring-inset"),ringOffsetWidth:_("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:_("--un-ring-offset-color"),ringOffsetShadow:_("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},C1=[[/^shadow(?:-?(.+))?$/,Yc("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-shadow-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],[/^inset-shadow(?:-(.+))?$/,Yc("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,t])=>({"--un-inset-shadow-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"shadow-(op|opacity)-<percent>"}]];function Yc(t){return(e,r)=>{let[,n]=e,{theme:i}=r,o=[];n&&(o=je(n,"/",2)??[],n.startsWith("/")&&(o=["",n.slice(1)]));let s=i[t]?.[o[0]||"DEFAULT"],a=n?m.bracket.cssvar(n):void 0,l=Rn(t);if((s!=null||a!=null)&&!We(a,i)){let c=o[1]?m.bracket.percent.cssvar(o[1]):void 0;return[{[`--un-${l}-opacity`]:c,[`--un-${l}`]:In(s||a,`--un-${l}-color`,c).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(Jo)]}return U(`--un-${l}-color`,l)(e,r)}}var E1=[[/^ring(?:-(.+))?$/,([,t])=>{let e=m.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(Jo)]}],[/^ring-(.+)$/,U("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,t])=>{let e=m.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(Jo)]}],[/^inset-ring-(.+)$/,U("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-inset-ring-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,t])=>{let e=m.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-(.+)$/,U("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],O1=[...["x","y","both"].map(t=>[`snap-${t}`,[{"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`},_("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(t=>[`snap-${t}`,[{"--un-scroll-snap-strictness":t},_("--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?()-?(.+)$/,j("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])-?(.+)$/,j("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,j("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,j("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,j("scroll-margin")],[/^scroll-pa?()-?(.+)$/,j("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,j("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,j("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,j("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,j("scroll-padding")]],M1={h:"height",w:"width",inline:"inline-size",block:"block-size"};function ar(t,e){return`${t||""}${M1[e]}`}function Fn(t,e,r){let n,i=["container","spacing"];for(let o of i)if(t[o]?.[r]){P(o,r),n=G(o,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&&m.number(r)!=null&&(P("spacing"),n=`calc(var(--spacing) * ${m.number(r)})`),n??m.bracket.cssvar.global.auto.none.fraction.rem(r)}var T1=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[ar(t,"w")]:Fn(r,"w",e),[ar(t,"h")]:Fn(r,"h",e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[ar(t,e)]:Fn(n,e,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[ar(t,e)]:Fn(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)=>({[ar(t,e)]:Jc(n,r,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[ar(t,e)]:Jc(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 Jc(t,e,r="breakpoint"){let n=Ct(t,r);if(n)return n.find(i=>i.point===e)?.size}function L1(t){if(/^\d+\/\d+$/.test(t))return t;switch(t){case"square":return"1/1";case"video":return"16/9"}return m.bracket.cssvar.global.auto.number(t)}var A1=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":L1(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],N1=["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"],Bo=["size","layout","paint","style"],P1=[["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:m.bracket.cssvar.global(t)})]],D1=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...D("backface","backface-visibility")],I1=[[/^cursor-(.+)$/,([,t])=>({cursor:m.bracket.cssvar.global(t)})],...N1.map(t=>[`cursor-${t}`,{cursor:t}])],R1=[[/^contain-(.*)$/,([,t])=>m.bracket(t)!=null?{contain:m.bracket(t).split(" ").map(e=>m.cssvar.fraction(e)??e).join(" ")}:Bo.includes(t)?[{"--un-contain-size":t,contain:Bo.map(e=>`var(--un-contain-${e})`).join(" ")},...Bo.map(e=>_(`--un-contain-${e}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],z1=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...D("pointer-events")],F1=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...D("resize")],V1=[["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"}],...D("select","user-select")],j1=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...B].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],W1=[[/^intrinsic-size-(.+)$/,([,t])=>({"contain-intrinsic-size":m.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"}],...D("content-visibility")],q1=[[/^content-(.+)$/,([,t])=>{if(m.bracket.cssvar(t)!=null)return[{"--un-content":m.bracket.cssvar(t),content:"var(--un-content)"},_("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],B1=[["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"}]],U1=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],H1=[["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"}]],G1=[["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"}],...D("case","text-transform")],Z1=[["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"}]],Y1=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],J1=[...["manual","auto","none",...B].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],K1=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...D("write","writing-mode")],X1=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...D("write-orient","text-orientation")],Q1=[["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"}]],eb=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],tb=[["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(le[t])return{"object-position":le[t]};if(m.bracketOfPosition(t)!=null)return{"object-position":m.bracketOfPosition(t).split(" ").map(e=>m.position.fraction.auto.px.cssvar(e)??e).join(" ")}},{autocomplete:`object-(${Object.keys(le).join("|")})`}]],rb=[["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"}],...D("bg-blend","background-blend")],nb=[["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"}],...D("mix-blend")],ib=[["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"}]],ob=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],sb=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],ab=[[/^fill-(.+)$/,U("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,fu],[/^stroke-dash-(.+)$/,([,t])=>({"stroke-dasharray":m.bracket.cssvar.number(t)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,t])=>({"stroke-dashoffset":m.bracket.cssvar.px.numberWithUnit(t)})],[/^stroke-(.+)$/,lb,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-stroke-opacity":m.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 fu([,t]){return{"stroke-width":m.bracket.cssvar.fraction.px.number(t)}}function lb(t,e){return nr(m.bracket(t[1]))?fu(t):U("stroke","stroke")(t,e)}var cb=[["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=Kc(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 _(`--un-border-spacing-${n}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,t,e],{theme:r}){let n=Kc(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 i of["x","y"])yield _(`--un-border-spacing-${i}`,{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 Kc(t,e){let r=e.spacing?.[t];if(!r){let n=ge(t);n!=null?(P("spacing"),r=`calc(var(--spacing) * ${n})`):r=m.bracket.cssvar.global.auto.fraction.rem(t)}return r}var Uo="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Ho=["pan-x","pan-y","pinch-zoom"].map(t=>_(`--un-${t}`)),ub=[[/^touch-pan-(x|left|right)$/,function*([,t]){yield{"--un-pan-x":`pan-${t}`,"touch-action":Uo};for(let e of Ho)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":Uo};for(let e of Ho)yield e}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":Uo};for(let t of Ho)yield t}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...D("touch","touch-action")],Vn=["translate","rotate","scale"],Ko=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),Xo=Ko,fb=["translateZ(0)",Ko].join(" ");var db=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":le[t]??m.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(le).join("|")})`,`origin-(${Object.keys(le).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,t],{theme:e})=>{let r;if(e.perspective?.[t]?(P("perspective",t),r=G("perspective",t)):r=m.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=m.bracket.cssvar(t)??(t.length>=3?le[t]:void 0);if(e!=null)return{"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,Xc],[/^(?:transform-)?translate-([xyz])-(.+)$/,Xc],[/^(?:transform-)?rotate-()(.+)$/,eu],[/^(?:transform-)?rotate-([xyz])-(.+)$/,eu],[/^(?:transform-)?skew-()(.+)$/,tu],[/^(?:transform-)?skew-([xy])-(.+)$/,tu,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Qc],[/^(?:transform-)?scale-([xyz])-(.+)$/,Qc,{autocomplete:[`transform-(${Vn.join("|")})-<percent>`,`transform-(${Vn.join("|")})-(x|y|z)-<percent>`,`(${Vn.join("|")})-<percent>`,`(${Vn.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:Xo}],["transform-cpu",{transform:Ko}],["transform-gpu",{transform:fb}],["transform-none",{transform:"none"}],...D("transform")];function Xc([,t,e]){let r=ge(e)??m.bracket.cssvar.none.fraction.rem(e);if(r!=null)return r==="none"?{translate:"none"}:(P("spacing"),[[...Qo(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)":""}`,Ar]],...["x","y","z"].map(n=>_(`--un-translate-${n}`,{initialValue:0}))])}function Qc([,t,e]){let r=m.bracket.cssvar.none.fraction.percent(e);if(r!=null)return r==="none"?{scale:"none"}:[[...Qo(t,r,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${t==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(n=>_(`--un-scale-${n}`,{initialValue:1}))]}function eu([,t="",e]){let r=m.bracket.cssvar.none.degree(e);if(r!=null)return r==="none"?{rotate:"none"}:t?[[...Qo(t,r.endsWith("deg")?`rotate${t.toUpperCase()}(${r})`:r,"rotate"),["transform",Xo]],...["x","y","z"].map(n=>_(`--un-rotate-${n}`,{initialValue:`rotate${n.toUpperCase()}(0)`})),...["x","y"].map(n=>_(`--un-skew-${n}`,{initialValue:`skew${n.toUpperCase()}(0)`}))]:{rotate:m.bracket.cssvar.degree(e)}}function tu([,t,e]){let r=m.bracket.cssvar.degree(e),n=Do[t];if(r!=null&&n)return[[...n.map(i=>[`--un-skew${i}`,r.endsWith("deg")?`skew${i.slice(1).toUpperCase()}(${r})`:r]),["transform",Xo]],...["x","y","z"].map(i=>_(`--un-rotate-${i}`,{initialValue:`rotate${i.toUpperCase()}(0)`})),...["x","y"].map(i=>_(`--un-skew-${i}`,{initialValue:`skew${i.toUpperCase()}(0)`}))]}function Qo(t,e,r){let n=e.split(Cc);return t||!t&&n.length===1?Do[t].map(i=>[`--un-${r}${i}`,e]):n.map((i,o)=>[`--un-${r}-${Sc[o]}`,i])}function ru(t,e){let r;if(m.cssvar(t)!=null)r=m.cssvar(t);else{t.startsWith("[")&&t.endsWith("]")&&(t=t.slice(1,-1));let n=t.split(",").map(i=>e.property?.[i]??m.properties(i));n.every(Boolean)&&(r=n.join(","))}return r}var hb=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,t,e],{theme:r})=>{P("default",["transition","timingFunction"]),P("default",["transition","duration"]);let n={"transition-property":r.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${G("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${G("default",["transition","duration"])})`};if(!t&&!e)return{...n};if(t!=null){let i=ru(t,r);if(i)return{"--un-duration":e&&m.time(e),...n,"transition-property":i}}else if(e!=null)return{"--un-duration":m.time(e),...n}}],[/^(?:transition-)?duration-(.+)$/,([,t])=>({"--un-duration":m.bracket.cssvar.time(t),"transition-duration":m.bracket.cssvar.time(t)})],[/^(?:transition-)?delay-(.+)$/,([,t])=>({"transition-delay":m.bracket.cssvar.time(t)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>{let r;return e.ease?.[t]?(P("ease",t),r=G("ease",t)):r=m.bracket.cssvar(t),[{"--un-ease":r,"transition-timing-function":r},_("--un-ease")]},{autocomplete:["transition-ease-(linear|in|out|in-out)","ease-(linear|in|out|in-out)"]}],[/^(?:transition-)?property-(.+)$/,([,t],{theme:e})=>{let r=m.global(t)||ru(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...B].join("|")})`]}],["transition-none",{transition:"none"}],...D("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],pb=[[/^text-(.+)$/,wb,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,du,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,xb,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,U("color","text")],[/^(?:text|color|c)-(.+)$/,([,t])=>B.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${B.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,t],{theme:e})=>{let r;return e.fontWeight?.[t]?(P("fontWeight",t),r=G("fontWeight",t)):r=m.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]?(P("leading",t),r=G("leading",t)):ge(t)?(P("spacing"),r=`calc(var(--spacing) * ${ge(t)})`):r=m.bracket.cssvar.global.rem(t),r!=null)return[{"--un-leading":r,"line-height":r},_("--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":m.bracket.cssvar.global(t)})],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>{let r;return e.tracking?.[t]?(P("tracking",t),r=G("tracking",t)):r=m.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]?G("tracking",t):m.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":m.bracket.cssvar.fraction.global(t)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,t],{theme:e})=>{let r;if(e.font?.[t])return P("font",t),r=G("font",t),{"font-family":r};if(e.fontWeight?.[t])return P("fontWeight",t),r=G("fontWeight",t),{"--un-font-weight":r,"font-weight":r};if(r=m.number(t),r!=null)return{"--un-font-weight":r,"font-weight":r};if(r=m.bracketOfFamily(t),r!=null&&m.number(r)==null)return r=m.cssvar(r)??r,{"font-family":r};if(r=m.bracketOfNumber(t),r!=null)return r=m.cssvar.number(r),{"--un-font-weight":r,"font-weight":r};if(r=m.bracket(t),r!=null&&m.number(r)!=null){let n=m.number(r);return{"--un-font-weight":n,"font-weight":n}}if(r=m.bracket.cssvar.global(t),r!=null)return{"font-family":r}},{autocomplete:["font-$font","font-$fontWeight"]}]],mb=[[/^tab(?:-(.+))?$/,([,t])=>{let e=m.bracket.cssvar.global.number(t||"4");if(e!=null)return{"-moz-tab-size":e,"-o-tab-size":e,"tab-size":e}}]],gb=[[/^indent-(.+)$/,([,t])=>{let e=ge(t);if(e!=null)return P("spacing"),{"text-indent":`calc(var(--spacing) * ${e})`};if(e=m.bracket.cssvar.auto.global.rem(t),e!=null)return{"text-indent":e}}]],bb=[[/^text-stroke(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>(e.textStrokeWidth?.[t]&&P("textStrokeWidth",t),{"-webkit-text-stroke-width":e.textStrokeWidth?.[t]?G("textStrokeWidth",t):m.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,U("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]];function yb(t,e){let[,r]=t,{theme:n}=e,i=[];r&&(i=je(r,"/",2)??[]);let o=n.textShadow?.[i[0]],s=r?m.bracket.cssvar(r):void 0;if((o!=null||s!=null)&&!We(s,n)){let a=i[1]?m.bracket.percent.cssvar(i[1]):void 0;return{"--un-text-shadow-opacity":a,"--un-text-shadow":In(o||s,"--un-text-shadow-color",a).join(","),"text-shadow":"var(--un-text-shadow)"}}return U("--un-text-shadow-color","text-shadow")(t,e)??{"text-shadow":m.bracket.cssvar.global(r)}}var vb=[[/^text-shadow-(.+)$/,yb,{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,U("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow(?:-color)?-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":m.bracket.percent.cssvar(t)}),{autocomplete:"text-shadow(-color)?-(op|opacity)-<percent>"}]],ft=[_("--un-ordinal"),_("--un-slashed-zero"),_("--un-numeric-figure"),_("--un-numeric-spacing"),_("--un-numeric-fraction")],dt={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},kb=[["ordinal",[{"--un-ordinal":"ordinal",...dt},...ft]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...dt},...ft]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...dt},...ft]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...dt},...ft]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...dt},...ft]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...dt},...ft]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...dt},...ft]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...dt},...ft]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function wb([,t="base"],{theme:e}){let r=Sb(t,"length");if(!r)return;let[n,i]=r,o=e.text?.[n],s;if(i&&(e.leading?.[i]?(P("leading",i),s=G("leading",i)):s=m.bracket.cssvar.global.rem(i)),o)return P("text",[n,"fontSize"]),P("text",[n,"lineHeight"]),o.letterSpacing&&P("text",[n,"letterSpacing"]),{"font-size":G("text",[n,"fontSize"]),"line-height":s??`var(--un-leading, ${G("text",[n,"lineHeight"])})`,"letter-spacing":o.letterSpacing?G("text",[n,"letterSpacing"]):void 0};let a=m.bracketOfLength.rem(n);return s&&a?{"font-size":a,"line-height":s}:{"font-size":m.bracketOfLength.rem(t)}}function du([,t],{theme:e}){if(e.text?.[t]!=null)return P("text",[t,"fontSize"]),P("text",[t,"lineHeight"]),{"font-size":G("text",[t,"fontSize"]),"line-height":`var(--un-leading, ${G("text",[t,"lineHeight"])})`};{let r=m.bracket.cssvar.global.rem(t);if(r)return{"font-size":r}}}function xb(t,e){return nr(m.bracket(t[1]))?du(t,e):U("color","text")(t,e)}function Sb(t,e){let[r,n]=kt(t,"[","]",["/",":"])??[];if(r!=null){let i=(r.match(Dn)??[])[1];if(i==null||i===e)return[r,n]}}var $b={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"},_b=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=$b[t];if(r)return{[r]:m.cssvar(e)}}]],Cb=[[/^\[(.*)\]$/,([t,e])=>{if(!e.includes(":"))return;let[r,...n]=e.split(":"),i=n.join(":");if(!Ob(e)&&/^[\w-]+$/.test(r)&&Eb(i)){let o=m.bracket(`[${i}]`);if(o)return{[r]:o}}}]];function Eb(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 Ob(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var Mb=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],hu=[pb,mb,gb,bb,vb,t1,e1,E0,C0,N0,qc,Bc,D0,I0,R0,z0,F0,qc,V0,Bc,j0,Y0,q0,J0,Rc,Ic,X0,l1,c1,f1,T1,A1,P1,D1,I1,R1,z1,F1,V1,j1,W1,q1,B1,U1,H1,G1,Z1,Y1,E1,C1,db,hb,_b,Cb,cu,$1,k1,x1,w1,lu,v1,uu,y1,S1,d1,ab,O0,L0,J1,K1,X1,ob,Q1,eb,tb,rb,nb,ib,g1,K0,a1,h1,b1,O1,cb,ub,kb,Mb,r1,i1,sb,_1].flat();function Tb(t){if(t.preflights?.property===!1)return;let e=typeof t.preflights?.property=="object"?t.preflights.property:void 0,r=e?.parent!==void 0?e.parent:"@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",n=e?.selector??"*, ::before, ::after, ::backdrop";return{getCSS:()=>{if(_t.size===0)return;let i=Array.from(_t.entries()).map(([o,s])=>`${o}:${s};`).join("");return r===!1?`${n}{${i}}`:`${r}{${n}{${i}}}`},layer:"properties"}}var Lb=`
34
35
  /*
35
36
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
36
37
  2. Remove default margins and padding
@@ -421,11 +422,12 @@ input:where([type='button'], [type='reset'], [type='submit']),
421
422
  Make elements with the HTML hidden attribute stay hidden by default.
422
423
  */
423
424
 
424
- [hidden]:where(:not([hidden='until-found'])) {
425
+ [hidden]:where(:not([hidden~='until-found'])) {
425
426
  display: none !important;
426
427
  }
427
- `;function Sb(t){if(t.preflights?.reset!==!1)return{getCSS:({generator:e})=>(A("font","sans"),A("font","mono"),A("default",["font","family"]),A("default",["monoFont","family"]),Io(xb,e.config.envMode==="dev")),layer:"base"}}var $b=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports","containers"];function _b(t,e){let r=new Map([["--spacing",t.spacing.DEFAULT]]),n=o=>o.replace(Co,"1");function i(o,s){for(let a in o)Array.isArray(o[a])?r.set(`--${s}-${a}`,n(o[a].join(","))):typeof o[a]=="object"?i(o[a],`${s}-${a}`):r.set(`--${s}-${a}`,n(o[a]))}for(let o in t)e.includes(o)&&i(t[o],o);return r}function Cb(t){return{layer:"theme",getCSS(e){let{theme:r,generator:n}=e,i=Ae(n.config.safelist.flatMap(c=>typeof c=="function"?c(e):c)),{mode:o,process:s}=t.preflights.theme;if(o===!1)return;if(i.length>0)for(let c of i){let[d,...u]=c.trim().split(":");if(d in r&&u.length<=1){let h=u.length===0?["DEFAULT"]:u[0].split("-"),m=Ir(r,d,h);typeof m=="string"&&(A(d,h),ir(m,r))}}let a,l=c=>{if(s)for(let h of c)for(let m of F(s))m(h,e);let d=c.map(([h,m])=>h&&m?`${h}: ${m};`:void 0).filter(Boolean);if(d.length===0)return;let u=d.join(`
428
- `);return Io(`
428
+ `;function Ab(t){if(t.preflights?.reset!==!1)return{getCSS:({generator:e})=>(P("font","sans"),P("font","mono"),P("default",["font","family"]),P("default",["monoFont","family"]),zo(Lb,e.config.envMode==="dev")),layer:"base"}}var Nb=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports","containers"];function Pb(t,e){let r=new Map([["--spacing",t.spacing.DEFAULT]]),n=o=>o.replace(Oo,"1");function i(o,s){for(let a in o)Array.isArray(o[a])?r.set(`--${s}-${a}`,n(o[a].join(","))):typeof o[a]=="object"?i(o[a],`${s}-${a}`):r.set(`--${s}-${a}`,n(o[a]))}for(let o in t)e.includes(o)&&i(t[o],o);return r}function Db(t){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{layer:"theme",getCSS(r){let{theme:n,generator:i}=r,o=Ne(i.config.safelist.flatMap(d=>typeof d=="function"?d(r):d)),{mode:s,process:a}=e;if(s===!1)return;if(o.length>0)for(let d of o){let[u,...p]=d.trim().split(":");if(u in n&&p.length<=1){let h=p.length===0?["DEFAULT"]:p[0].split("-"),g=Ir(n,u,h);typeof g=="string"&&(P(u,h),ir(g,n))}}let l,c=d=>{if(a)for(let h of d)for(let g of F(a))g(h,r);let u=d.map(([h,g])=>h&&g?`${h}: ${g};`:void 0).filter(Boolean);if(u.length===0)return;let p=u.join(`
429
+ `);return zo(`
429
430
  :root, :host {
430
- ${u}
431
- }`,n.config.envMode==="dev")};if(o==="on-demand"){if($t.size===0)return;a=Array.from($t).map(c=>{let[d,u]=c.split(":"),h=Ir(r,d,u.split("-"));if(typeof h=="string")return[`--${d}${`${d==="spacing"&&u==="DEFAULT"?"":`-${u}`}`}`,h]}).filter(Boolean)}else{let c=Object.keys(r).filter(d=>!$b.includes(d));a=Array.from(_b(r,c))}return l(a)}}}var Eb=t=>[Sb(t),Cb(t),wb()].filter(Boolean),Ob={position:["relative","absolute","fixed","sticky","static"],globalKeyword:B},uu=(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:yc,rules:cu,shortcuts:Dc,theme:Lc,layers:{properties:-200,theme:-150,base:-100},preflights:Eb(t),variants:Mc(t),prefix:t.prefix,postprocess:_c(t),extractorDefault:t.arbitraryVariants===!1?void 0:Hl(),autocomplete:{shorthands:Ob},options:t,configResolved(){$t.clear(),_t.clear()},meta:{themeDeps:$t,propertyDeps:_t}}};var Ci=na(qs(),1),kv=Bl({presets:[uu(),To()],theme:{}}),Bs=10,_i=class extends Ci.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}},Us=class extends _i{CommentStatement(e){return this.onCollect(e.value),super.CommentStatement(e)}},Hs=class extends _i{PathExpression(e){return this.onCollect(e.original),super.PathExpression(e)}},Zs=class extends Us{match=Ys.macro};function wv(t){return!isNaN(Number(t))}function xv(t){return typeof t=="object"&&t!==null}function Js(t,e){return t.hasOwnProperty(e)}function rd(t,...e){return e.includes(t)}function ve(t){switch(typeof t){case"string":return`'${t}'`;case"object":return JSON.stringify(t);default:return String(t)}}function He(t={}){return{helpers:t?.helpers??null}}function Sv(t){return[...new Set(t)]}function nd(t){return Ci.default.parse(t)}function Ks(t){return Ci.default.compile(t)}function Xs(t,e={},r={}){return t(e,{helpers:r})}async function id(t,e={},r={}){let n=await kv,i=Xs(t,e,r),{css:o}=await n.generate(i,{preflights:!0});return o}function $v(t){let e=new Hs().collect(t);return Sv(e)}function Gs(t,e=Bs){if(e<=0)throw new Rt("Flext: Unable to get the model: The model is too deep");let[r,...n]=t?.split(".")??[],i={name:r};return n?.length>0&&(i.$=[Gs(n?.join("."),e-1)]),i}function _v(t,e=Bs){let n={name:"root",$:[Gs(t,e)]};return n.addPath=(i,o=Bs)=>{let s=Gs(i,o),a=n,l=s;for(let c=0;c<99;c++){if(!l)return;let d=a?.$??[],u=null;for(let m of d)l?.name===m?.name&&(u=m);if(!u){a.$=[...d,l];return}let[h]=l.$??[];a=u,l=h??null}},n}function od(t){let[e,...r]=$v(t),n=_v(e);for(let i of r)n.addPath(i);return n}function Cv(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(et.macroParam),i=e(et.macroNamedParam),o=e(et.macroSimpleParam);return n?r(n):i?r(i):o?r(o):null}function Ev(t,e=!0){let r=t?.match(et.macroParams)??[],n=[];for(let i of r){let o=Cv(i);if(o)n.push(o);else if(e)throw new pt("Flext: Unable to parse the macros: Bad token: "+ve(i))}return n}function sd(t,e=!0){let r=new Zs().collect(t),n=[];for(let i of r){let o=i?.trim()?.match(et.macro)??null;if(!o&&e)throw new pt("Flext: Unable to parse the macros: Bad macro: "+ve(i));let s=o?.groups?.name??null,a=o?.groups?.params??null,l=Ev(a,e);n.push({name:s,params:l})}return n}function ad(t){let e=xv(t)&&t instanceof Date,r=typeof t=="string"&&et.dbDateStr.test(t),n=s=>{let a=new Date(s);if(isNaN(a.getTime()))throw new pt("Flext: Unable to get date: The date is invalid: "+ve(s));return a},i=s=>{let[a,l,c]=s?.split("-")?.map(Number)??[];if(a&&l&&c)return z.fromObject({year:a,month:l,day:c}).toJSDate();throw new se("Unable to get date: The date is invalid: "+ve(s))},o=s=>{let a=z.fromISO(s);if(a.isValid)return a.toJSDate();throw new pt("Flext: Unable to get date: The date is invalid: "+ve(s))};return e?t:wv(t)?n(t):r?i(t):o(t)}var et=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]+)$/},Ys=class{static macro(e){return!!e?.trim()?.match(et.macro)}};var Qs={};$d(Qs,{cond:()=>ld,date:()=>dd,match:()=>pd,math:()=>gd,put:()=>fd});function ze(t){let e=t?.args??[],[r,n,i]=e,o=(...s)=>{let[a,...l]=s,[c]=l;throw new se("Condition: Unknown operation: "+ve(a))};switch(n){case"equal":return r===i;case"softEqual":return r==i;case"notEqual":return r!==i;case"softNotEqual":return r!=i;case"and":return r&&i;case"or":return r||i;case"greater":return Number(r)>Number(i);case"less":return Number(r)<Number(i);default:return o(...e)}}function Ov(t){let e=t?.args??[],[r,n]=e;return ze({args:[r,"equal",n]})}function Mv(t){let e=t?.args??[],[r,n]=e;return ze({args:[r,"softEqual",n]})}function Tv(t){let e=t?.args??[],[r,n]=e;return ze({args:[r,"notEqual",n]})}function Lv(t){let e=t?.args??[],[r,n]=e;return ze({args:[r,"softNotEqual",n]})}function Nv(t){let e=t?.args??[],[r,n]=e;return ze({args:[r,"and",n]})}function Pv(t){let e=t?.args??[],[r,n]=e;return ze({args:[r,"or",n]})}function Av(t){let e=t?.args??[],[r,n]=e;return ze({args:[r,"greater",n]})}function Dv(t){let e=t?.args??[],[r,n]=e;return ze({args:[r,"less",n]})}var ld=He({helpers:{op:ze,equal:Ov,softEqual:Mv,notEqual:Tv,softNotEqual:Lv,and:Nv,or:Pv,greater:Av,less:Dv,noColor:ze,__default:ze}});var cd=na(qs(),1);function ud(t){let e=t?.args??[],[r,n]=e;return r??n??""}function rn(t){return new cd.SafeString(`<span class="text-blue-500">${ud(t)}</span>`)}var fd=He({helpers:{noColor:ud,__default:rn}});var nn="en-US";function Dt(t){let e=t?.flext??{},r=t?.args??[],[n,i,o,s]=r,a=(c,d=2)=>String(c||"").padStart(d,"0"),l=z.local();if(rd(n,"now",null,void 0)||(l=z.fromJSDate(ad(n))),e?.timeZone&&(l=l.setZone(e?.timeZone)),i==="pad")switch(o){case"seconds":return a(l.second);case"minutes":return a(l.minute);case"hours":return a(l.hour);case"day":return a(l.day);case"month":return a(l.month);case"year":return a(l.year,4);default:throw new se(`Date: Operation ${ve(Dt)} is not compatible with argument 'pad'`)}if(o==="genitive")switch(i){case"monthText":return l.setLocale(s??nn).toLocaleString({day:"numeric",month:"long"}).replace(/[^\p{L}]/gu,"").toLowerCase();default:throw new se(`Date: Operation ${ve(Dt)} is not compatible with argument 'genitive'`)}switch(i){case"seconds":return l.second;case"minutes":return l.minute;case"hours":return l.hour;case"day":return l.day;case"month":return l.month;case"monthText":return l.setLocale(o??nn).toLocaleString({month:"long"}).toLowerCase();case"year":return l.year;case"text":return l.setLocale(o??nn).toLocaleString();case"unix":return l.toMillis();case"iso":return l.toISOTime();default:return l}}function ie(t){let e=Dt(t),r={...t,args:[e]};return rn(r)}function Iv(t){return Dt({...t,args:["now"]})}function Rv(t){let e=t?.args??[],[r,n]=e;return ie(n==="noPadding"?{...t,args:[r,"seconds"]}:{...t,args:[r,"pad","seconds"]})}function zv(t){let e=t?.args??[],[r,n]=e;return ie(n==="noPadding"?{...t,args:[r,"minutes"]}:{...t,args:[r,"pad","minutes"]})}function Fv(t){let e=t?.args??[],[r,n]=e;return ie(n==="noPadding"?{...t,args:[r,"hours"]}:{...t,args:[r,"pad","hours"]})}function Vv(t){let e=t?.args??[],[r,n]=e;return ie(n==="noPadding"?{...t,args:[r,"day"]}:{...t,args:[r,"pad","day"]})}function jv(t){let e=t?.args??[],[r,n]=e;return ie(n==="noPadding"?{...t,args:[r,"month"]}:{...t,args:[r,"pad","month"]})}function Wv(t){let e=t?.args??[],[r,n,i]=e;return ie(n==="nominative"?{...t,args:[r,"monthText",i??nn]}:{...t,args:[r,"monthText","genitive",n??nn]})}function qv(t){let e=t?.args??[],[r,n]=e;return ie(n==="noPadding"?{...t,args:[r,"year"]}:{...t,args:[r,"pad","year"]})}function Bv(t){let e=t?.args??[],[r,n]=e;return ie({...t,args:[r,"text",n]})}function Uv(t){let e=t?.args??[],[r]=e;return Dt({...t,args:[r,"unix"]})}function Hv(t){let e=t?.args??[],[r]=e;return Dt({...t,args:[r,"iso"]})}var dd=He({helpers:{op:ie,now:Iv,seconds:Rv,minutes:zv,hours:Fv,day:Vv,month:jv,monthText:Wv,year:qv,text:Bv,unix:Uv,iso:Hv,noColor:Dt,__default:ie}});function Zv(t){let e=t?.args??[],[r]=e,n=t?.self??null,i=t?.getContent??null;return n.__flext_match_value=r,n.__flext_match_isInProgress=!0,i()}function hd(t){let e=t?.args??[],r=t?.self??null,n=r.__flext_match_value??null,i=t?.getContent??null;if(r.__flext_match_isInProgress){for(let o of e)if(n===o)return r.__flext_match_isInProgress=!1,i()}return""}function Gv(t){let r=(t?.self??null).__flext_match_value??null;return hd({...t,args:[r]})}var pd=He({helpers:{case:hd,fallback:Gv,__default:Zv}});function md(t){let e=t?.args??[],[r,n,i]=e,o=(...s)=>{let[a,...l]=s,c=Math[a]??null;if(c)return c(...l);throw new se("Math: Unknown operation: "+ve(a))};switch(n){case"plus":return Number(r)+Number(i);case"minus":return Number(r)-Number(i);case"multiply":return Number(r)*Number(i);case"divide":return Number(r)/Number(i);case"intDivide":return Number(r)%Number(i);case"power":return Number(r)**Number(i);default:return o(...e)}}function Me(t){let e=md(t),r={...t,args:[e]};return rn(r)}function Yv(t){let e=t?.args??[],[r,n]=e;return Me({args:[r,"plus",n]})}function Jv(t){let e=t?.args??[],[r,n]=e;return Me({args:[r,"minus",n]})}function Kv(t){let e=t?.args??[],[r,n]=e;return Me({args:[r,"multiply",n]})}function Xv(t){let e=t?.args??[],[r,n]=e;return Me({args:[r,"divide",n]})}function Qv(t){let e=t?.args??[],[r,n]=e;return Me({args:[r,"intDivide",n]})}function ek(t){let e=t?.args??[],[r,n]=e;return Me({args:[r,"power",n]})}function tk(t){let e=t?.args??[],[r,n]=e,i=(o,s)=>Me({args:[o,s]});if(!n)return i("round",r);switch(n){case"floor":return i("floor",r);case"ceil":return i("ceil",r);case"trunc":return i("trunc",r);default:throw new se("Math: Unknown operation: "+ve(n))}}function rk(t){let e=t?.args??[],[r]=e;return Me({args:["sqrt",r]})}function nk(t){let e=t?.args??[],[r]=e;return Me({args:["cbrt",r]})}function ik(t){let e=t?.args??[],[r]=e;return Me({args:["abs",r]})}var gd=He({helpers:{op:Me,plus:Yv,minus:Jv,multiply:Kv,divide:Xv,intDivide:Qv,power:ek,round:tk,sqrt:rk,cbrt:nk,abs:ik,noColor:md,__default:Me}});var ok="__default",yd="string",bd=10,ea=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=nd(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=Ks(this.ast);if(!n)throw new se("Flext: Unable to get HTML: No template");return Xs(n,{...this.data,...e},{...this.helpers,...r})}async getCss(e={},r={}){let n=Ks(this.ast);if(!n)throw new se("Flext: Unable to get CSS: No template");return await id(n,{...this.data,...e},{...this.helpers,...r})}get html(){return this.getHtml()}},ta=class extends ea{useModule(...e){for(let r of e)this.addModule(r,Qs[r]);return this}setTemplate(e){super.setTemplate(e);let r=sd(this.ast),n=m=>r?.filter(g=>g?.name===m)??null,i=m=>{let[g]=n(m),[b]=g?.params??[];return b?.value??null},o=i("v"),s=i("lang"),a=i("timeZone"),l=n("use"),c=i("lineHeight"),u=n("field")?.map(ak)??null;o&&this.setVersion(o),s&&this.setLang(s),a&&this.setTimeZone(a),c&&this.setLineHeight(Number(c)),u&&this.setFields(u);let h=l.map(sk).flat();return this.useModule(...h),this}setVersion(e){return this.version=e,this}setLang(e){return this.lang=e,this}setTimeZone(e){return this.timeZone=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 i in n){if(!Js(n,i))continue;let o=n[i],s=i===ok,a=this,l=function(...c){let d=c?.slice(0,-1)??[],u=c[c.length-1]??{},h=this;return o({flext:a,args:d,options:u,self:h,getContent:()=>u?.fn(h)??null})};s?this.addHelper(e,l):this.addHelper(e+":"+i,l)}return this}getDataModel(e=bd){let r=s=>{for(let a in this.helpers)if(Js(this.helpers,a)&&s?.name===a)return!0;return!1},n=(s,a={},l=bd)=>{if(l<=0)throw new Rt("Flext: Unable to get data model: The data model is too deep");let c=a?.fieldName??null,d=this.fields?.find(S=>S?.name===c)??null,u=s?.name??null,h=d?.label??null,m=d?.type??yd,g=!!d?.isRequired,b=s?.$??[],v=[];for(let S of b){let $=S?.name??null;v.push(n(S,{fieldName:c+"."+$},l-1))}return{name:u,label:h,type:m,isRequired:g,$:v}};return(od(this.ast)?.$??[]).filter(s=>!r(s)).map(s=>n(s,{fieldName:s?.name??null},e))}get model(){return this.getDataModel()}};function sk(t){return(t?.params??[]).map(r=>r?.value??null)}function ak(t){let e=t?.params??[],[r,...n]=e,i=c=>{let d=n?.find(u=>u?.name===c)??null;return d&&d?.value?d?.value??null:d&&d?.name?!0:null},o=r?.value??null,s=i("label"),a=i("type")??yd,l=!!i("required");return{name:o,label:s,type:a,isRequired:l}}var ax=ta;export{yd as DEFAULT_FIELD_TYPE,ok as DEFAULT_HELPER_NAME,bd as DEFAULT_MODEL_DEPTH,ta as Flext,ea as SimpleFlext,ax as default,ak as macroToField,sk as macroToModuleNames};
431
+ ${p}
432
+ }`,i.config.envMode==="dev")};if(s==="on-demand"){if($t.size===0)return;l=Array.from($t).map(d=>{let[u,p]=d.split(":"),h=Ir(n,u,p.split("-"));if(typeof h=="string")return[`--${u}${`${u==="spacing"&&p==="DEFAULT"?"":`-${p}`}`}`,h]}).filter(Boolean)}else{let d=Object.keys(n).filter(u=>!Nb.includes(u));l=Array.from(Pb(n,d))}return c(l)}}}var Ib=t=>[Ab(t),Db(t),Tb(t)].filter(Boolean),Rb={position:["relative","absolute","fixed","sticky","static"],globalKeyword:B},pu=(t={})=>(t.dark=t.dark??"class",t.attributifyPseudo=t.attributifyPseudo??!1,t.variablePrefix=t.variablePrefix??"un-",t.important=t.important??!1,{name:xc,rules:hu,shortcuts:Fc,theme:Dc,layers:{properties:-200,theme:-150,base:-100},preflights:Ib(t),variants:Nc(t),prefix:t.prefix,postprocess:Mc(t),extractorDefault:t.arbitraryVariants===!1?void 0:Jl(),autocomplete:{shorthands:Rb},options:t,configResolved(){$t.clear(),_t.clear()},meta:{themeDeps:$t,propertyDeps:_t}});var cd=Li(gu(),1),Ei=Li(Us(),1),Mv=Zl({presets:[pu(),Ao()],theme:{}}),Hs=10,Tv=cd.default,rn=class extends Ei.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}},Gs=class extends rn{CommentStatement(e){return this.onCollect(e.value),super.CommentStatement(e)}},Zs=class extends rn{ContentStatement(e){return this.onCollect(e.value),super.ContentStatement(e)}},Ys=class extends rn{PathExpression(e){return this.onCollect(e.original),super.PathExpression(e)}},Js=class extends Gs{match=Ci.macro},Ks=class extends Zs{match=Ci.htmlH1Somewhere};function Lv(t){return!isNaN(Number(t))}function Av(t){return typeof t=="object"&&t!==null}function Qs(t,e){return t.hasOwnProperty(e)}function ud(t,...e){return e.includes(t)}function ue(t){switch(typeof t){case"string":return`'${t}'`;case"object":return JSON.stringify(t);default:return String(t)}}function He(t={}){return{helpers:t?.helpers??null}}function Nv(t){return[...new Set(t)]}function fd(t){return Ei.default.parse(t)}function ea(t){return Ei.default.compile(t)}function ta(t,e={},r={}){return t(e,{helpers:r})}async function dd(t,e={},r={}){let n=await Mv,i=ta(t,e,r),{css:o}=await n.generate(i,{preflights:!0});return o}function Pv(t){let e=new Ys().collect(t);return Nv(e)}function Xs(t,e=Hs){if(e<=0)throw new Rt("Flext: Unable to get the model: The model is too deep");let[r,...n]=t?.split(".")??[],i={name:r};return n?.length>0&&(i.$=[Xs(n?.join("."),e-1)]),i}function Dv(t,e=Hs){let n={name:"root",$:[Xs(t,e)]};return n.addPath=(i,o=Hs)=>{let s=Xs(i,o),a=n,l=s;for(let c=0;c<99;c++){if(!l)return;let d=a?.$??[],u=null;for(let h of d)l?.name===h?.name&&(u=h);if(!u){a.$=[...d,l];return}let[p]=l.$??[];a=u,l=p??null}},n}function hd(t){let[e,...r]=Pv(t),n=Dv(e);for(let i of r)n.addPath(i);return n}function Iv(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(Re.macroParam),i=e(Re.macroNamedParam),o=e(Re.macroSimpleParam);return n?r(n):i?r(i):o?r(o):null}function Rv(t,e=!0){let r=t?.match(Re.macroParams)??[],n=[];for(let i of r){let o=Iv(i);if(o)n.push(o);else if(e)throw new nt("Flext: Unable to parse the macros: Bad token: "+ue(i))}return n}function pd(t,e=!0){let r=new Js().collect(t),n=[];for(let i of r){let o=i?.trim()?.match(Re.macro)??null;if(!o){if(e)throw new nt("Flext: Unable to parse the macros: Bad macro: "+ue(i));return null}let s=o?.groups?.name??null,a=o?.groups?.params??null,l=Rv(a,e);n.push({name:s,params:l})}return n}function md(t,e=!0){let r=new Ks().collect(t),n=[];for(let i of r){let o=i?.trim()?.match(Re.htmlH1Somewhere)??null;if(!o){if(e)throw new nt("Flext: Unable to parse H1: Bad HTML: "+ue(i));return null}for(let s of o)n.push(String(s))}return n}function gd(t){let e=Av(t)&&t instanceof Date,r=typeof t=="string"&&Re.dbDateStr.test(t),n=s=>{let a=new Date(s);if(isNaN(a.getTime()))throw new nt("Flext: Unable to get date: The date is invalid: "+ue(s));return a},i=s=>{let[a,l,c]=s?.split("-")?.map(Number)??[];if(a&&l&&c)return z.fromObject({year:a,month:l,day:c}).toJSDate();throw new ie("Unable to get date: The date is invalid: "+ue(s))},o=s=>{let a=z.fromISO(s);if(a.isValid)return a.toJSDate();throw new nt("Flext: Unable to get date: The date is invalid: "+ue(s))};return e?t:Lv(t)?n(t):r?i(t):o(t)}function bd(t){let e=Tv(String(t)).trim(),r=(n,i="")=>e=e.replace(n,i);return r(`
433
+ `," "),r(/\s{2,}/mg," "),r(/[^\p{L}\d\s]/mgu),e.trim()}function ld(t,e){return!!String(e).trim().match(t)}var Re=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]+)$/;static htmlH1Somewhere=/\<h1.*?\>(?<value>.*)\<\/h1.*?\>/gs},Ci=class{static macro(e){return ld(Re.macro,e)}static htmlH1Somewhere(e){return ld(Re.htmlH1Somewhere,e)}};var ia={};Nd(ia,{cond:()=>yd,date:()=>wd,match:()=>Sd,math:()=>_d,put:()=>kd});function et(t){let e=t?.args??[],r=t?.namedArgs??{},[n,i,o]=e,{soft:s}=r;if(s)switch(i){case"equal":return n==o;case"notEqual":return n!=o;default:throw new ie("Condition: Unknown operation: "+ue(i))}switch(i){case"equal":return n===o;case"notEqual":return n!==o;case"and":return n&&o;case"or":return n||o;case"greater":return Number(n)>Number(o);case"less":return Number(n)<Number(o);default:throw new ie("Condition: Unknown operation: "+ue(i))}}function zv(t){let e=t?.args??[],[r,n]=e;return et({...t,args:[r,"equal",n]})}function Fv(t){let e=t?.args??[],[r,n]=e;return et({...t,args:[r,"notEqual",n]})}function Vv(t){let e=t?.args??[],[r,n]=e;return et({...t,args:[r,"and",n]})}function jv(t){let e=t?.args??[],[r,n]=e;return et({...t,args:[r,"or",n]})}function Wv(t){let e=t?.args??[],[r,n]=e;return et({...t,args:[r,"greater",n]})}function qv(t){let e=t?.args??[],[r,n]=e;return et({...t,args:[r,"less",n]})}var yd=He({helpers:{op:et,equal:zv,notEqual:Fv,and:Vv,or:jv,greater:Wv,less:qv,noColor:et,__default:et}});var ra=Li(Us(),1);var Bv="text-blue-500";function vd(t){let e=t?.args??[],[r,n]=e;return r??n??""}function nn(t){let r=(t?.namedArgs??{})?.color??Bv;return r?new ra.SafeString(`<span class="${r}">${vd(t)}</span>`):new ra.SafeString(t)}var kd=He({helpers:{noColor:vd,__default:nn}});var na="en-US";function Dt(t){let e=t?.flext??{},r=t?.args??[],n=t?.namedArgs??[],[i,o]=r,{padding:s,genitive:a,timeZone:l,lang:c}=n,d=(p,h=2)=>String(p||"").padStart(h,"0"),u=z.local();if(ud(i,"now",null,void 0)||(u=z.fromJSDate(gd(i))),(l||e?.timeZone)&&(u=u.setZone(l??e?.timeZone)),s)switch(o){case"seconds":return d(u.second,s);case"minutes":return d(u.minute,s);case"hours":return d(u.hour,s);case"day":return d(u.day,s);case"month":return d(u.month,s);case"year":return d(u.year,4);default:throw new ie(`Date: Operation ${ue(Dt)} is not compatible with argument 'pad'`)}if(a)switch(o){case"monthText":return u.setLocale(c??na).toLocaleString({day:"numeric",month:"long"}).replace(/[^\p{L}]/gu,"").toLowerCase();default:throw new ie(`Date: Operation ${ue(Dt)} is not compatible with argument 'genitive'`)}switch(o){case"seconds":return u.second;case"minutes":return u.minute;case"hours":return u.hour;case"day":return u.day;case"month":return u.month;case"monthText":return u.setLocale(c??na).toLocaleString({month:"long"}).toLowerCase();case"year":return u.year;case"text":return u.setLocale(c??na).toLocaleString();case"unix":return u.toMillis();case"iso":return u.toISOTime();default:return u}}function ze(t){let e=Dt(t);return nn({...t,args:[e]})}function Uv(t){return Dt({...t,args:["now"]})}function Hv(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??[],i=n?.padding??2;return ze({...t,args:[r,"seconds"],namedArgs:{...n,padding:i}})}function Gv(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??[],i=n?.padding??2;return ze({...t,args:[r,"minutes"],namedArgs:{...n,padding:i}})}function Zv(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??[],i=n?.padding??2;return ze({...t,args:[r,"hours"],namedArgs:{...n,padding:i}})}function Yv(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??[],i=n?.padding??2;return ze({...t,args:[r,"day"],namedArgs:{...n,padding:i}})}function Jv(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??[],i=n?.padding??2;return ze({...t,args:[r,"month"],namedArgs:{...n,padding:i}})}function Kv(t){let e=t?.args??[],r=t?.namedArgs??[],[n]=e,{nominative:i}=r;return ze(i?{...t,args:[n,"monthText"]}:{...t,args:[n,"monthText","genitive"]})}function Xv(t){let e=t?.args??[],[r]=e,n=t?.namedArgs??[],i=n?.padding??2;return ze({...t,args:[r,"year"],namedArgs:{...n,padding:i}})}function Qv(t){let e=t?.args??[],[r]=e;return ze({...t,args:[r,"text"]})}function ek(t){let e=t?.args??[],[r]=e;return Dt({...t,args:[r,"unix"]})}function tk(t){let e=t?.args??[],[r]=e;return Dt({...t,args:[r,"iso"]})}var wd=He({helpers:{op:ze,now:Uv,seconds:Hv,minutes:Gv,hours:Zv,day:Yv,month:Jv,monthText:Kv,year:Xv,text:Qv,unix:ek,iso:tk,noColor:Dt,__default:ze}});function rk(t){let e=t?.args??[],[r]=e,n=t?.self??null,i=t?.getContent??null;return n.__flext_match_value=r,n.__flext_match_isCompleted=!1,i()}function xd(t){let e=t?.args??[],r=t?.self??null,n=r.__flext_match_value??null,i=t?.getContent??null;if(!r.__flext_match_isCompleted){for(let o of e)if(n===o)return r.__flext_match_isCompleted=!0,i()}return""}function nk(t){let r=(t?.self??null).__flext_match_value??null;return xd({...t,args:[r]})}var Sd=He({helpers:{case:xd,fallback:nk,__default:rk}});function $d(t){let e=t?.args??[],[r,n,i]=e,o=(...s)=>{let[a,...l]=s,c=Math[a]??null;if(c)return c(...l);throw new ie("Math: Unknown operation: "+ue(a))};switch(n){case"plus":return Number(r)+Number(i);case"minus":return Number(r)-Number(i);case"multiply":return Number(r)*Number(i);case"divide":return Number(r)/Number(i);case"intDivide":return Number(r)%Number(i);case"power":return Number(r)**Number(i);default:return o(...e)}}function Oe(t){let e=$d(t);return nn({...t,args:[e]})}function ik(t){let e=t?.args??[],[r,n]=e;return Oe({...t,args:[r,"plus",n]})}function ok(t){let e=t?.args??[],[r,n]=e;return Oe({...t,args:[r,"minus",n]})}function sk(t){let e=t?.args??[],[r,n]=e;return Oe({...t,args:[r,"multiply",n]})}function ak(t){let e=t?.args??[],[r,n]=e;return Oe({...t,args:[r,"divide",n]})}function lk(t){let e=t?.args??[],[r,n]=e;return Oe({...t,args:[r,"intDivide",n]})}function ck(t){let e=t?.args??[],[r,n]=e;return Oe({...t,args:[r,"power",n]})}function uk(t){let e=t?.args??[],[r,n]=e,i=(o,s)=>Oe({...t,args:[o,s]});if(!n)return i("round",r);switch(n){case"floor":return i("floor",r);case"ceil":return i("ceil",r);case"trunc":return i("trunc",r);default:throw new ie("Math: Unknown operation: "+ue(n))}}function fk(t){let e=t?.args??[],[r]=e;return Oe({...t,args:["sqrt",r]})}function dk(t){let e=t?.args??[],[r]=e;return Oe({...t,args:["cbrt",r]})}function hk(t){let e=t?.args??[],[r]=e;return Oe({...t,args:["abs",r]})}var _d=He({helpers:{op:Oe,plus:ik,minus:ok,multiply:sk,divide:ak,intDivide:lk,power:ck,round:uk,sqrt:fk,cbrt:dk,abs:hk,noColor:$d,__default:Oe}});var pk="__default",Ed="string",Cd=10,oa=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=fd(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=ea(this.ast);if(!n)throw new ie("Flext: Unable to get HTML: No template");return ta(n,{...this.data,...e},{...this.helpers,...r})}async getCss(e={},r={}){let n=ea(this.ast);if(!n)throw new ie("Flext: Unable to get CSS: No template");return await dd(n,{...this.data,...e},{...this.helpers,...r})}get html(){return this.getHtml()}},sa=class extends oa{useModule(...e){for(let r of e)this.addModule(r,ia[r]);return this}setTemplate(e){super.setTemplate(e);let[r]=md(this.ast),n=pd(this.ast),i=b=>n?.filter(y=>y?.name===b)??null,o=b=>{let[y]=i(b),[k]=y?.params??[];return k?.value??null},s=o("v"),a=o("lang"),l=o("title"),c=o("timeZone"),d=i("use"),u=o("lineHeight"),h=i("field")?.map(gk)??null;s&&this.setVersion(s),a&&this.setLang(a),(l||r)&&this.setTitle(l??bd(r)),c&&this.setTimeZone(c),u&&this.setLineHeight(Number(u)),h&&this.setFields(h);let g=d.map(mk).flat();return this.useModule(...g),this}setVersion(e){return this.version=e,this}setLang(e){return this.lang=e,this}setTitle(e){return this.title=e,this}setTimeZone(e){return this.timeZone=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 i in n){if(!Qs(n,i))continue;let o=n[i],s=i===pk,a=this,l=function(...c){let d=c?.slice(0,-1)??[],u=c[c.length-1]??{},p=u?.hash??{},h=this;return o({flext:a,args:d,options:u,namedArgs:p,self:h,getContent:()=>u?.fn(h)??null})};s?this.addHelper(e,l):this.addHelper(e+":"+i,l)}return this}getDataModel(e=Cd){let r=s=>{for(let a in this.helpers)if(Qs(this.helpers,a)&&s?.name===a)return!0;return!1},n=(s,a={},l=Cd)=>{if(l<=0)throw new Rt("Flext: Unable to get data model: The data model is too deep");let c=a?.fieldName??null,d=this.fields?.find(k=>k?.name===c)??null,u=s?.name??null,p=d?.label??null,h=d?.type??Ed,g=!!d?.isRequired,b=s?.$??[],y=[];for(let k of b){let v=k?.name??null;y.push(n(k,{fieldName:c+"."+v},l-1))}return{name:u,label:p,type:h,isRequired:g,$:y}};return(hd(this.ast)?.$??[]).filter(s=>!r(s)).map(s=>n(s,{fieldName:s?.name??null},e))}get model(){return this.getDataModel()}};function mk(t){return(t?.params??[]).map(r=>r?.value??null)}function gk(t){let e=t?.params??[],[r,...n]=e,i=c=>{let d=n?.find(u=>u?.name===c)??null;return d&&d?.value?d?.value??null:d&&d?.name?!0:null},o=r?.value??null,s=i("label"),a=i("type")??Ed,l=!!i("required");return{name:o,label:s,type:a,isRequired:l}}var gx=sa;export{Ed as DEFAULT_FIELD_TYPE,pk as DEFAULT_HELPER_NAME,Cd as DEFAULT_MODEL_DEPTH,sa as Flext,oa as SimpleFlext,gx as default,gk as macroToField,mk as macroToModuleNames};