@budibase/server 3.4.18 → 3.4.19
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/builder/index.html
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<link href="/builder/fonts/source-sans-pro/600.css" rel="stylesheet" />
|
|
10
10
|
<link href="/builder/fonts/source-sans-pro/700.css" rel="stylesheet" />
|
|
11
11
|
<link href="/builder/fonts/remixicon.css" rel="stylesheet" />
|
|
12
|
-
<script type="module" crossorigin src="/builder/assets/index-
|
|
12
|
+
<script type="module" crossorigin src="/builder/assets/index-d4f62f0c.js"></script>
|
|
13
13
|
<link rel="stylesheet" href="/builder/assets/index-8a7e067c.css">
|
|
14
14
|
</head>
|
|
15
15
|
|
|
@@ -295,7 +295,7 @@ $1`)},u.parseAttributes=function(f){return Object.keys(f).map(function(m){return
|
|
|
295
295
|
Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Cras ultricies ligula sed magna dictum porta. Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus.
|
|
296
296
|
|
|
297
297
|
Curabitur aliquet quam id dui posuere blandit. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Pellentesque in ipsum id orci porta dapibus. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Cras ultricies ligula sed magna dictum porta. Donec sollicitudin molestie malesuada. Pellentesque in ipsum id orci porta dapibus. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Curabitur non nulla sit amet nisl tempus convallis quis ac lectus. Nulla quis lorem ut libero malesuada feugiat. Proin eget tortor risus. Curabitur aliquet quam id dui posuere blandit. Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui.`;var lorem_1=lorem,string$1=createCommonjsModule(function(p,u){var f=p.exports;f.append=function(m,v){return typeof m=="string"&&typeof v=="string"?m+v:m},f.camelcase=function(m){return typeof m!="string"?"":utils$2.changecase(m,function(v){return v.toUpperCase()})},f.capitalize=function(m){return typeof m!="string"?"":m.charAt(0).toUpperCase()+m.slice(1)},f.capitalizeAll=function(m){return typeof m!="string"?"":handlebarsUtils.isString(m)?m.replace(/\w\S*/g,function(v){return f.capitalize(v)}):void 0},f.center=function(m,v){if(typeof m!="string")return"";for(var y="",w=0;w<v;)y+=" ",w++;return y+m+y},f.chop=function(m){return typeof m!="string"?"":utils$2.chop(m)},f.dashcase=function(m){return typeof m!="string"?"":utils$2.changecase(m,function(v){return"-"+v})},f.dotcase=function(m){return typeof m!="string"?"":utils$2.changecase(m,function(v){return"."+v})},f.downcase=function(){return f.lowercase.apply(this,arguments)},f.ellipsis=function(m,v){if(handlebarsUtils.isString(m))return m.length<=v?m:f.truncate(m,v)+"…"},f.hyphenate=function(m){return typeof m!="string"?"":m.split(" ").join("-")},f.isString=function(m){return typeof m=="string"},f.lowercase=function(m){return handlebarsUtils.isObject(m)&&m.fn?m.fn(this).toLowerCase():typeof m!="string"?"":m.toLowerCase()},f.occurrences=function(m,v){if(typeof m!="string")return"";for(var y=v.length,w=0,k=0;(w=m.indexOf(v,w))>-1;)k++,w+=y;return k},f.pascalcase=function(m){return typeof m!="string"?"":(m=utils$2.changecase(m,function(v){return v.toUpperCase()})).charAt(0).toUpperCase()+m.slice(1)},f.pathcase=function(m){return typeof m!="string"?"":utils$2.changecase(m,function(v){return"/"+v})},f.plusify=function(m,v){return typeof m!="string"?"":(handlebarsUtils.isString(v)||(v=" "),m.split(v).join("+"))},f.prepend=function(m,v){return typeof m=="string"&&typeof v=="string"?v+m:m},f.raw=function(m){var v=m.fn();if(handlebarsUtils.options(this,m).escape!==!1)for(var y=0;(y=v.indexOf("{{",y))!==-1;)v[y-1]!=="\\"&&(v=v.slice(0,y)+"\\"+v.slice(y)),y+=3;return v},f.remove=function(m,v){return typeof m!="string"?"":handlebarsUtils.isString(v)?m.split(v).join(""):m},f.removeFirst=function(m,v){return typeof m!="string"?"":handlebarsUtils.isString(v)?m.replace(v,""):m},f.replace=function(m,v,y){return typeof m!="string"?"":handlebarsUtils.isString(v)?(handlebarsUtils.isString(y)||(y=""),m.split(v).join(y)):m},f.replaceFirst=function(m,v,y){return typeof m!="string"?"":handlebarsUtils.isString(v)?(handlebarsUtils.isString(y)||(y=""),m.replace(v,y)):m},f.reverse=array$1.reverse,f.sentence=function(m){return typeof m!="string"?"":m.replace(/((?:\S[^\.\?\!]*)[\.\?\!]*)/g,function(v){return v.charAt(0).toUpperCase()+v.substr(1).toLowerCase()})},f.snakecase=function(m){return typeof m!="string"?"":utils$2.changecase(m,function(v){return"_"+v})},f.split=function(m,v){return typeof m!="string"?"":(handlebarsUtils.isString(v)||(v=","),m.split(v))},f.startsWith=function(m,v,y){return y=[].slice.call(arguments).pop(),handlebarsUtils.isString(v)&&v.indexOf(m)===0?y.fn(this):typeof y.inverse=="function"?y.inverse(this):""},f.titleize=function(m){if(typeof m!="string")return"";for(var v=m.replace(/[- _]+/g," ").split(" "),y=v.length,w=[],k=0;y--;){var S=v[k++];w.push(u.capitalize(S))}return w.join(" ")},f.trim=function(m){return typeof m=="string"?m.trim():""},f.trimLeft=function(m){if(handlebarsUtils.isString(m))return m.replace(/^\s+/,"")},f.trimRight=function(m){if(handlebarsUtils.isString(m))return m.replace(/\s+$/,"")},f.truncate=function(m,v,y){if(handlebarsUtils.isString(m))return typeof y!="string"&&(y=""),m.length>v?m.slice(0,v-y.length)+y:m},f.truncateWords=function(m,v,y){if(handlebarsUtils.isString(m)&&!isNaN(v)){typeof y!="string"&&(y="…");var w=Number(v),k=m.split(/[ \t]/);return w>=k.length?m:(k=k.slice(0,w)).join(" ").trim()+y}},f.upcase=function(){return f.uppercase.apply(this,arguments)},f.uppercase=function(m){return handlebarsUtils.isObject(m)&&m.fn?m.fn(this).toUpperCase():typeof m!="string"?"":m.toUpperCase()},f.lorem=function(m){return(isNaN(m)||m<1||!m)&&(m=11),lorem_1.substring(0,m)}}),maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexNonASCII=/[^\x20-\x7E]/,regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g,errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor=Math.floor,stringFromCharCode=String.fromCharCode;function error(p){throw new RangeError(errors[p])}function map$1(p,u){for(var f=p.length,m=[];f--;)m[f]=u(p[f]);return m}function mapDomain(p,u){var f=p.split("@"),m="";return f.length>1&&(m=f[0]+"@",p=f[1]),m+map$1((p=p.replace(regexSeparators,".")).split("."),u).join(".")}function ucs2decode(p){for(var u,f,m=[],v=0,y=p.length;v<y;)(u=p.charCodeAt(v++))>=55296&&u<=56319&&v<y?(64512&(f=p.charCodeAt(v++)))==56320?m.push(((1023&u)<<10)+(1023&f)+65536):(m.push(u),v--):m.push(u);return m}function digitToBasic(p,u){return p+22+75*(p<26)-((u!=0)<<5)}function adapt(p,u,f){var m=0;for(p=f?floor(p/damp):p>>1,p+=floor(p/u);p>baseMinusTMin*tMax>>1;m+=base)p=floor(p/baseMinusTMin);return floor(m+(baseMinusTMin+1)*p/(p+skew))}function encode$3(p){var u,f,m,v,y,w,k,S,M,T,E,H,F,Z,$,J=[];for(H=(p=ucs2decode(p)).length,u=initialN,f=0,y=initialBias,w=0;w<H;++w)(E=p[w])<128&&J.push(stringFromCharCode(E));for(m=v=J.length,v&&J.push(delimiter);m<H;){for(k=maxInt,w=0;w<H;++w)(E=p[w])>=u&&E<k&&(k=E);for(k-u>floor((maxInt-f)/(F=m+1))&&error("overflow"),f+=(k-u)*F,u=k,w=0;w<H;++w)if((E=p[w])<u&&++f>maxInt&&error("overflow"),E==u){for(S=f,M=base;!(S<(T=M<=y?tMin:M>=y+tMax?tMax:M-y));M+=base)$=S-T,Z=base-T,J.push(stringFromCharCode(digitToBasic(T+$%Z,0))),S=floor($/Z);J.push(stringFromCharCode(digitToBasic(S,0))),y=adapt(f,F,m==v),f=0,++m}++f,++u}return J.join("")}function toASCII(p){return mapDomain(p,function(u){return regexNonASCII.test(u)?"xn--"+encode$3(u):u})}function hasOwnProperty(p,u){return Object.prototype.hasOwnProperty.call(p,u)}var isArray=Array.isArray||function(p){return Object.prototype.toString.call(p)==="[object Array]"};function stringifyPrimitive(p){switch(typeof p){case"string":return p;case"boolean":return p?"true":"false";case"number":return isFinite(p)?p:"";default:return""}}function stringify$6(p,u,f,m){return u=u||"&",f=f||"=",p===null&&(p=void 0),typeof p=="object"?map$2(objectKeys(p),function(v){var y=encodeURIComponent(stringifyPrimitive(v))+f;return isArray(p[v])?map$2(p[v],function(w){return y+encodeURIComponent(stringifyPrimitive(w))}).join(u):y+encodeURIComponent(stringifyPrimitive(p[v]))}).join(u):m?encodeURIComponent(stringifyPrimitive(m))+f+encodeURIComponent(stringifyPrimitive(p)):""}function map$2(p,u){if(p.map)return p.map(u);for(var f=[],m=0;m<p.length;m++)f.push(u(p[m],m));return f}var objectKeys=Object.keys||function(p){var u=[];for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&u.push(f);return u};function parse$1$1(p,u,f,m){u=u||"&",f=f||"=";var v={};if(typeof p!="string"||p.length===0)return v;var y=/\+/g;p=p.split(u);var w=1e3;m&&typeof m.maxKeys=="number"&&(w=m.maxKeys);var k=p.length;w>0&&k>w&&(k=w);for(var S=0;S<k;++S){var M,T,E,H,F=p[S].replace(y,"%20"),Z=F.indexOf(f);Z>=0?(M=F.substr(0,Z),T=F.substr(Z+1)):(M=F,T=""),E=decodeURIComponent(M),H=decodeURIComponent(T),hasOwnProperty(v,E)?isArray(v[E])?v[E].push(H):v[E]=[v[E],H]:v[E]=H}return v}var querystring$1={encode:stringify$6,stringify:stringify$6,decode:parse$1$1,parse:parse$1$1};const URL$1=global$1.URL,URLSearchParams$1=global$1.URLSearchParams;var url$1={parse:urlParse,resolve:urlResolve,resolveObject:urlResolveObject,fileURLToPath:urlFileURLToPath,format:urlFormat,Url,URL:URL$1,URLSearchParams:URLSearchParams$1};function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r",`
|
|
298
|
-
`," "],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function urlParse(p,u,f){if(p&&isObject$4(p)&&p instanceof Url)return p;var m=new Url;return m.parse(p,u,f),m}function parse$7(p,u,f,m){if(!isString(u))throw new TypeError("Parameter 'url' must be a string, not "+typeof u);var v=u.indexOf("?"),y=v!==-1&&v<u.indexOf("#")?"?":"#",w=u.split(y);w[0]=w[0].replace(/\\/g,"/");var k=u=w.join(y);if(k=k.trim(),!m&&u.split("#").length===1){var S=simplePathPattern.exec(k);if(S)return p.path=k,p.href=k,p.pathname=S[1],S[2]?(p.search=S[2],p.query=f?parse$1$1(p.search.substr(1)):p.search.substr(1)):f&&(p.search="",p.query={}),p}var M,T,E,H,F=protocolPattern.exec(k);if(F){var Z=(F=F[0]).toLowerCase();p.protocol=Z,k=k.substr(F.length)}if(m||F||k.match(/^\/\/[^@\/]+@[^@\/]+/)){var $=k.substr(0,2)==="//";!$||F&&hostlessProtocol[F]||(k=k.substr(2),p.slashes=!0)}if(!hostlessProtocol[F]&&($||F&&!slashedProtocol[F])){var J,se,ie=-1;for(M=0;M<hostEndingChars.length;M++)(T=k.indexOf(hostEndingChars[M]))!==-1&&(ie===-1||T<ie)&&(ie=T);for((se=ie===-1?k.lastIndexOf("@"):k.lastIndexOf("@",ie))!==-1&&(J=k.slice(0,se),k=k.slice(se+1),p.auth=decodeURIComponent(J)),ie=-1,M=0;M<nonHostChars.length;M++)(T=k.indexOf(nonHostChars[M]))!==-1&&(ie===-1||T<ie)&&(ie=T);ie===-1&&(ie=k.length),p.host=k.slice(0,ie),k=k.slice(ie),parseHost(p),p.hostname=p.hostname||"";var he=p.hostname[0]==="["&&p.hostname[p.hostname.length-1]==="]";if(!he){var ce=p.hostname.split(/\./);for(M=0,E=ce.length;M<E;M++){var me=ce[M];if(me&&!me.match(hostnamePartPattern)){for(var ve="",xe=0,ze=me.length;xe<ze;xe++)me.charCodeAt(xe)>127?ve+="x":ve+=me[xe];if(!ve.match(hostnamePartPattern)){var Se=ce.slice(0,M),Ie=ce.slice(M+1),Ce=me.match(hostnamePartStart);Ce&&(Se.push(Ce[1]),Ie.unshift(Ce[2])),Ie.length&&(k="/"+Ie.join(".")+k),p.hostname=Se.join(".");break}}}}p.hostname.length>hostnameMaxLen?p.hostname="":p.hostname=p.hostname.toLowerCase(),he||(p.hostname=toASCII(p.hostname)),H=p.port?":"+p.port:"";var We=p.hostname||"";p.host=We+H,p.href+=p.host,he&&(p.hostname=p.hostname.substr(1,p.hostname.length-2),k[0]!=="/"&&(k="/"+k))}if(!unsafeProtocol[Z])for(M=0,E=autoEscape.length;M<E;M++){var $e=autoEscape[M];if(k.indexOf($e)!==-1){var je=encodeURIComponent($e);je===$e&&(je=escape($e)),k=k.split($e).join(je)}}var be=k.indexOf("#");be!==-1&&(p.hash=k.substr(be),k=k.slice(0,be));var De=k.indexOf("?");if(De!==-1?(p.search=k.substr(De),p.query=k.substr(De+1),f&&(p.query=parse$1$1(p.query)),k=k.slice(0,De)):f&&(p.search="",p.query={}),k&&(p.pathname=k),slashedProtocol[Z]&&p.hostname&&!p.pathname&&(p.pathname="/"),p.pathname||p.search){H=p.pathname||"";var Ke=p.search||"";p.path=H+Ke}return p.href=format$2(p),p}function urlFileURLToPath(p){if(typeof p=="string")p=new Url().parse(p);else if(!(p instanceof Url))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof p+String(p));if(p.protocol!=="file:")throw new TypeError("The URL must be of scheme file");return getPathFromURLPosix(p)}function getPathFromURLPosix(p){const u=p.pathname;for(let f=0;f<u.length;f++)if(u[f]==="%"){const m=32|u.codePointAt(f+2);if(u[f+1]==="2"&&m===102)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(u)}function urlFormat(p){return isString(p)&&(p=parse$7({},p)),format$2(p)}function format$2(p){var u=p.auth||"";u&&(u=(u=encodeURIComponent(u)).replace(/%3A/i,":"),u+="@");var f=p.protocol||"",m=p.pathname||"",v=p.hash||"",y=!1,w="";p.host?y=u+p.host:p.hostname&&(y=u+(p.hostname.indexOf(":")===-1?p.hostname:"["+this.hostname+"]"),p.port&&(y+=":"+p.port)),p.query&&isObject$4(p.query)&&Object.keys(p.query).length&&(w=stringify$6(p.query));var k=p.search||w&&"?"+w||"";return f&&f.substr(-1)!==":"&&(f+=":"),p.slashes||(!f||slashedProtocol[f])&&y!==!1?(y="//"+(y||""),m&&m.charAt(0)!=="/"&&(m="/"+m)):y||(y=""),v&&v.charAt(0)!=="#"&&(v="#"+v),k&&k.charAt(0)!=="?"&&(k="?"+k),m=m.replace(/[?#]/g,function(S){return encodeURIComponent(S)}),f+y+m+(k=k.replace("#","%23"))+v}function urlResolve(p,u){return urlParse(p,!1,!0).resolve(u)}function urlResolveObject(p,u){return p?urlParse(p,!1,!0).resolveObject(u):u}function parseHost(p){var u=p.host,f=portPattern.exec(u);f&&((f=f[0])!==":"&&(p.port=f.substr(1)),u=u.substr(0,u.length-f.length)),u&&(p.hostname=u)}Url.prototype.parse=function(p,u,f){return parse$7(this,p,u,f)},Url.prototype.format=function(){return format$2(this)},Url.prototype.resolve=function(p){return this.resolveObject(urlParse(p,!1,!0)).format()},Url.prototype.resolveObject=function(p){if(isString(p)){var u=new Url;u.parse(p,!1,!0),p=u}for(var f,m=new Url,v=Object.keys(this),y=0;y<v.length;y++){var w=v[y];m[w]=this[w]}if(m.hash=p.hash,p.href==="")return m.href=m.format(),m;if(p.slashes&&!p.protocol){for(var k=Object.keys(p),S=0;S<k.length;S++){var M=k[S];M!=="protocol"&&(m[M]=p[M])}return slashedProtocol[m.protocol]&&m.hostname&&!m.pathname&&(m.path=m.pathname="/"),m.href=m.format(),m}if(p.protocol&&p.protocol!==m.protocol){if(!slashedProtocol[p.protocol]){for(var T=Object.keys(p),E=0;E<T.length;E++){var H=T[E];m[H]=p[H]}return m.href=m.format(),m}if(m.protocol=p.protocol,p.host||hostlessProtocol[p.protocol])m.pathname=p.pathname;else{for(f=(p.pathname||"").split("/");f.length&&!(p.host=f.shift()););p.host||(p.host=""),p.hostname||(p.hostname=""),f[0]!==""&&f.unshift(""),f.length<2&&f.unshift(""),m.pathname=f.join("/")}if(m.search=p.search,m.query=p.query,m.host=p.host||"",m.auth=p.auth,m.hostname=p.hostname||p.host,m.port=p.port,m.pathname||m.search){var F=m.pathname||"",Z=m.search||"";m.path=F+Z}return m.slashes=m.slashes||p.slashes,m.href=m.format(),m}var $,J=m.pathname&&m.pathname.charAt(0)==="/",se=p.host||p.pathname&&p.pathname.charAt(0)==="/",ie=se||J||m.host&&p.pathname,he=ie,ce=m.pathname&&m.pathname.split("/")||[],me=m.protocol&&!slashedProtocol[m.protocol];if(f=p.pathname&&p.pathname.split("/")||[],me&&(m.hostname="",m.port=null,m.host&&(ce[0]===""?ce[0]=m.host:ce.unshift(m.host)),m.host="",p.protocol&&(p.hostname=null,p.port=null,p.host&&(f[0]===""?f[0]=p.host:f.unshift(p.host)),p.host=null),ie=ie&&(f[0]===""||ce[0]==="")),se)m.host=p.host||p.host===""?p.host:m.host,m.hostname=p.hostname||p.hostname===""?p.hostname:m.hostname,m.search=p.search,m.query=p.query,ce=f;else if(f.length)ce||(ce=[]),ce.pop(),ce=ce.concat(f),m.search=p.search,m.query=p.query;else if(!isNullOrUndefined$1(p.search))return me&&(m.hostname=m.host=ce.shift(),($=!!(m.host&&m.host.indexOf("@")>0)&&m.host.split("@"))&&(m.auth=$.shift(),m.host=m.hostname=$.shift())),m.search=p.search,m.query=p.query,isNull(m.pathname)&&isNull(m.search)||(m.path=(m.pathname?m.pathname:"")+(m.search?m.search:"")),m.href=m.format(),m;if(!ce.length)return m.pathname=null,m.search?m.path="/"+m.search:m.path=null,m.href=m.format(),m;for(var ve=ce.slice(-1)[0],xe=(m.host||p.host||ce.length>1)&&(ve==="."||ve==="..")||ve==="",ze=0,Se=ce.length;Se>=0;Se--)(ve=ce[Se])==="."?ce.splice(Se,1):ve===".."?(ce.splice(Se,1),ze++):ze&&(ce.splice(Se,1),ze--);if(!ie&&!he)for(;ze--;ze)ce.unshift("..");!ie||ce[0]===""||ce[0]&&ce[0].charAt(0)==="/"||ce.unshift(""),xe&&ce.join("/").substr(-1)!=="/"&&ce.push("");var Ie=ce[0]===""||ce[0]&&ce[0].charAt(0)==="/";return me&&(m.hostname=m.host=Ie?"":ce.length?ce.shift():"",($=!!(m.host&&m.host.indexOf("@")>0)&&m.host.split("@"))&&(m.auth=$.shift(),m.host=m.hostname=$.shift())),(ie=ie||m.host&&ce.length)&&!Ie&&ce.unshift(""),ce.length?m.pathname=ce.join("/"):(m.pathname=null,m.path=null),isNull(m.pathname)&&isNull(m.search)||(m.path=(m.pathname?m.pathname:"")+(m.search?m.search:"")),m.auth=p.auth||m.auth,m.slashes=m.slashes||p.slashes,m.href=m.format(),m},Url.prototype.parseHost=function(){return parseHost(this)};var url_1=createCommonjsModule(function(p){var u=p.exports;u.encodeURI=function(f){if(handlebarsUtils.isString(f))return encodeURIComponent(f)},u.escape=function(f){if(handlebarsUtils.isString(f))return querystring$1.escape(f)},u.decodeURI=function(f){if(handlebarsUtils.isString(f))return decodeURIComponent(f)},u.urlResolve=function(f,m){return url$1.resolve(f,m)},u.urlParse=function(f){return url$1.parse(f)},u.stripQuerystring=function(f){if(handlebarsUtils.isString(f))return f.split("?")[0]},u.stripProtocol=function(f){if(handlebarsUtils.isString(f)){var m=url$1.parse(f);return m.protocol="",m.format()}}}),_default=rng;let getRandomValues;const rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&(getRandomValues=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}var rng_1=Object.defineProperty({default:_default},"__esModule",{value:!0}),regex$1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0,u.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i}),validate_1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var f,m=(f=regex$1)&&f.__esModule?f:{default:f},v=function(y){return typeof y=="string"&&m.default.test(y)};u.default=v}),stringify_1$1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0,u.unsafeStringify=y;var f,m=(f=validate_1)&&f.__esModule?f:{default:f};const v=[];for(let k=0;k<256;++k)v.push((k+256).toString(16).slice(1));function y(k,S=0){return v[k[S+0]]+v[k[S+1]]+v[k[S+2]]+v[k[S+3]]+"-"+v[k[S+4]]+v[k[S+5]]+"-"+v[k[S+6]]+v[k[S+7]]+"-"+v[k[S+8]]+v[k[S+9]]+"-"+v[k[S+10]]+v[k[S+11]]+v[k[S+12]]+v[k[S+13]]+v[k[S+14]]+v[k[S+15]]}var w=function(k,S=0){const M=y(k,S);if(!(0,m.default)(M))throw TypeError("Stringified UUID is invalid");return M};u.default=w}),v1_1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var f,m=(f=rng_1)&&f.__esModule?f:{default:f};let v,y,w=0,k=0;var S=function(M,T,E){let H=T&&E||0;const F=T||new Array(16);let Z=(M=M||{}).node||v,$=M.clockseq!==void 0?M.clockseq:y;if(Z==null||$==null){const me=M.random||(M.rng||m.default)();Z==null&&(Z=v=[1|me[0],me[1],me[2],me[3],me[4],me[5]]),$==null&&($=y=16383&(me[6]<<8|me[7]))}let J=M.msecs!==void 0?M.msecs:Date.now(),se=M.nsecs!==void 0?M.nsecs:k+1;const ie=J-w+(se-k)/1e4;if(ie<0&&M.clockseq===void 0&&($=$+1&16383),(ie<0||J>w)&&M.nsecs===void 0&&(se=0),se>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");w=J,k=se,y=$,J+=122192928e5;const he=(1e4*(268435455&J)+se)%4294967296;F[H++]=he>>>24&255,F[H++]=he>>>16&255,F[H++]=he>>>8&255,F[H++]=255&he;const ce=J/4294967296*1e4&268435455;F[H++]=ce>>>8&255,F[H++]=255&ce,F[H++]=ce>>>24&15|16,F[H++]=ce>>>16&255,F[H++]=$>>>8|128,F[H++]=255&$;for(let me=0;me<6;++me)F[H+me]=Z[me];return T||(0,stringify_1$1.unsafeStringify)(F)};u.default=S}),parse_1$4=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var f,m=(f=validate_1)&&f.__esModule?f:{default:f},v=function(y){if(!(0,m.default)(y))throw TypeError("Invalid UUID");let w;const k=new Uint8Array(16);return k[0]=(w=parseInt(y.slice(0,8),16))>>>24,k[1]=w>>>16&255,k[2]=w>>>8&255,k[3]=255&w,k[4]=(w=parseInt(y.slice(9,13),16))>>>8,k[5]=255&w,k[6]=(w=parseInt(y.slice(14,18),16))>>>8,k[7]=255&w,k[8]=(w=parseInt(y.slice(19,23),16))>>>8,k[9]=255&w,k[10]=(w=parseInt(y.slice(24,36),16))/1099511627776&255,k[11]=w/4294967296&255,k[12]=w>>>24&255,k[13]=w>>>16&255,k[14]=w>>>8&255,k[15]=255&w,k};u.default=v}),v35_1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.URL=u.DNS=void 0,u.default=function(w,k,S){function M(T,E,H,F){var Z;if(typeof T=="string"&&(T=function(J){J=unescape(encodeURIComponent(J));const se=[];for(let ie=0;ie<J.length;++ie)se.push(J.charCodeAt(ie));return se}(T)),typeof E=="string"&&(E=(0,m.default)(E)),((Z=E)===null||Z===void 0?void 0:Z.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let $=new Uint8Array(16+T.length);if($.set(E),$.set(T,E.length),$=S($),$[6]=15&$[6]|k,$[8]=63&$[8]|128,H){F=F||0;for(let J=0;J<16;++J)H[F+J]=$[J];return H}return(0,stringify_1$1.unsafeStringify)($)}try{M.name=w}catch{}return M.DNS=v,M.URL=y,M};var f,m=(f=parse_1$4)&&f.__esModule?f:{default:f};const v="6ba7b810-9dad-11d1-80b4-00c04fd430c8";u.DNS=v;const y="6ba7b811-9dad-11d1-80b4-00c04fd430c8";u.URL=y}),md5_1=createCommonjsModule(function(p,u){function f(T){return 14+(T+64>>>9<<4)+1}function m(T,E){const H=(65535&T)+(65535&E);return(T>>16)+(E>>16)+(H>>16)<<16|65535&H}function v(T,E,H,F,Z,$){return m((J=m(m(E,T),m(F,$)))<<(se=Z)|J>>>32-se,H);var J,se}function y(T,E,H,F,Z,$,J){return v(E&H|~E&F,T,E,Z,$,J)}function w(T,E,H,F,Z,$,J){return v(E&F|H&~F,T,E,Z,$,J)}function k(T,E,H,F,Z,$,J){return v(E^H^F,T,E,Z,$,J)}function S(T,E,H,F,Z,$,J){return v(H^(E|~F),T,E,Z,$,J)}Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var M=function(T){if(typeof T=="string"){const E=unescape(encodeURIComponent(T));T=new Uint8Array(E.length);for(let H=0;H<E.length;++H)T[H]=E.charCodeAt(H)}return function(E){const H=[],F=32*E.length,Z="0123456789abcdef";for(let $=0;$<F;$+=8){const J=E[$>>5]>>>$%32&255,se=parseInt(Z.charAt(J>>>4&15)+Z.charAt(15&J),16);H.push(se)}return H}(function(E,H){E[H>>5]|=128<<H%32,E[f(H)-1]=H;let F=1732584193,Z=-271733879,$=-1732584194,J=271733878;for(let se=0;se<E.length;se+=16){const ie=F,he=Z,ce=$,me=J;F=y(F,Z,$,J,E[se],7,-680876936),J=y(J,F,Z,$,E[se+1],12,-389564586),$=y($,J,F,Z,E[se+2],17,606105819),Z=y(Z,$,J,F,E[se+3],22,-1044525330),F=y(F,Z,$,J,E[se+4],7,-176418897),J=y(J,F,Z,$,E[se+5],12,1200080426),$=y($,J,F,Z,E[se+6],17,-1473231341),Z=y(Z,$,J,F,E[se+7],22,-45705983),F=y(F,Z,$,J,E[se+8],7,1770035416),J=y(J,F,Z,$,E[se+9],12,-1958414417),$=y($,J,F,Z,E[se+10],17,-42063),Z=y(Z,$,J,F,E[se+11],22,-1990404162),F=y(F,Z,$,J,E[se+12],7,1804603682),J=y(J,F,Z,$,E[se+13],12,-40341101),$=y($,J,F,Z,E[se+14],17,-1502002290),Z=y(Z,$,J,F,E[se+15],22,1236535329),F=w(F,Z,$,J,E[se+1],5,-165796510),J=w(J,F,Z,$,E[se+6],9,-1069501632),$=w($,J,F,Z,E[se+11],14,643717713),Z=w(Z,$,J,F,E[se],20,-373897302),F=w(F,Z,$,J,E[se+5],5,-701558691),J=w(J,F,Z,$,E[se+10],9,38016083),$=w($,J,F,Z,E[se+15],14,-660478335),Z=w(Z,$,J,F,E[se+4],20,-405537848),F=w(F,Z,$,J,E[se+9],5,568446438),J=w(J,F,Z,$,E[se+14],9,-1019803690),$=w($,J,F,Z,E[se+3],14,-187363961),Z=w(Z,$,J,F,E[se+8],20,1163531501),F=w(F,Z,$,J,E[se+13],5,-1444681467),J=w(J,F,Z,$,E[se+2],9,-51403784),$=w($,J,F,Z,E[se+7],14,1735328473),Z=w(Z,$,J,F,E[se+12],20,-1926607734),F=k(F,Z,$,J,E[se+5],4,-378558),J=k(J,F,Z,$,E[se+8],11,-2022574463),$=k($,J,F,Z,E[se+11],16,1839030562),Z=k(Z,$,J,F,E[se+14],23,-35309556),F=k(F,Z,$,J,E[se+1],4,-1530992060),J=k(J,F,Z,$,E[se+4],11,1272893353),$=k($,J,F,Z,E[se+7],16,-155497632),Z=k(Z,$,J,F,E[se+10],23,-1094730640),F=k(F,Z,$,J,E[se+13],4,681279174),J=k(J,F,Z,$,E[se],11,-358537222),$=k($,J,F,Z,E[se+3],16,-722521979),Z=k(Z,$,J,F,E[se+6],23,76029189),F=k(F,Z,$,J,E[se+9],4,-640364487),J=k(J,F,Z,$,E[se+12],11,-421815835),$=k($,J,F,Z,E[se+15],16,530742520),Z=k(Z,$,J,F,E[se+2],23,-995338651),F=S(F,Z,$,J,E[se],6,-198630844),J=S(J,F,Z,$,E[se+7],10,1126891415),$=S($,J,F,Z,E[se+14],15,-1416354905),Z=S(Z,$,J,F,E[se+5],21,-57434055),F=S(F,Z,$,J,E[se+12],6,1700485571),J=S(J,F,Z,$,E[se+3],10,-1894986606),$=S($,J,F,Z,E[se+10],15,-1051523),Z=S(Z,$,J,F,E[se+1],21,-2054922799),F=S(F,Z,$,J,E[se+8],6,1873313359),J=S(J,F,Z,$,E[se+15],10,-30611744),$=S($,J,F,Z,E[se+6],15,-1560198380),Z=S(Z,$,J,F,E[se+13],21,1309151649),F=S(F,Z,$,J,E[se+4],6,-145523070),J=S(J,F,Z,$,E[se+11],10,-1120210379),$=S($,J,F,Z,E[se+2],15,718787259),Z=S(Z,$,J,F,E[se+9],21,-343485551),F=m(F,ie),Z=m(Z,he),$=m($,ce),J=m(J,me)}return[F,Z,$,J]}(function(E){if(E.length===0)return[];const H=8*E.length,F=new Uint32Array(f(H));for(let Z=0;Z<H;Z+=8)F[Z>>5]|=(255&E[Z/8])<<Z%32;return F}(T),8*T.length))};u.default=M}),v3_1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var f=v(v35_1),m=v(md5_1);function v(w){return w&&w.__esModule?w:{default:w}}var y=(0,f.default)("v3",48,m.default);u.default=y}),native=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var f={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};u.default=f}),v4_1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var f=v(native),m=v(rng_1);function v(w){return w&&w.__esModule?w:{default:w}}var y=function(w,k,S){if(f.default.randomUUID&&!k&&!w)return f.default.randomUUID();const M=(w=w||{}).random||(w.rng||m.default)();if(M[6]=15&M[6]|64,M[8]=63&M[8]|128,k){S=S||0;for(let T=0;T<16;++T)k[S+T]=M[T];return k}return(0,stringify_1$1.unsafeStringify)(M)};u.default=y}),sha1_1=createCommonjsModule(function(p,u){function f(y,w,k,S){switch(y){case 0:return w&k^~w&S;case 1:case 3:return w^k^S;case 2:return w&k^w&S^k&S}}function m(y,w){return y<<w|y>>>32-w}Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var v=function(y){const w=[1518500249,1859775393,2400959708,3395469782],k=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof y=="string"){const E=unescape(encodeURIComponent(y));y=[];for(let H=0;H<E.length;++H)y.push(E.charCodeAt(H))}else Array.isArray(y)||(y=Array.prototype.slice.call(y));y.push(128);const S=y.length/4+2,M=Math.ceil(S/16),T=new Array(M);for(let E=0;E<M;++E){const H=new Uint32Array(16);for(let F=0;F<16;++F)H[F]=y[64*E+4*F]<<24|y[64*E+4*F+1]<<16|y[64*E+4*F+2]<<8|y[64*E+4*F+3];T[E]=H}T[M-1][14]=8*(y.length-1)/Math.pow(2,32),T[M-1][14]=Math.floor(T[M-1][14]),T[M-1][15]=8*(y.length-1)&4294967295;for(let E=0;E<M;++E){const H=new Uint32Array(80);for(let ie=0;ie<16;++ie)H[ie]=T[E][ie];for(let ie=16;ie<80;++ie)H[ie]=m(H[ie-3]^H[ie-8]^H[ie-14]^H[ie-16],1);let F=k[0],Z=k[1],$=k[2],J=k[3],se=k[4];for(let ie=0;ie<80;++ie){const he=Math.floor(ie/20),ce=m(F,5)+f(he,Z,$,J)+se+w[he]+H[ie]>>>0;se=J,J=$,$=m(Z,30)>>>0,Z=F,F=ce}k[0]=k[0]+F>>>0,k[1]=k[1]+Z>>>0,k[2]=k[2]+$>>>0,k[3]=k[3]+J>>>0,k[4]=k[4]+se>>>0}return[k[0]>>24&255,k[0]>>16&255,k[0]>>8&255,255&k[0],k[1]>>24&255,k[1]>>16&255,k[1]>>8&255,255&k[1],k[2]>>24&255,k[2]>>16&255,k[2]>>8&255,255&k[2],k[3]>>24&255,k[3]>>16&255,k[3]>>8&255,255&k[3],k[4]>>24&255,k[4]>>16&255,k[4]>>8&255,255&k[4]]};u.default=v}),v5_1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var f=v(v35_1),m=v(sha1_1);function v(w){return w&&w.__esModule?w:{default:w}}var y=(0,f.default)("v5",80,m.default);u.default=y}),nil=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0,u.default="00000000-0000-0000-0000-000000000000"}),version_1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var f,m=(f=validate_1)&&f.__esModule?f:{default:f},v=function(y){if(!(0,m.default)(y))throw TypeError("Invalid UUID");return parseInt(y.slice(14,15),16)};u.default=v}),commonjsBrowser=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),Object.defineProperty(u,"NIL",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(u,"parse",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(u,"stringify",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(u,"v1",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(u,"v3",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(u,"v4",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(u,"v5",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(u,"validate",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(u,"version",{enumerable:!0,get:function(){return k.default}});var f=E(v1_1),m=E(v3_1),v=E(v4_1),y=E(v5_1),w=E(nil),k=E(version_1),S=E(validate_1),M=E(stringify_1$1),T=E(parse_1$4);function E(H){return H&&H.__esModule?H:{default:H}}}),uuid$1=commonjsBrowser,uuid_1=createCommonjsModule(function(p){p.exports.uuid=function(){return uuid$1.v4()}}),lib$7={array:array$1,code,collection,comparison:comparison$1,html:html_1,i18n,inflection,match,math:math$1,misc,number:number$1,object:object$1,path:path_1,regex:regex$2,string:string$1,url:url_1,uuid:uuid_1},handlebarsHelpers=createCommonjsModule(function(p){p.exports=function(u,f){typeof u=="string"?u=[u]:Array.isArray(u)||(f=u,u=null);var m=(f=f||{}).handlebars||f.hbs||handlebars;if(p.exports.handlebars=m,u)u.forEach(function(v){m.registerHelper(lib$7[v])});else for(const v in lib$7){const y=lib$7[v];m.registerHelper(y)}return m.helpers};for(const u in lib$7){const f=lib$7[u];p.exports[u]=function(m){var v=(m=m||{}).handlebars||m.hbs||handlebars;return p.exports.handlebars=v,v.registerHelper(f),f}}p.exports.utils=utils$2}),dayjs_min=createCommonjsModule(function(p,u){p.exports=function(){var f=1e3,m=6e4,v=36e5,y="millisecond",w="second",k="minute",S="hour",M="day",T="week",E="month",H="quarter",F="year",Z="date",$="Invalid Date",J=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,se=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ie={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(je){var be=["th","st","nd","rd"],De=je%100;return"["+je+(be[(De-20)%10]||be[De]||be[0])+"]"}},he=function(je,be,De){var Ke=String(je);return!Ke||Ke.length>=be?je:""+Array(be+1-Ke.length).join(De)+je},ce={s:he,z:function(je){var be=-je.utcOffset(),De=Math.abs(be),Ke=Math.floor(De/60),He=De%60;return(be<=0?"+":"-")+he(Ke,2,"0")+":"+he(He,2,"0")},m:function je(be,De){if(be.date()<De.date())return-je(De,be);var Ke=12*(De.year()-be.year())+(De.month()-be.month()),He=be.clone().add(Ke,E),rt=De-He<0,ft=be.clone().add(Ke+(rt?-1:1),E);return+(-(Ke+(De-He)/(rt?He-ft:ft-He))||0)},a:function(je){return je<0?Math.ceil(je)||0:Math.floor(je)},p:function(je){return{M:E,y:F,w:T,d:M,D:Z,h:S,m:k,s:w,ms:y,Q:H}[je]||String(je||"").toLowerCase().replace(/s$/,"")},u:function(je){return je===void 0}},me="en",ve={};ve[me]=ie;var xe="$isDayjsObject",ze=function(je){return je instanceof We||!(!je||!je[xe])},Se=function je(be,De,Ke){var He;if(!be)return me;if(typeof be=="string"){var rt=be.toLowerCase();ve[rt]&&(He=rt),De&&(ve[rt]=De,He=rt);var ft=be.split("-");if(!He&&ft.length>1)return je(ft[0])}else{var Mt=be.name;ve[Mt]=be,He=Mt}return!Ke&&He&&(me=He),He||!Ke&&me},Ie=function(je,be){if(ze(je))return je.clone();var De=typeof be=="object"?be:{};return De.date=je,De.args=arguments,new We(De)},Ce=ce;Ce.l=Se,Ce.i=ze,Ce.w=function(je,be){return Ie(je,{locale:be.$L,utc:be.$u,x:be.$x,$offset:be.$offset})};var We=function(){function je(De){this.$L=Se(De.locale,null,!0),this.parse(De),this.$x=this.$x||De.x||{},this[xe]=!0}var be=je.prototype;return be.parse=function(De){this.$d=function(Ke){var He=Ke.date,rt=Ke.utc;if(He===null)return new Date(NaN);if(Ce.u(He))return new Date;if(He instanceof Date)return new Date(He);if(typeof He=="string"&&!/Z$/i.test(He)){var ft=He.match(J);if(ft){var Mt=ft[2]-1||0,Ye=(ft[7]||"0").substring(0,3);return rt?new Date(Date.UTC(ft[1],Mt,ft[3]||1,ft[4]||0,ft[5]||0,ft[6]||0,Ye)):new Date(ft[1],Mt,ft[3]||1,ft[4]||0,ft[5]||0,ft[6]||0,Ye)}}return new Date(He)}(De),this.init()},be.init=function(){var De=this.$d;this.$y=De.getFullYear(),this.$M=De.getMonth(),this.$D=De.getDate(),this.$W=De.getDay(),this.$H=De.getHours(),this.$m=De.getMinutes(),this.$s=De.getSeconds(),this.$ms=De.getMilliseconds()},be.$utils=function(){return Ce},be.isValid=function(){return this.$d.toString()!==$},be.isSame=function(De,Ke){var He=Ie(De);return this.startOf(Ke)<=He&&He<=this.endOf(Ke)},be.isAfter=function(De,Ke){return Ie(De)<this.startOf(Ke)},be.isBefore=function(De,Ke){return this.endOf(Ke)<Ie(De)},be.$g=function(De,Ke,He){return Ce.u(De)?this[Ke]:this.set(He,De)},be.unix=function(){return Math.floor(this.valueOf()/1e3)},be.valueOf=function(){return this.$d.getTime()},be.startOf=function(De,Ke){var He=this,rt=!!Ce.u(Ke)||Ke,ft=Ce.p(De),Mt=function(Gt,Jt){var Ht=Ce.w(He.$u?Date.UTC(He.$y,Jt,Gt):new Date(He.$y,Jt,Gt),He);return rt?Ht:Ht.endOf(M)},Ye=function(Gt,Jt){return Ce.w(He.toDate()[Gt].apply(He.toDate("s"),(rt?[0,0,0,0]:[23,59,59,999]).slice(Jt)),He)},Ue=this.$W,yt=this.$M,wt=this.$D,ot="set"+(this.$u?"UTC":"");switch(ft){case F:return rt?Mt(1,0):Mt(31,11);case E:return rt?Mt(1,yt):Mt(0,yt+1);case T:var Rt=this.$locale().weekStart||0,Xe=(Ue<Rt?Ue+7:Ue)-Rt;return Mt(rt?wt-Xe:wt+(6-Xe),yt);case M:case Z:return Ye(ot+"Hours",0);case S:return Ye(ot+"Minutes",1);case k:return Ye(ot+"Seconds",2);case w:return Ye(ot+"Milliseconds",3);default:return this.clone()}},be.endOf=function(De){return this.startOf(De,!1)},be.$set=function(De,Ke){var He,rt=Ce.p(De),ft="set"+(this.$u?"UTC":""),Mt=(He={},He[M]=ft+"Date",He[Z]=ft+"Date",He[E]=ft+"Month",He[F]=ft+"FullYear",He[S]=ft+"Hours",He[k]=ft+"Minutes",He[w]=ft+"Seconds",He[y]=ft+"Milliseconds",He)[rt],Ye=rt===M?this.$D+(Ke-this.$W):Ke;if(rt===E||rt===F){var Ue=this.clone().set(Z,1);Ue.$d[Mt](Ye),Ue.init(),this.$d=Ue.set(Z,Math.min(this.$D,Ue.daysInMonth())).$d}else Mt&&this.$d[Mt](Ye);return this.init(),this},be.set=function(De,Ke){return this.clone().$set(De,Ke)},be.get=function(De){return this[Ce.p(De)]()},be.add=function(De,Ke){var He,rt=this;De=Number(De);var ft=Ce.p(Ke),Mt=function(yt){var wt=Ie(rt);return Ce.w(wt.date(wt.date()+Math.round(yt*De)),rt)};if(ft===E)return this.set(E,this.$M+De);if(ft===F)return this.set(F,this.$y+De);if(ft===M)return Mt(1);if(ft===T)return Mt(7);var Ye=(He={},He[k]=m,He[S]=v,He[w]=f,He)[ft]||1,Ue=this.$d.getTime()+De*Ye;return Ce.w(Ue,this)},be.subtract=function(De,Ke){return this.add(-1*De,Ke)},be.format=function(De){var Ke=this,He=this.$locale();if(!this.isValid())return He.invalidDate||$;var rt=De||"YYYY-MM-DDTHH:mm:ssZ",ft=Ce.z(this),Mt=this.$H,Ye=this.$m,Ue=this.$M,yt=He.weekdays,wt=He.months,ot=He.meridiem,Rt=function(Jt,Ht,Pt,Et){return Jt&&(Jt[Ht]||Jt(Ke,rt))||Pt[Ht].slice(0,Et)},Xe=function(Jt){return Ce.s(Mt%12||12,Jt,"0")},Gt=ot||function(Jt,Ht,Pt){var Et=Jt<12?"AM":"PM";return Pt?Et.toLowerCase():Et};return rt.replace(se,function(Jt,Ht){return Ht||function(Pt){switch(Pt){case"YY":return String(Ke.$y).slice(-2);case"YYYY":return Ce.s(Ke.$y,4,"0");case"M":return Ue+1;case"MM":return Ce.s(Ue+1,2,"0");case"MMM":return Rt(He.monthsShort,Ue,wt,3);case"MMMM":return Rt(wt,Ue);case"D":return Ke.$D;case"DD":return Ce.s(Ke.$D,2,"0");case"d":return String(Ke.$W);case"dd":return Rt(He.weekdaysMin,Ke.$W,yt,2);case"ddd":return Rt(He.weekdaysShort,Ke.$W,yt,3);case"dddd":return yt[Ke.$W];case"H":return String(Mt);case"HH":return Ce.s(Mt,2,"0");case"h":return Xe(1);case"hh":return Xe(2);case"a":return Gt(Mt,Ye,!0);case"A":return Gt(Mt,Ye,!1);case"m":return String(Ye);case"mm":return Ce.s(Ye,2,"0");case"s":return String(Ke.$s);case"ss":return Ce.s(Ke.$s,2,"0");case"SSS":return Ce.s(Ke.$ms,3,"0");case"Z":return ft}return null}(Jt)||ft.replace(":","")})},be.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},be.diff=function(De,Ke,He){var rt,ft=this,Mt=Ce.p(Ke),Ye=Ie(De),Ue=(Ye.utcOffset()-this.utcOffset())*m,yt=this-Ye,wt=function(){return Ce.m(ft,Ye)};switch(Mt){case F:rt=wt()/12;break;case E:rt=wt();break;case H:rt=wt()/3;break;case T:rt=(yt-Ue)/6048e5;break;case M:rt=(yt-Ue)/864e5;break;case S:rt=yt/v;break;case k:rt=yt/m;break;case w:rt=yt/f;break;default:rt=yt}return He?rt:Ce.a(rt)},be.daysInMonth=function(){return this.endOf(E).$D},be.$locale=function(){return ve[this.$L]},be.locale=function(De,Ke){if(!De)return this.$L;var He=this.clone(),rt=Se(De,Ke,!0);return rt&&(He.$L=rt),He},be.clone=function(){return Ce.w(this.$d,this)},be.toDate=function(){return new Date(this.valueOf())},be.toJSON=function(){return this.isValid()?this.toISOString():null},be.toISOString=function(){return this.$d.toISOString()},be.toString=function(){return this.$d.toUTCString()},je}(),$e=We.prototype;return Ie.prototype=$e,[["$ms",y],["$s",w],["$m",k],["$H",S],["$W",M],["$M",E],["$y",F],["$D",Z]].forEach(function(je){$e[je[1]]=function(be){return this.$g(be,je[0],je[1])}}),Ie.extend=function(je,be){return je.$i||(je(be,We,Ie),je.$i=!0),Ie},Ie.locale=Se,Ie.isDayjs=ze,Ie.unix=function(je){return Ie(1e3*je)},Ie.en=ve[me],Ie.Ls=ve,Ie.p={},Ie}()}),duration$1$1=createCommonjsModule(function(p,u){var f,m,v,y,w,k,S,M,T,E,H,F,Z,$,J,se,ie,he,ce,me;p.exports=(S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,E=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,H={years:M=31536e6,months:T=2628e6,days:k=864e5,hours:w=36e5,minutes:y=6e4,seconds:v=1e3,milliseconds:1,weeks:6048e5},F=function(ve){return ve instanceof ce},Z=function(ve,xe,ze){return new ce(ve,ze,xe.$l)},$=function(ve){return m.p(ve)+"s"},J=function(ve){return ve<0},se=function(ve){return J(ve)?Math.ceil(ve):Math.floor(ve)},ie=function(ve){return Math.abs(ve)},he=function(ve,xe){return ve?J(ve)?{negative:!0,format:""+ie(ve)+xe}:{negative:!1,format:""+ve+xe}:{negative:!1,format:""}},ce=function(){function ve(ze,Se,Ie){var Ce=this;if(this.$d={},this.$l=Ie,ze===void 0&&(this.$ms=0,this.parseFromMilliseconds()),Se)return Z(ze*H[$(Se)],this);if(typeof ze=="number")return this.$ms=ze,this.parseFromMilliseconds(),this;if(typeof ze=="object")return Object.keys(ze).forEach(function(je){Ce.$d[$(je)]=ze[je]}),this.calMilliseconds(),this;if(typeof ze=="string"){var We=ze.match(E);if(We){var $e=We.slice(2).map(function(je){return je!=null?Number(je):0});return this.$d.years=$e[0],this.$d.months=$e[1],this.$d.weeks=$e[2],this.$d.days=$e[3],this.$d.hours=$e[4],this.$d.minutes=$e[5],this.$d.seconds=$e[6],this.calMilliseconds(),this}}return this}var xe=ve.prototype;return xe.calMilliseconds=function(){var ze=this;this.$ms=Object.keys(this.$d).reduce(function(Se,Ie){return Se+(ze.$d[Ie]||0)*H[Ie]},0)},xe.parseFromMilliseconds=function(){var ze=this.$ms;this.$d.years=se(ze/M),ze%=M,this.$d.months=se(ze/T),ze%=T,this.$d.days=se(ze/k),ze%=k,this.$d.hours=se(ze/w),ze%=w,this.$d.minutes=se(ze/y),ze%=y,this.$d.seconds=se(ze/v),ze%=v,this.$d.milliseconds=ze},xe.toISOString=function(){var ze=he(this.$d.years,"Y"),Se=he(this.$d.months,"M"),Ie=+this.$d.days||0;this.$d.weeks&&(Ie+=7*this.$d.weeks);var Ce=he(Ie,"D"),We=he(this.$d.hours,"H"),$e=he(this.$d.minutes,"M"),je=this.$d.seconds||0;this.$d.milliseconds&&(je+=this.$d.milliseconds/1e3,je=Math.round(1e3*je)/1e3);var be=he(je,"S"),De=ze.negative||Se.negative||Ce.negative||We.negative||$e.negative||be.negative,Ke=We.format||$e.format||be.format?"T":"",He=(De?"-":"")+"P"+ze.format+Se.format+Ce.format+Ke+We.format+$e.format+be.format;return He==="P"||He==="-P"?"P0D":He},xe.toJSON=function(){return this.toISOString()},xe.format=function(ze){var Se=ze||"YYYY-MM-DDTHH:mm:ss",Ie={Y:this.$d.years,YY:m.s(this.$d.years,2,"0"),YYYY:m.s(this.$d.years,4,"0"),M:this.$d.months,MM:m.s(this.$d.months,2,"0"),D:this.$d.days,DD:m.s(this.$d.days,2,"0"),H:this.$d.hours,HH:m.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:m.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:m.s(this.$d.seconds,2,"0"),SSS:m.s(this.$d.milliseconds,3,"0")};return Se.replace(S,function(Ce,We){return We||String(Ie[Ce])})},xe.as=function(ze){return this.$ms/H[$(ze)]},xe.get=function(ze){var Se=this.$ms,Ie=$(ze);return Ie==="milliseconds"?Se%=1e3:Se=Ie==="weeks"?se(Se/H[Ie]):this.$d[Ie],Se||0},xe.add=function(ze,Se,Ie){var Ce;return Ce=Se?ze*H[$(Se)]:F(ze)?ze.$ms:Z(ze,this).$ms,Z(this.$ms+Ce*(Ie?-1:1),this)},xe.subtract=function(ze,Se){return this.add(ze,Se,!0)},xe.locale=function(ze){var Se=this.clone();return Se.$l=ze,Se},xe.clone=function(){return Z(this.$ms,this)},xe.humanize=function(ze){return f().add(this.$ms,"ms").locale(this.$l).fromNow(!ze)},xe.valueOf=function(){return this.asMilliseconds()},xe.milliseconds=function(){return this.get("milliseconds")},xe.asMilliseconds=function(){return this.as("milliseconds")},xe.seconds=function(){return this.get("seconds")},xe.asSeconds=function(){return this.as("seconds")},xe.minutes=function(){return this.get("minutes")},xe.asMinutes=function(){return this.as("minutes")},xe.hours=function(){return this.get("hours")},xe.asHours=function(){return this.as("hours")},xe.days=function(){return this.get("days")},xe.asDays=function(){return this.as("days")},xe.weeks=function(){return this.get("weeks")},xe.asWeeks=function(){return this.as("weeks")},xe.months=function(){return this.get("months")},xe.asMonths=function(){return this.as("months")},xe.years=function(){return this.get("years")},xe.asYears=function(){return this.as("years")},ve}(),me=function(ve,xe,ze){return ve.add(xe.years()*ze,"y").add(xe.months()*ze,"M").add(xe.days()*ze,"d").add(xe.hours()*ze,"h").add(xe.minutes()*ze,"m").add(xe.seconds()*ze,"s").add(xe.milliseconds()*ze,"ms")},function(ve,xe,ze){f=ze,m=ze().$utils(),ze.duration=function(Ce,We){var $e=ze.locale();return Z(Ce,{$l:$e},We)},ze.isDuration=F;var Se=xe.prototype.add,Ie=xe.prototype.subtract;xe.prototype.add=function(Ce,We){return F(Ce)?me(this,Ce,1):Se.bind(this)(Ce,We)},xe.prototype.subtract=function(Ce,We){return F(Ce)?me(this,Ce,-1):Ie.bind(this)(Ce,We)}})}),advancedFormat=createCommonjsModule(function(p,u){p.exports=function(f,m){var v=m.prototype,y=v.format;v.format=function(w){var k=this,S=this.$locale();if(!this.isValid())return y.bind(this)(w);var M=this.$utils(),T=(w||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(E){switch(E){case"Q":return Math.ceil((k.$M+1)/3);case"Do":return S.ordinal(k.$D);case"gggg":return k.weekYear();case"GGGG":return k.isoWeekYear();case"wo":return S.ordinal(k.week(),"W");case"w":case"ww":return M.s(k.week(),E==="w"?1:2,"0");case"W":case"WW":return M.s(k.isoWeek(),E==="W"?1:2,"0");case"k":case"kk":return M.s(String(k.$H===0?24:k.$H),E==="k"?1:2,"0");case"X":return Math.floor(k.$d.getTime()/1e3);case"x":return k.$d.getTime();case"z":return"["+k.offsetName()+"]";case"zzz":return"["+k.offsetName("long")+"]";default:return E}});return y.bind(this)(T)}}}),isoWeek=createCommonjsModule(function(p,u){var f;p.exports=(f="day",function(m,v,y){var w=function(M){return M.add(4-M.isoWeekday(),f)},k=v.prototype;k.isoWeekYear=function(){return w(this).year()},k.isoWeek=function(M){if(!this.$utils().u(M))return this.add(7*(M-this.isoWeek()),f);var T,E,H,F=w(this),Z=(T=this.isoWeekYear(),H=4-(E=(this.$u?y.utc:y)().year(T).startOf("year")).isoWeekday(),E.isoWeekday()>4&&(H+=7),E.add(H,f));return F.diff(Z,"week")+1},k.isoWeekday=function(M){return this.$utils().u(M)?this.day()||7:this.day(this.day()%7?M:M-7)};var S=k.startOf;k.startOf=function(M,T){var E=this.$utils(),H=!!E.u(T)||T;return E.p(M)==="isoweek"?H?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):S.bind(this)(M,T)}})}),weekYear=createCommonjsModule(function(p,u){p.exports=function(f,m){m.prototype.weekYear=function(){var v=this.month(),y=this.week(),w=this.year();return y===1&&v===11?w+1:v===0&&y>=52?w-1:w}}}),weekOfYear=createCommonjsModule(function(p,u){var f,m;p.exports=(f="week",m="year",function(v,y,w){var k=y.prototype;k.week=function(S){if(S===void 0&&(S=null),S!==null)return this.add(7*(S-this.week()),"day");var M=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var T=w(this).startOf(m).add(1,m).date(M),E=w(this).endOf(f);if(T.isBefore(E))return 1}var H=w(this).startOf(m).date(M).startOf(f).subtract(1,"millisecond"),F=this.diff(H,f,!0);return F<0?w(this).startOf("week").week():Math.ceil(F)},k.weeks=function(S){return S===void 0&&(S=null),this.week(S)}})}),relativeTime=createCommonjsModule(function(p,u){p.exports=function(f,m,v){f=f||{};var y=m.prototype,w={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function k(M,T,E,H){return y.fromToBase(M,T,E,H)}v.en.relativeTime=w,y.fromToBase=function(M,T,E,H,F){for(var Z,$,J,se=E.$locale().relativeTime||w,ie=f.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],he=ie.length,ce=0;ce<he;ce+=1){var me=ie[ce];me.d&&(Z=H?v(M).diff(E,me.d,!0):E.diff(M,me.d,!0));var ve=(f.rounding||Math.round)(Math.abs(Z));if(J=Z>0,ve<=me.r||!me.r){ve<=1&&ce>0&&(me=ie[ce-1]);var xe=se[me.l];F&&(ve=F(""+ve)),$=typeof xe=="string"?xe.replace("%d",ve):xe(ve,T,me.l,J);break}}if(T)return $;var ze=J?se.future:se.past;return typeof ze=="function"?ze($):ze.replace("%s",$)},y.to=function(M,T){return k(M,T,this,!0)},y.from=function(M,T){return k(M,T,this)};var S=function(M){return M.$u?v.utc():v()};y.toNow=function(M){return this.to(S(this),M)},y.fromNow=function(M){return this.from(S(this),M)}}}),utc$2=createCommonjsModule(function(p,u){var f,m,v;p.exports=(f="minute",m=/[+-]\d\d(?::?\d\d)?/g,v=/([+-]|\d\d)/g,function(y,w,k){var S=w.prototype;k.utc=function($){return new w({date:$,utc:!0,args:arguments})},S.utc=function($){var J=k(this.toDate(),{locale:this.$L,utc:!0});return $?J.add(this.utcOffset(),f):J},S.local=function(){return k(this.toDate(),{locale:this.$L,utc:!1})};var M=S.parse;S.parse=function($){$.utc&&(this.$u=!0),this.$utils().u($.$offset)||(this.$offset=$.$offset),M.call(this,$)};var T=S.init;S.init=function(){if(this.$u){var $=this.$d;this.$y=$.getUTCFullYear(),this.$M=$.getUTCMonth(),this.$D=$.getUTCDate(),this.$W=$.getUTCDay(),this.$H=$.getUTCHours(),this.$m=$.getUTCMinutes(),this.$s=$.getUTCSeconds(),this.$ms=$.getUTCMilliseconds()}else T.call(this)};var E=S.utcOffset;S.utcOffset=function($,J){var se=this.$utils().u;if(se($))return this.$u?0:se(this.$offset)?E.call(this):this.$offset;if(typeof $=="string"&&($=function(me){me===void 0&&(me="");var ve=me.match(m);if(!ve)return null;var xe=(""+ve[0]).match(v)||["-",0,0],ze=xe[0],Se=60*+xe[1]+ +xe[2];return Se===0?0:ze==="+"?Se:-Se}($),$===null))return this;var ie=Math.abs($)<=16?60*$:$,he=this;if(J)return he.$offset=ie,he.$u=$===0,he;if($!==0){var ce=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(he=this.local().add(ie+ce,f)).$offset=ie,he.$x.$localOffset=ce}else he=this.utc();return he};var H=S.format;S.format=function($){var J=$||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return H.call(this,J)},S.valueOf=function(){var $=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*$},S.isUTC=function(){return!!this.$u},S.toISOString=function(){return this.toDate().toISOString()},S.toString=function(){return this.toDate().toUTCString()};var F=S.toDate;S.toDate=function($){return $==="s"&&this.$offset?k(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():F.call(this)};var Z=S.diff;S.diff=function($,J,se){if($&&this.$u===$.$u)return Z.call(this,$,J,se);var ie=this.local(),he=k($).local();return Z.call(ie,he,J,se)}})}),timezone=createCommonjsModule(function(p,u){var f,m;p.exports=(f={year:0,month:1,day:2,hour:3,minute:4,second:5},m={},function(v,y,w){var k,S=function(H,F,Z){Z===void 0&&(Z={});var $=new Date(H),J=function(se,ie){ie===void 0&&(ie={});var he=ie.timeZoneName||"short",ce=se+"|"+he,me=m[ce];return me||(me=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:se,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:he}),m[ce]=me),me}(F,Z);return J.formatToParts($)},M=function(H,F){for(var Z=S(H,F),$=[],J=0;J<Z.length;J+=1){var se=Z[J],ie=se.type,he=se.value,ce=f[ie];ce>=0&&($[ce]=parseInt(he,10))}var me=$[3],ve=me===24?0:me,xe=$[0]+"-"+$[1]+"-"+$[2]+" "+ve+":"+$[4]+":"+$[5]+":000",ze=+H;return(w.utc(xe).valueOf()-(ze-=ze%1e3))/6e4},T=y.prototype;T.tz=function(H,F){H===void 0&&(H=k);var Z,$=this.utcOffset(),J=this.toDate(),se=J.toLocaleString("en-US",{timeZone:H}),ie=Math.round((J-new Date(se))/1e3/60),he=15*-Math.round(J.getTimezoneOffset()/15)-ie;if(Number(he)){if(Z=w(se,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(he,!0),F){var ce=Z.utcOffset();Z=Z.add($-ce,"minute")}}else Z=this.utcOffset(0,F);return Z.$x.$timezone=H,Z},T.offsetName=function(H){var F=this.$x.$timezone||w.tz.guess(),Z=S(this.valueOf(),F,{timeZoneName:H}).find(function($){return $.type.toLowerCase()==="timezonename"});return Z&&Z.value};var E=T.startOf;T.startOf=function(H,F){if(!this.$x||!this.$x.$timezone)return E.call(this,H,F);var Z=w(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return E.call(Z,H,F).tz(this.$x.$timezone,!0)},w.tz=function(H,F,Z){var $=Z&&F,J=Z||F||k,se=M(+w(),J);if(typeof H!="string")return w(H).tz(J);var ie=function(ve,xe,ze){var Se=ve-60*xe*1e3,Ie=M(Se,ze);if(xe===Ie)return[Se,xe];var Ce=M(Se-=60*(Ie-xe)*1e3,ze);return Ie===Ce?[Se,Ie]:[ve-60*Math.min(Ie,Ce)*1e3,Math.max(Ie,Ce)]}(w.utc(H,$).valueOf(),se,J),he=ie[0],ce=ie[1],me=w(he).utcOffset(ce);return me.$x.$timezone=J,me},w.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},w.tz.setDefault=function(H){k=H}})});function isOptions(p){return typeof p=="object"&&typeof p.hash=="object"}function isApp(p){return typeof p=="object"&&typeof p.options=="object"&&typeof p.app=="object"}function getContext(p,u,f){if(isOptions(p))return getContext({},u,p);if(isOptions(u))return getContext(p,f,u);const m=isApp(p)?p.context:{};isOptions(f=f||{})||(u=Object.assign({},u,f)),isOptions(f)&&f.hash.root===!0&&(u=Object.assign({},f.data.root,u));let v=Object.assign({},m,u,f.hash);return isApp(p)||(v=Object.assign({},p,v)),isApp(p)&&p.view&&p.view.data&&(v=Object.assign({},v,p.view.data)),v}function initialConfig(p,u,f){return isOptions(u)&&(f=u,u=null),isOptions(p)&&(f=p,u=null,p=null),{str:p,pattern:u,options:f}}function setLocale(p,u,f){const m=initialConfig(p,u,f),v=getContext(this,{lang:"en",date:new Date(m.str)},{});dayjs_min.locale(v.lang||v.language)}dayjs_min.extend(duration$1$1),dayjs_min.extend(advancedFormat),dayjs_min.extend(isoWeek),dayjs_min.extend(weekYear),dayjs_min.extend(weekOfYear),dayjs_min.extend(relativeTime),dayjs_min.extend(utc$2),dayjs_min.extend(timezone);const date$1=(p,u,f)=>{const m=initialConfig(p,u,f);if(m.str==null&&m.pattern==null)return dayjs_min.locale("en"),dayjs_min().format("MMMM DD, YYYY");setLocale(m.str,m.pattern,m.options);let v=dayjs_min(new Date(m.str));return v=typeof m.options=="string"?m.options.toLowerCase()==="utc"?v.utc():v.tz(m.options):v.tz(dayjs_min.tz.guess()),m.pattern===""?v.toISOString():v.format(m.pattern)},duration$3=(p,u,f)=>{const m=initialConfig(p,u);setLocale(m.str,m.pattern);const v=dayjs_min.duration(m.str,m.pattern);return f&&!isOptions(f)?v.format(f):v.humanize()},HelperFunctionBuiltin=["#if","#unless","#each","#with","lookup","log","blockHelperMissing","each","helperMissing","if","unless","log","lookup","with"],EXTERNAL_FUNCTION_COLLECTIONS=["math","array","number","url","string","comparison","object","regex","uuid"],HelperFunctionNames={OBJECT:"object",ALL:"all",LITERAL:"literal",JS:"js"},LITERAL_MARKER="%LITERAL%",ADDED_HELPERS={date:date$1,duration:duration$3};function registerAll$1(p){for(let[f,m]of Object.entries(ADDED_HELPERS))p.registerHelper(f,m);let u=[];for(let f of EXTERNAL_FUNCTION_COLLECTIONS){let m=handlebarsHelpers[f]();for(let v of Object.entries(m)){const y=v[0];HelperFunctionBuiltin.indexOf(y)===-1&&u.indexOf(y)===-1&&u.push(y)}handlebarsHelpers[f]({handlebars:p})}externalHelperNames=u.concat(Object.keys(ADDED_HELPERS))}let externalHelperNames=[];function isJest(){return browser.env.NODE_ENV==="jest"||browser.env.JEST_WORKER_ID!=null&&browser.env.JEST_WORKER_ID!=="null"}function isTest(){return isJest()}const isTestingBackendJS=()=>browser&&browser.env.BACKEND_JS,ALPHA_NUMERIC_REGEX=/^[A-Za-z0-9]+$/g,FIND_HBS_REGEX=/{{([^{].*?)}}/g,FIND_ANY_HBS_REGEX=/{?{{([^{].*?)}}}?/g,FIND_TRIPLE_HBS_REGEX=/{{{([^{].*?)}}}/g,isBackendService=()=>!(!isTest()||!isTestingBackendJS())||!isTest()&&typeof window>"u",isJSAllowed=()=>browser&&!browser.env.NO_JS,findDoubleHbsInstances=p=>{let u=p;const f=new RegExp(FIND_HBS_REGEX),m=new RegExp(FIND_TRIPLE_HBS_REGEX),v=u.match(m);return v&&v.forEach(w=>{u=u.replace(w,"")}),u.match(f)||[]},isAlphaNumeric=p=>p.match(ALPHA_NUMERIC_REGEX),swapStrings=(p,u,f,m)=>p.slice(0,u)+m+p.slice(u+f),atob$1=p=>Buffer$1.from(p,"base64").toString("utf-8"),prefixStrings=(p,u,f)=>{const m=u.map(y=>y.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),v=new RegExp(`\\b(${m.join("|")})\\b`,"g");return p.replace(v,`${f}$1`)};function frontendWrapJS(p){return`
|
|
298
|
+
`," "],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:!0,"javascript:":!0},hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function urlParse(p,u,f){if(p&&isObject$4(p)&&p instanceof Url)return p;var m=new Url;return m.parse(p,u,f),m}function parse$7(p,u,f,m){if(!isString(u))throw new TypeError("Parameter 'url' must be a string, not "+typeof u);var v=u.indexOf("?"),y=v!==-1&&v<u.indexOf("#")?"?":"#",w=u.split(y);w[0]=w[0].replace(/\\/g,"/");var k=u=w.join(y);if(k=k.trim(),!m&&u.split("#").length===1){var S=simplePathPattern.exec(k);if(S)return p.path=k,p.href=k,p.pathname=S[1],S[2]?(p.search=S[2],p.query=f?parse$1$1(p.search.substr(1)):p.search.substr(1)):f&&(p.search="",p.query={}),p}var M,T,E,H,F=protocolPattern.exec(k);if(F){var Z=(F=F[0]).toLowerCase();p.protocol=Z,k=k.substr(F.length)}if(m||F||k.match(/^\/\/[^@\/]+@[^@\/]+/)){var $=k.substr(0,2)==="//";!$||F&&hostlessProtocol[F]||(k=k.substr(2),p.slashes=!0)}if(!hostlessProtocol[F]&&($||F&&!slashedProtocol[F])){var J,se,ie=-1;for(M=0;M<hostEndingChars.length;M++)(T=k.indexOf(hostEndingChars[M]))!==-1&&(ie===-1||T<ie)&&(ie=T);for((se=ie===-1?k.lastIndexOf("@"):k.lastIndexOf("@",ie))!==-1&&(J=k.slice(0,se),k=k.slice(se+1),p.auth=decodeURIComponent(J)),ie=-1,M=0;M<nonHostChars.length;M++)(T=k.indexOf(nonHostChars[M]))!==-1&&(ie===-1||T<ie)&&(ie=T);ie===-1&&(ie=k.length),p.host=k.slice(0,ie),k=k.slice(ie),parseHost(p),p.hostname=p.hostname||"";var he=p.hostname[0]==="["&&p.hostname[p.hostname.length-1]==="]";if(!he){var ce=p.hostname.split(/\./);for(M=0,E=ce.length;M<E;M++){var me=ce[M];if(me&&!me.match(hostnamePartPattern)){for(var ve="",xe=0,ze=me.length;xe<ze;xe++)me.charCodeAt(xe)>127?ve+="x":ve+=me[xe];if(!ve.match(hostnamePartPattern)){var Se=ce.slice(0,M),Ie=ce.slice(M+1),Ce=me.match(hostnamePartStart);Ce&&(Se.push(Ce[1]),Ie.unshift(Ce[2])),Ie.length&&(k="/"+Ie.join(".")+k),p.hostname=Se.join(".");break}}}}p.hostname.length>hostnameMaxLen?p.hostname="":p.hostname=p.hostname.toLowerCase(),he||(p.hostname=toASCII(p.hostname)),H=p.port?":"+p.port:"";var We=p.hostname||"";p.host=We+H,p.href+=p.host,he&&(p.hostname=p.hostname.substr(1,p.hostname.length-2),k[0]!=="/"&&(k="/"+k))}if(!unsafeProtocol[Z])for(M=0,E=autoEscape.length;M<E;M++){var $e=autoEscape[M];if(k.indexOf($e)!==-1){var je=encodeURIComponent($e);je===$e&&(je=escape($e)),k=k.split($e).join(je)}}var be=k.indexOf("#");be!==-1&&(p.hash=k.substr(be),k=k.slice(0,be));var De=k.indexOf("?");if(De!==-1?(p.search=k.substr(De),p.query=k.substr(De+1),f&&(p.query=parse$1$1(p.query)),k=k.slice(0,De)):f&&(p.search="",p.query={}),k&&(p.pathname=k),slashedProtocol[Z]&&p.hostname&&!p.pathname&&(p.pathname="/"),p.pathname||p.search){H=p.pathname||"";var Ke=p.search||"";p.path=H+Ke}return p.href=format$2(p),p}function urlFileURLToPath(p){if(typeof p=="string")p=new Url().parse(p);else if(!(p instanceof Url))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof p+String(p));if(p.protocol!=="file:")throw new TypeError("The URL must be of scheme file");return getPathFromURLPosix(p)}function getPathFromURLPosix(p){const u=p.pathname;for(let f=0;f<u.length;f++)if(u[f]==="%"){const m=32|u.codePointAt(f+2);if(u[f+1]==="2"&&m===102)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(u)}function urlFormat(p){return isString(p)&&(p=parse$7({},p)),format$2(p)}function format$2(p){var u=p.auth||"";u&&(u=(u=encodeURIComponent(u)).replace(/%3A/i,":"),u+="@");var f=p.protocol||"",m=p.pathname||"",v=p.hash||"",y=!1,w="";p.host?y=u+p.host:p.hostname&&(y=u+(p.hostname.indexOf(":")===-1?p.hostname:"["+this.hostname+"]"),p.port&&(y+=":"+p.port)),p.query&&isObject$4(p.query)&&Object.keys(p.query).length&&(w=stringify$6(p.query));var k=p.search||w&&"?"+w||"";return f&&f.substr(-1)!==":"&&(f+=":"),p.slashes||(!f||slashedProtocol[f])&&y!==!1?(y="//"+(y||""),m&&m.charAt(0)!=="/"&&(m="/"+m)):y||(y=""),v&&v.charAt(0)!=="#"&&(v="#"+v),k&&k.charAt(0)!=="?"&&(k="?"+k),m=m.replace(/[?#]/g,function(S){return encodeURIComponent(S)}),f+y+m+(k=k.replace("#","%23"))+v}function urlResolve(p,u){return urlParse(p,!1,!0).resolve(u)}function urlResolveObject(p,u){return p?urlParse(p,!1,!0).resolveObject(u):u}function parseHost(p){var u=p.host,f=portPattern.exec(u);f&&((f=f[0])!==":"&&(p.port=f.substr(1)),u=u.substr(0,u.length-f.length)),u&&(p.hostname=u)}Url.prototype.parse=function(p,u,f){return parse$7(this,p,u,f)},Url.prototype.format=function(){return format$2(this)},Url.prototype.resolve=function(p){return this.resolveObject(urlParse(p,!1,!0)).format()},Url.prototype.resolveObject=function(p){if(isString(p)){var u=new Url;u.parse(p,!1,!0),p=u}for(var f,m=new Url,v=Object.keys(this),y=0;y<v.length;y++){var w=v[y];m[w]=this[w]}if(m.hash=p.hash,p.href==="")return m.href=m.format(),m;if(p.slashes&&!p.protocol){for(var k=Object.keys(p),S=0;S<k.length;S++){var M=k[S];M!=="protocol"&&(m[M]=p[M])}return slashedProtocol[m.protocol]&&m.hostname&&!m.pathname&&(m.path=m.pathname="/"),m.href=m.format(),m}if(p.protocol&&p.protocol!==m.protocol){if(!slashedProtocol[p.protocol]){for(var T=Object.keys(p),E=0;E<T.length;E++){var H=T[E];m[H]=p[H]}return m.href=m.format(),m}if(m.protocol=p.protocol,p.host||hostlessProtocol[p.protocol])m.pathname=p.pathname;else{for(f=(p.pathname||"").split("/");f.length&&!(p.host=f.shift()););p.host||(p.host=""),p.hostname||(p.hostname=""),f[0]!==""&&f.unshift(""),f.length<2&&f.unshift(""),m.pathname=f.join("/")}if(m.search=p.search,m.query=p.query,m.host=p.host||"",m.auth=p.auth,m.hostname=p.hostname||p.host,m.port=p.port,m.pathname||m.search){var F=m.pathname||"",Z=m.search||"";m.path=F+Z}return m.slashes=m.slashes||p.slashes,m.href=m.format(),m}var $,J=m.pathname&&m.pathname.charAt(0)==="/",se=p.host||p.pathname&&p.pathname.charAt(0)==="/",ie=se||J||m.host&&p.pathname,he=ie,ce=m.pathname&&m.pathname.split("/")||[],me=m.protocol&&!slashedProtocol[m.protocol];if(f=p.pathname&&p.pathname.split("/")||[],me&&(m.hostname="",m.port=null,m.host&&(ce[0]===""?ce[0]=m.host:ce.unshift(m.host)),m.host="",p.protocol&&(p.hostname=null,p.port=null,p.host&&(f[0]===""?f[0]=p.host:f.unshift(p.host)),p.host=null),ie=ie&&(f[0]===""||ce[0]==="")),se)m.host=p.host||p.host===""?p.host:m.host,m.hostname=p.hostname||p.hostname===""?p.hostname:m.hostname,m.search=p.search,m.query=p.query,ce=f;else if(f.length)ce||(ce=[]),ce.pop(),ce=ce.concat(f),m.search=p.search,m.query=p.query;else if(!isNullOrUndefined$1(p.search))return me&&(m.hostname=m.host=ce.shift(),($=!!(m.host&&m.host.indexOf("@")>0)&&m.host.split("@"))&&(m.auth=$.shift(),m.host=m.hostname=$.shift())),m.search=p.search,m.query=p.query,isNull(m.pathname)&&isNull(m.search)||(m.path=(m.pathname?m.pathname:"")+(m.search?m.search:"")),m.href=m.format(),m;if(!ce.length)return m.pathname=null,m.search?m.path="/"+m.search:m.path=null,m.href=m.format(),m;for(var ve=ce.slice(-1)[0],xe=(m.host||p.host||ce.length>1)&&(ve==="."||ve==="..")||ve==="",ze=0,Se=ce.length;Se>=0;Se--)(ve=ce[Se])==="."?ce.splice(Se,1):ve===".."?(ce.splice(Se,1),ze++):ze&&(ce.splice(Se,1),ze--);if(!ie&&!he)for(;ze--;ze)ce.unshift("..");!ie||ce[0]===""||ce[0]&&ce[0].charAt(0)==="/"||ce.unshift(""),xe&&ce.join("/").substr(-1)!=="/"&&ce.push("");var Ie=ce[0]===""||ce[0]&&ce[0].charAt(0)==="/";return me&&(m.hostname=m.host=Ie?"":ce.length?ce.shift():"",($=!!(m.host&&m.host.indexOf("@")>0)&&m.host.split("@"))&&(m.auth=$.shift(),m.host=m.hostname=$.shift())),(ie=ie||m.host&&ce.length)&&!Ie&&ce.unshift(""),ce.length?m.pathname=ce.join("/"):(m.pathname=null,m.path=null),isNull(m.pathname)&&isNull(m.search)||(m.path=(m.pathname?m.pathname:"")+(m.search?m.search:"")),m.auth=p.auth||m.auth,m.slashes=m.slashes||p.slashes,m.href=m.format(),m},Url.prototype.parseHost=function(){return parseHost(this)};var url_1=createCommonjsModule(function(p){var u=p.exports;u.encodeURI=function(f){if(handlebarsUtils.isString(f))return encodeURIComponent(f)},u.escape=function(f){if(handlebarsUtils.isString(f))return querystring$1.escape(f)},u.decodeURI=function(f){if(handlebarsUtils.isString(f))return decodeURIComponent(f)},u.urlResolve=function(f,m){return url$1.resolve(f,m)},u.urlParse=function(f){return url$1.parse(f)},u.stripQuerystring=function(f){if(handlebarsUtils.isString(f))return f.split("?")[0]},u.stripProtocol=function(f){if(handlebarsUtils.isString(f)){var m=url$1.parse(f);return m.protocol="",m.format()}}}),_default=rng;let getRandomValues;const rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&(getRandomValues=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}var rng_1=Object.defineProperty({default:_default},"__esModule",{value:!0}),regex$1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0,u.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i}),validate_1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var f,m=(f=regex$1)&&f.__esModule?f:{default:f},v=function(y){return typeof y=="string"&&m.default.test(y)};u.default=v}),stringify_1$1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0,u.unsafeStringify=y;var f,m=(f=validate_1)&&f.__esModule?f:{default:f};const v=[];for(let k=0;k<256;++k)v.push((k+256).toString(16).slice(1));function y(k,S=0){return v[k[S+0]]+v[k[S+1]]+v[k[S+2]]+v[k[S+3]]+"-"+v[k[S+4]]+v[k[S+5]]+"-"+v[k[S+6]]+v[k[S+7]]+"-"+v[k[S+8]]+v[k[S+9]]+"-"+v[k[S+10]]+v[k[S+11]]+v[k[S+12]]+v[k[S+13]]+v[k[S+14]]+v[k[S+15]]}var w=function(k,S=0){const M=y(k,S);if(!(0,m.default)(M))throw TypeError("Stringified UUID is invalid");return M};u.default=w}),v1_1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var f,m=(f=rng_1)&&f.__esModule?f:{default:f};let v,y,w=0,k=0;var S=function(M,T,E){let H=T&&E||0;const F=T||new Array(16);let Z=(M=M||{}).node||v,$=M.clockseq!==void 0?M.clockseq:y;if(Z==null||$==null){const me=M.random||(M.rng||m.default)();Z==null&&(Z=v=[1|me[0],me[1],me[2],me[3],me[4],me[5]]),$==null&&($=y=16383&(me[6]<<8|me[7]))}let J=M.msecs!==void 0?M.msecs:Date.now(),se=M.nsecs!==void 0?M.nsecs:k+1;const ie=J-w+(se-k)/1e4;if(ie<0&&M.clockseq===void 0&&($=$+1&16383),(ie<0||J>w)&&M.nsecs===void 0&&(se=0),se>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");w=J,k=se,y=$,J+=122192928e5;const he=(1e4*(268435455&J)+se)%4294967296;F[H++]=he>>>24&255,F[H++]=he>>>16&255,F[H++]=he>>>8&255,F[H++]=255&he;const ce=J/4294967296*1e4&268435455;F[H++]=ce>>>8&255,F[H++]=255&ce,F[H++]=ce>>>24&15|16,F[H++]=ce>>>16&255,F[H++]=$>>>8|128,F[H++]=255&$;for(let me=0;me<6;++me)F[H+me]=Z[me];return T||(0,stringify_1$1.unsafeStringify)(F)};u.default=S}),parse_1$4=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var f,m=(f=validate_1)&&f.__esModule?f:{default:f},v=function(y){if(!(0,m.default)(y))throw TypeError("Invalid UUID");let w;const k=new Uint8Array(16);return k[0]=(w=parseInt(y.slice(0,8),16))>>>24,k[1]=w>>>16&255,k[2]=w>>>8&255,k[3]=255&w,k[4]=(w=parseInt(y.slice(9,13),16))>>>8,k[5]=255&w,k[6]=(w=parseInt(y.slice(14,18),16))>>>8,k[7]=255&w,k[8]=(w=parseInt(y.slice(19,23),16))>>>8,k[9]=255&w,k[10]=(w=parseInt(y.slice(24,36),16))/1099511627776&255,k[11]=w/4294967296&255,k[12]=w>>>24&255,k[13]=w>>>16&255,k[14]=w>>>8&255,k[15]=255&w,k};u.default=v}),v35_1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.URL=u.DNS=void 0,u.default=function(w,k,S){function M(T,E,H,F){var Z;if(typeof T=="string"&&(T=function(J){J=unescape(encodeURIComponent(J));const se=[];for(let ie=0;ie<J.length;++ie)se.push(J.charCodeAt(ie));return se}(T)),typeof E=="string"&&(E=(0,m.default)(E)),((Z=E)===null||Z===void 0?void 0:Z.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let $=new Uint8Array(16+T.length);if($.set(E),$.set(T,E.length),$=S($),$[6]=15&$[6]|k,$[8]=63&$[8]|128,H){F=F||0;for(let J=0;J<16;++J)H[F+J]=$[J];return H}return(0,stringify_1$1.unsafeStringify)($)}try{M.name=w}catch{}return M.DNS=v,M.URL=y,M};var f,m=(f=parse_1$4)&&f.__esModule?f:{default:f};const v="6ba7b810-9dad-11d1-80b4-00c04fd430c8";u.DNS=v;const y="6ba7b811-9dad-11d1-80b4-00c04fd430c8";u.URL=y}),md5_1=createCommonjsModule(function(p,u){function f(T){return 14+(T+64>>>9<<4)+1}function m(T,E){const H=(65535&T)+(65535&E);return(T>>16)+(E>>16)+(H>>16)<<16|65535&H}function v(T,E,H,F,Z,$){return m((J=m(m(E,T),m(F,$)))<<(se=Z)|J>>>32-se,H);var J,se}function y(T,E,H,F,Z,$,J){return v(E&H|~E&F,T,E,Z,$,J)}function w(T,E,H,F,Z,$,J){return v(E&F|H&~F,T,E,Z,$,J)}function k(T,E,H,F,Z,$,J){return v(E^H^F,T,E,Z,$,J)}function S(T,E,H,F,Z,$,J){return v(H^(E|~F),T,E,Z,$,J)}Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var M=function(T){if(typeof T=="string"){const E=unescape(encodeURIComponent(T));T=new Uint8Array(E.length);for(let H=0;H<E.length;++H)T[H]=E.charCodeAt(H)}return function(E){const H=[],F=32*E.length,Z="0123456789abcdef";for(let $=0;$<F;$+=8){const J=E[$>>5]>>>$%32&255,se=parseInt(Z.charAt(J>>>4&15)+Z.charAt(15&J),16);H.push(se)}return H}(function(E,H){E[H>>5]|=128<<H%32,E[f(H)-1]=H;let F=1732584193,Z=-271733879,$=-1732584194,J=271733878;for(let se=0;se<E.length;se+=16){const ie=F,he=Z,ce=$,me=J;F=y(F,Z,$,J,E[se],7,-680876936),J=y(J,F,Z,$,E[se+1],12,-389564586),$=y($,J,F,Z,E[se+2],17,606105819),Z=y(Z,$,J,F,E[se+3],22,-1044525330),F=y(F,Z,$,J,E[se+4],7,-176418897),J=y(J,F,Z,$,E[se+5],12,1200080426),$=y($,J,F,Z,E[se+6],17,-1473231341),Z=y(Z,$,J,F,E[se+7],22,-45705983),F=y(F,Z,$,J,E[se+8],7,1770035416),J=y(J,F,Z,$,E[se+9],12,-1958414417),$=y($,J,F,Z,E[se+10],17,-42063),Z=y(Z,$,J,F,E[se+11],22,-1990404162),F=y(F,Z,$,J,E[se+12],7,1804603682),J=y(J,F,Z,$,E[se+13],12,-40341101),$=y($,J,F,Z,E[se+14],17,-1502002290),Z=y(Z,$,J,F,E[se+15],22,1236535329),F=w(F,Z,$,J,E[se+1],5,-165796510),J=w(J,F,Z,$,E[se+6],9,-1069501632),$=w($,J,F,Z,E[se+11],14,643717713),Z=w(Z,$,J,F,E[se],20,-373897302),F=w(F,Z,$,J,E[se+5],5,-701558691),J=w(J,F,Z,$,E[se+10],9,38016083),$=w($,J,F,Z,E[se+15],14,-660478335),Z=w(Z,$,J,F,E[se+4],20,-405537848),F=w(F,Z,$,J,E[se+9],5,568446438),J=w(J,F,Z,$,E[se+14],9,-1019803690),$=w($,J,F,Z,E[se+3],14,-187363961),Z=w(Z,$,J,F,E[se+8],20,1163531501),F=w(F,Z,$,J,E[se+13],5,-1444681467),J=w(J,F,Z,$,E[se+2],9,-51403784),$=w($,J,F,Z,E[se+7],14,1735328473),Z=w(Z,$,J,F,E[se+12],20,-1926607734),F=k(F,Z,$,J,E[se+5],4,-378558),J=k(J,F,Z,$,E[se+8],11,-2022574463),$=k($,J,F,Z,E[se+11],16,1839030562),Z=k(Z,$,J,F,E[se+14],23,-35309556),F=k(F,Z,$,J,E[se+1],4,-1530992060),J=k(J,F,Z,$,E[se+4],11,1272893353),$=k($,J,F,Z,E[se+7],16,-155497632),Z=k(Z,$,J,F,E[se+10],23,-1094730640),F=k(F,Z,$,J,E[se+13],4,681279174),J=k(J,F,Z,$,E[se],11,-358537222),$=k($,J,F,Z,E[se+3],16,-722521979),Z=k(Z,$,J,F,E[se+6],23,76029189),F=k(F,Z,$,J,E[se+9],4,-640364487),J=k(J,F,Z,$,E[se+12],11,-421815835),$=k($,J,F,Z,E[se+15],16,530742520),Z=k(Z,$,J,F,E[se+2],23,-995338651),F=S(F,Z,$,J,E[se],6,-198630844),J=S(J,F,Z,$,E[se+7],10,1126891415),$=S($,J,F,Z,E[se+14],15,-1416354905),Z=S(Z,$,J,F,E[se+5],21,-57434055),F=S(F,Z,$,J,E[se+12],6,1700485571),J=S(J,F,Z,$,E[se+3],10,-1894986606),$=S($,J,F,Z,E[se+10],15,-1051523),Z=S(Z,$,J,F,E[se+1],21,-2054922799),F=S(F,Z,$,J,E[se+8],6,1873313359),J=S(J,F,Z,$,E[se+15],10,-30611744),$=S($,J,F,Z,E[se+6],15,-1560198380),Z=S(Z,$,J,F,E[se+13],21,1309151649),F=S(F,Z,$,J,E[se+4],6,-145523070),J=S(J,F,Z,$,E[se+11],10,-1120210379),$=S($,J,F,Z,E[se+2],15,718787259),Z=S(Z,$,J,F,E[se+9],21,-343485551),F=m(F,ie),Z=m(Z,he),$=m($,ce),J=m(J,me)}return[F,Z,$,J]}(function(E){if(E.length===0)return[];const H=8*E.length,F=new Uint32Array(f(H));for(let Z=0;Z<H;Z+=8)F[Z>>5]|=(255&E[Z/8])<<Z%32;return F}(T),8*T.length))};u.default=M}),v3_1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var f=v(v35_1),m=v(md5_1);function v(w){return w&&w.__esModule?w:{default:w}}var y=(0,f.default)("v3",48,m.default);u.default=y}),native=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var f={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};u.default=f}),v4_1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var f=v(native),m=v(rng_1);function v(w){return w&&w.__esModule?w:{default:w}}var y=function(w,k,S){if(f.default.randomUUID&&!k&&!w)return f.default.randomUUID();const M=(w=w||{}).random||(w.rng||m.default)();if(M[6]=15&M[6]|64,M[8]=63&M[8]|128,k){S=S||0;for(let T=0;T<16;++T)k[S+T]=M[T];return k}return(0,stringify_1$1.unsafeStringify)(M)};u.default=y}),sha1_1=createCommonjsModule(function(p,u){function f(y,w,k,S){switch(y){case 0:return w&k^~w&S;case 1:case 3:return w^k^S;case 2:return w&k^w&S^k&S}}function m(y,w){return y<<w|y>>>32-w}Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var v=function(y){const w=[1518500249,1859775393,2400959708,3395469782],k=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof y=="string"){const E=unescape(encodeURIComponent(y));y=[];for(let H=0;H<E.length;++H)y.push(E.charCodeAt(H))}else Array.isArray(y)||(y=Array.prototype.slice.call(y));y.push(128);const S=y.length/4+2,M=Math.ceil(S/16),T=new Array(M);for(let E=0;E<M;++E){const H=new Uint32Array(16);for(let F=0;F<16;++F)H[F]=y[64*E+4*F]<<24|y[64*E+4*F+1]<<16|y[64*E+4*F+2]<<8|y[64*E+4*F+3];T[E]=H}T[M-1][14]=8*(y.length-1)/Math.pow(2,32),T[M-1][14]=Math.floor(T[M-1][14]),T[M-1][15]=8*(y.length-1)&4294967295;for(let E=0;E<M;++E){const H=new Uint32Array(80);for(let ie=0;ie<16;++ie)H[ie]=T[E][ie];for(let ie=16;ie<80;++ie)H[ie]=m(H[ie-3]^H[ie-8]^H[ie-14]^H[ie-16],1);let F=k[0],Z=k[1],$=k[2],J=k[3],se=k[4];for(let ie=0;ie<80;++ie){const he=Math.floor(ie/20),ce=m(F,5)+f(he,Z,$,J)+se+w[he]+H[ie]>>>0;se=J,J=$,$=m(Z,30)>>>0,Z=F,F=ce}k[0]=k[0]+F>>>0,k[1]=k[1]+Z>>>0,k[2]=k[2]+$>>>0,k[3]=k[3]+J>>>0,k[4]=k[4]+se>>>0}return[k[0]>>24&255,k[0]>>16&255,k[0]>>8&255,255&k[0],k[1]>>24&255,k[1]>>16&255,k[1]>>8&255,255&k[1],k[2]>>24&255,k[2]>>16&255,k[2]>>8&255,255&k[2],k[3]>>24&255,k[3]>>16&255,k[3]>>8&255,255&k[3],k[4]>>24&255,k[4]>>16&255,k[4]>>8&255,255&k[4]]};u.default=v}),v5_1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var f=v(v35_1),m=v(sha1_1);function v(w){return w&&w.__esModule?w:{default:w}}var y=(0,f.default)("v5",80,m.default);u.default=y}),nil=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0,u.default="00000000-0000-0000-0000-000000000000"}),version_1=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var f,m=(f=validate_1)&&f.__esModule?f:{default:f},v=function(y){if(!(0,m.default)(y))throw TypeError("Invalid UUID");return parseInt(y.slice(14,15),16)};u.default=v}),commonjsBrowser=createCommonjsModule(function(p,u){Object.defineProperty(u,"__esModule",{value:!0}),Object.defineProperty(u,"NIL",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(u,"parse",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(u,"stringify",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(u,"v1",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(u,"v3",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(u,"v4",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(u,"v5",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(u,"validate",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(u,"version",{enumerable:!0,get:function(){return k.default}});var f=E(v1_1),m=E(v3_1),v=E(v4_1),y=E(v5_1),w=E(nil),k=E(version_1),S=E(validate_1),M=E(stringify_1$1),T=E(parse_1$4);function E(H){return H&&H.__esModule?H:{default:H}}}),uuid_1=createCommonjsModule(function(p){p.exports.uuid=function(){return commonjsBrowser.v4()}}),lib$7={array:array$1,code,collection,comparison:comparison$1,html:html_1,i18n,inflection,match,math:math$1,misc,number:number$1,object:object$1,path:path_1,regex:regex$2,string:string$1,url:url_1,uuid:uuid_1},handlebarsHelpers=createCommonjsModule(function(p){p.exports=function(u,f){typeof u=="string"?u=[u]:Array.isArray(u)||(f=u,u=null);var m=(f=f||{}).handlebars||f.hbs||handlebars;if(p.exports.handlebars=m,u)u.forEach(function(v){m.registerHelper(lib$7[v])});else for(const v in lib$7){const y=lib$7[v];m.registerHelper(y)}return m.helpers};for(const u in lib$7){const f=lib$7[u];p.exports[u]=function(m){var v=(m=m||{}).handlebars||m.hbs||handlebars;return p.exports.handlebars=v,v.registerHelper(f),f}}p.exports.utils=utils$2}),dayjs_min=createCommonjsModule(function(p,u){p.exports=function(){var f=1e3,m=6e4,v=36e5,y="millisecond",w="second",k="minute",S="hour",M="day",T="week",E="month",H="quarter",F="year",Z="date",$="Invalid Date",J=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,se=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ie={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(je){var be=["th","st","nd","rd"],De=je%100;return"["+je+(be[(De-20)%10]||be[De]||be[0])+"]"}},he=function(je,be,De){var Ke=String(je);return!Ke||Ke.length>=be?je:""+Array(be+1-Ke.length).join(De)+je},ce={s:he,z:function(je){var be=-je.utcOffset(),De=Math.abs(be),Ke=Math.floor(De/60),He=De%60;return(be<=0?"+":"-")+he(Ke,2,"0")+":"+he(He,2,"0")},m:function je(be,De){if(be.date()<De.date())return-je(De,be);var Ke=12*(De.year()-be.year())+(De.month()-be.month()),He=be.clone().add(Ke,E),rt=De-He<0,ft=be.clone().add(Ke+(rt?-1:1),E);return+(-(Ke+(De-He)/(rt?He-ft:ft-He))||0)},a:function(je){return je<0?Math.ceil(je)||0:Math.floor(je)},p:function(je){return{M:E,y:F,w:T,d:M,D:Z,h:S,m:k,s:w,ms:y,Q:H}[je]||String(je||"").toLowerCase().replace(/s$/,"")},u:function(je){return je===void 0}},me="en",ve={};ve[me]=ie;var xe="$isDayjsObject",ze=function(je){return je instanceof We||!(!je||!je[xe])},Se=function je(be,De,Ke){var He;if(!be)return me;if(typeof be=="string"){var rt=be.toLowerCase();ve[rt]&&(He=rt),De&&(ve[rt]=De,He=rt);var ft=be.split("-");if(!He&&ft.length>1)return je(ft[0])}else{var Mt=be.name;ve[Mt]=be,He=Mt}return!Ke&&He&&(me=He),He||!Ke&&me},Ie=function(je,be){if(ze(je))return je.clone();var De=typeof be=="object"?be:{};return De.date=je,De.args=arguments,new We(De)},Ce=ce;Ce.l=Se,Ce.i=ze,Ce.w=function(je,be){return Ie(je,{locale:be.$L,utc:be.$u,x:be.$x,$offset:be.$offset})};var We=function(){function je(De){this.$L=Se(De.locale,null,!0),this.parse(De),this.$x=this.$x||De.x||{},this[xe]=!0}var be=je.prototype;return be.parse=function(De){this.$d=function(Ke){var He=Ke.date,rt=Ke.utc;if(He===null)return new Date(NaN);if(Ce.u(He))return new Date;if(He instanceof Date)return new Date(He);if(typeof He=="string"&&!/Z$/i.test(He)){var ft=He.match(J);if(ft){var Mt=ft[2]-1||0,Ye=(ft[7]||"0").substring(0,3);return rt?new Date(Date.UTC(ft[1],Mt,ft[3]||1,ft[4]||0,ft[5]||0,ft[6]||0,Ye)):new Date(ft[1],Mt,ft[3]||1,ft[4]||0,ft[5]||0,ft[6]||0,Ye)}}return new Date(He)}(De),this.init()},be.init=function(){var De=this.$d;this.$y=De.getFullYear(),this.$M=De.getMonth(),this.$D=De.getDate(),this.$W=De.getDay(),this.$H=De.getHours(),this.$m=De.getMinutes(),this.$s=De.getSeconds(),this.$ms=De.getMilliseconds()},be.$utils=function(){return Ce},be.isValid=function(){return this.$d.toString()!==$},be.isSame=function(De,Ke){var He=Ie(De);return this.startOf(Ke)<=He&&He<=this.endOf(Ke)},be.isAfter=function(De,Ke){return Ie(De)<this.startOf(Ke)},be.isBefore=function(De,Ke){return this.endOf(Ke)<Ie(De)},be.$g=function(De,Ke,He){return Ce.u(De)?this[Ke]:this.set(He,De)},be.unix=function(){return Math.floor(this.valueOf()/1e3)},be.valueOf=function(){return this.$d.getTime()},be.startOf=function(De,Ke){var He=this,rt=!!Ce.u(Ke)||Ke,ft=Ce.p(De),Mt=function(Gt,Jt){var Ht=Ce.w(He.$u?Date.UTC(He.$y,Jt,Gt):new Date(He.$y,Jt,Gt),He);return rt?Ht:Ht.endOf(M)},Ye=function(Gt,Jt){return Ce.w(He.toDate()[Gt].apply(He.toDate("s"),(rt?[0,0,0,0]:[23,59,59,999]).slice(Jt)),He)},Ue=this.$W,yt=this.$M,wt=this.$D,ot="set"+(this.$u?"UTC":"");switch(ft){case F:return rt?Mt(1,0):Mt(31,11);case E:return rt?Mt(1,yt):Mt(0,yt+1);case T:var Rt=this.$locale().weekStart||0,Xe=(Ue<Rt?Ue+7:Ue)-Rt;return Mt(rt?wt-Xe:wt+(6-Xe),yt);case M:case Z:return Ye(ot+"Hours",0);case S:return Ye(ot+"Minutes",1);case k:return Ye(ot+"Seconds",2);case w:return Ye(ot+"Milliseconds",3);default:return this.clone()}},be.endOf=function(De){return this.startOf(De,!1)},be.$set=function(De,Ke){var He,rt=Ce.p(De),ft="set"+(this.$u?"UTC":""),Mt=(He={},He[M]=ft+"Date",He[Z]=ft+"Date",He[E]=ft+"Month",He[F]=ft+"FullYear",He[S]=ft+"Hours",He[k]=ft+"Minutes",He[w]=ft+"Seconds",He[y]=ft+"Milliseconds",He)[rt],Ye=rt===M?this.$D+(Ke-this.$W):Ke;if(rt===E||rt===F){var Ue=this.clone().set(Z,1);Ue.$d[Mt](Ye),Ue.init(),this.$d=Ue.set(Z,Math.min(this.$D,Ue.daysInMonth())).$d}else Mt&&this.$d[Mt](Ye);return this.init(),this},be.set=function(De,Ke){return this.clone().$set(De,Ke)},be.get=function(De){return this[Ce.p(De)]()},be.add=function(De,Ke){var He,rt=this;De=Number(De);var ft=Ce.p(Ke),Mt=function(yt){var wt=Ie(rt);return Ce.w(wt.date(wt.date()+Math.round(yt*De)),rt)};if(ft===E)return this.set(E,this.$M+De);if(ft===F)return this.set(F,this.$y+De);if(ft===M)return Mt(1);if(ft===T)return Mt(7);var Ye=(He={},He[k]=m,He[S]=v,He[w]=f,He)[ft]||1,Ue=this.$d.getTime()+De*Ye;return Ce.w(Ue,this)},be.subtract=function(De,Ke){return this.add(-1*De,Ke)},be.format=function(De){var Ke=this,He=this.$locale();if(!this.isValid())return He.invalidDate||$;var rt=De||"YYYY-MM-DDTHH:mm:ssZ",ft=Ce.z(this),Mt=this.$H,Ye=this.$m,Ue=this.$M,yt=He.weekdays,wt=He.months,ot=He.meridiem,Rt=function(Jt,Ht,Pt,Et){return Jt&&(Jt[Ht]||Jt(Ke,rt))||Pt[Ht].slice(0,Et)},Xe=function(Jt){return Ce.s(Mt%12||12,Jt,"0")},Gt=ot||function(Jt,Ht,Pt){var Et=Jt<12?"AM":"PM";return Pt?Et.toLowerCase():Et};return rt.replace(se,function(Jt,Ht){return Ht||function(Pt){switch(Pt){case"YY":return String(Ke.$y).slice(-2);case"YYYY":return Ce.s(Ke.$y,4,"0");case"M":return Ue+1;case"MM":return Ce.s(Ue+1,2,"0");case"MMM":return Rt(He.monthsShort,Ue,wt,3);case"MMMM":return Rt(wt,Ue);case"D":return Ke.$D;case"DD":return Ce.s(Ke.$D,2,"0");case"d":return String(Ke.$W);case"dd":return Rt(He.weekdaysMin,Ke.$W,yt,2);case"ddd":return Rt(He.weekdaysShort,Ke.$W,yt,3);case"dddd":return yt[Ke.$W];case"H":return String(Mt);case"HH":return Ce.s(Mt,2,"0");case"h":return Xe(1);case"hh":return Xe(2);case"a":return Gt(Mt,Ye,!0);case"A":return Gt(Mt,Ye,!1);case"m":return String(Ye);case"mm":return Ce.s(Ye,2,"0");case"s":return String(Ke.$s);case"ss":return Ce.s(Ke.$s,2,"0");case"SSS":return Ce.s(Ke.$ms,3,"0");case"Z":return ft}return null}(Jt)||ft.replace(":","")})},be.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},be.diff=function(De,Ke,He){var rt,ft=this,Mt=Ce.p(Ke),Ye=Ie(De),Ue=(Ye.utcOffset()-this.utcOffset())*m,yt=this-Ye,wt=function(){return Ce.m(ft,Ye)};switch(Mt){case F:rt=wt()/12;break;case E:rt=wt();break;case H:rt=wt()/3;break;case T:rt=(yt-Ue)/6048e5;break;case M:rt=(yt-Ue)/864e5;break;case S:rt=yt/v;break;case k:rt=yt/m;break;case w:rt=yt/f;break;default:rt=yt}return He?rt:Ce.a(rt)},be.daysInMonth=function(){return this.endOf(E).$D},be.$locale=function(){return ve[this.$L]},be.locale=function(De,Ke){if(!De)return this.$L;var He=this.clone(),rt=Se(De,Ke,!0);return rt&&(He.$L=rt),He},be.clone=function(){return Ce.w(this.$d,this)},be.toDate=function(){return new Date(this.valueOf())},be.toJSON=function(){return this.isValid()?this.toISOString():null},be.toISOString=function(){return this.$d.toISOString()},be.toString=function(){return this.$d.toUTCString()},je}(),$e=We.prototype;return Ie.prototype=$e,[["$ms",y],["$s",w],["$m",k],["$H",S],["$W",M],["$M",E],["$y",F],["$D",Z]].forEach(function(je){$e[je[1]]=function(be){return this.$g(be,je[0],je[1])}}),Ie.extend=function(je,be){return je.$i||(je(be,We,Ie),je.$i=!0),Ie},Ie.locale=Se,Ie.isDayjs=ze,Ie.unix=function(je){return Ie(1e3*je)},Ie.en=ve[me],Ie.Ls=ve,Ie.p={},Ie}()}),duration$1$1=createCommonjsModule(function(p,u){var f,m,v,y,w,k,S,M,T,E,H,F,Z,$,J,se,ie,he,ce,me;p.exports=(S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,E=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,H={years:M=31536e6,months:T=2628e6,days:k=864e5,hours:w=36e5,minutes:y=6e4,seconds:v=1e3,milliseconds:1,weeks:6048e5},F=function(ve){return ve instanceof ce},Z=function(ve,xe,ze){return new ce(ve,ze,xe.$l)},$=function(ve){return m.p(ve)+"s"},J=function(ve){return ve<0},se=function(ve){return J(ve)?Math.ceil(ve):Math.floor(ve)},ie=function(ve){return Math.abs(ve)},he=function(ve,xe){return ve?J(ve)?{negative:!0,format:""+ie(ve)+xe}:{negative:!1,format:""+ve+xe}:{negative:!1,format:""}},ce=function(){function ve(ze,Se,Ie){var Ce=this;if(this.$d={},this.$l=Ie,ze===void 0&&(this.$ms=0,this.parseFromMilliseconds()),Se)return Z(ze*H[$(Se)],this);if(typeof ze=="number")return this.$ms=ze,this.parseFromMilliseconds(),this;if(typeof ze=="object")return Object.keys(ze).forEach(function(je){Ce.$d[$(je)]=ze[je]}),this.calMilliseconds(),this;if(typeof ze=="string"){var We=ze.match(E);if(We){var $e=We.slice(2).map(function(je){return je!=null?Number(je):0});return this.$d.years=$e[0],this.$d.months=$e[1],this.$d.weeks=$e[2],this.$d.days=$e[3],this.$d.hours=$e[4],this.$d.minutes=$e[5],this.$d.seconds=$e[6],this.calMilliseconds(),this}}return this}var xe=ve.prototype;return xe.calMilliseconds=function(){var ze=this;this.$ms=Object.keys(this.$d).reduce(function(Se,Ie){return Se+(ze.$d[Ie]||0)*H[Ie]},0)},xe.parseFromMilliseconds=function(){var ze=this.$ms;this.$d.years=se(ze/M),ze%=M,this.$d.months=se(ze/T),ze%=T,this.$d.days=se(ze/k),ze%=k,this.$d.hours=se(ze/w),ze%=w,this.$d.minutes=se(ze/y),ze%=y,this.$d.seconds=se(ze/v),ze%=v,this.$d.milliseconds=ze},xe.toISOString=function(){var ze=he(this.$d.years,"Y"),Se=he(this.$d.months,"M"),Ie=+this.$d.days||0;this.$d.weeks&&(Ie+=7*this.$d.weeks);var Ce=he(Ie,"D"),We=he(this.$d.hours,"H"),$e=he(this.$d.minutes,"M"),je=this.$d.seconds||0;this.$d.milliseconds&&(je+=this.$d.milliseconds/1e3,je=Math.round(1e3*je)/1e3);var be=he(je,"S"),De=ze.negative||Se.negative||Ce.negative||We.negative||$e.negative||be.negative,Ke=We.format||$e.format||be.format?"T":"",He=(De?"-":"")+"P"+ze.format+Se.format+Ce.format+Ke+We.format+$e.format+be.format;return He==="P"||He==="-P"?"P0D":He},xe.toJSON=function(){return this.toISOString()},xe.format=function(ze){var Se=ze||"YYYY-MM-DDTHH:mm:ss",Ie={Y:this.$d.years,YY:m.s(this.$d.years,2,"0"),YYYY:m.s(this.$d.years,4,"0"),M:this.$d.months,MM:m.s(this.$d.months,2,"0"),D:this.$d.days,DD:m.s(this.$d.days,2,"0"),H:this.$d.hours,HH:m.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:m.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:m.s(this.$d.seconds,2,"0"),SSS:m.s(this.$d.milliseconds,3,"0")};return Se.replace(S,function(Ce,We){return We||String(Ie[Ce])})},xe.as=function(ze){return this.$ms/H[$(ze)]},xe.get=function(ze){var Se=this.$ms,Ie=$(ze);return Ie==="milliseconds"?Se%=1e3:Se=Ie==="weeks"?se(Se/H[Ie]):this.$d[Ie],Se||0},xe.add=function(ze,Se,Ie){var Ce;return Ce=Se?ze*H[$(Se)]:F(ze)?ze.$ms:Z(ze,this).$ms,Z(this.$ms+Ce*(Ie?-1:1),this)},xe.subtract=function(ze,Se){return this.add(ze,Se,!0)},xe.locale=function(ze){var Se=this.clone();return Se.$l=ze,Se},xe.clone=function(){return Z(this.$ms,this)},xe.humanize=function(ze){return f().add(this.$ms,"ms").locale(this.$l).fromNow(!ze)},xe.valueOf=function(){return this.asMilliseconds()},xe.milliseconds=function(){return this.get("milliseconds")},xe.asMilliseconds=function(){return this.as("milliseconds")},xe.seconds=function(){return this.get("seconds")},xe.asSeconds=function(){return this.as("seconds")},xe.minutes=function(){return this.get("minutes")},xe.asMinutes=function(){return this.as("minutes")},xe.hours=function(){return this.get("hours")},xe.asHours=function(){return this.as("hours")},xe.days=function(){return this.get("days")},xe.asDays=function(){return this.as("days")},xe.weeks=function(){return this.get("weeks")},xe.asWeeks=function(){return this.as("weeks")},xe.months=function(){return this.get("months")},xe.asMonths=function(){return this.as("months")},xe.years=function(){return this.get("years")},xe.asYears=function(){return this.as("years")},ve}(),me=function(ve,xe,ze){return ve.add(xe.years()*ze,"y").add(xe.months()*ze,"M").add(xe.days()*ze,"d").add(xe.hours()*ze,"h").add(xe.minutes()*ze,"m").add(xe.seconds()*ze,"s").add(xe.milliseconds()*ze,"ms")},function(ve,xe,ze){f=ze,m=ze().$utils(),ze.duration=function(Ce,We){var $e=ze.locale();return Z(Ce,{$l:$e},We)},ze.isDuration=F;var Se=xe.prototype.add,Ie=xe.prototype.subtract;xe.prototype.add=function(Ce,We){return F(Ce)?me(this,Ce,1):Se.bind(this)(Ce,We)},xe.prototype.subtract=function(Ce,We){return F(Ce)?me(this,Ce,-1):Ie.bind(this)(Ce,We)}})}),advancedFormat=createCommonjsModule(function(p,u){p.exports=function(f,m){var v=m.prototype,y=v.format;v.format=function(w){var k=this,S=this.$locale();if(!this.isValid())return y.bind(this)(w);var M=this.$utils(),T=(w||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(E){switch(E){case"Q":return Math.ceil((k.$M+1)/3);case"Do":return S.ordinal(k.$D);case"gggg":return k.weekYear();case"GGGG":return k.isoWeekYear();case"wo":return S.ordinal(k.week(),"W");case"w":case"ww":return M.s(k.week(),E==="w"?1:2,"0");case"W":case"WW":return M.s(k.isoWeek(),E==="W"?1:2,"0");case"k":case"kk":return M.s(String(k.$H===0?24:k.$H),E==="k"?1:2,"0");case"X":return Math.floor(k.$d.getTime()/1e3);case"x":return k.$d.getTime();case"z":return"["+k.offsetName()+"]";case"zzz":return"["+k.offsetName("long")+"]";default:return E}});return y.bind(this)(T)}}}),isoWeek=createCommonjsModule(function(p,u){var f;p.exports=(f="day",function(m,v,y){var w=function(M){return M.add(4-M.isoWeekday(),f)},k=v.prototype;k.isoWeekYear=function(){return w(this).year()},k.isoWeek=function(M){if(!this.$utils().u(M))return this.add(7*(M-this.isoWeek()),f);var T,E,H,F=w(this),Z=(T=this.isoWeekYear(),H=4-(E=(this.$u?y.utc:y)().year(T).startOf("year")).isoWeekday(),E.isoWeekday()>4&&(H+=7),E.add(H,f));return F.diff(Z,"week")+1},k.isoWeekday=function(M){return this.$utils().u(M)?this.day()||7:this.day(this.day()%7?M:M-7)};var S=k.startOf;k.startOf=function(M,T){var E=this.$utils(),H=!!E.u(T)||T;return E.p(M)==="isoweek"?H?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):S.bind(this)(M,T)}})}),weekYear=createCommonjsModule(function(p,u){p.exports=function(f,m){m.prototype.weekYear=function(){var v=this.month(),y=this.week(),w=this.year();return y===1&&v===11?w+1:v===0&&y>=52?w-1:w}}}),weekOfYear=createCommonjsModule(function(p,u){var f,m;p.exports=(f="week",m="year",function(v,y,w){var k=y.prototype;k.week=function(S){if(S===void 0&&(S=null),S!==null)return this.add(7*(S-this.week()),"day");var M=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var T=w(this).startOf(m).add(1,m).date(M),E=w(this).endOf(f);if(T.isBefore(E))return 1}var H=w(this).startOf(m).date(M).startOf(f).subtract(1,"millisecond"),F=this.diff(H,f,!0);return F<0?w(this).startOf("week").week():Math.ceil(F)},k.weeks=function(S){return S===void 0&&(S=null),this.week(S)}})}),relativeTime=createCommonjsModule(function(p,u){p.exports=function(f,m,v){f=f||{};var y=m.prototype,w={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function k(M,T,E,H){return y.fromToBase(M,T,E,H)}v.en.relativeTime=w,y.fromToBase=function(M,T,E,H,F){for(var Z,$,J,se=E.$locale().relativeTime||w,ie=f.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],he=ie.length,ce=0;ce<he;ce+=1){var me=ie[ce];me.d&&(Z=H?v(M).diff(E,me.d,!0):E.diff(M,me.d,!0));var ve=(f.rounding||Math.round)(Math.abs(Z));if(J=Z>0,ve<=me.r||!me.r){ve<=1&&ce>0&&(me=ie[ce-1]);var xe=se[me.l];F&&(ve=F(""+ve)),$=typeof xe=="string"?xe.replace("%d",ve):xe(ve,T,me.l,J);break}}if(T)return $;var ze=J?se.future:se.past;return typeof ze=="function"?ze($):ze.replace("%s",$)},y.to=function(M,T){return k(M,T,this,!0)},y.from=function(M,T){return k(M,T,this)};var S=function(M){return M.$u?v.utc():v()};y.toNow=function(M){return this.to(S(this),M)},y.fromNow=function(M){return this.from(S(this),M)}}}),utc$2=createCommonjsModule(function(p,u){var f,m,v;p.exports=(f="minute",m=/[+-]\d\d(?::?\d\d)?/g,v=/([+-]|\d\d)/g,function(y,w,k){var S=w.prototype;k.utc=function($){return new w({date:$,utc:!0,args:arguments})},S.utc=function($){var J=k(this.toDate(),{locale:this.$L,utc:!0});return $?J.add(this.utcOffset(),f):J},S.local=function(){return k(this.toDate(),{locale:this.$L,utc:!1})};var M=S.parse;S.parse=function($){$.utc&&(this.$u=!0),this.$utils().u($.$offset)||(this.$offset=$.$offset),M.call(this,$)};var T=S.init;S.init=function(){if(this.$u){var $=this.$d;this.$y=$.getUTCFullYear(),this.$M=$.getUTCMonth(),this.$D=$.getUTCDate(),this.$W=$.getUTCDay(),this.$H=$.getUTCHours(),this.$m=$.getUTCMinutes(),this.$s=$.getUTCSeconds(),this.$ms=$.getUTCMilliseconds()}else T.call(this)};var E=S.utcOffset;S.utcOffset=function($,J){var se=this.$utils().u;if(se($))return this.$u?0:se(this.$offset)?E.call(this):this.$offset;if(typeof $=="string"&&($=function(me){me===void 0&&(me="");var ve=me.match(m);if(!ve)return null;var xe=(""+ve[0]).match(v)||["-",0,0],ze=xe[0],Se=60*+xe[1]+ +xe[2];return Se===0?0:ze==="+"?Se:-Se}($),$===null))return this;var ie=Math.abs($)<=16?60*$:$,he=this;if(J)return he.$offset=ie,he.$u=$===0,he;if($!==0){var ce=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(he=this.local().add(ie+ce,f)).$offset=ie,he.$x.$localOffset=ce}else he=this.utc();return he};var H=S.format;S.format=function($){var J=$||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return H.call(this,J)},S.valueOf=function(){var $=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*$},S.isUTC=function(){return!!this.$u},S.toISOString=function(){return this.toDate().toISOString()},S.toString=function(){return this.toDate().toUTCString()};var F=S.toDate;S.toDate=function($){return $==="s"&&this.$offset?k(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():F.call(this)};var Z=S.diff;S.diff=function($,J,se){if($&&this.$u===$.$u)return Z.call(this,$,J,se);var ie=this.local(),he=k($).local();return Z.call(ie,he,J,se)}})}),timezone=createCommonjsModule(function(p,u){var f,m;p.exports=(f={year:0,month:1,day:2,hour:3,minute:4,second:5},m={},function(v,y,w){var k,S=function(H,F,Z){Z===void 0&&(Z={});var $=new Date(H),J=function(se,ie){ie===void 0&&(ie={});var he=ie.timeZoneName||"short",ce=se+"|"+he,me=m[ce];return me||(me=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:se,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:he}),m[ce]=me),me}(F,Z);return J.formatToParts($)},M=function(H,F){for(var Z=S(H,F),$=[],J=0;J<Z.length;J+=1){var se=Z[J],ie=se.type,he=se.value,ce=f[ie];ce>=0&&($[ce]=parseInt(he,10))}var me=$[3],ve=me===24?0:me,xe=$[0]+"-"+$[1]+"-"+$[2]+" "+ve+":"+$[4]+":"+$[5]+":000",ze=+H;return(w.utc(xe).valueOf()-(ze-=ze%1e3))/6e4},T=y.prototype;T.tz=function(H,F){H===void 0&&(H=k);var Z,$=this.utcOffset(),J=this.toDate(),se=J.toLocaleString("en-US",{timeZone:H}),ie=Math.round((J-new Date(se))/1e3/60),he=15*-Math.round(J.getTimezoneOffset()/15)-ie;if(Number(he)){if(Z=w(se,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(he,!0),F){var ce=Z.utcOffset();Z=Z.add($-ce,"minute")}}else Z=this.utcOffset(0,F);return Z.$x.$timezone=H,Z},T.offsetName=function(H){var F=this.$x.$timezone||w.tz.guess(),Z=S(this.valueOf(),F,{timeZoneName:H}).find(function($){return $.type.toLowerCase()==="timezonename"});return Z&&Z.value};var E=T.startOf;T.startOf=function(H,F){if(!this.$x||!this.$x.$timezone)return E.call(this,H,F);var Z=w(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return E.call(Z,H,F).tz(this.$x.$timezone,!0)},w.tz=function(H,F,Z){var $=Z&&F,J=Z||F||k,se=M(+w(),J);if(typeof H!="string")return w(H).tz(J);var ie=function(ve,xe,ze){var Se=ve-60*xe*1e3,Ie=M(Se,ze);if(xe===Ie)return[Se,xe];var Ce=M(Se-=60*(Ie-xe)*1e3,ze);return Ie===Ce?[Se,Ie]:[ve-60*Math.min(Ie,Ce)*1e3,Math.max(Ie,Ce)]}(w.utc(H,$).valueOf(),se,J),he=ie[0],ce=ie[1],me=w(he).utcOffset(ce);return me.$x.$timezone=J,me},w.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},w.tz.setDefault=function(H){k=H}})});function isOptions(p){return typeof p=="object"&&typeof p.hash=="object"}function isApp(p){return typeof p=="object"&&typeof p.options=="object"&&typeof p.app=="object"}function getContext(p,u,f){if(isOptions(p))return getContext({},u,p);if(isOptions(u))return getContext(p,f,u);const m=isApp(p)?p.context:{};isOptions(f=f||{})||(u=Object.assign({},u,f)),isOptions(f)&&f.hash.root===!0&&(u=Object.assign({},f.data.root,u));let v=Object.assign({},m,u,f.hash);return isApp(p)||(v=Object.assign({},p,v)),isApp(p)&&p.view&&p.view.data&&(v=Object.assign({},v,p.view.data)),v}function initialConfig(p,u,f){return isOptions(u)&&(f=u,u=null),isOptions(p)&&(f=p,u=null,p=null),{str:p,pattern:u,options:f}}function setLocale(p,u,f){const m=initialConfig(p,u,f),v=getContext(this,{lang:"en",date:new Date(m.str)},{});dayjs_min.locale(v.lang||v.language)}dayjs_min.extend(duration$1$1),dayjs_min.extend(advancedFormat),dayjs_min.extend(isoWeek),dayjs_min.extend(weekYear),dayjs_min.extend(weekOfYear),dayjs_min.extend(relativeTime),dayjs_min.extend(utc$2),dayjs_min.extend(timezone);const date$1=(p,u,f)=>{const m=initialConfig(p,u,f);if(m.str==null&&m.pattern==null)return dayjs_min.locale("en"),dayjs_min().format("MMMM DD, YYYY");setLocale(m.str,m.pattern,m.options);let v=dayjs_min(new Date(m.str));return v=typeof m.options=="string"?m.options.toLowerCase()==="utc"?v.utc():v.tz(m.options):v.tz(dayjs_min.tz.guess()),m.pattern===""?v.toISOString():v.format(m.pattern)},duration$3=(p,u,f)=>{const m=initialConfig(p,u);setLocale(m.str,m.pattern);const v=dayjs_min.duration(m.str,m.pattern);return f&&!isOptions(f)?v.format(f):v.humanize()},HelperFunctionBuiltin=["#if","#unless","#each","#with","lookup","log","blockHelperMissing","each","helperMissing","if","unless","log","lookup","with"],EXTERNAL_FUNCTION_COLLECTIONS=["math","array","number","url","string","comparison","object","regex","uuid"],HelperFunctionNames={OBJECT:"object",ALL:"all",LITERAL:"literal",JS:"js"},LITERAL_MARKER="%LITERAL%",ADDED_HELPERS={date:date$1,duration:duration$3};function registerAll$1(p){for(let[f,m]of Object.entries(ADDED_HELPERS))p.registerHelper(f,m);let u=[];for(let f of EXTERNAL_FUNCTION_COLLECTIONS){let m=handlebarsHelpers[f]();for(let v of Object.entries(m)){const y=v[0];HelperFunctionBuiltin.indexOf(y)===-1&&u.indexOf(y)===-1&&u.push(y)}handlebarsHelpers[f]({handlebars:p})}externalHelperNames=u.concat(Object.keys(ADDED_HELPERS))}let externalHelperNames=[];function isJest(){return browser.env.NODE_ENV==="jest"||browser.env.JEST_WORKER_ID!=null&&browser.env.JEST_WORKER_ID!=="null"}function isTest(){return isJest()}const isTestingBackendJS=()=>browser&&browser.env.BACKEND_JS,ALPHA_NUMERIC_REGEX=/^[A-Za-z0-9]+$/g,FIND_HBS_REGEX=/{{([^{].*?)}}/g,FIND_ANY_HBS_REGEX=/{?{{([^{].*?)}}}?/g,FIND_TRIPLE_HBS_REGEX=/{{{([^{].*?)}}}/g,isBackendService=()=>!(!isTest()||!isTestingBackendJS())||!isTest()&&typeof window>"u",isJSAllowed=()=>browser&&!browser.env.NO_JS,findDoubleHbsInstances=p=>{let u=p;const f=new RegExp(FIND_HBS_REGEX),m=new RegExp(FIND_TRIPLE_HBS_REGEX),v=u.match(m);return v&&v.forEach(w=>{u=u.replace(w,"")}),u.match(f)||[]},isAlphaNumeric=p=>p.match(ALPHA_NUMERIC_REGEX),swapStrings=(p,u,f,m)=>p.slice(0,u)+m+p.slice(u+f),atob$1=p=>Buffer$1.from(p,"base64").toString("utf-8"),prefixStrings=(p,u,f)=>{const m=u.map(y=>y.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),v=new RegExp(`\\b(${m.join("|")})\\b`,"g");return p.replace(v,`${f}$1`)};function frontendWrapJS(p){return`
|
|
299
299
|
result = {
|
|
300
300
|
result: null,
|
|
301
301
|
error: null,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/server",
|
|
3
3
|
"email": "hi@budibase.com",
|
|
4
|
-
"version": "3.4.
|
|
4
|
+
"version": "3.4.19",
|
|
5
5
|
"description": "Budibase Web Server",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -216,5 +216,5 @@
|
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
|
-
"gitHead": "
|
|
219
|
+
"gitHead": "14e590f1e05dbcbe3f8fc9c871899f1ec2d73d2b"
|
|
220
220
|
}
|