@trustme24/flext 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +625 -19
- package/dist/index.d.ts +1 -0
- package/dist/index.js +413 -13
- package/dist/lib.d.ts +3 -0
- package/package.json +16 -14
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Al=Object.create;var en=Object.defineProperty;var Ml=Object.getOwnPropertyDescriptor;var Ol=Object.getOwnPropertyNames;var Rl=Object.getPrototypeOf,Nl=Object.prototype.hasOwnProperty;var Ue=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var _=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),zl=(t,e)=>{for(var r in e)en(t,r,{get:e[r],enumerable:!0})},Il=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Ol(e))!Nl.call(t,o)&&o!==r&&en(t,o,{get:()=>e[o],enumerable:!(n=Ml(e,o))||n.enumerable});return t};var Ko=(t,e,r)=>(r=t!=null?Al(Rl(t)):{},Il(e||!t||!t.__esModule?en(r,"default",{value:t,enumerable:!0}):r,t));var X=_(te=>{"use strict";te.__esModule=!0;te.extend=Ls;te.indexOf=Xh;te.escapeExpression=Jh;te.isEmpty=Zh;te.createFrame=Qh;te.blockParams=ed;te.appendContextPath=td;var Uh={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},Gh=/[&<>"'`=]/g,Kh=/[&<>"'`=]/;function Yh(t){return Uh[t]}function Ls(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 Vn=Object.prototype.toString;te.toString=Vn;var qn=function(e){return typeof e=="function"};qn(/x/)&&(te.isFunction=qn=function(t){return typeof t=="function"&&Vn.call(t)==="[object Function]"});te.isFunction=qn;var As=Array.isArray||function(t){return t&&typeof t=="object"?Vn.call(t)==="[object Array]":!1};te.isArray=As;function Xh(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function Jh(t){if(typeof t!="string"){if(t&&t.toHTML)return t.toHTML();if(t==null)return"";if(!t)return t+"";t=""+t}return Kh.test(t)?t.replace(Gh,Yh):t}function Zh(t){return!t&&t!==0?!0:!!(As(t)&&t.length===0)}function Qh(t){var e=Ls({},t);return e._parent=t,e}function ed(t,e){return t.path=e,t}function td(t,e){return(t?t+".":"")+e}});var oe=_((dr,Ms)=>{"use strict";dr.__esModule=!0;var Hn=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Wn(t,e){var r=e&&e.loc,n=void 0,o=void 0,i=void 0,s=void 0;r&&(n=r.start.line,o=r.end.line,i=r.start.column,s=r.end.column,t+=" - "+n+":"+i);for(var a=Error.prototype.constructor.call(this,t),c=0;c<Hn.length;c++)this[Hn[c]]=a[Hn[c]];Error.captureStackTrace&&Error.captureStackTrace(this,Wn);try{r&&(this.lineNumber=n,this.endLineNumber=o,Object.defineProperty?(Object.defineProperty(this,"column",{value:i,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:s,enumerable:!0})):(this.column=i,this.endColumn=s))}catch{}}Wn.prototype=new Error;dr.default=Wn;Ms.exports=dr.default});var Rs=_((mr,Os)=>{"use strict";mr.__esModule=!0;var Un=X();mr.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var n=r.inverse,o=r.fn;if(e===!0)return o(this);if(e===!1||e==null)return n(this);if(Un.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):n(this);if(r.data&&r.ids){var i=Un.createFrame(r.data);i.contextPath=Un.appendContextPath(r.data.contextPath,r.name),r={data:i}}return o(e,r)})};Os.exports=mr.default});var zs=_((gr,Ns)=>{"use strict";gr.__esModule=!0;function rd(t){return t&&t.__esModule?t:{default:t}}var Rt=X(),nd=oe(),od=rd(nd);gr.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new od.default("Must pass iterator to #each");var n=r.fn,o=r.inverse,i=0,s="",a=void 0,c=void 0;r.data&&r.ids&&(c=Rt.appendContextPath(r.data.contextPath,r.ids[0])+"."),Rt.isFunction(e)&&(e=e.call(this)),r.data&&(a=Rt.createFrame(r.data));function l(m,g,k){a&&(a.key=m,a.index=g,a.first=g===0,a.last=!!k,c&&(a.contextPath=c+m)),s=s+n(e[m],{data:a,blockParams:Rt.blockParams([e[m],m],[c+m,null])})}if(e&&typeof e=="object")if(Rt.isArray(e))for(var f=e.length;i<f;i++)i in e&&l(i,i,i===e.length-1);else if(typeof Symbol=="function"&&e[Symbol.iterator]){for(var u=[],h=e[Symbol.iterator](),d=h.next();!d.done;d=h.next())u.push(d.value);e=u;for(var f=e.length;i<f;i++)l(i,i,i===e.length-1)}else(function(){var m=void 0;Object.keys(e).forEach(function(g){m!==void 0&&l(m,i-1),m=g,i++}),m!==void 0&&l(m,i-1,!0)})();return i===0&&(s=o(this)),s})};Ns.exports=gr.default});var js=_((br,Is)=>{"use strict";br.__esModule=!0;function id(t){return t&&t.__esModule?t:{default:t}}var sd=oe(),ad=id(sd);br.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new ad.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};Is.exports=br.default});var Bs=_((vr,Fs)=>{"use strict";vr.__esModule=!0;function ld(t){return t&&t.__esModule?t:{default:t}}var Ts=X(),cd=oe(),Ds=ld(cd);vr.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new Ds.default("#if requires exactly one argument");return Ts.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||Ts.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new Ds.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};Fs.exports=vr.default});var Vs=_((yr,qs)=>{"use strict";yr.__esModule=!0;yr.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],n=0;n<arguments.length-1;n++)e.push(arguments[n]);var o=1;r.hash.level!=null?o=r.hash.level:r.data&&r.data.level!=null&&(o=r.data.level),e[0]=o,t.log.apply(t,e)})};qs.exports=yr.default});var Ws=_((kr,Hs)=>{"use strict";kr.__esModule=!0;kr.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};Hs.exports=kr.default});var Gs=_((xr,Us)=>{"use strict";xr.__esModule=!0;function ud(t){return t&&t.__esModule?t:{default:t}}var Nt=X(),fd=oe(),pd=ud(fd);xr.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new pd.default("#with requires exactly one argument");Nt.isFunction(e)&&(e=e.call(this));var n=r.fn;if(Nt.isEmpty(e))return r.inverse(this);var o=r.data;return r.data&&r.ids&&(o=Nt.createFrame(r.data),o.contextPath=Nt.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:o,blockParams:Nt.blockParams([e],[o&&o.contextPath])})})};Us.exports=xr.default});var Gn=_(wr=>{"use strict";wr.__esModule=!0;wr.registerDefaultHelpers=Ed;wr.moveHelperToHooks=Pd;function Fe(t){return t&&t.__esModule?t:{default:t}}var hd=Rs(),dd=Fe(hd),md=zs(),gd=Fe(md),bd=js(),vd=Fe(bd),yd=Bs(),kd=Fe(yd),xd=Vs(),wd=Fe(xd),Sd=Ws(),$d=Fe(Sd),_d=Gs(),Cd=Fe(_d);function Ed(t){dd.default(t),gd.default(t),vd.default(t),kd.default(t),wd.default(t),$d.default(t),Cd.default(t)}function Pd(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||delete t.helpers[e])}});var Ys=_((Sr,Ks)=>{"use strict";Sr.__esModule=!0;var Ld=X();Sr.default=function(t){t.registerDecorator("inline",function(e,r,n,o){var i=e;return r.partials||(r.partials={},i=function(s,a){var c=n.partials;n.partials=Ld.extend({},c,r.partials);var l=e(s,a);return n.partials=c,l}),r.partials[o.args[0]]=o.fn,i})};Ks.exports=Sr.default});var Xs=_(Kn=>{"use strict";Kn.__esModule=!0;Kn.registerDefaultDecorators=Rd;function Ad(t){return t&&t.__esModule?t:{default:t}}var Md=Ys(),Od=Ad(Md);function Rd(t){Od.default(t)}});var Yn=_(($r,Js)=>{"use strict";$r.__esModule=!0;var Nd=X(),it={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if(typeof e=="string"){var r=Nd.indexOf(it.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},log:function(e){if(e=it.lookupLevel(e),typeof console<"u"&&it.lookupLevel(it.level)<=e){var r=it.methodMap[e];console[r]||(r="log");for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];console[r].apply(console,o)}}};$r.default=it;Js.exports=$r.default});var Zs=_(Xn=>{"use strict";Xn.__esModule=!0;Xn.createNewLookupObject=Id;var zd=X();function Id(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return zd.extend.apply(void 0,[Object.create(null)].concat(e))}});var Jn=_(zt=>{"use strict";zt.__esModule=!0;zt.createProtoAccessControl=Fd;zt.resultIsAllowed=Bd;zt.resetLoggedProperties=Vd;function jd(t){return t&&t.__esModule?t:{default:t}}var Qs=Zs(),Td=Yn(),Dd=jd(Td),_r=Object.create(null);function Fd(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:Qs.createNewLookupObject(r,t.allowedProtoProperties),defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:Qs.createNewLookupObject(e,t.allowedProtoMethods),defaultValue:t.allowProtoMethodsByDefault}}}function Bd(t,e,r){return ea(typeof t=="function"?e.methods:e.properties,r)}function ea(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(qd(e),!1)}function qd(t){_r[t]!==!0&&(_r[t]=!0,Dd.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+`" because it is not an "own property" of its parent.
|
|
2
2
|
You can add a runtime option to disable the check or this warning:
|
|
3
|
-
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function
|
|
4
|
-
`),
|
|
5
|
-
`)}return h}else throw new F.default("The partial "+l.name+" could not be compiled when running in runtime-only mode")}var i={strict:function(u,l,o){if(!u||!(l in u))throw new F.default('"'+l+'" not defined in '+u,{loc:o});return i.lookupProperty(u,l)},lookupProperty:function(u,l){var o=u[l];if(o==null||Object.prototype.hasOwnProperty.call(u,l)||$r.resultIsAllowed(o,i.protoAccessControl,l))return o},lookup:function(u,l){for(var o=u.length,h=0;h<o;h++){var c=u[h]&&i.lookupProperty(u[h],l);if(c!=null)return u[h][l]}},lambda:function(u,l){return typeof u=="function"?u.call(l):u},escapeExpression:H.escapeExpression,invokePartial:n,fn:function(u){var l=t[u];return l.decorator=t[u+"_d"],l},programs:[],program:function(u,l,o,h,c){var p=this.programs[u],d=this.fn(u);return l||c||h||o?p=Ke(this,u,d,l,o,h,c):p||(p=this.programs[u]=Ke(this,u,d)),p},data:function(u,l){for(;u&&l--;)u=u._parent;return u},mergeIfNeeded:function(u,l){var o=u||l;return u&&l&&u!==l&&(o=H.extend({},l,u)),o},nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function s(a){var u=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],l=u.data;s._setup(u),!u.partial&&t.useData&&(l=Zs(a,l));var o=void 0,h=t.useBlockParams?[]:void 0;t.useDepths&&(u.depths?o=a!=u.depths[0]?[a].concat(u.depths):u.depths:o=[a]);function c(p){return""+t.main(i,p,i.helpers,i.partials,l,h,o)}return c=tn(t.main,c,i,u.depths||[],l,h),c(a,u)}return s.isTop=!0,s._setup=function(a){if(a.partial)i.protoAccessControl=a.protoAccessControl,i.helpers=a.helpers,i.partials=a.partials,i.decorators=a.decorators,i.hooks=a.hooks;else{var u=H.extend({},e.helpers,a.helpers);js(u,i),i.helpers=u,t.usePartial&&(i.partials=i.mergeIfNeeded(a.partials,e.partials)),(t.usePartial||t.useDecorators)&&(i.decorators=H.extend({},e.decorators,a.decorators)),i.hooks={},i.protoAccessControl=$r.createProtoAccessControl(a);var l=a.allowCallsToHelperMissing||r;Xr.moveHelperToHooks(i,"helperMissing",l),Xr.moveHelperToHooks(i,"blockHelperMissing",l)}},s._child=function(a,u,l,o){if(t.useBlockParams&&!l)throw new F.default("must pass block params");if(t.useDepths&&!o)throw new F.default("must pass parent depths");return Ke(i,a,t[a],u,0,l,o)},s}function Ke(t,e,r,n,i,s,a){function u(l){var o=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],h=a;return a&&l!=a[0]&&!(l===t.nullContext&&a[0]===null)&&(h=[l].concat(a)),r(t,l,t.helpers,t.partials,o.data||n,s&&[o.blockParams].concat(s),h)}return u=tn(r,u,t,a,n,s),u.program=e,u.depth=a?a.length:0,u.blockParams=i||0,u}function Qs(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 Ys(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!==en&&function(){r.data=V.createFrame(r.data);var s=r.fn;i=r.data["partial-block"]=function(u){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return l.data=V.createFrame(l.data),l.data["partial-block"]=n,s(u,l)},s.partials&&(r.partials=H.extend({},r.partials,s.partials))}(),t===void 0&&i&&(t=i),t===void 0)throw new F.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}function en(){return""}function Zs(t,e){return(!e||!("root"in e))&&(e=e?V.createFrame(e):{},e.root=t),e}function tn(t,e,r,n,i,s){if(t.decorator){var a={};e=t.decorator(e,a,r,n&&n[0],i,s,n),H.extend(e,a)}return e}function js(t,e){Object.keys(t).forEach(function(r){var n=t[r];t[r]=Xs(n,e)})}function Xs(t,e){var r=e.lookupProperty;return Ks.wrapHelper(t,function(n){return H.extend({lookupProperty:r},n)})}});var It=g((ze,nn)=>{"use strict";ze.__esModule=!0;ze.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}};nn.exports=ze.default});var ln=g((Je,un)=>{"use strict";Je.__esModule=!0;function Rt(t){return t&&t.__esModule?t:{default:t}}function Bt(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 $s=Ue(),sn=Bt($s),ea=Zr(),ta=Rt(ea),ra=A(),na=Rt(ra),ia=L(),Dt=Bt(ia),sa=rn(),an=Bt(sa),aa=It(),oa=Rt(aa);function on(){var t=new sn.HandlebarsEnvironment;return Dt.extend(t,sn),t.SafeString=ta.default,t.Exception=na.default,t.Utils=Dt,t.escapeExpression=Dt.escapeExpression,t.VM=an,t.template=function(e){return an.template(e,t)},t}var me=on();me.create=on;oa.default(me);me.default=me;Je.default=me;un.exports=Je.default});var qt=g((Qe,hn)=>{"use strict";Qe.__esModule=!0;var cn={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&&!cn.helpers.scopedId(e)&&!e.depth}}};Qe.default=cn;hn.exports=Qe.default});var fn=g((Ye,pn)=>{"use strict";Ye.__esModule=!0;var ua=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,s,a,u,l,o,h){var c=o.length-1;switch(l){case 1:return o[c-1];case 2:this.$=u.prepareProgram(o[c]);break;case 3:this.$=o[c];break;case 4:this.$=o[c];break;case 5:this.$=o[c];break;case 6:this.$=o[c];break;case 7:this.$=o[c];break;case 8:this.$=o[c];break;case 9:this.$={type:"CommentStatement",value:u.stripComment(o[c]),strip:u.stripFlags(o[c],o[c]),loc:u.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:o[c],value:o[c],loc:u.locInfo(this._$)};break;case 11:this.$=u.prepareRawBlock(o[c-2],o[c-1],o[c],this._$);break;case 12:this.$={path:o[c-3],params:o[c-2],hash:o[c-1]};break;case 13:this.$=u.prepareBlock(o[c-3],o[c-2],o[c-1],o[c],!1,this._$);break;case 14:this.$=u.prepareBlock(o[c-3],o[c-2],o[c-1],o[c],!0,this._$);break;case 15:this.$={open:o[c-5],path:o[c-4],params:o[c-3],hash:o[c-2],blockParams:o[c-1],strip:u.stripFlags(o[c-5],o[c])};break;case 16:this.$={path:o[c-4],params:o[c-3],hash:o[c-2],blockParams:o[c-1],strip:u.stripFlags(o[c-5],o[c])};break;case 17:this.$={path:o[c-4],params:o[c-3],hash:o[c-2],blockParams:o[c-1],strip:u.stripFlags(o[c-5],o[c])};break;case 18:this.$={strip:u.stripFlags(o[c-1],o[c-1]),program:o[c]};break;case 19:var p=u.prepareBlock(o[c-2],o[c-1],o[c],o[c],!1,this._$),d=u.prepareProgram([p],o[c-1].loc);d.chained=!0,this.$={strip:o[c-2].strip,program:d,chain:!0};break;case 20:this.$=o[c];break;case 21:this.$={path:o[c-1],strip:u.stripFlags(o[c-2],o[c])};break;case 22:this.$=u.prepareMustache(o[c-3],o[c-2],o[c-1],o[c-4],u.stripFlags(o[c-4],o[c]),this._$);break;case 23:this.$=u.prepareMustache(o[c-3],o[c-2],o[c-1],o[c-4],u.stripFlags(o[c-4],o[c]),this._$);break;case 24:this.$={type:"PartialStatement",name:o[c-3],params:o[c-2],hash:o[c-1],indent:"",strip:u.stripFlags(o[c-4],o[c]),loc:u.locInfo(this._$)};break;case 25:this.$=u.preparePartialBlock(o[c-2],o[c-1],o[c],this._$);break;case 26:this.$={path:o[c-3],params:o[c-2],hash:o[c-1],strip:u.stripFlags(o[c-4],o[c])};break;case 27:this.$=o[c];break;case 28:this.$=o[c];break;case 29:this.$={type:"SubExpression",path:o[c-3],params:o[c-2],hash:o[c-1],loc:u.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:o[c],loc:u.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:u.id(o[c-2]),value:o[c],loc:u.locInfo(this._$)};break;case 32:this.$=u.id(o[c-1]);break;case 33:this.$=o[c];break;case 34:this.$=o[c];break;case 35:this.$={type:"StringLiteral",value:o[c],original:o[c],loc:u.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(o[c]),original:Number(o[c]),loc:u.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:o[c]==="true",original:o[c]==="true",loc:u.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:u.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:u.locInfo(this._$)};break;case 40:this.$=o[c];break;case 41:this.$=o[c];break;case 42:this.$=u.preparePath(!0,o[c],this._$);break;case 43:this.$=u.preparePath(!1,o[c],this._$);break;case 44:o[c-2].push({part:u.id(o[c]),original:o[c],separator:o[c-1]}),this.$=o[c-2];break;case 45:this.$=[{part:u.id(o[c]),original:o[c]}];break;case 46:this.$=[];break;case 47:o[c-1].push(o[c]);break;case 48:this.$=[];break;case 49:o[c-1].push(o[c]);break;case 50:this.$=[];break;case 51:o[c-1].push(o[c]);break;case 58:this.$=[];break;case 59:o[c-1].push(o[c]);break;case 64:this.$=[];break;case 65:o[c-1].push(o[c]);break;case 70:this.$=[];break;case 71:o[c-1].push(o[c]);break;case 78:this.$=[];break;case 79:o[c-1].push(o[c]);break;case 82:this.$=[];break;case 83:o[c-1].push(o[c]);break;case 86:this.$=[];break;case 87:o[c-1].push(o[c]);break;case 90:this.$=[];break;case 91:o[c-1].push(o[c]);break;case 94:this.$=[];break;case 95:o[c-1].push(o[c]);break;case 98:this.$=[o[c]];break;case 99:o[c-1].push(o[c]);break;case 100:this.$=[o[c]];break;case 101:o[c-1].push(o[c]);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,s){throw new Error(i)},parse:function(i){var s=this,a=[0],u=[null],l=[],o=this.table,h="",c=0,p=0,d=0,m=2,S=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 E=this.lexer.yylloc;l.push(E);var _=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function q(D){a.length=a.length-2*D,u.length=u.length-D,l.length=l.length-D}function Ee(){var D;return D=s.lexer.lex()||1,typeof D!="number"&&(D=s.symbols_[D]||D),D}for(var C,dt,z,M,Oo,gt,$={},xe,T,yr,we;;){if(z=a[a.length-1],this.defaultActions[z]?M=this.defaultActions[z]:((C===null||typeof C>"u")&&(C=Ee()),M=o[z]&&o[z][C]),typeof M>"u"||!M.length||!M[0]){var mt="";if(!d){we=[];for(xe in o[z])this.terminals_[xe]&&xe>2&&we.push("'"+this.terminals_[xe]+"'");this.lexer.showPosition?mt="Parse error on line "+(c+1)+`:
|
|
3
|
+
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function Vd(){Object.keys(_r).forEach(function(t){delete _r[t]})}});var Er=_(de=>{"use strict";de.__esModule=!0;de.HandlebarsEnvironment=eo;function ta(t){return t&&t.__esModule?t:{default:t}}var Be=X(),Hd=oe(),Zn=ta(Hd),Wd=Gn(),Ud=Xs(),Gd=Yn(),Cr=ta(Gd),Kd=Jn(),Yd="4.7.8";de.VERSION=Yd;var Xd=8;de.COMPILER_REVISION=Xd;var Jd=7;de.LAST_COMPATIBLE_COMPILER_REVISION=Jd;var Zd={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"};de.REVISION_CHANGES=Zd;var Qn="[object Object]";function eo(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},Wd.registerDefaultHelpers(this),Ud.registerDefaultDecorators(this)}eo.prototype={constructor:eo,logger:Cr.default,log:Cr.default.log,registerHelper:function(e,r){if(Be.toString.call(e)===Qn){if(r)throw new Zn.default("Arg not supported with multiple helpers");Be.extend(this.helpers,e)}else this.helpers[e]=r},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,r){if(Be.toString.call(e)===Qn)Be.extend(this.partials,e);else{if(typeof r>"u")throw new Zn.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(Be.toString.call(e)===Qn){if(r)throw new Zn.default("Arg not supported with multiple decorators");Be.extend(this.decorators,e)}else this.decorators[e]=r},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){Kd.resetLoggedProperties()}};var Qd=Cr.default.log;de.log=Qd;de.createFrame=Be.createFrame;de.logger=Cr.default});var na=_((Pr,ra)=>{"use strict";Pr.__esModule=!0;function to(t){this.string=t}to.prototype.toString=to.prototype.toHTML=function(){return""+this.string};Pr.default=to;ra.exports=Pr.default});var oa=_(ro=>{"use strict";ro.__esModule=!0;ro.wrapHelper=em;function em(t,e){if(typeof t!="function")return t;var r=function(){var o=arguments[arguments.length-1];return arguments[arguments.length-1]=e(o),t.apply(this,arguments)};return r}});var ca=_(Ee=>{"use strict";Ee.__esModule=!0;Ee.checkRevision=sm;Ee.template=am;Ee.wrapProgram=Lr;Ee.resolvePartial=lm;Ee.invokePartial=cm;Ee.noop=aa;function tm(t){return t&&t.__esModule?t:{default:t}}function rm(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}var nm=X(),be=rm(nm),om=oe(),ve=tm(om),ye=Er(),ia=Gn(),im=oa(),sa=Jn();function sm(t){var e=t&&t[0]||1,r=ye.COMPILER_REVISION;if(!(e>=ye.LAST_COMPATIBLE_COMPILER_REVISION&&e<=ye.COMPILER_REVISION))if(e<ye.LAST_COMPATIBLE_COMPILER_REVISION){var n=ye.REVISION_CHANGES[r],o=ye.REVISION_CHANGES[e];throw new ve.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+o+").")}else throw new ve.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 am(t,e){if(!e)throw new ve.default("No environment passed to template");if(!t||!t.main)throw new ve.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var r=t.compiler&&t.compiler[0]===7;function n(s,a,c){c.hash&&(a=be.extend({},a,c.hash),c.ids&&(c.ids[0]=!0)),s=e.VM.resolvePartial.call(this,s,a,c);var l=be.extend({},c,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),f=e.VM.invokePartial.call(this,s,a,l);if(f==null&&e.compile&&(c.partials[c.name]=e.compile(s,t.compilerOptions,e),f=c.partials[c.name](a,l)),f!=null){if(c.indent){for(var u=f.split(`
|
|
4
|
+
`),h=0,d=u.length;h<d&&!(!u[h]&&h+1===d);h++)u[h]=c.indent+u[h];f=u.join(`
|
|
5
|
+
`)}return f}else throw new ve.default("The partial "+c.name+" could not be compiled when running in runtime-only mode")}var o={strict:function(a,c,l){if(!a||!(c in a))throw new ve.default('"'+c+'" not defined in '+a,{loc:l});return o.lookupProperty(a,c)},lookupProperty:function(a,c){var l=a[c];if(l==null||Object.prototype.hasOwnProperty.call(a,c)||sa.resultIsAllowed(l,o.protoAccessControl,c))return l},lookup:function(a,c){for(var l=a.length,f=0;f<l;f++){var u=a[f]&&o.lookupProperty(a[f],c);if(u!=null)return a[f][c]}},lambda:function(a,c){return typeof a=="function"?a.call(c):a},escapeExpression:be.escapeExpression,invokePartial:n,fn:function(a){var c=t[a];return c.decorator=t[a+"_d"],c},programs:[],program:function(a,c,l,f,u){var h=this.programs[a],d=this.fn(a);return c||u||f||l?h=Lr(this,a,d,c,l,f,u):h||(h=this.programs[a]=Lr(this,a,d)),h},data:function(a,c){for(;a&&c--;)a=a._parent;return a},mergeIfNeeded:function(a,c){var l=a||c;return a&&c&&a!==c&&(l=be.extend({},c,a)),l},nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function i(s){var a=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],c=a.data;i._setup(a),!a.partial&&t.useData&&(c=um(s,c));var l=void 0,f=t.useBlockParams?[]:void 0;t.useDepths&&(a.depths?l=s!=a.depths[0]?[s].concat(a.depths):a.depths:l=[s]);function u(h){return""+t.main(o,h,o.helpers,o.partials,c,f,l)}return u=la(t.main,u,o,a.depths||[],c,f),u(s,a)}return i.isTop=!0,i._setup=function(s){if(s.partial)o.protoAccessControl=s.protoAccessControl,o.helpers=s.helpers,o.partials=s.partials,o.decorators=s.decorators,o.hooks=s.hooks;else{var a=be.extend({},e.helpers,s.helpers);fm(a,o),o.helpers=a,t.usePartial&&(o.partials=o.mergeIfNeeded(s.partials,e.partials)),(t.usePartial||t.useDecorators)&&(o.decorators=be.extend({},e.decorators,s.decorators)),o.hooks={},o.protoAccessControl=sa.createProtoAccessControl(s);var c=s.allowCallsToHelperMissing||r;ia.moveHelperToHooks(o,"helperMissing",c),ia.moveHelperToHooks(o,"blockHelperMissing",c)}},i._child=function(s,a,c,l){if(t.useBlockParams&&!c)throw new ve.default("must pass block params");if(t.useDepths&&!l)throw new ve.default("must pass parent depths");return Lr(o,s,t[s],a,0,c,l)},i}function Lr(t,e,r,n,o,i,s){function a(c){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],f=s;return s&&c!=s[0]&&!(c===t.nullContext&&s[0]===null)&&(f=[c].concat(s)),r(t,c,t.helpers,t.partials,l.data||n,i&&[l.blockParams].concat(i),f)}return a=la(r,a,t,s,n,i),a.program=e,a.depth=s?s.length:0,a.blockParams=o||0,a}function lm(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 cm(t,e,r){var n=r.data&&r.data["partial-block"];r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var o=void 0;if(r.fn&&r.fn!==aa&&function(){r.data=ye.createFrame(r.data);var i=r.fn;o=r.data["partial-block"]=function(a){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return c.data=ye.createFrame(c.data),c.data["partial-block"]=n,i(a,c)},i.partials&&(r.partials=be.extend({},r.partials,i.partials))}(),t===void 0&&o&&(t=o),t===void 0)throw new ve.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}function aa(){return""}function um(t,e){return(!e||!("root"in e))&&(e=e?ye.createFrame(e):{},e.root=t),e}function la(t,e,r,n,o,i){if(t.decorator){var s={};e=t.decorator(e,s,r,n&&n[0],o,i,n),be.extend(e,s)}return e}function fm(t,e){Object.keys(t).forEach(function(r){var n=t[r];t[r]=pm(n,e)})}function pm(t,e){var r=e.lookupProperty;return im.wrapHelper(t,function(n){return be.extend({lookupProperty:r},n)})}});var no=_((Ar,ua)=>{"use strict";Ar.__esModule=!0;Ar.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}};ua.exports=Ar.default});var ma=_((Mr,da)=>{"use strict";Mr.__esModule=!0;function io(t){return t&&t.__esModule?t:{default:t}}function so(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 hm=Er(),fa=so(hm),dm=na(),mm=io(dm),gm=oe(),bm=io(gm),vm=X(),oo=so(vm),ym=ca(),pa=so(ym),km=no(),xm=io(km);function ha(){var t=new fa.HandlebarsEnvironment;return oo.extend(t,fa),t.SafeString=mm.default,t.Exception=bm.default,t.Utils=oo,t.escapeExpression=oo.escapeExpression,t.VM=pa,t.template=function(e){return pa.template(e,t)},t}var It=ha();It.create=ha;xm.default(It);It.default=It;Mr.default=It;da.exports=Mr.default});var ao=_((Or,ba)=>{"use strict";Or.__esModule=!0;var ga={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&&!ga.helpers.scopedId(e)&&!e.depth}}};Or.default=ga;ba.exports=Or.default});var ya=_((Rr,va)=>{"use strict";Rr.__esModule=!0;var wm=function(){var t={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(o,i,s,a,c,l,f){var u=l.length-1;switch(c){case 1:return l[u-1];case 2:this.$=a.prepareProgram(l[u]);break;case 3:this.$=l[u];break;case 4:this.$=l[u];break;case 5:this.$=l[u];break;case 6:this.$=l[u];break;case 7:this.$=l[u];break;case 8:this.$=l[u];break;case 9:this.$={type:"CommentStatement",value:a.stripComment(l[u]),strip:a.stripFlags(l[u],l[u]),loc:a.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:l[u],value:l[u],loc:a.locInfo(this._$)};break;case 11:this.$=a.prepareRawBlock(l[u-2],l[u-1],l[u],this._$);break;case 12:this.$={path:l[u-3],params:l[u-2],hash:l[u-1]};break;case 13:this.$=a.prepareBlock(l[u-3],l[u-2],l[u-1],l[u],!1,this._$);break;case 14:this.$=a.prepareBlock(l[u-3],l[u-2],l[u-1],l[u],!0,this._$);break;case 15:this.$={open:l[u-5],path:l[u-4],params:l[u-3],hash:l[u-2],blockParams:l[u-1],strip:a.stripFlags(l[u-5],l[u])};break;case 16:this.$={path:l[u-4],params:l[u-3],hash:l[u-2],blockParams:l[u-1],strip:a.stripFlags(l[u-5],l[u])};break;case 17:this.$={path:l[u-4],params:l[u-3],hash:l[u-2],blockParams:l[u-1],strip:a.stripFlags(l[u-5],l[u])};break;case 18:this.$={strip:a.stripFlags(l[u-1],l[u-1]),program:l[u]};break;case 19:var h=a.prepareBlock(l[u-2],l[u-1],l[u],l[u],!1,this._$),d=a.prepareProgram([h],l[u-1].loc);d.chained=!0,this.$={strip:l[u-2].strip,program:d,chain:!0};break;case 20:this.$=l[u];break;case 21:this.$={path:l[u-1],strip:a.stripFlags(l[u-2],l[u])};break;case 22:this.$=a.prepareMustache(l[u-3],l[u-2],l[u-1],l[u-4],a.stripFlags(l[u-4],l[u]),this._$);break;case 23:this.$=a.prepareMustache(l[u-3],l[u-2],l[u-1],l[u-4],a.stripFlags(l[u-4],l[u]),this._$);break;case 24:this.$={type:"PartialStatement",name:l[u-3],params:l[u-2],hash:l[u-1],indent:"",strip:a.stripFlags(l[u-4],l[u]),loc:a.locInfo(this._$)};break;case 25:this.$=a.preparePartialBlock(l[u-2],l[u-1],l[u],this._$);break;case 26:this.$={path:l[u-3],params:l[u-2],hash:l[u-1],strip:a.stripFlags(l[u-4],l[u])};break;case 27:this.$=l[u];break;case 28:this.$=l[u];break;case 29:this.$={type:"SubExpression",path:l[u-3],params:l[u-2],hash:l[u-1],loc:a.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:l[u],loc:a.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:a.id(l[u-2]),value:l[u],loc:a.locInfo(this._$)};break;case 32:this.$=a.id(l[u-1]);break;case 33:this.$=l[u];break;case 34:this.$=l[u];break;case 35:this.$={type:"StringLiteral",value:l[u],original:l[u],loc:a.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(l[u]),original:Number(l[u]),loc:a.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:l[u]==="true",original:l[u]==="true",loc:a.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:a.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:a.locInfo(this._$)};break;case 40:this.$=l[u];break;case 41:this.$=l[u];break;case 42:this.$=a.preparePath(!0,l[u],this._$);break;case 43:this.$=a.preparePath(!1,l[u],this._$);break;case 44:l[u-2].push({part:a.id(l[u]),original:l[u],separator:l[u-1]}),this.$=l[u-2];break;case 45:this.$=[{part:a.id(l[u]),original:l[u]}];break;case 46:this.$=[];break;case 47:l[u-1].push(l[u]);break;case 48:this.$=[];break;case 49:l[u-1].push(l[u]);break;case 50:this.$=[];break;case 51:l[u-1].push(l[u]);break;case 58:this.$=[];break;case 59:l[u-1].push(l[u]);break;case 64:this.$=[];break;case 65:l[u-1].push(l[u]);break;case 70:this.$=[];break;case 71:l[u-1].push(l[u]);break;case 78:this.$=[];break;case 79:l[u-1].push(l[u]);break;case 82:this.$=[];break;case 83:l[u-1].push(l[u]);break;case 86:this.$=[];break;case 87:l[u-1].push(l[u]);break;case 90:this.$=[];break;case 91:l[u-1].push(l[u]);break;case 94:this.$=[];break;case 95:l[u-1].push(l[u]);break;case 98:this.$=[l[u]];break;case 99:l[u-1].push(l[u]);break;case 100:this.$=[l[u]];break;case 101:l[u-1].push(l[u]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(o,i){throw new Error(o)},parse:function(o){var i=this,s=[0],a=[null],c=[],l=this.table,f="",u=0,h=0,d=0,m=2,g=1;this.lexer.setInput(o),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var k=this.lexer.yylloc;c.push(k);var w=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function S(Q){s.length=s.length-2*Q,a.length=a.length-Q,c.length=c.length-Q}function $(){var Q;return Q=i.lexer.lex()||1,typeof Q!="number"&&(Q=i.symbols_[Q]||Q),Q}for(var C,b,A,x,L,M,H={},G,B,Ut,xe;;){if(A=s[s.length-1],this.defaultActions[A]?x=this.defaultActions[A]:((C===null||typeof C>"u")&&(C=$()),x=l[A]&&l[A][C]),typeof x>"u"||!x.length||!x[0]){var dt="";if(!d){xe=[];for(G in l[A])this.terminals_[G]&&G>2&&xe.push("'"+this.terminals_[G]+"'");this.lexer.showPosition?dt="Parse error on line "+(u+1)+`:
|
|
6
6
|
`+this.lexer.showPosition()+`
|
|
7
|
-
Expecting `+
|
|
8
|
-
`+
|
|
9
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var s=this.next();return typeof s<"u"?s:this.lex()},begin:function(s){this.conditionStack.push(s)},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(s){this.begin(s)}};return n.options={},n.performAction=function(s,a,u,l){function o(c,p){return a.yytext=a.yytext.substring(c,a.yyleng-p+c)}var h=l;switch(u){case 0:if(a.yytext.slice(-2)==="\\\\"?(o(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(o(0,1),this.begin("emu")):this.begin("mu"),a.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(o(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(a.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return a.yytext=o(1,2).replace(/\\"/g,'"'),80;break;case 32:return a.yytext=o(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return a.yytext=a.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},n.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},n}();t.lexer=e;function r(){this.yy={}}return r.prototype=t,t.Parser=r,new r}();Ye.default=ua;pn.exports=Ye.default});var $e=g((Xe,mn)=>{"use strict";Xe.__esModule=!0;function la(t){return t&&t.__esModule?t:{default:t}}var ca=A(),Tt=la(ca);function Ze(){this.parents=[]}Ze.prototype={constructor:Ze,mutating:!1,acceptKey:function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!Ze.prototype[n.type])throw new Tt.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 Tt.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 Tt.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:je,Decorator:je,BlockStatement:dn,DecoratorBlock:dn,PartialStatement:gn,PartialBlockStatement:function(e){gn.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:je,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 je(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function dn(t){je.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function gn(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}Xe.default=Ze;mn.exports=Xe.default});var _n=g((et,vn)=>{"use strict";et.__esModule=!0;function ha(t){return t&&t.__esModule?t:{default:t}}var pa=$e(),fa=ha(pa);function B(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}B.prototype=new fa.default;B.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,i=0,s=n.length;i<s;i++){var a=n[i],u=this.accept(a);if(u){var l=Ht(n,i,r),o=Ft(n,i,r),h=u.openStandalone&&l,c=u.closeStandalone&&o,p=u.inlineStandalone&&l&&o;u.close&&Y(n,i,!0),u.open&&W(n,i,!0),e&&p&&(Y(n,i),W(n,i)&&a.type==="PartialStatement"&&(a.indent=/([ \t]+$)/.exec(n[i-1].original)[1])),e&&h&&(Y((a.program||a.inverse).body),W(n,i)),e&&c&&(Y(n,i),W((a.inverse||a.program).body))}}return t};B.prototype.BlockStatement=B.prototype.DecoratorBlock=B.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 s={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:Ft(e.body),closeStandalone:Ht((n||e).body)};if(t.openStrip.close&&Y(e.body,null,!0),r){var a=t.inverseStrip;a.open&&W(e.body,null,!0),a.close&&Y(n.body,null,!0),t.closeStrip.open&&W(i.body,null,!0),!this.options.ignoreStandalone&&Ht(e.body)&&Ft(n.body)&&(W(e.body),Y(n.body))}else t.closeStrip.open&&W(e.body,null,!0);return s};B.prototype.Decorator=B.prototype.MustacheStatement=function(t){return t.strip};B.prototype.PartialStatement=B.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};function Ht(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 Ft(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 Y(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 W(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}}et.default=B;vn.exports=et.default});var Sn=g(O=>{"use strict";O.__esModule=!0;O.SourceLocation=ma;O.id=va;O.stripFlags=_a;O.stripComment=Sa;O.preparePath=ya;O.prepareMustache=ba;O.prepareRawBlock=ka;O.prepareBlock=Pa;O.prepareProgram=Ca;O.preparePartialBlock=La;function da(t){return t&&t.__esModule?t:{default:t}}var ga=A(),Vt=da(ga);function Gt(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new Vt.default(t.path.original+" doesn't match "+e,r)}}function ma(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 va(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function _a(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function Sa(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function ya(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",i=[],s=0,a=0,u=e.length;a<u;a++){var l=e[a].part,o=e[a].original!==l;if(n+=(e[a].separator||"")+l,!o&&(l===".."||l==="."||l==="this")){if(i.length>0)throw new Vt.default("Invalid path: "+n,{loc:r});l===".."&&s++}else i.push(l)}return{type:"PathExpression",data:t,depth:s,parts:i,original:n,loc:r}}function ba(t,e,r,n,i,s){var a=n.charAt(3)||n.charAt(2),u=a!=="{"&&a!=="&",l=/\*/.test(n);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:u,strip:i,loc:this.locInfo(s)}}function ka(t,e,r,n){Gt(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 Pa(t,e,r,n,i,s){n&&n.path&&Gt(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var u=void 0,l=void 0;if(r){if(a)throw new Vt.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),l=r.strip,u=r.program}return i&&(i=u,u=e,e=i),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:u,openStrip:t.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(s)}}function Ca(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 La(t,e,r,n){return Gt(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 kn=g(ve=>{"use strict";ve.__esModule=!0;ve.parseWithoutProcessing=bn;ve.parse=Ia;function Ea(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 yn(t){return t&&t.__esModule?t:{default:t}}var xa=fn(),Ut=yn(xa),wa=_n(),Ma=yn(wa),Aa=Sn(),Oa=Ea(Aa),Na=L();ve.parser=Ut.default;var tt={};Na.extend(tt,Oa);function bn(t,e){if(t.type==="Program")return t;Ut.default.yy=tt,tt.locInfo=function(n){return new tt.SourceLocation(e&&e.srcName,n)};var r=Ut.default.parse(t);return r}function Ia(t,e){var r=bn(t,e),n=new Ma.default(e);return n.accept(r)}});var En=g(be=>{"use strict";be.__esModule=!0;be.Compiler=Wt;be.precompile=qa;be.compile=Ta;function Cn(t){return t&&t.__esModule?t:{default:t}}var Da=A(),Se=Cn(Da),ye=L(),Ra=qt(),_e=Cn(Ra),Ba=[].slice;function Wt(){}Wt.prototype={compiler:Wt,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],s=e.opcodes[n];if(i.opcode!==s.opcode||!Ln(i.args,s.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=ye.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 Se.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){Pn(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 Se.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,s=e.name.type==="SubExpression";s&&this.accept(e.name),this.setupFullMustacheParams(e,r,void 0,!0);var a=e.indent||"";this.options.preventIndent&&a&&(this.opcode("appendContent",a),a=""),this.opcode("invokePartial",s,i,a),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){Pn(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,s=i.parts[0],a=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",s,a)},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),s=e.path,a=s.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",i.length,a);else{if(this.options.knownHelpersOnly)throw new Se.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);s.strict=!0,s.falsy=!0,this.accept(s),this.opcode("invokeHelper",i.length,s.original,_e.default.helpers.simpleId(s))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=_e.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:Ba.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var r=_e.default.helpers.simpleId(e.path),n=r&&!!this.blockParamIndex(e.path.parts[0]),i=!n&&_e.default.helpers.helperExpression(e),s=!n&&(i||r);if(s&&!i){var a=e.path.parts[0],u=this.options;u.knownHelpers[a]?i=!0:u.knownHelpersOnly&&(s=!1)}return i?"helper":s?"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&&!_e.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 s=e.params;return this.pushParams(s),this.opcode("pushProgram",r),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",i),s},blockParamIndex:function(e){for(var r=0,n=this.options.blockParams.length;r<n;r++){var i=this.options.blockParams[r],s=i&&ye.indexOf(i,e);if(i&&s>=0)return[r,s]}}};function qa(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new Se.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 Ta(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new Se.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=ye.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=void 0;function i(){var a=r.parse(t,e),u=new r.Compiler().compile(a,e),l=new r.JavaScriptCompiler().compile(u,e,void 0,!0);return r.template(l)}function s(a,u){return n||(n=i()),n.call(this,a,u)}return s._setup=function(a){return n||(n=i()),n._setup(a)},s._child=function(a,u,l,o){return n||(n=i()),n._child(a,u,l,o)},s}function Ln(t,e){if(t===e)return!0;if(ye.isArray(t)&&ye.isArray(e)&&t.length===e.length){for(var r=0;r<t.length;r++)if(!Ln(t[r],e[r]))return!1;return!0}}function Pn(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 wn=g(Kt=>{var xn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Kt.encode=function(t){if(0<=t&&t<xn.length)return xn[t];throw new TypeError("Must be between 0 and 63: "+t)};Kt.decode=function(t){var e=65,r=90,n=97,i=122,s=48,a=57,u=43,l=47,o=26,h=52;return e<=t&&t<=r?t-e:n<=t&&t<=i?t-n+o:s<=t&&t<=a?t-s+h:t==u?62:t==l?63:-1}});var Qt=g(Jt=>{var Mn=wn(),zt=5,An=1<<zt,On=An-1,Nn=An;function Ha(t){return t<0?(-t<<1)+1:(t<<1)+0}function Fa(t){var e=(t&1)===1,r=t>>1;return e?-r:r}Jt.encode=function(e){var r="",n,i=Ha(e);do n=i&On,i>>>=zt,i>0&&(n|=Nn),r+=Mn.encode(n);while(i>0);return r};Jt.decode=function(e,r,n){var i=e.length,s=0,a=0,u,l;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=Mn.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));u=!!(l&Nn),l&=On,s=s+(l<<a),a+=zt}while(u);n.value=Fa(s),n.rest=r}});var se=g(P=>{function Va(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}P.getArg=Va;var In=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Ga=/^data:.+\,.+$/;function ke(t){var e=t.match(In);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}P.urlParse=ke;function ne(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}P.urlGenerate=ne;function Yt(t){var e=t,r=ke(t);if(r){if(!r.path)return t;e=r.path}for(var n=P.isAbsolute(e),i=e.split(/\/+/),s,a=0,u=i.length-1;u>=0;u--)s=i[u],s==="."?i.splice(u,1):s===".."?a++:a>0&&(s===""?(i.splice(u+1,a),a=0):(i.splice(u,2),a--));return e=i.join("/"),e===""&&(e=n?"/":"."),r?(r.path=e,ne(r)):e}P.normalize=Yt;function Dn(t,e){t===""&&(t="."),e===""&&(e=".");var r=ke(e),n=ke(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),ne(r);if(r||e.match(Ga))return e;if(n&&!n.host&&!n.path)return n.host=e,ne(n);var i=e.charAt(0)==="/"?e:Yt(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=i,ne(n)):i}P.join=Dn;P.isAbsolute=function(t){return t.charAt(0)==="/"||In.test(t)};function Ua(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)}P.relative=Ua;var Rn=function(){var t=Object.create(null);return!("__proto__"in t)}();function Bn(t){return t}function Wa(t){return qn(t)?"$"+t:t}P.toSetString=Rn?Bn:Wa;function Ka(t){return qn(t)?t.slice(1):t}P.fromSetString=Rn?Bn:Ka;function qn(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 za(t,e,r){var n=ie(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:ie(t.name,e.name)}P.compareByOriginalPositions=za;function Ja(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=ie(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:ie(t.name,e.name)}P.compareByGeneratedPositionsDeflated=Ja;function ie(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function Qa(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=ie(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:ie(t.name,e.name)}P.compareByGeneratedPositionsInflated=Qa;function Ya(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}P.parseSourceMapInput=Ya;function Za(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=ke(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=Dn(ne(n),e)}return Yt(e)}P.computeSourceURL=Za});var Xt=g(Tn=>{var Zt=se(),jt=Object.prototype.hasOwnProperty,Z=typeof Map<"u";function G(){this._array=[],this._set=Z?new Map:Object.create(null)}G.fromArray=function(e,r){for(var n=new G,i=0,s=e.length;i<s;i++)n.add(e[i],r);return n};G.prototype.size=function(){return Z?this._set.size:Object.getOwnPropertyNames(this._set).length};G.prototype.add=function(e,r){var n=Z?e:Zt.toSetString(e),i=Z?this.has(e):jt.call(this._set,n),s=this._array.length;(!i||r)&&this._array.push(e),i||(Z?this._set.set(e,s):this._set[n]=s)};G.prototype.has=function(e){if(Z)return this._set.has(e);var r=Zt.toSetString(e);return jt.call(this._set,r)};G.prototype.indexOf=function(e){if(Z){var r=this._set.get(e);if(r>=0)return r}else{var n=Zt.toSetString(e);if(jt.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')};G.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};G.prototype.toArray=function(){return this._array.slice()};Tn.ArraySet=G});var Vn=g(Fn=>{var Hn=se();function ja(t,e){var r=t.generatedLine,n=e.generatedLine,i=t.generatedColumn,s=e.generatedColumn;return n>r||n==r&&s>=i||Hn.compareByGeneratedPositionsInflated(t,e)<=0}function rt(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}rt.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};rt.prototype.add=function(e){ja(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};rt.prototype.toArray=function(){return this._sorted||(this._array.sort(Hn.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Fn.MappingList=rt});var $t=g(Gn=>{var Pe=Qt(),b=se(),nt=Xt().ArraySet,Xa=Vn().MappingList;function N(t){t||(t={}),this._file=b.getArg(t,"file",null),this._sourceRoot=b.getArg(t,"sourceRoot",null),this._skipValidation=b.getArg(t,"skipValidation",!1),this._sources=new nt,this._names=new nt,this._mappings=new Xa,this._sourcesContents=null}N.prototype._version=3;N.fromSourceMap=function(e){var r=e.sourceRoot,n=new N({file:e.file,sourceRoot:r});return e.eachMapping(function(i){var s={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(s.source=i.source,r!=null&&(s.source=b.relative(r,s.source)),s.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(s.name=i.name)),n.addMapping(s)}),e.sources.forEach(function(i){var s=i;r!==null&&(s=b.relative(r,i)),n._sources.has(s)||n._sources.add(s);var a=e.sourceContentFor(i);a!=null&&n.setSourceContent(i,a)}),n};N.prototype.addMapping=function(e){var r=b.getArg(e,"generated"),n=b.getArg(e,"original",null),i=b.getArg(e,"source",null),s=b.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,i,s),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:s})};N.prototype.setSourceContent=function(e,r){var n=e;this._sourceRoot!=null&&(n=b.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[b.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[b.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};N.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 s=this._sourceRoot;s!=null&&(i=b.relative(s,i));var a=new nt,u=new nt;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var o=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});o.source!=null&&(l.source=o.source,n!=null&&(l.source=b.join(n,l.source)),s!=null&&(l.source=b.relative(s,l.source)),l.originalLine=o.line,l.originalColumn=o.column,o.name!=null&&(l.name=o.name))}var h=l.source;h!=null&&!a.has(h)&&a.add(h);var c=l.name;c!=null&&!u.has(c)&&u.add(c)},this),this._sources=a,this._names=u,e.sources.forEach(function(l){var o=e.sourceContentFor(l);o!=null&&(n!=null&&(l=b.join(n,l)),s!=null&&(l=b.relative(s,l)),this.setSourceContent(l,o))},this)};N.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}))}};N.prototype._serializeMappings=function(){for(var e=0,r=1,n=0,i=0,s=0,a=0,u="",l,o,h,c,p=this._mappings.toArray(),d=0,m=p.length;d<m;d++){if(o=p[d],l="",o.generatedLine!==r)for(e=0;o.generatedLine!==r;)l+=";",r++;else if(d>0){if(!b.compareByGeneratedPositionsInflated(o,p[d-1]))continue;l+=","}l+=Pe.encode(o.generatedColumn-e),e=o.generatedColumn,o.source!=null&&(c=this._sources.indexOf(o.source),l+=Pe.encode(c-a),a=c,l+=Pe.encode(o.originalLine-1-i),i=o.originalLine-1,l+=Pe.encode(o.originalColumn-n),n=o.originalColumn,o.name!=null&&(h=this._names.indexOf(o.name),l+=Pe.encode(h-s),s=h)),u+=l}return u};N.prototype._generateSourcesContent=function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=b.relative(r,n));var i=b.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};N.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};N.prototype.toString=function(){return JSON.stringify(this.toJSON())};Gn.SourceMapGenerator=N});var Un=g(j=>{j.GREATEST_LOWER_BOUND=1;j.LEAST_UPPER_BOUND=2;function er(t,e,r,n,i,s){var a=Math.floor((e-t)/2)+t,u=i(r,n[a],!0);return u===0?a:u>0?e-a>1?er(a,e,r,n,i,s):s==j.LEAST_UPPER_BOUND?e<n.length?e:-1:a:a-t>1?er(t,a,r,n,i,s):s==j.LEAST_UPPER_BOUND?a:t<0?-1:t}j.search=function(e,r,n,i){if(r.length===0)return-1;var s=er(-1,r.length,e,r,n,i||j.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&n(r[s],r[s-1],!0)===0;)--s;return s}});var Kn=g(Wn=>{function tr(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function $a(t,e){return Math.round(t+Math.random()*(e-t))}function rr(t,e,r,n){if(r<n){var i=$a(r,n),s=r-1;tr(t,i,n);for(var a=t[n],u=r;u<n;u++)e(t[u],a)<=0&&(s+=1,tr(t,s,u));tr(t,s+1,u);var l=s+1;rr(t,e,r,l-1),rr(t,e,l+1,n)}}Wn.quickSort=function(t,e){rr(t,e,0,t.length-1)}});var Jn=g(it=>{var f=se(),nr=Un(),ae=Xt().ArraySet,eo=Qt(),Ce=Kn().quickSort;function v(t,e){var r=t;return typeof t=="string"&&(r=f.parseSourceMapInput(t)),r.sections!=null?new I(r,e):new k(r,e)}v.fromSourceMap=function(t,e){return k.fromSourceMap(t,e)};v.prototype._version=3;v.prototype.__generatedMappings=null;Object.defineProperty(v.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});v.prototype.__originalMappings=null;Object.defineProperty(v.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});v.prototype._charIsMappingSeparator=function(e,r){var n=e.charAt(r);return n===";"||n===","};v.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};v.GENERATED_ORDER=1;v.ORIGINAL_ORDER=2;v.GREATEST_LOWER_BOUND=1;v.LEAST_UPPER_BOUND=2;v.prototype.eachMapping=function(e,r,n){var i=r||null,s=n||v.GENERATED_ORDER,a;switch(s){case v.GENERATED_ORDER:a=this._generatedMappings;break;case v.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;a.map(function(l){var o=l.source===null?null:this._sources.at(l.source);return o=f.computeSourceURL(u,o,this._sourceMapURL),{source:o,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)};v.prototype.allGeneratedPositionsFor=function(e){var r=f.getArg(e,"line"),n={source:f.getArg(e,"source"),originalLine:r,originalColumn:f.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",f.compareByOriginalPositions,nr.LEAST_UPPER_BOUND);if(s>=0){var a=this._originalMappings[s];if(e.column===void 0)for(var u=a.originalLine;a&&a.originalLine===u;)i.push({line:f.getArg(a,"generatedLine",null),column:f.getArg(a,"generatedColumn",null),lastColumn:f.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)i.push({line:f.getArg(a,"generatedLine",null),column:f.getArg(a,"generatedColumn",null),lastColumn:f.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s]}return i};it.SourceMapConsumer=v;function k(t,e){var r=t;typeof t=="string"&&(r=f.parseSourceMapInput(t));var n=f.getArg(r,"version"),i=f.getArg(r,"sources"),s=f.getArg(r,"names",[]),a=f.getArg(r,"sourceRoot",null),u=f.getArg(r,"sourcesContent",null),l=f.getArg(r,"mappings"),o=f.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);a&&(a=f.normalize(a)),i=i.map(String).map(f.normalize).map(function(h){return a&&f.isAbsolute(a)&&f.isAbsolute(h)?f.relative(a,h):h}),this._names=ae.fromArray(s.map(String),!0),this._sources=ae.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(h){return f.computeSourceURL(a,h,e)}),this.sourceRoot=a,this.sourcesContent=u,this._mappings=l,this._sourceMapURL=e,this.file=o}k.prototype=Object.create(v.prototype);k.prototype.consumer=v;k.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=f.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};k.fromSourceMap=function(e,r){var n=Object.create(k.prototype),i=n._names=ae.fromArray(e._names.toArray(),!0),s=n._sources=ae.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=r,n._absoluteSources=n._sources.toArray().map(function(d){return f.computeSourceURL(n.sourceRoot,d,r)});for(var a=e._mappings.toArray().slice(),u=n.__generatedMappings=[],l=n.__originalMappings=[],o=0,h=a.length;o<h;o++){var c=a[o],p=new zn;p.generatedLine=c.generatedLine,p.generatedColumn=c.generatedColumn,c.source&&(p.source=s.indexOf(c.source),p.originalLine=c.originalLine,p.originalColumn=c.originalColumn,c.name&&(p.name=i.indexOf(c.name)),l.push(p)),u.push(p)}return Ce(n.__originalMappings,f.compareByOriginalPositions),n};k.prototype._version=3;Object.defineProperty(k.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function zn(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}k.prototype._parseMappings=function(e,r){for(var n=1,i=0,s=0,a=0,u=0,l=0,o=e.length,h=0,c={},p={},d=[],m=[],S,E,_,q,Ee;h<o;)if(e.charAt(h)===";")n++,h++,i=0;else if(e.charAt(h)===",")h++;else{for(S=new zn,S.generatedLine=n,q=h;q<o&&!this._charIsMappingSeparator(e,q);q++);if(E=e.slice(h,q),_=c[E],_)h+=E.length;else{for(_=[];h<q;)eo.decode(e,h,p),Ee=p.value,h=p.rest,_.push(Ee);if(_.length===2)throw new Error("Found a source, but no line and column");if(_.length===3)throw new Error("Found a source and line, but no column");c[E]=_}S.generatedColumn=i+_[0],i=S.generatedColumn,_.length>1&&(S.source=u+_[1],u+=_[1],S.originalLine=s+_[2],s=S.originalLine,S.originalLine+=1,S.originalColumn=a+_[3],a=S.originalColumn,_.length>4&&(S.name=l+_[4],l+=_[4])),m.push(S),typeof S.originalLine=="number"&&d.push(S)}Ce(m,f.compareByGeneratedPositionsDeflated),this.__generatedMappings=m,Ce(d,f.compareByOriginalPositions),this.__originalMappings=d};k.prototype._findMapping=function(e,r,n,i,s,a){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 nr.search(e,r,s,a)};k.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};k.prototype.originalPositionFor=function(e){var r={generatedLine:f.getArg(e,"line"),generatedColumn:f.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",f.compareByGeneratedPositionsDeflated,f.getArg(e,"bias",v.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var s=f.getArg(i,"source",null);s!==null&&(s=this._sources.at(s),s=f.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var a=f.getArg(i,"name",null);return a!==null&&(a=this._names.at(a)),{source:s,line:f.getArg(i,"originalLine",null),column:f.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};k.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};k.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var i=e;this.sourceRoot!=null&&(i=f.relative(this.sourceRoot,i));var s;if(this.sourceRoot!=null&&(s=f.urlParse(this.sourceRoot))){var a=i.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!s.path||s.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.')};k.prototype.generatedPositionFor=function(e){var r=f.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:f.getArg(e,"line"),originalColumn:f.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",f.compareByOriginalPositions,f.getArg(e,"bias",v.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===n.source)return{line:f.getArg(s,"generatedLine",null),column:f.getArg(s,"generatedColumn",null),lastColumn:f.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};it.BasicSourceMapConsumer=k;function I(t,e){var r=t;typeof t=="string"&&(r=f.parseSourceMapInput(t));var n=f.getArg(r,"version"),i=f.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new ae,this._names=new ae;var s={line:-1,column:0};this._sections=i.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var u=f.getArg(a,"offset"),l=f.getArg(u,"line"),o=f.getArg(u,"column");if(l<s.line||l===s.line&&o<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=u,{generatedOffset:{generatedLine:l+1,generatedColumn:o+1},consumer:new v(f.getArg(a,"map"),e)}})}I.prototype=Object.create(v.prototype);I.prototype.constructor=v;I.prototype._version=3;Object.defineProperty(I.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}});I.prototype.originalPositionFor=function(e){var r={generatedLine:f.getArg(e,"line"),generatedColumn:f.getArg(e,"column")},n=nr.search(r,this._sections,function(s,a){var u=s.generatedLine-a.generatedOffset.generatedLine;return u||s.generatedColumn-a.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}};I.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};I.prototype.sourceContentFor=function(e,r){for(var n=0;n<this._sections.length;n++){var i=this._sections[n],s=i.consumer.sourceContentFor(e,!0);if(s)return s}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};I.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(f.getArg(e,"source"))!==-1){var i=n.consumer.generatedPositionFor(e);if(i){var s={line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)};return s}}}return{line:null,column:null}};I.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],s=i.consumer._generatedMappings,a=0;a<s.length;a++){var u=s[a],l=i.consumer._sources.at(u.source);l=f.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var o=null;u.name&&(o=i.consumer._names.at(u.name),this._names.add(o),o=this._names.indexOf(o));var h={source:l,generatedLine:u.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:u.generatedColumn+(i.generatedOffset.generatedLine===u.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:u.originalLine,originalColumn:u.originalColumn,name:o};this.__generatedMappings.push(h),typeof h.originalLine=="number"&&this.__originalMappings.push(h)}Ce(this.__generatedMappings,f.compareByGeneratedPositionsDeflated),Ce(this.__originalMappings,f.compareByOriginalPositions)};it.IndexedSourceMapConsumer=I});var Yn=g(Qn=>{var to=$t().SourceMapGenerator,st=se(),ro=/(\r?\n)/,no=10,oe="$$$isSourceNode$$$";function w(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[oe]=!0,n!=null&&this.add(n)}w.fromStringWithSourceMap=function(e,r,n){var i=new w,s=e.split(ro),a=0,u=function(){var p=m(),d=m()||"";return p+d;function m(){return a<s.length?s[a++]:void 0}},l=1,o=0,h=null;return r.eachMapping(function(p){if(h!==null)if(l<p.generatedLine)c(h,u()),l++,o=0;else{var d=s[a]||"",m=d.substr(0,p.generatedColumn-o);s[a]=d.substr(p.generatedColumn-o),o=p.generatedColumn,c(h,m),h=p;return}for(;l<p.generatedLine;)i.add(u()),l++;if(o<p.generatedColumn){var d=s[a]||"";i.add(d.substr(0,p.generatedColumn)),s[a]=d.substr(p.generatedColumn),o=p.generatedColumn}h=p},this),a<s.length&&(h&&c(h,u()),i.add(s.splice(a).join(""))),r.sources.forEach(function(p){var d=r.sourceContentFor(p);d!=null&&(n!=null&&(p=st.join(n,p)),i.setSourceContent(p,d))}),i;function c(p,d){if(p===null||p.source===void 0)i.add(d);else{var m=n?st.join(n,p.source):p.source;i.add(new w(p.originalLine,p.originalColumn,m,d,p.name))}}};w.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[oe]||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};w.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[oe]||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};w.prototype.walk=function(e){for(var r,n=0,i=this.children.length;n<i;n++)r=this.children[n],r[oe]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};w.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};w.prototype.replaceRight=function(e,r){var n=this.children[this.children.length-1];return n[oe]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this};w.prototype.setSourceContent=function(e,r){this.sourceContents[st.toSetString(e)]=r};w.prototype.walkSourceContents=function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][oe]&&this.children[r].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),r=0,n=i.length;r<n;r++)e(st.fromSetString(i[r]),this.sourceContents[i[r]])};w.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};w.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},n=new to(e),i=!1,s=null,a=null,u=null,l=null;return this.walk(function(o,h){r.code+=o,h.source!==null&&h.line!==null&&h.column!==null?((s!==h.source||a!==h.line||u!==h.column||l!==h.name)&&n.addMapping({source:h.source,original:{line:h.line,column:h.column},generated:{line:r.line,column:r.column},name:h.name}),s=h.source,a=h.line,u=h.column,l=h.name,i=!0):i&&(n.addMapping({generated:{line:r.line,column:r.column}}),s=null,i=!1);for(var c=0,p=o.length;c<p;c++)o.charCodeAt(c)===no?(r.line++,r.column=0,c+1===p?(s=null,i=!1):i&&n.addMapping({source:h.source,original:{line:h.line,column:h.column},generated:{line:r.line,column:r.column},name:h.name})):r.column++}),this.walkSourceContents(function(o,h){n.setSourceContent(o,h)}),{code:r.code,map:n}};Qn.SourceNode=w});var Zn=g(at=>{at.SourceMapGenerator=$t().SourceMapGenerator;at.SourceMapConsumer=Jn().SourceMapConsumer;at.SourceNode=Yn().SourceNode});var ei=g((ot,$n)=>{"use strict";ot.__esModule=!0;var sr=L(),X=void 0;try{(typeof define!="function"||!define.amd)&&(jn=Zn(),X=jn.SourceNode)}catch{}var jn;X||(X=function(t,e,r,n){this.src="",n&&this.add(n)},X.prototype={add:function(e){sr.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){sr.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function ir(t,e,r){if(sr.isArray(t)){for(var n=[],i=0,s=t.length;i<s;i++)n.push(e.wrap(t[i],r));return n}else if(typeof t=="boolean"||typeof t=="number")return t+"";return t}function Xn(t){this.srcFile=t,this.source=[]}Xn.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
|
|
11
|
-
`]),this.decorators.push("return fn;"),
|
|
7
|
+
Expecting `+xe.join(", ")+", got '"+(this.terminals_[C]||C)+"'":dt="Parse error on line "+(u+1)+": Unexpected "+(C==1?"end of input":"'"+(this.terminals_[C]||C)+"'"),this.parseError(dt,{text:this.lexer.match,token:this.terminals_[C]||C,line:this.lexer.yylineno,loc:k,expected:xe})}}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+C);switch(x[0]){case 1:s.push(C),a.push(this.lexer.yytext),c.push(this.lexer.yylloc),s.push(x[1]),C=null,b?(C=b,b=null):(h=this.lexer.yyleng,f=this.lexer.yytext,u=this.lexer.yylineno,k=this.lexer.yylloc,d>0&&d--);break;case 2:if(B=this.productions_[x[1]][1],H.$=a[a.length-B],H._$={first_line:c[c.length-(B||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(B||1)].first_column,last_column:c[c.length-1].last_column},w&&(H._$.range=[c[c.length-(B||1)].range[0],c[c.length-1].range[1]]),M=this.performAction.call(H,f,h,u,this.yy,x[1],a,c),typeof M<"u")return M;B&&(s=s.slice(0,-1*B*2),a=a.slice(0,-1*B),c=c.slice(0,-1*B)),s.push(this.productions_[x[1]][0]),a.push(H.$),c.push(H._$),Ut=l[s[s.length-2]][s[s.length-1]],s.push(Ut);break;case 3:return!0}}return!0}},e=function(){var n={EOF:1,parseError:function(i,s){if(this.yy.parser)this.yy.parser.parseError(i,s);else throw new Error(i)},setInput:function(i){return this._input=i,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var s=i.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var s=i.length,a=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s-1),this.offset-=s;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var l=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===c.length?this.yylloc.first_column:0)+c[c.length-a.length].length-a[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[l[0],l[0]+this.yyleng-s]),this},more:function(){return this._more=!0,this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),s=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
|
8
|
+
`+s+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,s,a,c,l,f;this._more||(this.yytext="",this.match="");for(var u=this._currentRules(),h=0;h<u.length&&(a=this._input.match(this.rules[u[h]]),!(a&&(!s||a[0].length>s[0].length)&&(s=a,c=h,!this.options.flex)));h++);return s?(f=s[0].match(/(?:\r\n?|\n).*/g),f&&(this.yylineno+=f.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:f?f[f.length-1].length-f[f.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],i=this.performAction.call(this,this.yy,this,u[c],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
9
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var i=this.next();return typeof i<"u"?i:this.lex()},begin:function(i){this.conditionStack.push(i)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(i){this.begin(i)}};return n.options={},n.performAction=function(i,s,a,c){function l(u,h){return s.yytext=s.yytext.substring(u,s.yyleng-h+u)}var f=c;switch(a){case 0:if(s.yytext.slice(-2)==="\\\\"?(l(0,1),this.begin("mu")):s.yytext.slice(-1)==="\\"?(l(0,1),this.begin("emu")):this.begin("mu"),s.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(l(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(s.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return s.yytext=l(1,2).replace(/\\"/g,'"'),80;break;case 32:return s.yytext=l(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return s.yytext=s.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},n.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},n}();t.lexer=e;function r(){this.yy={}}return r.prototype=t,t.Parser=r,new r}();Rr.default=wm;va.exports=Rr.default});var jr=_((Ir,wa)=>{"use strict";Ir.__esModule=!0;function Sm(t){return t&&t.__esModule?t:{default:t}}var $m=oe(),lo=Sm($m);function Nr(){this.parents=[]}Nr.prototype={constructor:Nr,mutating:!1,acceptKey:function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!Nr.prototype[n.type])throw new lo.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 lo.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 lo.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:zr,Decorator:zr,BlockStatement:ka,DecoratorBlock:ka,PartialStatement:xa,PartialBlockStatement:function(e){xa.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:zr,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 zr(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function ka(t){zr.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function xa(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}Ir.default=Nr;wa.exports=Ir.default});var $a=_((Tr,Sa)=>{"use strict";Tr.__esModule=!0;function _m(t){return t&&t.__esModule?t:{default:t}}var Cm=jr(),Em=_m(Cm);function me(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}me.prototype=new Em.default;me.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,o=0,i=n.length;o<i;o++){var s=n[o],a=this.accept(s);if(a){var c=co(n,o,r),l=uo(n,o,r),f=a.openStandalone&&c,u=a.closeStandalone&&l,h=a.inlineStandalone&&c&&l;a.close&&qe(n,o,!0),a.open&&Pe(n,o,!0),e&&h&&(qe(n,o),Pe(n,o)&&s.type==="PartialStatement"&&(s.indent=/([ \t]+$)/.exec(n[o-1].original)[1])),e&&f&&(qe((s.program||s.inverse).body),Pe(n,o)),e&&u&&(qe(n,o),Pe((s.inverse||s.program).body))}}return t};me.prototype.BlockStatement=me.prototype.DecoratorBlock=me.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,r=t.program&&t.inverse,n=r,o=r;if(r&&r.chained)for(n=r.body[0].program;o.chained;)o=o.body[o.body.length-1].program;var i={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:uo(e.body),closeStandalone:co((n||e).body)};if(t.openStrip.close&&qe(e.body,null,!0),r){var s=t.inverseStrip;s.open&&Pe(e.body,null,!0),s.close&&qe(n.body,null,!0),t.closeStrip.open&&Pe(o.body,null,!0),!this.options.ignoreStandalone&&co(e.body)&&uo(n.body)&&(Pe(e.body),qe(n.body))}else t.closeStrip.open&&Pe(e.body,null,!0);return i};me.prototype.Decorator=me.prototype.MustacheStatement=function(t){return t.strip};me.prototype.PartialStatement=me.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};function co(t,e,r){e===void 0&&(e=t.length);var n=t[e-1],o=t[e-2];if(!n)return r;if(n.type==="ContentStatement")return(o||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original)}function uo(t,e,r){e===void 0&&(e=-1);var n=t[e+1],o=t[e+2];if(!n)return r;if(n.type==="ContentStatement")return(o||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original)}function qe(t,e,r){var n=t[e==null?0:e+1];if(!(!n||n.type!=="ContentStatement"||!r&&n.rightStripped)){var o=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==o}}function Pe(t,e,r){var n=t[e==null?t.length-1:e-1];if(!(!n||n.type!=="ContentStatement"||!r&&n.leftStripped)){var o=n.value;return n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==o,n.leftStripped}}Tr.default=me;Sa.exports=Tr.default});var _a=_(ie=>{"use strict";ie.__esModule=!0;ie.SourceLocation=Am;ie.id=Mm;ie.stripFlags=Om;ie.stripComment=Rm;ie.preparePath=Nm;ie.prepareMustache=zm;ie.prepareRawBlock=Im;ie.prepareBlock=jm;ie.prepareProgram=Tm;ie.preparePartialBlock=Dm;function Pm(t){return t&&t.__esModule?t:{default:t}}var Lm=oe(),fo=Pm(Lm);function po(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new fo.default(t.path.original+" doesn't match "+e,r)}}function Am(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 Mm(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function Om(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function Rm(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function Nm(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",o=[],i=0,s=0,a=e.length;s<a;s++){var c=e[s].part,l=e[s].original!==c;if(n+=(e[s].separator||"")+c,!l&&(c===".."||c==="."||c==="this")){if(o.length>0)throw new fo.default("Invalid path: "+n,{loc:r});c===".."&&i++}else o.push(c)}return{type:"PathExpression",data:t,depth:i,parts:o,original:n,loc:r}}function zm(t,e,r,n,o,i){var s=n.charAt(3)||n.charAt(2),a=s!=="{"&&s!=="&",c=/\*/.test(n);return{type:c?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:a,strip:o,loc:this.locInfo(i)}}function Im(t,e,r,n){po(t,r),n=this.locInfo(n);var o={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:o,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function jm(t,e,r,n,o,i){n&&n.path&&po(t,n);var s=/\*/.test(t.open);e.blockParams=t.blockParams;var a=void 0,c=void 0;if(r){if(s)throw new fo.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),c=r.strip,a=r.program}return o&&(o=a,a=e,e=o),{type:s?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:a,openStrip:t.strip,inverseStrip:c,closeStrip:n&&n.strip,loc:this.locInfo(i)}}function Tm(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 Dm(t,e,r,n){return po(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 Pa=_(jt=>{"use strict";jt.__esModule=!0;jt.parseWithoutProcessing=Ea;jt.parse=Gm;function Fm(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 Ca(t){return t&&t.__esModule?t:{default:t}}var Bm=ya(),ho=Ca(Bm),qm=$a(),Vm=Ca(qm),Hm=_a(),Wm=Fm(Hm),Um=X();jt.parser=ho.default;var Dr={};Um.extend(Dr,Wm);function Ea(t,e){if(t.type==="Program")return t;ho.default.yy=Dr,Dr.locInfo=function(n){return new Dr.SourceLocation(e&&e.srcName,n)};var r=ho.default.parse(t);return r}function Gm(t,e){var r=Ea(t,e),n=new Vm.default(e);return n.accept(r)}});var Oa=_(Bt=>{"use strict";Bt.__esModule=!0;Bt.Compiler=mo;Bt.precompile=Jm;Bt.compile=Zm;function Aa(t){return t&&t.__esModule?t:{default:t}}var Km=oe(),Dt=Aa(Km),Ft=X(),Ym=ao(),Tt=Aa(Ym),Xm=[].slice;function mo(){}mo.prototype={compiler:mo,equals:function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var n=0;n<r;n++){var o=this.opcodes[n],i=e.opcodes[n];if(o.opcode!==i.opcode||!Ma(o.args,i.args))return!1}r=this.children.length;for(var n=0;n<r;n++)if(!this.children[n].equals(e.children[n]))return!1;return!0},guid:0,compile:function(e,r){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=r,this.stringParams=r.stringParams,this.trackIds=r.trackIds,r.blockParams=r.blockParams||[],r.knownHelpers=Ft.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},r.knownHelpers),this.accept(e)},compileProgram:function(e){var r=new this.compiler,n=r.compile(e,this.options),o=this.guid++;return this.usePartial=this.usePartial||n.usePartial,this.children[o]=n,this.useDepths=this.useDepths||n.useDepths,o},accept:function(e){if(!this[e.type])throw new Dt.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var r=this[e.type](e);return this.sourceNode.shift(),r},Program:function(e){this.options.blockParams.unshift(e.blockParams);for(var r=e.body,n=r.length,o=0;o<n;o++)this.accept(r[o]);return this.options.blockParams.shift(),this.isSimple=n===1,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){La(e);var r=e.program,n=e.inverse;r=r&&this.compileProgram(r),n=n&&this.compileProgram(n);var o=this.classifySexpr(e);o==="helper"?this.helperSexpr(e,r,n):o==="simple"?(this.simpleSexpr(e),this.opcode("pushProgram",r),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,r,n),this.opcode("pushProgram",r),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(e){var r=e.program&&this.compileProgram(e.program),n=this.setupFullMustacheParams(e,r,void 0),o=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,o.original)},PartialStatement:function(e){this.usePartial=!0;var r=e.program;r&&(r=this.compileProgram(e.program));var n=e.params;if(n.length>1)throw new Dt.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var o=e.name.original,i=e.name.type==="SubExpression";i&&this.accept(e.name),this.setupFullMustacheParams(e,r,void 0,!0);var s=e.indent||"";this.options.preventIndent&&s&&(this.opcode("appendContent",s),s=""),this.opcode("invokePartial",i,o,s),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){La(e);var r=this.classifySexpr(e);r==="simple"?this.simpleSexpr(e):r==="helper"?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,r,n){var o=e.path,i=o.parts[0],s=r!=null||n!=null;this.opcode("getContext",o.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",n),o.strict=!0,this.accept(o),this.opcode("invokeAmbiguous",i,s)},simpleSexpr:function(e){var r=e.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,r,n){var o=this.setupFullMustacheParams(e,r,n),i=e.path,s=i.parts[0];if(this.options.knownHelpers[s])this.opcode("invokeKnownHelper",o.length,s);else{if(this.options.knownHelpersOnly)throw new Dt.default("You specified knownHelpersOnly, but used the unknown helper "+s,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",o.length,i.original,Tt.default.helpers.simpleId(i))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=Tt.default.helpers.scopedId(e),o=!e.depth&&!n&&this.blockParamIndex(r);o?this.opcode("lookupBlockParam",o,e.parts):r?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var r=e.pairs,n=0,o=r.length;for(this.opcode("pushHash");n<o;n++)this.pushParam(r[n].value);for(;n--;)this.opcode("assignToHash",r[n].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:Xm.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var r=Tt.default.helpers.simpleId(e.path),n=r&&!!this.blockParamIndex(e.path.parts[0]),o=!n&&Tt.default.helpers.helperExpression(e),i=!n&&(o||r);if(i&&!o){var s=e.path.parts[0],a=this.options;a.knownHelpers[s]?o=!0:a.knownHelpersOnly&&(i=!1)}return o?"helper":i?"ambiguous":"simple"},pushParams:function(e){for(var r=0,n=e.length;r<n;r++)this.pushParam(e[r])},pushParam:function(e){var r=e.value!=null?e.value:e.original||"";if(this.stringParams)r.replace&&(r=r.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",r,e.type),e.type==="SubExpression"&&this.accept(e);else{if(this.trackIds){var n=void 0;if(e.parts&&!Tt.default.helpers.scopedId(e)&&!e.depth&&(n=this.blockParamIndex(e.parts[0])),n){var o=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,o)}else r=e.original||r,r.replace&&(r=r.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,r)}this.accept(e)}},setupFullMustacheParams:function(e,r,n,o){var i=e.params;return this.pushParams(i),this.opcode("pushProgram",r),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",o),i},blockParamIndex:function(e){for(var r=0,n=this.options.blockParams.length;r<n;r++){var o=this.options.blockParams[r],i=o&&Ft.indexOf(o,e);if(o&&i>=0)return[r,i]}}};function Jm(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new Dt.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);e=e||{},"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=r.parse(t,e),o=new r.Compiler().compile(n,e);return new r.JavaScriptCompiler().compile(o,e)}function Zm(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new Dt.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=Ft.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=void 0;function o(){var s=r.parse(t,e),a=new r.Compiler().compile(s,e),c=new r.JavaScriptCompiler().compile(a,e,void 0,!0);return r.template(c)}function i(s,a){return n||(n=o()),n.call(this,s,a)}return i._setup=function(s){return n||(n=o()),n._setup(s)},i._child=function(s,a,c,l){return n||(n=o()),n._child(s,a,c,l)},i}function Ma(t,e){if(t===e)return!0;if(Ft.isArray(t)&&Ft.isArray(e)&&t.length===e.length){for(var r=0;r<t.length;r++)if(!Ma(t[r],e[r]))return!1;return!0}}function La(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 Na=_(go=>{var Ra="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");go.encode=function(t){if(0<=t&&t<Ra.length)return Ra[t];throw new TypeError("Must be between 0 and 63: "+t)};go.decode=function(t){var e=65,r=90,n=97,o=122,i=48,s=57,a=43,c=47,l=26,f=52;return e<=t&&t<=r?t-e:n<=t&&t<=o?t-n+l:i<=t&&t<=s?t-i+f:t==a?62:t==c?63:-1}});var yo=_(vo=>{var za=Na(),bo=5,Ia=1<<bo,ja=Ia-1,Ta=Ia;function Qm(t){return t<0?(-t<<1)+1:(t<<1)+0}function e0(t){var e=(t&1)===1,r=t>>1;return e?-r:r}vo.encode=function(e){var r="",n,o=Qm(e);do n=o&ja,o>>>=bo,o>0&&(n|=Ta),r+=za.encode(n);while(o>0);return r};vo.decode=function(e,r,n){var o=e.length,i=0,s=0,a,c;do{if(r>=o)throw new Error("Expected more digits in base 64 VLQ value.");if(c=za.decode(e.charCodeAt(r++)),c===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));a=!!(c&Ta),c&=ja,i=i+(c<<s),s+=bo}while(a);n.value=e0(i),n.rest=r}});var lt=_(U=>{function t0(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}U.getArg=t0;var Da=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r0=/^data:.+\,.+$/;function qt(t){var e=t.match(Da);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}U.urlParse=qt;function st(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}U.urlGenerate=st;function ko(t){var e=t,r=qt(t);if(r){if(!r.path)return t;e=r.path}for(var n=U.isAbsolute(e),o=e.split(/\/+/),i,s=0,a=o.length-1;a>=0;a--)i=o[a],i==="."?o.splice(a,1):i===".."?s++:s>0&&(i===""?(o.splice(a+1,s),s=0):(o.splice(a,2),s--));return e=o.join("/"),e===""&&(e=n?"/":"."),r?(r.path=e,st(r)):e}U.normalize=ko;function Fa(t,e){t===""&&(t="."),e===""&&(e=".");var r=qt(e),n=qt(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),st(r);if(r||e.match(r0))return e;if(n&&!n.host&&!n.path)return n.host=e,st(n);var o=e.charAt(0)==="/"?e:ko(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=o,st(n)):o}U.join=Fa;U.isAbsolute=function(t){return t.charAt(0)==="/"||Da.test(t)};function n0(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var n=t.lastIndexOf("/");if(n<0||(t=t.slice(0,n),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}U.relative=n0;var Ba=function(){var t=Object.create(null);return!("__proto__"in t)}();function qa(t){return t}function o0(t){return Va(t)?"$"+t:t}U.toSetString=Ba?qa:o0;function i0(t){return Va(t)?t.slice(1):t}U.fromSetString=Ba?qa:i0;function Va(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 s0(t,e,r){var n=at(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:at(t.name,e.name)}U.compareByOriginalPositions=s0;function a0(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=at(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:at(t.name,e.name)}U.compareByGeneratedPositionsDeflated=a0;function at(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function l0(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=at(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:at(t.name,e.name)}U.compareByGeneratedPositionsInflated=l0;function c0(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}U.parseSourceMapInput=c0;function u0(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=qt(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var o=n.path.lastIndexOf("/");o>=0&&(n.path=n.path.substring(0,o+1))}e=Fa(st(n),e)}return ko(e)}U.computeSourceURL=u0});var So=_(Ha=>{var xo=lt(),wo=Object.prototype.hasOwnProperty,Ve=typeof Map<"u";function ke(){this._array=[],this._set=Ve?new Map:Object.create(null)}ke.fromArray=function(e,r){for(var n=new ke,o=0,i=e.length;o<i;o++)n.add(e[o],r);return n};ke.prototype.size=function(){return Ve?this._set.size:Object.getOwnPropertyNames(this._set).length};ke.prototype.add=function(e,r){var n=Ve?e:xo.toSetString(e),o=Ve?this.has(e):wo.call(this._set,n),i=this._array.length;(!o||r)&&this._array.push(e),o||(Ve?this._set.set(e,i):this._set[n]=i)};ke.prototype.has=function(e){if(Ve)return this._set.has(e);var r=xo.toSetString(e);return wo.call(this._set,r)};ke.prototype.indexOf=function(e){if(Ve){var r=this._set.get(e);if(r>=0)return r}else{var n=xo.toSetString(e);if(wo.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')};ke.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};ke.prototype.toArray=function(){return this._array.slice()};Ha.ArraySet=ke});var Ga=_(Ua=>{var Wa=lt();function f0(t,e){var r=t.generatedLine,n=e.generatedLine,o=t.generatedColumn,i=e.generatedColumn;return n>r||n==r&&i>=o||Wa.compareByGeneratedPositionsInflated(t,e)<=0}function Fr(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Fr.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};Fr.prototype.add=function(e){f0(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};Fr.prototype.toArray=function(){return this._sorted||(this._array.sort(Wa.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Ua.MappingList=Fr});var $o=_(Ka=>{var Vt=yo(),F=lt(),Br=So().ArraySet,p0=Ga().MappingList;function se(t){t||(t={}),this._file=F.getArg(t,"file",null),this._sourceRoot=F.getArg(t,"sourceRoot",null),this._skipValidation=F.getArg(t,"skipValidation",!1),this._sources=new Br,this._names=new Br,this._mappings=new p0,this._sourcesContents=null}se.prototype._version=3;se.fromSourceMap=function(e){var r=e.sourceRoot,n=new se({file:e.file,sourceRoot:r});return e.eachMapping(function(o){var i={generated:{line:o.generatedLine,column:o.generatedColumn}};o.source!=null&&(i.source=o.source,r!=null&&(i.source=F.relative(r,i.source)),i.original={line:o.originalLine,column:o.originalColumn},o.name!=null&&(i.name=o.name)),n.addMapping(i)}),e.sources.forEach(function(o){var i=o;r!==null&&(i=F.relative(r,o)),n._sources.has(i)||n._sources.add(i);var s=e.sourceContentFor(o);s!=null&&n.setSourceContent(o,s)}),n};se.prototype.addMapping=function(e){var r=F.getArg(e,"generated"),n=F.getArg(e,"original",null),o=F.getArg(e,"source",null),i=F.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,o,i),o!=null&&(o=String(o),this._sources.has(o)||this._sources.add(o)),i!=null&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:o,name:i})};se.prototype.setSourceContent=function(e,r){var n=e;this._sourceRoot!=null&&(n=F.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[F.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[F.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};se.prototype.applySourceMap=function(e,r,n){var o=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);o=e.file}var i=this._sourceRoot;i!=null&&(o=F.relative(i,o));var s=new Br,a=new Br;this._mappings.unsortedForEach(function(c){if(c.source===o&&c.originalLine!=null){var l=e.originalPositionFor({line:c.originalLine,column:c.originalColumn});l.source!=null&&(c.source=l.source,n!=null&&(c.source=F.join(n,c.source)),i!=null&&(c.source=F.relative(i,c.source)),c.originalLine=l.line,c.originalColumn=l.column,l.name!=null&&(c.name=l.name))}var f=c.source;f!=null&&!s.has(f)&&s.add(f);var u=c.name;u!=null&&!a.has(u)&&a.add(u)},this),this._sources=s,this._names=a,e.sources.forEach(function(c){var l=e.sourceContentFor(c);l!=null&&(n!=null&&(c=F.join(n,c)),i!=null&&(c=F.relative(i,c)),this.setSourceContent(c,l))},this)};se.prototype._validateMapping=function(e,r,n,o){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!o)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:o}))}};se.prototype._serializeMappings=function(){for(var e=0,r=1,n=0,o=0,i=0,s=0,a="",c,l,f,u,h=this._mappings.toArray(),d=0,m=h.length;d<m;d++){if(l=h[d],c="",l.generatedLine!==r)for(e=0;l.generatedLine!==r;)c+=";",r++;else if(d>0){if(!F.compareByGeneratedPositionsInflated(l,h[d-1]))continue;c+=","}c+=Vt.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(u=this._sources.indexOf(l.source),c+=Vt.encode(u-s),s=u,c+=Vt.encode(l.originalLine-1-o),o=l.originalLine-1,c+=Vt.encode(l.originalColumn-n),n=l.originalColumn,l.name!=null&&(f=this._names.indexOf(l.name),c+=Vt.encode(f-i),i=f)),a+=c}return a};se.prototype._generateSourcesContent=function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=F.relative(r,n));var o=F.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,o)?this._sourcesContents[o]:null},this)};se.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};se.prototype.toString=function(){return JSON.stringify(this.toJSON())};Ka.SourceMapGenerator=se});var Ya=_(He=>{He.GREATEST_LOWER_BOUND=1;He.LEAST_UPPER_BOUND=2;function _o(t,e,r,n,o,i){var s=Math.floor((e-t)/2)+t,a=o(r,n[s],!0);return a===0?s:a>0?e-s>1?_o(s,e,r,n,o,i):i==He.LEAST_UPPER_BOUND?e<n.length?e:-1:s:s-t>1?_o(t,s,r,n,o,i):i==He.LEAST_UPPER_BOUND?s:t<0?-1:t}He.search=function(e,r,n,o){if(r.length===0)return-1;var i=_o(-1,r.length,e,r,n,o||He.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&n(r[i],r[i-1],!0)===0;)--i;return i}});var Ja=_(Xa=>{function Co(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function h0(t,e){return Math.round(t+Math.random()*(e-t))}function Eo(t,e,r,n){if(r<n){var o=h0(r,n),i=r-1;Co(t,o,n);for(var s=t[n],a=r;a<n;a++)e(t[a],s)<=0&&(i+=1,Co(t,i,a));Co(t,i+1,a);var c=i+1;Eo(t,e,r,c-1),Eo(t,e,c+1,n)}}Xa.quickSort=function(t,e){Eo(t,e,0,t.length-1)}});var Qa=_(qr=>{var v=lt(),Po=Ya(),ct=So().ArraySet,d0=yo(),Ht=Ja().quickSort;function R(t,e){var r=t;return typeof t=="string"&&(r=v.parseSourceMapInput(t)),r.sections!=null?new fe(r,e):new W(r,e)}R.fromSourceMap=function(t,e){return W.fromSourceMap(t,e)};R.prototype._version=3;R.prototype.__generatedMappings=null;Object.defineProperty(R.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});R.prototype.__originalMappings=null;Object.defineProperty(R.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});R.prototype._charIsMappingSeparator=function(e,r){var n=e.charAt(r);return n===";"||n===","};R.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};R.GENERATED_ORDER=1;R.ORIGINAL_ORDER=2;R.GREATEST_LOWER_BOUND=1;R.LEAST_UPPER_BOUND=2;R.prototype.eachMapping=function(e,r,n){var o=r||null,i=n||R.GENERATED_ORDER,s;switch(i){case R.GENERATED_ORDER:s=this._generatedMappings;break;case R.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;s.map(function(c){var l=c.source===null?null:this._sources.at(c.source);return l=v.computeSourceURL(a,l,this._sourceMapURL),{source:l,generatedLine:c.generatedLine,generatedColumn:c.generatedColumn,originalLine:c.originalLine,originalColumn:c.originalColumn,name:c.name===null?null:this._names.at(c.name)}},this).forEach(e,o)};R.prototype.allGeneratedPositionsFor=function(e){var r=v.getArg(e,"line"),n={source:v.getArg(e,"source"),originalLine:r,originalColumn:v.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var o=[],i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",v.compareByOriginalPositions,Po.LEAST_UPPER_BOUND);if(i>=0){var s=this._originalMappings[i];if(e.column===void 0)for(var a=s.originalLine;s&&s.originalLine===a;)o.push({line:v.getArg(s,"generatedLine",null),column:v.getArg(s,"generatedColumn",null),lastColumn:v.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++i];else for(var c=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==c;)o.push({line:v.getArg(s,"generatedLine",null),column:v.getArg(s,"generatedColumn",null),lastColumn:v.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++i]}return o};qr.SourceMapConsumer=R;function W(t,e){var r=t;typeof t=="string"&&(r=v.parseSourceMapInput(t));var n=v.getArg(r,"version"),o=v.getArg(r,"sources"),i=v.getArg(r,"names",[]),s=v.getArg(r,"sourceRoot",null),a=v.getArg(r,"sourcesContent",null),c=v.getArg(r,"mappings"),l=v.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);s&&(s=v.normalize(s)),o=o.map(String).map(v.normalize).map(function(f){return s&&v.isAbsolute(s)&&v.isAbsolute(f)?v.relative(s,f):f}),this._names=ct.fromArray(i.map(String),!0),this._sources=ct.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(f){return v.computeSourceURL(s,f,e)}),this.sourceRoot=s,this.sourcesContent=a,this._mappings=c,this._sourceMapURL=e,this.file=l}W.prototype=Object.create(R.prototype);W.prototype.consumer=R;W.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=v.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};W.fromSourceMap=function(e,r){var n=Object.create(W.prototype),o=n._names=ct.fromArray(e._names.toArray(),!0),i=n._sources=ct.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=r,n._absoluteSources=n._sources.toArray().map(function(d){return v.computeSourceURL(n.sourceRoot,d,r)});for(var s=e._mappings.toArray().slice(),a=n.__generatedMappings=[],c=n.__originalMappings=[],l=0,f=s.length;l<f;l++){var u=s[l],h=new Za;h.generatedLine=u.generatedLine,h.generatedColumn=u.generatedColumn,u.source&&(h.source=i.indexOf(u.source),h.originalLine=u.originalLine,h.originalColumn=u.originalColumn,u.name&&(h.name=o.indexOf(u.name)),c.push(h)),a.push(h)}return Ht(n.__originalMappings,v.compareByOriginalPositions),n};W.prototype._version=3;Object.defineProperty(W.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Za(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}W.prototype._parseMappings=function(e,r){for(var n=1,o=0,i=0,s=0,a=0,c=0,l=e.length,f=0,u={},h={},d=[],m=[],g,k,w,S,$;f<l;)if(e.charAt(f)===";")n++,f++,o=0;else if(e.charAt(f)===",")f++;else{for(g=new Za,g.generatedLine=n,S=f;S<l&&!this._charIsMappingSeparator(e,S);S++);if(k=e.slice(f,S),w=u[k],w)f+=k.length;else{for(w=[];f<S;)d0.decode(e,f,h),$=h.value,f=h.rest,w.push($);if(w.length===2)throw new Error("Found a source, but no line and column");if(w.length===3)throw new Error("Found a source and line, but no column");u[k]=w}g.generatedColumn=o+w[0],o=g.generatedColumn,w.length>1&&(g.source=a+w[1],a+=w[1],g.originalLine=i+w[2],i=g.originalLine,g.originalLine+=1,g.originalColumn=s+w[3],s=g.originalColumn,w.length>4&&(g.name=c+w[4],c+=w[4])),m.push(g),typeof g.originalLine=="number"&&d.push(g)}Ht(m,v.compareByGeneratedPositionsDeflated),this.__generatedMappings=m,Ht(d,v.compareByOriginalPositions),this.__originalMappings=d};W.prototype._findMapping=function(e,r,n,o,i,s){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[o]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[o]);return Po.search(e,r,i,s)};W.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};W.prototype.originalPositionFor=function(e){var r={generatedLine:v.getArg(e,"line"),generatedColumn:v.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",v.compareByGeneratedPositionsDeflated,v.getArg(e,"bias",R.GREATEST_LOWER_BOUND));if(n>=0){var o=this._generatedMappings[n];if(o.generatedLine===r.generatedLine){var i=v.getArg(o,"source",null);i!==null&&(i=this._sources.at(i),i=v.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var s=v.getArg(o,"name",null);return s!==null&&(s=this._names.at(s)),{source:i,line:v.getArg(o,"originalLine",null),column:v.getArg(o,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}};W.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};W.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var o=e;this.sourceRoot!=null&&(o=v.relative(this.sourceRoot,o));var i;if(this.sourceRoot!=null&&(i=v.urlParse(this.sourceRoot))){var s=o.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(s))return this.sourcesContent[this._sources.indexOf(s)];if((!i.path||i.path=="/")&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(r)return null;throw new Error('"'+o+'" is not in the SourceMap.')};W.prototype.generatedPositionFor=function(e){var r=v.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:v.getArg(e,"line"),originalColumn:v.getArg(e,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",v.compareByOriginalPositions,v.getArg(e,"bias",R.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===n.source)return{line:v.getArg(i,"generatedLine",null),column:v.getArg(i,"generatedColumn",null),lastColumn:v.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};qr.BasicSourceMapConsumer=W;function fe(t,e){var r=t;typeof t=="string"&&(r=v.parseSourceMapInput(t));var n=v.getArg(r,"version"),o=v.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new ct,this._names=new ct;var i={line:-1,column:0};this._sections=o.map(function(s){if(s.url)throw new Error("Support for url field in sections not implemented.");var a=v.getArg(s,"offset"),c=v.getArg(a,"line"),l=v.getArg(a,"column");if(c<i.line||c===i.line&&l<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=a,{generatedOffset:{generatedLine:c+1,generatedColumn:l+1},consumer:new R(v.getArg(s,"map"),e)}})}fe.prototype=Object.create(R.prototype);fe.prototype.constructor=R;fe.prototype._version=3;Object.defineProperty(fe.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}});fe.prototype.originalPositionFor=function(e){var r={generatedLine:v.getArg(e,"line"),generatedColumn:v.getArg(e,"column")},n=Po.search(r,this._sections,function(i,s){var a=i.generatedLine-s.generatedOffset.generatedLine;return a||i.generatedColumn-s.generatedOffset.generatedColumn}),o=this._sections[n];return o?o.consumer.originalPositionFor({line:r.generatedLine-(o.generatedOffset.generatedLine-1),column:r.generatedColumn-(o.generatedOffset.generatedLine===r.generatedLine?o.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};fe.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};fe.prototype.sourceContentFor=function(e,r){for(var n=0;n<this._sections.length;n++){var o=this._sections[n],i=o.consumer.sourceContentFor(e,!0);if(i)return i}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};fe.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(v.getArg(e,"source"))!==-1){var o=n.consumer.generatedPositionFor(e);if(o){var i={line:o.line+(n.generatedOffset.generatedLine-1),column:o.column+(n.generatedOffset.generatedLine===o.line?n.generatedOffset.generatedColumn-1:0)};return i}}}return{line:null,column:null}};fe.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var o=this._sections[n],i=o.consumer._generatedMappings,s=0;s<i.length;s++){var a=i[s],c=o.consumer._sources.at(a.source);c=v.computeSourceURL(o.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var l=null;a.name&&(l=o.consumer._names.at(a.name),this._names.add(l),l=this._names.indexOf(l));var f={source:c,generatedLine:a.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(o.generatedOffset.generatedLine===a.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:l};this.__generatedMappings.push(f),typeof f.originalLine=="number"&&this.__originalMappings.push(f)}Ht(this.__generatedMappings,v.compareByGeneratedPositionsDeflated),Ht(this.__originalMappings,v.compareByOriginalPositions)};qr.IndexedSourceMapConsumer=fe});var tl=_(el=>{var m0=$o().SourceMapGenerator,Vr=lt(),g0=/(\r?\n)/,b0=10,ut="$$$isSourceNode$$$";function re(t,e,r,n,o){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=o??null,this[ut]=!0,n!=null&&this.add(n)}re.fromStringWithSourceMap=function(e,r,n){var o=new re,i=e.split(g0),s=0,a=function(){var h=m(),d=m()||"";return h+d;function m(){return s<i.length?i[s++]:void 0}},c=1,l=0,f=null;return r.eachMapping(function(h){if(f!==null)if(c<h.generatedLine)u(f,a()),c++,l=0;else{var d=i[s]||"",m=d.substr(0,h.generatedColumn-l);i[s]=d.substr(h.generatedColumn-l),l=h.generatedColumn,u(f,m),f=h;return}for(;c<h.generatedLine;)o.add(a()),c++;if(l<h.generatedColumn){var d=i[s]||"";o.add(d.substr(0,h.generatedColumn)),i[s]=d.substr(h.generatedColumn),l=h.generatedColumn}f=h},this),s<i.length&&(f&&u(f,a()),o.add(i.splice(s).join(""))),r.sources.forEach(function(h){var d=r.sourceContentFor(h);d!=null&&(n!=null&&(h=Vr.join(n,h)),o.setSourceContent(h,d))}),o;function u(h,d){if(h===null||h.source===void 0)o.add(d);else{var m=n?Vr.join(n,h.source):h.source;o.add(new re(h.originalLine,h.originalColumn,m,d,h.name))}}};re.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[ut]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};re.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[ut]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};re.prototype.walk=function(e){for(var r,n=0,o=this.children.length;n<o;n++)r=this.children[n],r[ut]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};re.prototype.join=function(e){var r,n,o=this.children.length;if(o>0){for(r=[],n=0;n<o-1;n++)r.push(this.children[n]),r.push(e);r.push(this.children[n]),this.children=r}return this};re.prototype.replaceRight=function(e,r){var n=this.children[this.children.length-1];return n[ut]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this};re.prototype.setSourceContent=function(e,r){this.sourceContents[Vr.toSetString(e)]=r};re.prototype.walkSourceContents=function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][ut]&&this.children[r].walkSourceContents(e);for(var o=Object.keys(this.sourceContents),r=0,n=o.length;r<n;r++)e(Vr.fromSetString(o[r]),this.sourceContents[o[r]])};re.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};re.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},n=new m0(e),o=!1,i=null,s=null,a=null,c=null;return this.walk(function(l,f){r.code+=l,f.source!==null&&f.line!==null&&f.column!==null?((i!==f.source||s!==f.line||a!==f.column||c!==f.name)&&n.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:r.line,column:r.column},name:f.name}),i=f.source,s=f.line,a=f.column,c=f.name,o=!0):o&&(n.addMapping({generated:{line:r.line,column:r.column}}),i=null,o=!1);for(var u=0,h=l.length;u<h;u++)l.charCodeAt(u)===b0?(r.line++,r.column=0,u+1===h?(i=null,o=!1):o&&n.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:r.line,column:r.column},name:f.name})):r.column++}),this.walkSourceContents(function(l,f){n.setSourceContent(l,f)}),{code:r.code,map:n}};el.SourceNode=re});var rl=_(Hr=>{Hr.SourceMapGenerator=$o().SourceMapGenerator;Hr.SourceMapConsumer=Qa().SourceMapConsumer;Hr.SourceNode=tl().SourceNode});var sl=_((Wr,il)=>{"use strict";Wr.__esModule=!0;var Ao=X(),We=void 0;try{(typeof define!="function"||!define.amd)&&(nl=rl(),We=nl.SourceNode)}catch{}var nl;We||(We=function(t,e,r,n){this.src="",n&&this.add(n)},We.prototype={add:function(e){Ao.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){Ao.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function Lo(t,e,r){if(Ao.isArray(t)){for(var n=[],o=0,i=t.length;o<i;o++)n.push(e.wrap(t[o],r));return n}else if(typeof t=="boolean"||typeof t=="number")return t+"";return t}function ol(t){this.srcFile=t,this.source=[]}ol.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 We(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 We?e:(e=Lo(e,this,r),new We(r.start.line,r.start.column,this.srcFile,e))},functionCall:function(e,r,n){return n=this.generateList(n),this.wrap([e,r?"."+r+"(":"(",n,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var r=this,n=[];Object.keys(e).forEach(function(i){var s=Lo(e[i],r);s!=="undefined"&&n.push([r.quotedString(i),":",s])});var o=this.generateList(n);return o.prepend("{"),o.add("}"),o},generateList:function(e){for(var r=this.empty(),n=0,o=e.length;n<o;n++)n&&r.add(","),r.add(Lo(e[n],this));return r},generateArray:function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r}};Wr.default=ol;il.exports=Wr.default});var fl=_((Ur,ul)=>{"use strict";Ur.__esModule=!0;function cl(t){return t&&t.__esModule?t:{default:t}}var al=Er(),v0=oe(),Mo=cl(v0),y0=X(),k0=sl(),ll=cl(k0);function ft(t){this.value=t}function pt(){}pt.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=al.COMPILER_REVISION,r=al.REVISION_CHANGES[e];return[e,r]},appendToBuffer:function(e,r,n){return y0.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(e,r,n,o){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!o,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,r),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,s=void 0,a=void 0,c=void 0,l=void 0;for(c=0,l=i.length;c<l;c++)s=i[c],this.source.currentLocation=s.loc,a=a||s.loc,this[s.opcode].apply(this,s.args);if(this.source.currentLocation=a,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new Mo.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
|
+
`]),this.decorators.push("return fn;"),o?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend(`function(fn, props, container, depth0, data, blockParams, depths) {
|
|
12
12
|
`),this.decorators.push(`}
|
|
13
|
-
`),this.decorators=this.decorators.merge()));var
|
|
14
|
-
`,
|
|
13
|
+
`),this.decorators=this.decorators.merge()));var f=this.createFunctionContext(o);if(this.isChild)return f;var u={compiler:this.compilerInfo(),main:f};this.decorators&&(u.main_d=this.decorators,u.useDecorators=!0);var h=this.context,d=h.programs,m=h.decorators;for(c=0,l=d.length;c<l;c++)d[c]&&(u[c]=d[c],m[c]&&(u[c+"_d"]=m[c],u.useDecorators=!0));return this.environment.usePartial&&(u.usePartial=!0),this.options.data&&(u.useData=!0),this.useDepths&&(u.useDepths=!0),this.useBlockParams&&(u.useBlockParams=!0),this.options.compat&&(u.compat=!0),o?u.compilerOptions=this.options:(u.compiler=JSON.stringify(u.compiler),this.source.currentLocation={start:{line:1,column:0}},u=this.objectLiteral(u),r.srcName?(u=u.toStringWithSourceMap({file:r.destName}),u.map=u.map&&u.map.toString()):u=u.toString()),u},preamble:function(){this.lastContext=0,this.source=new ll.default(this.options.srcName),this.decorators=new ll.default(this.options.srcName)},createFunctionContext:function(e){var r=this,n="",o=this.stackVars.concat(this.registers.list);o.length>0&&(n+=", "+o.join(", "));var i=0;Object.keys(this.aliases).forEach(function(c){var l=r.aliases[c];l.children&&l.referenceCount>1&&(n+=", alias"+ ++i+"="+c,l.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var s=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&s.push("blockParams"),this.useDepths&&s.push("depths");var a=this.mergeSource(n);return e?(s.push(a),Function.apply(this,s)):this.source.wrap(["function(",s.join(","),`) {
|
|
14
|
+
`,a,"}"])},mergeSource:function(e){var r=this.environment.isSimple,n=!this.forceBuffer,o=void 0,i=void 0,s=void 0,a=void 0;return this.source.each(function(c){c.appendToBuffer?(s?c.prepend(" + "):s=c,a=c):(s&&(i?s.prepend("buffer += "):o=!0,a.add(";"),s=a=void 0),i=!0,r||(n=!1))}),n?s?(s.prepend("return "),a.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(o?"":this.initializeBuffer()),s?(s.prepend("return buffer + "),a.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(o?"":`;
|
|
15
15
|
`)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return`
|
|
16
16
|
lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
17
17
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
@@ -19,5 +19,405 @@ Expecting `+we.join(", ")+", got '"+(this.terminals_[C]||C)+"'":mt="Parse error
|
|
|
19
19
|
}
|
|
20
20
|
return undefined
|
|
21
21
|
}
|
|
22
|
-
`.trim()},blockValue:function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var 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 s=0;!i&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[s++])):this.pushContext(),this.resolvePath("context",e,s,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,s){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(oo(this.options.strict&&s,this,r,n,e));return}for(var u=r.length;n<u;n++)this.replaceStack(function(l){var o=a.nameLookup(l,r[n],e);return i?[" && ",o]:[" != null ? ",o," : ",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(),s=this.setupHelper(e,r),a=[];n&&a.push(s.name),a.push(i),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var u=["(",this.itemsSeparatedBy(a,"||"),")"],l=this.source.functionCall(u,"call",s.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),s=this.lastHelper=this.nameLookup("helpers",e,"helper"),a=["(","(helper = ",s," || ",n,")"];this.options.strict||(a[0]="(helper = ",a.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",a,i.paramsInit?["),(",i.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",i.callParams)," : helper))"])},invokePartial:function(e,r,n){var i=[],s=this.setupParams(r,1,i);e&&(r=this.popStack(),delete s.name),n&&(s.indent=JSON.stringify(n)),s.helpers="helpers",s.partials="partials",s.decorators="container.decorators",e?i.unshift(r):i.unshift(this.nameLookup("partials",r,"partial")),this.options.compat&&(s.depths="depths"),s=this.objectLiteral(s),i.push(s),this.push(this.source.functionCall("container.invokePartial","",i))},assignToHash:function(e){var r=this.popStack(),n=void 0,i=void 0,s=void 0;this.trackIds&&(s=this.popStack()),this.stringParams&&(i=this.popStack(),n=this.popStack());var a=this.hash;n&&(a.contexts[e]=n),i&&(a.types[e]=i),s&&(a.ids[e]=s),a.values[e]=r},pushId:function(e,r,n){e==="BlockParam"?this.pushStackLiteral("blockParams["+r[0]+"].path["+r[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):e==="PathExpression"?this.pushString(r):e==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:le,compileChildren:function(e,r){for(var n=e.children,i=void 0,s=void 0,a=0,u=n.length;a<u;a++){i=n[a],s=new this.compiler;var l=this.matchExistingProgram(i);if(l==null){this.context.programs.push("");var o=this.context.programs.length;i.index=o,i.name="program"+o,this.context.programs[o]=s.compile(i,r,this.context,!this.precompile),this.context.decorators[o]=s.decorators,this.context.environments[o]=i,this.useDepths=this.useDepths||s.useDepths,this.useBlockParams=this.useBlockParams||s.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 ue||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new ue(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,s=void 0;if(!this.isInline())throw new ar.default("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof ue)n=[a.value],r=["(",n],s=!0;else{i=!0;var u=this.incrStack();r=["((",this.push(u)," = ",a,")"],n=this.topStack()}var l=e.call(this,n);s||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 ue)this.compileStack.push(i);else{var s=this.incrStack();this.pushSource([s," = ",i,";"]),this.compileStack.push(s)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var r=this.isInline(),n=(r?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof ue)return n.value;if(!r){if(!this.stackSlot)throw new ar.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 ue?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=[],s=this.setupHelperArgs(r,e,i,n),a=this.nameLookup("helpers",r,"helper"),u=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:i,paramsInit:s,name:a,callParams:[u].concat(i)}},setupParams:function(e,r,n){var i={},s=[],a=[],u=[],l=!n,o=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 h=this.popStack(),c=this.popStack();(c||h)&&(i.fn=c||"container.noop",i.inverse=h||"container.noop");for(var p=r;p--;)o=this.popStack(),n[p]=o,this.trackIds&&(u[p]=this.popStack()),this.stringParams&&(a[p]=this.popStack(),s[p]=this.popStack());return l&&(i.args=this.source.generateArray(n)),this.trackIds&&(i.ids=this.source.generateArray(u)),this.stringParams&&(i.types=this.source.generateArray(a),i.contexts=this.source.generateArray(s)),this.options.data&&(i.data="data"),this.useBlockParams&&(i.blockParams="blockParams"),i},setupHelperArgs:function(e,r,n,i){var s=this.setupParams(e,r,n);return s.loc=JSON.stringify(this.source.currentLocation),s=this.objectLiteral(s),i?(this.useRegister("options"),n.push("options"),["options=",s]):n?(n.push(s),""):s}};(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=le.RESERVED_WORDS={},r=0,n=t.length;r<n;r++)e[t[r]]=!0})();le.isValidJavaScriptVariableName=function(t){return!le.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)};function oo(t,e,r,n,i){var s=e.popStack(),a=r.length;for(t&&a--;n<a;n++)s=e.nameLookup(s,r[n],i);return t?[e.aliasable("container.strict"),"(",s,", ",e.quotedString(r[n]),", ",JSON.stringify(e.source.currentLocation)," )"]:s}ut.default=le;ii.exports=ut.default});var ui=g((lt,oi)=>{"use strict";lt.__esModule=!0;function Le(t){return t&&t.__esModule?t:{default:t}}var uo=ln(),lo=Le(uo),co=qt(),ho=Le(co),or=kn(),ur=En(),po=si(),fo=Le(po),go=$e(),mo=Le(go),vo=It(),_o=Le(vo),So=lo.default.create;function ai(){var t=So();return t.compile=function(e,r){return ur.compile(e,r,t)},t.precompile=function(e,r){return ur.precompile(e,r,t)},t.AST=ho.default,t.Compiler=ur.Compiler,t.JavaScriptCompiler=fo.default,t.Parser=or.parser,t.parse=or.parse,t.parseWithoutProcessing=or.parseWithoutProcessing,t}var ce=ai();ce.create=ai;_o.default(ce);ce.Visitor=mo.default;ce.default=ce;lt.default=ce;oi.exports=lt.default});var li=g(ct=>{"use strict";ct.__esModule=!0;ct.print=Po;ct.PrintVisitor=y;function yo(t){return t&&t.__esModule?t:{default:t}}var bo=$e(),ko=yo(bo);function Po(t){return new y().accept(t)}function y(){this.padding=0}y.prototype=new ko.default;y.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r<n;r++)e+=" ";return e+=t+`
|
|
23
|
-
`,e};y.prototype.Program=function(t){var e="",r=t.body,n=void 0,i=void 0;if(t.blockParams){var s="BLOCK PARAMS: [";for(n=0,i=t.blockParams.length;n<i;n++)s+=" "+t.blockParams[n];s+=" ]",e+=this.pad(s)}for(n=0,i=r.length;n<i;n++)e+=this.accept(r[n]);return this.padding--,e};y.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};y.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};y.prototype.BlockStatement=y.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};y.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+" }}")};y.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+" }}")};y.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};y.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};y.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,i=0,s=e.length;i<s;i++)r.push(this.accept(e[i]));return e="["+r.join(", ")+"]",n=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+n};y.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};y.prototype.StringLiteral=function(t){return'"'+t.value+'"'};y.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};y.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};y.prototype.UndefinedLiteral=function(){return"UNDEFINED"};y.prototype.NullLiteral=function(){return"NULL"};y.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(", ")+"}"};y.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var lr=g((nu,pi)=>{var ht=ui().default,hi=li();ht.PrintVisitor=hi.PrintVisitor;ht.print=hi.print;pi.exports=ht;function ci(t,e){var r=ee("fs"),n=r.readFileSync(e,"utf8");t.exports=ht.compile(n)}typeof ee<"u"&&ee.extensions&&(ee.extensions[".handlebars"]=ci,ee.extensions[".hbs"]=ci)});var he=class extends Error{name="BaseThrowable";constructor(e,r=null){super(e),r&&(this.stack=r)}},Me=class extends he{name="BaseError"},pe=class extends he{name="BaseWarning"},te=class extends he{name="PotentialLoopError"};var ft=br(lr()),cr=10,pt=class extends ft.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}},hr=class extends pt{CommentStatement(e){return this.onCollect(e.value),super.CommentStatement(e)}},pr=class extends pt{PathExpression(e){return this.onCollect(e.original),super.PathExpression(e)}},fr=class extends hr{match=gr.macro};function mr(t,e){return t.hasOwnProperty(e)}function fi(t){switch(typeof t){case"string":return`'${t}'`;case"object":return JSON.stringify(t);default:return String(t)}}function di(t={}){return{helpers:t?.helpers??null}}function Co(t){return[...new Set(t)]}function gi(t){return ft.default.parse(t)}function mi(t){return ft.default.compile(t)}function vi(t,e={},r={}){return t(e,{helpers:r})}function Lo(t){let e=new pr().collect(t);return Co(e)}function dr(t,e=cr){if(e<=0)throw new te("Flext: Unable to get the model: The model is too deep");let[r,...n]=t?.split(".")??[],i={name:r};return n?.length>0&&(i.$=[dr(n?.join("."),e-1)]),i}function Eo(t,e=cr){let n={name:"root",$:[dr(t,e)]};return n.addPath=(i,s=cr)=>{let a=dr(i,s),u=n,l=a;for(let o=0;o<99;o++){if(!l)return;let h=u?.$??[],c=null;for(let d of h)l?.name===d?.name&&(c=d);if(!c){u.$=[...h,l];return}let[p]=l.$??[];u=c,l=p??null}},n}function _i(t){let[e,...r]=Lo(t),n=Eo(e);for(let i of r)n.addPath(i);return n}function xo(t){let e=a=>t?.match(a)??null,r=a=>{let u=a?.groups?.value??null;return{name:a?.groups?.name??u,value:u}},n=e(K.macroParam),i=e(K.macroNamedParam),s=e(K.macroSimpleParam);return n?r(n):i?r(i):s?r(s):null}function wo(t,e=!0){let r=t?.match(K.macroParams)??[],n=[];for(let i of r){let s=xo(i);if(s)n.push(s);else if(e)throw new pe("Flext: Unable to parse the macros: Bad token: "+fi(i))}return n}function Si(t,e=!0){let r=new fr().collect(t),n=[];for(let i of r){let s=i?.trim()?.match(K.macro)??null;if(!s&&e)throw new pe("Flext: Unable to parse the macros: Bad macro: "+fi(i));let a=s?.groups?.name??null,u=s?.groups?.params??null,l=wo(u,e);n.push({name:a,params:l})}return n}var K=class{static macro=/^@(?<name>.+?) (?<params>.+)$/;static macroParams=/(?<param>".+?")|(?<namedParam>[a-zA-Z0-9]+=".+?")|(?<simplaeParam>[a-zA-Z0-9]+)/gm;static macroParam=/^"(?<value>.+)"$/;static macroNamedParam=/^(?<name>.+)="(?<value>.+)"$/;static macroSimpleParam=/^(?<name>[a-zA-Z]+)$/},gr=class{static macro(e){return!!e?.trim()?.match(K.macro)}};var vr={};Ai(vr,{put:()=>ki});var yi=br(lr());function bi(t){let e=t?.args??[],[r,n]=e;return r??n??""}function Mo(t){return new yi.SafeString(`<span class="text-blue-500">${bi(t)}</span>`)}var ki=di({helpers:{noColor:bi,default:Mo}});var Ci="string",Pi=10,_r=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=gi(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=mi(this.ast);if(!n)throw new Me("Flext: Unable to get the HTML: No template");return vi(n,{...this.data,...e},{...this.helpers,...r})}get html(){return this.getHtml()}},Sr=class extends _r{useModule(...e){for(let r of e)this.addModule(r,vr[r]);return this}setTemplate(e){super.setTemplate(e);let r=Si(this.ast),n=c=>r?.filter(p=>p?.name===c)??null,i=c=>{let[p]=n(c),[d]=p?.params??null;return d?.value??null},s=i("v"),a=i("use"),u=i("lineHeight"),o=n("field")?.map(Ao)??null;s&&this.setVersion(s),u&&this.setLineHeight(Number(u)),o&&this.setFields(o);let h=a?.split(",")??null;return this.useModule(...h),this}setVersion(e){return this.version=e,this}setLineHeight(e){return this.lineHeight=e,this}setFields(e){return this.fields=e,this}addModule(e,r){let n=r?.helpers??{};for(let i in n){if(!mr(n,i))continue;let s=n[i],a=i==="default",u=(...l)=>s({args:l});a?this.addHelper(e,u):this.addHelper(e+":"+i,u)}return this}getDataModel(e=Pi){let r=a=>{for(let u in this.helpers)if(mr(this.helpers,u)&&a?.name===u)return!0;return!1},n=(a,u={},l=Pi)=>{if(l<=0)throw new te("Flext: Unable to get the data model: The data model is too deep");let o=u?.fieldName??null,h=this.fields?.find(_=>_?.name===o)??null,c=a?.name??null,p=h?.label??null,d=h?.type??Ci,m=!!h?.isRequired,S=a?.$??[],E=[];for(let _ of S){let q=_?.name??null;E.push(n(_,{fieldName:o+"."+q},l-1))}return{name:c,label:p,type:d,isRequired:m,$:E}};return(_i(this.ast)?.$??[]).filter(a=>!r(a)).map(a=>n(a,{fieldName:a?.name??null},e))}get model(){return this.getDataModel()}};function Ao(t){let e=t?.params??[],[r,...n]=e,i=o=>{let h=n?.find(c=>c?.name===o)??null;return h&&h?.value?h?.value??null:h&&h?.name?!0:null},s=r?.value??null,a=i("label"),u=i("type")??Ci,l=!!i("required");return{name:s,label:a,type:u,isRequired:l}}var du=Sr;export{Ci as DEFAULT_FIELD_TYPE,Pi as DEFAULT_MODEL_DEPTH,Sr as Flext,_r as SimpleFlext,du as default,Ao as macroToField};
|
|
22
|
+
`.trim()},blockValue:function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var o=this.popStack();n.splice(1,0,o),this.push(this.source.functionCall(r,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var n=this.topStack();r.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",r),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,r,n,o){var i=0;!o&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,n)},lookupBlockParam:function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},lookupData:function(e,r,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},resolvePath:function(e,r,n,o,i){var s=this;if(this.options.strict||this.options.assumeObjects){this.push(x0(this.options.strict&&i,this,r,n,e));return}for(var a=r.length;n<a;n++)this.replaceStack(function(c){var l=s.nameLookup(c,r[n],e);return o?[" && ",l]:[" != null ? ",l," : ",c]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,r){var n=this.nameLookup("decorators",r,"decorator"),o=this.setupHelperArgs(r,e);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",o])," || fn;"])},invokeHelper:function(e,r,n){var o=this.popStack(),i=this.setupHelper(e,r),s=[];n&&s.push(i.name),s.push(o),this.options.strict||s.push(this.aliasable("container.hooks.helperMissing"));var a=["(",this.itemsSeparatedBy(s,"||"),")"],c=this.source.functionCall(a,"call",i.callParams);this.push(c)},itemsSeparatedBy:function(e,r){var n=[];n.push(e[0]);for(var o=1;o<e.length;o++)n.push(r,e[o]);return n},invokeKnownHelper:function(e,r){var n=this.setupHelper(e,r);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(e,r){this.useRegister("helper");var n=this.popStack();this.emptyHash();var o=this.setupHelper(0,e,r),i=this.lastHelper=this.nameLookup("helpers",e,"helper"),s=["(","(helper = ",i," || ",n,")"];this.options.strict||(s[0]="(helper = ",s.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",s,o.paramsInit?["),(",o.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",o.callParams)," : helper))"])},invokePartial:function(e,r,n){var o=[],i=this.setupParams(r,1,o);e&&(r=this.popStack(),delete i.name),n&&(i.indent=JSON.stringify(n)),i.helpers="helpers",i.partials="partials",i.decorators="container.decorators",e?o.unshift(r):o.unshift(this.nameLookup("partials",r,"partial")),this.options.compat&&(i.depths="depths"),i=this.objectLiteral(i),o.push(i),this.push(this.source.functionCall("container.invokePartial","",o))},assignToHash:function(e){var r=this.popStack(),n=void 0,o=void 0,i=void 0;this.trackIds&&(i=this.popStack()),this.stringParams&&(o=this.popStack(),n=this.popStack());var s=this.hash;n&&(s.contexts[e]=n),o&&(s.types[e]=o),i&&(s.ids[e]=i),s.values[e]=r},pushId:function(e,r,n){e==="BlockParam"?this.pushStackLiteral("blockParams["+r[0]+"].path["+r[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):e==="PathExpression"?this.pushString(r):e==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:pt,compileChildren:function(e,r){for(var n=e.children,o=void 0,i=void 0,s=0,a=n.length;s<a;s++){o=n[s],i=new this.compiler;var c=this.matchExistingProgram(o);if(c==null){this.context.programs.push("");var l=this.context.programs.length;o.index=l,o.name="program"+l,this.context.programs[l]=i.compile(o,r,this.context,!this.precompile),this.context.decorators[l]=i.decorators,this.context.environments[l]=o,this.useDepths=this.useDepths||i.useDepths,this.useBlockParams=this.useBlockParams||i.useBlockParams,o.useDepths=this.useDepths,o.useBlockParams=this.useBlockParams}else o.index=c.index,o.name="program"+c.index,this.useDepths=this.useDepths||c.useDepths,this.useBlockParams=this.useBlockParams||c.useBlockParams}},matchExistingProgram:function(e){for(var r=0,n=this.context.environments.length;r<n;r++){var o=this.context.environments[r];if(o&&o.equals(e))return o}},programExpression:function(e){var r=this.environment.children[e],n=[r.index,"data",r.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof ft||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new ft(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var r=["("],n=void 0,o=void 0,i=void 0;if(!this.isInline())throw new Mo.default("replaceStack on non-inline");var s=this.popStack(!0);if(s instanceof ft)n=[s.value],r=["(",n],i=!0;else{o=!0;var a=this.incrStack();r=["((",this.push(a)," = ",s,")"],n=this.topStack()}var c=e.call(this,n);i||this.popStack(),o&&this.stackSlot--,this.push(r.concat(c,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var r=0,n=e.length;r<n;r++){var o=e[r];if(o instanceof ft)this.compileStack.push(o);else{var i=this.incrStack();this.pushSource([i," = ",o,";"]),this.compileStack.push(i)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var r=this.isInline(),n=(r?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof ft)return n.value;if(!r){if(!this.stackSlot)throw new Mo.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 ft?r.value:r},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var r=this.aliases[e];return r?(r.referenceCount++,r):(r=this.aliases[e]=this.source.wrap(e),r.aliasable=!0,r.referenceCount=1,r)},setupHelper:function(e,r,n){var o=[],i=this.setupHelperArgs(r,e,o,n),s=this.nameLookup("helpers",r,"helper"),a=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:o,paramsInit:i,name:s,callParams:[a].concat(o)}},setupParams:function(e,r,n){var o={},i=[],s=[],a=[],c=!n,l=void 0;c&&(n=[]),o.name=this.quotedString(e),o.hash=this.popStack(),this.trackIds&&(o.hashIds=this.popStack()),this.stringParams&&(o.hashTypes=this.popStack(),o.hashContexts=this.popStack());var f=this.popStack(),u=this.popStack();(u||f)&&(o.fn=u||"container.noop",o.inverse=f||"container.noop");for(var h=r;h--;)l=this.popStack(),n[h]=l,this.trackIds&&(a[h]=this.popStack()),this.stringParams&&(s[h]=this.popStack(),i[h]=this.popStack());return c&&(o.args=this.source.generateArray(n)),this.trackIds&&(o.ids=this.source.generateArray(a)),this.stringParams&&(o.types=this.source.generateArray(s),o.contexts=this.source.generateArray(i)),this.options.data&&(o.data="data"),this.useBlockParams&&(o.blockParams="blockParams"),o},setupHelperArgs:function(e,r,n,o){var i=this.setupParams(e,r,n);return i.loc=JSON.stringify(this.source.currentLocation),i=this.objectLiteral(i),o?(this.useRegister("options"),n.push("options"),["options=",i]):n?(n.push(i),""):i}};(function(){for(var t="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),e=pt.RESERVED_WORDS={},r=0,n=t.length;r<n;r++)e[t[r]]=!0})();pt.isValidJavaScriptVariableName=function(t){return!pt.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)};function x0(t,e,r,n,o){var i=e.popStack(),s=r.length;for(t&&s--;n<s;n++)i=e.nameLookup(i,r[n],o);return t?[e.aliasable("container.strict"),"(",i,", ",e.quotedString(r[n]),", ",JSON.stringify(e.source.currentLocation)," )"]:i}Ur.default=pt;ul.exports=Ur.default});var dl=_((Gr,hl)=>{"use strict";Gr.__esModule=!0;function Wt(t){return t&&t.__esModule?t:{default:t}}var w0=ma(),S0=Wt(w0),$0=ao(),_0=Wt($0),Oo=Pa(),Ro=Oa(),C0=fl(),E0=Wt(C0),P0=jr(),L0=Wt(P0),A0=no(),M0=Wt(A0),O0=S0.default.create;function pl(){var t=O0();return t.compile=function(e,r){return Ro.compile(e,r,t)},t.precompile=function(e,r){return Ro.precompile(e,r,t)},t.AST=_0.default,t.Compiler=Ro.Compiler,t.JavaScriptCompiler=E0.default,t.Parser=Oo.parser,t.parse=Oo.parse,t.parseWithoutProcessing=Oo.parseWithoutProcessing,t}var ht=pl();ht.create=pl;M0.default(ht);ht.Visitor=L0.default;ht.default=ht;Gr.default=ht;hl.exports=Gr.default});var ml=_(Kr=>{"use strict";Kr.__esModule=!0;Kr.print=I0;Kr.PrintVisitor=D;function R0(t){return t&&t.__esModule?t:{default:t}}var N0=jr(),z0=R0(N0);function I0(t){return new D().accept(t)}function D(){this.padding=0}D.prototype=new z0.default;D.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r<n;r++)e+=" ";return e+=t+`
|
|
23
|
+
`,e};D.prototype.Program=function(t){var e="",r=t.body,n=void 0,o=void 0;if(t.blockParams){var i="BLOCK PARAMS: [";for(n=0,o=t.blockParams.length;n<o;n++)i+=" "+t.blockParams[n];i+=" ]",e+=this.pad(i)}for(n=0,o=r.length;n<o;n++)e+=this.accept(r[n]);return this.padding--,e};D.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};D.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};D.prototype.BlockStatement=D.prototype.DecoratorBlock=function(t){var e="";return e+=this.pad((t.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,e+=this.pad(this.SubExpression(t)),t.program&&(e+=this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--),t.inverse&&(t.program&&this.padding++,e+=this.pad("{{^}}"),this.padding++,e+=this.accept(t.inverse),this.padding--,t.program&&this.padding--),this.padding--,e};D.prototype.PartialStatement=function(t){var e="PARTIAL:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),this.pad("{{> "+e+" }}")};D.prototype.PartialBlockStatement=function(t){var e="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),e+=" "+this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--,this.pad("{{> "+e+" }}")};D.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};D.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};D.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,o=0,i=e.length;o<i;o++)r.push(this.accept(e[o]));return e="["+r.join(", ")+"]",n=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+n};D.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};D.prototype.StringLiteral=function(t){return'"'+t.value+'"'};D.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};D.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};D.prototype.UndefinedLiteral=function(){return"UNDEFINED"};D.prototype.NullLiteral=function(){return"NULL"};D.prototype.Hash=function(t){for(var e=t.pairs,r=[],n=0,o=e.length;n<o;n++)r.push(this.accept(e[n]));return"HASH{"+r.join(", ")+"}"};D.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var No=_((cb,vl)=>{var Yr=dl().default,bl=ml();Yr.PrintVisitor=bl.PrintVisitor;Yr.print=bl.print;vl.exports=Yr;function gl(t,e){var r=Ue("fs"),n=r.readFileSync(e,"utf8");t.exports=Yr.compile(n)}typeof Ue<"u"&&Ue.extensions&&(Ue.extensions[".handlebars"]=gl,Ue.extensions[".hbs"]=gl)});var mt=class extends Error{name="BaseThrowable";constructor(e,r=null){super(e),r&&(this.stack=r)}},gt=class extends mt{name="BaseError"},bt=class extends mt{name="BaseWarning"},Ge=class extends mt{name="PotentialLoopError"};var Xt="default",on="preflights",jl="shortcuts",Tl="imports",Dl={[Tl]:-200,[on]:-100,[jl]:-10,[Xt]:0},cn=/[\\:]?[\s'"`;{}]+/g;function Fl(t){return t.split(cn)}var Bl={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return Fl(t)}};function O(t=[]){return Array.isArray(t)?t:[t]}function le(t){return Array.from(new Set(t))}function Yo(t,e){return t.reduce((r,n)=>(r.findIndex(i=>e(n,i))===-1&&r.push(n),r),[])}function I(t){return typeof t=="string"}var Zt=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 tn(t){return t instanceof Zt}function Ke(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Se(t){let e=t.length,r=-1,n,o="",i=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){o+="\uFFFD";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&e===1&&n===45){o+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=t.charAt(r);continue}o+=`\\${t.charAt(r)}`}return o}var rn=Se;function ql(){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 Vl=/[\w\u00A0-\uFFFF%-?]/;function ri(t=""){return Vl.test(t)}function Hl(t){return typeof t=="function"?{match:t}:t}function Xo(t){return t.length===3}function vt(t){return t!=null}function Wl(){}var sn=class{_map=new Map;get(e,r){let n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.has(r)||o.set(r,n),o.get(r)}set(e,r,n){let o=this._map.get(e);return o||(o=new Map,this._map.set(e,o)),o.set(r,n),this}has(e,r){return this._map.get(e)?.has(r)}delete(e,r){return this._map.get(e)?.delete(r)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>e(i,r,o)))}},an=class extends Map{getFallback(e,r){let n=this.get(e);return n===void 0?(this.set(e,r),r):n}map(e){let r=[];return this.forEach((n,o)=>{r.push(e(n,o))}),r}flatMap(e){let r=[];return this.forEach((n,o)=>{r.push(...e(n,o))}),r}};function Qt(t){return I(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function Ul(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>Qt(e)):[t]:[Qt(t)]}function Gl(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(t[o][0]===e&&t[o][1]===r)return!1;return!0})}function nn(t){return t==null?"":Gl(t).map(([e,r])=>r!=null&&typeof r!="function"?`${e}:${r};`:void 0).filter(Boolean).join("")}function Kt(t){return t&&typeof t=="object"&&!Array.isArray(t)}function er(t,e,r=!1){let n=t,o=e;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];let i={...n};return Kt(n)&&Kt(o)&&Object.keys(o).forEach(s=>{Kt(n[s])&&Kt(o[s])||Array.isArray(n[s])&&Array.isArray(o[s])?i[s]=er(n[s],o[s],r):Object.assign(i,{[s]:o[s]})}),i}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 Kl(t){return I(t[0])}function Yl(t){return I(t[0])}var Yt={};function Xl(t=["-",":"]){let e=t.join("|");return Yt[e]||(Yt[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Yt[e].lastIndex=0,Yt[e]}function Jl(t,e=["-",":"],r=5){let n=Xl(e),o,i=t.toString(),s=new Set,a=new Map;do o=!1,i=i.replace(n,(l,f,u,h,d)=>{if(!e.includes(u))return l;o=!0,s.add(f+u);let m=d+f.length+u.length+1,g={length:l.length,items:[]};a.set(d,g);for(let k of[...h.matchAll(/\S+/g)]){let w=m+k.index,S=a.get(w)?.items;S?a.delete(w):S=[{offset:w,length:k[0].length,className:k[0]}];for(let $ of S)$.className=$.className==="~"?f:$.className.replace(/^(!?)(.*)/,`$1${f}${u}$2`),g.items.push($)}return"$".repeat(l.length)}),r-=1;while(o&&r);let c;if(typeof t=="string"){c="";let l=0;for(let[f,u]of a)c+=t.slice(l,f),c+=u.items.map(h=>h.className).join(" "),l=f+u.length;c+=t.slice(l)}else{c=t;for(let[l,f]of a)c.overwrite(l,l+f.length,f.items.map(u=>u.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:a,get expanded(){return c.toString()}}}function Zl(t,e=["-",":"],r=5){let n=Jl(t,e,r);return typeof t=="string"?n.expanded:t}var Jo=new Set;function Ql(t){Jo.has(t)||(console.warn("[unocss]",t),Jo.add(t))}function ni(t){return O(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var Zo="_uno_resolved";async function ec(t){let e=typeof t=="function"?await t():await t;if(Zo in e)return e;e={...e},Object.defineProperty(e,Zo,{value:!0,enumerable:!1});let r=e.shortcuts?ni(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){let n=o=>{o[2]||(o[2]={});let i=o[2];i.prefix==null&&e.prefix&&(i.prefix=O(e.prefix)),i.layer==null&&e.layer&&(i.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function oi(t){let e=await ec(t);if(!e.presets)return[e];let r=(await Promise.all((e.presets||[]).flatMap(O).flatMap(oi))).flat();return[e,...r]}function tc(t){if(t.length===0)return{};let e=[],r=[],n=!1,o=[],i=[];for(let a of t){if(a.pipeline===!1){n=!0;break}else a.pipeline?.include&&e.push(a.pipeline.include),a.pipeline?.exclude&&r.push(a.pipeline.exclude);a.filesystem&&o.push(a.filesystem),a.inline&&i.push(a.inline)}let s={pipeline:n?!1:{include:le(ei(...e)),exclude:le(ei(...r))}};return o.length&&(s.filesystem=le(o.flat())),i.length&&(s.inline=le(i.flat())),s}async function Qo(t={},e={}){let r=Object.assign({},e,t),n=Yo((await Promise.all((r.presets||[]).flatMap(O).flatMap(oi))).flat(),(b,A)=>b.name===A.name),o=[...n.filter(b=>b.enforce==="pre"),...n.filter(b=>!b.enforce),...n.filter(b=>b.enforce==="post")],i=[...o,r],s=[...i].reverse(),a=Object.assign({},Dl,...i.map(b=>b.layers));function c(b){return le(i.flatMap(A=>O(A[b]||[])))}let l=c("extractors"),f=s.find(b=>b.extractorDefault!==void 0)?.extractorDefault;f===void 0&&(f=Bl),f&&!l.includes(f)&&l.unshift(f),l.sort((b,A)=>(b.order||0)-(A.order||0));let u=c("rules"),h={},d=u.length,m=u.filter(b=>Kl(b)?(O(b[2]?.prefix||"").forEach(x=>{h[x+b[0]]=b}),!1):!0).reverse(),g={templates:le(i.flatMap(b=>O(b.autocomplete?.templates))),extractors:i.flatMap(b=>O(b.autocomplete?.extractors)).sort((b,A)=>(b.order||0)-(A.order||0)),shorthands:nc(i.map(b=>b.autocomplete?.shorthands||{}))},k=c("separators");k.length||(k=[":","-"]);let w=c("content"),S=tc(w),$={mergeSelectors:!0,warn:!0,sortLayers:b=>b,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:rc(i.map(b=>b.theme)),rules:u,rulesSize:d,rulesDynamic:m,rulesStaticMap:h,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:g,variants:c("variants").map(Hl).sort((b,A)=>(b.order||0)-(A.order||0)),shortcuts:ni(c("shortcuts")).reverse(),extractors:l,safelist:c("safelist"),separators:k,details:r.details??r.envMode==="dev",content:S,transformers:Yo(c("transformers"),(b,A)=>b.name===A.name)},C=c("extendTheme");for(let b of C)$.theme=b($.theme,$)||$.theme;for(let b of i)b?.configResolved?.($);return $}function rc(t){return t.map(e=>e?Jt(e):{}).reduce((e,r)=>er(e,r),{})}function nc(t){return t.reduce((e,r)=>{let n={};for(let o in r){let i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...e,...n}},{})}function ei(...t){return t.flatMap(oc)}function oc(t){return Array.isArray(t)?t:t?[t]:[]}var ic="66.3.3",V={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"},ln=class t{constructor(e={},r={}){this.userConfig=e,this.defaults=r}version=ic;events=ql();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 Qo(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 Qo(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){let o={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(let i of this.config.extractors){let s=await i.extract?.(o);if(s)if(tn(s)&&tn(n))for(let a of s)n.setCount(a,n.getCount(a)+s.getCount(a));else for(let a of s)n.add(a)}return n}makeContext(e,r){let n={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:V,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(e,r){if(this.blocked.has(e))return;let n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let o=this.config.preprocess.reduce((c,l)=>l(c)??c,e);if(this.isBlocked(o)){this.blocked.add(e),this.cache.set(n,null);return}let i=await this.matchVariants(e,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(e),this.cache.set(n,null);return}let s=async c=>{let l=this.makeContext(e,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(l.variants=[...c[3]]);let f=await this.expandShortcut(l.currentSelector,l);return f?await this.stringifyShortcuts(l.variantMatch,l,f[0],f[1]):(await this.parseUtil(l.variantMatch,l))?.map(h=>this.stringifyUtil(h,l)).filter(vt)},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a?.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(e,r={}){let{id:n,scope:o,preflights:i=!0,safelist:s=!0,minify:a=!1,extendedInfo:c=!1}=r,l=I(e)?await this.applyExtractors(e,n,c?new Zt:new Set):Array.isArray(e)?new Set(e):e;if(s){let x={generator:this,theme:this.config.theme};this.config.safelist.flatMap(L=>typeof L=="function"?L(x):L).forEach(L=>{let M=L.trim();M&&!l.has(M)&&l.add(M)})}let f=a?"":`
|
|
24
|
+
`,u=new Set([Xt]),h=c?new Map:new Set,d=new Map,m={},g=Array.from(l).map(async x=>{if(h.has(x))return;let L=await this.parseToken(x);if(L!=null){h instanceof Map?h.set(x,{data:L,count:tn(l)?l.getCount(x):-1}):h.add(x);for(let M of L){let H=M[3]||"",G=M[4]?.layer;d.has(H)||d.set(H,[]),d.get(H).push(M),G&&u.add(G)}}});await Promise.all(g),await(async()=>{if(!i)return;let x={generator:this,theme:this.config.theme},L=new Set([]);this.config.preflights.forEach(({layer:M=on})=>{u.add(M),L.add(M)}),m=Object.fromEntries(await Promise.all(Array.from(L).map(async M=>{let G=(await Promise.all(this.config.preflights.filter(B=>(B.layer||on)===M).map(async B=>await B.getCSS(x)))).filter(Boolean).join(f);return[M,G]})))})();let k=this.config.sortLayers(Array.from(u).sort((x,L)=>(this.config.layers[x]??0)-(this.config.layers[L]??0)||x.localeCompare(L))),w={},S=this.config.outputToCssLayers,$=x=>{let L=x;return typeof S=="object"&&(L=S.cssLayerName?.(x)),L===null?null:L??x},C=(x=Xt)=>{if(w[x])return w[x];let L=Array.from(d).sort((G,B)=>(this.parentOrders.get(G[0])??0)-(this.parentOrders.get(B[0])??0)||G[0]?.localeCompare(B[0]||"")||0).map(([G,B])=>{let Ut=B.length,xe=B.filter(q=>(q[4]?.layer||Xt)===x).sort((q,ae)=>q[0]-ae[0]||(q[4]?.sort||0)-(ae[4]?.sort||0)||q[5]?.currentSelector?.localeCompare(ae[5]?.currentSelector??"")||q[1]?.localeCompare(ae[1]||"")||q[2]?.localeCompare(ae[2]||"")||0).map(([,q,ae,,Gt,,Zr])=>[[[(q&&ac(q,o))??"",Gt?.sort??0]],ae,!!(Zr??Gt?.noMerge)]);if(!xe.length)return;let dt=xe.reverse().map(([q,ae,Gt],Zr)=>{if(!Gt&&this.config.mergeSelectors)for(let we=Zr+1;we<Ut;we++){let pe=xe[we];if(pe&&!pe[2]&&(q&&pe[0]||q==null&&pe[0]==null)&&pe[1]===ae)return q&&pe[0]&&pe[0].push(...q),null}let Qr=q?le(q.sort((we,pe)=>we[1]-pe[1]||we[0]?.localeCompare(pe[0]||"")||0).map(we=>we[0]).filter(Boolean)):[];return Qr.length?`${Qr.join(`,${f}`)}{${ae}}`:ae}).filter(Boolean),Q=Array.from(new Set(dt)).reverse().join(f);if(!G)return Q;let Go=G.split(" $$ ");return`${Go.join("{")}{${f}${Q}${f}${"}".repeat(Go.length)}`}).filter(Boolean).join(f);i&&(L=[m[x],L].filter(Boolean).join(f));let M;S&&L&&(M=$(x),M!==null&&(L=`@layer ${M}{${f}${L}${f}}`));let H=a?"":`/* layer: ${x}${M&&M!==x?`, alias: ${M}`:""} */${f}`;return w[x]=L?H+L:""},b=(x=k,L)=>{let M=x.filter(H=>!L?.includes(H));return[S&&M.length>0?`@layer ${M.map($).filter(vt).join(", ")};`:void 0,...M.map(H=>C(H)||"")].filter(Boolean).join(f)};return{get css(){return b()},layers:k,matched:h,getLayers:b,getLayer:C,setLayer:async(x,L)=>{let M=await L(C(x));return w[x]=M,M}}}async matchVariants(e,r){let n={rawSelector:e,theme:this.config.theme,generator:this},o=async i=>{let s=!0,[,,a,c]=i;for(;s;){s=!1;let l=i[1];for(let f of this.config.variants){if(!f.multiPass&&c.has(f))continue;let u=await f.match(l,n);if(u){if(I(u)){if(u===l)continue;u={matcher:u}}if(Array.isArray(u)){if(!u.length)continue;if(u.length===1)u=u[0];else{if(f.multiPass)throw new Error("multiPass can not be used together with array return variants");let h=u.map(d=>{let m=d.matcher??l,g=[d,...a],k=new Set(c);return k.add(f),[i[0],m,g,k]});return(await Promise.all(h.map(d=>o(d)))).flat()}}i[1]=u.matcher??l,a.unshift(u),c.add(f),s=!0;break}}if(!s)break;if(a.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[i]};return await o([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){let i=r.slice().sort((l,f)=>(l.order||0)-(f.order||0)).reduceRight((l,f)=>u=>{let h=f.body?.(u.entries)||u.entries,d=Array.isArray(f.parent)?f.parent:[f.parent,void 0],m=f.selector?.(u.selector,h);return(f.handle??lc)({...u,entries:h,selector:m||u.selector,parent:d[0]||u.parent,parentOrder:d[1]||u.parentOrder,layer:f.layer||u.layer,sort:f.sort||u.sort},l)},l=>l)({prefix:"",selector:un(n),pseudo:"",entries:e[2]}),{parent:s,parentOrder:a}=i;s!=null&&a!=null&&this.parentOrders.set(s,a);let c={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:s,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(let l of this.config.postprocess)l(c);return c}constructCustomCSS(e,r,n){let o=Qt(r);if(I(o))return o;let{selector:i,entries:s,parent:a}=this.applyVariants([0,n||e.rawSelector,o,void 0,e.variantHandlers]),c=`${i}{${nn(s)}}`;return a?`${a}{${c}}`:c}async parseUtil(e,r,n=!1,o){let i=I(e)?await this.matchVariants(e):[e],s=async([c,l,f])=>{this.config.details&&(r.rules=r.rules??[]);let u={...r,variantHandlers:f},h=this.config.rulesStaticMap[l];if(h&&h[1]&&(n||!h[2]?.internal))return this.resolveCSSResult(c,h[1],h,u);for(let d of this.config.rulesDynamic){let[m,g,k]=d;if(k?.internal&&!n)continue;let w=l;if(k?.prefix){let b=O(k.prefix);if(o){let A=O(o);if(!b.some(x=>A.includes(x)))continue}else{let A=b.find(x=>l.startsWith(x));if(A==null)continue;w=l.slice(A.length)}}let S=w.match(m);if(!S)continue;let $=await g(S,u);if(!$)continue;if(typeof $!="string")if(Symbol.asyncIterator in $){let b=[];for await(let A of $)A&&b.push(A);$=b}else Symbol.iterator in $&&!Array.isArray($)&&($=Array.from($).filter(vt));let C=this.resolveCSSResult(c,$,d,u);if(C)return C}},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a.length)return a}resolveCSSResult=(e,r,n,o)=>{let i=Ul(r).filter(s=>s.length);if(i.length){this.config.details&&o.rules.push(n),o.generator.activatedRules.add(n);let s=o.generator.config.rules.indexOf(n),a=n[2];return i.map(c=>{if(I(c))return[s,c,a];let l=o.variantHandlers,f=a;for(let u of c)u[0]===V.variants?typeof u[1]=="function"?l=u[1](l)||l:l=[...O(u[1]),...l]:u[0]===V.parent?l=[{parent:u[1]},...l]:u[0]===V.selector?l=[{selector:u[1]},...l]:u[0]===V.layer?l=[{layer:u[1]},...l]:u[0]===V.sort?f={...f,sort:u[1]}:u[0]===V.noMerge&&(f={...f,noMerge:u[1]});return[s,e,c,f,l]})}};stringifyUtil(e,r){if(!e)return;if(Xo(e))return[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0];let{selector:n,entries:o,parent:i,layer:s,sort:a,noMerge:c}=this.applyVariants(e),l=nn(o);if(!l)return;let{layer:f,sort:u,...h}=e[3]??{},d={...h,layer:s??f,sort:a??u};return[e[0],n,l,i,d,this.config.details?r:void 0,c]}async expandShortcut(e,r,n=5){if(n===0)return;let o=this.config.details?l=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(l)}:Wl,i,s,a,c;for(let l of this.config.shortcuts){let f=e;if(l[2]?.prefix){let h=O(l[2].prefix).find(d=>e.startsWith(d));if(h==null)continue;f=e.slice(h.length)}if(Yl(l)){if(l[0]===f){i=i||l[2],s=l[1],o(l);break}}else{let u=f.match(l[0]);if(u&&(s=l[1](u,r)),s){i=i||l[2],o(l);break}}}if(s&&(a=le(O(s).filter(I).map(l=>Zl(l.trim()).split(/\s+/g)).flat()),c=O(s).filter(l=>!I(l)).map(l=>({handles:[],value:l}))),!s){let l=I(e)?await this.matchVariants(e):[e];for(let f of l){let[u,h,d]=f;if(u!==h){let m=await this.expandShortcut(h,r,n-1);m&&(a=m[0].filter(I).map(g=>u.replace(h,g)),c=m[0].filter(g=>!I(g)).map(g=>({handles:[...g.handles,...d],value:g.value})))}}}if(!(!a?.length&&!c?.length))return[[await Promise.all(O(a).map(async l=>(await this.expandShortcut(l,r,n-1))?.[0]||[l])),c].flat(2).filter(l=>!!l),i]}async stringifyShortcuts(e,r,n,o={layer:this.config.shortcutsLayer}){let i=new an,s=(await Promise.all(le(n).map(async f=>{let u=I(f)?await this.parseUtil(f,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Qt(f.value),void 0,f.handles]];return!u&&this.config.warn&&Ql(`unmatched utility "${f}" in shortcut "${e[1]}"`),u||[]}))).flat(1).filter(Boolean).sort((f,u)=>f[0]-u[0]),[a,,c]=e,l=[];for(let f of s){if(Xo(f)){l.push([f[0],void 0,f[1],void 0,f[2],r,void 0]);continue}let{selector:u,entries:h,parent:d,sort:m,noMerge:g,layer:k}=this.applyVariants(f,[...f[4],...c],a);i.getFallback(k??o.layer,new sn).getFallback(u,d,[[],f[0]])[0].push([h,!!(g??f[3]?.noMerge),m??0])}return l.concat(i.flatMap((f,u)=>f.map(([h,d],m,g)=>{let k=(S,$,C)=>{let b=Math.max(...C.map(x=>x[1])),A=C.map(x=>x[0]);return(S?[A.flat(1)]:A).map(x=>{let L=nn(x);if(L)return[d,m,L,g,{...o,noMerge:$,sort:b,layer:u},r,void 0]})};return[[h.filter(([,S])=>S).map(([S,,$])=>[S,$]),!0],[h.filter(([,S])=>!S).map(([S,,$])=>[S,$]),!1]].map(([S,$])=>[...k(!1,$,S.filter(([C])=>C.some(b=>b[0]===V.shortcutsNoMerge))),...k(!0,$,S.filter(([C])=>C.every(b=>b[0]!==V.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(e):I(r)?r===e:r.test(e))}getBlocked(e){let r=this.config.blocklist.find(n=>{let o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(e):I(o)?o===e:o.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function ii(t,e){return await ln.create(t,e)}var si=/\s\$\$\s+/g;function sc(t){return si.test(t)}function ac(t,e){return sc(t)?t.replace(si,e?` ${e} `:" "):e?`${e} ${t}`:t}var ti=/^\[(.+?)(~?=)"(.*)"\]$/;function un(t){return ti.test(t)?t.replace(ti,(e,r,n,o)=>`[${rn(r)}${n}"${rn(o)}"]`):`.${rn(t)}`}function lc(t,e){return e(t)}function cc(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 uc(t,e,r,n){for(let o of Array.from(t.matchAll(r)))if(o!=null){let i=o[0],s=`${n}${cc(i)}`;e.set(s,i),t=t.replace(i,s)}return t}function fc(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var pc=/\/\/#\s*sourceMappingURL=.*\n?/g;function hc(t){return t.includes("sourceMappingURL=")?t.replace(pc,""):t}var dc=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,mc=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,gc=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function bc(t){let e=[];for(let o of t.matchAll(mc))o.index!==0&&!/^[\s'"`]/.test(t[o.index-1]??"")||e.push(o[0]);for(let o of t.matchAll(dc))e.push(o[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=uc(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(cn).forEach(o=>{o.includes(n)&&(o=fc(o,r)),ri(o)&&!gc.test(o)&&e.push(o)}),e}function ai(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return bc(hc(t))}}}var vc=44,yc=59,li="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fi=new Uint8Array(64),kc=new Uint8Array(128);for(let t=0;t<li.length;t++){let e=li.charCodeAt(t);fi[t]=e,kc[e]=t}function yt(t,e,r){let n=e-r;n=n<0?-n<<1|1:n<<1;do{let o=n&31;n>>>=5,n>0&&(o|=32),t.write(fi[o])}while(n>0);return e}var ci=1024*16,ui=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}},xc=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(ci)}write(t){let{buffer:e}=this;e[this.pos++]=t,this.pos===ci&&(this.out+=ui.decode(e),this.pos=0)}flush(){let{buffer:t,out:e,pos:r}=this;return r>0?e+ui.decode(t.subarray(0,r)):e}};function pi(t){let e=new xc,r=0,n=0,o=0,i=0;for(let s=0;s<t.length;s++){let a=t[s];if(s>0&&e.write(yc),a.length===0)continue;let c=0;for(let l=0;l<a.length;l++){let f=a[l];l>0&&e.write(vc),c=yt(e,f[0],c),f.length!==1&&(r=yt(e,f[1],r),n=yt(e,f[2],n),o=yt(e,f[3],o),f.length!==4&&(i=yt(e,f[4],i)))}}return e.flush()}var tr=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))}},rr=class t{constructor(e,r,n){this.start=e,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){let e=new t(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,n){return this.content=e,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){let r=e-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;let i=new t(e,this.end,o);return i.outro=this.outro,this.outro="",this.end=e,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;let r=this.content.replace(e,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;let r=this.content.replace(e,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}};function wc(){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 Sc=wc(),fn=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=pi(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,"+Sc(this.toString())}};function $c(t){let e=t.split(`
|
|
25
|
+
`),r=e.filter(i=>/^\t+/.test(i)),n=e.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let o=n.reduce((i,s)=>{let a=/^ +/.exec(s)[0].length;return Math.min(a,i)},1/0);return new Array(o+1).join(" ")}function _c(t,e){let r=t.split(/[/\\]/),n=e.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}var Cc=Object.prototype.toString;function Ec(t){return Cc.call(t)==="[object Object]"}function hi(t){let e=t.split(`
|
|
26
|
+
`),r=[];for(let n=0,o=0;n<e.length;n++)r.push(o),o+=e[n].length+1;return function(o){let i=0,s=r.length;for(;i<s;){let l=i+s>>1;o<r[l]?s=l:i=l+1}let a=i-1,c=o-r[a];return{line:a,column:c}}}var Pc=/\w/,pn=class{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,r,n,o){if(r.length){let i=r.length-1,s=r.indexOf(`
|
|
27
|
+
`,0),a=-1;for(;s>=0&&i>s;){let l=[this.generatedCodeColumn,e,n.line,n.column];o>=0&&l.push(o),this.rawSegments.push(l),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=s,s=r.indexOf(`
|
|
28
|
+
`,s+1)}let c=[this.generatedCodeColumn,e,n.line,n.column];o>=0&&c.push(o),this.rawSegments.push(c),this.advance(r.slice(a+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(e,r,n,o,i){let s=r.start,a=!0,c=!1;for(;s<r.end;){if(n[s]===`
|
|
29
|
+
`)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=!0,c=!1;else{if(this.hires||a||i.has(s)){let l=[this.generatedCodeColumn,e,o.line,o.column];this.hires==="boundary"?Pc.test(n[s])?c||(this.rawSegments.push(l),c=!0):(this.rawSegments.push(l),c=!1):this.rawSegments.push(l)}o.column+=1,this.generatedCodeColumn+=1,a=!1}s+=1}this.pending=null}advance(e){if(!e)return;let r=e.split(`
|
|
30
|
+
`);if(r.length>1){for(let n=0;n<r.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}},kt=`
|
|
31
|
+
`,Ye={insertLeft:!1,insertRight:!1,storeName:!1},nr=class t{constructor(e,r={}){let n=new rr(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 tr},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[e.length]=n}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.appendLeft(r):this.intro+=r,this}appendRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.appendRight(r):this.outro+=r,this}clone(){let e=new t(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=r.clone();for(;r;){e.byStart[n.start]=n,e.byEnd[n.end]=n;let o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new tr(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};let r=0,n=Object.keys(this.storedNames),o=new pn(e.hires),i=hi(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(s=>{let a=i(s.start);s.intro.length&&o.advance(s.intro),s.edited?o.addEdit(r,s.content,a,s.storeName?n.indexOf(s.original):-1):o.addUneditedChunk(r,s,this.original,a,this.sourcemapLocations),s.outro.length&&o.advance(s.outro)}),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?_c(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:n,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(e){return new fn(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=$c(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(Ec(e)&&(r=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;r=r||{};let o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(f=>{for(let u=f[0];u<f[1];u+=1)o[u]=!0});let i=r.indentStart!==!1,s=l=>i?`${e}${l}`:(i=!0,l);this.intro=this.intro.replace(n,s);let a=0,c=this.firstChunk;for(;c;){let l=c.end;if(c.edited)o[a]||(c.content=c.content.replace(n,s),c.content.length&&(i=c.content[c.content.length-1]===`
|
|
32
|
+
`));else for(a=c.start;a<l;){if(!o[a]){let f=this.original[a];f===`
|
|
33
|
+
`?i=!0:f!=="\r"&&i&&(i=!1,a===c.start||(this._splitChunk(c,a),c=c.next),c.prependRight(e))}a+=1}a=c.end,c=c.next}return this.outro=this.outro.replace(n,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,r){return Ye.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Ye.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return Ye.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Ye.insertRight=!0),this.prependRight(e,r)}move(e,r,n){if(e=e+this.offset,r=r+this.offset,n=n+this.offset,n>=e&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(r),this._split(n);let o=this.byStart[e],i=this.byEnd[r],s=o.previous,a=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;let l=c?c.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),l&&(l.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=l,i.next=c||null,l||(this.firstChunk=o),c||(this.lastChunk=i),this}overwrite(e,r,n,o){return o=o||{},this.update(e,r,n,{...o,overwrite:!o.contentOnly})}update(e,r,n,o){if(e=e+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(e===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(r),o===!0&&(Ye.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Ye.storeName=!0),o={storeName:!0});let i=o!==void 0?o.storeName:!1,s=o!==void 0?o.overwrite:!1;if(i){let l=this.original.slice(e,r);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}let a=this.byStart[e],c=this.byEnd[r];if(a){let l=a;for(;l!==c;){if(l.next!==this.byStart[l.end])throw new Error("Cannot overwrite across a split point");l=l.next,l.edit("",!1)}a.edit(n,i,!s)}else{let l=new rr(e,r,"").edit(n,i);c.next=l,l.previous=c}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byEnd[e];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);let n=this.byStart[e];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let n=this.byStart[e];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(kt);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(kt),e!==-1)return n.outro.substr(e+1)+r;r=n.outro+r}if(n.content.length>0){if(e=n.content.lastIndexOf(kt),e!==-1)return n.content.substr(e+1)+r;r=n.content+r}if(n.intro.length>0){if(e=n.intro.lastIndexOf(kt),e!==-1)return n.intro.substr(e+1)+r;r=n.intro+r}}while(n=n.previous);return e=this.intro.lastIndexOf(kt),e!==-1?this.intro.substr(e+1)+r:this.intro+r}slice(e=0,r=this.original.length-this.offset){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>e||o.end<=e);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);let i=o;for(;o;){o.intro&&(i!==o||o.start===e)&&(n+=o.intro);let s=o.start<r&&o.end>=r;if(s&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let a=i===o?e-o.start:0,c=s?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(a,c),o.outro&&(!s||o.end===r)&&(n+=o.outro),s)break;o=o.next}return n}snip(e,r){let n=this.clone();return n.remove(0,e),n.remove(r,n.original.length),n}_split(e){if(this.byStart[e]||this.byEnd[e])return;let r=this.lastSearchedChunk,n=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);r=n?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(e,r){if(e.edited&&e.content.length){let o=hi(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} \u2013 "${e.original}")`)}let n=e.split(r);return this.byEnd[r]=e,this.byStart[r]=n,this.byEnd[n.end]=n,e===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,r=this.firstChunk;for(;r;)e+=r.toString(),r=r.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,r=0;do r+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){let r=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let o=n.end,i=n.trimEnd(r);if(n.end!==o&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){let r=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let o=n.end,i=n.trimStart(r);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,r){function n(i,s){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(a,c)=>c==="$"?"$":c==="&"?i[0]:+c<i.length?i[+c]:`$${c}`):r(...i,i.index,s,i.groups)}function o(i,s){let a,c=[];for(;a=i.exec(s);)c.push(a);return c}if(e.global)o(e,this.original).forEach(s=>{if(s.index!=null){let a=n(s,this.original);a!==s[0]&&this.overwrite(s.index,s.index+s[0].length,a)}});else{let i=this.original.match(e);if(i&&i.index!=null){let s=n(i,this.original);s!==i[0]&&this.overwrite(i.index,i.index+i[0].length,s)}}return this}_replaceString(e,r){let{original:n}=this,o=n.indexOf(e);return o!==-1&&this.overwrite(o,o+e.length,r),this}replace(e,r){return typeof e=="string"?this._replaceString(e,r):this._replaceRegexp(e,r)}_replaceAllString(e,r){let{original:n}=this,o=e.length;for(let i=n.indexOf(e);i!==-1;i=n.indexOf(e,i+o))n.slice(i,i+o)!==r&&this.overwrite(i,i+o,r);return this}replaceAll(e,r){if(typeof e=="string")return this._replaceAllString(e,r);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,r)}};function Je(t,e,r){if(t==="")return;let n=t.length,o=0,i=!1,s=0;for(let a=0;a<n;a++)switch(t[a]){case e:i||(i=!0,s=a),o++;break;case r:if(--o,o<0)return;if(o===0)return[t.slice(s,a+1),t.slice(a+1),t.slice(0,s)];break}}function Me(t,e,r,n){if(t===""||(I(n)&&(n=[n]),n.length===0))return;let o=t.length,i=0;for(let s=0;s<o;s++)switch(t[s]){case e:i++;break;case r:if(--i<0)return;break;default:for(let a of n){let c=a.length;if(c&&a===t.slice(s,s+c)&&i===0)return s===0||s===o-c?void 0:[t.slice(0,s),t.slice(s+c)]}}return[t,""]}function Xe(t,e,r,n="(",o=")"){r=r??10;let i=[],s=0;for(;t!=="";){if(++s>r)return;let a=Me(t,n,o,e);if(!a)return;let[c,l]=a;i.push(c),t=l}if(i.length>0)return i}var mn=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Lc=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],Ac=["hsl","hwb","lch","oklch"],Mc=["shorter","longer","increasing","decreasing"],gn=["%alpha","<alpha-value>"],bn=new RegExp(gn.map(t=>Ke(t)).join("|"),"g");function vn(t){return t?Lc.some(e=>t.includes(e))||Ac.some(e=>t.includes(e))||Mc.some(e=>t.includes(e)):!1}function Oe(t=""){let e=Oc(t);if(e==null||e===!1)return;let{type:r,components:n,alpha:o}=e,i=r.toLowerCase();if(n.length!==0&&!(mn.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(s=>typeof s=="string"?s.trim():s),alpha:typeof o=="string"?o.trim():o}}function or(t,e){if(typeof t=="string")return t.replace(bn,`${e??1}`);let{components:r}=t,{alpha:n,type:o}=t;return n=e??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,mn.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Oc(t){if(!t)return;let e=Rc(t);if(e!=null||(e=Nc(t),e!=null)||(e=zc(t),e!=null)||(e=jc(t),e!=null)||(e=Tc(t),e!=null))return e}function Rc(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 Nc(t){let e={rebeccapurple:[102,51,153,1]}[t];if(e!=null)return{type:"rgb",components:e.slice(0,3),alpha:e[3]}}function zc(t){let e=t.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!e)return;let[,r,n]=e,o=Xe(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}var Ic=new RegExp(`^(${mn.join("|")})\\((.+)\\)$`,"i");function jc(t){let e=t.match(Ic);if(!e)return;let[,r,n]=e,o=bi(`${r} ${n}`);if(o){let{alpha:i,components:[s,...a]}=o;return{type:s,components:a,alpha:i}}}function Tc(t){let e=t.match(/^color\((.+)\)$/);if(!e)return;let r=bi(e[1]);if(r){let{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function bi(t){let e=Xe(t," ");if(!e)return;let r=e.length;if(e[r-2]==="/")return{components:e.slice(0,r-2),alpha:e[r-1]};if(e[r-2]!=null&&(e[r-2].endsWith("/")||e[r-1].startsWith("/"))){let i=e.splice(r-2);e.push(i.join(" ")),--r}let n=Xe(e[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:e};let o=n.pop();return e[r-1]=n.join("/"),{components:e,alpha:o}}var Dc=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function vi(t){return t.includes("theme(")&&t.includes(")")}function yi(t,e,r=!0){let n=Array.from(t.toString().matchAll(Dc));if(!n.length)return t;let o=new nr(t);for(let i of n){let s=i[2];if(!s)throw new Error("theme() expect exact one argument, but got 0");let a=Fc(s,e,r);a&&o.overwrite(i.index,i.index+i[0].length,a)}return o.toString()}function Fc(t,e,r=!0){let[n,o]=t.split("/"),s=n.trim().split(".").reduce((a,c)=>a?.[c],e);if(typeof s=="object"&&(s=s.DEFAULT),typeof s=="string"){if(o){let a=Oe(s);a&&(s=or(a,o))}return s}else if(r)throw new Error(`theme of "${t}" did not found`)}function yn(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 ki(t){let e=function(n){let o=this.__options?.sequence||[];this.__options.sequence=[];for(let i of o){let s=t[i](n);if(s!=null)return s}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(let n of Object.keys(t))Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return e}var xi="__pseudo_placeholder__",Ze=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(${xi})`],"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}`])),wi=Object.keys(Ze),Qe=Object.fromEntries([["backdrop","::backdrop"]].map(t=>Array.isArray(t)?t:[t,`:${t}`])),Si=Object.keys(Qe),Bc=["not","is","where","has"],$i=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),hn=Object.entries(Ze).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),dn=Object.entries(Qe).filter(([,t])=>!t.startsWith("::")).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),Ae=Bc.join("|"),di=Object.keys($i).sort((t,e)=>e.length-t.length).join("|"),qc=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],mi=Object.entries(Ze).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|"),gi=Object.entries(Qe).map(([t])=>t).sort((t,e)=>e.length-t.length).join("|");function Vc(t,e,r,n){let{h:o,variantGetBracket:i}=n,s=new RegExp(`^(${Ke(e)}:)(\\S+)${Ke(r)}\\1`),a,c,l,f,u=m=>{let g=i(`${t}-`,m,[]);if(!g)return;let[k,w]=g,S=o.bracket(k);if(S==null)return;let $=w.split(a,1)?.[0]??"",C=`${e}${Se($)}`;return[$,m.slice(m.length-(w.length-$.length-1)),S.includes("&")?S.replace(/&/g,C):`${C}${S}`]},h=m=>{let g=m.match(c)||m.match(l);if(!g)return;let[k,w,S]=g,$=g[3]??"",C=Ze[S]||Qe[S]||`:${S}`;return w&&(C=`:${w}(${C})`),[$,m.slice(k.length),`${e}${Se($)}${C}`,S]},d=m=>{let g=m.match(f);if(!g)return;let[k,w,S]=g,$=g[3]??"",C=`:${w}(${S})`;return[$,m.slice(k.length),`${e}${Se($)}${C}`]};return{name:`pseudo:${t}`,match(m,g){if(a&&c&&l||(a=new RegExp(`(?:${g.generator.config.separators.join("|")})`),c=new RegExp(`^${t}-(?:(?:(${Ae})-)?(${hn}))(?:(/[\\w-]+))?(?:${g.generator.config.separators.join("|")})`),l=new RegExp(`^${t}-(?:(?:(${Ae})-)?(${dn}))(?:(/[\\w-]+))?(?:${g.generator.config.separators.filter(b=>b!=="-").join("|")})`),f=new RegExp(`^${t}-(?:(${Ae})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${g.generator.config.separators.filter(b=>b!=="-").join("|")})`)),!m.startsWith(t))return;let k=u(m)||h(m)||d(m);if(!k)return;let[w,S,$,C=""]=k;return{matcher:S,handle:(b,A)=>A({...b,prefix:`${$}${r}${b.prefix}`.replace(s,"$1$2:"),sort:wi.indexOf(C)??Si.indexOf(C)})}},multiPass:!0}}function _i(t){let{h:e}=t,r,n,o;return[{name:"pseudo",match(i,s){r&&n||(r=new RegExp(`^(${mi})(?:-(\\d+|\\[\\w+\\]))?(?:${s.generator.config.separators.join("|")})`),n=new RegExp(`^(${gi})(?:${s.generator.config.separators.filter(c=>c!=="-").join("|")})`));let a=i.match(r)||i.match(n);if(a){let c=Ze[a[1]]||Qe[a[1]]||`:${a[1]}`;if(a[2]){let f;a[2].startsWith("[")&&a[2].endsWith("]")?f=e.bracket(a[2]):f=a[2],f&&(c=c.replace(xi,f))}let l=wi.indexOf(a[1]);return l===-1&&(l=Si.indexOf(a[1])),l===-1&&(l=void 0),{matcher:i.slice(a[0].length),handle:(f,u)=>{let h=c.includes("::")&&!qc.includes(c)?{pseudo:`${f.pseudo}${c}`}:{selector:`${f.selector}${c}`};return u({...f,...h,sort:l,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${mi}|${gi}):`},{name:"pseudo:multi",match(i,s){o||(o=new RegExp(`^(${di})(?:${s.generator.config.separators.join("|")})`));let a=i.match(o);if(a)return $i[a[1]].map(l=>({matcher:i.slice(a[0].length),handle:(f,u)=>u({...f,pseudo:`${f.pseudo}${l}`})}))},multiPass:!1,autocomplete:`(${di}):`}]}function Ci(t){let{getBracket:e,h:r}=t,n,o,i;return{match(s,a){n&&o||(n=new RegExp(`^(${Ae})-(${hn})(?:${a.generator.config.separators.join("|")})`),o=new RegExp(`^(${Ae})-(${dn})(?:${a.generator.config.separators.filter(l=>l!=="-").join("|")})`),i=new RegExp(`^(${Ae})-(\\[.+\\])(?:${a.generator.config.separators.filter(l=>l!=="-").join("|")})`));let c=s.match(n)||s.match(o)||s.match(i);if(c){let l=c[1],u=e(c[2],"[","]")?r.bracket(c[2]):Ze[c[2]]||Qe[c[2]]||`:${c[2]}`;return{matcher:s.slice(c[0].length),selector:h=>`${h}:${l}(${u})`}}},multiPass:!0,autocomplete:`(${Ae})-(${hn}|${dn}):`}}function Ei(t,e){let r=!!t?.attributifyPseudo,n=t?.prefix??"";n=(Array.isArray(n)?n:[n]).filter(Boolean)[0]??"";let o=(i,s)=>Vc(i,r?`[${n}${i}=""]`:`.${n}${i}`,s,e);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}var Hc=/(part-\[(.+)\]:)(.+)/;function Pi(){return{match(t){let e=t.match(Hc);if(e){let r=`part(${e[2]})`;return{matcher:t.slice(e[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function ne(t,e,r={}){let n;return{name:t,match(o,i){n||(n=new RegExp(`^${Ke(t)}(?:${i.generator.config.separators.join("|")})`));let s=o.match(n);if(s){let a=o.slice(s[0].length),c=O(e).map(l=>({matcher:a,handle:(f,u)=>u({...f,...l(f)}),...r}));return c.length===1?c[0]:c}},autocomplete:`${t}:`}}function K(t,e){let r;return{name:t,match(n,o){r||(r=new RegExp(`^${Ke(t)}(?:${o.generator.config.separators.join("|")})`));let i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${e}`})}},autocomplete:`${t}:`}}function $e(t,e,r){if(e.startsWith(`${t}[`)){let[n,o]=Je(e.slice(t.length),"[","]")??[];if(n&&o){for(let i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function ee(t,e,r){for(let n of O(t))if(e.startsWith(n)){let o=$e(n,e,r);if(o){let[i="",s=o[1]]=ee("/",o[1],r)??[];return[o[0],s,i]}for(let i of r.filter(s=>s!=="/")){let s=e.indexOf(i,n.length);if(s!==-1){let a=e.indexOf("/",n.length),c=a===-1||s<=a;return[e.slice(n.length,c?s:a),e.slice(s+i.length),c?"":e.slice(a+1,s)]}}}}function Li(t){return{"h1,h2,h3,h4,h5,h6":{color:"var(--un-prose-headings)","font-weight":"600","line-height":1.25},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},"a code":{color:"var(--un-prose-links)"},"p,ul,ol,pre":{margin:"1em 0","line-height":1.75},blockquote:{margin:"1em 0","padding-left":"1em","font-style":"italic","border-left":".25em solid var(--un-prose-borders)"},h1:{margin:"1rem 0","font-size":"2.25em"},h2:{margin:"1.75em 0 .5em","font-size":"1.75em"},h3:{margin:"1.5em 0 .5em","font-size":"1.375em"},h4:{margin:"1em 0","font-size":"1.125em"},"img,video":{"max-width":"100%"},"figure,picture":{margin:"1em 0"},figcaption:{color:"var(--un-prose-captions)","font-size":".875em"},code:{color:"var(--un-prose-code)","font-size":".875em","font-weight":600,"font-family":t.fontFamily?.mono},":not(pre) > code::before,:not(pre) > code::after":{content:'"`"'},pre:{padding:"1.25rem 1.5rem","overflow-x":"auto","border-radius":".375rem"},"pre,code":{"white-space":"pre","word-spacing":"normal","word-break":"normal","word-wrap":"normal","-moz-tab-size":4,"-o-tab-size":4,"tab-size":4,"-webkit-hyphens":"none","-moz-hyphens":"none",hyphens:"none",background:"transparent"},"pre code":{"font-weight":"inherit"},"ol,ul":{"padding-left":"1.25em"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker,ul > li::marker,summary::marker":{color:"var(--un-prose-lists)"},hr:{margin:"2em 0",border:"1px solid var(--un-prose-hr)"},table:{display:"block",margin:"1em 0","border-collapse":"collapse","overflow-x":"auto"},"tr:nth-child(2n)":{background:"var(--un-prose-bg-soft)"},"td,th":{border:"1px solid var(--un-prose-borders)",padding:".625em 1em"},abbr:{cursor:"help"},kbd:{color:"var(--un-prose-code)",border:"1px solid",padding:".25rem .5rem","font-size":".875em","border-radius":".25rem"},details:{margin:"1em 0",padding:"1.25rem 1.5rem",background:"var(--un-prose-bg-soft)"},summary:{cursor:"pointer","font-weight":"600"}}}var Uc=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]];function Gc(t){for(let[e,...r]of Uc)if(e===t)return r.length>0?r:[e]}function Ai(t){let e="",{escapedSelector:r,selectorName:n,preflights:o,compatibility:i,important:s}=t,a=i?.noColonNot||i?.noColonWhere;for(let c in o){let l=o[c],f=`:not(:where(.not-${n},.not-${n} *))`,u=c.split(",").map(h=>{let d=h.match(/:[():\-\w]+$/g);if(d){let m=d[0];return h=h.replace(m,""),r.map(g=>a?`${g} ${h}${m}`:`${g} :where(${h})${f}${m}`).join(",")}return null}).filter(h=>h);u.length?e+=u.join(","):e+=r.map(h=>a?c.split(",").map(d=>`${h} ${d}`).join(","):`${h} :where(${c})${f}`).join(","),e+="{";for(let h in l){let d=l[h];e+=`${h}:${d}${s?" !important":""};`}e+="}"}return e}function Kc(t,e){let{compatibility:r,selectorName:n,important:o=!1}=e,i=typeof e?.cssExtend=="function"?e.cssExtend(t.theme):e?.cssExtend,s=Array.from(e.escapedSelectors);return!s[s.length-1].startsWith(".")&&!r?.noColonIs&&(s=[`:is(${s[s.length-1]},.${e.selectorName})`]),typeof o=="string"&&(s=s.map(a=>r?.noColonIs?`${o} ${a}`:`:is(${o}) ${a}`)),Ai(i?{escapedSelector:s,selectorName:n,preflights:er(Li(t.theme),i),compatibility:r,important:o===!0}:{escapedSelector:s,selectorName:n,preflights:Li(t.theme),compatibility:r,important:o===!0})}var kn=t=>{t?.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Please use "selectorName" instead.');let e=new Set,r=t?.selectorName||t?.className||"prose",n=new RegExp(`^${r}$`),o=new RegExp(`^${r}-([-\\w]+)$`),i=new RegExp(`^${r}-invert$`),s=t?.compatibility?.noColonNot||t?.compatibility?.noColonWhere;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[n,(a,{rawSelector:c})=>(e.add(un(c)),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[o,([,a],{theme:c})=>{let l=c.colors?.[a];if(l==null)return;let f=typeof l=="object"?l:{},u={body:700,headings:900,links:900,lists:400,hr:200,captions:500,code:900,borders:200,"bg-soft":100,"invert-body":200,"invert-headings":100,"invert-links":100,"invert-lists":500,"invert-hr":700,"invert-captions":400,"invert-code":100,"invert-borders":700,"invert-bg-soft":800},h={};for(let d in u){let m=u[d],g=f[m]??l,k=!1;for(let w of gn)if(g.includes(w)){k=!0,h[`--un-prose-${d}-opacity`]=1,h[`--un-prose-${d}`]=g.replace(w,`var(--un-prose-${d}-opacity)`);break}k||(h[`--un-prose-${d}`]=g)}return h},{layer:"typography"}],[i,()=>({"--un-prose-body":"var(--un-prose-invert-body)","--un-prose-headings":"var(--un-prose-invert-headings)","--un-prose-links":"var(--un-prose-invert-links)","--un-prose-lists":"var(--un-prose-invert-lists)","--un-prose-hr":"var(--un-prose-invert-hr)","--un-prose-captions":"var(--un-prose-invert-captions)","--un-prose-code":"var(--un-prose-invert-code)","--un-prose-borders":"var(--un-prose-invert-borders)","--un-prose-bg-soft":"var(--un-prose-invert-bg-soft)"}),{layer:"typography"}]],variants:[{name:"typography element modifiers",match:a=>{if(a.startsWith(`${r}-`)){let c=new RegExp(`^${r}-(\\w+)[:-].+$`),l=a.match(c)?.[1];if(l){let f=Gc(l);if(f?.length)return{matcher:a.slice(r.length+l.length+2),selector:u=>{let h=`:not(:where(.not-${r},.not-${r} *))`;return s?f.map(m=>`${u} ${m}`).join(","):`${u} :is(:where(${f})${h})`}}}}}}],preflights:[{layer:"typography",getCSS:a=>{if(e.size>0)return Kc(a,{escapedSelectors:e,...t,selectorName:r})}}]}};var Ni="@unocss/preset-wind4",xt="$$mini-no-negative",wt={transparent:"transparent",current:"currentColor",inherit:"inherit"},J={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-inline"],y:["-block"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},wn={...J,x:["-inset-inline"],y:["-inset-block"],s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},St={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"]},Sn={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},zi=["x","y","z"],Mi=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],Y=Object.assign({},...Mi.map(t=>({[t.replace(/ /,"-")]:t})),...Mi.map(t=>({[t.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:t}))),N=["inherit","initial","revert","revert-layer","unset"],ir=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,$n=/^(var)\s*\((.+)\)(.*)/,$t=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,Yc=/^(-?\d*(?:\.\d+)?)$/,Ii=/^(px|[sld]?v[wh])$/i,ji={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},sr=/^\[(color|image|length|size|position|quoted|string|number|family):/i,Ti=/,(?![^()]*\))/g;var Xc=["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 ce(t){return+t.toFixed(10)}function Jc(t){let e=t.match($t);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${ce(o)}${n}`}function Zc(t){if(t==="auto"||t==="a")return"auto"}function Qc(t){if(!t)return;if(Ii.test(t))return`${ji[t]}${t}`;let e=t.match($t);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ce(o)}${n}`:`${ce(o/4)}rem`}function eu(t){if(Ii.test(t))return`${ji[t]}${t}`;let e=t.match($t);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${ce(o)}${n}`:`${ce(o)}px`}function Di(t){if(!Yc.test(t))return;let e=Number.parseFloat(t);if(!Number.isNaN(e))return ce(e)}function tu(t){t.endsWith("%")&&(t=t.slice(0,-1));let e=Di(t);if(e!=null)return`${e}%`}function ru(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":`${ce(n*100)}%`}function Re(t,e){if(t&&t.startsWith("[")&&t.endsWith("]")){let r,n,o=t.match(sr);if(!o)r=t.slice(1,-1);else{if(!e)n=o[1];else if(o[1]!==e)return;r=t.slice(o[0].length,-1)}if(!r||r==='=""')return;if(r.startsWith("--")){let[s,a]=r.slice(2).split(",");r=`var(--${Se(s)}${a?`, ${a}`:""})`}let i=0;for(let s of r)if(s==="[")i+=1;else if(s==="]"&&(i-=1,i<0))return;if(i)return;switch(n){case"string":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return r.replace(/(url\(.*?\))/g,s=>s.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,s=>{let a=[];return s.replace(/var\((--.+?)[,)]/g,(c,l)=>(a.push(l),c.replace(l,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function nu(t){return Re(t)}function ou(t){return Re(t,"color")}function iu(t){return Re(t,"length")||Re(t,"size")}function su(t){return Re(t,"position")}function au(t){return Re(t,"family")}function lu(t){return Re(t,"number")}function cu(t){if(t.startsWith("var("))return t;let e=t.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(e){let[r,n]=e[1].split(",");return`var(--${Se(r)}${n?`, ${n}`:""})`}}function uu(t){let e=t.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${ce(o)}${n}`:`${ce(o)}ms`}function fu(t){let e=t.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!e)return;let[,r,n]=e,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${ce(o)}${n}`:`${ce(o)}deg`}function pu(t){if(N.includes(t))return t}function hu(t){if(t.split(",").every(e=>Xc.includes(e)))return t}function du(t){if(["top","left","right","bottom","center"].includes(t))return t}function mu(t){if(t==="none")return"none"}var gu={__proto__:null,auto:Zc,bracket:nu,bracketOfColor:ou,bracketOfFamily:au,bracketOfLength:iu,bracketOfNumber:lu,bracketOfPosition:su,cssvar:cu,degree:fu,fraction:ru,global:pu,none:mu,number:Di,numberWithUnit:Jc,percent:tu,position:du,properties:hu,px:eu,rem:Qc,time:uu},bu=ki(gu),p=bu;function Z(t,e){let r=p.number(t)??e;if(r!=null){let n=Number(r);return String(r).endsWith("%")&&(n=Number(String(r).slice(0,-1))/100),n}}function z(t){function e(n){let o=n.match($t);if(o){let[,i,s]=o,a=Number.parseFloat(i);if(!Number.isNaN(a))return[a,s]}return[void 0,void 0]}function r(n){let o,i;if(n.spacing?.DEFAULT){let[s,a]=e(n.spacing.DEFAULT);s!=null&&a!=null&&(o=s,i=a)}return Object.entries(n.spacing??{}).reduce((s,[a,c])=>{let[l,f]=e(c);return l!=null&&f!=null&&f===i?s[a]=l/o:s[a]=c,s},{})}return([n,o,i],{theme:s})=>{if(i!=null&&o!=null){let a=r(s),c,l=i.startsWith("-");if(l&&(i=i.slice(1)),c=Z(i,a[i]),c!=null)return Number.isNaN(c)?(E("spacing",i),J[o].map(f=>[`${t}${f}`,l?`calc(var(--spacing-${i} * -1)`:`var(--spacing-${i})`])):(E("spacing"),J[o].map(f=>[`${t}${f}`,`calc(var(--spacing) * ${l?"-":""}${c})`]));if(c=p.bracket.cssvar.global.auto.fraction.rem(l?`-${i}`:i),c!=null)return J[o].map(f=>[`${t}${f}`,c])}}}function _t(t,e){let r,[n,...o]=Xe(t,["/",":"],3)??[];if(n!=null){let g=(n.match(sr)??[])[1];(g==null||g==="color")&&(r=[n,...o])}if(!r)return;let i,[s,a,c]=r;vn(a)||vn(p.bracket(a??""))?c=a:i=a;let l=s.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[f]=l;if(!f)return;let u=Oi(e,l);if(!u&&l.length>=2){let g=l.at(-1),k=l.at(-2);if(/^\d+$/.test(g)){let w=l.slice(0,-2).concat([`${k}${g}`]);u=Oi(e,w)}}let{no:h,keys:d,color:m}=u??{};if(!m){let g=p.bracketOfColor(s),k=g||s;if(p.numberWithUnit(k))return;/^#[\da-f]+$/i.test(k)?m=k:/^hex-[\da-fA-F]+$/.test(k)?m=`#${k.slice(4)}`:s.startsWith("$")&&(m=p.cssvar(s)),m=m||g}return{opacity:i,modifier:c&&p.bracket.cssvar(c)||c,name:f,no:h,color:m??wt[f],alpha:p.bracket.cssvar.percent(i??""),keys:d,get cssColor(){return Oe(this.color)}}}function Oi(t,e){let r,n,o,i=Ct(t,"colors",e);if(typeof i=="object"?"DEFAULT"in i&&(r=i.DEFAULT,n="DEFAULT",o=[...e,n]):typeof i=="string"&&(r=i,o=e,n=e.at(-1)),!!r)return{color:r,no:n,keys:o}}function Ct(t,e,r){let n=t[e];function o(i,s){if(!(!i||typeof i!="object")){if(s.length===0)return i;for(let a=s.length;a>0;a--){let c=s.slice(0,a).join("-");if(c in i){let l=i[c];return a===s.length?l:o(l,s.slice(a))}}}}return o(n,r)}function _n(t,e,r,n){if(!t)return;let{color:o,keys:i,alpha:s,modifier:a}=t,c=n?.generator.config.envMode==="dev"&&o?` /* ${o} */`:"",l={};if(o){let f=[l];if(Object.values(wt).includes(o))l[e]=o;else{let u=`--un-${r}-opacity`,h=i?T("colors",i):o,d=a??(i?"in srgb":"in oklab");!d.startsWith("in ")&&!d.startsWith("var(")&&(d=`in ${d}`),l[e]=`color-mix(${d}, ${h} ${s??`var(${u})`}, transparent)${c}`,f.push(y(u,{syntax:"<percentage>",initialValue:"100%"})),i&&(E("colors",i),a||f.push({[V.parent]:"@supports (color: color-mix(in lab, red, red))",[V.noMerge]:!0,[V.shortcutsNoMerge]:!0,[e]:`color-mix(in oklab, ${h} ${s??`var(${u})`}, transparent)${c}`})),n?.theme&&tt(o,n.theme)}return f}}function j(t,e){return([,r],n)=>{let o=_t(r??"",n.theme);if(o)return _n(o,t,e,n)}}function ar(t,e){let r=[];t=O(t);for(let n=0;n<t.length;n++){let o=Xe(t[n]," ",6);if(!o||o.length<3)return t;let i=!1,s=o.indexOf("inset");s!==-1&&(o.splice(s,1),i=!0);let a="",c=o.at(-1);if(Oe(o.at(0))){let l=Oe(o.shift());l&&(a=`, ${or(l)}`)}else if(Oe(c)){let l=Oe(o.pop());l&&(a=`, ${or(l)}`)}else c&&$n.test(c)&&(a=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${e}${a})`)}return r}function Ie(t,e){return t!=null&&!!_t(t,e)?.color}var Ri=/[a-z]+/gi,xn=new WeakMap;function je({theme:t,generator:e},r="breakpoint"){let n=e?.userConfig?.theme?.[r]||t[r];if(!n)return;if(xn.has(t))return xn.get(t);let o=Object.entries(n).sort((i,s)=>Number.parseInt(i[1].replace(Ri,""))-Number.parseInt(s[1].replace(Ri,""))).map(([i,s])=>({point:i,size:s}));return xn.set(t,o),o}function P(t,e){return N.map(r=>[`${t}-${r}`,{[e??t]:r}])}function y(t,e={}){let{syntax:r="*",inherits:n=!1,initialValue:o}=e,i={[V.shortcutsNoMerge]:!0,[V.noMerge]:!0,[V.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${t}`}],syntax:JSON.stringify(r),inherits:n?"true":"false"};return o!=null&&(i["initial-value"]=o),vu(t,o?String(o):"initial"),i}function et(t){return t!=null&&ir.test(t)}function Fi(t){return t[0]==="["&&t.slice(-1)==="]"&&(t=t.slice(1,-1)),ir.test(t)||$t.test(t)}function lr(t){return t.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function Cn(t,e=!1){return e?t.trim():t.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}var Ne=new Set([]);function E(t,e="DEFAULT"){let r=`${t}:${O(e).join("-")}`;Ne.has(r)||Ne.add(r)}function T(t,e){return`var(--${t}-${O(e).join("-")})`}function tt(t,e){if(t.startsWith("var(")){let r=t.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(r){let[n,...o]=r.split("-"),i=Ct(e,n,o);typeof i=="string"&&(E(n,o),tt(i,e))}}}var ze=new Map;function vu(t,e){ze.has(t)||ze.set(t,e)}function yu({important:t}){if(t==null||t===!1)return[];let e=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[t===!0?r=>{r.layer!=="properties"&&r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(t)||(r.selector=`${t} ${e(r.selector)}`)}]}function ku({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 Bi(t){return[yu,ku].flatMap(e=>e(t))}var xu={name:"aria",match(t,e){let r=ee("aria-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??e.theme.aria?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function rt(t){return{name:`${t}-aria`,match(e,r){let n=ee(`${t}-aria-`,e,r.generator.config.separators);if(n){let[o,i,s]=n,a=p.bracket(o)??r.theme.aria?.[o]??"";if(a){let c={group:`&:is(:where(.group${s?`\\/${s}`:""})[aria-${a}] *)`,peer:`&:is(:where(.peer${s?`\\/${s}`:""})[aria-${a}] ~ *)`,previous:`:where(*[aria-${a}] + &)`,parent:`:where(*[aria-${a}] > &)`,has:`&:has(*[aria-${a}])`,in:`:where(*[aria-${a}]) &`};return{matcher:i,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}${l.selector}`,selector:c[t]})}}}},multiPass:!0}}var wu=[rt("group"),rt("peer"),rt("parent"),rt("previous"),rt("has"),rt("in")],qi=/(max|min)-\[([^\]]*)\]:/;function Su(){let t={};return{name:"breakpoints",match(e,r){if(qi.test(e)){let o=e.match(qi);return{matcher:e.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}let n=(je(r)??[]).map(({point:o,size:i},s)=>[o,i,s]);for(let[o,i,s]of n){t[o]||(t[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));let a=e.match(t[o]);if(!a)continue;let[,c]=a,l=e.slice(c.length);if(l==="container")continue;let f=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),u=c.startsWith("at-")||c.startsWith("~"),h=3e3;return f?(h-=s+1,{matcher:l,handle:(d,m)=>m({...d,parent:`${d.parent?`${d.parent} $$ `:""}@media (max-width: ${yn(i)})`,parentOrder:h})}):(h+=s+1,u&&s<n.length-1?{matcher:l,handle:(d,m)=>m({...d,parent:`${d.parent?`${d.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${yn(n[s+1][1])})`,parentOrder:h})}:{matcher:l,handle:(d,m)=>m({...d,parent:`${d.parent?`${d.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:h})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}var $u=[ne("*",t=>({selector:`${t.selector} > *`}),{order:-1}),ne("**",t=>({selector:`${t.selector} *`}),{order:-1})];function Et(t,e){return{name:`combinator:${t}`,match(r,n){if(!r.startsWith(t))return;let o=n.generator.config.separators,i=$e(`${t}-`,r,o);if(!i){for(let a of o)if(r.startsWith(`${t}${a}`)){i=["",r.slice(t.length+a.length)];break}if(!i)return}let s=p.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:a=>`${a}${e}${s}`}},multiPass:!0}}var _u=[Et("all"," "),Et("children",">"),Et("next","+"),Et("sibling","+"),Et("siblings","~")],Cu=[ne("svg",t=>({selector:`${t.selector} svg`}))],Eu={name:"@",match(t,e){if(t.startsWith("@container"))return;let r=ee("@",t,e.generator.config.separators);if(r){let[n,o,i]=r,s=p.bracket(n),a;if(s?a=p.numberWithUnit(s):a=e.theme.container?.[n]??"",a){let c=1e3+Object.keys(e.theme.container??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${a})`,parentOrder:c})}}}},multiPass:!0};function Pu(t={}){if(t?.dark==="class"||typeof t.dark=="object"){let{dark:e=".dark",light:r=".light"}=typeof t.dark=="string"?{}:t.dark;return[ne("dark",n=>({prefix:`${e} $$ ${n.prefix}`})),ne("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[K("dark","@media (prefers-color-scheme: dark)"),K("light","@media (prefers-color-scheme: light)")]}var Lu=[ne(".dark",t=>({prefix:`.dark $$ ${t.prefix}`})),ne(".light",t=>({prefix:`.light $$ ${t.prefix}`})),K("@dark","@media (prefers-color-scheme: dark)"),K("@light","@media (prefers-color-scheme: light)"),K("not-dark","@media not (prefers-color-scheme: dark)")],Au={name:"data",match(t,e){let r=ee("data-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??e.theme.data?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function nt(t){return{name:`${t}-data`,match(e,r){let n=ee(`${t}-data-`,e,r.generator.config.separators);if(n){let[o,i,s]=n,a=p.bracket(o)??r.theme.data?.[o]??"";if(a){let c={group:`&:is(:where(.group${s?`\\/${s}`:""})[data-${a}] *)`,peer:`&:is(:where(.peer${s?`\\/${s}`:""})[data-${a}] ~ *)`,previous:`:where(*[data-${a}] + &)`,parent:`:where(*[data-${a}] > &)`,has:`&:has(*[data-${a}])`,in:`:where(*[data-${a}]) &`};return{matcher:i,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}${l.selector}`,selector:c[t]})}}}},multiPass:!0}}var Mu=[nt("group"),nt("peer"),nt("parent"),nt("previous"),nt("has"),nt("in")],Ou=[ne("rtl",t=>({prefix:`[dir="rtl"] $$ ${t.prefix}`})),ne("ltr",t=>({prefix:`[dir="ltr"] $$ ${t.prefix}`}))];function Ru(){let t;return{name:"important",match(e,r){t||(t=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,o=e.match(t);if(o?n=e.slice(o[0].length):e.endsWith("!")&&(n=e.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),i)}}}}var Nu=ne("inert",t=>({parent:`${t.parent?`${t.parent} $$ `:""}${t.selector}`,selector:"&:is([inert],[inert] *)"})),zu=K("noscript","@media (scripting: none)"),Iu={name:"scripting",match(t,e){let r=ee(["script-","scripting-"],t,e.generator.config.separators);if(r){let[n,o]=r;if(["none","initial-only","enabled"].includes(n))return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (scripting: ${n})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},ju=K("print","@media print"),Tu={name:"media",match(t,e){let r=ee("media-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??"";if(i===""&&(i=e.theme.media?.[n]??""),i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${i}`})}}},multiPass:!0,autocomplete:"media-$media"},Du=[K("contrast-more","@media (prefers-contrast: more)"),K("contrast-less","@media (prefers-contrast: less)")],Fu=[K("motion-reduce","@media (prefers-reduced-motion: reduce)"),K("motion-safe","@media (prefers-reduced-motion: no-preference)")],Bu=[K("landscape","@media (orientation: landscape)"),K("portrait","@media (orientation: portrait)")],qu=[K("forced-colors","@media (forced-colors: active)")],Vu={name:"selector",match(t,e){let r=$e("selector-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},Hu={name:"layer",match(t,e){let r=ee("layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},Wu={name:"uno-layer",match(t,e){let r=ee("uno-layer-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},Uu={name:"scope",match(t,e){let r=$e("scope-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},Gu={name:"variables",match(t,e){if(!t.startsWith("["))return;let[r,n]=Je(t,"[","]")??[];if(!(r&&n))return;let o;for(let a of e.generator.config.separators)if(n.startsWith(a)){o=n.slice(a.length);break}if(o==null)return;let i=p.bracket(r)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(a,c){let l=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return c({...a,...l})}}},multiPass:!0},Ku={name:"theme-variables",match(t,e){if(vi(t))return{matcher:t,handle(r,n){return n({...r,entries:JSON.parse(yi(JSON.stringify(r.entries),e.theme))})}}}},Yu=[ne("@hover",t=>({parent:`${t.parent?`${t.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${t.selector||""}:hover`}))],Xu={name:"implicit-group",match(t,e){let r=ee("in-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${s.selector}`,selector:`:where(*:is(${i})) &`})}}}},Vi=/^-?[0-9.]+(?:[a-z]+|%)?$/,Hi=/-?[0-9.]+(?:[a-z]+|%)?/,Ju=[/\b(opacity|color|flex|backdrop-filter|^filter|transform|mask-image)\b/];function Zu(t){let e=t.match(ir)||t.match($n);if(e){let[r,n]=Me(`(${e[2]})${e[3]}`,"(",")"," ")??[];if(r)return`calc(${e[1]}${r} * -1)${n?` ${n}`:""}`}}var Qu=/\b(hue-rotate)\s*(\(.*)/;function ef(t){let e=t.match(Qu);if(e){let[r,n]=Me(e[2],"(",")"," ")??[];if(r){let o=Vi.test(r.slice(1,-1))?r.replace(Hi,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${e[1]}${o}${n?` ${n}`:""}`}}}var tf={name:"negative",match(t){if(t.startsWith("-"))return{matcher:t.slice(1),body:e=>{if(e.find(n=>n[0]===xt))return;let r=!1;return e.forEach(n=>{if(O(n[2]).includes(xt))return;let o=n[1]?.toString();if(!o||o==="0"||Ju.some(a=>a.test(n[0])))return;let i=Zu(o);if(i){n[1]=i,r=!0;return}let s=ef(o);if(s){n[1]=s,r=!0;return}Vi.test(o)&&(n[1]=o.replace(Hi,a=>a.startsWith("-")?a.slice(1):`-${a}`),r=!0)}),r?e:[]}}}},rf=(t,{theme:e})=>{let r=t.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",o,i]=r;if(Ie(i,e)||nf(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function nf(t){let e=t.match(/^op(?:acity)?-?(.+)$/);return e&&e[1]!=null?p.bracket.percent(e[1])!=null:!1}function of(){return _i({getBracket:Je,h:p,variantGetBracket:$e})}function sf(){return Ci({getBracket:Je,h:p,variantGetBracket:$e})}function af(t={}){return Ei(t,{getBracket:Je,h:p,variantGetBracket:$e})}var lf=Pi(),cf={name:"starting",match(t){if(t.startsWith("starting:"))return{matcher:t.slice(9),handle:(e,r)=>r({...e,parent:"@starting-style"})}}},uf={name:"supports",match(t,e){let r=ee("supports-",t,e.generator.config.separators);if(r){let[n,o]=r,i=p.bracket(n)??"";if(i===""&&(i=e.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Wi(t){return[xu,Au,Hu,Vu,Wu,tf,cf,Ru(),uf,zu,Iu,ju,Tu,...Du,...Fu,...Bu,...qu,Su(),..._u,...Cu,rf,...of(),sf(),...af(t),lf,...Pu(t),...Lu,...Ou,Uu,...$u,Nu,Eu,Gu,...Mu,...wu,Ku,...Yu,Xu].flat()}var En={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(En).forEach(t=>{typeof t!="string"&&t!==void 0&&(t.DEFAULT=t.DEFAULT||t[400])});var ff={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"}},pf={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"'},hf={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},df={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(",")},mf={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"}},gf={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},bf={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},vf={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},yf={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},kf={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)"},xf={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"},wf={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"},Sf={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)"},$f={"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)"},_f={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)"},Cf={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)"]},Ef={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},Pf={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)"}},Lf={"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"},Ui={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},Af={...Ui},Mf={grid:"(display: grid)"},Of={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)"},Rf={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(",")}},Gi={font:df,colors:En,spacing:xf,breakpoint:Ui,verticalBreakpoint:Af,text:mf,fontWeight:gf,tracking:bf,leading:vf,textStrokeWidth:yf,radius:wf,shadow:Sf,insetShadow:$f,dropShadow:_f,textShadow:Cf,ease:Of,animation:ff,blur:hf,perspective:Ef,property:Rf,default:Pf,container:Lf,aria:pf,media:kf,supports:Mf};var Ki=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,t,e])=>({"container-type":e??"inline-size","container-name":t})]],Nf=/@media \(min-width: (.+)\)/,Yi=[[/^__container$/,(t,e)=>{let{theme:r,variantHandlers:n}=e,o=r.containers?.padding,i;I(o)?i=o:i=o?.DEFAULT;let s=r.containers?.maxWidth,a;for(let l of n){let f=l.handle?.({},u=>u)?.parent;if(I(f)){let u=f.match(Nf)?.[1];if(u){let d=(je(e)??[]).find(m=>m.size===u)?.point;s?d&&(a=s?.[d]):a=u,d&&!I(o)&&(i=o?.[d]??i)}}}let c={"max-width":a};return n.length||(c.width="100%"),r.containers?.center&&(c["margin-left"]="auto",c["margin-right"]="auto"),o&&(c["padding-left"]=i,c["padding-right"]=i),c},{internal:!0}]],Xi=[[/^(?:(\w+)[:-])?container$/,([,t],e)=>{let r=(je(e)??[]).map(o=>o.point);if(t){if(!r.includes(t))return;r=r.slice(r.indexOf(t))}let n=r.map(o=>`${o}:__container`);return t||n.unshift("__container"),n}]];var Ji=[...Xi];var Zi={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(N.map(t=>[t,t]))},zf=[[/^(?:vertical|align|v)-(.+)$/,([,t])=>({"vertical-align":Zi[t]??p.bracket.cssvar.numberWithUnit(t)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(Zi).join("|")})`,"(vertical|align|v)-<percentage>"]}]],Qi=["center","left","right","justify","start","end"],If=[...Qi.map(t=>[`text-${t}`,{"text-align":t}]),...[...N,...Qi].map(t=>[`text-align-${t}`,{"text-align":t}])],jf=[[/^(?:animate-)?keyframes-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r)return[`@keyframes ${t}${r}`,{animation:t}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,t],{theme:e})=>{let r=e.animation?.keyframes?.[t];if(r){let n=e.animation?.durations?.[t]??"1s",o=e.animation?.timingFns?.[t]??"linear",i=e.animation?.counts?.[t]??1,s=e.animation?.properties?.[t];return[`@keyframes ${t}${r}`,{animation:`${t} ${n} ${o} ${i}`,...s}]}return{animation:p.bracket.cssvar(t)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,t])=>({"animation-name":p.bracket.cssvar(t)??t})],[/^animate-duration-(.+)$/,([,t],{theme:e})=>({"animation-duration":e.duration?.[t||"DEFAULT"]??p.bracket.cssvar.time(t)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,t],{theme:e})=>({"animation-delay":e.duration?.[t||"DEFAULT"]??p.bracket.cssvar.time(t)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,t],{theme:e})=>({"animation-timing-function":e.ease?.[t||"DEFAULT"]??p.bracket.cssvar(t)}),{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,t,e])=>["none","forwards","backwards","both",t?N:[]].includes(e)?{"animation-fill-mode":e}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,t,e])=>["normal","reverse","alternate","alternate-reverse",t?N:[]].includes(e)?{"animation-direction":e}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,t])=>({"animation-iteration-count":p.bracket.cssvar(t)??t.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,t,e])=>["paused","running",t?N:[]].includes(e)?{"animation-play-state":e}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...P("animate","animation")],bs={"gradient-position":y("--un-gradient-position"),"gradient-from":y("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":y("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":y("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":y("--un-gradient-stops"),"gradient-via-stops":y("--un-gradient-via-stops"),"gradient-from-position":y("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":y("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":y("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function es(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 Tf(){return function*([,t,e],{theme:r}){let n={},o=_t(e,r);if(o){let{color:i,keys:s,alpha:a}=o;if(i){if(Object.values(wt).includes(i))n[`--un-gradient-${t}`]=i;else{n[`--un-${t}-opacity`]=a;let c=s?T("colors",s):i;n[`--un-gradient-${t}`]=`color-mix(in oklab, ${c} var(--un-${t}-opacity), transparent)`,yield y(`--un-${t}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}s&&E("colors",s),r&&tt(i,r)}}else n[`--un-gradient-${t}`]=p.bracket.cssvar(e);if(n[`--un-gradient-${t}`]){switch(t){case"from":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"via":yield{...n,"--un-gradient-via-stops":"var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-via) var(--un-gradient-via-position), var(--un-gradient-to) var(--un-gradient-to-position)","--un-gradient-stops":"var(--un-gradient-via-stops)"};break;case"to":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"stops":yield{...n};break}for(let i of Object.values(bs))yield i}}}function Df(){return function*([,t,e]){yield{[`--un-gradient-${t}-position`]:`${p.bracket.cssvar.percent(e)}`};for(let r of Object.values(bs))yield r}}var Ff=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,t,e,r])=>{let n;if(p.number(e)!=null?n=`from ${p.number(e)}deg ${es(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)-(.+)$/,Tf()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,t,e])=>({[`--un-${t}-opacity`]:p.bracket.percent(e)})],[/^(from|via|to)-([\d.]+%)$/,Df()],[/^bg-((?:repeating-)?(?:linear|radial|conic))$/,([,t])=>({"background-image":`${t}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-(linear|radial|conic)(?:-to-([rltb]{1,2}))?(?:\/(.+))?$/,([,t,e,r])=>({"--un-gradient-position":`${e in Y?`to ${Y[e]} `:" "}${es(r)}`,"background-image":`${t}-gradient(var(--un-gradient-stops))`}),{autocomplete:`bg-gradient-to-(${Object.keys(Y).filter(t=>t.length<=2&&Array.from(t).every(e=>"rltb".includes(e))).join("|")})`}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...P("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],[/^bg-size-(.+)$/,([,t])=>({"background-size":p.bracket.cssvar(t)})],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...N.map(t=>[`bg-clip-${t}`,{"-webkit-background-clip":t,"background-clip":t}]),[/^bg-([-\w]{3,})$/,([,t])=>({"background-position":Y[t]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...P("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...P("bg-origin","background-origin")],ts=[[/^outline-(?:width-|size-)?(.+)$/,vs,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Bf,{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,t])=>({"--un-outline-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,t])=>({"outline-offset":p.bracket.cssvar.global.px(t)}),{autocomplete:"outline-(offset)-<num>"}],["outline-offset-none",{"outline-offset":"0"}],["outline",[{"outline-style":"var(--un-outline-style)","outline-width":"1px"},y("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[V.parent]:"@media (forced-colors: active)",outline:"2px solid transparent","outline-offset":"2px"}]],["outline-none",{"--un-outline-style":"none","outline-style":"none"}],...["auto","dashed","dotted","double","solid","groove","ridge","inset","outset",...N].map(t=>[`outline-${t}`,{"--un-outline-style":t,"outline-style":t}])];function*vs([,t]){let e=p.bracket.cssvar.global.px(t);e!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":e},yield y("--un-outline-style",{initialValue:"solid"}))}function*Bf(t,e){if(et(p.bracket(t[1])))yield*vs(t);else{let r=j("outline-color","outline")(t,e);if(r)for(let n of r)yield n}}var qf=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function Vf(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 rs=[[/^will-change-(.+)/,([,t])=>({"will-change":Vf(t)})]],Pn={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"},Hf=[[/^list-(.+?)(?:-(outside|inside))?$/,([,t,e])=>{let r=Pn[t];if(r)return e?{"list-style-position":e,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(Pn).join("|")})`,`list-(${Object.keys(Pn).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,t])=>{if(/^\[url\(.+\)\]$/.test(t))return{"list-style-image":p.bracket(t)}}],["list-image-none",{"list-style-image":"none"}],...P("list","list-style-type")],Wf=[[/^accent-(.+)$/,j("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,t])=>({"--un-accent-opacity":p.bracket.percent(t)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Uf=[[/^caret-(.+)$/,j("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,t])=>({"--un-caret-opacity":p.bracket.percent(t)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Gf=[["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"]]]],Kf=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...P("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...P("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...P("overscroll-y","overscroll-behavior-y")],Yf=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...P("scroll","scroll-behavior")],Te=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...N],Xf=[[/^(?:border|b)()(?:-(.+))?$/,ue,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,ue],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,ue],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,ue],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,ue],[/^(?:border|b)-()(?:width|size)-(.+)$/,ue,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,ue],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,ue],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,ue],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,ue],[/^(?:border|b)-()(?:color-)?(.+)$/,Pt,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Pt],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Pt],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Pt],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Pt],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Lt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Lt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Lt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Lt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Lt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,At,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,At],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,At],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,At],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,At],[/^(?:border|b)-(?:style-)?()(.+)$/,Mt,{autocomplete:["(border|b)-style",`(border|b)-(${Te.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${Te.join("|")})`,`(border|b)-<directions>-style-(${Te.join("|")})`,`(border|b)-style-(${Te.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Mt],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Mt],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Mt],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Mt]];function Jf(t){return([,e],r)=>{let n=_t(e,r.theme),o=_n(n,`border${t}-color`,`border${t}`,r);if(o){let i=o[0];return n?.color&&!Object.values(wt).includes(n.color)&&!n.alpha&&t&&t!==""&&(i[`--un-border${t}-opacity`]="var(--un-border-opacity)"),o}}}function ue([,t="",e="1"]){let r=p.bracket.cssvar.global.px(e);if(t in J&&r!=null)return J[t].map(n=>[`border${n}-width`,r])}function Pt([,t="",e],r){if(t in J){if(et(p.bracket(e)))return ue(["",t,e]);if(Ie(e,r.theme)){let n=J[t].map(o=>Jf(o)(["",e],r)).filter(vt);return[n.map(o=>o[0]).reduce((o,i)=>(Object.assign(o,i),o),{}),...n.flatMap(o=>o.slice(1))]}}}function Lt([,t="",e]){let r=p.bracket.percent.cssvar(e);if(t in J&&r!=null)return J[t].map(n=>[`--un-border${n}-opacity`,r])}function At([,t="",e="DEFAULT"],{theme:r}){if(t in St){if(e==="full")return St[t].map(o=>[`border${o}-radius`,"calc(infinity * 1px)"]);let n=r.radius?.[e]??p.bracket.cssvar.global.fraction.rem(e);if(n!=null){let o=r.radius&&e in r.radius;return o&&E("radius",e),St[t].map(i=>[`border${i}-radius`,o?T("radius",e):n])}}}function Mt([,t="",e]){if(Te.includes(e)&&t in J)return[["--un-border-style",e],...J[t].map(r=>[`border${r}-style`,e])]}var Zf=[[/^op(?:acity)?-?(.+)$/,([,t])=>({opacity:p.bracket.percent.cssvar(t)})]],Qf=/^\[url\(.+\)\]$/,ep=/^\[(?:length|size):.+\]$/,tp=/^\[position:.+\]$/,rp=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,np=/^\[image:.+\]$/,op=[[/^bg-(.+)$/,(...t)=>{let e=t[0][1];if(Qf.test(e))return{"--un-url":p.bracket(e),"background-image":"var(--un-url)"};if(ep.test(e)&&p.bracketOfLength(e)!=null)return{"background-size":p.bracketOfLength(e).split(" ").map(r=>p.fraction.auto.px.cssvar(r)??r).join(" ")};if((Fi(e)||tp.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(rp.test(e)||np.test(e)){let r=p.bracket(e);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:p.cssvar(r))??r}}return j("background-color","bg")(...t)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,t])=>({"--un-bg-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],ip=[[/^(?:color-)?scheme-(.+)$/,([,t])=>({"color-scheme":t.split("-").join(" ")})]],sp=[[/^columns-(.+)$/,([,t])=>({columns:p.bracket.global.number.auto.numberWithUnit(t)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...P("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...P("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...P("break-after")],ns=["solid","double","dotted","dashed","wavy",...N],ap=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,t])=>({"text-decoration-line":t}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,ys,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,t])=>({"text-decoration-thickness":t}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,lp,{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>"}],...ns.map(t=>[`underline-${t}`,{"text-decoration-style":t}]),...ns.map(t=>[`decoration-${t}`,{"text-decoration-style":t}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function ys([,t]){return{"text-decoration-thickness":p.bracket.cssvar.global.px(t)}}function lp(t,e){if(et(p.bracket(t[1])))return ys(t);let r=j("text-decoration-color","line")(t,e);if(r){let n=r[0];return n["-webkit-text-decoration-color"]=n["text-decoration-color"],r}}var cp=[[/^pa?()-?(.+)$/,z("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,z("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,z("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,z("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,z("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,z("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],up=[[/^ma?()-?(.+)$/,z("margin")],[/^m-?xy()()$/,z("margin")],[/^m-?([xy])(?:-?(.+))?$/,z("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,z("margin")],[/^m-(block|inline)(?:-(.+))?$/,z("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,z("margin")]],fp=[[/^space-([xy])-(.+)$/,pp,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([,t],{symbols:e}){yield{[e.selector]:De,[`--un-space-${t}-reverse`]:"1"},yield y(`--un-space-${t}-reverse`,{initialValue:0})}]];function De(t){let e=">:not(:last-child)";return t.includes(e)?t:`${t}${e}`}function*pp([,t,e],{theme:r,symbols:n}){let o,i=Z(e);if(i!=null?(E("spacing"),o=`calc(var(--spacing) * ${i})`):o=r.spacing?.[e]??p.bracket.cssvar.auto.fraction.rem(e||"1"),o!=null){let s=J[t==="x"?"inline":"block"].map((a,c)=>{let l=`margin${a}`,f=` calc(${o} * ${c===0?`var(--un-space-${t}-reverse)`:`calc(1 - var(--un-space-${t}-reverse))`})`;return[l,f]});s&&(yield{[n.selector]:De,[`--un-space-${t}-reverse`]:"0",...Object.fromEntries(s)},yield y(`--un-space-${t}-reverse`,{initialValue:0}))}}var hp=[[/^divide-(.+)$/,function*(t,e){let r=j("border-color","divide")(t,e);r&&(yield{[e.symbols.selector]:De,...r[0]},yield r[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([,t],{symbols:e}){yield{[e.selector]:De,"--un-divide-opacity":p.bracket.percent(t)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,os,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,os],[/^divide-?([xy])-reverse$/,function*([,t],{symbols:e}){yield{[e.selector]:De,[`--un-divide-${t}-reverse`]:"1"},yield y(`--un-divide-${t}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${Te.join("|")})$`),function*([,t],{symbols:e}){yield{[e.selector]:De,"border-style":t}},{autocomplete:Te.map(t=>`divide-${t}`)}]];function*os([,t,e],{symbols:r}){let n=p.bracket.cssvar.px(e||"1");if(n!=null){n==="0"&&(n="0px");let i={x:["-left","-right"],y:["-top","-bottom"]}[t].map(s=>{let a=s.endsWith("left")||s.endsWith("top")?`calc(${n} * var(--un-divide-${t}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${t}-reverse)))`;return[[`border${s}-width`,a],[`border${s}-style`,"var(--un-border-style)"]]});i&&(yield{[r.selector]:De,[`--un-divide-${t}-reverse`]:0,...Object.fromEntries(i.flat())},yield y(`--un-divide-${t}-reverse`,{initialValue:0}),yield y("--un-border-style",{initialValue:"solid"}))}}var ks=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],zn=ks.map(t=>y(`--un-${t}`)),pr=ks.map(t=>`var(--un-${t},)`).join(" "),xs=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],dp=xs.map(t=>y(`--un-${t}`)),hr=xs.map(t=>`var(--un-${t},)`).join(" ");function Ln(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 ge(t,e){return([,r,n],{theme:o})=>{let i=e(n,o)??(n==="none"?"0":"");if(i!=="")return r?[{[`--un-${r}${t}`]:`${t}(${i})`,"-webkit-backdrop-filter":hr,"backdrop-filter":hr},...dp]:[{[`--un-${t}`]:`${t}(${i})`,filter:pr},...zn]}}function mp([,t],{theme:e}){let r=e.dropShadow?.[t||"DEFAULT"];if(r!=null)return[{"--un-drop-shadow":`drop-shadow(${ar(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:pr},...zn];if(r=p.bracket.cssvar(t)??(t==="none"?"":void 0),r!=null)return[{"--un-drop-shadow":r&&`drop-shadow(${r})`,filter:pr},...zn]}var gp=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,ge("blur",(t,e)=>e.blur?.[t||"DEFAULT"]||p.bracket.cssvar.px(t)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,ge("brightness",t=>p.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,ge("contrast",t=>p.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,mp,{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow-color-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,j("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-drop-shadow-opacity":p.bracket.percent(t)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,ge("grayscale",Ln),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,ge("hue-rotate",t=>p.bracket.cssvar.degree(t))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,ge("invert",Ln),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,ge("opacity",t=>p.bracket.cssvar.percent(t)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,ge("saturate",t=>p.bracket.cssvar.percent(t)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,ge("sepia",Ln),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:pr}],["backdrop-filter",{"-webkit-backdrop-filter":hr,"backdrop-filter":hr}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...N.map(t=>[`filter-${t}`,{filter:t}]),...N.map(t=>[`backdrop-filter-${t}`,{"-webkit-backdrop-filter":t,"backdrop-filter":t}])],bp=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,t])=>({flex:p.bracket(t)!=null?p.bracket(t).split(" ").map(e=>p.cssvar.fraction(e)??e).join(" "):p.cssvar.fraction(t)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,t=""])=>({"flex-shrink":p.bracket.cssvar.number(t)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,t=""])=>({"flex-grow":p.bracket.cssvar.number(t)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,t])=>{let e=Z(t);return e!=null?(E("spacing"),{"flex-basis":`calc(var(--spacing) * ${e})`}):{"flex-basis":p.bracket.cssvar.auto.fraction.rem(t)}},{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],is={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function An([,t="",e]){let r=Z(e);return r!=null?(E("spacing"),{[`${is[t]}gap`]:`calc(var(--spacing) * ${r})`}):{[`${is[t]}gap`]:p.bracket.cssvar.global.rem(e)}}var vp=[[/^(?:flex-|grid-)?gap-?()(.+)$/,An,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,An,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,An,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function he(t){return t.replace("col","column")}function yp(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 kp=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,t,e])=>({[`grid-${he(t)}`]:p.bracket.number.cssvar.auto(e)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,t,e])=>{if(e==="full")return{[`grid-${he(t)}`]:"1/-1"};let r=p.bracket.number.cssvar(e);if(r!=null)return{[`grid-${he(t)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,t,e])=>({[`grid-${he(t)}-start`]:p.bracket.cssvar(e)??e})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,t,e])=>({[`grid-${he(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-${he(t)}`]:yp(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":he(t).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,t,e])=>({[`grid-template-${he(t)}`]:p.bracket.cssvar(e)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,t,e])=>({[`grid-template-${he(t)}`]:`repeat(auto-fill,minmax(${e},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,t,e])=>({[`grid-template-${he(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"}]],cr=["auto","hidden","clip","visible","scroll","overlay",...N],xp=[[/^(?:overflow|of)-(.+)$/,([,t])=>cr.includes(t)?{overflow:t}:void 0,{autocomplete:[`(overflow|of)-(${cr.join("|")})`,`(overflow|of)-(x|y)-(${cr.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,t,e])=>cr.includes(e)?{[`overflow-${t}`]:e}:void 0]],wp=[[/^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"}]],In={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},ss="linear-gradient(#fff, #fff)",Sp={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function as([,t=""]){if(t in St)return{"mask-position":t.split("").flatMap(n=>In[n]).join(" ")};let e=p.bracket.cssvar.global.position(t);if(e!==null)return{"mask-position":e}}function Mn([t,e="",r,n],o){let i={...Sp},s=[];if(s.push(...["linear","radial","conic"].map(a=>y(`--un-mask-${a}`,{initialValue:ss}))),e in In){i["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(let a of In[e]){if(i[`--un-mask-${a}`]=`linear-gradient(to ${a}, var(--un-mask-${a}-from-color) var(--un-mask-${a}-from-position), var(--un-mask-${a}-to-color) var(--un-mask-${a}-to-position))`,Z(n)!=null?(E("spacing"),i[`--un-mask-${a}-${r}-position`]=`calc(var(--spacing) * ${p.bracket.cssvar.fraction.number(n)})`):i[`--un-mask-${a}-${r}-position`]=p.bracket.cssvar.fraction.rem(n),Ie(n,o.theme)){let c=j(`--un-mask-${a}-${r}-color`,lr("colors"))([t,n],o);if(c){let[l,...f]=c;Object.assign(i,l),s.push(...f)}}s.push(...["from","to"].flatMap(c=>[y(`--un-mask-${a}-${c}-position`,{syntax:"<length-percentage>",initialValue:c==="from"?"0%":"100%"}),y(`--un-mask-${a}-${c}-color`,{syntax:"<color>",initialValue:c==="from"?"black":"transparent"})]))}s.push(...["top","right","bottom","left"].map(a=>y(`--un-mask-${a}`,{initialValue:ss})))}else{if(r==null)e==="radial"?(i["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",i["--un-mask-radial-size"]=p.bracket.cssvar.rem(n)):(i[`--un-mask-${e}`]=`${e}-gradient(var(--un-mask-${e}-stops, var(--un-mask-${e}-position)))`,i[`--un-mask-${e}-position`]=Z(n)?`calc(1deg * ${p.bracket.cssvar.number(n)})`:p.bracket.cssvar.fraction(n));else{let a={linear:"",radial:"var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",conic:"from "};if(i[`--un-mask-${e}-stops`]=`${a[e]}var(--un-mask-${e}-position), var(--un-mask-${e}-from-color) var(--un-mask-${e}-from-position), var(--un-mask-${e}-to-color) var(--un-mask-${e}-to-position)`,i[`--un-mask-${e}`]=`${e}-gradient(var(--un-mask-${e}-stops))`,Ie(n,o.theme)){let c=j(`--un-mask-${e}-${r}-color`,lr("colors"))([t,n],o);if(c){let[l,...f]=c;Object.assign(i,l),s.push(...f)}}else Z(n)!=null?(E("spacing"),i[`--un-mask-${e}-${r}-position`]=`calc(var(--spacing) * ${p.bracket.cssvar.fraction.number(n)})`):i[`--un-mask-${e}-${r}-position`]=p.bracket.cssvar.fraction.rem(n)}e==="radial"&&s.push(y("--un-mask-radial-shape",{initialValue:"ellipse"}),y("--un-mask-radial-size",{initialValue:"farthest-corner"})),s.push(...["from","to"].flatMap(a=>[y(`--un-mask-${e}-position`,{initialValue:e==="radial"?"center":"0deg"}),y(`--un-mask-${e}-${a}-position`,{syntax:"<length-percentage>",initialValue:a==="from"?"0%":"100%"}),y(`--un-mask-${e}-${a}-color`,{syntax:"<color>",initialValue:a==="from"?"black":"transparent"})]))}return[i,...s]}function $p([,t=""]){let e=p.bracket.cssvar.global.fraction.rem(t);if(e!==null)return{"mask-size":e}}var _p=[["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)()(?:-(.+))?$/,Mn,{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)?-?(.*)$/,Mn],[/^mask-([trblxy])-(from|to)-(.*)$/,Mn],["mask-none",{"mask-image":"none"}],["mask-radial-circle",{"--un-mask-radial-shape":"circle"}],["mask-radial-ellipse",{"--un-mask-radial-shape":"ellipse"}],["mask-radial-closest-side",{"--un-mask-radial-size":"closest-side"}],["mask-radial-closest-corner",{"--un-mask-radial-size":"closest-corner"}],["mask-radial-farthest-side",{"--un-mask-radial-size":"farthest-side"}],["mask-radial-farthest-corner",{"--un-mask-radial-size":"farthest-corner"}],[/^mask-radial-at-([-\w]{3,})$/,([,t])=>({"--un-mask-radial-position":Y[t]}),{autocomplete:[`mask-radial-at-(${Object.keys(Y).filter(t=>t.length>2).join("|")})`]}],["mask-alpha",{"mask-mode":"alpha"}],["mask-luminance",{"mask-mode":"luminance"}],["mask-match",{"mask-mode":"match-source"}],["mask-origin-border",{"mask-origin":"border-box"}],["mask-origin-padding",{"mask-origin":"padding-box"}],["mask-origin-content",{"mask-origin":"content-box"}],["mask-origin-fill",{"mask-origin":"fill-box"}],["mask-origin-stroke",{"mask-origin":"stroke-box"}],["mask-origin-view",{"mask-origin":"view-box"}],[/^mask-([rltb]{1,2})$/,as],[/^mask-([-\w]{3,})$/,([,t])=>({"mask-position":Y[t]})],[/^mask-(?:position-|pos-)(.+)$/,as],["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-(.+)$/,$p],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],Cp=[[/^\$ placeholder-(.+)$/,j("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,t])=>({"--un-placeholder-opacity":p.bracket.percent(t)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],Ep=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,t])=>({position:t}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,t])=>N.includes(t)?{position:t}:void 0],[/^(?:position-|pos-)?(static)$/,([,t])=>({position:t})]],ws=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...P("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...P("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...P("justify-self")],Pp=[[/^order-(.+)$/,([,t])=>({order:p.bracket.cssvar.number(t)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],Ss=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...P("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...P("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...P("self","align-self")],$s=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...P("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...P("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...P("place-self")],Lp=[...ws,...Ss,...$s].flatMap(([t,e])=>[[`flex-${t}`,e],[`grid-${t}`,e]]);function jn(t){let e=Z(t);return e!=null?(E("spacing"),`calc(var(--spacing) * ${e})`):p.bracket.cssvar.global.auto.fraction.rem(t)}function Ot([,t,e]){let r=jn(e);if(r!=null&&t in wn)return wn[t].map(n=>[n.slice(1),r])}var Ap=[[/^(?:position-|pos-)?inset-(.+)$/,([,t])=>({inset:jn(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)-(.+)$/,Ot],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Ot],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Ot],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Ot],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Ot],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,t,e])=>({[t]:jn(e)})]],Mp=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...P("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...P("clear")],Op=[[/^(?: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>"}]],Rp=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...P("box","box-sizing")],Np=[[/^(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"})}`}]],Tn={shadow:y("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:y("--un-shadow-color"),insetShadow:y("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:y("--un-inset-shadow-color"),ringColor:y("--un-ring-color"),ringShadow:y("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:y("--un-inset-ring-color"),insetRingShadow:y("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:y("--un-ring-inset"),ringOffsetWidth:y("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:y("--un-ring-offset-color"),ringOffsetShadow:y("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},zp=[[/^shadow(?:-(.+))?$/,ls("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(?:-(.+))?$/,ls("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 ls(t){return(e,r)=>{let[,n]=e,{theme:o}=r,i=o[t]?.[n||"DEFAULT"],s=n?p.bracket.cssvar(n):void 0,a=lr(t);return(i!=null||s!=null)&&!Ie(s,o)?[{[`--un-${a}`]:ar(i||s,`--un-${a}-color`).join(","),"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Tn)]:j(`--un-${a}-color`,a)(e,r)}}var Ip=[[/^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(Tn)]}],[/^ring-(.+)$/,j("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,t])=>{let e=p.bracket.px(t||"1");if(e!=null)return[{"--un-inset-ring-shadow":`inset 0 0 0 ${e} var(--un-inset-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Tn)]}],[/^inset-ring-(.+)$/,j("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,t])=>({"--un-inset-ring-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,t])=>{let e=p.bracket.cssvar.px(t||"1");if(e!=null)return{"--un-ring-offset-width":e,"--un-ring-offset-shadow":"var(--un-ring-inset,) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)"}},{autocomplete:"ring-offset-$colors"}],[/^ring-offset-(.+)$/,j("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,t])=>({"--un-ring-offset-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],jp=[...["x","y","both"].map(t=>[`snap-${t}`,[{"scroll-snap-type":`${t} var(--un-scroll-snap-strictness)`},y("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(t=>[`snap-${t}`,[{"--un-scroll-snap-strictness":t},y("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(.+)$/,z("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(.+)$/,z("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,z("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,z("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,z("scroll-margin")],[/^scroll-pa?()-?(.+)$/,z("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,z("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,z("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,z("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,z("scroll-padding")]],Tp={h:"height",w:"width",inline:"inline-size",block:"block-size"};function ot(t,e){return`${t||""}${Tp[e]}`}function ur(t,e,r){let n,o=["container","spacing"];for(let i of o)if(t[i]?.[r]){E(i,r),n=T(i,r);break}if(!n)switch(r){case"fit":case"max":case"min":n=`${r}-content`;break;case"screen":n=e==="w"?"100vw":"100vh";break}return!n&&p.number(r)!=null&&(E("spacing"),n=`calc(var(--spacing) * ${p.number(r)})`),n??p.bracket.cssvar.global.auto.none.fraction.rem(r)}var Dp=[[/^size-(min-|max-)?(.+)$/,([,t,e],{theme:r})=>({[ot(t,"w")]:ur(r,"w",e),[ot(t,"h")]:ur(r,"h",e)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,t,e,r],{theme:n})=>({[ot(t,e)]:ur(n,e,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,t,e,r],{theme:n})=>({[ot(t,e)]:ur(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)=>({[ot(t,e)]:cs(n,r,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,t,e,r],n)=>({[ot(t,e)]:cs(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 cs(t,e,r="breakpoint"){let n=je(t,r);if(n)return n.find(o=>o.point===e)?.size}function Fp(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 Bp=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,t])=>({"aspect-ratio":Fp(t)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],qp=["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"],On=["size","layout","paint","style"],Vp=[["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)})]],Hp=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...P("backface","backface-visibility")],Wp=[[/^cursor-(.+)$/,([,t])=>({cursor:p.bracket.cssvar.global(t)})],...qp.map(t=>[`cursor-${t}`,{cursor:t}])],Up=[[/^contain-(.*)$/,([,t])=>p.bracket(t)!=null?{contain:p.bracket(t).split(" ").map(e=>p.cssvar.fraction(e)??e).join(" ")}:On.includes(t)?[{"--un-contain-size":t,contain:On.map(e=>`var(--un-contain-${e})`).join(" ")},...On.map(e=>y(`--un-contain-${e}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],Gp=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...P("pointer-events")],Kp=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...P("resize")],Yp=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...P("select","user-select")],Xp=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,t])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...N].includes(t)?{"white-space":t}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Jp=[[/^intrinsic-size-(.+)$/,([,t])=>({"contain-intrinsic-size":p.bracket.cssvar.global.fraction.rem(t)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...P("content-visibility")],Zp=[[/^content-(.+)$/,([,t])=>{if(p.bracket.cssvar(t)!=null)return[{"--un-content":p.bracket.cssvar(t),content:"var(--un-content)"},y("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Qp=[["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"}]],eh=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],th=[["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"}]],rh=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}],...P("case","text-transform")],nh=[["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"}]],oh=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],ih=[...["manual","auto","none",...N].map(t=>[`hyphens-${t}`,{"-webkit-hyphens":t,"-ms-hyphens":t,hyphens:t}])],sh=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...P("write","writing-mode")],ah=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...P("write-orient","text-orientation")],lh=[["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"}]],ch=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],uh=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,t])=>{if(Y[t])return{"object-position":Y[t]};if(p.bracketOfPosition(t)!=null)return{"object-position":p.bracketOfPosition(t).split(" ").map(e=>p.position.fraction.auto.px.cssvar(e)??e).join(" ")}},{autocomplete:`object-(${Object.keys(Y).join("|")})`}]],fh=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...P("bg-blend","background-blend")],ph=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...P("mix-blend")],hh=[["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"}]],dh=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],mh=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],gh=[[/^fill-(.+)$/,j("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,t])=>({"--un-fill-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,_s],[/^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-(.+)$/,bh,{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 _s([,t]){return{"stroke-width":p.bracket.cssvar.fraction.px.number(t)}}function bh(t,e){return et(p.bracket(t[1]))?_s(t):j("stroke","stroke")(t,e)}var vh=[["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=us(t,e);if(r!=null){yield{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(let n of["x","y"])yield y(`--un-border-spacing-${n}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,t,e],{theme:r}){let n=us(e,r);if(n!=null){yield{[`--un-border-spacing-${t}`]:n,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(let o of["x","y"])yield y(`--un-border-spacing-${o}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];function us(t,e){let r=e.spacing?.[t];if(!r){let n=Z(t);n!=null?(E("spacing"),r=`calc(var(--spacing) * ${n})`):r=p.bracket.cssvar.global.auto.fraction.rem(t)}return r}var Rn="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Nn=["pan-x","pan-y","pinch-zoom"].map(t=>y(`--un-${t}`)),yh=[[/^touch-pan-(x|left|right)$/,function*([,t]){yield{"--un-pan-x":`pan-${t}`,"touch-action":Rn};for(let e of Nn)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":Rn};for(let e of Nn)yield e}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":Rn};for(let t of Nn)yield t}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...P("touch","touch-action")],fr=["translate","rotate","scale"],Dn=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),Fn=Dn,kh=["translateZ(0)",Dn].join(" ");var xh=[[/^(?:transform-)?origin-(.+)$/,([,t])=>({"transform-origin":Y[t]??p.bracket.cssvar(t)}),{autocomplete:[`transform-origin-(${Object.keys(Y).join("|")})`,`origin-(${Object.keys(Y).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,t],{theme:e})=>{let r;if(e.perspective?.[t]?(E("perspective",t),r=T("perspective",t)):r=p.bracket.cssvar.px.numberWithUnit(t),r!=null)return{perspective:r}},{autocomplete:["transform-perspective-<num>","perspective-<num>","perspective-$perspective"]}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,t])=>{let e=p.bracket.cssvar(t)??(t.length>=3?Y[t]:void 0);if(e!=null)return{"perspective-origin":e}}],[/^(?:transform-)?translate-()(.+)$/,fs],[/^(?:transform-)?translate-([xyz])-(.+)$/,fs],[/^(?:transform-)?rotate-()(.+)$/,hs],[/^(?:transform-)?rotate-([xyz])-(.+)$/,hs],[/^(?:transform-)?skew-()(.+)$/,ds],[/^(?:transform-)?skew-([xy])-(.+)$/,ds,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,ps],[/^(?:transform-)?scale-([xyz])-(.+)$/,ps,{autocomplete:[`transform-(${fr.join("|")})-<percent>`,`transform-(${fr.join("|")})-(x|y|z)-<percent>`,`(${fr.join("|")})-<percent>`,`(${fr.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:Fn}],["transform-cpu",{transform:Dn}],["transform-gpu",{transform:kh}],["transform-none",{transform:"none"}],...P("transform")];function fs([,t,e]){let r=Z(e)??p.bracket.cssvar.none.fraction.rem(e);if(r!=null)return r==="none"?{translate:"none"}:(E("spacing"),[[...Bn(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)":""}`,xt]],...["x","y","z"].map(n=>y(`--un-translate-${n}`,{initialValue:0}))])}function ps([,t,e]){let r=p.bracket.cssvar.none.fraction.percent(e);if(r!=null)return r==="none"?{scale:"none"}:[[...Bn(t,r,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${t==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(n=>y(`--un-scale-${n}`,{initialValue:1}))]}function hs([,t="",e]){let r=p.bracket.cssvar.none.degree(e);if(r!=null)return r==="none"?{rotate:"none"}:t?[[...Bn(t,r.endsWith("deg")?`rotate${t.toUpperCase()}(${r})`:r,"rotate"),["transform",Fn]],...["x","y","z"].map(n=>y(`--un-rotate-${n}`,{initialValue:`rotate${n.toUpperCase()}(0)`})),...["x","y"].map(n=>y(`--un-skew-${n}`,{initialValue:`skew${n.toUpperCase()}(0)`}))]:{rotate:p.bracket.cssvar.degree(e)}}function ds([,t,e]){let r=p.bracket.cssvar.degree(e),n=Sn[t];if(r!=null&&n)return[[...n.map(o=>[`--un-skew${o}`,r.endsWith("deg")?`skew${o.slice(1).toUpperCase()}(${r})`:r]),["transform",Fn]],...["x","y","z"].map(o=>y(`--un-rotate-${o}`,{initialValue:`rotate${o.toUpperCase()}(0)`})),...["x","y"].map(o=>y(`--un-skew-${o}`,{initialValue:`skew${o.toUpperCase()}(0)`}))]}function Bn(t,e,r){let n=e.split(Ti);return t||!t&&n.length===1?Sn[t].map(o=>[`--un-${r}${o}`,e]):n.map((o,i)=>[`--un-${r}-${zi[i]}`,o])}function ms(t,e){let r;if(p.cssvar(t)!=null)r=p.cssvar(t);else{t.startsWith("[")&&t.endsWith("]")&&(t=t.slice(1,-1));let n=t.split(",").map(o=>e.property?.[o]??p.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}var wh=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,t,e],{theme:r})=>{E("default",["transition","timingFunction"]),E("default",["transition","duration"]);let n={"transition-property":r.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${T("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${T("default",["transition","duration"])})`};if(!t&&!e)return{...n};if(t!=null){let o=ms(t,r);if(o)return{"--un-duration":e&&p.time(e),...n,"transition-property":o}}else if(e!=null)return{"--un-duration":p.time(e),...n}}],[/^(?:transition-)?duration-(.+)$/,([,t])=>({"--un-duration":p.bracket.cssvar.time(t),"transition-duration":p.bracket.cssvar.time(t)})],[/^(?:transition-)?delay-(.+)$/,([,t])=>({"transition-delay":p.bracket.cssvar.time(t)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>{let r;return e.ease?.[t]?(E("ease",t),r=T("ease",t)):r=p.bracket.cssvar(t),[{"--un-ease":r,"transition-timing-function":r},y("--un-ease")]},{autocomplete:["transition-ease-(linear|in|out|in-out)","ease-(linear|in|out|in-out)"]}],[/^(?:transition-)?property-(.+)$/,([,t],{theme:e})=>{let r=p.global(t)||ms(t,e);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...N].join("|")})`]}],["transition-none",{transition:"none"}],...P("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Sh=[[/^text-(.+)$/,Lh,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,Cs,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,Ah,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,j("color","text")],[/^(?:text|color|c)-(.+)$/,([,t])=>N.includes(t)?{color:t}:void 0,{autocomplete:`(text|color|c)-(${N.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,t],{theme:e})=>{let r;return e.fontWeight?.[t]?(E("fontWeight",t),r=T("fontWeight",t)):r=p.bracket.cssvar.global.number(t),{"--un-font-weight":r,"font-weight":r}},{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,t],{theme:e})=>{let r;if(e.leading?.[t]?(E("leading",t),r=T("leading",t)):Z(t)?(E("spacing"),r=`calc(var(--spacing) * ${Z(t)})`):r=p.bracket.cssvar.global.rem(t),r!=null)return[{"--un-leading":r,"line-height":r},y("--un-leading")]},{autocomplete:"(leading|lh|line-height)-$leading"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,t])=>({"font-synthesis":p.bracket.cssvar.global(t)})],[/^(?:font-)?tracking-(.+)$/,([,t],{theme:e})=>{let r;return e.tracking?.[t]?(E("tracking",t),r=T("tracking",t)):r=p.bracket.cssvar.global.rem(t),{"--un-tracking":r,"letter-spacing":r}},{autocomplete:"tracking-$tracking"}],[/^(?:font-)?word-spacing-(.+)$/,([,t],{theme:e})=>{let r=e.tracking?.[t]?T("tracking",t):p.bracket.cssvar.global.rem(t);return{"--un-word-spacing":r,"word-spacing":r}},{autocomplete:"word-spacing-$spacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,t])=>({"font-stretch":p.bracket.cssvar.fraction.global(t)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,t],{theme:e})=>{let r;if(e.font?.[t])return E("font",t),r=T("font",t),{"font-family":r};if(e.fontWeight?.[t])return E("fontWeight",t),r=T("fontWeight",t),{"--un-font-weight":r,"font-weight":r};if(r=p.number(t),r!=null)return{"--un-font-weight":r,"font-weight":r};if(r=p.bracketOfFamily(t),r!=null&&p.number(r)==null)return r=p.cssvar(r)??r,{"font-family":r};if(r=p.bracketOfNumber(t),r!=null)return r=p.cssvar.number(r),{"--un-font-weight":r,"font-weight":r};if(r=p.bracket(t),r!=null&&p.number(r)!=null){let n=p.number(r);return{"--un-font-weight":n,"font-weight":n}}if(r=p.bracket.cssvar.global(t),r!=null)return{"font-family":r}},{autocomplete:["font-$font","font-$fontWeight"]}]],$h=[[/^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}}]],_h=[[/^indent-(.+)$/,([,t])=>{let e=Z(t);if(e!=null)return E("spacing"),{"text-indent":`calc(var(--spacing) * ${e})`};if(e=p.bracket.cssvar.auto.global.rem(t),e!=null)return{"text-indent":e}}]],Ch=[[/^text-stroke(?:-(.+))?$/,([,t="DEFAULT"],{theme:e})=>(e.textStrokeWidth?.[t]&&E("textStrokeWidth",t),{"-webkit-text-stroke-width":e.textStrokeWidth?.[t]?T("textStrokeWidth",t):p.bracket.cssvar.px(t)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,j("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-stroke-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],gs=/op(?:acity)?-/,Eh=[[/^text-shadow(?:-(.+))?$/,(t,e)=>{let[r,n="DEFAULT"]=t,o=e.theme.textShadow?.[n];return o!=null?{"--un-text-shadow":ar(o,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:gs.test(n)?{"--un-text-shadow-opacity":p.bracket.percent.cssvar(n.replace(gs,""))}:j("--un-text-shadow-color","text-shadow")(t,e)??{"text-shadow":p.bracket.cssvar.global(n)}},{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,j("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,t])=>({"--un-text-shadow-opacity":p.bracket.percent.cssvar(t)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]],_e=[y("--un-ordinal"),y("--un-slashed-zero"),y("--un-numeric-figure"),y("--un-numeric-spacing"),y("--un-numeric-fraction")],Ce={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},Ph=[["ordinal",[{"--un-ordinal":"ordinal",...Ce},..._e]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...Ce},..._e]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...Ce},..._e]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...Ce},..._e]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...Ce},..._e]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...Ce},..._e]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...Ce},..._e]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...Ce},..._e]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function Lh([,t="base"],{theme:e}){let r=Mh(t,"length");if(!r)return;let[n,o]=r,i=e.text?.[n],s;if(o&&(e.leading?.[o]?(E("leading",o),s=T("leading",o)):s=p.bracket.cssvar.global.rem(o)),i)return E("text",[n,"fontSize"]),E("text",[n,"lineHeight"]),i.letterSpacing&&E("text",[n,"letterSpacing"]),{"font-size":T("text",[n,"fontSize"]),"line-height":s??`var(--un-leading, ${T("text",[n,"lineHeight"])})`,"letter-spacing":i.letterSpacing?T("text",[n,"letterSpacing"]):void 0};let a=p.bracketOfLength.rem(n);return s&&a?{"font-size":a,"line-height":s}:{"font-size":p.bracketOfLength.rem(t)}}function Cs([,t],{theme:e}){if(e.text?.[t]!=null)return E("text",[t,"fontSize"]),E("text",[t,"lineHeight"]),{"font-size":T("text",[t,"fontSize"]),"line-height":`var(--un-leading, ${T("text",[t,"lineHeight"])})`};{let r=p.bracket.cssvar.global.rem(t);if(r)return{"font-size":r}}}function Ah(t,e){return et(p.bracket(t[1]))?Cs(t,e):j("color","text")(t,e)}function Mh(t,e){let[r,n]=Me(t,"[","]",["/",":"])??[];if(r!=null){let o=(r.match(sr)??[])[1];if(o==null||o===e)return[r,n]}}var Oh={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"},Rh=[[/^(.+?)-(\$.+)$/,([,t,e])=>{let r=Oh[t];if(r)return{[r]:p.cssvar(e)}}]],Nh=[[/^\[(.*)\]$/,([t,e])=>{if(!e.includes(":"))return;let[r,...n]=e.split(":"),o=n.join(":");if(!Ih(e)&&/^[\w-]+$/.test(r)&&zh(o)){let i=p.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function zh(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 Ih(t){if(!t.includes("://"))return!1;try{return new URL(t).host!==""}catch{return!1}}var jh=[[/^view-transition-([\w-]+)$/,([,t])=>({"view-transition-name":t})]],Es=[Sh,$h,_h,Ch,Eh,up,cp,If,zf,qf,ts,rs,Hf,Wf,Uf,Gf,Kf,ts,Yf,rs,Xf,op,Zf,ip,Yi,Ki,ap,bp,vp,kp,Dp,Bp,Vp,Hp,Wp,Up,Gp,Kp,Yp,Xp,Jp,Zp,Qp,eh,th,rh,nh,oh,Ip,zp,xh,wh,Rh,Nh,Ss,Rp,Lp,Mp,Ap,ws,Pp,$s,Ep,Op,xp,gh,jf,Ff,ih,sh,ah,dh,lh,ch,uh,fh,ph,hh,_p,sp,gp,wp,Cp,jp,vh,yh,Ph,jh,fp,hp,mh,Np].flat();function Th(){return{getCSS:()=>{if(ze.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(ze.entries()).map(([n,o])=>`${n}:${o};`).join("");return`${t}{${e}{${r}}}`}},layer:"properties"}}var Dh=`
|
|
34
|
+
/*
|
|
35
|
+
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
36
|
+
2. Remove default margins and padding
|
|
37
|
+
3. Reset all borders.
|
|
38
|
+
*/
|
|
39
|
+
|
|
40
|
+
*,
|
|
41
|
+
::after,
|
|
42
|
+
::before,
|
|
43
|
+
::backdrop,
|
|
44
|
+
::file-selector-button {
|
|
45
|
+
box-sizing: border-box; /* 1 */
|
|
46
|
+
margin: 0; /* 2 */
|
|
47
|
+
padding: 0; /* 2 */
|
|
48
|
+
border: 0 solid; /* 3 */
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/*
|
|
52
|
+
1. Use a consistent sensible line-height in all browsers.
|
|
53
|
+
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
54
|
+
3. Use a more readable tab size.
|
|
55
|
+
4. Use the user's configured \`sans\` font-family by default.
|
|
56
|
+
5. Use the user's configured \`sans\` font-feature-settings by default.
|
|
57
|
+
6. Use the user's configured \`sans\` font-variation-settings by default.
|
|
58
|
+
7. Disable tap highlights on iOS.
|
|
59
|
+
*/
|
|
60
|
+
|
|
61
|
+
html,
|
|
62
|
+
:host {
|
|
63
|
+
line-height: 1.5; /* 1 */
|
|
64
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
|
65
|
+
tab-size: 4; /* 3 */
|
|
66
|
+
font-family: var(
|
|
67
|
+
--default-font-family,
|
|
68
|
+
ui-sans-serif,
|
|
69
|
+
system-ui,
|
|
70
|
+
sans-serif,
|
|
71
|
+
'Apple Color Emoji',
|
|
72
|
+
'Segoe UI Emoji',
|
|
73
|
+
'Segoe UI Symbol',
|
|
74
|
+
'Noto Color Emoji'
|
|
75
|
+
); /* 4 */
|
|
76
|
+
font-feature-settings: var(--default-font-featureSettings, normal); /* 5 */
|
|
77
|
+
font-variation-settings: var(--default-font-variationSettings, normal); /* 6 */
|
|
78
|
+
-webkit-tap-highlight-color: transparent; /* 7 */
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/*
|
|
82
|
+
1. Add the correct height in Firefox.
|
|
83
|
+
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
84
|
+
3. Reset the default border style to a 1px solid border.
|
|
85
|
+
*/
|
|
86
|
+
|
|
87
|
+
hr {
|
|
88
|
+
height: 0; /* 1 */
|
|
89
|
+
color: inherit; /* 2 */
|
|
90
|
+
border-top-width: 1px; /* 3 */
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/*
|
|
94
|
+
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
95
|
+
*/
|
|
96
|
+
|
|
97
|
+
abbr:where([title]) {
|
|
98
|
+
-webkit-text-decoration: underline dotted;
|
|
99
|
+
text-decoration: underline dotted;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/*
|
|
103
|
+
Remove the default font size and weight for headings.
|
|
104
|
+
*/
|
|
105
|
+
|
|
106
|
+
h1,
|
|
107
|
+
h2,
|
|
108
|
+
h3,
|
|
109
|
+
h4,
|
|
110
|
+
h5,
|
|
111
|
+
h6 {
|
|
112
|
+
font-size: inherit;
|
|
113
|
+
font-weight: inherit;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/*
|
|
117
|
+
Reset links to optimize for opt-in styling instead of opt-out.
|
|
118
|
+
*/
|
|
119
|
+
|
|
120
|
+
a {
|
|
121
|
+
color: inherit;
|
|
122
|
+
-webkit-text-decoration: inherit;
|
|
123
|
+
text-decoration: inherit;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/*
|
|
127
|
+
Add the correct font weight in Edge and Safari.
|
|
128
|
+
*/
|
|
129
|
+
|
|
130
|
+
b,
|
|
131
|
+
strong {
|
|
132
|
+
font-weight: bolder;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/*
|
|
136
|
+
1. Use the user's configured \`mono\` font-family by default.
|
|
137
|
+
2. Use the user's configured \`mono\` font-feature-settings by default.
|
|
138
|
+
3. Use the user's configured \`mono\` font-variation-settings by default.
|
|
139
|
+
4. Correct the odd \`em\` font sizing in all browsers.
|
|
140
|
+
*/
|
|
141
|
+
|
|
142
|
+
code,
|
|
143
|
+
kbd,
|
|
144
|
+
samp,
|
|
145
|
+
pre {
|
|
146
|
+
font-family: var(
|
|
147
|
+
--default-monoFont-family,
|
|
148
|
+
ui-monospace,
|
|
149
|
+
SFMono-Regular,
|
|
150
|
+
Menlo,
|
|
151
|
+
Monaco,
|
|
152
|
+
Consolas,
|
|
153
|
+
'Liberation Mono',
|
|
154
|
+
'Courier New',
|
|
155
|
+
monospace
|
|
156
|
+
); /* 1 */
|
|
157
|
+
font-feature-settings: var(--default-monoFont-featureSettings, normal); /* 2 */
|
|
158
|
+
font-variation-settings: var(--default-monoFont-variationSettings, normal); /* 3 */
|
|
159
|
+
font-size: 1em; /* 4 */
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/*
|
|
163
|
+
Add the correct font size in all browsers.
|
|
164
|
+
*/
|
|
165
|
+
|
|
166
|
+
small {
|
|
167
|
+
font-size: 80%;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/*
|
|
171
|
+
Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
|
|
172
|
+
*/
|
|
173
|
+
|
|
174
|
+
sub,
|
|
175
|
+
sup {
|
|
176
|
+
font-size: 75%;
|
|
177
|
+
line-height: 0;
|
|
178
|
+
position: relative;
|
|
179
|
+
vertical-align: baseline;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
sub {
|
|
183
|
+
bottom: -0.25em;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
sup {
|
|
187
|
+
top: -0.5em;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/*
|
|
191
|
+
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
192
|
+
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
193
|
+
3. Remove gaps between table borders by default.
|
|
194
|
+
*/
|
|
195
|
+
|
|
196
|
+
table {
|
|
197
|
+
text-indent: 0; /* 1 */
|
|
198
|
+
border-color: inherit; /* 2 */
|
|
199
|
+
border-collapse: collapse; /* 3 */
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/*
|
|
203
|
+
Use the modern Firefox focus style for all focusable elements.
|
|
204
|
+
*/
|
|
205
|
+
|
|
206
|
+
:-moz-focusring {
|
|
207
|
+
outline: auto;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/*
|
|
211
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
|
212
|
+
*/
|
|
213
|
+
|
|
214
|
+
progress {
|
|
215
|
+
vertical-align: baseline;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/*
|
|
219
|
+
Add the correct display in Chrome and Safari.
|
|
220
|
+
*/
|
|
221
|
+
|
|
222
|
+
summary {
|
|
223
|
+
display: list-item;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/*
|
|
227
|
+
Make lists unstyled by default.
|
|
228
|
+
*/
|
|
229
|
+
|
|
230
|
+
ol,
|
|
231
|
+
ul,
|
|
232
|
+
menu {
|
|
233
|
+
list-style: none;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/*
|
|
237
|
+
1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
238
|
+
2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
239
|
+
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
240
|
+
*/
|
|
241
|
+
|
|
242
|
+
img,
|
|
243
|
+
svg,
|
|
244
|
+
video,
|
|
245
|
+
canvas,
|
|
246
|
+
audio,
|
|
247
|
+
iframe,
|
|
248
|
+
embed,
|
|
249
|
+
object {
|
|
250
|
+
display: block; /* 1 */
|
|
251
|
+
vertical-align: middle; /* 2 */
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/*
|
|
255
|
+
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
256
|
+
*/
|
|
257
|
+
|
|
258
|
+
img,
|
|
259
|
+
video {
|
|
260
|
+
max-width: 100%;
|
|
261
|
+
height: auto;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/*
|
|
265
|
+
1. Inherit font styles in all browsers.
|
|
266
|
+
2. Remove border radius in all browsers.
|
|
267
|
+
3. Remove background color in all browsers.
|
|
268
|
+
4. Ensure consistent opacity for disabled states in all browsers.
|
|
269
|
+
*/
|
|
270
|
+
|
|
271
|
+
button,
|
|
272
|
+
input,
|
|
273
|
+
select,
|
|
274
|
+
optgroup,
|
|
275
|
+
textarea,
|
|
276
|
+
::file-selector-button {
|
|
277
|
+
font: inherit; /* 1 */
|
|
278
|
+
font-feature-settings: inherit; /* 1 */
|
|
279
|
+
font-variation-settings: inherit; /* 1 */
|
|
280
|
+
letter-spacing: inherit; /* 1 */
|
|
281
|
+
color: inherit; /* 1 */
|
|
282
|
+
border-radius: 0; /* 2 */
|
|
283
|
+
background-color: transparent; /* 3 */
|
|
284
|
+
opacity: 1; /* 4 */
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/*
|
|
288
|
+
Restore default font weight.
|
|
289
|
+
*/
|
|
290
|
+
|
|
291
|
+
:where(select:is([multiple], [size])) optgroup {
|
|
292
|
+
font-weight: bolder;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
/*
|
|
296
|
+
Restore indentation.
|
|
297
|
+
*/
|
|
298
|
+
|
|
299
|
+
:where(select:is([multiple], [size])) optgroup option {
|
|
300
|
+
padding-inline-start: 20px;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/*
|
|
304
|
+
Restore space after button.
|
|
305
|
+
*/
|
|
306
|
+
|
|
307
|
+
::file-selector-button {
|
|
308
|
+
margin-inline-end: 4px;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/*
|
|
312
|
+
Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
313
|
+
*/
|
|
314
|
+
|
|
315
|
+
::placeholder {
|
|
316
|
+
opacity: 1;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/*
|
|
320
|
+
Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
|
|
321
|
+
crash when using \`color-mix(\u2026)\` with \`currentcolor\`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
|
|
322
|
+
*/
|
|
323
|
+
|
|
324
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
|
|
325
|
+
(contain-intrinsic-size: 1px) /* Safari 17+ */ {
|
|
326
|
+
::placeholder {
|
|
327
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/*
|
|
332
|
+
Prevent resizing textareas horizontally by default.
|
|
333
|
+
*/
|
|
334
|
+
|
|
335
|
+
textarea {
|
|
336
|
+
resize: vertical;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/*
|
|
340
|
+
Remove the inner padding in Chrome and Safari on macOS.
|
|
341
|
+
*/
|
|
342
|
+
|
|
343
|
+
::-webkit-search-decoration {
|
|
344
|
+
-webkit-appearance: none;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/*
|
|
348
|
+
1. Ensure date/time inputs have the same height when empty in iOS Safari.
|
|
349
|
+
2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
|
|
350
|
+
*/
|
|
351
|
+
|
|
352
|
+
::-webkit-date-and-time-value {
|
|
353
|
+
min-height: 1lh; /* 1 */
|
|
354
|
+
text-align: inherit; /* 2 */
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
/*
|
|
358
|
+
Prevent height from changing on date/time inputs in macOS Safari when the input is set to \`display: block\`.
|
|
359
|
+
*/
|
|
360
|
+
|
|
361
|
+
::-webkit-datetime-edit {
|
|
362
|
+
display: inline-flex;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/*
|
|
366
|
+
Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
|
|
367
|
+
*/
|
|
368
|
+
|
|
369
|
+
::-webkit-datetime-edit-fields-wrapper {
|
|
370
|
+
padding: 0;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
::-webkit-datetime-edit,
|
|
374
|
+
::-webkit-datetime-edit-year-field,
|
|
375
|
+
::-webkit-datetime-edit-month-field,
|
|
376
|
+
::-webkit-datetime-edit-day-field,
|
|
377
|
+
::-webkit-datetime-edit-hour-field,
|
|
378
|
+
::-webkit-datetime-edit-minute-field,
|
|
379
|
+
::-webkit-datetime-edit-second-field,
|
|
380
|
+
::-webkit-datetime-edit-millisecond-field,
|
|
381
|
+
::-webkit-datetime-edit-meridiem-field {
|
|
382
|
+
padding-block: 0;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/*
|
|
386
|
+
Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
387
|
+
*/
|
|
388
|
+
|
|
389
|
+
:-moz-ui-invalid {
|
|
390
|
+
box-shadow: none;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/*
|
|
394
|
+
Correct the inability to style the border radius in iOS Safari.
|
|
395
|
+
*/
|
|
396
|
+
|
|
397
|
+
button,
|
|
398
|
+
input:where([type='button'], [type='reset'], [type='submit']),
|
|
399
|
+
::file-selector-button {
|
|
400
|
+
appearance: button;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/*
|
|
404
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
|
405
|
+
*/
|
|
406
|
+
|
|
407
|
+
::-webkit-inner-spin-button,
|
|
408
|
+
::-webkit-outer-spin-button {
|
|
409
|
+
height: auto;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/*
|
|
413
|
+
Make elements with the HTML hidden attribute stay hidden by default.
|
|
414
|
+
*/
|
|
415
|
+
|
|
416
|
+
[hidden]:where(:not([hidden='until-found'])) {
|
|
417
|
+
display: none !important;
|
|
418
|
+
}
|
|
419
|
+
`;function Fh(t){if(t.preflights?.reset!==!1)return{getCSS:({generator:e})=>(E("font","sans"),E("font","mono"),E("default",["font","family"]),E("default",["monoFont","family"]),Cn(Dh,e.config.envMode==="dev")),layer:"base"}}var Bh=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports"];function qh(t,e){let r=new Map([["--spacing",t.spacing.DEFAULT]]),n=i=>i.replace(bn,"1");function o(i,s){for(let a in i)Array.isArray(i[a])?r.set(`--${s}-${a}`,n(i[a].join(","))):typeof i[a]=="object"?o(i[a],`${s}-${a}`):r.set(`--${s}-${a}`,n(i[a]))}for(let i in t)e.includes(i)&&o(t[i],i);return r}function Vh(t){return{layer:"theme",getCSS(e){let{theme:r,generator:n}=e,o=le(n.config.safelist.flatMap(l=>typeof l=="function"?l(e):l)),{mode:i,process:s}=t.preflights.theme;if(i===!1)return;if(o.length>0)for(let l of o){let[f,...u]=l.trim().split(":");if(f in r&&u.length<=1){let h=u.length===0?["DEFAULT"]:u[0].split("-"),d=Ct(r,f,h);typeof d=="string"&&(E(f,h),tt(d,r))}}let a,c=l=>{if(s)for(let h of l)for(let d of O(s))d(h,e);let f=l.map(([h,d])=>h&&d?`${h}: ${d};`:void 0).filter(Boolean);if(f.length===0)return;let u=f.join(`
|
|
420
|
+
`);return Cn(`
|
|
421
|
+
:root, :host {
|
|
422
|
+
${u}
|
|
423
|
+
}`,n.config.envMode==="dev")};if(i==="on-demand"){if(Ne.size===0)return;a=Array.from(Ne).map(l=>{let[f,u]=l.split(":"),h=Ct(r,f,u.split("-"));if(typeof h=="string")return[`--${f}${`${f==="spacing"&&u==="DEFAULT"?"":`-${u}`}`}`,h]}).filter(Boolean)}else{let l=Object.keys(r).filter(f=>!Bh.includes(f));a=Array.from(qh(r,l))}return c(a)}}}var Hh=t=>[Fh(t),Vh(t),Th()].filter(Boolean),Wh={position:["relative","absolute","fixed","sticky","static"],globalKeyword:N},Ps=(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:Ni,rules:Es,shortcuts:Ji,theme:Gi,layers:{properties:-200,theme:-150,base:-100},preflights:Hh(t),variants:Wi(t),prefix:t.prefix,postprocess:Bi(t),extractorDefault:t.arbitraryVariants===!1?void 0:ai(),autocomplete:{shorthands:Wh},options:t,configResolved(){Ne.clear(),ze.clear()},meta:{themeDeps:Ne,propertyDeps:ze}}};var Jr=Ko(No(),1),j0=ii({presets:[Ps(),kn()],theme:{}}),zo=10,Xr=class extends Jr.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}},Io=class extends Xr{CommentStatement(e){return this.onCollect(e.value),super.CommentStatement(e)}},jo=class extends Xr{PathExpression(e){return this.onCollect(e.original),super.PathExpression(e)}},To=class extends Io{match=Fo.macro};function Bo(t,e){return t.hasOwnProperty(e)}function yl(t){switch(typeof t){case"string":return`'${t}'`;case"object":return JSON.stringify(t);default:return String(t)}}function kl(t={}){return{helpers:t?.helpers??null}}function T0(t){return[...new Set(t)]}function xl(t){return Jr.default.parse(t)}function qo(t){return Jr.default.compile(t)}function Vo(t,e={},r={}){return t(e,{helpers:r})}async function wl(t,e={},r={}){let n=await j0,o=Vo(t,e,r),{css:i}=await n.generate(o,{preflights:!0});return i}function D0(t){let e=new jo().collect(t);return T0(e)}function Do(t,e=zo){if(e<=0)throw new Ge("Flext: Unable to get the model: The model is too deep");let[r,...n]=t?.split(".")??[],o={name:r};return n?.length>0&&(o.$=[Do(n?.join("."),e-1)]),o}function F0(t,e=zo){let n={name:"root",$:[Do(t,e)]};return n.addPath=(o,i=zo)=>{let s=Do(o,i),a=n,c=s;for(let l=0;l<99;l++){if(!c)return;let f=a?.$??[],u=null;for(let d of f)c?.name===d?.name&&(u=d);if(!u){a.$=[...f,c];return}let[h]=c.$??[];a=u,c=h??null}},n}function Sl(t){let[e,...r]=D0(t),n=F0(e);for(let o of r)n.addPath(o);return n}function B0(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(Le.macroParam),o=e(Le.macroNamedParam),i=e(Le.macroSimpleParam);return n?r(n):o?r(o):i?r(i):null}function q0(t,e=!0){let r=t?.match(Le.macroParams)??[],n=[];for(let o of r){let i=B0(o);if(i)n.push(i);else if(e)throw new bt("Flext: Unable to parse the macros: Bad token: "+yl(o))}return n}function $l(t,e=!0){let r=new To().collect(t),n=[];for(let o of r){let i=o?.trim()?.match(Le.macro)??null;if(!i&&e)throw new bt("Flext: Unable to parse the macros: Bad macro: "+yl(o));let s=i?.groups?.name??null,a=i?.groups?.params??null,c=q0(a,e);n.push({name:s,params:c})}return n}var Le=class{static macro=/^@(?<name>.+?) (?<params>.+)$/;static macroParams=/(?<param>".+?")|(?<namedParam>[a-zA-Z0-9]+=".+?")|(?<simplaeParam>[a-zA-Z0-9]+)/gm;static macroParam=/^"(?<value>.+)"$/;static macroNamedParam=/^(?<name>.+)="(?<value>.+)"$/;static macroSimpleParam=/^(?<name>[a-zA-Z]+)$/},Fo=class{static macro(e){return!!e?.trim()?.match(Le.macro)}};var Ho={};zl(Ho,{put:()=>El});var _l=Ko(No(),1);function Cl(t){let e=t?.args??[],[r,n]=e;return r??n??""}function V0(t){return new _l.SafeString(`<span class="text-blue-500">${Cl(t)}</span>`)}var El=kl({helpers:{noColor:Cl,default:V0}});var Ll="string",Pl=10,Wo=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=xl(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=qo(this.ast);if(!n)throw new gt("Flext: Unable to get HTML: No template");return Vo(n,{...this.data,...e},{...this.helpers,...r})}async getCss(e={},r={}){let n=qo(this.ast);if(!n)throw new gt("Flext: Unable to get CSS: No template");return await wl(n,{...this.data,...e},{...this.helpers,...r})}get html(){return this.getHtml()}},Uo=class extends Wo{useModule(...e){for(let r of e)this.addModule(r,Ho[r]);return this}setTemplate(e){super.setTemplate(e);let r=$l(this.ast),n=u=>r?.filter(h=>h?.name===u)??null,o=u=>{let[h]=n(u),[d]=h?.params??null;return d?.value??null},i=o("v"),s=o("use"),a=o("lineHeight"),l=n("field")?.map(H0)??null;i&&this.setVersion(i),a&&this.setLineHeight(Number(a)),l&&this.setFields(l);let f=s?.split(",")??null;return this.useModule(...f),this}setVersion(e){return this.version=e,this}setLineHeight(e){return this.lineHeight=e,this}setFields(e){return this.fields=e,this}addModule(e,r){let n=r?.helpers??{};for(let o in n){if(!Bo(n,o))continue;let i=n[o],s=o==="default",a=(...c)=>i({args:c});s?this.addHelper(e,a):this.addHelper(e+":"+o,a)}return this}getDataModel(e=Pl){let r=s=>{for(let a in this.helpers)if(Bo(this.helpers,a)&&s?.name===a)return!0;return!1},n=(s,a={},c=Pl)=>{if(c<=0)throw new Ge("Flext: Unable to get data model: The data model is too deep");let l=a?.fieldName??null,f=this.fields?.find(w=>w?.name===l)??null,u=s?.name??null,h=f?.label??null,d=f?.type??Ll,m=!!f?.isRequired,g=s?.$??[],k=[];for(let w of g){let S=w?.name??null;k.push(n(w,{fieldName:l+"."+S},c-1))}return{name:u,label:h,type:d,isRequired:m,$:k}};return(Sl(this.ast)?.$??[]).filter(s=>!r(s)).map(s=>n(s,{fieldName:s?.name??null},e))}get model(){return this.getDataModel()}};function H0(t){let e=t?.params??[],[r,...n]=e,o=l=>{let f=n?.find(u=>u?.name===l)??null;return f&&f?.value?f?.value??null:f&&f?.name?!0:null},i=r?.value??null,s=o("label"),a=o("type")??Ll,c=!!o("required");return{name:i,label:s,type:a,isRequired:c}}var $b=Uo;export{Ll as DEFAULT_FIELD_TYPE,Pl as DEFAULT_MODEL_DEPTH,Uo as Flext,Wo as SimpleFlext,$b as default,H0 as macroToField};
|