Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
web-interface.assets.vendor.f53e43520a75fcc21e18.js Maven / Gradle / Ivy
var __vendor;(()=>{var __webpack_modules__={3133:(D,b,e)=>{D.exports=e(176)},4422:(D,b,e)=>{D.exports=e(964)},6406:(D,b,e)=>{D.exports=e(8207)},200:(D,b,e)=>{D.exports=e(5380)},1578:(D,b,e)=>{D.exports=e(8058)},3929:(D,b,e)=>{D.exports=e(5297)},4255:(D,b,e)=>{D.exports=e(1900)},1113:(D,b,e)=>{D.exports=e(2837)},4504:(D,b,e)=>{D.exports=e(6111)},176:(D,b,e)=>{e(9169),e(3090),D.exports=e(3093).Array.from},964:(D,b,e)=>{e(8901),D.exports=e(3093).Array.isArray},8207:(D,b,e)=>{e(2464),D.exports=e(3093).Object.assign},5380:(D,b,e)=>{e(7660);var t=e(3093).Object;D.exports=function(o,r){return t.create(o,r)}},8058:(D,b,e)=>{e(9827),D.exports=e(3093).Object.entries},5297:(D,b,e)=>{e(5338),D.exports=e(3093).Object.keys},1900:(D,b,e)=>{e(9269),D.exports=e(3093).Object.setPrototypeOf},2837:(D,b,e)=>{e(3625),D.exports=e(3093).Object.values},6111:(D,b,e)=>{e(8785),D.exports=e(3093).parseInt},234:D=>{D.exports=function(b){if(typeof b!="function")throw TypeError(b+" is not a function!");return b}},9226:(D,b,e)=>{var t=e(4425);D.exports=function(n){if(!t(n))throw TypeError(n+" is not an object!");return n}},3206:(D,b,e)=>{var t=e(6303),n=e(5321),o=e(139);D.exports=function(r){return function(a,i,p){var d=t(a),M=n(d.length),O=o(p,M),z;if(r&&i!=i){for(;M>O;)if(z=d[O++],z!=z)return!0}else for(;M>O;O++)if((r||O in d)&&d[O]===i)return r||O||0;return!r&&-1}}},5158:(D,b,e)=>{var t=e(7489),n=e(3032)("toStringTag"),o=t(function(){return arguments}())=="Arguments",r=function(a,i){try{return a[i]}catch{}};D.exports=function(a){var i,p,d;return a===void 0?"Undefined":a===null?"Null":typeof(p=r(i=Object(a),n))=="string"?p:o?t(i):(d=t(i))=="Object"&&typeof i.callee=="function"?"Arguments":d}},7489:D=>{var b={}.toString;D.exports=function(e){return b.call(e).slice(8,-1)}},3093:D=>{var b=D.exports={version:"2.6.11"};typeof __e=="number"&&(__e=b)},101:(D,b,e)=>{"use strict";var t=e(6007),n=e(5831);D.exports=function(o,r,a){r in o?t.f(o,r,n(0,a)):o[r]=a}},1133:(D,b,e)=>{var t=e(234);D.exports=function(n,o,r){if(t(n),o===void 0)return n;switch(r){case 1:return function(a){return n.call(o,a)};case 2:return function(a,i){return n.call(o,a,i)};case 3:return function(a,i,p){return n.call(o,a,i,p)}}return function(){return n.apply(o,arguments)}}},9359:D=>{D.exports=function(b){if(b==null)throw TypeError("Can't call method on "+b);return b}},7305:(D,b,e)=>{D.exports=!e(4930)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},3299:(D,b,e)=>{var t=e(4425),n=e(3220).document,o=t(n)&&t(n.createElement);D.exports=function(r){return o?n.createElement(r):{}}},5834:D=>{D.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},4518:(D,b,e)=>{var t=e(3220),n=e(3093),o=e(1133),r=e(4379),a=e(3920),i="prototype",p=function(d,M,O){var z=d&p.F,m=d&p.G,f=d&p.S,l=d&p.P,s=d&p.B,c=d&p.W,u=m?n:n[M]||(n[M]={}),_=u[i],A=m?t:f?t[M]:(t[M]||{})[i],g,y,W;m&&(O=M);for(g in O)y=!z&&A&&A[g]!==void 0,!(y&&a(u,g))&&(W=y?A[g]:O[g],u[g]=m&&typeof A[g]!="function"?O[g]:s&&y?o(W,t):c&&A[g]==W?function(E){var T=function(q,S,I){if(this instanceof E){switch(arguments.length){case 0:return new E;case 1:return new E(q);case 2:return new E(q,S)}return new E(q,S,I)}return E.apply(this,arguments)};return T[i]=E[i],T}(W):l&&typeof W=="function"?o(Function.call,W):W,l&&((u.virtual||(u.virtual={}))[g]=W,d&p.R&&_&&!_[g]&&r(_,g,W)))};p.F=1,p.G=2,p.S=4,p.P=8,p.B=16,p.W=32,p.U=64,p.R=128,D.exports=p},4930:D=>{D.exports=function(b){try{return!!b()}catch{return!0}}},3220:D=>{var b=D.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=b)},3920:D=>{var b={}.hasOwnProperty;D.exports=function(e,t){return b.call(e,t)}},4379:(D,b,e)=>{var t=e(6007),n=e(5831);D.exports=e(7305)?function(o,r,a){return t.f(o,r,n(1,a))}:function(o,r,a){return o[r]=a,o}},7810:(D,b,e)=>{var t=e(3220).document;D.exports=t&&t.documentElement},7209:(D,b,e)=>{D.exports=!e(7305)&&!e(4930)(function(){return Object.defineProperty(e(3299)("div"),"a",{get:function(){return 7}}).a!=7})},5474:(D,b,e)=>{var t=e(7489);D.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return t(n)=="String"?n.split(""):Object(n)}},2566:(D,b,e)=>{var t=e(4502),n=e(3032)("iterator"),o=Array.prototype;D.exports=function(r){return r!==void 0&&(t.Array===r||o[n]===r)}},5730:(D,b,e)=>{var t=e(7489);D.exports=Array.isArray||function(o){return t(o)=="Array"}},4425:D=>{D.exports=function(b){return typeof b=="object"?b!==null:typeof b=="function"}},2441:(D,b,e)=>{var t=e(9226);D.exports=function(n,o,r,a){try{return a?o(t(r)[0],r[1]):o(r)}catch(p){var i=n.return;throw i!==void 0&&t(i.call(n)),p}}},5415:(D,b,e)=>{"use strict";var t=e(9270),n=e(5831),o=e(8182),r={};e(4379)(r,e(3032)("iterator"),function(){return this}),D.exports=function(a,i,p){a.prototype=t(r,{next:n(1,p)}),o(a,i+" Iterator")}},354:(D,b,e)=>{"use strict";var t=e(4436),n=e(4518),o=e(9763),r=e(4379),a=e(4502),i=e(5415),p=e(8182),d=e(5194),M=e(3032)("iterator"),O=!([].keys&&"next"in[].keys()),z="@@iterator",m="keys",f="values",l=function(){return this};D.exports=function(s,c,u,_,A,g,y){i(u,c,_);var W=function($){if(!O&&$ in S)return S[$];switch($){case m:return function(){return new u(this,$)};case f:return function(){return new u(this,$)}}return function(){return new u(this,$)}},E=c+" Iterator",T=A==f,q=!1,S=s.prototype,I=S[M]||S[z]||A&&S[A],x=I||W(A),j=A?T?W("entries"):x:void 0,N=c=="Array"&&S.entries||I,k,K,Y;if(N&&(Y=d(N.call(new s)),Y!==Object.prototype&&Y.next&&(p(Y,E,!0),!t&&typeof Y[M]!="function"&&r(Y,M,l))),T&&I&&I.name!==f&&(q=!0,x=function(){return I.call(this)}),(!t||y)&&(O||q||!S[M])&&r(S,M,x),a[c]=x,a[E]=l,A)if(k={values:T?x:W(f),keys:g?x:W(m),entries:j},y)for(K in k)K in S||o(S,K,k[K]);else n(n.P+n.F*(O||q),c,k);return k}},8661:(D,b,e)=>{var t=e(3032)("iterator"),n=!1;try{var o=[7][t]();o.return=function(){n=!0},Array.from(o,function(){throw 2})}catch{}D.exports=function(r,a){if(!a&&!n)return!1;var i=!1;try{var p=[7],d=p[t]();d.next=function(){return{done:i=!0}},p[t]=function(){return d},r(p)}catch{}return i}},4502:D=>{D.exports={}},4436:D=>{D.exports=!0},7382:(D,b,e)=>{"use strict";var t=e(7305),n=e(1304),o=e(8382),r=e(5066),a=e(4922),i=e(5474),p=Object.assign;D.exports=!p||e(4930)(function(){var d={},M={},O=Symbol(),z="abcdefghijklmnopqrst";return d[O]=7,z.split("").forEach(function(m){M[m]=m}),p({},d)[O]!=7||Object.keys(p({},M)).join("")!=z})?function(M,O){for(var z=a(M),m=arguments.length,f=1,l=o.f,s=r.f;m>f;)for(var c=i(arguments[f++]),u=l?n(c).concat(l(c)):n(c),_=u.length,A=0,g;_>A;)g=u[A++],(!t||s.call(c,g))&&(z[g]=c[g]);return z}:p},9270:(D,b,e)=>{var t=e(9226),n=e(6287),o=e(5834),r=e(2596)("IE_PROTO"),a=function(){},i="prototype",p=function(){var d=e(3299)("iframe"),M=o.length,O="<",z=">",m;for(d.style.display="none",e(7810).appendChild(d),d.src="javascript:",m=d.contentWindow.document,m.open(),m.write(O+"script"+z+"document.F=Object"+O+"/script"+z),m.close(),p=m.F;M--;)delete p[i][o[M]];return p()};D.exports=Object.create||function(M,O){var z;return M!==null?(a[i]=t(M),z=new a,a[i]=null,z[r]=M):z=p(),O===void 0?z:n(z,O)}},6007:(D,b,e)=>{var t=e(9226),n=e(7209),o=e(2548),r=Object.defineProperty;b.f=e(7305)?Object.defineProperty:function(i,p,d){if(t(i),p=o(p,!0),t(d),n)try{return r(i,p,d)}catch{}if("get"in d||"set"in d)throw TypeError("Accessors not supported!");return"value"in d&&(i[p]=d.value),i}},6287:(D,b,e)=>{var t=e(6007),n=e(9226),o=e(1304);D.exports=e(7305)?Object.defineProperties:function(a,i){n(a);for(var p=o(i),d=p.length,M=0,O;d>M;)t.f(a,O=p[M++],i[O]);return a}},826:(D,b,e)=>{var t=e(5066),n=e(5831),o=e(6303),r=e(2548),a=e(3920),i=e(7209),p=Object.getOwnPropertyDescriptor;b.f=e(7305)?p:function(M,O){if(M=o(M),O=r(O,!0),i)try{return p(M,O)}catch{}if(a(M,O))return n(!t.f.call(M,O),M[O])}},8382:(D,b)=>{b.f=Object.getOwnPropertySymbols},5194:(D,b,e)=>{var t=e(3920),n=e(4922),o=e(2596)("IE_PROTO"),r=Object.prototype;D.exports=Object.getPrototypeOf||function(a){return a=n(a),t(a,o)?a[o]:typeof a.constructor=="function"&&a instanceof a.constructor?a.constructor.prototype:a instanceof Object?r:null}},6567:(D,b,e)=>{var t=e(3920),n=e(6303),o=e(3206)(!1),r=e(2596)("IE_PROTO");D.exports=function(a,i){var p=n(a),d=0,M=[],O;for(O in p)O!=r&&t(p,O)&&M.push(O);for(;i.length>d;)t(p,O=i[d++])&&(~o(M,O)||M.push(O));return M}},1304:(D,b,e)=>{var t=e(6567),n=e(5834);D.exports=Object.keys||function(r){return t(r,n)}},5066:(D,b)=>{b.f={}.propertyIsEnumerable},874:(D,b,e)=>{var t=e(4518),n=e(3093),o=e(4930);D.exports=function(r,a){var i=(n.Object||{})[r]||Object[r],p={};p[r]=a(i),t(t.S+t.F*o(function(){i(1)}),"Object",p)}},572:(D,b,e)=>{var t=e(7305),n=e(1304),o=e(6303),r=e(5066).f;D.exports=function(a){return function(i){for(var p=o(i),d=n(p),M=d.length,O=0,z=[],m;M>O;)m=d[O++],(!t||r.call(p,m))&&z.push(a?[m,p[m]]:p[m]);return z}}},4049:(D,b,e)=>{var t=e(3220).parseInt,n=e(8685).trim,o=e(8917),r=/^[-+]?0[xX]/;D.exports=t(o+"08")!==8||t(o+"0x16")!==22?function(i,p){var d=n(String(i),3);return t(d,p>>>0||(r.test(d)?16:10))}:t},5831:D=>{D.exports=function(b,e){return{enumerable:!(b&1),configurable:!(b&2),writable:!(b&4),value:e}}},9763:(D,b,e)=>{D.exports=e(4379)},6573:(D,b,e)=>{var t=e(4425),n=e(9226),o=function(r,a){if(n(r),!t(a)&&a!==null)throw TypeError(a+": can't set as prototype!")};D.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(r,a,i){try{i=e(1133)(Function.call,e(826).f(Object.prototype,"__proto__").set,2),i(r,[]),a=!(r instanceof Array)}catch{a=!0}return function(d,M){return o(d,M),a?d.__proto__=M:i(d,M),d}}({},!1):void 0),check:o}},8182:(D,b,e)=>{var t=e(6007).f,n=e(3920),o=e(3032)("toStringTag");D.exports=function(r,a,i){r&&!n(r=i?r:r.prototype,o)&&t(r,o,{configurable:!0,value:a})}},2596:(D,b,e)=>{var t=e(5628)("keys"),n=e(6918);D.exports=function(o){return t[o]||(t[o]=n(o))}},5628:(D,b,e)=>{var t=e(3093),n=e(3220),o="__core-js_shared__",r=n[o]||(n[o]={});(D.exports=function(a,i){return r[a]||(r[a]=i!==void 0?i:{})})("versions",[]).push({version:t.version,mode:e(4436)?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},7268:(D,b,e)=>{var t=e(2579),n=e(9359);D.exports=function(o){return function(r,a){var i=String(n(r)),p=t(a),d=i.length,M,O;return p<0||p>=d?o?"":void 0:(M=i.charCodeAt(p),M<55296||M>56319||p+1===d||(O=i.charCodeAt(p+1))<56320||O>57343?o?i.charAt(p):M:o?i.slice(p,p+2):(M-55296<<10)+(O-56320)+65536)}}},8685:(D,b,e)=>{var t=e(4518),n=e(9359),o=e(4930),r=e(8917),a="["+r+"]",i="\u200B\x85",p=RegExp("^"+a+a+"*"),d=RegExp(a+a+"*$"),M=function(z,m,f){var l={},s=o(function(){return!!r[z]()||i[z]()!=i}),c=l[z]=s?m(O):r[z];f&&(l[f]=c),t(t.P+t.F*s,"String",l)},O=M.trim=function(z,m){return z=String(n(z)),m&1&&(z=z.replace(p,"")),m&2&&(z=z.replace(d,"")),z};D.exports=M},8917:D=>{D.exports=`
\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},139:(D,b,e)=>{var t=e(2579),n=Math.max,o=Math.min;D.exports=function(r,a){return r=t(r),r<0?n(r+a,0):o(r,a)}},2579:D=>{var b=Math.ceil,e=Math.floor;D.exports=function(t){return isNaN(t=+t)?0:(t>0?e:b)(t)}},6303:(D,b,e)=>{var t=e(5474),n=e(9359);D.exports=function(o){return t(n(o))}},5321:(D,b,e)=>{var t=e(2579),n=Math.min;D.exports=function(o){return o>0?n(t(o),9007199254740991):0}},4922:(D,b,e)=>{var t=e(9359);D.exports=function(n){return Object(t(n))}},2548:(D,b,e)=>{var t=e(4425);D.exports=function(n,o){if(!t(n))return n;var r,a;if(o&&typeof(r=n.toString)=="function"&&!t(a=r.call(n))||typeof(r=n.valueOf)=="function"&&!t(a=r.call(n))||!o&&typeof(r=n.toString)=="function"&&!t(a=r.call(n)))return a;throw TypeError("Can't convert object to primitive value")}},6918:D=>{var b=0,e=Math.random();D.exports=function(t){return"Symbol(".concat(t===void 0?"":t,")_",(++b+e).toString(36))}},3032:(D,b,e)=>{var t=e(5628)("wks"),n=e(6918),o=e(3220).Symbol,r=typeof o=="function",a=D.exports=function(i){return t[i]||(t[i]=r&&o[i]||(r?o:n)("Symbol."+i))};a.store=t},5816:(D,b,e)=>{var t=e(5158),n=e(3032)("iterator"),o=e(4502);D.exports=e(3093).getIteratorMethod=function(r){if(r!=null)return r[n]||r["@@iterator"]||o[t(r)]}},3090:(D,b,e)=>{"use strict";var t=e(1133),n=e(4518),o=e(4922),r=e(2441),a=e(2566),i=e(5321),p=e(101),d=e(5816);n(n.S+n.F*!e(8661)(function(M){Array.from(M)}),"Array",{from:function(O){var z=o(O),m=typeof this=="function"?this:Array,f=arguments.length,l=f>1?arguments[1]:void 0,s=l!==void 0,c=0,u=d(z),_,A,g,y;if(s&&(l=t(l,f>2?arguments[2]:void 0,2)),u!=null&&!(m==Array&&a(u)))for(y=u.call(z),A=new m;!(g=y.next()).done;c++)p(A,c,s?r(y,l,[g.value,c],!0):g.value);else for(_=i(z.length),A=new m(_);_>c;c++)p(A,c,s?l(z[c],c):z[c]);return A.length=c,A}})},8901:(D,b,e)=>{var t=e(4518);t(t.S,"Array",{isArray:e(5730)})},2464:(D,b,e)=>{var t=e(4518);t(t.S+t.F,"Object",{assign:e(7382)})},7660:(D,b,e)=>{var t=e(4518);t(t.S,"Object",{create:e(9270)})},5338:(D,b,e)=>{var t=e(4922),n=e(1304);e(874)("keys",function(){return function(r){return n(t(r))}})},9269:(D,b,e)=>{var t=e(4518);t(t.S,"Object",{setPrototypeOf:e(6573).set})},8785:(D,b,e)=>{var t=e(4518),n=e(4049);t(t.G+t.F*(parseInt!=n),{parseInt:n})},9169:(D,b,e)=>{"use strict";var t=e(7268)(!0);e(354)(String,"String",function(n){this._t=String(n),this._i=0},function(){var n=this._t,o=this._i,r;return o>=n.length?{value:void 0,done:!0}:(r=t(n,o),this._i+=r.length,{value:r,done:!1})})},9827:(D,b,e)=>{var t=e(4518),n=e(572)(!0);t(t.S,"Object",{entries:function(r){return n(r)}})},3625:(D,b,e)=>{var t=e(4518),n=e(572)(!1);t(t.S,"Object",{values:function(r){return n(r)}})},4697:(D,b,e)=>{"use strict";e.d(b,{Z:()=>W});var t=e(1526),n=e(913),o=e(34),r=e(42),a=function(T,q,S){for(var I=0,x=0;I=x,x=(0,n.fj)(),I===38&&x===12&&(q[S]=1),!(0,n.r)(x);)(0,n.lp)();return(0,n.tP)(T,n.FK)},i=function(T,q){var S=-1,I=44;do switch((0,n.r)(I)){case 0:I===38&&(0,n.fj)()===12&&(q[S]=1),T[S]+=a(n.FK-1,q,S);break;case 2:T[S]+=(0,n.iF)(I);break;case 4:if(I===44){T[++S]=(0,n.fj)()===58?"&\f":"",q[S]=T[S].length;break}default:T[S]+=(0,n.Dp)(I)}while(I=(0,n.lp)());return T},p=function(T,q){return(0,n.cE)(i((0,n.un)(T),q))},d=new WeakMap,M=function(T){if(!(T.type!=="rule"||!T.parent||T.length<1)){for(var q=T.value,S=T.parent,I=T.column===S.column&&T.line===S.line;S.type!=="rule";)if(S=S.parent,!S)return;if(!(T.props.length===1&&q.charCodeAt(0)!==58&&!d.get(S))&&!I){d.set(T,!0);for(var x=[],j=p(q,x),N=S.props,k=0,K=0;k-1},f=function(T){return function(q,S,I){if(!(q.type!=="rule"||T.compat)){var x=q.value.match(/(:first|:nth|:nth-last)-child/g);if(x){for(var j=!!q.parent,N=j?q.parent.children:I,k=N.length-1;k>=0;k--){var K=N[k];if(K.line=0;S--)if(!l(q[S]))return!0;return!1},c=function(T){T.type="",T.value="",T.return="",T.children="",T.props=""},u=function(T,q,S){l(T)&&(T.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),c(T)):s(q,S)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),c(T)))};function _(E,T){switch((0,n.vp)(E,T)){case 5103:return n.G$+"print-"+E+E;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return n.G$+E+E;case 5349:case 4246:case 4810:case 6968:case 2756:return n.G$+E+n.uj+E+n.MS+E+E;case 6828:case 4268:return n.G$+E+n.MS+E+E;case 6165:return n.G$+E+n.MS+"flex-"+E+E;case 5187:return n.G$+E+(0,n.gx)(E,/(\w+).+(:[^]+)/,n.G$+"box-$1$2"+n.MS+"flex-$1$2")+E;case 5443:return n.G$+E+n.MS+"flex-item-"+(0,n.gx)(E,/flex-|-self/,"")+E;case 4675:return n.G$+E+n.MS+"flex-line-pack"+(0,n.gx)(E,/align-content|flex-|-self/,"")+E;case 5548:return n.G$+E+n.MS+(0,n.gx)(E,"shrink","negative")+E;case 5292:return n.G$+E+n.MS+(0,n.gx)(E,"basis","preferred-size")+E;case 6060:return n.G$+"box-"+(0,n.gx)(E,"-grow","")+n.G$+E+n.MS+(0,n.gx)(E,"grow","positive")+E;case 4554:return n.G$+(0,n.gx)(E,/([^-])(transform)/g,"$1"+n.G$+"$2")+E;case 6187:return(0,n.gx)((0,n.gx)((0,n.gx)(E,/(zoom-|grab)/,n.G$+"$1"),/(image-set)/,n.G$+"$1"),E,"")+E;case 5495:case 3959:return(0,n.gx)(E,/(image-set\([^]*)/,n.G$+"$1$`$1");case 4968:return(0,n.gx)((0,n.gx)(E,/(.+:)(flex-)?(.*)/,n.G$+"box-pack:$3"+n.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+n.G$+E+E;case 4095:case 3583:case 4068:case 2532:return(0,n.gx)(E,/(.+)-inline(.+)/,n.G$+"$1$2")+E;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,n.to)(E)-1-T>6)switch((0,n.uO)(E,T+1)){case 109:if((0,n.uO)(E,T+4)!==45)break;case 102:return(0,n.gx)(E,/(.+:)(.+)-([^]+)/,"$1"+n.G$+"$2-$3$1"+n.uj+((0,n.uO)(E,T+3)==108?"$3":"$2-$3"))+E;case 115:return~(0,n.Cw)(E,"stretch")?_((0,n.gx)(E,"stretch","fill-available"),T)+E:E}break;case 4949:if((0,n.uO)(E,T+1)!==115)break;case 6444:switch((0,n.uO)(E,(0,n.to)(E)-3-(~(0,n.Cw)(E,"!important")&&10))){case 107:return(0,n.gx)(E,":",":"+n.G$)+E;case 101:return(0,n.gx)(E,/(.+:)([^;!]+)(;|!.+)?/,"$1"+n.G$+((0,n.uO)(E,14)===45?"inline-":"")+"box$3$1"+n.G$+"$2$3$1"+n.MS+"$2box$3")+E}break;case 5936:switch((0,n.uO)(E,T+11)){case 114:return n.G$+E+n.MS+(0,n.gx)(E,/[svh]\w+-[tblr]{2}/,"tb")+E;case 108:return n.G$+E+n.MS+(0,n.gx)(E,/[svh]\w+-[tblr]{2}/,"tb-rl")+E;case 45:return n.G$+E+n.MS+(0,n.gx)(E,/[svh]\w+-[tblr]{2}/,"lr")+E}return n.G$+E+n.MS+E+E}return E}var A=function(T,q,S,I){if(T.length>-1&&!T.return)switch(T.type){case n.h5:T.return=_(T.value,T.length);break;case n.lK:return(0,n.qC)([(0,n.JG)(T,{value:(0,n.gx)(T.value,"@","@"+n.G$)})],I);case n.Fr:if(T.length)return(0,n.$e)(T.props,function(x){switch((0,n.EQ)(x,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,n.qC)([(0,n.JG)(T,{props:[(0,n.gx)(x,/:(read-\w+)/,":"+n.uj+"$1")]})],I);case"::placeholder":return(0,n.qC)([(0,n.JG)(T,{props:[(0,n.gx)(x,/:(plac\w+)/,":"+n.G$+"input-$1")]}),(0,n.JG)(T,{props:[(0,n.gx)(x,/:(plac\w+)/,":"+n.uj+"$1")]}),(0,n.JG)(T,{props:[(0,n.gx)(x,/:(plac\w+)/,n.MS+"input-$1")]})],I)}return""})}},g=[A],y=function(T){var q=T.key;if(q==="css"){var S=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(S,function(t0){var J=t0.getAttribute("data-emotion");J.indexOf(" ")!==-1&&(document.head.appendChild(t0),t0.setAttribute("data-s",""))})}var I=T.stylisPlugins||g,x={},j,N=[];j=T.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+q+' "]'),function(t0){for(var J=t0.getAttribute("data-emotion").split(" "),a0=1;a0{"use strict";e.d(b,{Z:()=>n});function t(o){for(var r=0,a,i=0,p=o.length;p>=4;++i,p-=4)a=o.charCodeAt(i)&255|(o.charCodeAt(++i)&255)<<8|(o.charCodeAt(++i)&255)<<16|(o.charCodeAt(++i)&255)<<24,a=(a&65535)*1540483477+((a>>>16)*59797<<16),a^=a>>>24,r=(a&65535)*1540483477+((a>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(p){case 3:r^=(o.charCodeAt(i+2)&255)<<16;case 2:r^=(o.charCodeAt(i+1)&255)<<8;case 1:r^=o.charCodeAt(i)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}const n=t},68:(D,b,e)=>{"use strict";var t=e(992),n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=null},992:(D,b,e)=>{"use strict";function t(n){var o=Object.create(null);return function(r){return o[r]===void 0&&(o[r]=n(r)),o[r]}}},42:(D,b,e)=>{"use strict";e.d(b,{Z:()=>n});function t(o){var r=Object.create(null);return function(a){return r[a]===void 0&&(r[a]=o(a)),r[a]}}const n=t},865:(D,b,e)=>{"use strict";e.d(b,{Z:()=>r});var t=e(8679),n=e.n(t),o=function(a,i){return n()(a,i)};const r=o},443:(D,b,e)=>{"use strict";e.d(b,{C:()=>z,E:()=>j,T:()=>l,_:()=>m,a:()=>_,b:()=>A,c:()=>I,h:()=>M,u:()=>s,w:()=>f});var t=e(7294),n=e(4697),o=e(7462),r=e(34),a=e(865),i=e(444),p=e(302),d=e(278),M={}.hasOwnProperty,O=(0,t.createContext)(typeof HTMLElement<"u"?(0,n.Z)({key:"css"}):null),z=O.Provider,m=function(){return(0,t.useContext)(O)},f=function(k){return(0,t.forwardRef)(function(K,Y){var $=(0,t.useContext)(O);return k(K,$,Y)})},l=(0,t.createContext)({}),s=function(){return(0,t.useContext)(l)},c=function(k,K){if(typeof K=="function"){var Y=K(k);return Y}return(0,o.Z)({},k,K)},u=(0,r.Z)(function(N){return(0,r.Z)(function(k){return c(N,k)})}),_=function(k){var K=(0,t.useContext)(l);return k.theme!==K&&(K=u(K)(k.theme)),(0,t.createElement)(l.Provider,{value:K},k.children)};function A(N){var k=N.displayName||N.name||"Component",K=function(u0,n0){var i0=(0,t.useContext)(l);return(0,t.createElement)(N,(0,o.Z)({theme:i0,ref:n0},u0))},Y=(0,t.forwardRef)(K);return Y.displayName="WithTheme("+k+")",(0,a.Z)(Y,N)}var g=function(k){var K=k.split(".");return K[K.length-1]},y=function(k){var K=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(k);if(K||(K=/^([A-Za-z0-9$.]+)@/.exec(k),K))return g(K[1])},W=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),E=function(k){return k.replace(/\$/g,"-")},T=function(k){if(k)for(var K=k.split(`
`),Y=0;Y{"use strict";e.r(b),e.d(b,{CacheProvider:()=>o.C,ClassNames:()=>y,Global:()=>s,ThemeContext:()=>o.T,ThemeProvider:()=>o.a,__unsafe_useEmotionCache:()=>o._,createElement:()=>f,css:()=>c,jsx:()=>f,keyframes:()=>u,useTheme:()=>o.u,withEmotionCache:()=>o.w,withTheme:()=>o.b});var t=e(7294),n=e(4697),o=e(443),r=e(7462),a=e(34),i=e(8679),p=e.n(i),d=e(865),M=e(444),O=e(302),z=e(278),m={name:"@emotion/react",version:"11.10.8",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":"./macro.js"},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.js","macro.d.ts","macro.js.flow"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.10.8","@emotion/cache":"^11.10.8","@emotion/serialize":"^1.1.1","@emotion/use-insertion-effect-with-fallbacks":"^1.0.0","@emotion/utils":"^1.2.0","@emotion/weak-memoize":"^0.3.0","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.10.8","@emotion/css-prettifier":"1.1.2","@emotion/server":"11.10.0","@emotion/styled":"11.10.8","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":"./macro.js"}}}},f=function(I,x){var j=arguments;if(x==null||!o.h.call(x,"css"))return t.createElement.apply(void 0,j);var N=j.length,k=new Array(N);k[0]=o.E,k[1]=(0,o.c)(I,x);for(var K=2;K{"use strict";e.d(b,{O:()=>T});var t=e(292),n=e(371),o=e(42),r=`You have illegal escape sequence in your template literal, most likely inside content's property value.
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
You can read more about this here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,a="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",i=/[A-Z]|^ms/g,p=/_EMO_([^_]+?)_([^]*?)_EMO_/g,d=function(S){return S.charCodeAt(1)===45},M=function(S){return S!=null&&typeof S!="boolean"},O=(0,o.Z)(function(q){return d(q)?q:q.replace(i,"-$&").toLowerCase()}),z=function(S,I){switch(S){case"animation":case"animationName":if(typeof I=="string")return I.replace(p,function(x,j,N){return E={name:j,styles:N,next:E},j})}return n.Z[S]!==1&&!d(S)&&typeof I=="number"&&I!==0?I+"px":I};if(!1)var m,f,l,s,c,u;var _=null;function A(q,S,I){if(I==null)return"";if(I.__emotion_styles!==void 0)return I;switch(typeof I){case"boolean":return"";case"object":{if(I.anim===1)return E={name:I.name,styles:I.styles,next:E},I.name;if(I.styles!==void 0){var x=I.next;if(x!==void 0)for(;x!==void 0;)E={name:x.name,styles:x.styles,next:E},x=x.next;var j=I.styles+";";return j}return g(q,S,I)}case"function":{if(q!==void 0){var N=E,k=I(q);return E=N,A(q,S,k)}break}case"string":if(!1)var K,Y;break}if(S==null)return I;var $=S[I];return $!==void 0?$:I}function g(q,S,I){var x="";if(Array.isArray(I))for(var j=0;j{"use strict";e.d(b,{m:()=>o});function t(r){if(r.sheet)return r.sheet;for(var a=0;a{"use strict";e.d(b,{Z:()=>n});var t={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};const n=t},278:(D,b,e)=>{"use strict";var t;e.d(b,{L:()=>a,j:()=>i});var n=e(7294),o=function(d){return d()},r=(t||(t=e.t(n,2)))["useInsertionEffect"]?(t||(t=e.t(n,2)))["useInsertionEffect"]:!1,a=r||o,i=r||n.useLayoutEffect},444:(D,b,e)=>{"use strict";e.d(b,{My:()=>r,fp:()=>n,hC:()=>o});var t=!0;function n(a,i,p){var d="";return p.split(" ").forEach(function(M){a[M]!==void 0?i.push(a[M]+";"):d+=M+" "}),d}var o=function(i,p,d){var M=i.key+"-"+p.name;(d===!1||t===!1)&&i.registered[M]===void 0&&(i.registered[M]=p.styles)},r=function(i,p,d){o(i,p,d);var M=i.key+"-"+p.name;if(i.inserted[p.name]===void 0){var O=p;do{var z=i.insert(p===O?"."+M:"",O,i.sheet,!0);O=O.next}while(O!==void 0)}}},34:(D,b,e)=>{"use strict";e.d(b,{Z:()=>n});var t=function(r){var a=new WeakMap;return function(i){if(a.has(i))return a.get(i);var p=r(i);return a.set(i,p),p}};const n=t},58463:(D,b,e)=>{"use strict";e.d(b,{Kx:()=>t.Kx,Me:()=>t.Me,Qo:()=>t.Qo,RR:()=>t.RR,YF:()=>d,cv:()=>t.cv,dp:()=>t.dp,dr:()=>t.dr,uY:()=>t.uY,x7:()=>r});var t=e(55863),n=e(7294),o=e(3935);const r=M=>{const{element:O,padding:z}=M;function m(f){return Object.prototype.hasOwnProperty.call(f,"current")}return{name:"arrow",options:M,fn(f){return m(O)?O.current!=null?(0,t.x7)({element:O.current,padding:z}).fn(f):{}:O?(0,t.x7)({element:O,padding:z}).fn(f):{}}}};var a=typeof document<"u"?n.useLayoutEffect:n.useEffect;function i(M,O){if(M===O)return!0;if(typeof M!=typeof O)return!1;if(typeof M=="function"&&M.toString()===O.toString())return!0;let z,m,f;if(M&&O&&typeof M=="object"){if(Array.isArray(M)){if(z=M.length,z!=O.length)return!1;for(m=z;m--!==0;)if(!i(M[m],O[m]))return!1;return!0}if(f=Object.keys(M),z=f.length,z!==Object.keys(O).length)return!1;for(m=z;m--!==0;)if(!Object.prototype.hasOwnProperty.call(O,f[m]))return!1;for(m=z;m--!==0;){const l=f[m];if(!(l==="_owner"&&M.$$typeof)&&!i(M[l],O[l]))return!1}return!0}return M!==M&&O!==O}function p(M){const O=n.useRef(M);return a(()=>{O.current=M}),O}function d(M){M===void 0&&(M={});const{placement:O="bottom",strategy:z="absolute",middleware:m=[],platform:f,whileElementsMounted:l,open:s}=M,[c,u]=n.useState({x:null,y:null,strategy:z,placement:O,middlewareData:{},isPositioned:!1}),[_,A]=n.useState(m);i(_,m)||A(m);const g=n.useRef(null),y=n.useRef(null),W=n.useRef(c),E=p(l),T=p(f),[q,S]=n.useState(null),[I,x]=n.useState(null),j=n.useCallback(u0=>{g.current!==u0&&(g.current=u0,S(u0))},[]),N=n.useCallback(u0=>{y.current!==u0&&(y.current=u0,x(u0))},[]),k=n.useCallback(()=>{if(!g.current||!y.current)return;const u0={placement:O,strategy:z,middleware:_};T.current&&(u0.platform=T.current),(0,t.oo)(g.current,y.current,u0).then(n0=>{const i0={...n0,isPositioned:!0};K.current&&!i(W.current,i0)&&(W.current=i0,o.flushSync(()=>{u(i0)}))})},[_,O,z,T]);a(()=>{s===!1&&W.current.isPositioned&&(W.current.isPositioned=!1,u(u0=>({...u0,isPositioned:!1})))},[s]);const K=n.useRef(!1);a(()=>(K.current=!0,()=>{K.current=!1}),[]),a(()=>{if(q&&I){if(E.current)return E.current(q,I,k);k()}},[q,I,k,E]);const Y=n.useMemo(()=>({reference:g,floating:y,setReference:j,setFloating:N}),[j,N]),$=n.useMemo(()=>({reference:q,floating:I}),[q,I]);return n.useMemo(()=>({...c,update:k,refs:Y,elements:$,reference:j,floating:N}),[c,k,Y,$,j,N])}},94993:(D,b,e)=>{"use strict";var t;e.d(b,{KK:()=>De,Kx:()=>i.Kx,Me:()=>i.Me,NI:()=>zn,Qo:()=>i.Qo,Qu:()=>b0,RR:()=>i.RR,XI:()=>i0,YF:()=>ot,bQ:()=>Re,cv:()=>i.cv,dp:()=>i.dp,dr:()=>i.dr,e0:()=>a0,qs:()=>Wn,tj:()=>J,uY:()=>i.uY,x7:()=>i.x7});var n=e(7294),o=e(23541),r=e(88388),a=e(3935),i=e(58463),p=typeof document<"u"?n.useLayoutEffect:n.useEffect;let d=!1,M=0;const O=()=>"floating-ui-"+M++;function z(){const[$0,l0]=n.useState(()=>d?O():void 0);return p(()=>{$0==null&&l0(O())},[]),n.useEffect(()=>{d||(d=!0)},[]),$0}const f=(t||(t=e.t(n,2)))["useId".toString()]||z;function l(){const $0=new Map;return{emit(l0,Z){var Q;(Q=$0.get(l0))==null||Q.forEach(V=>V(Z))},on(l0,Z){$0.set(l0,[...$0.get(l0)||[],Z])},off(l0,Z){$0.set(l0,($0.get(l0)||[]).filter(Q=>Q!==Z))}}}const s=n.createContext(null),c=n.createContext(null),u=()=>{var $0;return(($0=n.useContext(s))==null?void 0:$0.id)||null},_=()=>n.useContext(c),A=$0=>{const l0=f(),Z=_(),Q=u(),V=$0||Q;return p(()=>{const r0={id:l0,parentId:V};return Z==null||Z.addNode(r0),()=>{Z==null||Z.removeNode(r0)}},[Z,l0,V]),l0},g=$0=>{let{children:l0,id:Z}=$0;const Q=u();return React.createElement(s.Provider,{value:React.useMemo(()=>({id:Z,parentId:Q}),[Z,Q])},l0)},y=$0=>{let{children:l0}=$0;const Z=React.useRef([]),Q=React.useCallback(z0=>{Z.current=[...Z.current,z0]},[]),V=React.useCallback(z0=>{Z.current=Z.current.filter(W0=>W0!==z0)},[]),r0=React.useState(()=>l())[0];return React.createElement(c.Provider,{value:React.useMemo(()=>({nodesRef:Z,addNode:Q,removeNode:V,events:r0}),[Z,Q,V,r0])},l0)};function W($0){return($0==null?void 0:$0.ownerDocument)||document}function E(){const $0=navigator.userAgentData;return $0!=null&&$0.platform?$0.platform:navigator.platform}function T(){const $0=navigator.userAgentData;return $0&&Array.isArray($0.brands)?$0.brands.map(l0=>{let{brand:Z,version:Q}=l0;return Z+"/"+Q}).join(" "):navigator.userAgent}function q($0){return W($0).defaultView||window}function S($0){return $0?$0 instanceof q($0).Element:!1}function I($0){return $0?$0 instanceof q($0).HTMLElement:!1}function x($0){if(typeof ShadowRoot>"u")return!1;const l0=q($0).ShadowRoot;return $0 instanceof l0||$0 instanceof ShadowRoot}function j($0){if($0.mozInputSource===0&&$0.isTrusted)return!0;const l0=/Android/i;return(l0.test(E())||l0.test(T()))&&$0.pointerType?$0.type==="click"&&$0.buttons===1:$0.detail===0&&!$0.pointerType}function N($0){return $0.width===0&&$0.height===0||$0.width===1&&$0.height===1&&$0.pressure===0&&$0.detail===0&&$0.pointerType!=="mouse"||$0.width<1&&$0.height<1&&$0.pressure===0&&$0.detail===0}function k(){return/apple/i.test(navigator.vendor)}function K(){return E().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function Y($0,l0){const Z=["mouse","pen"];return l0||Z.push("",void 0),Z.includes($0)}function $($0){const l0=(0,n.useRef)($0);return p(()=>{l0.current=$0}),l0}const u0="data-floating-ui-safe-polygon";function n0($0,l0,Z){return Z&&!Y(Z)?0:typeof $0=="number"?$0:$0==null?void 0:$0[l0]}const i0=function($0,l0){let{enabled:Z=!0,delay:Q=0,handleClose:V=null,mouseOnly:r0=!1,restMs:z0=0,move:W0=!0}=l0===void 0?{}:l0;const{open:S0,onOpenChange:F0,dataRef:G0,events:d1,elements:{domReference:b1,floating:g1},refs:L1}=$0,p1=_(),I1=u(),D1=$(V),Me=$(Q),se=n.useRef(),fe=n.useRef(),c1=n.useRef(),ze=n.useRef(),Ve=n.useRef(!0),F1=n.useRef(!1),be=n.useRef(()=>{}),ne=n.useCallback(()=>{var We;const Ue=(We=G0.current.openEvent)==null?void 0:We.type;return(Ue==null?void 0:Ue.includes("mouse"))&&Ue!=="mousedown"},[G0]);n.useEffect(()=>{if(!Z)return;function We(){clearTimeout(fe.current),clearTimeout(ze.current),Ve.current=!0}return d1.on("dismiss",We),()=>{d1.off("dismiss",We)}},[Z,d1]),n.useEffect(()=>{if(!Z||!D1.current||!S0)return;function We(){ne()&&F0(!1)}const Ue=W(g1).documentElement;return Ue.addEventListener("mouseleave",We),()=>{Ue.removeEventListener("mouseleave",We)}},[g1,S0,F0,Z,D1,G0,ne]);const R1=n.useCallback(function(We){We===void 0&&(We=!0);const Ue=n0(Me.current,"close",se.current);Ue&&!c1.current?(clearTimeout(fe.current),fe.current=setTimeout(()=>F0(!1),Ue)):We&&(clearTimeout(fe.current),F0(!1))},[Me,F0]),Se=n.useCallback(()=>{be.current(),c1.current=void 0},[]),Ie=n.useCallback(()=>{if(F1.current){const We=W(L1.floating.current).body;We.style.pointerEvents="",We.removeAttribute(u0),F1.current=!1}},[L1]);return n.useEffect(()=>{if(!Z)return;function We(){return G0.current.openEvent?["click","mousedown"].includes(G0.current.openEvent.type):!1}function Ue(Te){if(clearTimeout(fe.current),Ve.current=!1,r0&&!Y(se.current)||z0>0&&n0(Me.current,"open")===0)return;G0.current.openEvent=Te;const Xe=n0(Me.current,"open",se.current);Xe?fe.current=setTimeout(()=>{F0(!0)},Xe):F0(!0)}function Ze(Te){if(We())return;be.current();const Xe=W(g1);if(clearTimeout(ze.current),D1.current){S0||clearTimeout(fe.current),c1.current=D1.current({...$0,tree:p1,x:Te.clientX,y:Te.clientY,onClose(){Ie(),Se(),R1()}});const _e=c1.current;Xe.addEventListener("mousemove",_e),be.current=()=>{Xe.removeEventListener("mousemove",_e)};return}R1()}function xt(Te){We()||D1.current==null||D1.current({...$0,tree:p1,x:Te.clientX,y:Te.clientY,onClose(){Ie(),Se(),R1()}})(Te)}if(S(b1)){const Te=b1;return S0&&Te.addEventListener("mouseleave",xt),g1==null||g1.addEventListener("mouseleave",xt),W0&&Te.addEventListener("mousemove",Ue,{once:!0}),Te.addEventListener("mouseenter",Ue),Te.addEventListener("mouseleave",Ze),()=>{S0&&Te.removeEventListener("mouseleave",xt),g1==null||g1.removeEventListener("mouseleave",xt),W0&&Te.removeEventListener("mousemove",Ue),Te.removeEventListener("mouseenter",Ue),Te.removeEventListener("mouseleave",Ze)}}},[b1,g1,Z,$0,r0,z0,W0,R1,Se,Ie,F0,S0,p1,Me,D1,G0]),p(()=>{var We;if(Z&&S0&&(We=D1.current)!=null&&We.__options.blockPointerEvents&&ne()){const xt=W(g1).body;if(xt.setAttribute(u0,""),xt.style.pointerEvents="none",F1.current=!0,S(b1)&&g1){var Ue,Ze;const Te=b1,Xe=p1==null||(Ue=p1.nodesRef.current.find(_e=>_e.id===I1))==null||(Ze=Ue.context)==null?void 0:Ze.elements.floating;return Xe&&(Xe.style.pointerEvents=""),Te.style.pointerEvents="auto",g1.style.pointerEvents="auto",()=>{Te.style.pointerEvents="",g1.style.pointerEvents=""}}}},[Z,S0,I1,g1,b1,p1,D1,G0,ne]),p(()=>{S0||(se.current=void 0,Se(),Ie())},[S0,Se,Ie]),n.useEffect(()=>()=>{Se(),clearTimeout(fe.current),clearTimeout(ze.current),Ie()},[Z,Se,Ie]),n.useMemo(()=>{if(!Z)return{};function We(Ue){se.current=Ue.pointerType}return{reference:{onPointerDown:We,onPointerEnter:We,onMouseMove(){S0||z0===0||(clearTimeout(ze.current),ze.current=setTimeout(()=>{Ve.current||F0(!0)},z0))}},floating:{onMouseEnter(){clearTimeout(fe.current)},onMouseLeave(){d1.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),R1(!1)}}}},[d1,Z,z0,S0,F0,R1])},t0=n.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:()=>{},setState:()=>{},isInstantPhase:!1}),J=()=>n.useContext(t0),a0=$0=>{let{children:l0,delay:Z,timeoutMs:Q=0}=$0;const[V,r0]=n.useReducer((S0,F0)=>({...S0,...F0}),{delay:Z,timeoutMs:Q,initialDelay:Z,currentId:null,isInstantPhase:!1}),z0=n.useRef(null),W0=n.useCallback(S0=>{r0({currentId:S0})},[]);return p(()=>{V.currentId?z0.current===null?z0.current=V.currentId:r0({isInstantPhase:!0}):(r0({isInstantPhase:!1}),z0.current=null)},[V.currentId]),n.createElement(t0.Provider,{value:n.useMemo(()=>({...V,setState:r0,setCurrentId:W0}),[V,r0,W0])},l0)},b0=($0,l0)=>{let{open:Z,onOpenChange:Q}=$0,{id:V}=l0;const{currentId:r0,setCurrentId:z0,initialDelay:W0,setState:S0,timeoutMs:F0}=J();n.useEffect(()=>{r0&&(S0({delay:{open:1,close:n0(W0,"close")}}),r0!==V&&Q(!1))},[V,Q,S0,r0,W0]),n.useEffect(()=>{function G0(){Q(!1),S0({delay:W0,currentId:null})}if(!Z&&r0===V)if(F0){const d1=window.setTimeout(G0,F0);return()=>{clearTimeout(d1)}}else G0()},[Z,S0,r0,V,Q,W0,F0]),n.useEffect(()=>{Z&&z0(V)},[Z,z0,V])};function d0(){return d0=Object.assign||function($0){for(var l0=1;l0$0==null?void 0:$0.focus({preventScroll:Z});V?r0():h0=requestAnimationFrame(r0)}function w0($0,l0){var Z;let Q=[],V=(Z=$0.find(r0=>r0.id===l0))==null?void 0:Z.parentId;for(;V;){const r0=$0.find(z0=>z0.id===V);V=r0==null?void 0:r0.parentId,r0&&(Q=Q.concat(r0))}return Q}function Z0($0,l0){let Z=$0.filter(V=>{var r0;return V.parentId===l0&&((r0=V.context)==null?void 0:r0.open)})||[],Q=Z;for(;Q.length;)Q=$0.filter(V=>{var r0;return(r0=Q)==null?void 0:r0.some(z0=>{var W0;return V.parentId===z0.id&&((W0=V.context)==null?void 0:W0.open)})})||[],Z=Z.concat(Q);return Z}function Y0($0){return"composedPath"in $0?$0.composedPath()[0]:$0.target}const J0=null;function g0($0){return I($0)&&$0.matches(J0)}function B0($0){$0.preventDefault(),$0.stopPropagation()}const E0=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function K0($0,l0){const Z=tabbable($0,E0());l0==="prev"&&Z.reverse();const Q=Z.indexOf(O0(W($0)));return Z.slice(Q+1)[0]}function j0(){return K0(document.body,"next")}function n1(){return K0(document.body,"prev")}function r1($0,l0){const Z=l0||$0.currentTarget,Q=$0.relatedTarget;return!Q||!_0(Z,Q)}function s1($0){tabbable($0,E0()).forEach(Z=>{Z.dataset.tabindex=Z.getAttribute("tabindex")||"",Z.setAttribute("tabindex","-1")})}function O1($0){$0.querySelectorAll("[data-tabindex]").forEach(Z=>{const Q=Z.dataset.tabindex;delete Z.dataset.tabindex,Q?Z.setAttribute("tabindex",Q):Z.removeAttribute("tabindex")})}const v1=(t||(t=e.t(n,2)))["useInsertionEffect".toString()]||($0=>$0());function C1($0){const l0=n.useRef(()=>{});return v1(()=>{l0.current=$0}),n.useCallback(function(){for(var Z=arguments.length,Q=new Array(Z),V=0;V{if(!Z)return;const W0=l0?document.getElementById(l0):null;if(W0)W0.setAttribute("data-floating-ui-portal",""),V(W0);else{const S0=document.createElement("div");l0!==""&&(S0.id=l0||r0),S0.setAttribute("data-floating-ui-portal",""),V(S0);const F0=(z0==null?void 0:z0.portalNode)||document.body;return F0.appendChild(S0),()=>{F0.removeChild(S0)}}},[l0,z0,r0,Z]),Q},V0=$0=>{let{children:l0,id:Z,root:Q=null,preserveTabOrder:V=!0}=$0;const r0=U0({id:Z,enabled:!Q}),[z0,W0]=React.useState(null),S0=React.useRef(null),F0=React.useRef(null),G0=React.useRef(null),d1=React.useRef(null),b1=!!z0&&!z0.modal&&!!(Q||r0)&&V;return React.useEffect(()=>{if(!r0||!V||z0!=null&&z0.modal)return;function g1(L1){r0&&r1(L1)&&(L1.type==="focusin"?O1:s1)(r0)}return r0.addEventListener("focusin",g1,!0),r0.addEventListener("focusout",g1,!0),()=>{r0.removeEventListener("focusin",g1,!0),r0.removeEventListener("focusout",g1,!0)}},[r0,V,z0==null?void 0:z0.modal]),React.createElement(C0.Provider,{value:React.useMemo(()=>({preserveTabOrder:V,beforeOutsideRef:S0,afterOutsideRef:F0,beforeInsideRef:G0,afterInsideRef:d1,portalNode:r0,setFocusManagerState:W0}),[V,r0])},b1&&r0&&React.createElement(y0,{"data-type":"outside",ref:S0,onFocus:g1=>{if(r1(g1,r0)){var L1;(L1=G0.current)==null||L1.focus()}else{const p1=n1()||(z0==null?void 0:z0.refs.domReference.current);p1==null||p1.focus()}}}),b1&&r0&&React.createElement("span",{"aria-owns":r0.id,style:E1}),Q?createPortal(l0,Q):r0?createPortal(l0,r0):null,b1&&r0&&React.createElement(y0,{"data-type":"outside",ref:F0,onFocus:g1=>{if(r1(g1,r0)){var L1;(L1=d1.current)==null||L1.focus()}else{const p1=j0()||(z0==null?void 0:z0.refs.domReference.current);p1==null||p1.focus(),z0!=null&&z0.closeOnFocusOut&&(z0==null||z0.onOpenChange(!1))}}}))},z1=()=>React.useContext(C0),P1=null;function X0($0){let{context:l0,children:Z,order:Q=["content"],guards:V=!0,initialFocus:r0=0,returnFocus:z0=!0,modal:W0=!0,visuallyHiddenDismiss:S0=!1,closeOnFocusOut:F0=!0}=$0;const{refs:G0,nodeId:d1,onOpenChange:b1,events:g1,dataRef:L1,elements:{domReference:p1,floating:I1}}=l0,D1=$(Q),Me=_(),se=z1(),[fe,c1]=React.useState(null),ze=typeof r0=="number"&&r0<0,Ve=React.useRef(null),F1=React.useRef(null),be=React.useRef(!1),ne=React.useRef(null),R1=React.useRef(!1),Se=se!=null,Ie=p1&&p1.getAttribute("role")==="combobox"&&g0(p1),We=React.useCallback(function(Te){return Te===void 0&&(Te=I1),Te?tabbable(Te,E0()):[]},[I1]),Ue=React.useCallback(Te=>{const Xe=We(Te);return D1.current.map(_e=>p1&&_e==="reference"?p1:I1&&_e==="floating"?I1:Xe).filter(Boolean).flat()},[p1,I1,D1,We]);React.useEffect(()=>{if(!W0)return;function Te(_e){if(_e.key==="Tab"){We().length===0&&!Ie&&B0(_e);const je=Ue(),Wt=Y0(_e);D1.current[0]==="reference"&&Wt===p1&&(B0(_e),_e.shiftKey?A0(je[je.length-1]):A0(je[1])),D1.current[1]==="floating"&&Wt===I1&&_e.shiftKey&&(B0(_e),A0(je[0]))}}const Xe=W(I1);return Xe.addEventListener("keydown",Te),()=>{Xe.removeEventListener("keydown",Te)}},[p1,I1,W0,D1,G0,Ie,We,Ue]),React.useEffect(()=>{if(!F0)return;function Te(){R1.current=!0,setTimeout(()=>{R1.current=!1})}function Xe(_e){const je=_e.relatedTarget,Wt=!(_0(p1,je)||_0(I1,je)||_0(je,I1)||_0(se==null?void 0:se.portalNode,je)||je!=null&&je.hasAttribute("data-floating-ui-focus-guard")||Me&&(Z0(Me.nodesRef.current,d1).find(Mt=>{var Ut,sn;return _0((Ut=Mt.context)==null?void 0:Ut.elements.floating,je)||_0((sn=Mt.context)==null?void 0:sn.elements.domReference,je)})||w0(Me.nodesRef.current,d1).find(Mt=>{var Ut,sn;return((Ut=Mt.context)==null?void 0:Ut.elements.floating)===je||((sn=Mt.context)==null?void 0:sn.elements.domReference)===je})));je&&Wt&&!R1.current&&je!==ne.current&&(be.current=!0,setTimeout(()=>b1(!1)))}if(I1&&I(p1))return p1.addEventListener("focusout",Xe),p1.addEventListener("pointerdown",Te),!W0&&I1.addEventListener("focusout",Xe),()=>{p1.removeEventListener("focusout",Xe),p1.removeEventListener("pointerdown",Te),!W0&&I1.removeEventListener("focusout",Xe)}},[p1,I1,W0,d1,Me,se,b1,F0]),React.useEffect(()=>{var Te;const Xe=Array.from((se==null||(Te=se.portalNode)==null?void 0:Te.querySelectorAll("[data-floating-ui-portal]"))||[]);function _e(){return[Ve.current,F1.current].filter(Boolean)}if(I1&&W0){const je=[I1,...Xe,..._e()],Wt=hideOthers(D1.current.includes("reference")||Ie?je.concat(p1||[]):je);return()=>{Wt()}}},[p1,I1,W0,D1,se,Ie]),React.useEffect(()=>{if(W0&&!V&&I1){const Te=[],Xe=E0(),_e=tabbable(W(I1).body,Xe),je=Ue(),Wt=_e.filter(Mt=>!je.includes(Mt));return Wt.forEach((Mt,Ut)=>{Te[Ut]=Mt.getAttribute("tabindex"),Mt.setAttribute("tabindex","-1")}),()=>{Wt.forEach((Mt,Ut)=>{const sn=Te[Ut];sn==null?Mt.removeAttribute("tabindex"):Mt.setAttribute("tabindex",sn)})}}},[I1,W0,V,Ue]),p(()=>{if(!I1)return;const Te=W(I1);let Xe=z0,_e=!1;const je=O0(Te),Wt=L1.current;ne.current=je;const Mt=Ue(I1),Ut=(typeof r0=="number"?Mt[r0]:r0.current)||I1;!ze&&A0(Ut,{preventScroll:Ut===I1});function sn(vt){if(vt.type==="escapeKey"&&G0.domReference.current&&(ne.current=G0.domReference.current),["referencePress","escapeKey"].includes(vt.type))return;const Ln=vt.data.returnFocus;typeof Ln=="object"?(Xe=!0,_e=Ln.preventScroll):Xe=Ln}return g1.on("dismiss",sn),()=>{if(g1.off("dismiss",sn),_0(I1,O0(Te))&&G0.domReference.current&&(ne.current=G0.domReference.current),Xe&&I(ne.current)&&!be.current)if(!G0.domReference.current||R1.current)A0(ne.current,{cancelPrevious:!1,preventScroll:_e});else{var vt;Wt.__syncReturnFocus=!0,(vt=ne.current)==null||vt.focus({preventScroll:_e}),setTimeout(()=>{delete Wt.__syncReturnFocus})}}},[I1,Ue,r0,z0,L1,G0,g1,ze]),p(()=>{if(se)return se.setFocusManagerState({...l0,modal:W0,closeOnFocusOut:F0}),()=>{se.setFocusManagerState(null)}},[se,W0,F0,l0]),p(()=>{if(ze||!I1)return;function Te(){c1(We().length)}if(Te(),typeof MutationObserver=="function"){const Xe=new MutationObserver(Te);return Xe.observe(I1,{childList:!0,subtree:!0}),()=>{Xe.disconnect()}}},[I1,We,ze,G0]);const Ze=V&&(Se||W0)&&!Ie;function xt(Te){return S0&&W0?React.createElement(P1,{ref:Te==="start"?Ve:F1,onClick:()=>b1(!1)},typeof S0=="string"?S0:"Dismiss"):null}return React.createElement(React.Fragment,null,Ze&&React.createElement(y0,{"data-type":"inside",ref:se==null?void 0:se.beforeInsideRef,onFocus:Te=>{if(W0){const _e=Ue();A0(Q[0]==="reference"?_e[0]:_e[_e.length-1])}else if(se!=null&&se.preserveTabOrder&&se.portalNode)if(be.current=!1,r1(Te,se.portalNode)){const _e=j0()||p1;_e==null||_e.focus()}else{var Xe;(Xe=se.beforeOutsideRef.current)==null||Xe.focus()}}}),Ie?null:xt("start"),React.cloneElement(Z,fe===0||Q.includes("floating")?{tabIndex:0}:{}),xt("end"),Ze&&React.createElement(y0,{"data-type":"inside",ref:se==null?void 0:se.afterInsideRef,onFocus:Te=>{if(W0)A0(Ue()[0]);else if(se!=null&&se.preserveTabOrder&&se.portalNode)if(be.current=!0,r1(Te,se.portalNode)){const _e=n1()||p1;_e==null||_e.focus()}else{var Xe;(Xe=se.afterOutsideRef.current)==null||Xe.focus()}}}))}const k0="data-floating-ui-scroll-lock",e1=null;function f1($0){return I($0.target)&&$0.target.tagName==="BUTTON"}function q1($0){return g0($0)}const Y1=function($0,l0){let{open:Z,onOpenChange:Q,dataRef:V,elements:{domReference:r0}}=$0,{enabled:z0=!0,event:W0="click",toggle:S0=!0,ignoreMouse:F0=!1,keyboardHandlers:G0=!0}=l0===void 0?{}:l0;const d1=React.useRef();return React.useMemo(()=>z0?{reference:{onPointerDown(b1){d1.current=b1.pointerType},onMouseDown(b1){b1.button===0&&(Y(d1.current,!0)&&F0||W0!=="click"&&(Z?S0&&(!V.current.openEvent||V.current.openEvent.type==="mousedown")&&Q(!1):(b1.preventDefault(),Q(!0)),V.current.openEvent=b1.nativeEvent))},onClick(b1){if(!V.current.__syncReturnFocus){if(W0==="mousedown"&&d1.current){d1.current=void 0;return}Y(d1.current,!0)&&F0||(Z?S0&&(!V.current.openEvent||V.current.openEvent.type==="click")&&Q(!1):Q(!0),V.current.openEvent=b1.nativeEvent)}},onKeyDown(b1){d1.current=void 0,G0&&(f1(b1)||(b1.key===" "&&!q1(r0)&&b1.preventDefault(),b1.key==="Enter"&&(Z?S0&&Q(!1):Q(!0))))},onKeyUp(b1){G0&&(f1(b1)||q1(r0)||b1.key===" "&&(Z?S0&&Q(!1):Q(!0)))}}}:{},[z0,V,W0,F0,G0,r0,S0,Z,Q])};function B1($0,l0){if(l0==null)return!1;if("composedPath"in $0)return $0.composedPath().includes(l0);const Z=$0;return Z.target!=null&&l0.contains(Z.target)}const Q1={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},re={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},ue=function($0){var l0,Z;return $0===void 0&&($0=!0),{escapeKeyBubbles:typeof $0=="boolean"?$0:(l0=$0.escapeKey)!=null?l0:!0,outsidePressBubbles:typeof $0=="boolean"?$0:(Z=$0.outsidePress)!=null?Z:!0}},Re=function($0,l0){let{open:Z,onOpenChange:Q,events:V,nodeId:r0,elements:{reference:z0,domReference:W0,floating:S0},dataRef:F0}=$0,{enabled:G0=!0,escapeKey:d1=!0,outsidePress:b1=!0,outsidePressEvent:g1="pointerdown",referencePress:L1=!1,referencePressEvent:p1="pointerdown",ancestorScroll:I1=!1,bubbles:D1=!0}=l0===void 0?{}:l0;const Me=_(),se=u()!=null,fe=C1(typeof b1=="function"?b1:()=>!1),c1=typeof b1=="function"?fe:b1,ze=n.useRef(!1),{escapeKeyBubbles:Ve,outsidePressBubbles:F1}=ue(D1);return n.useEffect(()=>{if(!Z||!G0)return;F0.current.__escapeKeyBubbles=Ve,F0.current.__outsidePressBubbles=F1;function be(We){if(We.key==="Escape"){const Ue=Me?Z0(Me.nodesRef.current,r0):[];if(Ue.length>0){let Ze=!0;if(Ue.forEach(xt=>{var Te;if((Te=xt.context)!=null&&Te.open&&!xt.context.dataRef.current.__escapeKeyBubbles){Ze=!1;return}}),!Ze)return}V.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),Q(!1)}}function ne(We){const Ue=ze.current;if(ze.current=!1,Ue||typeof c1=="function"&&!c1(We))return;const Ze=Y0(We);if(I(Ze)&&S0){const Xe=S0.ownerDocument.defaultView||window,_e=Ze.scrollWidth>Ze.clientWidth,je=Ze.scrollHeight>Ze.clientHeight;let Wt=je&&We.offsetX>Ze.clientWidth;if(je&&Xe.getComputedStyle(Ze).direction==="rtl"&&(Wt=We.offsetX<=Ze.offsetWidth-Ze.clientWidth),Wt||_e&&We.offsetY>Ze.clientHeight)return}const xt=Me&&Z0(Me.nodesRef.current,r0).some(Xe=>{var _e;return B1(We,(_e=Xe.context)==null?void 0:_e.elements.floating)});if(B1(We,S0)||B1(We,W0)||xt)return;const Te=Me?Z0(Me.nodesRef.current,r0):[];if(Te.length>0){let Xe=!0;if(Te.forEach(_e=>{var je;if((je=_e.context)!=null&&je.open&&!_e.context.dataRef.current.__outsidePressBubbles){Xe=!1;return}}),!Xe)return}V.emit("dismiss",{type:"outsidePress",data:{returnFocus:se?{preventScroll:!0}:j(We)||N(We)}}),Q(!1)}function R1(){Q(!1)}const Se=W(S0);d1&&Se.addEventListener("keydown",be),c1&&Se.addEventListener(g1,ne);let Ie=[];return I1&&(S(W0)&&(Ie=(0,i.Kx)(W0)),S(S0)&&(Ie=Ie.concat((0,i.Kx)(S0))),!S(z0)&&z0&&z0.contextElement&&(Ie=Ie.concat((0,i.Kx)(z0.contextElement)))),Ie=Ie.filter(We=>{var Ue;return We!==((Ue=Se.defaultView)==null?void 0:Ue.visualViewport)}),Ie.forEach(We=>{We.addEventListener("scroll",R1,{passive:!0})}),()=>{d1&&Se.removeEventListener("keydown",be),c1&&Se.removeEventListener(g1,ne),Ie.forEach(We=>{We.removeEventListener("scroll",R1)})}},[F0,S0,W0,z0,d1,c1,g1,V,Me,r0,Z,Q,I1,G0,Ve,F1,se]),n.useEffect(()=>{ze.current=!1},[c1,g1]),n.useMemo(()=>G0?{reference:{[Q1[p1]]:()=>{L1&&(V.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),Q(!1))}},floating:{[re[g1]]:()=>{ze.current=!0}}}:{},[G0,V,L1,g1,p1,Q])},De=function($0,l0){let{open:Z,onOpenChange:Q,dataRef:V,events:r0,refs:z0,elements:{floating:W0,domReference:S0}}=$0,{enabled:F0=!0,keyboardOnly:G0=!0}=l0===void 0?{}:l0;const d1=n.useRef(""),b1=n.useRef(!1),g1=n.useRef();return n.useEffect(()=>{if(!F0)return;const p1=W(W0).defaultView||window;function I1(){!Z&&I(S0)&&S0===O0(W(S0))&&(b1.current=!0)}return p1.addEventListener("blur",I1),()=>{p1.removeEventListener("blur",I1)}},[W0,S0,Z,F0]),n.useEffect(()=>{if(!F0)return;function L1(p1){(p1.type==="referencePress"||p1.type==="escapeKey")&&(b1.current=!0)}return r0.on("dismiss",L1),()=>{r0.off("dismiss",L1)}},[r0,F0]),n.useEffect(()=>()=>{clearTimeout(g1.current)},[]),n.useMemo(()=>F0?{reference:{onPointerDown(L1){let{pointerType:p1}=L1;d1.current=p1,b1.current=!!(p1&&G0)},onMouseLeave(){b1.current=!1},onFocus(L1){var p1;b1.current||L1.type==="focus"&&((p1=V.current.openEvent)==null?void 0:p1.type)==="mousedown"&&V.current.openEvent&&B1(V.current.openEvent,S0)||(V.current.openEvent=L1.nativeEvent,Q(!0))},onBlur(L1){b1.current=!1;const p1=L1.relatedTarget,I1=S(p1)&&p1.hasAttribute("data-floating-ui-focus-guard")&&p1.getAttribute("data-type")==="outside";g1.current=setTimeout(()=>{_0(z0.floating.current,p1)||_0(S0,p1)||I1||Q(!1)})}}}:{},[F0,G0,S0,z0,V,Q])};let ve=!1;const de="ArrowUp",te="ArrowDown",he="ArrowLeft",Ot="ArrowRight";function it($0,l0,Z){return Math.floor($0/l0)!==Z}function ct($0,l0){return l0<0||l0>=$0.current.length}function $1($0,l0){let{startingIndex:Z=-1,decrement:Q=!1,disabledIndices:V,amount:r0=1}=l0===void 0?{}:l0;const z0=$0.current;let W0=Z;do{var S0,F0;W0=W0+(Q?-r0:r0)}while(W0>=0&&W0<=z0.length-1&&(V?V.includes(W0):z0[W0]==null||(S0=z0[W0])!=null&&S0.hasAttribute("disabled")||((F0=z0[W0])==null?void 0:F0.getAttribute("aria-disabled"))==="true"));return W0}function ye($0,l0,Z){switch($0){case"vertical":return l0;case"horizontal":return Z;default:return l0||Z}}function an($0,l0){return ye(l0,$0===de||$0===te,$0===he||$0===Ot)}function st($0,l0,Z){return ye(l0,$0===te,Z?$0===he:$0===Ot)||$0==="Enter"||$0==" "||$0===""}function Bt($0,l0,Z){return ye(l0,Z?$0===he:$0===Ot,$0===te)}function qt($0,l0,Z){return ye(l0,Z?$0===Ot:$0===he,$0===de)}function yt($0,l0){return $1($0,{disabledIndices:l0})}function Dt($0,l0){return $1($0,{decrement:!0,startingIndex:$0.current.length,disabledIndices:l0})}const Gt=function($0,l0){let{open:Z,onOpenChange:Q,refs:V,elements:{domReference:r0}}=$0,{listRef:z0,activeIndex:W0,onNavigate:S0=()=>{},enabled:F0=!0,selectedIndex:G0=null,allowEscape:d1=!1,loop:b1=!1,nested:g1=!1,rtl:L1=!1,virtual:p1=!1,focusItemOnOpen:I1="auto",focusItemOnHover:D1=!0,openOnArrowKeyDown:Me=!0,disabledIndices:se=void 0,orientation:fe="vertical",cols:c1=1,scrollItemIntoView:ze=!0}=l0===void 0?{listRef:{current:[]},activeIndex:null,onNavigate:()=>{}}:l0;const Ve=u(),F1=_(),be=C1(S0),ne=React.useRef(I1),R1=React.useRef(G0!=null?G0:-1),Se=React.useRef(null),Ie=React.useRef(!0),We=React.useRef(be),Ue=React.useRef(Z),Ze=React.useRef(!1),xt=React.useRef(!1),Te=$(se),Xe=$(Z),_e=$(ze),[je,Wt]=React.useState(),Mt=React.useCallback(function(vt,Ln,we){we===void 0&&(we=!1);const Ke=vt.current[Ln.current];p1?Wt(Ke==null?void 0:Ke.id):A0(Ke,{preventScroll:!0,sync:K()&&k()?ve||Ze.current:!1}),requestAnimationFrame(()=>{const Yn=_e.current;Yn&&Ke&&(we||!Ie.current)&&(Ke.scrollIntoView==null||Ke.scrollIntoView(typeof Yn=="boolean"?{block:"nearest",inline:"nearest"}:Yn))})},[p1,_e]);p(()=>{document.createElement("div").focus({get preventScroll(){return ve=!0,!1}})},[]),p(()=>{F0&&(Z?ne.current&&G0!=null&&(xt.current=!0,be(G0)):Ue.current&&(R1.current=-1,We.current(null)))},[F0,Z,G0,be]),p(()=>{if(F0&&Z)if(W0==null){if(Ze.current=!1,G0!=null)return;Ue.current&&(R1.current=-1,Mt(z0,R1)),!Ue.current&&ne.current&&(Se.current!=null||ne.current===!0&&Se.current==null)&&(R1.current=Se.current==null||st(Se.current,fe,L1)||g1?yt(z0,Te.current):Dt(z0,Te.current),be(R1.current))}else ct(z0,W0)||(R1.current=W0,Mt(z0,R1,xt.current),xt.current=!1)},[F0,Z,W0,G0,g1,z0,fe,L1,be,Mt,Te]),p(()=>{if(F0&&Ue.current&&!Z){var vt,Ln;const we=F1==null||(vt=F1.nodesRef.current.find(Ke=>Ke.id===Ve))==null||(Ln=vt.context)==null?void 0:Ln.elements.floating;we&&!_0(we,O0(W(we)))&&we.focus({preventScroll:!0})}},[F0,Z,F1,Ve]),p(()=>{Se.current=null,We.current=be,Ue.current=Z});const Ut=W0!=null,sn=React.useMemo(()=>{function vt(we){if(!Z)return;const Ke=z0.current.indexOf(we);Ke!==-1&&be(Ke)}return{onFocus(we){let{currentTarget:Ke}=we;vt(Ke)},onClick:we=>{let{currentTarget:Ke}=we;return Ke.focus({preventScroll:!0})},...D1&&{onMouseMove(we){let{currentTarget:Ke}=we;vt(Ke)},onPointerLeave(){if(Ie.current&&(R1.current=-1,Mt(z0,R1),flushSync(()=>be(null)),!p1)){var we;(we=V.floating.current)==null||we.focus({preventScroll:!0})}}}}},[Z,V,Mt,D1,z0,be,p1]);return React.useMemo(()=>{if(!F0)return{};const vt=Te.current;function Ln(_t){if(Ie.current=!1,Ze.current=!0,!Xe.current&&_t.currentTarget===V.floating.current)return;if(g1&&qt(_t.key,fe,L1)){B0(_t),Q(!1),I(r0)&&r0.focus();return}const cn=R1.current,Bn=yt(z0,vt),B=Dt(z0,vt);if(_t.key==="Home"&&(R1.current=Bn,be(R1.current)),_t.key==="End"&&(R1.current=B,be(R1.current)),c1>1){const X=R1.current;if(_t.key===de){if(B0(_t),X===-1)R1.current=B;else if(R1.current=$1(z0,{startingIndex:X,amount:c1,decrement:!0,disabledIndices:vt}),b1&&(X-c1e0?v0:v0-c1}ct(z0,R1.current)&&(R1.current=X),be(R1.current)}if(_t.key===te&&(B0(_t),X===-1?R1.current=Bn:(R1.current=$1(z0,{startingIndex:X,amount:c1,disabledIndices:vt}),b1&&X+c1>B&&(R1.current=$1(z0,{startingIndex:X%c1-c1,amount:c1,disabledIndices:vt}))),ct(z0,R1.current)&&(R1.current=X),be(R1.current)),fe==="both"){const e0=Math.floor(X/c1);_t.key===Ot&&(B0(_t),X%c1!==c1-1?(R1.current=$1(z0,{startingIndex:X,disabledIndices:vt}),b1&&it(R1.current,c1,e0)&&(R1.current=$1(z0,{startingIndex:X-X%c1-1,disabledIndices:vt}))):b1&&(R1.current=$1(z0,{startingIndex:X-X%c1-1,disabledIndices:vt})),it(R1.current,c1,e0)&&(R1.current=X)),_t.key===he&&(B0(_t),X%c1!==0?(R1.current=$1(z0,{startingIndex:X,disabledIndices:vt,decrement:!0}),b1&&it(R1.current,c1,e0)&&(R1.current=$1(z0,{startingIndex:X+(c1-X%c1),decrement:!0,disabledIndices:vt}))):b1&&(R1.current=$1(z0,{startingIndex:X+(c1-X%c1),decrement:!0,disabledIndices:vt})),it(R1.current,c1,e0)&&(R1.current=X));const s0=Math.floor(B/c1)===e0;ct(z0,R1.current)&&(b1&&s0?R1.current=_t.key===he?B:$1(z0,{startingIndex:X-X%c1-1,disabledIndices:vt}):R1.current=X),be(R1.current);return}}if(an(_t.key,fe)){if(B0(_t),Z&&!p1&&O0(_t.currentTarget.ownerDocument)===_t.currentTarget){R1.current=st(_t.key,fe,L1)?Bn:B,be(R1.current);return}st(_t.key,fe,L1)?b1?R1.current=cn>=B?d1&&cn!==z0.current.length?-1:Bn:$1(z0,{startingIndex:cn,disabledIndices:vt}):R1.current=Math.min(B,$1(z0,{startingIndex:cn,disabledIndices:vt})):b1?R1.current=cn<=Bn?d1&&cn!==-1?z0.current.length:B:$1(z0,{startingIndex:cn,decrement:!0,disabledIndices:vt}):R1.current=Math.max(Bn,$1(z0,{startingIndex:cn,decrement:!0,disabledIndices:vt})),ct(z0,R1.current)?be(null):be(R1.current)}}function we(_t){I1==="auto"&&j(_t.nativeEvent)&&(ne.current=!0)}function Ke(_t){ne.current=I1,I1==="auto"&&N(_t.nativeEvent)&&(ne.current=!0)}const Yn=p1&&Z&&Ut&&{"aria-activedescendant":je};return{reference:{...Yn,onKeyDown(_t){Ie.current=!1;const cn=_t.key.indexOf("Arrow")===0;if(p1&&Z)return Ln(_t);if(!Z&&!Me&&cn)return;if((cn||_t.key==="Enter"||_t.key===" "||_t.key==="")&&(Se.current=_t.key),g1){Bt(_t.key,fe,L1)&&(B0(_t),Z?(R1.current=yt(z0,vt),be(R1.current)):Q(!0));return}an(_t.key,fe)&&(G0!=null&&(R1.current=G0),B0(_t),!Z&&Me?Q(!0):Ln(_t),Z&&be(R1.current))},onFocus(){Z&&be(null)},onPointerDown:Ke,onMouseDown:we,onClick:we},floating:{"aria-orientation":fe==="both"?void 0:fe,...Yn,onKeyDown:Ln,onPointerMove(){Ie.current=!0}},item:sn}},[r0,V,je,Te,Xe,z0,F0,fe,L1,p1,Z,Ut,g1,G0,Me,d1,c1,b1,I1,be,Q,sn])};function At($0){return React.useMemo(()=>$0.every(l0=>l0==null)?null:l0=>{$0.forEach(Z=>{typeof Z=="function"?Z(l0):Z!=null&&(Z.current=l0)})},$0)}const Wn=function($0,l0){let{open:Z}=$0,{enabled:Q=!0,role:V="dialog"}=l0===void 0?{}:l0;const r0=f(),z0=f();return n.useMemo(()=>{const W0={id:r0,role:V};return Q?V==="tooltip"?{reference:{"aria-describedby":Z?r0:void 0},floating:W0}:{reference:{"aria-expanded":Z?"true":"false","aria-haspopup":V==="alertdialog"?"dialog":V,"aria-controls":Z?r0:void 0,...V==="listbox"&&{role:"combobox"},...V==="menu"&&{id:z0}},floating:{...W0,...V==="menu"&&{"aria-labelledby":z0}}}:{}},[Q,V,Z,r0,z0])},Tn=$0=>$0.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(l0,Z)=>(Z?"-":"")+l0.toLowerCase());function Mn($0,l0){const[Z,Q]=React.useState($0);return $0&&!Z&&Q(!0),React.useEffect(()=>{if(!$0){const V=setTimeout(()=>Q(!1),l0);return()=>clearTimeout(V)}},[$0,l0]),Z}function pt($0,l0){let{open:Z,elements:{floating:Q}}=$0,{duration:V=250}=l0===void 0?{}:l0;const z0=(typeof V=="number"?V:V.close)||0,[W0,S0]=React.useState(!1),[F0,G0]=React.useState("unmounted"),d1=Mn(Z,z0);return p(()=>{W0&&!d1&&G0("unmounted")},[W0,d1]),p(()=>{if(Q)if(Z){G0("initial");const b1=requestAnimationFrame(()=>{G0("open")});return()=>{cancelAnimationFrame(b1)}}else S0(!0),G0("close")},[Z,Q]),{isMounted:d1,status:F0}}function qn($0,l0){let{initial:Z={opacity:0},open:Q,close:V,common:r0,duration:z0=250}=l0===void 0?{}:l0;const W0=$0.placement,S0=W0.split("-")[0],[F0,G0]=React.useState({}),{isMounted:d1,status:b1}=pt($0,{duration:z0}),g1=$(Z),L1=$(Q),p1=$(V),I1=$(r0),D1=typeof z0=="number",Me=(D1?z0:z0.open)||0,se=(D1?z0:z0.close)||0;return p(()=>{const fe={side:S0,placement:W0},c1=g1.current,ze=p1.current,Ve=L1.current,F1=I1.current,be=typeof c1=="function"?c1(fe):c1,ne=typeof ze=="function"?ze(fe):ze,R1=typeof F1=="function"?F1(fe):F1,Se=(typeof Ve=="function"?Ve(fe):Ve)||Object.keys(be).reduce((Ie,We)=>(Ie[We]="",Ie),{});if((b1==="initial"||b1==="unmounted")&&G0(Ie=>({transitionProperty:Ie.transitionProperty,...R1,...be})),b1==="open"&&G0({transitionProperty:Object.keys(Se).map(Tn).join(","),transitionDuration:Me+"ms",...R1,...Se}),b1==="close"){const Ie=ne||be;G0({transitionProperty:Object.keys(Ie).map(Tn).join(","),transitionDuration:se+"ms",...R1,...Ie})}},[S0,W0,se,p1,g1,L1,I1,Me,b1]),{isMounted:d1,styles:F0}}const vn=function($0,l0){var Z;let{open:Q,dataRef:V,refs:r0}=$0,{listRef:z0,activeIndex:W0,onMatch:S0=()=>{},enabled:F0=!0,findMatch:G0=null,resetMs:d1=1e3,ignoreKeys:b1=[],selectedIndex:g1=null}=l0===void 0?{listRef:{current:[]},activeIndex:null}:l0;const L1=React.useRef(),p1=React.useRef(""),I1=React.useRef((Z=g1!=null?g1:W0)!=null?Z:-1),D1=React.useRef(null),Me=C1(S0),se=$(G0),fe=$(b1);return p(()=>{Q&&(clearTimeout(L1.current),D1.current=null,p1.current="")},[Q]),p(()=>{if(Q&&p1.current===""){var c1;I1.current=(c1=g1!=null?g1:W0)!=null?c1:-1}},[Q,g1,W0]),React.useMemo(()=>{if(!F0)return{};function c1(ze){var Ve;const F1=Y0(ze.nativeEvent);if(S(F1)&&(O0(W(F1))!==ze.currentTarget?(Ve=r0.floating.current)!=null&&Ve.contains(F1)&&F1.closest('[role="dialog"],[role="menu"],[role="listbox"],[role="tree"],[role="grid"]')!==ze.currentTarget:!ze.currentTarget.contains(F1)))return;p1.current.length>0&&p1.current[0]!==" "&&(V.current.typing=!0,ze.key===" "&&B0(ze));const be=z0.current;if(be==null||fe.current.includes(ze.key)||ze.key.length!==1||ze.ctrlKey||ze.metaKey||ze.altKey)return;be.every(Ue=>{var Ze,xt;return Ue?((Ze=Ue[0])==null?void 0:Ze.toLocaleLowerCase())!==((xt=Ue[1])==null?void 0:xt.toLocaleLowerCase()):!0})&&p1.current===ze.key&&(p1.current="",I1.current=D1.current),p1.current+=ze.key,clearTimeout(L1.current),L1.current=setTimeout(()=>{p1.current="",I1.current=D1.current,V.current.typing=!1},d1);const R1=I1.current,Se=[...be.slice((R1||0)+1),...be.slice(0,(R1||0)+1)],Ie=se.current?se.current(Se,p1.current):Se.find(Ue=>(Ue==null?void 0:Ue.toLocaleLowerCase().indexOf(p1.current.toLocaleLowerCase()))===0),We=Ie?be.indexOf(Ie):-1;We!==-1&&(Me(We),D1.current=We)}return{reference:{onKeyDown:c1},floating:{onKeyDown:c1}}},[F0,V,z0,d1,fe,se,Me,r0])};function On($0,l0){return{...$0,rects:{...$0.rects,floating:{...$0.rects.floating,height:l0}}}}const Ct=$0=>({name:"inner",options:$0,async fn(l0){const{listRef:Z,overflowRef:Q,onFallbackChange:V,offset:r0=0,index:z0=0,minItemsVisible:W0=4,referenceOverflowThreshold:S0=0,scrollRef:F0,...G0}=$0,{rects:d1,elements:{floating:b1}}=l0,g1=Z.current[z0];if(!g1)return{};const L1={...l0,...await offset(-g1.offsetTop-d1.reference.height/2-g1.offsetHeight/2-r0).fn(l0)},p1=(F0==null?void 0:F0.current)||b1,I1=await detectOverflow(On(L1,p1.scrollHeight),G0),D1=await detectOverflow(L1,{...G0,elementContext:"reference"}),Me=Math.max(0,I1.top),se=L1.y+Me,fe=Math.max(0,p1.scrollHeight-Me-Math.max(0,I1.bottom));return p1.style.maxHeight=fe+"px",p1.scrollTop=Me,V&&(p1.offsetHeight=-S0||D1.bottom>=-S0?flushSync(()=>V(!0)):flushSync(()=>V(!1))),Q&&(Q.current=await detectOverflow(On({...L1,y:se},p1.offsetHeight),G0)),{y:se}}}),He=($0,l0)=>{let{open:Z,elements:Q}=$0,{enabled:V=!0,overflowRef:r0,scrollRef:z0,onChange:W0}=l0;const S0=C1(W0),F0=React.useRef(!1),G0=React.useRef(null),d1=React.useRef(null);return React.useEffect(()=>{if(!V)return;function b1(L1){if(L1.ctrlKey||!g1||r0.current==null)return;const p1=L1.deltaY,I1=r0.current.top>=-.5,D1=r0.current.bottom>=-.5,Me=g1.scrollHeight-g1.clientHeight,se=p1<0?-1:1,fe=p1<0?"max":"min";g1.scrollHeight<=g1.clientHeight||(!I1&&p1>0||!D1&&p1<0?(L1.preventDefault(),flushSync(()=>{S0(c1=>c1+Math[fe](p1,Me*se))})):/firefox/i.test(T())&&(g1.scrollTop+=p1))}const g1=(z0==null?void 0:z0.current)||Q.floating;if(Z&&g1)return g1.addEventListener("wheel",b1),requestAnimationFrame(()=>{G0.current=g1.scrollTop,r0.current!=null&&(d1.current={...r0.current})}),()=>{G0.current=null,d1.current=null,g1.removeEventListener("wheel",b1)}},[V,Z,Q.floating,r0,z0,S0]),React.useMemo(()=>V?{floating:{onKeyDown(){F0.current=!0},onWheel(){F0.current=!1},onPointerMove(){F0.current=!1},onScroll(){const b1=(z0==null?void 0:z0.current)||Q.floating;if(!(!r0.current||!b1||!F0.current)){if(G0.current!==null){const g1=b1.scrollTop-G0.current;(r0.current.bottom<-.5&&g1<-1||r0.current.top<-.5&&g1>1)&&flushSync(()=>S0(L1=>L1+g1))}requestAnimationFrame(()=>{G0.current=b1.scrollTop})}}}}:{},[V,r0,Q.floating,z0,S0])};function pn($0,l0){const[Z,Q]=$0;let V=!1;const r0=l0.length;for(let z0=0,W0=r0-1;z0=Q!=d1>=Q&&Z<=(G0-S0)*(Q-F0)/(d1-F0)+S0&&(V=!V)}return V}function Yt($0,l0){return $0[0]>=l0.x&&$0[0]<=l0.x+l0.width&&$0[1]>=l0.y&&$0[1]<=l0.y+l0.height}function Qt($0){let{restMs:l0=0,buffer:Z=.5,blockPointerEvents:Q=!1}=$0===void 0?{}:$0,V,r0=!1,z0=!1;const W0=S0=>{let{x:F0,y:G0,placement:d1,elements:b1,onClose:g1,nodeId:L1,tree:p1}=S0;return function(D1){function Me(){clearTimeout(V),g1()}if(clearTimeout(V),!b1.domReference||!b1.floating||d1==null||F0==null||G0==null)return;const{clientX:se,clientY:fe}=D1,c1=[se,fe],ze=Y0(D1),Ve=D1.type==="mouseleave",F1=_0(b1.floating,ze),be=_0(b1.domReference,ze),ne=b1.domReference.getBoundingClientRect(),R1=b1.floating.getBoundingClientRect(),Se=d1.split("-")[0],Ie=F0>R1.right-R1.width/2,We=G0>R1.bottom-R1.height/2,Ue=Yt(c1,ne);if(F1&&(z0=!0,!Ve))return;if(be&&(z0=!1),be&&!Ve){z0=!0;return}if(Ve&&S(D1.relatedTarget)&&_0(b1.floating,D1.relatedTarget)||p1&&Z0(p1.nodesRef.current,L1).some(Xe=>{let{context:_e}=Xe;return _e==null?void 0:_e.open}))return;if(Se==="top"&&G0>=ne.bottom-1||Se==="bottom"&&G0<=ne.top+1||Se==="left"&&F0>=ne.right-1||Se==="right"&&F0<=ne.left+1)return Me();let Ze=[];switch(Se){case"top":Ze=[[R1.left,ne.top+1],[R1.left,R1.bottom-1],[R1.right,R1.bottom-1],[R1.right,ne.top+1]],r0=se>=R1.left&&se<=R1.right&&fe>=R1.top&&fe<=ne.top+1;break;case"bottom":Ze=[[R1.left,R1.top+1],[R1.left,ne.bottom-1],[R1.right,ne.bottom-1],[R1.right,R1.top+1]],r0=se>=R1.left&&se<=R1.right&&fe>=ne.bottom-1&&fe<=R1.bottom;break;case"left":Ze=[[R1.right-1,R1.bottom],[R1.right-1,R1.top],[ne.left+1,R1.top],[ne.left+1,R1.bottom]],r0=se>=R1.left&&se<=ne.left+1&&fe>=R1.top&&fe<=R1.bottom;break;case"right":Ze=[[ne.right-1,R1.bottom],[ne.right-1,R1.top],[R1.left+1,R1.top],[R1.left+1,R1.bottom]],r0=se>=ne.right-1&&se<=R1.right&&fe>=R1.top&&fe<=R1.bottom;break}function xt(Xe){let[_e,je]=Xe;const Wt=R1.width>ne.width,Mt=R1.height>ne.height;switch(Se){case"top":{const Ut=[Wt?_e+Z/2:Ie?_e+Z*4:_e-Z*4,je+Z+1],sn=[Wt?_e-Z/2:Ie?_e+Z*4:_e-Z*4,je+Z+1],vt=[[R1.left,Ie||Wt?R1.bottom-Z:R1.top],[R1.right,Ie?Wt?R1.bottom-Z:R1.top:R1.bottom-Z]];return[Ut,sn,...vt]}case"bottom":{const Ut=[Wt?_e+Z/2:Ie?_e+Z*4:_e-Z*4,je-Z],sn=[Wt?_e-Z/2:Ie?_e+Z*4:_e-Z*4,je-Z],vt=[[R1.left,Ie||Wt?R1.top+Z:R1.bottom],[R1.right,Ie?Wt?R1.top+Z:R1.bottom:R1.top+Z]];return[Ut,sn,...vt]}case"left":{const Ut=[_e+Z+1,Mt?je+Z/2:We?je+Z*4:je-Z*4],sn=[_e+Z+1,Mt?je-Z/2:We?je+Z*4:je-Z*4];return[...[[We||Mt?R1.right-Z:R1.left,R1.top],[We?Mt?R1.right-Z:R1.left:R1.right-Z,R1.bottom]],Ut,sn]}case"right":{const Ut=[_e-Z,Mt?je+Z/2:We?je+Z*4:je-Z*4],sn=[_e-Z,Mt?je-Z/2:We?je+Z*4:je-Z*4],vt=[[We||Mt?R1.left+Z:R1.right,R1.top],[We?Mt?R1.left+Z:R1.right:R1.left+Z,R1.bottom]];return[Ut,sn,...vt]}}}const Te=r0?Ze:xt([F0,G0]);if(!r0){if(z0&&!Ue)return Me();pn([se,fe],Te)?l0&&!z0&&(V=setTimeout(Me,l0)):Me()}}};return W0.__options={blockPointerEvents:Q},W0}function ot($0){$0===void 0&&($0={});const{open:l0=!1,onOpenChange:Z,nodeId:Q}=$0,V=(0,i.YF)($0),r0=_(),z0=n.useRef(null),W0=n.useRef({}),S0=n.useState(()=>l())[0],[F0,G0]=n.useState(null),d1=n.useCallback(D1=>{const Me=S(D1)?{getBoundingClientRect:()=>D1.getBoundingClientRect(),contextElement:D1}:D1;V.refs.setReference(Me)},[V.refs]),b1=n.useCallback(D1=>{(S(D1)||D1===null)&&(z0.current=D1,G0(D1)),(S(V.refs.reference.current)||V.refs.reference.current===null||D1!==null&&!S(D1))&&V.refs.setReference(D1)},[V.refs]),g1=n.useMemo(()=>({...V.refs,setReference:b1,setPositionReference:d1,domReference:z0}),[V.refs,b1,d1]),L1=n.useMemo(()=>({...V.elements,domReference:F0}),[V.elements,F0]),p1=C1(Z),I1=n.useMemo(()=>({...V,refs:g1,elements:L1,dataRef:W0,nodeId:Q,events:S0,open:l0,onOpenChange:p1}),[V,Q,S0,l0,p1,g1,L1]);return p(()=>{const D1=r0==null?void 0:r0.nodesRef.current.find(Me=>Me.id===Q);D1&&(D1.context=I1)}),n.useMemo(()=>({...V,context:I1,refs:g1,reference:b1,positionReference:d1}),[V,g1,I1,b1,d1])}function Ge($0,l0,Z){const Q=new Map;return{...Z==="floating"&&{tabIndex:-1},...$0,...l0.map(V=>V?V[Z]:null).concat($0).reduce((V,r0)=>(r0&&Object.entries(r0).forEach(z0=>{let[W0,S0]=z0;if(W0.indexOf("on")===0){if(Q.has(W0)||Q.set(W0,[]),typeof S0=="function"){var F0;(F0=Q.get(W0))==null||F0.push(S0),V[W0]=function(){for(var G0,d1=arguments.length,b1=new Array(d1),g1=0;g1L1(...b1))}}}else V[W0]=S0}),V),{})}}const zn=function($0){$0===void 0&&($0=[]);const l0=$0,Z=n.useCallback(r0=>Ge(r0,$0,"reference"),l0),Q=n.useCallback(r0=>Ge(r0,$0,"floating"),l0),V=n.useCallback(r0=>Ge(r0,$0,"item"),$0.map(r0=>r0==null?void 0:r0.item));return n.useMemo(()=>({getReferenceProps:Z,getFloatingProps:Q,getItemProps:V}),[Z,Q,V])}},74174:(D,b,e)=>{"use strict";e.d(b,{E:()=>r,e:()=>o});var t=e(92159),n=e(7346);const[o,r]=(0,t.Rk)(n.f.context)},7346:(D,b,e)=>{"use strict";e.d(b,{f:()=>t});const t={context:"Accordion component was not found in the tree",itemContext:"Accordion.Item component was not found in the tree",value:"Accordion.Item component was rendered with invalid value or without value"}},35492:(D,b,e)=>{"use strict";e.d(b,{U:()=>g});var t=e(7294),n=e(99275),o=e(39675),r=e(51518),a=e(28796),i=e(35772),p=e(56057),d=e(84888),M=Object.defineProperty,O=Object.defineProperties,z=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,s=(y,W,E)=>W in y?M(y,W,{enumerable:!0,configurable:!0,writable:!0,value:E}):y[W]=E,c=(y,W)=>{for(var E in W||(W={}))f.call(W,E)&&s(y,E,W[E]);if(m)for(var E of m(W))l.call(W,E)&&s(y,E,W[E]);return y},u=(y,W)=>O(y,z(W)),_=(y,W)=>{var E={};for(var T in y)f.call(y,T)&&W.indexOf(T)<0&&(E[T]=y[T]);if(y!=null&&m)for(var T of m(y))W.indexOf(T)<0&&l.call(y,T)&&(E[T]=y[T]);return E};const A={multiple:!1,disableChevronRotation:!1,transitionDuration:200,chevronPosition:"right",variant:"default",chevronSize:24,chevron:t.createElement(p.D,null)};function g(y){const W=(0,n.N4)("Accordion",A,y),{id:E,loop:T,children:q,multiple:S,value:I,defaultValue:x,onChange:j,transitionDuration:N,disableChevronRotation:k,chevronPosition:K,chevronSize:Y,order:$,chevron:u0,classNames:n0,styles:i0,unstyled:t0,variant:J,radius:a0}=W,b0=_(W,["id","loop","children","multiple","value","defaultValue","onChange","transitionDuration","disableChevronRotation","chevronPosition","chevronSize","order","chevron","classNames","styles","unstyled","variant","radius"]);return t.createElement(o.a,{id:E,multiple:S,value:I,defaultValue:x,onChange:j,loop:T,transitionDuration:N,disableChevronRotation:k,chevronPosition:K,chevronSize:Y,order:$,chevron:u0,variant:J,radius:a0,classNames:n0,styles:i0,unstyled:t0},t.createElement(d.x,u(c({},b0),{"data-accordion":!0}),q))}g.Item=r.Q,g.Control=a.t,g.Panel=i.H,g.displayName="@mantine/core/Accordion"},28796:(D,b,e)=>{"use strict";e.d(b,{t:()=>A});var t=e(7294),n=e(99275),o=e(92159),r=e(74174),a=e(79901),i=e(8201),p=e(56354),d=Object.defineProperty,M=Object.defineProperties,O=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(g,y,W)=>y in g?d(g,y,{enumerable:!0,configurable:!0,writable:!0,value:W}):g[y]=W,s=(g,y)=>{for(var W in y||(y={}))m.call(y,W)&&l(g,W,y[W]);if(z)for(var W of z(y))f.call(y,W)&&l(g,W,y[W]);return g},c=(g,y)=>M(g,O(y)),u=(g,y)=>{var W={};for(var E in g)m.call(g,E)&&y.indexOf(E)<0&&(W[E]=g[E]);if(g!=null&&z)for(var E of z(g))y.indexOf(E)<0&&f.call(g,E)&&(W[E]=g[E]);return W};const _={},A=(0,t.forwardRef)((g,y)=>{const W=(0,n.N4)("AccordionControl",_,g),{disabled:E,onKeyDown:T,onClick:q,chevron:S,children:I,className:x,icon:j}=W,N=u(W,["disabled","onKeyDown","onClick","chevron","children","className","icon"]),k=(0,r.E)(),{value:K}=(0,a.b)(),{classes:Y,cx:$}=(0,i.Z)({transitionDuration:k.transitionDuration,chevronPosition:k.chevronPosition,chevronSize:k.chevronSize,radius:k.radius},{name:"Accordion",classNames:k.classNames,styles:k.styles,unstyled:k.unstyled,variant:k.variant}),u0=k.isItemActive(K),n0=typeof k.order=="number",i0=`h${k.order}`,t0=t.createElement(p.k,c(s({},N),{ref:y,"data-accordion-control":!0,disabled:E,className:$(Y.control,x),onClick:J=>{q==null||q(J),k.onChange(K)},type:"button","data-active":u0||void 0,"aria-expanded":u0,"aria-controls":k.getRegionId(K),id:k.getControlId(K),unstyled:k.unstyled,onKeyDown:(0,o.Rf)({siblingSelector:"[data-accordion-control]",parentSelector:"[data-accordion]",activateOnFocus:!1,loop:k.loop,orientation:"vertical",onKeyDown:T})}),t.createElement("span",{className:Y.chevron,"data-rotate":!k.disableChevronRotation&&u0||void 0},S||k.chevron),t.createElement("span",{className:Y.label},I),j&&t.createElement("span",{className:Y.icon},j));return n0?t.createElement(i0,{className:Y.itemTitle},t0):t0});A.displayName="@mantine/core/AccordionControl"},8201:(D,b,e)=>{"use strict";e.d(b,{Z:()=>f});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(l,s,c)=>s in l?n(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,M=(l,s)=>{for(var c in s||(s={}))i.call(s,c)&&d(l,c,s[c]);if(a)for(var c of a(s))p.call(s,c)&&d(l,c,s[c]);return l},O=(l,s)=>o(l,r(s));function z(l,s){return s==="default"||s==="contained"?l.fn.hover({backgroundColor:l.colorScheme==="dark"?l.colors.dark[6]:l.colors.gray[0]}):{}}var m=(0,t.kc)((l,{transitionDuration:s,chevronPosition:c,chevronSize:u},{variant:_})=>({icon:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:c==="left"?0:l.spacing.sm,marginLeft:c==="left"?l.spacing.lg:0},chevron:{display:"flex",alignItems:"center",justifyContent:"center",transition:`transform ${s}ms ease`,marginRight:c==="right"?0:l.spacing.sm,marginLeft:c==="right"?l.spacing.lg:0,width:u,minWidth:u,"&[data-rotate]":{transform:"rotate(180deg)"}},label:{color:"inherit",fontWeight:400,flex:1,overflow:"hidden",textOverflow:"ellipsis",paddingTop:l.spacing.md,paddingBottom:l.spacing.md},itemTitle:{margin:0,padding:0},control:O(M(M(M({},l.fn.focusStyles()),l.fn.fontStyles()),z(l,_)),{width:"100%",display:"flex",alignItems:"center",flexDirection:c==="right"?"row-reverse":"row",paddingRight:l.spacing.md,paddingLeft:c==="right"?`calc(${l.spacing.md} + ${(0,t.hO)(4)})`:l.spacing.xs,textAlign:"left",color:l.colorScheme==="dark"?l.colors.dark[0]:l.black,"&:disabled":M({opacity:.4,cursor:"not-allowed"},l.fn.hover({backgroundColor:"transparent"}))})}));const f=m},79901:(D,b,e)=>{"use strict";e.d(b,{G:()=>o,b:()=>r});var t=e(92159),n=e(7346);const[o,r]=(0,t.Rk)(n.f.itemContext)},51518:(D,b,e)=>{"use strict";e.d(b,{Q:()=>s});var t=e(7294),n=e(99275),o=e(79901),r=e(68461),a=e(74174),i=e(84888),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(c,u,_)=>u in c?p(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,m=(c,u)=>{for(var _ in u||(u={}))M.call(u,_)&&z(c,_,u[_]);if(d)for(var _ of d(u))O.call(u,_)&&z(c,_,u[_]);return c},f=(c,u)=>{var _={};for(var A in c)M.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&d)for(var A of d(c))u.indexOf(A)<0&&O.call(c,A)&&(_[A]=c[A]);return _};const l={},s=(0,t.forwardRef)((c,u)=>{const _=(0,n.N4)("AccordionItem",l,c),{children:A,className:g,value:y}=_,W=f(_,["children","className","value"]),E=(0,a.E)(),{classes:T,cx:q}=(0,r.Z)({radius:E.radius},{name:"Accordion",classNames:E.classNames,styles:E.styles,unstyled:E.unstyled,variant:E.variant});return t.createElement(o.G,{value:{value:y}},t.createElement(i.x,m({ref:u,className:q(T.item,g),"data-active":E.isItemActive(y)||void 0},W),A))});s.displayName="@mantine/core/AccordionItem"},68461:(D,b,e)=>{"use strict";e.d(b,{Z:()=>r});var t=e(99275);function n(a,i,{radius:p}){const d=a.colorScheme==="dark"?a.colors.dark[4]:a.colors.gray[3],M=a.colorScheme==="dark"?a.colors.dark[6]:a.colors.gray[0],O=a.fn.radius(p);return i==="default"?{color:a.colorScheme==="dark"?a.colors.dark[0]:a.black,borderBottom:`${(0,t.hO)(1)} solid ${d}`}:i==="contained"?{border:`${(0,t.hO)(1)} solid ${d}`,transition:"background-color 150ms ease","&[data-active]":{backgroundColor:M},"&:first-of-type":{borderTopRightRadius:O,borderTopLeftRadius:O,"& > [data-accordion-control]":{borderTopRightRadius:O,borderTopLeftRadius:O}},"&:last-of-type":{borderBottomRightRadius:O,borderBottomLeftRadius:O,"& > [data-accordion-control]":{borderBottomRightRadius:O,borderBottomLeftRadius:O}},"& + &":{borderTop:0}}:i==="filled"?{borderRadius:O,"&[data-active]":{backgroundColor:M}}:i==="separated"?{borderRadius:O,backgroundColor:M,border:`${(0,t.hO)(1)} solid transparent`,transition:"background-color 150ms ease","& + &":{marginTop:a.spacing.md},"&[data-active]":{backgroundColor:a.colorScheme==="dark"?a.colors.dark[7]:a.white,borderColor:d}}:{}}var o=(0,t.kc)((a,i,{variant:p})=>({item:n(a,p,i)}));const r=o},35772:(D,b,e)=>{"use strict";e.d(b,{H:()=>_});var t=e(7294),n=e(99275),o=e(74174),r=e(79901),a=e(50178),i=e(29407),p=Object.defineProperty,d=Object.defineProperties,M=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(A,g,y)=>g in A?p(A,g,{enumerable:!0,configurable:!0,writable:!0,value:y}):A[g]=y,l=(A,g)=>{for(var y in g||(g={}))z.call(g,y)&&f(A,y,g[y]);if(O)for(var y of O(g))m.call(g,y)&&f(A,y,g[y]);return A},s=(A,g)=>d(A,M(g)),c=(A,g)=>{var y={};for(var W in A)z.call(A,W)&&g.indexOf(W)<0&&(y[W]=A[W]);if(A!=null&&O)for(var W of O(A))g.indexOf(W)<0&&m.call(A,W)&&(y[W]=A[W]);return y};const u={};function _(A){const g=(0,n.N4)("AccordionPanel",u,A),{children:y,className:W}=g,E=c(g,["children","className"]),T=(0,o.E)(),{value:q}=(0,r.b)(),{classNames:S,styles:I,unstyled:x}=(0,o.E)(),{classes:j,cx:N}=(0,a.Z)({radius:T.radius},{name:"Accordion",classNames:S,styles:I,unstyled:x,variant:T.variant});return t.createElement(i.U,s(l({},E),{className:N(j.panel,W),in:T.isItemActive(q),transitionDuration:T.transitionDuration,role:"region",id:T.getRegionId(q),"aria-labelledby":T.getControlId(q)}),t.createElement("div",{className:j.content},y))}_.displayName="@mantine/core/AccordionPanel"},50178:(D,b,e)=>{"use strict";e.d(b,{Z:()=>m});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l)),z=(0,t.kc)((f,l)=>({panel:O(M({},f.fn.fontStyles()),{wordBreak:"break-word",lineHeight:f.lineHeight}),content:{padding:f.spacing.md,paddingTop:`calc(${f.spacing.xs} / 2)`}}));const m=z},39675:(D,b,e)=>{"use strict";e.d(b,{a:()=>i});var t=e(7294),n=e(92159),o=e(76322),r=e(74174),a=e(7346);function i({children:p,multiple:d,value:M,defaultValue:O,onChange:z,id:m,loop:f,transitionDuration:l,disableChevronRotation:s,chevronPosition:c,chevronSize:u,order:_,chevron:A,variant:g,radius:y,classNames:W,styles:E,unstyled:T}){const q=(0,o.Me)(m),[S,I]=(0,o.Ch)({value:M,defaultValue:O,finalValue:d?[]:null,onChange:z}),x=N=>Array.isArray(S)?S.includes(N):N===S,j=N=>{const k=Array.isArray(S)?S.includes(N)?S.filter(K=>K!==N):[...S,N]:N===S?null:N;I(k)};return t.createElement(r.e,{value:{isItemActive:x,onChange:j,getControlId:(0,n.AS)(`${q}-control`,a.f.value),getRegionId:(0,n.AS)(`${q}-panel`,a.f.value),transitionDuration:l,disableChevronRotation:s,chevronPosition:c,chevronSize:u,order:_,chevron:A,loop:f,variant:g,radius:y,classNames:W,styles:E,unstyled:T}},p)}},56057:(D,b,e)=>{"use strict";e.d(b,{D:()=>d});var t=e(7294),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(M,O,z)=>O in M?n(M,O,{enumerable:!0,configurable:!0,writable:!0,value:z}):M[O]=z,p=(M,O)=>{for(var z in O||(O={}))r.call(O,z)&&i(M,z,O[z]);if(o)for(var z of o(O))a.call(O,z)&&i(M,z,O[z]);return M};function d(M){return t.createElement("svg",p({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem"},M),t.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}},41281:(D,b,e)=>{"use strict";e.d(b,{A:()=>c});var t=e(7294),n=e(99275),o=e(92159),r=e(7853),a=e(30762),i=e(56354),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(u,_,A)=>_ in u?p(u,_,{enumerable:!0,configurable:!0,writable:!0,value:A}):u[_]=A,m=(u,_)=>{for(var A in _||(_={}))M.call(_,A)&&z(u,A,_[A]);if(d)for(var A of d(_))O.call(_,A)&&z(u,A,_[A]);return u},f=(u,_)=>{var A={};for(var g in u)M.call(u,g)&&_.indexOf(g)<0&&(A[g]=u[g]);if(u!=null&&d)for(var g of d(u))_.indexOf(g)<0&&O.call(u,g)&&(A[g]=u[g]);return A};const l={color:"gray",size:"md",variant:"subtle"},s=(0,t.forwardRef)((u,_)=>{const A=(0,n.N4)("ActionIcon",l,u),{className:g,color:y,children:W,radius:E,size:T,variant:q,gradient:S,disabled:I,loaderProps:x,loading:j,unstyled:N,__staticSelector:k}=A,K=f(A,["className","color","children","radius","size","variant","gradient","disabled","loaderProps","loading","unstyled","__staticSelector"]),{classes:Y,cx:$,theme:u0}=(0,r.ZP)({radius:E,color:y,gradient:S},{name:["ActionIcon",k],unstyled:N,size:T,variant:q}),n0=t.createElement(a.a,m({color:u0.fn.variant({color:y,variant:q}).color,size:"100%","data-action-icon-loader":!0},x));return t.createElement(i.k,m({className:$(Y.root,g),ref:_,disabled:I,"data-disabled":I||void 0,"data-loading":j||void 0,unstyled:N},K),j?n0:W)});s.displayName="@mantine/core/ActionIcon";const c=(0,o.Fm)(s)},7853:(D,b,e)=>{"use strict";e.d(b,{ZP:()=>s});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(c,u,_)=>u in c?n(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,M=(c,u)=>{for(var _ in u||(u={}))i.call(u,_)&&d(c,_,u[_]);if(a)for(var _ of a(u))p.call(u,_)&&d(c,_,u[_]);return c},O=(c,u)=>o(c,r(u));const z=["subtle","filled","outline","light","default","transparent","gradient"],m={xs:(0,t.hO)(18),sm:(0,t.hO)(22),md:(0,t.hO)(28),lg:(0,t.hO)(34),xl:(0,t.hO)(44)};function f({variant:c,theme:u,color:_,gradient:A}){const g=u.fn.variant({color:_,variant:c,gradient:A});return c==="gradient"?{border:0,backgroundImage:g.background,color:g.color,"&:hover":u.fn.hover({backgroundSize:"200%"})}:z.includes(c)?M({border:`${(0,t.hO)(1)} solid ${g.border}`,backgroundColor:g.background,color:g.color},u.fn.hover({backgroundColor:g.hover})):null}var l=(0,t.kc)((c,{radius:u,color:_,gradient:A},{variant:g,size:y})=>({root:O(M({position:"relative",borderRadius:c.fn.radius(u),padding:0,lineHeight:1,display:"flex",alignItems:"center",justifyContent:"center",height:(0,t.ap)({size:y,sizes:m}),minHeight:(0,t.ap)({size:y,sizes:m}),width:(0,t.ap)({size:y,sizes:m}),minWidth:(0,t.ap)({size:y,sizes:m})},f({variant:g,theme:c,color:_,gradient:A})),{"&:active":c.activeStyles,"& [data-action-icon-loader]":{maxWidth:"70%"},"&:disabled, &[data-disabled]":{color:c.colors.gray[c.colorScheme==="dark"?6:4],cursor:"not-allowed",backgroundColor:g==="transparent"?void 0:c.fn.themeColor("gray",c.colorScheme==="dark"?8:1),borderColor:g==="transparent"?void 0:c.fn.themeColor("gray",c.colorScheme==="dark"?8:1),backgroundImage:"none",pointerEvents:"none","&:active":{transform:"none"}},"&[data-loading]":{pointerEvents:"none","&::before":O(M({content:'""'},c.fn.cover((0,t.hO)(-1))),{backgroundColor:c.colorScheme==="dark"?c.fn.rgba(c.colors.dark[7],.5):"rgba(255, 255, 255, .5)",borderRadius:c.fn.radius(u),cursor:"not-allowed"})}})}));const s=l},82846:(D,b,e)=>{"use strict";e.d(b,{D:()=>u});var t=e(7294),n=e(99275),o=e(92159),r=e(83143),a=e(84888),i=Object.defineProperty,p=Object.defineProperties,d=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,m=(_,A,g)=>A in _?i(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,f=(_,A)=>{for(var g in A||(A={}))O.call(A,g)&&m(_,g,A[g]);if(M)for(var g of M(A))z.call(A,g)&&m(_,g,A[g]);return _},l=(_,A)=>p(_,d(A)),s=(_,A)=>{var g={};for(var y in _)O.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&M)for(var y of M(_))A.indexOf(y)<0&&z.call(_,y)&&(g[y]=_[y]);return g};const c={position:{bottom:0,right:0},zIndex:(0,n.wd)("modal"),withinPortal:!0},u=(0,t.forwardRef)((_,A)=>{const g=(0,n.N4)("Affix",c,_),{target:y,position:W,zIndex:E,sx:T,withinPortal:q,portalProps:S}=g,I=s(g,["target","position","zIndex","sx","withinPortal","portalProps"]);return t.createElement(r.q,l(f({},S),{withinPortal:q,target:y}),t.createElement(a.x,f({sx:[f({position:"fixed",zIndex:E},W),...(0,o.RG)(T)],ref:A},I)))});u.displayName="@mantine/core/Affix"},37067:(D,b,e)=>{"use strict";e.d(b,{b:()=>s});var t=e(7294),n=e(99275),o=e(76322),r=e(21116),a=e(84888),i=e(47260),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(c,u,_)=>u in c?p(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,m=(c,u)=>{for(var _ in u||(u={}))M.call(u,_)&&z(c,_,u[_]);if(d)for(var _ of d(u))O.call(u,_)&&z(c,_,u[_]);return c},f=(c,u)=>{var _={};for(var A in c)M.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&d)for(var A of d(c))u.indexOf(A)<0&&O.call(c,A)&&(_[A]=c[A]);return _};const l={variant:"light"},s=(0,t.forwardRef)((c,u)=>{const _=(0,n.N4)("Alert",l,c),{id:A,className:g,title:y,variant:W,children:E,color:T,classNames:q,icon:S,styles:I,onClose:x,radius:j,withCloseButton:N,closeButtonLabel:k,unstyled:K}=_,Y=f(_,["id","className","title","variant","children","color","classNames","icon","styles","onClose","radius","withCloseButton","closeButtonLabel","unstyled"]),{classes:$,cx:u0}=(0,r.Z)({color:T,radius:j},{classNames:q,styles:I,unstyled:K,variant:W,name:"Alert"}),n0=(0,o.Me)(A),i0=y&&`${n0}-title`,t0=`${n0}-body`;return t.createElement(a.x,m({id:n0,role:"alert","aria-labelledby":i0,"aria-describedby":t0,className:u0($.root,$[W],g),ref:u},Y),t.createElement("div",{className:$.wrapper},S&&t.createElement("div",{className:$.icon},S),t.createElement("div",{className:$.body},y&&t.createElement("div",{className:$.title,"data-with-close-button":N||void 0},t.createElement("span",{id:i0,className:$.label},y)),t.createElement("div",{id:t0,className:$.message},E)),N&&t.createElement(i.P,{className:$.closeButton,onClick:x,variant:"transparent",size:16,iconSize:16,"aria-label":k})))});s.displayName="@mantine/core/Alert"},21116:(D,b,e)=>{"use strict";e.d(b,{Z:()=>f});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(l,s,c)=>s in l?n(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,M=(l,s)=>{for(var c in s||(s={}))i.call(s,c)&&d(l,c,s[c]);if(a)for(var c of a(s))p.call(s,c)&&d(l,c,s[c]);return l},O=(l,s)=>o(l,r(s));function z({variant:l,color:s,theme:c}){if(l==="filled")return{backgroundColor:c.fn.variant({variant:"filled",color:s}).background,color:c.white};if(l==="outline"){const u=c.fn.variant({variant:"outline",color:s});return{color:u.color,borderColor:u.border,backgroundColor:c.colorScheme==="dark"?c.colors.dark[6]:c.white}}if(l==="light"){const u=c.fn.variant({variant:"light",color:s});return{backgroundColor:u.background,color:u.color}}return null}var m=(0,t.kc)((l,{radius:s,color:c},{variant:u})=>({root:M(O(M({},l.fn.fontStyles()),{position:"relative",overflow:"hidden",paddingTop:l.spacing.sm,paddingBottom:l.spacing.sm,paddingLeft:l.spacing.md,paddingRight:l.spacing.sm,borderRadius:l.fn.radius(s),border:`${(0,t.hO)(1)} solid transparent`}),z({variant:u,color:c,theme:l})),wrapper:{display:"flex"},body:{flex:1},title:{boxSizing:"border-box",margin:0,marginBottom:l.spacing.xs,display:"flex",alignItems:"center",justifyContent:"space-between",lineHeight:l.lineHeight,fontSize:l.fontSizes.sm,fontWeight:700,"&[data-with-close-button]":{paddingRight:l.spacing.md}},label:{display:"block",overflow:"hidden",textOverflow:"ellipsis"},icon:{lineHeight:1,width:(0,t.hO)(20),height:(0,t.hO)(20),display:"flex",alignItems:"center",justifyContent:"flex-start",marginRight:l.spacing.md,marginTop:1},message:O(M({},l.fn.fontStyles()),{lineHeight:l.lineHeight,textOverflow:"ellipsis",overflow:"hidden",fontSize:l.fontSizes.sm,color:u==="filled"?l.white:l.colorScheme==="dark"?u==="light"?l.white:l.colors.dark[0]:l.black}),closeButton:{width:(0,t.hO)(10),height:(0,t.hO)(10)}}));const f=m},61677:(D,b,e)=>{"use strict";e.d(b,{e:()=>s});var t=e(7294),n=e(99275),o=e(92159),r=e(98793),a=e(26428),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(c,u,_)=>u in c?i(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,z=(c,u)=>{for(var _ in u||(u={}))d.call(u,_)&&O(c,_,u[_]);if(p)for(var _ of p(u))M.call(u,_)&&O(c,_,u[_]);return c},m=(c,u)=>{var _={};for(var A in c)d.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&p)for(var A of p(c))u.indexOf(A)<0&&M.call(c,A)&&(_[A]=c[A]);return _};const f={underline:!0},l=(0,t.forwardRef)((c,u)=>{const _=(0,n.N4)("Anchor",f,c),{component:A,className:g,unstyled:y,variant:W,size:E,color:T,underline:q}=_,S=m(_,["component","className","unstyled","variant","size","color","underline"]),{classes:I,cx:x}=(0,a.Z)({color:T,underline:q},{name:"Anchor",unstyled:y,variant:W,size:E}),j=A==="button"?{type:"button"}:null;return t.createElement(r.x,z(z({component:A||"a",ref:u,className:x(I.root,g),size:E},j),S))});l.displayName="@mantine/core/Anchor";const s=(0,o.Fm)(l)},26428:(D,b,e)=>{"use strict";e.d(b,{Z:()=>O});var t=e(99275),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(z,m,f)=>m in z?n(z,m,{enumerable:!0,configurable:!0,writable:!0,value:f}):z[m]=f,p=(z,m)=>{for(var f in m||(m={}))r.call(m,f)&&i(z,f,m[f]);if(o)for(var f of o(m))a.call(m,f)&&i(z,f,m[f]);return z};function d({theme:z,color:m}){return m==="dimmed"?z.fn.dimmed():z.fn.themeColor(m||z.primaryColor,z.colorScheme==="dark"?4:7,!1,!0)}var M=(0,t.kc)((z,{color:m,underline:f})=>({root:p({backgroundColor:"transparent",cursor:"pointer",padding:0,border:0,color:d({theme:z,color:m})},z.fn.hover({textDecoration:f?"underline":"none"}))}));const O=M},66072:(D,b,e)=>{"use strict";e.d(b,{T:()=>o,_:()=>r});var t=e(7294);const n=(0,t.createContext)({zIndex:1e3,fixed:!1,layout:"default"}),o=n.Provider;function r(){return(0,t.useContext)(n)}},45226:(D,b,e)=>{"use strict";e.d(b,{V:()=>l});var t=e(7294),n=e(99275),o=e(66072),r=e(24829),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={fixed:!0,padding:"md"},l=(0,t.forwardRef)((s,c)=>{const u=(0,n.N4)("AppShell",f,s),{children:_,navbar:A,header:g,footer:y,aside:W,fixed:E,zIndex:T,padding:q,navbarOffsetBreakpoint:S,asideOffsetBreakpoint:I,className:x,styles:j,classNames:N,unstyled:k,hidden:K,layout:Y,variant:$}=u,u0=m(u,["children","navbar","header","footer","aside","fixed","zIndex","padding","navbarOffsetBreakpoint","asideOffsetBreakpoint","className","styles","classNames","unstyled","hidden","layout","variant"]),{classes:n0,cx:i0}=(0,r.Z)({padding:q,fixed:E,navbarOffsetBreakpoint:S,asideOffsetBreakpoint:I},{styles:j,classNames:N,unstyled:k,name:"AppShell",variant:$});return K?t.createElement(t.Fragment,null,_):t.createElement(o.T,{value:{fixed:E,zIndex:T,layout:Y}},t.createElement(a.x,z({className:i0(n0.root,x),ref:c},u0),g,t.createElement("div",{className:n0.body},A,t.createElement("main",{className:n0.main},_),W),y))});l.displayName="@mantine/core/AppShell"},24829:(D,b,e)=>{"use strict";e.d(b,{Z:()=>O});var t=e(99275),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(z,m,f)=>m in z?n(z,m,{enumerable:!0,configurable:!0,writable:!0,value:f}):z[m]=f,p=(z,m)=>{for(var f in m||(m={}))r.call(m,f)&&i(z,f,m[f]);if(o)for(var f of o(m))a.call(m,f)&&i(z,f,m[f]);return z};function d(z,m){const f=(0,t.ap)({size:z.padding,sizes:m.spacing}),l=z.navbarOffsetBreakpoint?(0,t.ap)({size:z.navbarOffsetBreakpoint,sizes:m.breakpoints}):null,s=z.asideOffsetBreakpoint?(0,t.ap)({size:z.asideOffsetBreakpoint,sizes:m.breakpoints}):null;return z.fixed?{minHeight:"100vh",paddingTop:`calc(var(--mantine-header-height, 0px) + ${f})`,paddingBottom:`calc(var(--mantine-footer-height, 0px) + ${f})`,paddingLeft:`calc(var(--mantine-navbar-width, 0px) + ${f})`,paddingRight:`calc(var(--mantine-aside-width, 0px) + ${f})`,[`@media (max-width: ${(0,t.em)((0,t.oI)(l)-1)})`]:{paddingLeft:f},[`@media (max-width: ${(0,t.em)((0,t.oI)(s)-1)})`]:{paddingRight:f}}:{padding:f}}var M=(0,t.kc)((z,m)=>({root:{boxSizing:"border-box"},body:{display:"flex",boxSizing:"border-box"},main:p({flex:1,width:"100vw",boxSizing:"border-box"},d(m,z))}));const O=M},25721:(D,b,e)=>{"use strict";e.d(b,{x:()=>m});var t=e(7294),n=e(99275),o=e(36521),r=e(20415),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(f,l,s)=>l in f?a(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,O=(f,l)=>{for(var s in l||(l={}))p.call(l,s)&&M(f,s,l[s]);if(i)for(var s of i(l))d.call(l,s)&&M(f,s,l[s]);return f};const z={fixed:!1,position:{top:0,right:0},hiddenBreakpoint:"md",hidden:!1},m=(0,t.forwardRef)((f,l)=>{const s=(0,n.N4)("Aside",z,f);return t.createElement(o.e,O({section:"aside",__staticSelector:"Aside",ref:l},s))});m.Section=r.$,m.displayName="@mantine/core/Aside"},90344:(D,b,e)=>{"use strict";e.d(b,{$:()=>l});var t=e(7294),n=e(99275),o=e(57211),r=Object.defineProperty,a=Object.defineProperties,i=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?r(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>a(s,i(c));const f={fixed:!1,position:{bottom:0,left:0,right:0}},l=(0,t.forwardRef)((s,c)=>{const u=(0,n.N4)("Footer",f,s);return t.createElement(o.Q,m(z({section:"footer",__staticSelector:"Footer"},u),{ref:c}))});l.displayName="@mantine/core/Footer"},38561:(D,b,e)=>{"use strict";e.d(b,{h:()=>l});var t=e(7294),n=e(99275),o=e(57211),r=Object.defineProperty,a=Object.defineProperties,i=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?r(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>a(s,i(c));const f={fixed:!1,position:{top:0,left:0,right:0}},l=(0,t.forwardRef)((s,c)=>{const u=(0,n.N4)("Header",f,s);return t.createElement(o.Q,m(z({section:"header",__staticSelector:"Header"},u),{ref:c}))});l.displayName="@mantine/core/Header"},36521:(D,b,e)=>{"use strict";e.d(b,{e:()=>l});var t=e(7294),n=e(99275),o=e(66072),r=e(287),a=e(83338),i=e(84888),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(s,c,u)=>c in s?p(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,m=(s,c)=>{for(var u in c||(c={}))M.call(c,u)&&z(s,u,c[u]);if(d)for(var u of d(c))O.call(c,u)&&z(s,u,c[u]);return s},f=(s,c)=>{var u={};for(var _ in s)M.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&d)for(var _ of d(s))c.indexOf(_)<0&&O.call(s,_)&&(u[_]=s[_]);return u};const l=(0,t.forwardRef)((s,c)=>{var u=s,{width:_,height:A,fixed:g=!1,position:y,zIndex:W,hiddenBreakpoint:E="md",hidden:T=!1,withBorder:q=!0,className:S,classNames:I,styles:x,children:j,section:N,__staticSelector:k,unstyled:K,variant:Y}=u,$=f(u,["width","height","fixed","position","zIndex","hiddenBreakpoint","hidden","withBorder","className","classNames","styles","children","section","__staticSelector","unstyled","variant"]);const u0=(0,o._)(),{classes:n0,cx:i0,theme:t0}=(0,a.Z)({width:_,height:A,fixed:u0.fixed||g,position:y,hiddenBreakpoint:E,zIndex:W||u0.zIndex||(0,n.wd)("app"),section:N,withBorder:q,layout:u0.layout},{classNames:I,styles:x,name:k,unstyled:K,variant:Y}),J=(0,r.I)(_,t0).reduce((a0,[b0,d0])=>(a0[`@media (min-width: ${(0,n.em)(b0)})`]={[`--mantine-${N}-width`]:(0,n.hO)(d0)},a0),{});return t.createElement(i.x,m({component:N==="navbar"?"nav":"aside",ref:c,"data-hidden":T||void 0,className:i0(n0.root,S)},$),j,t.createElement(n.xB,{styles:()=>({":root":m({[`--mantine-${N}-width`]:_!=null&&_.base?(0,n.hO)(_.base):"0rem"},J)})}))});l.displayName="@mantine/core/HorizontalSection"},83338:(D,b,e)=>{"use strict";e.d(b,{Z:()=>f});var t=e(99275),n=e(287),o=Object.defineProperty,r=Object.defineProperties,a=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?o(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>r(l,a(s)),m=(0,t.kc)((l,{height:s,width:c,fixed:u,position:_,hiddenBreakpoint:A,zIndex:g,section:y,withBorder:W,layout:E})=>{const T=typeof c=="object"&&c!==null?(0,n.I)(c,l).reduce((S,[I,x])=>(S[`@media (min-width: ${(0,t.em)(I)})`]={width:(0,t.hO)(x),minWidth:(0,t.hO)(x)},S),{}):null,q=W?{[y==="navbar"?"borderRight":"borderLeft"]:`${(0,t.hO)(1)} solid ${l.colorScheme==="dark"?l.colors.dark[5]:l.colors.gray[2]}`}:{};return{root:z(O(O(z(O(O({},l.fn.fontStyles()),_),{top:E==="alt"?0:(_==null?void 0:_.top)||"var(--mantine-header-height)",bottom:0,zIndex:g,height:s?(0,t.hO)(s):E==="alt"?"auto":"calc(100vh - var(--mantine-header-height, 0rem) - var(--mantine-footer-height, 0rem))",width:c!=null&&c.base?(0,t.hO)(c==null?void 0:c.base):"100%",position:u?"fixed":"static",boxSizing:"border-box",display:"flex",flexDirection:"column",backgroundColor:l.colorScheme==="dark"?l.colors.dark[7]:l.white}),q),T),{"&[data-hidden]":{[`@media (max-width: ${(0,t.em)((0,t.oI)((0,t.ap)({size:A,sizes:l.breakpoints}))-1)})`]:{display:"none"}}})}});const f=m},20415:(D,b,e)=>{"use strict";e.d(b,{$:()=>m});var t=e(7294),n=e(92159),o=e(84888),r=Object.defineProperty,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?r(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>{var s={};for(var c in f)i.call(f,c)&&l.indexOf(c)<0&&(s[c]=f[c]);if(f!=null&&a)for(var c of a(f))l.indexOf(c)<0&&p.call(f,c)&&(s[c]=f[c]);return s};const z=(0,t.forwardRef)((f,l)=>{var s=f,{children:c,grow:u=!1,sx:_}=s,A=O(s,["children","grow","sx"]);return t.createElement(o.x,M({ref:l,sx:[{flex:u?1:0,boxSizing:"border-box"},...(0,n.RG)(_)]},A),c)});z.displayName="@mantine/core/Section";const m=(0,n.Fm)(z)},287:(D,b,e)=>{"use strict";e.d(b,{I:()=>n});var t=e(99275);function n(o,r){if(!o)return[];const a=Object.keys(o).filter(i=>i!=="base").map(i=>[(0,t.ap)({size:i,sizes:r.breakpoints,units:"em"}),o[i]]);return a.sort((i,p)=>(0,t.oI)(i[0])-(0,t.oI)(p[0])),a}},89304:(D,b,e)=>{"use strict";e.d(b,{w:()=>m});var t=e(7294),n=e(99275),o=e(36521),r=e(20415),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(f,l,s)=>l in f?a(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,O=(f,l)=>{for(var s in l||(l={}))p.call(l,s)&&M(f,s,l[s]);if(i)for(var s of i(l))d.call(l,s)&&M(f,s,l[s]);return f};const z={fixed:!1,position:{top:0,left:0},hiddenBreakpoint:"md",hidden:!1},m=(0,t.forwardRef)((f,l)=>{const s=(0,n.N4)("Navbar",z,f);return t.createElement(o.e,O({section:"navbar",__staticSelector:"Navbar",ref:l},s))});m.Section=r.$,m.displayName="@mantine/core/Navbar"},57211:(D,b,e)=>{"use strict";e.d(b,{Q:()=>l});var t=e(7294),n=e(99275),o=e(66072),r=e(30073),a=e(287),i=e(84888),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(s,c,u)=>c in s?p(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,m=(s,c)=>{for(var u in c||(c={}))M.call(c,u)&&z(s,u,c[u]);if(d)for(var u of d(c))O.call(c,u)&&z(s,u,c[u]);return s},f=(s,c)=>{var u={};for(var _ in s)M.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&d)for(var _ of d(s))c.indexOf(_)<0&&O.call(s,_)&&(u[_]=s[_]);return u};const l=(0,t.forwardRef)((s,c)=>{var u=s,{children:_,className:A,classNames:g,styles:y,height:W,fixed:E=!1,withBorder:T=!0,position:q,zIndex:S,section:I,unstyled:x,__staticSelector:j,variant:N}=u,k=f(u,["children","className","classNames","styles","height","fixed","withBorder","position","zIndex","section","unstyled","__staticSelector","variant"]);const K=(0,o._)(),Y=S||K.zIndex||(0,n.wd)("app"),{classes:$,cx:u0,theme:n0}=(0,r.Z)({height:W,fixed:K.fixed||E,position:q,zIndex:typeof Y=="number"&&K.layout==="default"?Y+1:Y,layout:K.layout,borderPosition:T?I==="header"?"bottom":"top":"none"},{name:j,classNames:g,styles:y,unstyled:x,variant:N}),i0=typeof W=="object"&&W!==null?(0,a.I)(W,n0).reduce((t0,[J,a0])=>(t0[`@media (min-width: ${(0,n.em)(J)})`]={[`--mantine-${I}-height`]:(0,n.hO)(a0)},t0),{}):null;return t.createElement(i.x,m({component:I==="header"?"header":"footer",className:u0($.root,A),ref:c},k),_,t.createElement(n.xB,{styles:()=>({":root":m({[`--mantine-${I}-height`]:typeof W=="object"?(0,n.hO)(W==null?void 0:W.base)||"100%":(0,n.hO)(W)},i0)})}))});l.displayName="@mantine/core/VerticalSection"},30073:(D,b,e)=>{"use strict";e.d(b,{Z:()=>f});var t=e(99275),n=e(287),o=Object.defineProperty,r=Object.defineProperties,a=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?o(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>r(l,a(s)),m=(0,t.kc)((l,{height:s,fixed:c,position:u,zIndex:_,borderPosition:A,layout:g})=>{const y=typeof s=="object"&&s!==null?(0,n.I)(s,l).reduce((W,[E,T])=>(W[`@media (min-width: ${(0,t.em)(E)})`]={height:(0,t.hO)(T),minHeight:(0,t.hO)(T)},W),{}):null;return{root:z(O(z(O(O({},l.fn.fontStyles()),u),{zIndex:_,left:g==="alt"?"var(--mantine-navbar-width, 0)":0,right:g==="alt"?"var(--mantine-aside-width, 0)":0,height:typeof s=="object"?(0,t.hO)(s==null?void 0:s.base)||"100%":(0,t.hO)(s),maxHeight:typeof s=="object"?(0,t.hO)(s==null?void 0:s.base)||"100%":(0,t.hO)(s),position:c?"fixed":"static",boxSizing:"border-box",backgroundColor:l.colorScheme==="dark"?l.colors.dark[7]:l.white}),y),{borderBottom:A==="bottom"?`${(0,t.hO)(1)} solid ${l.colorScheme==="dark"?l.colors.dark[5]:l.colors.gray[2]}`:void 0,borderTop:A==="top"?`${(0,t.hO)(1)} solid ${l.colorScheme==="dark"?l.colors.dark[5]:l.colors.gray[2]}`:void 0})}});const f=m},70427:(D,b,e)=>{"use strict";e.d(b,{o:()=>m});var t=e(7294),n=e(99275),o=e(84888),r=e(787),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(f,l,s)=>l in f?a(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,O=(f,l)=>{for(var s in l||(l={}))p.call(l,s)&&M(f,s,l[s]);if(i)for(var s of i(l))d.call(l,s)&&M(f,s,l[s]);return f},z=(f,l)=>{var s={};for(var c in f)p.call(f,c)&&l.indexOf(c)<0&&(s[c]=f[c]);if(f!=null&&i)for(var c of i(f))l.indexOf(c)<0&&d.call(f,c)&&(s[c]=f[c]);return s};const m=(0,t.forwardRef)((f,l)=>{const s=(0,n.N4)("AspectRatio",{},f),{className:c,ratio:u,children:_,unstyled:A,variant:g}=s,y=z(s,["className","ratio","children","unstyled","variant"]),{classes:W,cx:E}=(0,r.Z)({ratio:u},{name:"AspectRatio",unstyled:A,variant:g});return t.createElement(o.x,O({ref:l,className:E(W.root,c)},y),_)});m.displayName="@mantine/core/AspectRatio"},787:(D,b,e)=>{"use strict";e.d(b,{Z:()=>m});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l)),z=(0,t.kc)((f,{ratio:l})=>({root:{position:"relative",maxWidth:"100%","&::before":{content:'""',height:0,display:"block",paddingBottom:`${1/l*100}%`},"&::after":{content:'""',display:"table",clear:"both"},"& > *:not(style)":O(M({},f.fn.cover()),{overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),"& > img, & > video":{objectFit:"cover"}}}));const m=z},64974:(D,b,e)=>{"use strict";e.d(b,{F:()=>q});var t=e(7294),n=e(76322),o=e(99275),r=e(92159),a=e(13237),i=e(66879),p=e(87301),d=e(75851),M=e(23823),O=e(2818),z=e(66261),m=e(55956),f=Object.defineProperty,l=Object.defineProperties,s=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,A=(S,I,x)=>I in S?f(S,I,{enumerable:!0,configurable:!0,writable:!0,value:x}):S[I]=x,g=(S,I)=>{for(var x in I||(I={}))u.call(I,x)&&A(S,x,I[x]);if(c)for(var x of c(I))_.call(I,x)&&A(S,x,I[x]);return S},y=(S,I)=>l(S,s(I)),W=(S,I)=>{var x={};for(var j in S)u.call(S,j)&&I.indexOf(j)<0&&(x[j]=S[j]);if(S!=null&&c)for(var j of c(S))I.indexOf(j)<0&&_.call(S,j)&&(x[j]=S[j]);return x};function E(S,I){return I.value.toLowerCase().trim().includes(S.toLowerCase().trim())}const T={required:!1,size:"sm",shadow:"sm",limit:5,itemComponent:i.A,transitionProps:{transition:"fade",duration:0},initiallyOpened:!1,filter:E,switchDirectionOnFlip:!1,zIndex:(0,o.wd)("popover"),dropdownPosition:"flip",maxDropdownHeight:"auto",positionDependencies:[]},q=(0,t.forwardRef)((S,I)=>{const x=(0,z.k)("Autocomplete",T,S),{inputProps:j,wrapperProps:N,shadow:k,data:K,limit:Y,value:$,defaultValue:u0,onChange:n0,unstyled:i0,itemComponent:t0,onItemSubmit:J,onKeyDown:a0,onFocus:b0,onBlur:d0,onClick:O0,transitionProps:_0,initiallyOpened:h0,classNames:A0,styles:w0,filter:Z0,nothingFound:Y0,onDropdownClose:J0,onDropdownOpen:g0,withinPortal:B0,switchDirectionOnFlip:E0,zIndex:K0,dropdownPosition:j0,maxDropdownHeight:n1,dropdownComponent:r1,positionDependencies:s1,readOnly:O1,hoverOnSearchChange:A1}=x,v1=W(x,["inputProps","wrapperProps","shadow","data","limit","value","defaultValue","onChange","unstyled","itemComponent","onItemSubmit","onKeyDown","onFocus","onBlur","onClick","transitionProps","initiallyOpened","classNames","styles","filter","nothingFound","onDropdownClose","onDropdownOpen","withinPortal","switchDirectionOnFlip","zIndex","dropdownPosition","maxDropdownHeight","dropdownComponent","positionDependencies","readOnly","hoverOnSearchChange"]),{classes:C1}=(0,O.Z)(null,{classNames:A0,styles:w0,name:"Autocomplete",unstyled:i0}),[E1,x0]=(0,t.useState)(h0),[H0,_1]=(0,t.useState)(-1),[u1,y0]=(0,t.useState)("column"),C0=(0,t.useRef)(null),[U0,V0]=(0,t.useState)(!1),[z1,P1]=(0,n.Ch)({value:$,defaultValue:u0,finalValue:"",onChange:n0}),X0=ue=>{x0(ue);const Re=ue?g0:J0;typeof Re=="function"&&Re()};(0,n.lR)(()=>{_1(A1&&z1?0:-1)},[z1,A1]);const k0=ue=>{P1(ue.value),typeof J=="function"&&J(ue),X0(!1)},e1=K.map(ue=>typeof ue=="string"?{value:ue}:ue),f1=(0,r.jp)({data:(0,M.c)({data:e1,value:z1,limit:Y,filter:Z0})}),q1=ue=>{if(U0)return;typeof a0=="function"&&a0(ue);const Re=u1==="column",De=()=>{_1(de=>de{_1(de=>de>0?de-1:de)};switch(ue.key){case"ArrowUp":{ue.preventDefault(),Re?ve():De();break}case"ArrowDown":{ue.preventDefault(),Re?De():ve();break}case"Enter":{f1[H0]&&E1&&(ue.preventDefault(),P1(f1[H0].value),typeof J=="function"&&J(f1[H0]),X0(!1));break}case"Escape":E1&&(ue.preventDefault(),X0(!1))}},Y1=ue=>{typeof b0=="function"&&b0(ue),X0(!0)},B1=ue=>{typeof d0=="function"&&d0(ue),X0(!1)},Q1=ue=>{typeof O0=="function"&&O0(ue),X0(!0)},re=E1&&(f1.length>0||f1.length===0&&!!Y0);return t.createElement(m.I.Wrapper,y(g({},N),{__staticSelector:"Autocomplete"}),t.createElement(p.v,{opened:re,transitionProps:_0,shadow:"sm",withinPortal:B0,__staticSelector:"Autocomplete",onDirectionChange:y0,switchDirectionOnFlip:E0,zIndex:K0,dropdownPosition:j0,positionDependencies:s1,classNames:A0,styles:w0,unstyled:i0,readOnly:O1,variant:j.variant},t.createElement(p.v.Target,null,t.createElement("div",{className:C1.wrapper,"aria-controls":j.id,onMouseLeave:()=>_1(-1),tabIndex:-1},t.createElement(m.I,y(g(g({type:"search",autoComplete:"off"},j),v1),{readOnly:O1,"data-mantine-stop-propagation":E1,ref:(0,n.Yx)(I,C0),onKeyDown:q1,classNames:A0,styles:w0,__staticSelector:"Autocomplete",value:z1,onChange:ue=>{P1(ue.currentTarget.value),X0(!0)},onFocus:Y1,onBlur:B1,onClick:Q1,onCompositionStart:()=>V0(!0),onCompositionEnd:()=>V0(!1),role:"combobox","aria-haspopup":"listbox","aria-owns":re?`${j.id}-items`:null,"aria-expanded":re,"aria-autocomplete":"list","aria-controls":re?`${j.id}-items`:null,"aria-activedescendant":H0>=0?`${j.id}-${H0}`:null})))),t.createElement(p.v.Dropdown,{component:r1||d.r,maxHeight:n1,direction:u1,id:j.id,__staticSelector:"Autocomplete",classNames:A0,styles:w0},t.createElement(a.j,{data:f1,hovered:H0,classNames:A0,styles:w0,uuid:j.id,__staticSelector:"Autocomplete",onItemHover:_1,onItemSelect:k0,itemComponent:t0,size:j.size,nothingFound:Y0,variant:j.variant}))))});q.displayName="@mantine/core/Autocomplete"},2818:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(()=>({wrapper:{position:"relative"}}));const o=n},23823:(D,b,e)=>{"use strict";e.d(b,{c:()=>t});function t({data:n,limit:o,value:r,filter:a}){const i=[];for(let p=0;p=o));p+=1);return i}},85964:(D,b,e)=>{"use strict";e.d(b,{q:()=>y});var t=e(7294),n=e(99275),o=e(92159),r=e(17707),a=e(50300),i=e(93384),p=e(52668),d=e(84888),M=Object.defineProperty,O=Object.defineProperties,z=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,s=(W,E,T)=>E in W?M(W,E,{enumerable:!0,configurable:!0,writable:!0,value:T}):W[E]=T,c=(W,E)=>{for(var T in E||(E={}))f.call(E,T)&&s(W,T,E[T]);if(m)for(var T of m(E))l.call(E,T)&&s(W,T,E[T]);return W},u=(W,E)=>O(W,z(E)),_=(W,E)=>{var T={};for(var q in W)f.call(W,q)&&E.indexOf(q)<0&&(T[q]=W[q]);if(W!=null&&m)for(var q of m(W))E.indexOf(q)<0&&l.call(W,q)&&(T[q]=W[q]);return T};const A={size:"md",color:"gray",variant:"light"},g=(0,t.forwardRef)((W,E)=>{const T=(0,n.N4)("Avatar",A,W),{className:q,size:S,src:I,alt:x,radius:j,children:N,color:k,variant:K,gradient:Y,classNames:$,styles:u0,imageProps:n0,unstyled:i0}=T,t0=_(T,["className","size","src","alt","radius","children","color","variant","gradient","classNames","styles","imageProps","unstyled"]),J=(0,i.C)(),[a0,b0]=(0,t.useState)(!I),{classes:d0,cx:O0}=(0,p.ZP)({color:k,radius:j,withinGroup:J.withinGroup,spacing:J.spacing,gradient:Y},{classNames:$,styles:u0,unstyled:i0,name:"Avatar",variant:K,size:S});return(0,t.useEffect)(()=>{b0(!I)},[I]),t.createElement(d.x,c({component:"div",className:O0(d0.root,q),ref:E},t0),a0?t.createElement("div",{className:d0.placeholder,title:x},N||t.createElement(r.e,{className:d0.placeholderIcon})):t.createElement("img",u(c({},n0),{className:d0.image,src:I,alt:x,onError:()=>b0(!0)})))});g.displayName="@mantine/core/Avatar",g.Group=a.H;const y=(0,o.Fm)(g)},52668:(D,b,e)=>{"use strict";e.d(b,{ZP:()=>c});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(u,_,A)=>_ in u?n(u,_,{enumerable:!0,configurable:!0,writable:!0,value:A}):u[_]=A,M=(u,_)=>{for(var A in _||(_={}))i.call(_,A)&&d(u,A,_[A]);if(a)for(var A of a(_))p.call(_,A)&&d(u,A,_[A]);return u},O=(u,_)=>o(u,r(_));const z=["filled","light","gradient","outline"],m={xs:(0,t.hO)(16),sm:(0,t.hO)(26),md:(0,t.hO)(38),lg:(0,t.hO)(56),xl:(0,t.hO)(84)};function f({withinGroup:u,spacing:_,theme:A}){return u?{marginLeft:`calc(${(0,t.ap)({size:_,sizes:A.spacing})} * -1)`,backgroundColor:`${A.colorScheme==="dark"?A.colors.dark[7]:A.white}`,border:`${(0,t.hO)(2)} solid ${A.colorScheme==="dark"?A.colors.dark[7]:A.white}`}:null}function l({theme:u,variant:_,color:A,gradient:g}){const y=u.fn.variant({variant:_,color:A,gradient:g});return z.includes(_)?{placeholder:{color:y.color,backgroundColor:y.background,backgroundImage:_==="gradient"?y.background:void 0,border:`${(0,t.hO)(_==="gradient"?0:1)} solid ${y.border}`},placeholderIcon:{color:y.color}}:{}}var s=(0,t.kc)((u,{radius:_,withinGroup:A,spacing:g,color:y,gradient:W},{variant:E,size:T})=>{const q=l({theme:u,color:y,gradient:W,variant:E});return{root:M(O(M({},u.fn.focusStyles()),{WebkitTapHighlightColor:"transparent",boxSizing:"border-box",position:"relative",display:"block",userSelect:"none",overflow:"hidden",borderRadius:u.fn.radius(_),textDecoration:"none",border:0,backgroundColor:"transparent",padding:0,width:(0,t.ap)({size:T,sizes:m}),minWidth:(0,t.ap)({size:T,sizes:m}),height:(0,t.ap)({size:T,sizes:m})}),f({withinGroup:A,spacing:g,theme:u})),image:{objectFit:"cover",width:"100%",height:"100%",display:"block"},placeholder:M(O(M({},u.fn.fontStyles()),{fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",userSelect:"none",borderRadius:u.fn.radius(_),fontSize:`calc(${(0,t.ap)({size:T,sizes:m})} / 2.5)`}),q.placeholder),placeholderIcon:M({width:"70%",height:"70%"},q.placeholderIcon)}});const c=s},93384:(D,b,e)=>{"use strict";e.d(b,{C:()=>f,k:()=>m});var t=e(7294),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(l,s,c)=>s in l?n(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,M=(l,s)=>{for(var c in s||(s={}))i.call(s,c)&&d(l,c,s[c]);if(a)for(var c of a(s))p.call(s,c)&&d(l,c,s[c]);return l},O=(l,s)=>o(l,r(s));const z=(0,t.createContext)(null);function m({spacing:l,children:s}){return t.createElement(z.Provider,{value:{spacing:l}},s)}function f(){const l=(0,t.useContext)(z);return l?O(M({},l),{withinGroup:!0}):{spacing:null,withinGroup:!1}}},50300:(D,b,e)=>{"use strict";e.d(b,{H:()=>l});var t=e(7294),n=e(99275),o=e(93384),r=e(8891),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={},l=(0,t.forwardRef)((s,c)=>{const u=(0,n.N4)("AvatarGroup",f,s),{children:_,spacing:A="sm",unstyled:g,className:y,variant:W}=u,E=m(u,["children","spacing","unstyled","className","variant"]),{classes:T,cx:q}=(0,r.Z)({spacing:A},{name:"AvatarGroup",unstyled:g,variant:W});return t.createElement(o.k,{spacing:A},t.createElement(a.x,z({ref:c,className:q(T.root,y)},E),_))});l.displayName="@mantine/core/AvatarGroup"},8891:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{spacing:a})=>({root:{display:"flex",paddingLeft:(0,t.ap)({size:a,sizes:r.spacing})}}));const o=n},17707:(D,b,e)=>{"use strict";e.d(b,{e:()=>z});var t=e(7294),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(m,f,l)=>f in m?n(m,f,{enumerable:!0,configurable:!0,writable:!0,value:l}):m[f]=l,M=(m,f)=>{for(var l in f||(f={}))i.call(f,l)&&d(m,l,f[l]);if(a)for(var l of a(f))p.call(f,l)&&d(m,l,f[l]);return m},O=(m,f)=>o(m,r(f));function z(m){return t.createElement("svg",O(M({},m),{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),t.createElement("path",{d:"M0.877014 7.49988C0.877014 3.84219 3.84216 0.877045 7.49985 0.877045C11.1575 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1575 14.1227 7.49985 14.1227C3.84216 14.1227 0.877014 11.1575 0.877014 7.49988ZM7.49985 1.82704C4.36683 1.82704 1.82701 4.36686 1.82701 7.49988C1.82701 8.97196 2.38774 10.3131 3.30727 11.3213C4.19074 9.94119 5.73818 9.02499 7.50023 9.02499C9.26206 9.02499 10.8093 9.94097 11.6929 11.3208C12.6121 10.3127 13.1727 8.97172 13.1727 7.49988C13.1727 4.36686 10.6328 1.82704 7.49985 1.82704ZM10.9818 11.9787C10.2839 10.7795 8.9857 9.97499 7.50023 9.97499C6.01458 9.97499 4.71624 10.7797 4.01845 11.9791C4.97952 12.7272 6.18765 13.1727 7.49985 13.1727C8.81227 13.1727 10.0206 12.727 10.9818 11.9787ZM5.14999 6.50487C5.14999 5.207 6.20212 4.15487 7.49999 4.15487C8.79786 4.15487 9.84999 5.207 9.84999 6.50487C9.84999 7.80274 8.79786 8.85487 7.49999 8.85487C6.20212 8.85487 5.14999 7.80274 5.14999 6.50487ZM7.49999 5.10487C6.72679 5.10487 6.09999 5.73167 6.09999 6.50487C6.09999 7.27807 6.72679 7.90487 7.49999 7.90487C8.27319 7.90487 8.89999 7.27807 8.89999 6.50487C8.89999 5.73167 8.27319 5.10487 7.49999 5.10487Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}},49563:(D,b,e)=>{"use strict";e.d(b,{X:()=>_});var t=e(7294),n=e(99275),o=e(92159),r=e(51776),a=e(84888),i=Object.defineProperty,p=Object.defineProperties,d=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,m=(A,g,y)=>g in A?i(A,g,{enumerable:!0,configurable:!0,writable:!0,value:y}):A[g]=y,f=(A,g)=>{for(var y in g||(g={}))O.call(g,y)&&m(A,y,g[y]);if(M)for(var y of M(g))z.call(g,y)&&m(A,y,g[y]);return A},l=(A,g)=>p(A,d(g)),s=(A,g)=>{var y={};for(var W in A)O.call(A,W)&&g.indexOf(W)<0&&(y[W]=A[W]);if(A!=null&&M)for(var W of M(A))g.indexOf(W)<0&&z.call(A,W)&&(y[W]=A[W]);return y};const c={radius:0},u=(0,t.forwardRef)((A,g)=>{const y=(0,n.N4)("BackgroundImage",c,A),{src:W,radius:E,variant:T,unstyled:q,className:S}=y,I=s(y,["src","radius","variant","unstyled","className"]),{classes:x,cx:j}=(0,r.Z)({radius:E,src:W},{name:"BackgroundImage",variant:T,unstyled:q});return t.createElement(a.x,l(f({},I),{ref:g,className:j(x.root,S)}))});u.displayName="@mantine/core/BackgroundImage";const _=(0,o.Fm)(u)},51776:(D,b,e)=>{"use strict";e.d(b,{Z:()=>m});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l)),z=(0,t.kc)((f,{radius:l,src:s})=>({root:O(M({},f.fn.focusStyles()),{backgroundSize:"cover",backgroundPosition:"center",display:"block",width:"100%",border:0,textDecoration:"none",color:f.colorScheme==="dark"?f.colors.dark[0]:f.black,backgroundImage:`url(${s})`,borderRadius:f.fn.radius(l)})}));const m=z},22121:(D,b,e)=>{"use strict";e.d(b,{C:()=>s});var t=e(7294),n=e(99275),o=e(92159),r=e(10185),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(c,u,_)=>u in c?i(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,z=(c,u)=>{for(var _ in u||(u={}))d.call(u,_)&&O(c,_,u[_]);if(p)for(var _ of p(u))M.call(u,_)&&O(c,_,u[_]);return c},m=(c,u)=>{var _={};for(var A in c)d.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&p)for(var A of p(c))u.indexOf(A)<0&&M.call(c,A)&&(_[A]=c[A]);return _};const f={variant:"light",size:"md",radius:"xl"},l=(0,t.forwardRef)((c,u)=>{const _=(0,n.N4)("Badge",f,c),{className:A,color:g,variant:y,fullWidth:W,children:E,size:T,leftSection:q,rightSection:S,radius:I,gradient:x,classNames:j,styles:N,unstyled:k}=_,K=m(_,["className","color","variant","fullWidth","children","size","leftSection","rightSection","radius","gradient","classNames","styles","unstyled"]),{classes:Y,cx:$}=(0,r.Z)({fullWidth:W,color:g,radius:I,gradient:x},{classNames:j,styles:N,name:"Badge",unstyled:k,variant:y,size:T});return t.createElement(a.x,z({className:$(Y.root,A),ref:u},K),q&&t.createElement("span",{className:Y.leftSection},q),t.createElement("span",{className:Y.inner},E),S&&t.createElement("span",{className:Y.rightSection},S))});l.displayName="@mantine/core/Badge";const s=(0,o.Fm)(l)},10185:(D,b,e)=>{"use strict";e.d(b,{Z:()=>c});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(u,_,A)=>_ in u?n(u,_,{enumerable:!0,configurable:!0,writable:!0,value:A}):u[_]=A,M=(u,_)=>{for(var A in _||(_={}))i.call(_,A)&&d(u,A,_[A]);if(a)for(var A of a(_))p.call(_,A)&&d(u,A,_[A]);return u},O=(u,_)=>o(u,r(_));const z=["light","filled","outline","dot","gradient"],m={xs:{fontSize:(0,t.hO)(9),height:(0,t.hO)(16)},sm:{fontSize:(0,t.hO)(10),height:(0,t.hO)(18)},md:{fontSize:(0,t.hO)(11),height:(0,t.hO)(20)},lg:{fontSize:(0,t.hO)(13),height:(0,t.hO)(26)},xl:{fontSize:(0,t.hO)(16),height:(0,t.hO)(32)}},f={xs:(0,t.hO)(4),sm:(0,t.hO)(4),md:(0,t.hO)(6),lg:(0,t.hO)(8),xl:(0,t.hO)(10)};function l({theme:u,variant:_,color:A,size:g,gradient:y}){if(!z.includes(_))return null;if(_==="dot"){const E=(0,t.ap)({size:g,sizes:f});return{backgroundColor:"transparent",color:u.colorScheme==="dark"?u.colors.dark[0]:u.colors.gray[7],border:`${(0,t.hO)(1)} solid ${u.colorScheme==="dark"?u.colors.dark[3]:u.colors.gray[3]}`,paddingLeft:`calc(${(0,t.ap)({size:g,sizes:u.spacing})} / 1.5 - ${E} / 2)`,"&::before":{content:'""',display:"block",width:E,height:E,borderRadius:E,backgroundColor:u.fn.themeColor(A,u.colorScheme==="dark"?4:u.fn.primaryShade("light"),!0),marginRight:E}}}const W=u.fn.variant({color:A,variant:_,gradient:y});return{background:W.background,color:W.color,border:`${(0,t.hO)(_==="gradient"?0:1)} solid ${W.border}`}}var s=(0,t.kc)((u,{color:_,radius:A,gradient:g,fullWidth:y},{variant:W,size:E})=>{const{fontSize:T,height:q}=E in m?m[E]:m.md;return{leftSection:{marginRight:`calc(${u.spacing.xs} / 2)`},rightSection:{marginLeft:`calc(${u.spacing.xs} / 2)`},inner:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},root:M(O(M(M({},u.fn.focusStyles()),u.fn.fontStyles()),{fontSize:T,height:q,WebkitTapHighlightColor:"transparent",lineHeight:`calc(${q} - ${(0,t.hO)(2)})`,textDecoration:"none",padding:`0 calc(${(0,t.ap)({size:E,sizes:u.spacing})} / 1.5)`,boxSizing:"border-box",display:y?"flex":"inline-flex",alignItems:"center",justifyContent:"center",width:y?"100%":"auto",textTransform:"uppercase",borderRadius:u.fn.radius(A),fontWeight:700,letterSpacing:(0,t.hO)(.25),cursor:"inherit",textOverflow:"ellipsis",overflow:"hidden"}),l({theme:u,variant:W,color:_,size:E,gradient:g}))}});const c=s},28105:(D,b,e)=>{"use strict";e.d(b,{V:()=>l});var t=e(7294),n=e(99275),o=e(59193),r=e(36847),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={color:"gray",icon:t.createElement(o.P,null)},l=(0,t.forwardRef)((s,c)=>{const u=(0,n.N4)("Blockquote",f,s),{className:_,color:A,icon:g,cite:y,children:W,classNames:E,styles:T,unstyled:q,variant:S}=u,I=m(u,["className","color","icon","cite","children","classNames","styles","unstyled","variant"]),{classes:x,cx:j}=(0,r.Z)({color:A},{classNames:E,styles:T,unstyled:q,name:"Blockquote",variant:S});return t.createElement(a.x,z({component:"blockquote",className:j(x.root,_),ref:c},I),t.createElement("div",{className:x.inner},g&&t.createElement("div",{className:x.icon},g),t.createElement("div",{className:x.body},W,y&&t.createElement("cite",{className:x.cite},y))))});l.displayName="@mantine/core/Blockquote"},36847:(D,b,e)=>{"use strict";e.d(b,{Z:()=>m});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l)),z=(0,t.kc)((f,{color:l})=>({root:O(M({},f.fn.fontStyles()),{fontSize:f.fontSizes.lg,lineHeight:f.lineHeight,color:f.colorScheme==="dark"?f.colors.dark[0]:f.black,margin:0,borderTopRightRadius:f.radius.sm,borderBottomRightRadius:f.radius.sm,padding:`${f.spacing.md} ${f.spacing.lg}`}),inner:{display:"flex"},body:{flex:1,overflow:"hidden",textOverflow:"ellipsis"},icon:{color:f.fn.variant({variant:"filled",color:l}).background,marginRight:f.spacing.lg,marginTop:(0,t.hO)(2),width:(0,t.hO)(22)},cite:{display:"block",fontSize:f.fontSizes.sm,marginTop:f.spacing.xs,color:f.colorScheme==="dark"?f.colors.dark[2]:f.colors.gray[6],overflow:"hidden",textOverflow:"ellipsis"}}));const m=z},59193:(D,b,e)=>{"use strict";e.d(b,{P:()=>M});var t=e(7294),n=e(99275),o=Object.defineProperty,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,p=(O,z,m)=>z in O?o(O,z,{enumerable:!0,configurable:!0,writable:!0,value:m}):O[z]=m,d=(O,z)=>{for(var m in z||(z={}))a.call(z,m)&&p(O,m,z[m]);if(r)for(var m of r(z))i.call(z,m)&&p(O,m,z[m]);return O};function M(O){return t.createElement("svg",d({width:(0,n.hO)(20),height:(0,n.hO)(20),viewBox:"0 0 409.294 409.294",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},O),t.createElement("path",{d:"M0 204.647v175.412h175.412V204.647H58.471c0-64.48 52.461-116.941 116.941-116.941V29.235C78.684 29.235 0 107.919 0 204.647zM409.294 87.706V29.235c-96.728 0-175.412 78.684-175.412 175.412v175.412h175.412V204.647H292.353c0-64.48 52.461-116.941 116.941-116.941z"}))}},84888:(D,b,e)=>{"use strict";e.d(b,{x:()=>f});var t=e(7294),n=e(92159),o=e(12756),r=e(69600),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m=(0,t.forwardRef)((l,s)=>{var c=l,{className:u,component:_,style:A,sx:g}=c,y=z(c,["className","component","style","sx"]);const{systemStyles:W,rest:E}=(0,o.x)(y),T=_||"div";return t.createElement(T,O({ref:s,className:(0,r.m)(g,W,u),style:A},E))});m.displayName="@mantine/core/Box";const f=(0,n.Fm)(m)},12756:(D,b,e)=>{"use strict";e.d(b,{x:()=>i});var t=e(99275),n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,a=(p,d)=>{var M={};for(var O in p)o.call(p,O)&&d.indexOf(O)<0&&(M[O]=p[O]);if(p!=null&&n)for(var O of n(p))d.indexOf(O)<0&&r.call(p,O)&&(M[O]=p[O]);return M};function i(p){const d=p,{m:M,mx:O,my:z,mt:m,mb:f,ml:l,mr:s,p:c,px:u,py:_,pt:A,pb:g,pl:y,pr:W,bg:E,c:T,opacity:q,ff:S,fz:I,fw:x,lts:j,ta:N,lh:k,fs:K,tt:Y,td:$,w:u0,miw:n0,maw:i0,h:t0,mih:J,mah:a0,bgsz:b0,bgp:d0,bgr:O0,bga:_0,pos:h0,top:A0,left:w0,bottom:Z0,right:Y0,inset:J0,display:g0}=d,B0=a(d,["m","mx","my","mt","mb","ml","mr","p","px","py","pt","pb","pl","pr","bg","c","opacity","ff","fz","fw","lts","ta","lh","fs","tt","td","w","miw","maw","h","mih","mah","bgsz","bgp","bgr","bga","pos","top","left","bottom","right","inset","display"]);return{systemStyles:(0,t.L6)({m:M,mx:O,my:z,mt:m,mb:f,ml:l,mr:s,p:c,px:u,py:_,pt:A,pb:g,pl:y,pr:W,bg:E,c:T,opacity:q,ff:S,fz:I,fw:x,lts:j,ta:N,lh:k,fs:K,tt:Y,td:$,w:u0,miw:n0,maw:i0,h:t0,mih:J,mah:a0,bgsz:b0,bgp:d0,bgr:O0,bga:_0,pos:h0,top:A0,left:w0,bottom:Z0,right:Y0,inset:J0,display:g0}),rest:B0}}},56325:(D,b,e)=>{"use strict";e.d(b,{O:()=>o});var t=e(99275);function n(r,a){const i=Object.keys(r).filter(p=>p!=="base").sort((p,d)=>(0,t.oI)((0,t.ap)({size:p,sizes:a.breakpoints}))-(0,t.oI)((0,t.ap)({size:d,sizes:a.breakpoints})));return"base"in r?["base",...i]:i}function o({value:r,theme:a,getValue:i,property:p}){if(r==null)return;if(typeof r=="object")return n(r,a).reduce((O,z)=>{if(z==="base"&&r.base!==void 0){const f=i(r.base,a);return Array.isArray(p)?(p.forEach(l=>{O[l]=f}),O):(O[p]=f,O)}const m=i(r[z],a);return Array.isArray(p)?(O[a.fn.largerThan(z)]={},p.forEach(f=>{O[a.fn.largerThan(z)][f]=m}),O):(O[a.fn.largerThan(z)]={[p]:m},O)},{});const d=i(r,a);return Array.isArray(p)?p.reduce((M,O)=>(M[O]=d,M),{}):{[p]:d}}},96932:(D,b,e)=>{"use strict";e.d(b,{M:()=>O});var t=e(56325),n=e(37868),o=e(2893),r=Object.defineProperty,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(z,m,f)=>m in z?r(z,m,{enumerable:!0,configurable:!0,writable:!0,value:f}):z[m]=f,M=(z,m)=>{for(var f in m||(m={}))i.call(m,f)&&d(z,f,m[f]);if(a)for(var f of a(m))p.call(m,f)&&d(z,f,m[f]);return z};function O(z,m,f=o.w){return Object.keys(f).reduce((s,c)=>(c in z&&z[c]!==void 0&&s.push((0,t.O)({value:z[c],getValue:n.B[f[c].type],property:f[c].property,theme:m})),s),[]).reduce((s,c)=>(Object.keys(c).forEach(u=>{typeof c[u]=="object"&&c[u]!==null&&u in s?s[u]=M(M({},s[u]),c[u]):s[u]=c[u]}),s),{})}},2893:(D,b,e)=>{"use strict";e.d(b,{w:()=>t});const t={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},mx:{type:"spacing",property:["marginRight","marginLeft"]},my:{type:"spacing",property:["marginTop","marginBottom"]},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},px:{type:"spacing",property:["paddingRight","paddingLeft"]},py:{type:"spacing",property:["paddingTop","paddingBottom"]},bg:{type:"color",property:"background"},c:{type:"color",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"identity",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"identity",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"identity",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"}}},55882:(D,b,e)=>{"use strict";e.d(b,{R:()=>t});function t(n,o){return n==="dimmed"?o.colorScheme==="dark"?o.colors.dark[2]:o.colors.gray[6]:o.fn.variant({variant:"filled",color:n,primaryFallback:!1}).background}},89663:(D,b,e)=>{"use strict";e.d(b,{T:()=>n,y:()=>o});var t=e(99275);function n(r){return(0,t.hO)(r)}function o(r){return r}},7703:(D,b,e)=>{"use strict";e.d(b,{m:()=>n});var t=e(99275);function n(o,r){return(0,t.ap)({size:o,sizes:r.fontSizes})}},64985:(D,b,e)=>{"use strict";e.d(b,{H:()=>o});var t=e(99275);const n=["-xs","-sm","-md","-lg","-xl"];function o(r,a){return n.includes(r)?`calc(${(0,t.ap)({size:r.replace("-",""),sizes:a.spacing})} * -1)`:(0,t.ap)({size:r,sizes:a.spacing})}},37868:(D,b,e)=>{"use strict";e.d(b,{B:()=>a});var t=e(55882),n=e(89663),o=e(7703),r=e(64985);const a={identity:n.y,color:t.R,size:n.T,fontSize:o.m,spacing:r.H}},69600:(D,b,e)=>{"use strict";e.d(b,{m:()=>r});var t=e(99275),n=e(96932);function o(a,i){return typeof a=="function"?a(i):a}function r(a,i,p){const d=(0,t.rZ)(),{css:M,cx:O}=(0,t.Zm)();return Array.isArray(a)?O(p,M((0,n.M)(i,d)),a.map(z=>M(o(z,d)))):O(p,M(o(a,d)),M((0,n.M)(i,d)))}},41490:(D,b,e)=>{"use strict";e.d(b,{O:()=>s});var t=e(7294),n=e(99275),o=e(92159),r=e(3153),a=e(98793),i=e(84888),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(c,u,_)=>u in c?p(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,m=(c,u)=>{for(var _ in u||(u={}))M.call(u,_)&&z(c,_,u[_]);if(d)for(var _ of d(u))O.call(u,_)&&z(c,_,u[_]);return c},f=(c,u)=>{var _={};for(var A in c)M.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&d)for(var A of d(c))u.indexOf(A)<0&&O.call(c,A)&&(_[A]=c[A]);return _};const l={separator:"/"},s=(0,t.forwardRef)((c,u)=>{const _=(0,n.N4)("Breadcrumbs",l,c),{className:A,children:g,separator:y,classNames:W,styles:E,unstyled:T,variant:q}=_,S=f(_,["className","children","separator","classNames","styles","unstyled","variant"]),{classes:I,cx:x}=(0,r.Z)(null,{classNames:W,styles:E,unstyled:T,name:"Breadcrumbs",variant:q}),j=t.Children.toArray(g).reduce((N,k,K,Y)=>{var $;const u0=(0,o.kK)(k)?t.cloneElement(k,{className:x(I.breadcrumb,($=k.props)==null?void 0:$.className),key:K}):t.createElement("div",{className:I.breadcrumb,key:K},k);return N.push(u0),K!==Y.length-1&&N.push(t.createElement(a.x,{size:"sm",className:I.separator,key:`separator-${K}`},y)),N},[]);return t.createElement(i.x,m({className:x(I.root,A),ref:u},S),j)});s.displayName="@mantine/core/Breadcrumbs"},3153:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(r=>({root:{display:"flex",alignItems:"center"},breadcrumb:{lineHeight:1,whiteSpace:"nowrap",WebkitTapHighlightColor:"transparent"},separator:{marginLeft:r.spacing.xs,marginRight:r.spacing.xs,color:r.colorScheme==="dark"?r.colors.dark[2]:r.colors.gray[7],lineHeight:1,display:"flex",alignItems:"center",justifyContent:"center"}}));const o=n},9406:(D,b,e)=>{"use strict";e.d(b,{O:()=>f});var t=e(7294),n=e(99275),o=e(15583),r=e(56354),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={size:"md",transitionDuration:300},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("Burger",m,l),{className:u,opened:_,color:A,size:g,classNames:y,styles:W,transitionDuration:E,variant:T}=c,q=z(c,["className","opened","color","size","classNames","styles","transitionDuration","variant"]),{classes:S,cx:I}=(0,o.Z)({color:A,transitionDuration:E},{classNames:y,styles:W,name:"Burger",variant:T,size:g});return t.createElement(r.k,O({className:I(S.root,u),ref:s},q),t.createElement("div",{"data-opened":_||void 0,className:S.burger}))});f.displayName="@mantine/core/Burger"},15583:(D,b,e)=>{"use strict";e.d(b,{Z:()=>r});var t=e(99275);const n={xs:(0,t.hO)(12),sm:(0,t.hO)(18),md:(0,t.hO)(24),lg:(0,t.hO)(34),xl:(0,t.hO)(42)};var o=(0,t.kc)((a,{color:i,transitionDuration:p},{size:d})=>{const M=(0,t.ap)({size:d,sizes:n}),O=i||(a.colorScheme==="dark"?a.white:a.black);return{root:{borderRadius:a.radius.sm,width:`calc(${M} + ${a.spacing.xs})`,height:`calc(${M} + ${a.spacing.xs})`,padding:`calc(${a.spacing.xs} / 2)`,cursor:"pointer"},burger:{position:"relative",userSelect:"none",boxSizing:"border-box","&, &::before, &::after":{display:"block",width:M,height:`calc(${M} / 12)`,backgroundColor:O,outline:`${(0,t.hO)(1)} solid transparent`,transitionProperty:"background-color, transform",transitionDuration:`${p}ms`,"@media (prefers-reduced-motion)":{transitionDuration:a.respectReducedMotion?"0ms":void 0}},"&::before, &::after":{position:"absolute",content:'""',left:0},"&::before":{top:`calc((${M} / 3) * -1)`},"&::after":{top:`calc(${M} / 3)`},"&[data-opened]":{backgroundColor:"transparent","&::before":{transform:`translateY(calc(${M} / 3)) rotate(45deg)`},"&::after":{transform:`translateY(calc(-${M} / 3)) rotate(-45deg)`}}}}});const r=o},80102:(D,b,e)=>{"use strict";e.d(b,{z:()=>u});var t=e(7294),n=e(99275),o=e(92159),r=e(92264),a=e(46398),i=e(30762),p=e(56354),d=Object.defineProperty,M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,m=(_,A,g)=>A in _?d(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,f=(_,A)=>{for(var g in A||(A={}))O.call(A,g)&&m(_,g,A[g]);if(M)for(var g of M(A))z.call(A,g)&&m(_,g,A[g]);return _},l=(_,A)=>{var g={};for(var y in _)O.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&M)for(var y of M(_))A.indexOf(y)<0&&z.call(_,y)&&(g[y]=_[y]);return g};const s={size:"sm",type:"button",variant:"filled",loaderPosition:"left"},c=(0,t.forwardRef)((_,A)=>{const g=(0,n.N4)("Button",s,_),{className:y,size:W,color:E,type:T,disabled:q,children:S,leftIcon:I,rightIcon:x,fullWidth:j,variant:N,radius:k,uppercase:K,compact:Y,loading:$,loaderPosition:u0,loaderProps:n0,gradient:i0,classNames:t0,styles:J,unstyled:a0}=g,b0=l(g,["className","size","color","type","disabled","children","leftIcon","rightIcon","fullWidth","variant","radius","uppercase","compact","loading","loaderPosition","loaderProps","gradient","classNames","styles","unstyled"]),{classes:d0,cx:O0,theme:_0}=(0,a.ZP)({radius:k,color:E,fullWidth:j,compact:Y,gradient:i0,withLeftIcon:!!I,withRightIcon:!!x},{name:"Button",unstyled:a0,classNames:t0,styles:J,variant:N,size:W}),h0=_0.fn.variant({color:E,variant:N}),A0=t.createElement(i.a,f({color:h0.color,size:`calc(${(0,n.ap)({size:W,sizes:a.J7}).height} / 2)`},n0));return t.createElement(p.k,f({className:O0(d0.root,y),type:T,disabled:q,"data-button":!0,"data-disabled":q||void 0,"data-loading":$||void 0,ref:A,unstyled:a0},b0),t.createElement("div",{className:d0.inner},(I||$&&u0==="left")&&t.createElement("span",{className:O0(d0.icon,d0.leftIcon)},$&&u0==="left"?A0:I),$&&u0==="center"&&t.createElement("span",{className:d0.centerLoader},A0),t.createElement("span",{className:d0.label,style:{textTransform:K?"uppercase":void 0}},S),(x||$&&u0==="right")&&t.createElement("span",{className:O0(d0.icon,d0.rightIcon)},$&&u0==="right"?A0:x)))});c.displayName="@mantine/core/Button",c.Group=r.h;const u=(0,o.Fm)(c)},46398:(D,b,e)=>{"use strict";e.d(b,{J7:()=>f,ZP:()=>_});var t=e(99275),n=e(35227),o=Object.defineProperty,r=Object.defineProperties,a=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(A,g,y)=>g in A?o(A,g,{enumerable:!0,configurable:!0,writable:!0,value:y}):A[g]=y,O=(A,g)=>{for(var y in g||(g={}))p.call(g,y)&&M(A,y,g[y]);if(i)for(var y of i(g))d.call(g,y)&&M(A,y,g[y]);return A},z=(A,g)=>r(A,a(g));const m=["filled","outline","light","white","default","subtle","gradient"],f={xs:{height:n.J.xs,paddingLeft:(0,t.hO)(14),paddingRight:(0,t.hO)(14)},sm:{height:n.J.sm,paddingLeft:(0,t.hO)(18),paddingRight:(0,t.hO)(18)},md:{height:n.J.md,paddingLeft:(0,t.hO)(22),paddingRight:(0,t.hO)(22)},lg:{height:n.J.lg,paddingLeft:(0,t.hO)(26),paddingRight:(0,t.hO)(26)},xl:{height:n.J.xl,paddingLeft:(0,t.hO)(32),paddingRight:(0,t.hO)(32)},"compact-xs":{height:(0,t.hO)(22),paddingLeft:(0,t.hO)(7),paddingRight:(0,t.hO)(7)},"compact-sm":{height:(0,t.hO)(26),paddingLeft:(0,t.hO)(8),paddingRight:(0,t.hO)(8)},"compact-md":{height:(0,t.hO)(30),paddingLeft:(0,t.hO)(10),paddingRight:(0,t.hO)(10)},"compact-lg":{height:(0,t.hO)(34),paddingLeft:(0,t.hO)(12),paddingRight:(0,t.hO)(12)},"compact-xl":{height:(0,t.hO)(40),paddingLeft:(0,t.hO)(14),paddingRight:(0,t.hO)(14)}};function l({compact:A,size:g,withLeftIcon:y,withRightIcon:W}){if(A)return f[`compact-${g}`];const E=f[g];return E?z(O({},E),{paddingLeft:y?`calc(${E.paddingLeft} / 1.5)`:E.paddingLeft,paddingRight:W?`calc(${E.paddingRight} / 1.5)`:E.paddingRight}):{}}const s=A=>({display:A?"block":"inline-block",width:A?"100%":"auto"});function c({variant:A,theme:g,color:y,gradient:W}){if(!m.includes(A))return null;const E=g.fn.variant({color:y,variant:A,gradient:W});return A==="gradient"?O({border:0,backgroundImage:E.background,color:E.color},g.fn.hover({backgroundSize:"200%"})):O({border:`${(0,t.hO)(1)} solid ${E.border}`,backgroundColor:E.background,color:E.color},g.fn.hover({backgroundColor:E.hover}))}var u=(0,t.kc)((A,{radius:g,fullWidth:y,compact:W,withLeftIcon:E,withRightIcon:T,color:q,gradient:S},{variant:I,size:x})=>({root:z(O(z(O(O(O(O({},l({compact:W,size:x,withLeftIcon:E,withRightIcon:T})),A.fn.fontStyles()),A.fn.focusStyles()),s(y)),{borderRadius:A.fn.radius(g),fontWeight:600,position:"relative",lineHeight:1,fontSize:(0,t.ap)({size:x,sizes:A.fontSizes}),userSelect:"none",cursor:"pointer"}),c({variant:I,theme:A,color:q,gradient:S})),{"&:active":A.activeStyles,"&:disabled, &[data-disabled]":{borderColor:"transparent",backgroundColor:A.colorScheme==="dark"?A.colors.dark[4]:A.colors.gray[2],color:A.colorScheme==="dark"?A.colors.dark[6]:A.colors.gray[5],cursor:"not-allowed",backgroundImage:"none",pointerEvents:"none","&:active":{transform:"none"}},"&[data-loading]":{pointerEvents:"none","&::before":z(O({content:'""'},A.fn.cover((0,t.hO)(-1))),{backgroundColor:A.colorScheme==="dark"?A.fn.rgba(A.colors.dark[7],.5):"rgba(255, 255, 255, .5)",borderRadius:A.fn.radius(g),cursor:"not-allowed"})}}),icon:{display:"flex",alignItems:"center"},leftIcon:{marginRight:A.spacing.xs},rightIcon:{marginLeft:A.spacing.xs},centerLoader:{position:"absolute",left:"50%",transform:"translateX(-50%)",opacity:.5},inner:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",overflow:"visible"},label:{whiteSpace:"nowrap",height:"100%",overflow:"hidden",display:"flex",alignItems:"center"}}));const _=u},92264:(D,b,e)=>{"use strict";e.d(b,{h:()=>f});var t=e(7294),n=e(99275),o=e(92433),r=e(84888),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={orientation:"horizontal",buttonBorderWidth:1},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("ButtonGroup",m,l),{className:u,orientation:_,buttonBorderWidth:A,unstyled:g}=c,y=z(c,["className","orientation","buttonBorderWidth","unstyled"]),{classes:W,cx:E}=(0,o.Z)({orientation:_,buttonBorderWidth:A},{name:"ButtonGroup",unstyled:g});return t.createElement(r.x,O({className:E(W.root,u),ref:s},y))});f.displayName="@mantine/core/ButtonGroup"},92433:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{orientation:a,buttonBorderWidth:i})=>({root:{display:"flex",flexDirection:a==="vertical"?"column":"row","& [data-button]":{"&:first-of-type:not(:last-of-type)":{borderBottomRightRadius:0,[a==="vertical"?"borderBottomLeftRadius":"borderTopRightRadius"]:0,[a==="vertical"?"borderBottomWidth":"borderRightWidth"]:`calc(${(0,t.hO)(i)} / 2)`},"&:last-of-type:not(:first-of-type)":{borderTopLeftRadius:0,[a==="vertical"?"borderTopRightRadius":"borderBottomLeftRadius"]:0,[a==="vertical"?"borderTopWidth":"borderLeftWidth"]:`calc(${(0,t.hO)(i)} / 2)`},"&:not(:first-of-type):not(:last-of-type)":{borderRadius:0,[a==="vertical"?"borderTopWidth":"borderLeftWidth"]:`calc(${(0,t.hO)(i)} / 2)`,[a==="vertical"?"borderBottomWidth":"borderRightWidth"]:`calc(${(0,t.hO)(i)} / 2)`},"& + [data-button]":{[a==="vertical"?"marginTop":"marginLeft"]:`calc(${i} * -1)`,"@media (min-resolution: 192dpi)":{[a==="vertical"?"marginTop":"marginLeft"]:0}}}}}));const o=n},38252:(D,b,e)=>{"use strict";e.d(b,{C:()=>r,k:()=>o});var t=e(7294);const n=(0,t.createContext)({padding:0}),o=n.Provider,r=()=>(0,t.useContext)(n).padding},49881:(D,b,e)=>{"use strict";e.d(b,{Z:()=>u});var t=e(7294),n=e(99275),o=e(92159),r=e(67889),a=e(26551),i=e(30209),p=e(38252),d=Object.defineProperty,M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,m=(_,A,g)=>A in _?d(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,f=(_,A)=>{for(var g in A||(A={}))O.call(A,g)&&m(_,g,A[g]);if(M)for(var g of M(A))z.call(A,g)&&m(_,g,A[g]);return _},l=(_,A)=>{var g={};for(var y in _)O.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&M)for(var y of M(_))A.indexOf(y)<0&&z.call(_,y)&&(g[y]=_[y]);return g};const s={padding:"md"},c=(0,t.forwardRef)((_,A)=>{const g=(0,n.N4)("Card",s,_),{className:y,padding:W,radius:E,children:T,unstyled:q,variant:S}=g,I=l(g,["className","padding","radius","children","unstyled","variant"]),{classes:x,cx:j}=(0,i.Z)(null,{name:"Card",unstyled:q,variant:S}),N=t.Children.toArray(T),k=N.map((K,Y)=>typeof K=="object"&&K&&"type"in K&&K.type===a.u?(0,t.cloneElement)(K,{variant:S,padding:W,"data-first":Y===0||void 0,"data-last":Y===N.length-1||void 0}):K);return t.createElement(p.k,{value:{padding:W}},t.createElement(r.X,f({className:j(x.root,y),radius:E,p:W,ref:A},I),k))});c.Section=a.u,c.displayName="@mantine/core/Card";const u=(0,o.Fm)(c)},30209:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(r=>({root:{position:"relative",overflow:"hidden",backgroundColor:r.colorScheme==="dark"?r.colors.dark[6]:r.white}}));const o=n},26551:(D,b,e)=>{"use strict";e.d(b,{u:()=>c});var t=e(7294),n=e(99275),o=e(92159),r=e(38252),a=e(48845),i=e(84888),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(u,_,A)=>_ in u?p(u,_,{enumerable:!0,configurable:!0,writable:!0,value:A}):u[_]=A,m=(u,_)=>{for(var A in _||(_={}))M.call(_,A)&&z(u,A,_[A]);if(d)for(var A of d(_))O.call(_,A)&&z(u,A,_[A]);return u},f=(u,_)=>{var A={};for(var g in u)M.call(u,g)&&_.indexOf(g)<0&&(A[g]=u[g]);if(u!=null&&d)for(var g of d(u))_.indexOf(g)<0&&O.call(u,g)&&(A[g]=u[g]);return A};const l={withBorder:!1,inheritPadding:!1},s=(0,t.forwardRef)((u,_)=>{const A=(0,n.N4)("CardSection",l,u),{className:g,withBorder:y,inheritPadding:W,unstyled:E,variant:T}=A,q=f(A,["className","withBorder","inheritPadding","unstyled","variant"]),{classes:S,cx:I}=(0,a.Z)({padding:(0,r.C)(),withBorder:y,inheritPadding:W},{name:"Card",unstyled:E,variant:T});return t.createElement(i.x,m({className:I(S.cardSection,g),ref:_},q))});s.displayName="@mantine/core/CardSection";const c=(0,o.Fm)(s)},48845:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{padding:a,withBorder:i,inheritPadding:p})=>{const d=(0,t.ap)({size:a,sizes:r.spacing}),M=`calc(-1 * ${d})`,O=r.colorScheme==="dark"?r.colors.dark[4]:r.colors.gray[3];return{cardSection:{display:"block",marginLeft:M,marginRight:M,paddingLeft:p?d:void 0,paddingRight:p?d:void 0,borderTop:i?`${(0,t.hO)(1)} solid ${O}`:void 0,borderBottom:i?`${(0,t.hO)(1)} solid ${O}`:void 0,"& + &":{borderTop:0},"&[data-first]":{marginTop:M,borderTop:0,borderBottom:i?`${(0,t.hO)(1)} solid ${O}`:void 0},"&[data-last]":{marginBottom:M,borderBottom:0}}}});const o=n},9094:(D,b,e)=>{"use strict";e.d(b,{M:()=>l});var t=e(7294),n=e(99275),o=e(92159),r=e(4948),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f=(0,t.forwardRef)((s,c)=>{const u=(0,n.N4)("Center",{},s),{inline:_,className:A,unstyled:g,variant:y}=u,W=m(u,["inline","className","unstyled","variant"]),{classes:E,cx:T}=(0,r.Z)({inline:_},{name:"Center",unstyled:g,variant:y});return t.createElement(a.x,z({ref:c,className:T(E.root,A)},W))});f.displayName="@mantine/core/Center";const l=(0,o.Fm)(f)},4948:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{inline:a})=>({root:{display:a?"inline-flex":"flex",alignItems:"center",justifyContent:"center"}}));const o=n},22294:(D,b,e)=>{"use strict";e.d(b,{X:()=>_});var t=e(7294),n=e(99275),o=e(76322),r=e(63739),a=e(65772),i=e(56183),p=e(87901),d=e(12756),M=e(10204),O=Object.defineProperty,z=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(A,g,y)=>g in A?O(A,g,{enumerable:!0,configurable:!0,writable:!0,value:y}):A[g]=y,s=(A,g)=>{for(var y in g||(g={}))m.call(g,y)&&l(A,y,g[y]);if(z)for(var y of z(g))f.call(g,y)&&l(A,y,g[y]);return A},c=(A,g)=>{var y={};for(var W in A)m.call(A,W)&&g.indexOf(W)<0&&(y[W]=A[W]);if(A!=null&&z)for(var W of z(A))g.indexOf(W)<0&&f.call(A,W)&&(y[W]=A[W]);return y};const u={size:"sm",transitionDuration:100,icon:i.P,labelPosition:"right"},_=(0,t.forwardRef)((A,g)=>{const y=(0,n.N4)("Checkbox",u,A),{className:W,style:E,sx:T,checked:q,disabled:S,color:I,label:x,indeterminate:j,id:N,size:k,radius:K,wrapperProps:Y,children:$,classNames:u0,styles:n0,transitionDuration:i0,icon:t0,unstyled:J,labelPosition:a0,description:b0,error:d0,variant:O0}=y,_0=c(y,["className","style","sx","checked","disabled","color","label","indeterminate","id","size","radius","wrapperProps","children","classNames","styles","transitionDuration","icon","unstyled","labelPosition","description","error","variant"]),h0=(0,r.J)(),A0=(0,o.Me)(N),{systemStyles:w0,rest:Z0}=(0,d.x)(_0),{classes:Y0}=(0,p.Z)({radius:K,color:I,transitionDuration:i0,labelPosition:a0,error:!!d0,indeterminate:j},{name:"Checkbox",classNames:u0,styles:n0,unstyled:J,variant:O0,size:(h0==null?void 0:h0.size)||k}),J0=h0?{checked:h0.value.includes(Z0.value),onChange:h0.onChange}:{};return t.createElement(M.Z,s(s({className:W,sx:T,style:E,id:A0,size:(h0==null?void 0:h0.size)||k,labelPosition:a0,label:x,description:b0,error:d0,disabled:S,__staticSelector:"Checkbox",classNames:u0,styles:n0,unstyled:J,"data-checked":J0.checked||void 0,variant:O0},w0),Y),t.createElement("div",{className:Y0.inner},t.createElement("input",s(s({id:A0,ref:g,type:"checkbox",className:Y0.input,checked:q,disabled:S},Z0),J0)),t.createElement(t0,{indeterminate:j,className:Y0.icon})))});_.displayName="@mantine/core/Checkbox",_.Group=a.c},87901:(D,b,e)=>{"use strict";e.d(b,{Z:()=>f});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(l,s,c)=>s in l?n(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,M=(l,s)=>{for(var c in s||(s={}))i.call(s,c)&&d(l,c,s[c]);if(a)for(var c of a(s))p.call(s,c)&&d(l,c,s[c]);return l},O=(l,s)=>o(l,r(s));const z={xs:(0,t.hO)(16),sm:(0,t.hO)(20),md:(0,t.hO)(24),lg:(0,t.hO)(30),xl:(0,t.hO)(36)};var m=(0,t.kc)((l,{radius:s,color:c,transitionDuration:u,labelPosition:_,error:A,indeterminate:g},{size:y})=>{const W=(0,t.ap)({size:y,sizes:z}),E=l.fn.variant({variant:"filled",color:c});return{icon:O(M({},l.fn.cover()),{ref:(0,t.Ao)("icon"),color:g?"inherit":l.white,transform:g?"none":`translateY(${(0,t.hO)(5)}) scale(0.5)`,opacity:g?1:0,transitionProperty:"opacity, transform",transitionTimingFunction:"ease",transitionDuration:`${u}ms`,pointerEvents:"none",width:"60%",position:"absolute",zIndex:1,margin:"auto","@media (prefers-reduced-motion)":{transitionDuration:l.respectReducedMotion?"0ms":void 0}}),inner:{position:"relative",width:W,height:W,order:_==="left"?2:1},input:O(M({},l.fn.focusStyles()),{appearance:"none",backgroundColor:l.colorScheme==="dark"?l.colors.dark[6]:l.white,border:`${(0,t.hO)(1)} solid ${A?l.fn.variant({variant:"filled",color:"red"}).background:l.colorScheme==="dark"?l.colors.dark[4]:l.colors.gray[4]}`,width:W,height:W,borderRadius:l.fn.radius(s),padding:0,display:"block",margin:0,transition:`border-color ${u}ms ease, background-color ${u}ms ease`,cursor:l.cursorType,"&:checked":{backgroundColor:E.background,borderColor:E.background,[`& + .${(0,t.Ao)("icon")}`]:{opacity:1,color:l.white,transform:"translateY(0) scale(1)"}},"&:disabled":{backgroundColor:l.colorScheme==="dark"?l.colors.dark[4]:l.colors.gray[2],borderColor:l.colorScheme==="dark"?l.colors.dark[6]:l.colors.gray[3],cursor:"not-allowed",[`& + .${(0,t.Ao)("icon")}`]:{color:l.colorScheme==="dark"?l.colors.dark[6]:l.colors.gray[5]}}})}});const f=m},63739:(D,b,e)=>{"use strict";e.d(b,{J:()=>r,z:()=>o});var t=e(7294);const n=(0,t.createContext)(null),o=n.Provider,r=()=>(0,t.useContext)(n)},65772:(D,b,e)=>{"use strict";e.d(b,{c:()=>l});var t=e(7294),n=e(76322),o=e(99275),r=e(63739),a=e(55956),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={size:"sm"},l=(0,t.forwardRef)((s,c)=>{const u=(0,o.N4)("CheckboxGroup",f,s),{children:_,value:A,defaultValue:g,onChange:y,size:W,wrapperProps:E}=u,T=m(u,["children","value","defaultValue","onChange","size","wrapperProps"]),[q,S]=(0,n.Ch)({value:A,defaultValue:g,finalValue:[],onChange:y}),I=x=>{const j=x.currentTarget.value;S(q.includes(j)?q.filter(N=>N!==j):[...q,j])};return t.createElement(r.z,{value:{value:q,onChange:I,size:W}},t.createElement(a.I.Wrapper,z(z({labelElement:"div",size:W,__staticSelector:"CheckboxGroup",ref:c},E),T),_))});l.displayName="@mantine/core/CheckboxGroup"},56183:(D,b,e)=>{"use strict";e.d(b,{P:()=>O,n:()=>M});var t=e(7294),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(z,m,f)=>m in z?n(z,m,{enumerable:!0,configurable:!0,writable:!0,value:f}):z[m]=f,p=(z,m)=>{for(var f in m||(m={}))r.call(m,f)&&i(z,f,m[f]);if(o)for(var f of o(m))a.call(m,f)&&i(z,f,m[f]);return z},d=(z,m)=>{var f={};for(var l in z)r.call(z,l)&&m.indexOf(l)<0&&(f[l]=z[l]);if(z!=null&&o)for(var l of o(z))m.indexOf(l)<0&&a.call(z,l)&&(f[l]=z[l]);return f};function M(z){return t.createElement("svg",p({viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z),t.createElement("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}function O(z){var m=z,{indeterminate:f}=m,l=d(m,["indeterminate"]);return f?t.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 6"},l),t.createElement("rect",{width:"32",height:"6",fill:"currentColor",rx:"3"})):t.createElement(M,p({},l))}},55022:(D,b,e)=>{"use strict";e.d(b,{A:()=>_});var t=e(7294),n=e(76322),o=e(99275),r=e(71461),a=e(1612),i=e(64021),p=e(12756),d=e(84888),M=e(56183),O=Object.defineProperty,z=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(A,g,y)=>g in A?O(A,g,{enumerable:!0,configurable:!0,writable:!0,value:y}):A[g]=y,s=(A,g)=>{for(var y in g||(g={}))m.call(g,y)&&l(A,y,g[y]);if(z)for(var y of z(g))f.call(g,y)&&l(A,y,g[y]);return A},c=(A,g)=>{var y={};for(var W in A)m.call(A,W)&&g.indexOf(W)<0&&(y[W]=A[W]);if(A!=null&&z)for(var W of z(A))g.indexOf(W)<0&&f.call(A,W)&&(y[W]=A[W]);return y};const u={type:"checkbox",size:"sm",radius:"xl",variant:"outline"},_=(0,t.forwardRef)((A,g)=>{const y=(0,o.N4)("Chip",u,A),{radius:W,type:E,size:T,variant:q,disabled:S,id:I,color:x,children:j,className:N,classNames:k,style:K,styles:Y,checked:$,defaultChecked:u0,onChange:n0,sx:i0,wrapperProps:t0,value:J,unstyled:a0}=y,b0=c(y,["radius","type","size","variant","disabled","id","color","children","className","classNames","style","styles","checked","defaultChecked","onChange","sx","wrapperProps","value","unstyled"]),d0=(0,a.H)(),O0=(0,n.Me)(I),{systemStyles:_0,rest:h0}=(0,p.x)(b0),{classes:A0,cx:w0}=(0,i.Z)({radius:W,color:x},{classNames:k,styles:Y,unstyled:a0,name:"Chip",variant:q,size:T}),[Z0,Y0]=(0,n.Ch)({value:$,defaultValue:u0,finalValue:!1,onChange:n0}),J0=d0?{checked:d0.isChipSelected(J),onChange:d0.onChange,type:d0.multiple?"checkbox":"radio"}:{},g0=J0.checked||Z0;return t.createElement(d.x,s(s({className:w0(A0.root,N),style:K,sx:i0},_0),t0),t.createElement("input",s(s({type:E,className:A0.input,checked:g0,onChange:B0=>Y0(B0.currentTarget.checked),id:O0,disabled:S,ref:g,value:J},J0),h0)),t.createElement("label",{htmlFor:O0,"data-checked":g0||void 0,"data-disabled":S||void 0,className:A0.label},g0&&t.createElement("span",{className:A0.iconWrapper},t.createElement(M.n,{className:A0.checkIcon})),j))});_.displayName="@mantine/core/Chip",_.Group=r.Z},64021:(D,b,e)=>{"use strict";e.d(b,{Z:()=>u});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(_,A,g)=>A in _?n(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,M=(_,A)=>{for(var g in A||(A={}))i.call(A,g)&&d(_,g,A[g]);if(a)for(var g of a(A))p.call(A,g)&&d(_,g,A[g]);return _},O=(_,A)=>o(_,r(A));const z={xs:(0,t.hO)(24),sm:(0,t.hO)(28),md:(0,t.hO)(32),lg:(0,t.hO)(36),xl:(0,t.hO)(40)},m={xs:(0,t.hO)(10),sm:(0,t.hO)(12),md:(0,t.hO)(14),lg:(0,t.hO)(16),xl:(0,t.hO)(18)},f={xs:(0,t.hO)(16),sm:(0,t.hO)(20),md:(0,t.hO)(24),lg:(0,t.hO)(28),xl:(0,t.hO)(32)},l={xs:(0,t.hO)(7.5),sm:(0,t.hO)(10),md:(0,t.hO)(11.5),lg:(0,t.hO)(13),xl:(0,t.hO)(15)};function s(_,{color:A},g){const y=_.fn.variant({variant:"filled",color:A}),W=_.fn.variant({variant:"light",color:A});return g==="light"?{label:M({backgroundColor:_.colorScheme==="dark"?_.colors.dark[6]:_.colors.gray[1]},_.fn.hover({backgroundColor:_.colorScheme==="dark"?_.colors.dark[5]:_.colors.gray[0]})),checked:O(M({color:W.color,backgroundColor:W.background},_.fn.hover({backgroundColor:W.hover})),{"&, &:hover":{backgroundColor:_.fn.variant({variant:"light",color:A}).background}})}:g==="filled"?{label:M({backgroundColor:_.colorScheme==="dark"?_.colors.dark[6]:_.colors.gray[1]},_.fn.hover({backgroundColor:_.colorScheme==="dark"?_.colors.dark[5]:_.colors.gray[0]})),checked:M({color:y.color,backgroundColor:y.background},_.fn.hover({backgroundColor:y.hover}))}:g==="outline"?{label:M({backgroundColor:_.colorScheme==="dark"?_.colors.dark[6]:_.white,borderColor:_.colorScheme==="dark"?_.colors.dark[4]:_.colors.gray[4]},_.fn.hover({backgroundColor:_.colorScheme==="dark"?_.colors.dark[5]:_.colors.gray[0]})),checked:{border:`${(0,t.hO)(1)} solid ${y.background}`}}:{label:null,checked:null}}var c=(0,t.kc)((_,{radius:A,color:g},{size:y,variant:W})=>{const E=s(_,{color:g},W);return{root:{},label:O(M(O(M({ref:(0,t.Ao)("label")},_.fn.fontStyles()),{boxSizing:"border-box",color:_.colorScheme==="dark"?_.colors.dark[0]:_.black,display:"inline-block",alignItems:"center",userSelect:"none",border:`${(0,t.hO)(1)} solid transparent`,borderRadius:_.fn.radius(A),height:(0,t.ap)({size:y,sizes:z}),fontSize:(0,t.ap)({size:y,sizes:_.fontSizes}),lineHeight:`calc(${(0,t.ap)({size:y,sizes:z})} - ${(0,t.hO)(2)})`,paddingLeft:(0,t.ap)({size:y,sizes:f}),paddingRight:(0,t.ap)({size:y,sizes:f}),cursor:"pointer",whiteSpace:"nowrap",transition:"background-color 100ms ease",WebkitTapHighlightColor:"transparent"}),E.label),{"&[data-disabled]":O(M({backgroundColor:_.colorScheme==="dark"?_.colors.dark[5]:_.colors.gray[1],borderColor:_.colorScheme==="dark"?_.colors.dark[5]:_.colors.gray[1],color:_.colorScheme==="dark"?_.colors.dark[3]:_.colors.gray[5],cursor:"not-allowed"},_.fn.hover({backgroundColor:_.colorScheme==="dark"?_.colors.dark[5]:_.colors.gray[1]})),{[`& .${(0,t.Ao)("iconWrapper")}`]:{color:_.colorScheme==="dark"?_.colors.dark[3]:_.colors.gray[5]}}),"&[data-checked]":{paddingLeft:(0,t.ap)({size:y,sizes:l}),paddingRight:(0,t.ap)({size:y,sizes:l}),"&:not([data-disabled])":E.checked}}),iconWrapper:{ref:(0,t.Ao)("iconWrapper"),color:W==="filled"?_.white:_.fn.variant({variant:"filled",color:g}).background,width:`calc(${(0,t.ap)({size:y,sizes:m})} + (${(0,t.ap)({size:y,sizes:_.spacing})} / 1.5))`,maxWidth:`calc(${(0,t.ap)({size:y,sizes:m})} + (${(0,t.ap)({size:y,sizes:_.spacing})} / 1.5))`,height:(0,t.ap)({size:y,sizes:m}),display:"inline-block",verticalAlign:"middle",overflow:"hidden"},checkIcon:{width:(0,t.ap)({size:y,sizes:m}),height:`calc(${(0,t.ap)({size:y,sizes:m})} / 1.1)`,display:"block"},input:{width:0,height:0,padding:0,opacity:0,margin:0,"&:focus":{outline:"none",[`& + .${(0,t.Ao)("label")}`]:M({},_.focusRing==="always"||_.focusRing==="auto"?_.focusRingStyles.styles(_):_.focusRingStyles.resetStyles(_)),"&:focus:not(:focus-visible)":{[`& + .${(0,t.Ao)("label")}`]:M({},_.focusRing==="auto"||_.focusRing==="never"?_.focusRingStyles.resetStyles(_):null)}}}}});const u=c},1612:(D,b,e)=>{"use strict";e.d(b,{A:()=>o,H:()=>r});var t=e(7294);const n=(0,t.createContext)(null),o=n.Provider,r=()=>(0,t.useContext)(n)},71461:(D,b,e)=>{"use strict";e.d(b,{Z:()=>i});var t=e(7294),n=e(76322),o=e(99275),r=e(1612);const a={};function i(p){const{value:d,defaultValue:M,onChange:O,multiple:z,children:m}=(0,o.N4)("ChipGroup",a,p),[f,l]=(0,n.Ch)({value:d,defaultValue:M,finalValue:z?[]:null,onChange:O}),s=u=>Array.isArray(f)?f.includes(u):u===f,c=u=>{const _=u.currentTarget.value;Array.isArray(f)?l(f.includes(_)?f.filter(A=>A!==_):[...f,_]):l(_)};return t.createElement(r.A,{value:{isChipSelected:s,onChange:c,multiple:z}},m)}i.displayName="@mantine/core/ChipGroup"},47260:(D,b,e)=>{"use strict";e.d(b,{P:()=>c});var t=e(7294),n=e(99275),o=e(92159),r=e(41281),a=e(49614),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(u,_,A)=>_ in u?i(u,_,{enumerable:!0,configurable:!0,writable:!0,value:A}):u[_]=A,z=(u,_)=>{for(var A in _||(_={}))d.call(_,A)&&O(u,A,_[A]);if(p)for(var A of p(_))M.call(_,A)&&O(u,A,_[A]);return u},m=(u,_)=>{var A={};for(var g in u)d.call(u,g)&&_.indexOf(g)<0&&(A[g]=u[g]);if(u!=null&&p)for(var g of p(u))_.indexOf(g)<0&&M.call(u,g)&&(A[g]=u[g]);return A};const f={xs:(0,n.hO)(12),sm:(0,n.hO)(16),md:(0,n.hO)(20),lg:(0,n.hO)(28),xl:(0,n.hO)(34)},l={size:"sm"},s=(0,t.forwardRef)((u,_)=>{const A=(0,n.N4)("CloseButton",l,u),{iconSize:g,size:y,children:W}=A,E=m(A,["iconSize","size","children"]),T=(0,n.hO)(g||f[y]);return t.createElement(r.A,z({ref:_,__staticSelector:"CloseButton",size:y},E),W||t.createElement(a.T,{width:T,height:T}))});s.displayName="@mantine/core/CloseButton";const c=(0,o.Fm)(s)},49614:(D,b,e)=>{"use strict";e.d(b,{T:()=>d});var t=e(7294),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(M,O,z)=>O in M?n(M,O,{enumerable:!0,configurable:!0,writable:!0,value:z}):M[O]=z,p=(M,O)=>{for(var z in O||(O={}))r.call(O,z)&&i(M,z,O[z]);if(o)for(var z of o(O))a.call(O,z)&&i(M,z,O[z]);return M};function d(M){return t.createElement("svg",p({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},M),t.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}d.displayName="@mantine/core/CloseIcon"},55735:(D,b,e)=>{"use strict";e.d(b,{E:()=>f});var t=e(7294),n=e(99275),o=e(54834),r=e(84888),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("Code",m,l),{className:u,children:_,block:A,color:g,unstyled:y,variant:W}=c,E=z(c,["className","children","block","color","unstyled","variant"]),{classes:T,cx:q}=(0,o.Z)({color:g},{name:"Code",unstyled:y,variant:W});return A?t.createElement(r.x,O({component:"pre",dir:"ltr",className:q(T.root,T.block,u),ref:s},E),_):t.createElement(r.x,O({component:"code",className:q(T.root,u),ref:s,dir:"ltr"},E),_)});f.displayName="@mantine/core/Code"},54834:(D,b,e)=>{"use strict";e.d(b,{Z:()=>m});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l)),z=(0,t.kc)((f,{color:l})=>{const s=l||(f.colorScheme==="dark"?"dark":"gray"),c=f.fn.variant({color:s,variant:"light"});return{root:O(M({},f.fn.fontStyles()),{lineHeight:f.lineHeight,padding:`${(0,t.hO)(2)} calc(${f.spacing.xs} / 2)`,borderRadius:f.radius.sm,color:f.colorScheme==="dark"?s==="dark"?f.colors.dark[0]:f.white:f.colors.dark[7],backgroundColor:f.colorScheme==="dark"&&s==="dark"?f.colors.dark[5]:c.background,fontFamily:f.fontFamilyMonospace,fontSize:f.fontSizes.xs}),block:{padding:f.spacing.xs,margin:0,overflowX:"auto"}}});const m=z},29407:(D,b,e)=>{"use strict";e.d(b,{U:()=>s});var t=e(7294),n=e(76322),o=e(99275),r=e(77019),a=e(12756),i=e(84888),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(c,u,_)=>u in c?p(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,m=(c,u)=>{for(var _ in u||(u={}))M.call(u,_)&&z(c,_,u[_]);if(d)for(var _ of d(u))O.call(u,_)&&z(c,_,u[_]);return c},f=(c,u)=>{var _={};for(var A in c)M.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&d)for(var A of d(c))u.indexOf(A)<0&&O.call(c,A)&&(_[A]=c[A]);return _};const l={transitionDuration:200,transitionTimingFunction:"ease",animateOpacity:!0},s=(0,t.forwardRef)((c,u)=>{const _=(0,o.N4)("Collapse",l,c),{children:A,in:g,transitionDuration:y,transitionTimingFunction:W,style:E,onTransitionEnd:T,animateOpacity:q}=_,S=f(_,["children","in","transitionDuration","transitionTimingFunction","style","onTransitionEnd","animateOpacity"]),I=(0,o.rZ)(),x=(0,n.JZ)(),N=(I.respectReducedMotion?x:!1)?0:y,{systemStyles:k,rest:K}=(0,a.x)(S),Y=(0,r.z)({opened:g,transitionDuration:N,transitionTimingFunction:W,onTransitionEnd:T});return N===0?g?t.createElement(i.x,m({},K),A):null:t.createElement(i.x,m({},Y(m(m({style:E,ref:u},K),k))),t.createElement("div",{style:{opacity:g||!q?1:0,transition:q?`opacity ${N}ms ${W}`:"none"}},A))});s.displayName="@mantine/core/Collapse"},77019:(D,b,e)=>{"use strict";e.d(b,{z:()=>u});var t=e(7294),n=e(3935),o=e(76322),r=Object.defineProperty,a=Object.defineProperties,i=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(_,A,g)=>A in _?r(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,z=(_,A)=>{for(var g in A||(A={}))d.call(A,g)&&O(_,g,A[g]);if(p)for(var g of p(A))M.call(A,g)&&O(_,g,A[g]);return _},m=(_,A)=>a(_,i(A)),f=(_,A)=>{var g={};for(var y in _)d.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&p)for(var y of p(_))A.indexOf(y)<0&&M.call(_,y)&&(g[y]=_[y]);return g};function l(_){if(!_||typeof _=="string")return 0;const A=_/36;return Math.round((4+15*A**.25+A/5)*10)}function s(_){return _!=null&&_.current?_.current.scrollHeight:"auto"}const c=typeof window<"u"&&window.requestAnimationFrame;function u({transitionDuration:_,transitionTimingFunction:A="ease",onTransitionEnd:g=()=>{},opened:y}){const W=(0,t.useRef)(null),E=0,T={display:"none",height:0,overflow:"hidden"},[q,S]=(0,t.useState)(y?{}:T),I=K=>{(0,n.flushSync)(()=>S(K))},x=K=>{I(Y=>z(z({},Y),K))};function j(K){return{transition:`height ${_||l(K)}ms ${A}`}}(0,o.lR)(()=>{c(y?()=>{x({willChange:"height",display:"block",overflow:"hidden"}),c(()=>{const K=s(W);x(m(z({},j(K)),{height:K}))})}:()=>{const K=s(W);x(m(z({},j(K)),{willChange:"height",height:K})),c(()=>x({height:E,overflow:"hidden"}))})},[y]);const N=K=>{if(!(K.target!==W.current||K.propertyName!=="height"))if(y){const Y=s(W);Y===q.height?I({}):x({height:Y}),g()}else q.height===E&&(I(T),g())};function k(K={}){var Y=K,{style:$={},refKey:u0="ref"}=Y,n0=f(Y,["style","refKey"]);const i0=n0[u0];return m(z({"aria-hidden":!y},n0),{[u0]:(0,o.lq)(W,i0),onTransitionEnd:N,style:z(z({boxSizing:"border-box"},$),q)})}return k}},96610:(D,b,e)=>{"use strict";e.d(b,{T:()=>I});var t=e(7294),n=e(76322),o=e(99275),r=e(92159),a=e(49786),i=e(14903),p=e(66261),d=e(41281),M=e(12549),O=e(66033),z=e(55956),m=e(46512),f=e(15444),l=Object.defineProperty,s=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,g=(x,j,N)=>j in x?l(x,j,{enumerable:!0,configurable:!0,writable:!0,value:N}):x[j]=N,y=(x,j)=>{for(var N in j||(j={}))_.call(j,N)&&g(x,N,j[N]);if(u)for(var N of u(j))A.call(j,N)&&g(x,N,j[N]);return x},W=(x,j)=>s(x,c(j)),E=(x,j)=>{var N={};for(var k in x)_.call(x,k)&&j.indexOf(k)<0&&(N[k]=x[k]);if(x!=null&&u)for(var k of u(x))j.indexOf(k)<0&&A.call(x,k)&&(N[k]=x[k]);return N};const T={xs:(0,o.hO)(16),sm:(0,o.hO)(18),md:(0,o.hO)(22),lg:(0,o.hO)(28),xl:(0,o.hO)(36)},q={xs:(0,o.hO)(14),sm:(0,o.hO)(16),md:(0,o.hO)(18),lg:(0,o.hO)(20),xl:(0,o.hO)(22)},S={size:"sm",format:"hex",fixOnBlur:!0,withPreview:!0,swatchesPerRow:10,withPicker:!0,transitionProps:{transition:"fade",duration:0},dropdownZIndex:(0,o.wd)("popover"),withinPortal:!0,shadow:"md",withEyeDropper:!0},I=(0,t.forwardRef)((x,j)=>{const N=(0,p.k)("ColorInput",S,x),{wrapperProps:k,inputProps:K,format:Y,onChange:$,onChangeEnd:u0,onFocus:n0,onBlur:i0,onClick:t0,value:J,defaultValue:a0,disallowInput:b0,fixOnBlur:d0,withPreview:O0,swatchesPerRow:_0,withPicker:h0,icon:A0,transitionProps:w0,dropdownZIndex:Z0,withinPortal:Y0,portalProps:J0,swatches:g0,shadow:B0,classNames:E0,styles:K0,unstyled:j0,readOnly:n1,withEyeDropper:r1,eyeDropperIcon:s1,rightSection:O1,closeOnColorSwatchClick:A1,disabled:v1}=N,C1=E(N,["wrapperProps","inputProps","format","onChange","onChangeEnd","onFocus","onBlur","onClick","value","defaultValue","disallowInput","fixOnBlur","withPreview","swatchesPerRow","withPicker","icon","transitionProps","dropdownZIndex","withinPortal","portalProps","swatches","shadow","classNames","styles","unstyled","readOnly","withEyeDropper","eyeDropperIcon","rightSection","closeOnColorSwatchClick","disabled"]),E1=(0,o.rZ)(),[x0,H0]=(0,t.useState)(!1),[_1,u1]=(0,t.useState)(""),[y0,C0]=(0,n.Ch)({value:J,defaultValue:a0,finalValue:"",onChange:$}),{supported:U0,open:V0}=(0,n.sn)(),z1=t.createElement(d.A,{sx:{color:E1.colorScheme==="dark"?E1.colors.dark[0]:E1.black},size:K.size,onClick:()=>V0().then(({sRGBHex:e1})=>{const f1=(0,M.Rt)(Y,(0,O.lu)(e1));C0(f1),u0==null||u0(f1)}).catch(r.ZT)},s1||t.createElement(i.i,{size:(0,o.ap)({size:K.size,sizes:q})})),P1=e1=>{n0==null||n0(e1),H0(!0)},X0=e1=>{d0&&C0(_1),i0==null||i0(e1),H0(!1)},k0=e1=>{t0==null||t0(e1),H0(!0)};return(0,t.useEffect)(()=>{((0,O.fi)(y0)||y0.trim()==="")&&u1(y0)},[y0]),(0,n.lR)(()=>{(0,O.fi)(y0)&&C0((0,M.Rt)(Y,(0,O.lu)(y0)))},[Y]),t.createElement(z.I.Wrapper,W(y({},k),{__staticSelector:"ColorInput"}),t.createElement(m.J,{__staticSelector:"ColorInput",position:"bottom-start",offset:5,zIndex:Z0,withinPortal:Y0,portalProps:J0,transitionProps:w0,opened:x0,shadow:B0,classNames:E0,styles:K0,unstyled:j0,disabled:n1||h0===!1&&(!Array.isArray(g0)||g0.length===0)},t.createElement(m.J.Target,null,t.createElement("div",null,t.createElement(z.I,W(y(y({autoComplete:"nope"},C1),K),{disabled:v1,ref:j,__staticSelector:"ColorInput",onFocus:P1,onBlur:X0,onClick:k0,spellCheck:!1,value:y0,onChange:e1=>{const f1=e1.currentTarget.value;C0(f1),(0,O.fi)(f1)&&(u0==null||u0((0,M.Rt)(Y,(0,O.lu)(f1))))},icon:A0||(O0?t.createElement(f.b,{color:(0,O.fi)(y0)?y0:"#fff",size:(0,o.ap)({size:K.size,sizes:T})}):null),readOnly:b0||n1,sx:{cursor:b0?"pointer":void 0},unstyled:j0,classNames:E0,styles:K0,rightSection:O1||(r1&&!v1&&!n1&&U0?z1:null)})))),t.createElement(m.J.Dropdown,{onMouseDown:e1=>e1.preventDefault(),p:K.size},t.createElement(a.z,{__staticSelector:"ColorInput",value:y0,onChange:C0,onChangeEnd:u0,format:Y,swatches:g0,swatchesPerRow:_0,withPicker:h0,size:K.size,focusable:!1,unstyled:j0,styles:K0,classNames:E0,onColorSwatchClick:()=>A1&&H0(!1)}))))});I.displayName="@mantine/core/ColorInput"},14903:(D,b,e)=>{"use strict";e.d(b,{i:()=>M});var t=e(7294),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(O,z,m)=>z in O?n(O,z,{enumerable:!0,configurable:!0,writable:!0,value:m}):O[z]=m,p=(O,z)=>{for(var m in z||(z={}))r.call(z,m)&&i(O,m,z[m]);if(o)for(var m of o(z))a.call(z,m)&&i(O,m,z[m]);return O},d=(O,z)=>{var m={};for(var f in O)r.call(O,f)&&z.indexOf(f)<0&&(m[f]=O[f]);if(O!=null&&o)for(var f of o(O))z.indexOf(f)<0&&a.call(O,f)&&(m[f]=O[f]);return m};function M(O){var z=O,{size:m}=z,f=d(z,["size"]);return t.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",className:"icon icon-tabler icon-tabler-color-picker",width:m,height:m,viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},f),t.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),t.createElement("path",{d:"M11 7l6 6"}),t.createElement("path",{d:"M4 16l11.7 -11.7a1 1 0 0 1 1.4 0l2.6 2.6a1 1 0 0 1 0 1.4l-11.7 11.7h-4v-4z"}))}},85411:(D,b,e)=>{"use strict";e.d(b,{k:()=>c});var t=e(7294),n=e(99275),o=e(24577),r=e(66033),a=Object.defineProperty,i=Object.defineProperties,p=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(u,_,A)=>_ in u?a(u,_,{enumerable:!0,configurable:!0,writable:!0,value:A}):u[_]=A,m=(u,_)=>{for(var A in _||(_={}))M.call(_,A)&&z(u,A,_[A]);if(d)for(var A of d(_))O.call(_,A)&&z(u,A,_[A]);return u},f=(u,_)=>i(u,p(_)),l=(u,_)=>{var A={};for(var g in u)M.call(u,g)&&_.indexOf(g)<0&&(A[g]=u[g]);if(u!=null&&d)for(var g of d(u))_.indexOf(g)<0&&O.call(u,g)&&(A[g]=u[g]);return A};const s={},c=(0,t.forwardRef)((u,_)=>{const A=(0,n.N4)("AlphaSlider",s,u),{value:g,onChange:y,onChangeEnd:W,color:E,__staticSelector:T}=A,q=l(A,["value","onChange","onChangeEnd","color","__staticSelector"]),S=(0,n.rZ)(),I=S.colorScheme==="dark"?S.colors.dark[4]:S.colors.gray[3];return t.createElement(o._,f(m({},q),{ref:_,value:g,onChange:x=>y((0,r.NM)(x,2)),onChangeEnd:x=>W((0,r.NM)(x,2)),maxValue:1,round:!1,__staticSelector:T||"AlphaSlider",overlays:[{backgroundImage:`linear-gradient(45deg, ${I} 25%, transparent 25%), linear-gradient(-45deg, ${I} 25%, transparent 25%), linear-gradient(45deg, transparent 75%, ${I} 75%), linear-gradient(-45deg, ${S.colorScheme==="dark"?S.colors.dark[7]:S.white} 75%, ${I} 75%)`,backgroundSize:`${(0,n.hO)(8)} ${(0,n.hO)(8)}`,backgroundPosition:`0 0, 0 ${(0,n.hO)(4)}, ${(0,n.hO)(4)} -${(0,n.hO)(4)}, -${(0,n.hO)(4)} 0`},{backgroundImage:`linear-gradient(90deg, transparent, ${E})`},{boxShadow:`rgba(0, 0, 0, .1) 0 0 0 ${(0,n.hO)(1)} inset, rgb(0, 0, 0, .15) 0 0 ${(0,n.hO)(4)} inset`}]}))});c.displayName="@mantine/core/AlphaSlider"},49786:(D,b,e)=>{"use strict";e.d(b,{z:()=>q});var t=e(7294),n=e(76322),o=e(99275),r=e(15444),a=e(48562),i=e(85411),p=e(7145),d=e(96597),M=e(42223),O=e(66033),z=e(12549),m=e(84888),f=Object.defineProperty,l=Object.defineProperties,s=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,A=(S,I,x)=>I in S?f(S,I,{enumerable:!0,configurable:!0,writable:!0,value:x}):S[I]=x,g=(S,I)=>{for(var x in I||(I={}))u.call(I,x)&&A(S,x,I[x]);if(c)for(var x of c(I))_.call(I,x)&&A(S,x,I[x]);return S},y=(S,I)=>l(S,s(I)),W=(S,I)=>{var x={};for(var j in S)u.call(S,j)&&I.indexOf(j)<0&&(x[j]=S[j]);if(S!=null&&c)for(var j of c(S))I.indexOf(j)<0&&_.call(S,j)&&(x[j]=S[j]);return x};const E={xs:26,sm:34,md:42,lg:50,xl:54},T={swatchesPerRow:10,size:"sm",withPicker:!0,focusable:!0,__staticSelector:"ColorPicker"},q=(0,t.forwardRef)((S,I)=>{const x=(0,o.N4)("ColorPicker",T,S),{value:j,defaultValue:N,onChange:k,onChangeEnd:K,format:Y,swatches:$,swatchesPerRow:u0,size:n0,withPicker:i0,fullWidth:t0,focusable:J,__staticSelector:a0,saturationLabel:b0,hueLabel:d0,alphaLabel:O0,className:_0,styles:h0,classNames:A0,unstyled:w0,onColorSwatchClick:Z0,variant:Y0}=x,J0=W(x,["value","defaultValue","onChange","onChangeEnd","format","swatches","swatchesPerRow","size","withPicker","fullWidth","focusable","__staticSelector","saturationLabel","hueLabel","alphaLabel","className","styles","classNames","unstyled","onColorSwatchClick","variant"]),{classes:g0,cx:B0}=(0,M.Z)({fullWidth:t0},{classNames:A0,styles:h0,name:a0,unstyled:w0,variant:Y0,size:n0}),E0=(0,t.useRef)(Y),K0=(0,t.useRef)(null),j0=(0,t.useRef)(!0),n1=Y==="hexa"||Y==="rgba"||Y==="hsla",[r1,s1,O1]=(0,n.Ch)({value:j,defaultValue:N,finalValue:"#FFFFFF",onChange:k}),[A1,v1]=(0,t.useState)((0,O.lu)(r1)),C1=E1=>{j0.current=!1,v1(x0=>{const H0=g(g({},x0),E1);return K0.current=(0,z.Rt)(E0.current,H0),H0}),s1(K0.current),setTimeout(()=>{j0.current=!0},0)};return(0,n.lR)(()=>{(0,O.fi)(j)&&j0.current&&(v1((0,O.lu)(j)),j0.current=!0)},[j]),(0,n.lR)(()=>{E0.current=Y,s1((0,z.Rt)(Y,A1))},[Y]),t.createElement(m.x,g({className:B0(g0.wrapper,_0),ref:I},J0),i0&&t.createElement(t.Fragment,null,t.createElement(p.O,{value:A1,onChange:C1,onChangeEnd:({s:E1,v:x0})=>K==null?void 0:K((0,z.Rt)(E0.current,y(g({},A1),{s:E1,v:x0}))),color:r1,styles:h0,classNames:A0,size:n0,focusable:J,saturationLabel:b0,__staticSelector:a0}),t.createElement("div",{className:g0.body},t.createElement("div",{className:g0.sliders},t.createElement(a.Q,{value:A1.h,onChange:E1=>C1({h:E1}),onChangeEnd:E1=>K==null?void 0:K((0,z.Rt)(E0.current,y(g({},A1),{h:E1}))),size:n0,styles:h0,classNames:A0,focusable:J,"aria-label":d0,__staticSelector:a0}),n1&&t.createElement(i.k,{value:A1.a,onChange:E1=>C1({a:E1}),onChangeEnd:E1=>{K==null||K((0,z.Rt)(E0.current,y(g({},A1),{a:E1})))},size:n0,color:(0,z.Rt)("hex",A1),style:{marginTop:(0,o.hO)(6)},styles:h0,classNames:A0,focusable:J,"aria-label":O0,__staticSelector:a0})),n1&&t.createElement(r.b,{color:r1,radius:"sm",size:(0,o.ap)({size:n0,sizes:E}),className:g0.preview}))),Array.isArray($)&&t.createElement(d.y,{data:$,style:{marginTop:(0,o.hO)(5)},swatchesPerRow:u0,focusable:J,classNames:A0,styles:h0,__staticSelector:a0,setValue:s1,onChangeEnd:E1=>{const x0=(0,z.Rt)(Y,(0,O.lu)(E1));Z0==null||Z0(x0),K==null||K(x0),O1||v1((0,O.lu)(E1))}}))});q.displayName="@mantine/core/ColorPicker"},42223:(D,b,e)=>{"use strict";e.d(b,{J:()=>n,Z:()=>r});var t=e(99275);const n={xs:(0,t.hO)(180),sm:(0,t.hO)(200),md:(0,t.hO)(240),lg:(0,t.hO)(280),xl:(0,t.hO)(320)};var o=(0,t.kc)((a,{fullWidth:i},{size:p})=>({preview:{},wrapper:{boxSizing:"border-box",width:i?"100%":(0,t.ap)({size:p,sizes:n}),padding:(0,t.hO)(1)},body:{display:"flex",boxSizing:"border-box",paddingTop:`calc(${(0,t.ap)({size:p,sizes:a.spacing})} / 2)`},sliders:{flex:1,boxSizing:"border-box","&:not(:only-child)":{marginRight:a.spacing.xs}},slider:{boxSizing:"border-box","& + &":{marginTop:(0,t.hO)(5)}},swatch:{cursor:"pointer"}}));const r=o},24577:(D,b,e)=>{"use strict";e.d(b,{_:()=>u});var t=e(7294),n=e(76322),o=e(99275),r=e(19507),a=e(56542),i=e(84888),p=Object.defineProperty,d=Object.defineProperties,M=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(_,A,g)=>A in _?p(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,l=(_,A)=>{for(var g in A||(A={}))z.call(A,g)&&f(_,g,A[g]);if(O)for(var g of O(A))m.call(A,g)&&f(_,g,A[g]);return _},s=(_,A)=>d(_,M(A)),c=(_,A)=>{var g={};for(var y in _)z.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&O)for(var y of O(_))A.indexOf(y)<0&&m.call(_,y)&&(g[y]=_[y]);return g};const u=(0,t.forwardRef)((_,A)=>{var g=_,{value:y,onChange:W,onChangeEnd:E,maxValue:T,round:q,size:S="md",thumbColor:I="transparent",__staticSelector:x="ColorSlider",focusable:j=!0,overlays:N,classNames:k,styles:K,className:Y,unstyled:$,variant:u0}=g,n0=c(g,["value","onChange","onChangeEnd","maxValue","round","size","thumbColor","__staticSelector","focusable","overlays","classNames","styles","className","unstyled","variant"]);const{classes:i0,cx:t0}=(0,a.Z)(null,{classNames:k,styles:K,name:x,unstyled:$,variant:u0,size:S}),[J,a0]=(0,t.useState)({y:0,x:y/T}),b0=(0,t.useRef)(J),d0=w0=>q?Math.round(w0*T):w0*T,{ref:O0}=(0,n.r_)(({x:w0,y:Z0})=>{b0.current={x:w0,y:Z0},W(d0(w0))},{onScrubEnd:()=>{const{x:w0}=b0.current;E(d0(w0))}});(0,n.lR)(()=>{a0({y:0,x:y/T})},[y]);const _0=(w0,Z0)=>{w0.preventDefault();const Y0=(0,n.Ez)(Z0);W(d0(Y0.x)),E(d0(Y0.x))},h0=w0=>{switch(w0.key){case"ArrowRight":{_0(w0,{x:J.x+.05,y:J.y});break}case"ArrowLeft":{_0(w0,{x:J.x-.05,y:J.y});break}}},A0=N.map((w0,Z0)=>t.createElement("div",{className:i0.sliderOverlay,style:w0,key:Z0}));return t.createElement(i.x,s(l({},n0),{ref:(0,n.Yx)(O0,A),className:t0(i0.slider,Y),role:"slider","aria-valuenow":y,"aria-valuemax":T,"aria-valuemin":0,tabIndex:j?0:-1,onKeyDown:h0}),A0,t.createElement(r.b,{__staticSelector:x,classNames:k,styles:K,position:J,style:{top:(0,o.hO)(1),backgroundColor:I},className:i0.sliderThumb,size:S}))});u.displayName="@mantine/core/ColorSlider"},56542:(D,b,e)=>{"use strict";e.d(b,{Z:()=>O});var t=e(99275),n=e(78293),o=Object.defineProperty,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,p=(z,m,f)=>m in z?o(z,m,{enumerable:!0,configurable:!0,writable:!0,value:f}):z[m]=f,d=(z,m)=>{for(var f in m||(m={}))a.call(m,f)&&p(z,f,m[f]);if(r)for(var f of r(m))i.call(m,f)&&p(z,f,m[f]);return z},M=(0,t.kc)((z,m,{size:f})=>({sliderThumb:{ref:(0,t.Ao)("sliderThumb")},slider:{position:"relative",height:`calc(${(0,t.ap)({size:f,sizes:n.J})} + ${(0,t.hO)(2)})`,boxSizing:"border-box",marginLeft:`calc(${(0,t.ap)({size:f,sizes:n.J})} / 2)`,marginRight:`calc(${(0,t.ap)({size:f,sizes:n.J})} / 2)`,outline:0,[`&:focus .${(0,t.Ao)("sliderThumb")}`]:d({},z.focusRing==="always"||z.focusRing==="auto"?z.focusRingStyles.styles(z):z.focusRingStyles.resetStyles(z)),[`&:focus:not(:focus-visible) .${(0,t.Ao)("sliderThumb")}`]:d({},z.focusRing==="auto"||z.focusRing==="never"?z.focusRingStyles.resetStyles(z):null)},sliderOverlay:{position:"absolute",boxSizing:"border-box",top:0,bottom:0,left:`calc(${(0,t.ap)({size:f,sizes:n.J})} * -1 / 2 - ${(0,t.hO)(1)})`,right:`calc(${(0,t.ap)({size:f,sizes:n.J})} * -1 / 2 - ${(0,t.hO)(1)})`,borderRadius:1e3}}));const O=M},48562:(D,b,e)=>{"use strict";e.d(b,{Q:()=>s});var t=e(7294),n=e(99275),o=e(24577),r=Object.defineProperty,a=Object.defineProperties,i=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(c,u,_)=>u in c?r(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,z=(c,u)=>{for(var _ in u||(u={}))d.call(u,_)&&O(c,_,u[_]);if(p)for(var _ of p(u))M.call(u,_)&&O(c,_,u[_]);return c},m=(c,u)=>a(c,i(u)),f=(c,u)=>{var _={};for(var A in c)d.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&p)for(var A of p(c))u.indexOf(A)<0&&M.call(c,A)&&(_[A]=c[A]);return _};const l={},s=(0,t.forwardRef)((c,u)=>{const _=(0,n.N4)("HueSlider",l,c),{value:A,onChange:g,onChangeEnd:y,__staticSelector:W}=_,E=f(_,["value","onChange","onChangeEnd","__staticSelector"]);return t.createElement(o._,m(z({},E),{ref:u,value:A,onChange:g,onChangeEnd:y,maxValue:360,thumbColor:`hsl(${A}, 100%, 50%)`,round:!0,__staticSelector:W||"HueSlider",overlays:[{backgroundImage:"linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(170,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(360,100%,50%))"},{boxShadow:`rgba(0, 0, 0, .1) 0 0 0 ${(0,n.hO)(1)} inset, rgb(0, 0, 0, .15) 0 0 ${(0,n.hO)(4)} inset`}]}))});s.displayName="@mantine/core/HueSlider"},7145:(D,b,e)=>{"use strict";e.d(b,{O:()=>i});var t=e(7294),n=e(76322),o=e(19507),r=e(13481),a=e(12549);function i({value:p,onChange:d,onChangeEnd:M,focusable:O=!0,__staticSelector:z="saturation",size:m,color:f,saturationLabel:l,classNames:s,styles:c,unstyled:u,variant:_}){const{classes:A}=(0,r.Z)(null,{classNames:s,styles:c,name:z,unstyled:u,variant:_,size:m}),[g,y]=(0,t.useState)({x:p.s/100,y:1-p.v/100}),W=(0,t.useRef)(g),{ref:E}=(0,n.r_)(({x:S,y:I})=>{W.current={x:S,y:I},d({s:Math.round(S*100),v:Math.round((1-I)*100)})},{onScrubEnd:()=>{const{x:S,y:I}=W.current;M({s:Math.round(S*100),v:Math.round((1-I)*100)})}});(0,t.useEffect)(()=>{y({x:p.s/100,y:1-p.v/100})},[p.s,p.v]);const T=(S,I)=>{S.preventDefault();const x=(0,n.Ez)(I);d({s:Math.round(x.x*100),v:Math.round((1-x.y)*100)}),M({s:Math.round(x.x*100),v:Math.round((1-x.y)*100)})},q=S=>{switch(S.key){case"ArrowUp":{T(S,{y:g.y-.05,x:g.x});break}case"ArrowDown":{T(S,{y:g.y+.05,x:g.x});break}case"ArrowRight":{T(S,{x:g.x+.05,y:g.y});break}case"ArrowLeft":{T(S,{x:g.x-.05,y:g.y});break}}};return t.createElement("div",{className:A.saturation,ref:E,role:"slider","aria-label":l,"aria-valuenow":g.x,"aria-valuetext":(0,a.Rt)("rgba",p),tabIndex:O?0:-1,onKeyDown:q},t.createElement("div",{className:A.saturationOverlay,style:{backgroundColor:`hsl(${p.h}, 100%, 50%)`}}),t.createElement("div",{className:A.saturationOverlay,style:{backgroundImage:"linear-gradient(90deg, #fff, transparent)"}}),t.createElement("div",{className:A.saturationOverlay,style:{backgroundImage:"linear-gradient(0deg, #000, transparent)"}}),t.createElement(o.b,{__staticSelector:z,classNames:s,styles:c,position:g,className:A.saturationThumb,style:{backgroundColor:f},size:m}))}i.displayName="@mantine/core/Saturation"},13481:(D,b,e)=>{"use strict";e.d(b,{Z:()=>z});var t=e(99275),n=e(78293),o=Object.defineProperty,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,p=(m,f,l)=>f in m?o(m,f,{enumerable:!0,configurable:!0,writable:!0,value:l}):m[f]=l,d=(m,f)=>{for(var l in f||(f={}))a.call(f,l)&&p(m,l,f[l]);if(r)for(var l of r(f))i.call(f,l)&&p(m,l,f[l]);return m};const M={xs:(0,t.hO)(100),sm:(0,t.hO)(110),md:(0,t.hO)(120),lg:(0,t.hO)(140),xl:(0,t.hO)(160)};var O=(0,t.kc)((m,f,{size:l})=>({saturationThumb:{ref:(0,t.Ao)("saturationThumb")},saturation:{boxSizing:"border-box",position:"relative",height:(0,t.ap)({size:l,sizes:M}),borderRadius:m.radius.sm,margin:`calc(${(0,t.ap)({size:l,sizes:n.J})} / 2)`,WebkitTapHighlightColor:"transparent",[`&:focus .${(0,t.Ao)("saturationThumb")}`]:d({},m.focusRing==="always"||m.focusRing==="auto"?m.focusRingStyles.styles(m):m.focusRingStyles.resetStyles(m)),[`&:focus:not(:focus-visible) .${(0,t.Ao)("saturationThumb")}`]:d({},m.focusRing==="auto"||m.focusRing==="never"?m.focusRingStyles.resetStyles(m):null)},saturationOverlay:d({boxSizing:"border-box",borderRadius:m.radius.sm},m.fn.cover(`calc(${(0,t.ap)({size:l,sizes:n.J})} * -1 / 2 - ${(0,t.hO)(1)})`))}));const z=O},96597:(D,b,e)=>{"use strict";e.d(b,{y:()=>z});var t=e(7294),n=e(15444),o=e(38648),r=Object.defineProperty,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(m,f,l)=>f in m?r(m,f,{enumerable:!0,configurable:!0,writable:!0,value:l}):m[f]=l,M=(m,f)=>{for(var l in f||(f={}))i.call(f,l)&&d(m,l,f[l]);if(a)for(var l of a(f))p.call(f,l)&&d(m,l,f[l]);return m},O=(m,f)=>{var l={};for(var s in m)i.call(m,s)&&f.indexOf(s)<0&&(l[s]=m[s]);if(m!=null&&a)for(var s of a(m))f.indexOf(s)<0&&p.call(m,s)&&(l[s]=m[s]);return l};function z(m){var f=m,{data:l,swatchesPerRow:s=10,focusable:c=!0,classNames:u,styles:_,__staticSelector:A="color-picker",unstyled:g,setValue:y,onChangeEnd:W,variant:E,size:T}=f,q=O(f,["data","swatchesPerRow","focusable","classNames","styles","__staticSelector","unstyled","setValue","onChangeEnd","variant","size"]);const{classes:S}=(0,o.Z)({swatchesPerRow:s},{classNames:u,styles:_,name:A,unstyled:g,variant:E,size:T}),I=l.map((x,j)=>t.createElement(n.b,{className:S.swatch,component:"button",type:"button",color:x,key:j,radius:"sm",onClick:()=>{y(x),W==null||W(x)},style:{cursor:"pointer"},"aria-label":x,tabIndex:c?0:-1}));return t.createElement("div",M({className:S.swatches},q),I)}z.displayName="@mantine/core/Swatches"},38648:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{swatchesPerRow:a})=>({swatch:{width:`calc(${100/a}% - ${(0,t.hO)(4)})`,height:0,paddingBottom:`calc(${100/a}% - ${(0,t.hO)(4)})`,margin:(0,t.hO)(2),boxSizing:"content-box"},swatches:{boxSizing:"border-box",marginLeft:(0,t.hO)(-2),marginRight:(0,t.hO)(-2),display:"flex",flexWrap:"wrap"}}));const o=n},19507:(D,b,e)=>{"use strict";e.d(b,{b:()=>M});var t=e(7294),n=e(78293),o=Object.defineProperty,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,p=(O,z,m)=>z in O?o(O,z,{enumerable:!0,configurable:!0,writable:!0,value:m}):O[z]=m,d=(O,z)=>{for(var m in z||(z={}))a.call(z,m)&&p(O,m,z[m]);if(r)for(var m of r(z))i.call(z,m)&&p(O,m,z[m]);return O};function M({position:O,className:z,styles:m,classNames:f,style:l,size:s,__staticSelector:c,unstyled:u,variant:_}){const{classes:A,cx:g}=(0,n.Z)(null,{classNames:f,styles:m,name:c,unstyled:u,size:s,variant:_});return t.createElement("div",{className:g(A.thumb,z),style:d({left:`calc(${O.x*100}% - ${n.J[s]} / 2)`,top:`calc(${O.y*100}% - ${n.J[s]} / 2)`},l)})}M.displayName="@mantine/core/Thumb"},78293:(D,b,e)=>{"use strict";e.d(b,{J:()=>n,Z:()=>r});var t=e(99275);const n={xs:(0,t.hO)(8),sm:(0,t.hO)(12),md:(0,t.hO)(16),lg:(0,t.hO)(20),xl:(0,t.hO)(22)};var o=(0,t.kc)((a,i,{size:p})=>{const d=(0,t.ap)({size:p,sizes:n});return{thumb:{overflow:"hidden",boxSizing:"border-box",position:"absolute",boxShadow:`0 0 ${(0,t.hO)(1)} rgba(0, 0, 0, .6)`,border:`${(0,t.hO)(2)} solid ${a.white}`,backgroundColor:"transparent",width:d,height:d,borderRadius:d}}});const r=o},12549:(D,b,e)=>{"use strict";e.d(b,{Rt:()=>M});var t=e(66033);function n({h:O,s:z,v:m,a:f}){const l=O/360*6,s=z/100,c=m/100,u=Math.floor(l),_=c*(1-s),A=c*(1-(l-u)*s),g=c*(1-(1-l+u)*s),y=u%6;return{r:(0,t.NM)([c,A,_,_,g,c][y]*255),g:(0,t.NM)([g,c,c,A,_,_][y]*255),b:(0,t.NM)([_,_,g,c,c,A][y]*255),a:(0,t.NM)(f,2)}}function o(O,z){const{r:m,g:f,b:l,a:s}=n(O);return z?`rgba(${m}, ${f}, ${l}, ${(0,t.NM)(s,2)})`:`rgb(${m}, ${f}, ${l})`}function r({h:O,s:z,v:m,a:f},l){const s=(200-z)*m/100,c={h:Math.round(O),s:Math.round(s>0&&s<200?z*m/100/(s<=100?s:200-s)*100:0),l:Math.round(s/2)};return l?`hsla(${c.h}, ${c.s}%, ${c.l}%, ${(0,t.NM)(f,2)})`:`hsl(${c.h}, ${c.s}%, ${c.l}%)`}function a(O){const z=O.toString(16);return z.length<2?`0${z}`:z}function i(O){const{r:z,g:m,b:f}=n(O);return`#${a(z)}${a(m)}${a(f)}`}function p(O){const z=Math.round(O.a*255);return`${i(O)}${a(z)}`}const d={hex:i,hexa:O=>p(O),rgb:O=>o(O,!1),rgba:O=>o(O,!0),hsl:O=>r(O,!1),hsla:O=>r(O,!0)};function M(O,z){return z?O in d?d[O](z):d.hex(z):"#000000"}},66033:(D,b,e)=>{"use strict";e.d(b,{NM:()=>O,fi:()=>E,lu:()=>T});var t=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,p=(q,S,I)=>S in q?t(q,S,{enumerable:!0,configurable:!0,writable:!0,value:I}):q[S]=I,d=(q,S)=>{for(var I in S||(S={}))a.call(S,I)&&p(q,I,S[I]);if(r)for(var I of r(S))i.call(S,I)&&p(q,I,S[I]);return q},M=(q,S)=>n(q,o(S));function O(q,S=0,I=10**S){return Math.round(I*q)/I}function z({h:q,s:S,l:I,a:x}){const j=S*((I<50?I:100-I)/100);return{h:q,s:j>0?2*j/(I+j)*100:0,v:I+j,a:x}}const m={grad:360/400,turn:360,rad:360/(Math.PI*2)};function f(q,S="deg"){return Number(q)*(m[S]||1)}const l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i;function s(q){const S=l.exec(q);return S?z({h:f(S[1],S[2]),s:Number(S[3]),l:Number(S[4]),a:S[5]===void 0?1:Number(S[5])/(S[6]?100:1)}):{h:0,s:0,v:0,a:1}}function c({r:q,g:S,b:I,a:x}){const j=Math.max(q,S,I),N=j-Math.min(q,S,I),k=N?j===q?(S-I)/N:j===S?2+(I-q)/N:4+(q-S)/N:0;return{h:O(60*(k<0?k+6:k)),s:O(j?N/j*100:0),v:O(j/255*100),a:x}}function u(q){const S=q[0]==="#"?q.slice(1):q;return S.length===3?c({r:parseInt(S[0]+S[0],16),g:parseInt(S[1]+S[1],16),b:parseInt(S[2]+S[2],16),a:1}):c({r:parseInt(S.slice(0,2),16),g:parseInt(S.slice(2,4),16),b:parseInt(S.slice(4,6),16),a:1})}function _(q){const S=q[0]==="#"?q.slice(1):q,I=k=>Math.round(parseInt(k,16)/255*100)/100;if(S.length===4){const k=S.slice(0,3),K=I(S[3]+S[3]);return M(d({},u(k)),{a:K})}const x=S.slice(0,6),j=I(S.slice(6,8));return M(d({},u(x)),{a:j})}const A=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i;function g(q){const S=A.exec(q);return S?c({r:Number(S[1])/(S[2]?.39215686274509803:1),g:Number(S[3])/(S[4]?.39215686274509803:1),b:Number(S[5])/(S[6]?.39215686274509803:1),a:S[7]===void 0?1:Number(S[7])/(S[8]?100:1)}):{h:0,s:0,v:0,a:1}}const y={hex:/^#?([0-9A-F]{3}){1,2}$/i,hexa:/^#?([0-9A-F]{4}){1,2}$/i,rgb:/^rgb\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i,rgba:/^rgba\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i,hsl:/hsl\(\s*(\d+)\s*,\s*(\d+(?:\.\d+)?%)\s*,\s*(\d+(?:\.\d+)?%)\)/i,hsla:/^hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*(\d*(?:\.\d+)?)\)$/i},W={hex:u,hexa:_,rgb:g,rgba:g,hsl:s,hsla:s};function E(q){for(const[,S]of Object.entries(y))if(S.test(q))return!0;return!1}function T(q){if(typeof q!="string")return{h:0,s:0,v:0,a:1};if(q==="transparent")return{h:0,s:0,v:0,a:0};const S=q.trim();for(const[I,x]of Object.entries(y))if(x.test(S))return W[I](S);return{h:0,s:0,v:0,a:1}}},15444:(D,b,e)=>{"use strict";e.d(b,{b:()=>s});var t=e(7294),n=e(99275),o=e(92159),r=e(67062),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(c,u,_)=>u in c?i(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,z=(c,u)=>{for(var _ in u||(u={}))d.call(u,_)&&O(c,_,u[_]);if(p)for(var _ of p(u))M.call(u,_)&&O(c,_,u[_]);return c},m=(c,u)=>{var _={};for(var A in c)d.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&p)for(var A of p(c))u.indexOf(A)<0&&M.call(c,A)&&(_[A]=c[A]);return _};const f={size:(0,n.hO)(25),radius:(0,n.hO)(25),withShadow:!0},l=(0,t.forwardRef)((c,u)=>{const _=(0,n.N4)("ColorSwatch",f,c),{color:A,size:g,radius:y,className:W,children:E,classNames:T,styles:q,unstyled:S,withShadow:I,variant:x}=_,j=m(_,["color","size","radius","className","children","classNames","styles","unstyled","withShadow","variant"]),{classes:N,cx:k}=(0,r.Z)({radius:y},{classNames:T,styles:q,unstyled:S,name:"ColorSwatch",size:g,variant:x});return t.createElement(a.x,z({className:k(N.root,W),ref:u},j),t.createElement("div",{className:k(N.alphaOverlay,N.overlay)}),I&&t.createElement("div",{className:k(N.shadowOverlay,N.overlay)}),t.createElement("div",{className:N.overlay,style:{backgroundColor:A}}),t.createElement("div",{className:k(N.children,N.overlay)},E))});l.displayName="@mantine/core/ColorSwatch";const s=(0,o.Fm)(l)},67062:(D,b,e)=>{"use strict";e.d(b,{Z:()=>m});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l)),z=(0,t.kc)((f,{radius:l},{size:s})=>{const c=f.colorScheme==="dark"?f.colors.dark[4]:f.colors.gray[3];return{root:O(M({},f.fn.focusStyles()),{width:(0,t.hO)(s),height:(0,t.hO)(s),WebkitTapHighlightColor:"transparent",border:0,borderRadius:f.fn.radius(l),appearance:"none",WebkitAppearance:"none",padding:0,position:"relative",overflow:"hidden"}),overlay:O(M({},f.fn.cover()),{position:"absolute",borderRadius:f.fn.radius(l)}),children:{display:"inline-flex",justifyContent:"center",alignItems:"center"},shadowOverlay:{boxShadow:`rgba(0, 0, 0, .1) 0 0 0 ${(0,t.hO)(1)} inset, rgb(0, 0, 0, .15) 0 0 ${(0,t.hO)(4)} inset`,zIndex:1},alphaOverlay:{backgroundImage:`linear-gradient(45deg, ${c} 25%, transparent 25%), linear-gradient(-45deg, ${c} 25%, transparent 25%), linear-gradient(45deg, transparent 75%, ${c} 75%), linear-gradient(-45deg, ${f.colorScheme==="dark"?f.colors.dark[7]:f.white} 75%, ${c} 75%)`,backgroundSize:`${(0,t.hO)(8)} ${(0,t.hO)(8)}`,backgroundPosition:`0 0, 0 ${(0,t.hO)(4)}, ${(0,t.hO)(4)} -${(0,t.hO)(4)}, -${(0,t.hO)(4)} 0`}}});const m=z},8628:(D,b,e)=>{"use strict";e.d(b,{W:()=>f});var t=e(7294),n=e(99275),o=e(44081),r=e(84888),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={sizes:{xs:(0,n.hO)(540),sm:(0,n.hO)(720),md:(0,n.hO)(960),lg:(0,n.hO)(1140),xl:(0,n.hO)(1320)}},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("Container",m,l),{className:u,fluid:_,size:A,unstyled:g,sizes:y,variant:W}=c,E=z(c,["className","fluid","size","unstyled","sizes","variant"]),{classes:T,cx:q}=(0,o.Z)({fluid:_,sizes:y},{unstyled:g,name:"Container",variant:W,size:A});return t.createElement(r.x,O({className:q(T.root,u),ref:s},E))});f.displayName="@mantine/core/Container"},44081:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{fluid:a,sizes:i},{size:p})=>({root:{paddingLeft:r.spacing.md,paddingRight:r.spacing.md,maxWidth:a?"100%":(0,t.ap)({size:p,sizes:i}),marginLeft:"auto",marginRight:"auto"}}));const o=n},50331:(D,b,e)=>{"use strict";e.d(b,{q:()=>m});var t=e(7294),n=e(76322),o=e(99275),r=Object.defineProperty,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?r(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>{var s={};for(var c in f)i.call(f,c)&&l.indexOf(c)<0&&(s[c]=f[c]);if(f!=null&&a)for(var c of a(f))l.indexOf(c)<0&&p.call(f,c)&&(s[c]=f[c]);return s};const z={timeout:1e3};function m(f){const l=(0,o.N4)("CopyButton",z,f),{children:s,timeout:c,value:u}=l,_=O(l,["children","timeout","value"]),A=(0,n.VP)({timeout:c}),g=()=>A.copy(u);return t.createElement(t.Fragment,null,s(M({copy:g,copied:A.copied},_)))}m.displayName="@mantine/core/CopyButton"},11623:(D,b,e)=>{"use strict";e.d(b,{V:()=>u});var t=e(7294),n=e(99275),o=e(79168),r=e(82846),a=e(97688),i=e(67889),p=e(47260),d=Object.defineProperty,M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,m=(_,A,g)=>A in _?d(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,f=(_,A)=>{for(var g in A||(A={}))O.call(A,g)&&m(_,g,A[g]);if(M)for(var g of M(A))z.call(A,g)&&m(_,g,A[g]);return _},l=(_,A)=>{var g={};for(var y in _)O.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&M)for(var y of M(_))A.indexOf(y)<0&&z.call(_,y)&&(g[y]=_[y]);return g};const s={shadow:"md",p:"md",withBorder:!1,size:"md",transition:"pop-top-right",transitionDuration:200};function c(_){const A=(0,n.N4)("Dialog",s,_),{withCloseButton:g,onClose:y,position:W,shadow:E,children:T,className:q,style:S,classNames:I,styles:x,opened:j,withBorder:N,size:k,transition:K,transitionDuration:Y,transitionTimingFunction:$,unstyled:u0,variant:n0,keepMounted:i0}=A,t0=l(A,["withCloseButton","onClose","position","shadow","children","className","style","classNames","styles","opened","withBorder","size","transition","transitionDuration","transitionTimingFunction","unstyled","variant","keepMounted"]),{classes:J,cx:a0}=(0,o.Z)(null,{classNames:I,styles:x,unstyled:u0,name:"Dialog",variant:n0,size:k});return t.createElement(a.u,{keepMounted:i0,mounted:j,transition:K,duration:Y,timingFunction:$},b0=>t.createElement(i.X,f({className:a0(J.root,q),style:f(f({},S),b0),shadow:E,withBorder:N,unstyled:u0},t0),g&&t.createElement(p.P,{onClick:y,className:J.closeButton}),T))}const u=(0,t.forwardRef)((_,A)=>{var g=_,{zIndex:y=(0,n.wd)("modal")}=g,W=l(g,["zIndex"]);const E=(0,n.rZ)();return t.createElement(r.D,{zIndex:y,position:W.position||{bottom:E.spacing.xl,right:E.spacing.xl},ref:A},t.createElement(c,f({},W)))});u.displayName="@mantine/core/Dialog"},79168:(D,b,e)=>{"use strict";e.d(b,{Z:()=>f});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(l,s,c)=>s in l?n(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,M=(l,s)=>{for(var c in s||(s={}))i.call(s,c)&&d(l,c,s[c]);if(a)for(var c of a(s))p.call(s,c)&&d(l,c,s[c]);return l},O=(l,s)=>o(l,r(s));const z={xs:(0,t.hO)(160),sm:(0,t.hO)(200),md:(0,t.hO)(340),lg:(0,t.hO)(400),xl:(0,t.hO)(500)};var m=(0,t.kc)((l,s,{size:c})=>({root:O(M({},l.fn.fontStyles()),{color:l.colorScheme==="dark"?l.colors.dark[0]:l.black,position:"relative",width:(0,t.ap)({size:c,sizes:z}),maxWidth:"100%",minHeight:(0,t.hO)(50)}),closeButton:{position:"absolute",top:`calc(${l.spacing.md} / 2)`,right:`calc(${l.spacing.md} / 2)`}}));const f=m},6277:(D,b,e)=>{"use strict";e.d(b,{i:()=>u});var t=e(7294),n=e(99275),o=e(65176),r=e(84888),a=e(98793),i=Object.defineProperty,p=Object.defineProperties,d=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,m=(_,A,g)=>A in _?i(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,f=(_,A)=>{for(var g in A||(A={}))O.call(A,g)&&m(_,g,A[g]);if(M)for(var g of M(A))z.call(A,g)&&m(_,g,A[g]);return _},l=(_,A)=>p(_,d(A)),s=(_,A)=>{var g={};for(var y in _)O.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&M)for(var y of M(_))A.indexOf(y)<0&&z.call(_,y)&&(g[y]=_[y]);return g};const c={orientation:"horizontal",size:"xs",labelPosition:"left",variant:"solid"},u=(0,t.forwardRef)((_,A)=>{const g=(0,n.N4)("Divider",c,_),{className:y,color:W,orientation:E,size:T,label:q,labelPosition:S,labelProps:I,variant:x,styles:j,classNames:N,unstyled:k}=g,K=s(g,["className","color","orientation","size","label","labelPosition","labelProps","variant","styles","classNames","unstyled"]),{classes:Y,cx:$}=(0,o.Z)({color:W},{classNames:N,styles:j,unstyled:k,name:"Divider",variant:x,size:T}),u0=E==="vertical",n0=E==="horizontal",i0=!!q&&n0,t0=!(I!=null&&I.color);return t.createElement(r.x,f({ref:A,className:$(Y.root,{[Y.vertical]:u0,[Y.horizontal]:n0,[Y.withLabel]:i0},y),role:"separator"},K),i0&&t.createElement(a.x,l(f({},I),{size:(I==null?void 0:I.size)||"xs",mt:(0,n.hO)(2),className:$(Y.label,Y[S],{[Y.labelDefaultStyles]:t0})}),q))});u.displayName="@mantine/core/Divider"},65176:(D,b,e)=>{"use strict";e.d(b,{Z:()=>a});var t=e(99275);const n={xs:(0,t.hO)(1),sm:(0,t.hO)(2),md:(0,t.hO)(3),lg:(0,t.hO)(4),xl:(0,t.hO)(5)};function o(i,p){const d=i.fn.variant({variant:"outline",color:p}).border;return typeof p=="string"&&(p in i.colors||p.split(".")[0]in i.colors)?d:p===void 0?i.colorScheme==="dark"?i.colors.dark[4]:i.colors.gray[4]:p}var r=(0,t.kc)((i,{color:p},{size:d,variant:M})=>({root:{},withLabel:{borderTop:"0 !important"},left:{"&::before":{display:"none"}},right:{"&::after":{display:"none"}},label:{display:"flex",alignItems:"center","&::before":{content:'""',flex:1,height:(0,t.hO)(1),borderTop:`${(0,t.ap)({size:d,sizes:n})} ${M} ${o(i,p)}`,marginRight:i.spacing.xs},"&::after":{content:'""',flex:1,borderTop:`${(0,t.ap)({size:d,sizes:n})} ${M} ${o(i,p)}`,marginLeft:i.spacing.xs}},labelDefaultStyles:{color:p==="dark"?i.colors.dark[1]:i.fn.themeColor(p,i.colorScheme==="dark"?5:i.fn.primaryShade(),!1)},horizontal:{border:0,borderTopWidth:(0,t.hO)((0,t.ap)({size:d,sizes:n})),borderTopColor:o(i,p),borderTopStyle:M,margin:0},vertical:{border:0,alignSelf:"stretch",height:"auto",borderLeftWidth:(0,t.hO)((0,t.ap)({size:d,sizes:n})),borderLeftColor:o(i,p),borderLeftStyle:M}}));const a=r},39680:(D,b,e)=>{"use strict";e.d(b,{D:()=>n,M:()=>o});var t=e(92159);const[n,o]=(0,t.Rk)("Drawer component was not found in tree")},26016:(D,b,e)=>{"use strict";e.d(b,{d:()=>u});var t=e(7294),n=e(99275),o=e(46749),r=e(22285),a=e(89057),i=Object.defineProperty,p=Object.defineProperties,d=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,m=(_,A,g)=>A in _?i(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,f=(_,A)=>{for(var g in A||(A={}))O.call(A,g)&&m(_,g,A[g]);if(M)for(var g of M(A))z.call(A,g)&&m(_,g,A[g]);return _},l=(_,A)=>p(_,d(A)),s=(_,A)=>{var g={};for(var y in _)O.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&M)for(var y of M(_))A.indexOf(y)<0&&z.call(_,y)&&(g[y]=_[y]);return g};const c=l(f({},a.K),{withOverlay:!0,withCloseButton:!0});function u(_){const A=(0,n.N4)("Drawer",c,_),{title:g,withOverlay:y,overlayProps:W,withCloseButton:E,closeButtonProps:T,children:q}=A,S=s(A,["title","withOverlay","overlayProps","withCloseButton","closeButtonProps","children"]),I=!!g||E;return t.createElement(o.j,f({},S),y&&t.createElement(a.e.Overlay,f({},W)),t.createElement(r.s,null,I&&t.createElement(a.e.Header,null,g&&t.createElement(a.e.Title,null,g),E&&t.createElement(a.e.CloseButton,f({},T))),t.createElement(a.e.Body,null,q)))}u.Root=o.j,u.CloseButton=a.e.CloseButton,u.Overlay=a.e.Overlay,u.Content=r.s,u.Header=a.e.Header,u.Title=a.e.Title,u.Body=a.e.Body,u.NativeScrollArea=a.e.NativeScrollArea},22285:(D,b,e)=>{"use strict";e.d(b,{s:()=>f});var t=e(7294),n=e(99275),o=e(39680),r=e(89057),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={shadow:"xl"},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("ModalContent",m,l),{children:u,scrollAreaComponent:_}=c,A=z(c,["children","scrollAreaComponent"]),g=(0,o.M)(),y=_||g.scrollAreaComponent||r.e.NativeScrollArea;return t.createElement(r.e.Content,O({ref:s,radius:0},A),t.createElement(y,{style:{height:"100vh"}},u))})},46749:(D,b,e)=>{"use strict";e.d(b,{j:()=>A});var t=e(7294),n=e(99275),o=e(39680),r=e(84620),a=e(89057),i=Object.defineProperty,p=Object.defineProperties,d=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,m=(g,y,W)=>y in g?i(g,y,{enumerable:!0,configurable:!0,writable:!0,value:W}):g[y]=W,f=(g,y)=>{for(var W in y||(y={}))O.call(y,W)&&m(g,W,y[W]);if(M)for(var W of M(y))z.call(y,W)&&m(g,W,y[W]);return g},l=(g,y)=>p(g,d(y)),s=(g,y)=>{var W={};for(var E in g)O.call(g,E)&&y.indexOf(E)<0&&(W[E]=g[E]);if(g!=null&&M)for(var E of M(g))y.indexOf(E)<0&&z.call(g,E)&&(W[E]=g[E]);return W};const c={top:"slide-down",bottom:"slide-up",left:"slide-right",right:"slide-left"},u={top:"slide-down",bottom:"slide-up",right:"slide-right",left:"slide-left"},_=l(f({},a.K),{position:"left"});function A(g){const y=(0,n.N4)("DrawerRoot",_,g),{classNames:W,variant:E,size:T,scrollAreaComponent:q,position:S,transitionProps:I}=y,x=s(y,["classNames","variant","size","scrollAreaComponent","position","transitionProps"]),{classes:j,cx:N,theme:k}=(0,r.Z)({position:S},{name:"Drawer",variant:E,size:T}),K=(k.dir==="rtl"?u:c)[S];return t.createElement(o.D,{value:{scrollAreaComponent:q}},t.createElement(a.e,f({__staticSelector:"Drawer",size:T,variant:E,transitionProps:f({transition:K,duration:200},I),classNames:l(f({},W),{content:N(j.content,W==null?void 0:W.content),inner:N(j.inner,W==null?void 0:W.inner)})},x)))}},84620:(D,b,e)=>{"use strict";e.d(b,{Z:()=>r});var t=e(99275);const n={xs:(0,t.hO)(320),sm:(0,t.hO)(380),md:(0,t.hO)(440),lg:(0,t.hO)(620),xl:(0,t.hO)(780)};var o=(0,t.kc)((a,{position:i},{size:p})=>({header:{zIndex:1e3},content:{flex:i==="right"||i==="left"?`0 0 ${(0,t.ap)({size:p,sizes:n})}`:"0 0 100%",maxWidth:"100%",maxHeight:"100%",height:i==="right"||i==="left"?"100%":(0,t.ap)({size:p,sizes:n}),borderRadius:0,overflowY:"auto"},inner:{display:"flex",justifyContent:i==="right"?"flex-end":"flex-start",alignItems:i==="bottom"?"flex-end":"flex-start"}}));const r=o},18054:(D,b,e)=>{"use strict";e.d(b,{S:()=>m});var t=e(7294),n=e(99275),o=e(76322),r=Object.defineProperty,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?r(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>{var s={};for(var c in f)i.call(f,c)&&l.indexOf(c)<0&&(s[c]=f[c]);if(f!=null&&a)for(var c of a(f))l.indexOf(c)<0&&p.call(f,c)&&(s[c]=f[c]);return s};const z={multiple:!1},m=(0,t.forwardRef)((f,l)=>{const s=(0,n.N4)("FileButton",z,f),{onChange:c,children:u,multiple:_,accept:A,name:g,form:y,resetRef:W,disabled:E,capture:T,inputProps:q}=s,S=O(s,["onChange","children","multiple","accept","name","form","resetRef","disabled","capture","inputProps"]),I=(0,t.useRef)(),x=()=>{!E&&I.current.click()},j=k=>{c(_?Array.from(k.currentTarget.files):k.currentTarget.files[0]||null)},N=()=>{I.current.value=""};return(0,o.kR)(W,N),t.createElement(t.Fragment,null,u(M({onClick:x},S)),t.createElement("input",M({style:{display:"none"},type:"file",accept:A,multiple:_,onChange:j,ref:(0,o.Yx)(l,I),name:g,form:y,capture:T},q)))});m.displayName="@mantine/core/FileButton"},32574:(D,b,e)=>{"use strict";e.d(b,{S:()=>W});var t=e(7294),n=e(76322),o=e(46875),r=e(66261),a=e(47260),i=e(55956),p=e(18054),d=e(98793),M=Object.defineProperty,O=Object.defineProperties,z=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,s=(E,T,q)=>T in E?M(E,T,{enumerable:!0,configurable:!0,writable:!0,value:q}):E[T]=q,c=(E,T)=>{for(var q in T||(T={}))f.call(T,q)&&s(E,q,T[q]);if(m)for(var q of m(T))l.call(T,q)&&s(E,q,T[q]);return E},u=(E,T)=>O(E,z(T)),_=(E,T)=>{var q={};for(var S in E)f.call(E,S)&&T.indexOf(S)<0&&(q[S]=E[S]);if(E!=null&&m)for(var S of m(E))T.indexOf(S)<0&&l.call(E,S)&&(q[S]=E[S]);return q};const g={size:"sm",valueComponent:({value:E})=>t.createElement(d.x,{sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},Array.isArray(E)?E.map(T=>T.name).join(", "):E==null?void 0:E.name)},y=(0,t.forwardRef)((E,T)=>{const q=(0,r.k)("FileInput",g,E),{inputProps:S,wrapperProps:I,placeholder:x,value:j,defaultValue:N,onChange:k,multiple:K,accept:Y,name:$,form:u0,classNames:n0,styles:i0,unstyled:t0,valueComponent:J,rightSection:a0,clearable:b0,clearButtonProps:d0,readOnly:O0,capture:_0,fileInputProps:h0}=q,A0=_(q,["inputProps","wrapperProps","placeholder","value","defaultValue","onChange","multiple","accept","name","form","classNames","styles","unstyled","valueComponent","rightSection","clearable","clearButtonProps","readOnly","capture","fileInputProps"]),w0=(0,t.useRef)(),{classes:Z0,cx:Y0}=(0,o.Z)(null,{name:"FileInput",classNames:n0,styles:i0,unstyled:t0}),[J0,g0]=(0,n.Ch)({value:j,defaultValue:N,onChange:k,finalValue:K?[]:null}),B0=Array.isArray(J0)?J0.length!==0:J0!==null,E0=a0||(b0&&B0&&!O0?t.createElement(a.P,u(c({},d0),{variant:"transparent",onClick:()=>g0(K?[]:null),size:S.size,unstyled:t0})):null);return(0,t.useEffect)(()=>{(Array.isArray(J0)&&J0.length===0||J0===null)&&w0.current()},[J0]),t.createElement(i.I.Wrapper,u(c({},I),{__staticSelector:"FileInput"}),t.createElement(p.S,{onChange:g0,multiple:K,accept:Y,name:$,form:u0,resetRef:w0,disabled:O0,capture:_0,inputProps:h0},K0=>t.createElement(i.I,u(c(c(c({multiline:!0},K0),S),A0),{component:"button",type:"button",ref:T,__staticSelector:"FileInput",rightSection:E0,classNames:u(c({},n0),{input:Y0(Z0.input,n0==null?void 0:n0.input)})}),B0?t.createElement(J,{value:J0}):t.createElement(i.I.Placeholder,{className:Z0.placeholder},x))))});y.displayName="@mantine/core/FileInput";const W=y},46875:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(()=>({placeholder:{},input:{cursor:"pointer"}}));const o=n},57327:(D,b,e)=>{"use strict";e.d(b,{k:()=>_});var t=e(7294),n=e(99275),o=e(92159),r=e(6683),a=e(84888),i=e(96932),p=Object.defineProperty,d=Object.defineProperties,M=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(A,g,y)=>g in A?p(A,g,{enumerable:!0,configurable:!0,writable:!0,value:y}):A[g]=y,l=(A,g)=>{for(var y in g||(g={}))z.call(g,y)&&f(A,y,g[y]);if(O)for(var y of O(g))m.call(g,y)&&f(A,y,g[y]);return A},s=(A,g)=>d(A,M(g)),c=(A,g)=>{var y={};for(var W in A)z.call(A,W)&&g.indexOf(W)<0&&(y[W]=A[W]);if(A!=null&&O)for(var W of O(A))g.indexOf(W)<0&&m.call(A,W)&&(y[W]=A[W]);return y};const u={},_=(0,t.forwardRef)((A,g)=>{const y=(0,n.N4)("Flex",u,A),{gap:W,rowGap:E,columnGap:T,align:q,justify:S,wrap:I,direction:x,sx:j}=y,N=c(y,["gap","rowGap","columnGap","align","justify","wrap","direction","sx"]);return t.createElement(a.x,s(l({},N),{sx:[{display:"flex"},k=>(0,i.M)({gap:W,rowGap:E,columnGap:T,align:q,justify:S,wrap:I,direction:x},k,r.c),...(0,o.RG)(j)],ref:g}))});_.displayName="@mantine/core/Flex"},6683:(D,b,e)=>{"use strict";e.d(b,{c:()=>t});const t={gap:{type:"spacing",property:"gap"},rowGap:{type:"spacing",property:"rowGap"},columnGap:{type:"spacing",property:"columnGap"},align:{type:"identity",property:"alignItems"},justify:{type:"identity",property:"justifyContent"},wrap:{type:"identity",property:"flexWrap"},direction:{type:"identity",property:"flexDirection"}}},69696:(D,b,e)=>{"use strict";e.d(b,{Y:()=>l});var t=e(7294),n=e(99275),o=e(72389),r=Object.defineProperty,a=Object.defineProperties,i=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?r(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>a(s,i(c)),f=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const l=(0,t.forwardRef)((s,c)=>{var u=s,{position:_,arrowSize:A,arrowOffset:g,arrowRadius:y,arrowPosition:W,visible:E,arrowX:T,arrowY:q}=u,S=f(u,["position","arrowSize","arrowOffset","arrowRadius","arrowPosition","visible","arrowX","arrowY"]);const I=(0,n.rZ)();return E?t.createElement("div",m(z({},S),{ref:c,style:(0,o.w)({position:_,arrowSize:A,arrowOffset:g,arrowRadius:y,arrowPosition:W,dir:I.dir,arrowX:T,arrowY:q})})):null});l.displayName="@mantine/core/FloatingArrow"},72389:(D,b,e)=>{"use strict";e.d(b,{w:()=>l});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(s,c,u)=>c in s?n(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,M=(s,c)=>{for(var u in c||(c={}))i.call(c,u)&&d(s,u,c[u]);if(a)for(var u of a(c))p.call(c,u)&&d(s,u,c[u]);return s},O=(s,c)=>o(s,r(c));function z(s,c,u,_){return s==="center"||_==="center"?{top:c}:s==="end"?{bottom:u}:s==="start"?{top:u}:{}}function m(s,c,u,_,A){return s==="center"||_==="center"?{left:c}:s==="end"?{[A==="ltr"?"right":"left"]:u}:s==="start"?{[A==="ltr"?"left":"right"]:u}:{}}const f={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"};function l({position:s,arrowSize:c,arrowOffset:u,arrowRadius:_,arrowPosition:A,arrowX:g,arrowY:y,dir:W}){const[E,T="center"]=s.split("-"),q={width:(0,t.hO)(c),height:(0,t.hO)(c),transform:"rotate(45deg)",position:"absolute",[f[E]]:(0,t.hO)(_)},S=(0,t.hO)(-c/2);return E==="left"?O(M(M({},q),z(T,y,u,A)),{right:S,borderLeftColor:"transparent",borderBottomColor:"transparent"}):E==="right"?O(M(M({},q),z(T,y,u,A)),{left:S,borderRightColor:"transparent",borderTopColor:"transparent"}):E==="top"?O(M(M({},q),m(T,g,u,A,W)),{bottom:S,borderTopColor:"transparent",borderLeftColor:"transparent"}):E==="bottom"?O(M(M({},q),m(T,g,u,A,W)),{top:S,borderBottomColor:"transparent",borderRightColor:"transparent"}):{}}},14870:(D,b,e)=>{"use strict";e.d(b,{_:()=>t});function t(n,o){if(n==="rtl"&&(o.includes("right")||o.includes("left"))){const[r,a]=o.split("-"),i=r==="right"?"left":"right";return a===void 0?i:`${i}-${a}`}return o}},27347:(D,b,e)=>{"use strict";e.d(b,{U:()=>n});var t=e(7294);function n({open:o,close:r,openDelay:a,closeDelay:i}){const p=(0,t.useRef)(-1),d=(0,t.useRef)(-1),M=()=>{window.clearTimeout(p.current),window.clearTimeout(d.current)},O=()=>{M(),a===0?o():p.current=window.setTimeout(o,a)},z=()=>{M(),i===0?r():d.current=window.setTimeout(r,i)};return(0,t.useEffect)(()=>M,[]),{openDropdown:O,closeDropdown:z}}},30212:(D,b,e)=>{"use strict";e.d(b,{L:()=>r});var t=e(7294),n=e(94993),o=e(76322);function r({opened:a,floating:i,position:p,positionDependencies:d}){const[M,O]=(0,t.useState)(0);(0,t.useEffect)(()=>{if(i.refs.reference.current&&i.refs.floating.current)return(0,n.Me)(i.refs.reference.current,i.refs.floating.current,i.update)},[i.refs.reference.current,i.refs.floating.current,a,M,p]),(0,o.lR)(()=>{i.update()},d),(0,o.lR)(()=>{O(z=>z+1)},[a])}},45272:(D,b,e)=>{"use strict";e.d(b,{i:()=>r});var t=e(7294),n=e(92159),o=e(76322);function r({children:a,active:i=!0,refProp:p="ref"}){const d=(0,o.P5)(i),M=(0,o.Yx)(d,a==null?void 0:a.ref);return(0,n.kK)(a)?(0,t.cloneElement)(a,{[p]:M}):a}r.displayName="@mantine/core/FocusTrap"},53075:(D,b,e)=>{"use strict";e.d(b,{J:()=>s});var t=e(7294),n=e(99275),o=e(49644),r=e(48785),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(c,u,_)=>u in c?i(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,z=(c,u)=>{for(var _ in u||(u={}))d.call(u,_)&&O(c,_,u[_]);if(p)for(var _ of p(u))M.call(u,_)&&O(c,_,u[_]);return c},m=(c,u)=>{var _={};for(var A in c)d.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&p)for(var A of p(c))u.indexOf(A)<0&&M.call(c,A)&&(_[A]=c[A]);return _};const f={};function l(c){return c==="auto"||c==="content"?!0:typeof c=="number"&&c>0&&c%1===0}const s=(0,t.forwardRef)((c,u)=>{const _=(0,n.N4)("GridCol",f,c),{children:A,span:g,offset:y,offsetXs:W,offsetSm:E,offsetMd:T,offsetLg:q,offsetXl:S,xs:I,sm:x,md:j,lg:N,xl:k,order:K,orderXs:Y,orderSm:$,orderMd:u0,orderLg:n0,orderXl:i0,className:t0,id:J,unstyled:a0,variant:b0}=_,d0=m(_,["children","span","offset","offsetXs","offsetSm","offsetMd","offsetLg","offsetXl","xs","sm","md","lg","xl","order","orderXs","orderSm","orderMd","orderLg","orderXl","className","id","unstyled","variant"]),O0=(0,o.n)(),_0=g||O0.columns,{classes:h0,cx:A0}=(0,r.Z)({gutter:O0.gutter,gutterXs:O0.gutterXs,gutterSm:O0.gutterSm,gutterMd:O0.gutterMd,gutterLg:O0.gutterLg,gutterXl:O0.gutterXl,offset:y,offsetXs:W,offsetSm:E,offsetMd:T,offsetLg:q,offsetXl:S,xs:I,sm:x,md:j,lg:N,xl:k,order:K,orderXs:Y,orderSm:$,orderMd:u0,orderLg:n0,orderXl:i0,grow:O0.grow,columns:O0.columns,span:_0},{unstyled:a0,name:"Grid",variant:b0});return!l(_0)||_0>O0.columns?null:t.createElement(a.x,z({className:A0(h0.col,t0),ref:u},d0),A)});s.displayName="@mantine/core/Col"},48785:(D,b,e)=>{"use strict";e.d(b,{Z:()=>s});var t=e(99275),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(c,u,_)=>u in c?n(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,p=(c,u)=>{for(var _ in u||(u={}))r.call(u,_)&&i(c,_,u[_]);if(o)for(var _ of o(u))a.call(u,_)&&i(c,_,u[_]);return c};const d=(c,u)=>c==="content"?"auto":c==="auto"?"0rem":c?`${100/(u/c)}%`:void 0,M=(c,u,_)=>_||c==="auto"||c==="content"?"unset":d(c,u),O=(c,u)=>{if(c)return c==="auto"||u?1:0},z=(c,u)=>c===0?0:c?`${100/(u/c)}%`:void 0,m=(c,u)=>typeof c<"u"?`calc(${(0,t.ap)({size:c,sizes:u.spacing})} / 2)`:void 0;function f({sizes:c,offsets:u,orders:_,theme:A,columns:g,gutters:y,grow:W}){return t.j1.reduce((E,T)=>(E[`@media (min-width: ${(0,t.em)(A.breakpoints[T])})`]={order:_[T],flexBasis:d(c[T],g),padding:m(y[T],A),flexShrink:0,width:c[T]==="content"?"auto":void 0,maxWidth:M(c[T],g,W),marginLeft:z(u[T],g),flexGrow:O(c[T],W)},E),{})}var l=(0,t.kc)((c,{gutter:u,gutterXs:_,gutterSm:A,gutterMd:g,gutterLg:y,gutterXl:W,grow:E,offset:T,offsetXs:q,offsetSm:S,offsetMd:I,offsetLg:x,offsetXl:j,columns:N,span:k,xs:K,sm:Y,md:$,lg:u0,xl:n0,order:i0,orderXs:t0,orderSm:J,orderMd:a0,orderLg:b0,orderXl:d0})=>({col:p({boxSizing:"border-box",flexGrow:O(k,E),order:i0,padding:m(u,c),marginLeft:z(T,N),flexBasis:d(k,N),flexShrink:0,width:k==="content"?"auto":void 0,maxWidth:M(k,N,E)},f({sizes:{xs:K,sm:Y,md:$,lg:u0,xl:n0},offsets:{xs:q,sm:S,md:I,lg:x,xl:j},orders:{xs:t0,sm:J,md:a0,lg:b0,xl:d0},gutters:{xs:_,sm:A,md:g,lg:y,xl:W},theme:c,columns:N,grow:E}))}));const s=l},49644:(D,b,e)=>{"use strict";e.d(b,{k:()=>n,n:()=>o});var t=e(92159);const[n,o]=(0,t.Rk)("Grid component was not found in tree")},51641:(D,b,e)=>{"use strict";e.d(b,{r:()=>s});var t=e(7294),n=e(99275),o=e(53075),r=e(49644),a=e(15961),i=e(84888),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(c,u,_)=>u in c?p(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,m=(c,u)=>{for(var _ in u||(u={}))M.call(u,_)&&z(c,_,u[_]);if(d)for(var _ of d(u))O.call(u,_)&&z(c,_,u[_]);return c},f=(c,u)=>{var _={};for(var A in c)M.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&d)for(var A of d(c))u.indexOf(A)<0&&O.call(c,A)&&(_[A]=c[A]);return _};const l={gutter:"md",justify:"flex-start",align:"stretch",columns:12},s=(0,t.forwardRef)((c,u)=>{const _=(0,n.N4)("Grid",l,c),{gutter:A,gutterXs:g,gutterSm:y,gutterMd:W,gutterLg:E,gutterXl:T,children:q,grow:S,justify:I,align:x,columns:j,className:N,id:k,unstyled:K,variant:Y}=_,$=f(_,["gutter","gutterXs","gutterSm","gutterMd","gutterLg","gutterXl","children","grow","justify","align","columns","className","id","unstyled","variant"]),{classes:u0,cx:n0}=(0,a.Z)({gutter:A,justify:I,align:x,gutterXs:g,gutterSm:y,gutterMd:W,gutterLg:E,gutterXl:T},{unstyled:K,name:"Grid",variant:Y});return t.createElement(r.k,{value:{gutter:A,gutterXs:g,gutterSm:y,gutterMd:W,gutterLg:E,gutterXl:T,grow:S,columns:j}},t.createElement(i.x,m({className:n0(u0.root,N),ref:u},$),q))});s.Col=o.J,s.displayName="@mantine/core/Grid"},15961:(D,b,e)=>{"use strict";e.d(b,{Z:()=>O});var t=e(99275),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(z,m,f)=>m in z?n(z,m,{enumerable:!0,configurable:!0,writable:!0,value:f}):z[m]=f,p=(z,m)=>{for(var f in m||(m={}))r.call(m,f)&&i(z,f,m[f]);if(o)for(var f of o(m))a.call(m,f)&&i(z,f,m[f]);return z};function d(z,m){return t.j1.reduce((f,l)=>(typeof z[l]<"u"&&(f[`@media (min-width: ${m.breakpoints[l]})`]={margin:`calc(-${(0,t.ap)({size:z[l],sizes:m.spacing})} / 2)`}),f),{})}var M=(0,t.kc)((z,{justify:m,align:f,gutter:l,gutterXs:s,gutterSm:c,gutterMd:u,gutterLg:_,gutterXl:A})=>({root:p({margin:`calc(-${(0,t.ap)({size:l,sizes:z.spacing})} / 2)`,display:"flex",flexWrap:"wrap",justifyContent:m,alignItems:f},d({xs:s,sm:c,md:u,lg:_,xl:A},z))}));const O=M},91449:(D,b,e)=>{"use strict";e.d(b,{Z:()=>l});var t=e(7294),n=e(99275),o=e(1458),r=e(89893),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={position:"left",spacing:"md"},l=(0,t.forwardRef)((s,c)=>{const u=(0,n.N4)("Group",f,s),{className:_,position:A,align:g,children:y,noWrap:W,grow:E,spacing:T,unstyled:q,variant:S}=u,I=m(u,["className","position","align","children","noWrap","grow","spacing","unstyled","variant"]),x=(0,o.d)(y),{classes:j,cx:N}=(0,r.Z)({align:g,grow:E,noWrap:W,spacing:T,position:A,count:x.length},{unstyled:q,name:"Group",variant:S});return t.createElement(a.x,z({className:N(j.root,_),ref:c},I),x)});l.displayName="@mantine/core/Group"},89893:(D,b,e)=>{"use strict";e.d(b,{H:()=>n,Z:()=>r});var t=e(99275);const n={left:"flex-start",center:"center",right:"flex-end",apart:"space-between"};var o=(0,t.kc)((a,{spacing:i,position:p,noWrap:d,grow:M,align:O,count:z})=>({root:{boxSizing:"border-box",display:"flex",flexDirection:"row",alignItems:O||"center",flexWrap:d?"nowrap":"wrap",justifyContent:n[p],gap:(0,t.ap)({size:i,sizes:a.spacing}),"& > *":{boxSizing:"border-box",maxWidth:M?`calc(${100/z}% - (${(0,t.hO)((0,t.ap)({size:i,sizes:a.spacing}))} - ${(0,t.ap)({size:i,sizes:a.spacing})} / ${z}))`:void 0,flexGrow:M?1:0}}}));const r=o},1458:(D,b,e)=>{"use strict";e.d(b,{d:()=>n});var t=e(7294);function n(o){return t.Children.toArray(o).filter(Boolean)}},76890:(D,b,e)=>{"use strict";e.d(b,{y:()=>c});var t=e(7294),n=e(99275),o=e(92159),r=e(98793),a=e(95649),i=e(30095),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(u,_,A)=>_ in u?p(u,_,{enumerable:!0,configurable:!0,writable:!0,value:A}):u[_]=A,m=(u,_)=>{for(var A in _||(_={}))M.call(_,A)&&z(u,A,_[A]);if(d)for(var A of d(_))O.call(_,A)&&z(u,A,_[A]);return u},f=(u,_)=>{var A={};for(var g in u)M.call(u,g)&&_.indexOf(g)<0&&(A[g]=u[g]);if(u!=null&&d)for(var g of d(u))_.indexOf(g)<0&&O.call(u,g)&&(A[g]=u[g]);return A};const l={highlightColor:"yellow"},s=(0,t.forwardRef)((u,_)=>{const A=(0,n.N4)("Highlight",l,u),{children:g,highlight:y,highlightColor:W,highlightStyles:E,unstyled:T}=A,q=f(A,["children","highlight","highlightColor","highlightStyles","unstyled"]),S=(0,i.g)(g,y);return t.createElement(r.x,m({unstyled:T,ref:_,__staticSelector:"Highlight"},q),S.map(({chunk:I,highlighted:x},j)=>x?t.createElement(a.v,{unstyled:T,key:j,color:W,sx:E,"data-highlight":I},I):t.createElement("span",{key:j},I)))});s.displayName="@mantine/core/Highlight";const c=(0,o.Fm)(s)},30095:(D,b,e)=>{"use strict";e.d(b,{g:()=>n});function t(o){return o.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&")}function n(o,r){if(r==null)return[{chunk:o,highlighted:!1}];const a=Array.isArray(r)?r.map(t):t(r);if(!(Array.isArray(a)?a.filter(O=>O.trim().length>0).length>0:a.trim()!==""))return[{chunk:o,highlighted:!1}];const p=typeof a=="string"?a.trim():a.filter(O=>O.trim().length!==0).map(O=>O.trim()).join("|"),d=new RegExp(`(${p})`,"gi");return o.split(d).map(O=>({chunk:O,highlighted:d.test(O)})).filter(({chunk:O})=>O)}},80730:(D,b,e)=>{"use strict";e.d(b,{I:()=>r,e:()=>o});var t=e(92159),n=e(698);const[o,r]=(0,t.Rk)(n.r.context)},698:(D,b,e)=>{"use strict";e.d(b,{r:()=>t});const t={context:"HoverCard component was not found in the tree",children:"HoverCard.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"}},9641:(D,b,e)=>{"use strict";e.d(b,{z:()=>u});var t=e(7294),n=e(99275),o=e(76322),r=e(80730),a=e(70955),i=e(9393),p=e(27347),d=e(46512),M=Object.defineProperty,O=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(_,A,g)=>A in _?M(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,l=(_,A)=>{for(var g in A||(A={}))z.call(A,g)&&f(_,g,A[g]);if(O)for(var g of O(A))m.call(A,g)&&f(_,g,A[g]);return _},s=(_,A)=>{var g={};for(var y in _)z.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&O)for(var y of O(_))A.indexOf(y)<0&&m.call(_,y)&&(g[y]=_[y]);return g};const c={openDelay:0,closeDelay:150,initiallyOpened:!1};function u(_){const A=(0,n.N4)("HoverCard",c,_),{children:g,onOpen:y,onClose:W,openDelay:E,closeDelay:T,initiallyOpened:q}=A,S=s(A,["children","onOpen","onClose","openDelay","closeDelay","initiallyOpened"]),[I,{open:x,close:j}]=(0,o.qY)(q,{onClose:W,onOpen:y}),{openDropdown:N,closeDropdown:k}=(0,p.U)({open:x,close:j,openDelay:E,closeDelay:T});return t.createElement(r.e,{value:{openDropdown:N,closeDropdown:k}},t.createElement(d.J,l({opened:I,__staticSelector:"HoverCard"},S),g))}u.displayName="@mantine/core/HoverCard",u.Target=i.l,u.Dropdown=a.M},70955:(D,b,e)=>{"use strict";e.d(b,{M:()=>l});var t=e(7294),n=e(92159),o=e(99275),r=e(80730),a=e(46512),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={};function l(s){const c=(0,o.N4)("HoverCardDropdown",f,s),{children:u,onMouseEnter:_,onMouseLeave:A}=c,g=m(c,["children","onMouseEnter","onMouseLeave"]),y=(0,r.I)(),W=(0,n.xH)(_,y.openDropdown),E=(0,n.xH)(A,y.closeDropdown);return t.createElement(a.J.Dropdown,z({onMouseEnter:W,onMouseLeave:E},g),u)}l.displayName="@mantine/core/HoverCardDropdown"},9393:(D,b,e)=>{"use strict";e.d(b,{l:()=>s});var t=e(7294),n=e(92159),o=e(99275),r=e(80730),a=e(698),i=e(46512),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(c,u,_)=>u in c?p(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,m=(c,u)=>{for(var _ in u||(u={}))M.call(u,_)&&z(c,_,u[_]);if(d)for(var _ of d(u))O.call(u,_)&&z(c,_,u[_]);return c},f=(c,u)=>{var _={};for(var A in c)M.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&d)for(var A of d(c))u.indexOf(A)<0&&O.call(c,A)&&(_[A]=c[A]);return _};const l={refProp:"ref"},s=(0,t.forwardRef)((c,u)=>{const _=(0,o.N4)("HoverCardTarget",l,c),{children:A,refProp:g}=_,y=f(_,["children","refProp"]);if(!(0,n.kK)(A))throw new Error(a.r.children);const W=(0,r.I)(),E=(0,n.xH)(A.props.onMouseEnter,W.openDropdown),T=(0,n.xH)(A.props.onMouseLeave,W.closeDropdown);return t.createElement(i.J.Target,m({refProp:g,ref:u},y),(0,t.cloneElement)(A,{onMouseEnter:E,onMouseLeave:T}))});s.displayName="@mantine/core/HoverCardTarget"},76602:(D,b,e)=>{"use strict";e.d(b,{E:()=>A});var t=e(7294),n=e(99275),o=e(76322),r=e(24367),a=e(92793),i=e(84888),p=e(98793),d=Object.defineProperty,M=Object.defineProperties,O=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(g,y,W)=>y in g?d(g,y,{enumerable:!0,configurable:!0,writable:!0,value:W}):g[y]=W,s=(g,y)=>{for(var W in y||(y={}))m.call(y,W)&&l(g,W,y[W]);if(z)for(var W of z(y))f.call(y,W)&&l(g,W,y[W]);return g},c=(g,y)=>M(g,O(y)),u=(g,y)=>{var W={};for(var E in g)m.call(g,E)&&y.indexOf(E)<0&&(W[E]=g[E]);if(g!=null&&z)for(var E of z(g))y.indexOf(E)<0&&f.call(g,E)&&(W[E]=g[E]);return W};const _={fit:"cover",width:"100%",height:"auto",radius:0},A=(0,t.forwardRef)((g,y)=>{const W=(0,n.N4)("Image",_,g),{className:E,alt:T,src:q,fit:S,width:I,height:x,radius:j,imageProps:N,withPlaceholder:k,placeholder:K,imageRef:Y,classNames:$,styles:u0,caption:n0,unstyled:i0,style:t0,variant:J}=W,a0=u(W,["className","alt","src","fit","width","height","radius","imageProps","withPlaceholder","placeholder","imageRef","classNames","styles","caption","unstyled","style","variant"]),{classes:b0,cx:d0}=(0,a.Z)({radius:j},{classNames:$,styles:u0,unstyled:i0,name:"Image",variant:J}),[O0,_0]=(0,t.useState)(!q),h0=k&&O0;return(0,o.lR)(()=>{_0(!q)},[q]),t.createElement(i.x,s({className:d0(b0.root,E),style:s({width:(0,n.hO)(I)},t0),ref:y},a0),t.createElement("figure",{className:b0.figure},t.createElement("div",{className:b0.imageWrapper},t.createElement("img",c(s({src:q,alt:T,ref:Y},N),{className:d0(b0.image,N==null?void 0:N.className),onError:A0=>{_0(!0),typeof(N==null?void 0:N.onError)=="function"&&N.onError(A0)},style:s({objectFit:S,width:(0,n.hO)(I),height:(0,n.hO)(x)},N==null?void 0:N.style)})),h0&&t.createElement("div",{className:b0.placeholder,title:T},K||t.createElement("div",null,t.createElement(r.X,{width:(0,n.hO)(40),height:(0,n.hO)(40)})))),!!n0&&t.createElement(p.x,{component:"figcaption",size:"sm",align:"center",className:b0.caption},n0)))});A.displayName="@mantine/core/Image"},92793:(D,b,e)=>{"use strict";e.d(b,{Z:()=>m});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l)),z=(0,t.kc)((f,{radius:l})=>({root:{},imageWrapper:{position:"relative"},figure:{margin:0},image:O(M({},f.fn.fontStyles()),{display:"block",width:"100%",height:"100%",border:0,borderRadius:f.fn.radius(l)}),caption:{color:f.colorScheme==="dark"?f.colors.dark[2]:f.colors.gray[7],marginTop:f.spacing.xs},placeholder:O(M({},f.fn.cover()),{display:"flex",alignItems:"center",justifyContent:"center",color:f.colorScheme==="dark"?f.colors.dark[2]:f.colors.gray[6],backgroundColor:f.colorScheme==="dark"?f.colors.dark[8]:f.colors.gray[0],borderRadius:f.fn.radius(l)})}));const m=z},24367:(D,b,e)=>{"use strict";e.d(b,{X:()=>d});var t=e(7294),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(M,O,z)=>O in M?n(M,O,{enumerable:!0,configurable:!0,writable:!0,value:z}):M[O]=z,p=(M,O)=>{for(var z in O||(O={}))r.call(O,z)&&i(M,z,O[z]);if(o)for(var z of o(O))a.call(O,z)&&i(M,z,O[z]);return M};function d(M){return t.createElement("svg",p({viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},M),t.createElement("path",{d:"M2.5 1H12.5C13.3284 1 14 1.67157 14 2.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V2.5C1 1.67157 1.67157 1 2.5 1ZM2.5 2C2.22386 2 2 2.22386 2 2.5V8.3636L3.6818 6.6818C3.76809 6.59551 3.88572 6.54797 4.00774 6.55007C4.12975 6.55216 4.24568 6.60372 4.32895 6.69293L7.87355 10.4901L10.6818 7.6818C10.8575 7.50607 11.1425 7.50607 11.3182 7.6818L13 9.3636V2.5C13 2.22386 12.7761 2 12.5 2H2.5ZM2 12.5V9.6364L3.98887 7.64753L7.5311 11.4421L8.94113 13H2.5C2.22386 13 2 12.7761 2 12.5ZM12.5 13H10.155L8.48336 11.153L11 8.6364L13 10.6364V12.5C13 12.7761 12.7761 13 12.5 13ZM6.64922 5.5C6.64922 5.03013 7.03013 4.64922 7.5 4.64922C7.96987 4.64922 8.35078 5.03013 8.35078 5.5C8.35078 5.96987 7.96987 6.35078 7.5 6.35078C7.03013 6.35078 6.64922 5.96987 6.64922 5.5ZM7.5 3.74922C6.53307 3.74922 5.74922 4.53307 5.74922 5.5C5.74922 6.46693 6.53307 7.25078 7.5 7.25078C8.46693 7.25078 9.25078 6.46693 9.25078 5.5C9.25078 4.53307 8.46693 3.74922 7.5 3.74922Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}},37476:(D,b,e)=>{"use strict";e.d(b,{z:()=>f});var t=e(7294),n=e(99275),o=e(84982),r=e(84888),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={position:"top-end",offset:0,inline:!1,withBorder:!1,disabled:!1,processing:!1,size:10,radius:1e3,zIndex:(0,n.wd)("app")},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("Indicator",m,l),{children:u,position:_,offset:A,size:g,radius:y,inline:W,withBorder:E,className:T,color:q,styles:S,label:I,classNames:x,disabled:j,zIndex:N,unstyled:k,processing:K,variant:Y}=c,$=z(c,["children","position","offset","size","radius","inline","withBorder","className","color","styles","label","classNames","disabled","zIndex","unstyled","processing","variant"]),{classes:u0,cx:n0}=(0,o.Z)({position:_,offset:A,radius:y,inline:W,color:q,withBorder:E,zIndex:N,withLabel:!!I},{name:"Indicator",classNames:x,styles:S,unstyled:k,variant:Y,size:g});return t.createElement(r.x,O({ref:s,className:n0(u0.root,T)},$),!j&&t.createElement(t.Fragment,null,t.createElement("div",{className:n0(u0.indicator,u0.common)},I),K&&t.createElement("div",{className:n0(u0.processing,u0.common)})),u)});f.displayName="@mantine/core/Indicator"},84982:(D,b,e)=>{"use strict";e.d(b,{Z:()=>l});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(s,c,u)=>c in s?n(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,M=(s,c)=>{for(var u in c||(c={}))i.call(c,u)&&d(s,u,c[u]);if(a)for(var u of a(c))p.call(c,u)&&d(s,u,c[u]);return s},O=(s,c)=>o(s,r(c));const z=s=>(0,t.F4)({from:{boxShadow:`0 0 ${(0,t.hO)(.5)} 0 ${s}`,opacity:.6},to:{boxShadow:`0 0 ${(0,t.hO)(.5)} ${(0,t.hO)(4.4)} ${s}`,opacity:0}});function m(s,c=0){const u={},[_,A]=s.split("-");let g="",y="";return _==="top"&&(u.top=c,y="-50%"),_==="middle"&&(u.top="50%",y="-50%"),_==="bottom"&&(u.bottom=c,y="50%"),A==="start"&&(u.left=c,g="-50%"),A==="center"&&(u.left="50%",g="-50%"),A==="end"&&(u.right=c,g="50%"),u.transform=`translate(${g}, ${y})`,u}var f=(0,t.kc)((s,{radius:c,color:u,position:_,offset:A,inline:g,withBorder:y,withLabel:W,zIndex:E},{size:T})=>{const{background:q}=s.fn.variant({variant:"filled",primaryFallback:!1,color:u||s.primaryColor}),S=(0,t.hO)(T);return{root:{position:"relative",display:g?"inline-block":"block"},indicator:O(M({},m(_,A)),{zIndex:E,position:"absolute",[W?"minWidth":"width"]:S,height:S,display:"flex",justifyContent:"center",alignItems:"center",fontSize:s.fontSizes.xs,paddingLeft:W?`calc(${s.spacing.xs} / 2)`:0,paddingRight:W?`calc(${s.spacing.xs} / 2)`:0,borderRadius:s.fn.radius(c),backgroundColor:s.fn.variant({variant:"filled",primaryFallback:!1,color:u||s.primaryColor}).background,border:y?`${(0,t.hO)(2)} solid ${s.colorScheme==="dark"?s.colors.dark[7]:s.white}`:void 0,color:s.white,whiteSpace:"nowrap"}),processing:{animation:`${z(q)} 1000ms linear infinite`},common:O(M({},m(_,A)),{position:"absolute",[W?"minWidth":"width"]:S,height:S,borderRadius:s.fn.radius(c)})}});const l=f},10204:(D,b,e)=>{"use strict";e.d(b,{Z:()=>m});var t=e(7294),n=e(42674),o=e(84888),r=e(55956),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(f,l,s)=>l in f?a(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,O=(f,l)=>{for(var s in l||(l={}))p.call(l,s)&&M(f,s,l[s]);if(i)for(var s of i(l))d.call(l,s)&&M(f,s,l[s]);return f},z=(f,l)=>{var s={};for(var c in f)p.call(f,c)&&l.indexOf(c)<0&&(s[c]=f[c]);if(f!=null&&i)for(var c of i(f))l.indexOf(c)<0&&d.call(f,c)&&(s[c]=f[c]);return s};const m=(0,t.forwardRef)((f,l)=>{var s=f,{__staticSelector:c,className:u,classNames:_,styles:A,unstyled:g,children:y,label:W,description:E,id:T,disabled:q,error:S,size:I,labelPosition:x,variant:j}=s,N=z(s,["__staticSelector","className","classNames","styles","unstyled","children","label","description","id","disabled","error","size","labelPosition","variant"]);const{classes:k,cx:K}=(0,n.Z)({labelPosition:x},{name:c,styles:A,classNames:_,unstyled:g,variant:j,size:I});return t.createElement(o.x,O({className:K(k.root,u),ref:l},N),t.createElement("div",{className:K(k.body)},y,t.createElement("div",{className:k.labelWrapper},W&&t.createElement("label",{className:k.label,"data-disabled":q||void 0,htmlFor:T},W),E&&t.createElement(r.I.Description,{className:k.description},E),S&&S!=="boolean"&&t.createElement(r.I.Error,{className:k.error},S))))});m.displayName="@mantine/core/InlineInput"},42674:(D,b,e)=>{"use strict";e.d(b,{Z:()=>f});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(l,s,c)=>s in l?n(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,M=(l,s)=>{for(var c in s||(s={}))i.call(s,c)&&d(l,c,s[c]);if(a)for(var c of a(s))p.call(s,c)&&d(l,c,s[c]);return l},O=(l,s)=>o(l,r(s));const z={xs:(0,t.hO)(16),sm:(0,t.hO)(20),md:(0,t.hO)(24),lg:(0,t.hO)(30),xl:(0,t.hO)(36)};var m=(0,t.kc)((l,{labelPosition:s},{size:c})=>({root:{},body:{display:"flex"},labelWrapper:O(M({},l.fn.fontStyles()),{display:"inline-flex",flexDirection:"column",WebkitTapHighlightColor:"transparent",fontSize:c in z?(0,t.ap)({size:c,sizes:l.fontSizes}):void 0,lineHeight:c in z?(0,t.ap)({size:c,sizes:z}):void 0,color:l.colorScheme==="dark"?l.colors.dark[0]:l.black,cursor:l.cursorType,order:s==="left"?1:2}),description:{marginTop:`calc(${l.spacing.xs} / 2)`,[s==="left"?"paddingRight":"paddingLeft"]:l.spacing.sm},error:{marginTop:`calc(${l.spacing.xs} / 2)`,[s==="left"?"paddingRight":"paddingLeft"]:l.spacing.sm},label:{cursor:l.cursorType,[s==="left"?"paddingRight":"paddingLeft"]:l.spacing.sm,"&[data-disabled]":{color:l.colorScheme==="dark"?l.colors.dark[3]:l.colors.gray[5]}}}));const f=m},55956:(D,b,e)=>{"use strict";e.d(b,{I:()=>q});var t=e(7294),n=e(99275),o=e(92159),r=e(40122),a=e(28136),i=e(12043),p=e(48802),d=e(4127),M=e(65750),O=e(35227),z=e(12756),m=e(84888),f=Object.defineProperty,l=Object.defineProperties,s=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,A=(S,I,x)=>I in S?f(S,I,{enumerable:!0,configurable:!0,writable:!0,value:x}):S[I]=x,g=(S,I)=>{for(var x in I||(I={}))u.call(I,x)&&A(S,x,I[x]);if(c)for(var x of c(I))_.call(I,x)&&A(S,x,I[x]);return S},y=(S,I)=>l(S,s(I)),W=(S,I)=>{var x={};for(var j in S)u.call(S,j)&&I.indexOf(j)<0&&(x[j]=S[j]);if(S!=null&&c)for(var j of c(S))I.indexOf(j)<0&&_.call(S,j)&&(x[j]=S[j]);return x};const E={size:"sm",variant:"default"},T=(0,t.forwardRef)((S,I)=>{const x=(0,n.N4)("Input",E,S),{className:j,error:N,required:k,disabled:K,variant:Y,icon:$,style:u0,rightSectionWidth:n0,iconWidth:i0,rightSection:t0,rightSectionProps:J,radius:a0,size:b0,wrapperProps:d0,classNames:O0,styles:_0,__staticSelector:h0,multiline:A0,sx:w0,unstyled:Z0,pointer:Y0}=x,J0=W(x,["className","error","required","disabled","variant","icon","style","rightSectionWidth","iconWidth","rightSection","rightSectionProps","radius","size","wrapperProps","classNames","styles","__staticSelector","multiline","sx","unstyled","pointer"]),{offsetBottom:g0,offsetTop:B0,describedBy:E0}=(0,M.D)(),{classes:K0,cx:j0}=(0,O.Z)({radius:a0,multiline:A0,invalid:!!N,rightSectionWidth:n0?(0,n.hO)(n0):void 0,iconWidth:i0,withRightSection:!!t0,offsetBottom:g0,offsetTop:B0,pointer:Y0},{classNames:O0,styles:_0,name:["Input",h0],unstyled:Z0,variant:Y,size:b0}),{systemStyles:n1,rest:r1}=(0,z.x)(J0);return t.createElement(m.x,g(g({className:j0(K0.wrapper,j),sx:w0,style:u0},n1),d0),$&&t.createElement("div",{className:K0.icon},$),t.createElement(m.x,y(g({component:"input"},r1),{ref:I,required:k,"aria-invalid":!!N,"aria-describedby":E0,disabled:K,"data-disabled":K||void 0,"data-with-icon":!!$||void 0,"data-invalid":!!N||void 0,className:K0.input})),t0&&t.createElement("div",y(g({},J),{className:K0.rightSection}),t0))});T.displayName="@mantine/core/Input",T.Wrapper=r.S,T.Label=i.A,T.Description=a.d,T.Error=p.p,T.Placeholder=d.U;const q=(0,o.Fm)(T)},35227:(D,b,e)=>{"use strict";e.d(b,{J:()=>z,Z:()=>s});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(c,u,_)=>u in c?n(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,M=(c,u)=>{for(var _ in u||(u={}))i.call(u,_)&&d(c,_,u[_]);if(a)for(var _ of a(u))p.call(u,_)&&d(c,_,u[_]);return c},O=(c,u)=>o(c,r(u));const z={xs:(0,t.hO)(30),sm:(0,t.hO)(36),md:(0,t.hO)(42),lg:(0,t.hO)(50),xl:(0,t.hO)(60)},m=["default","filled","unstyled"];function f({theme:c,variant:u}){return m.includes(u)?u==="default"?{border:`${(0,t.hO)(1)} solid ${c.colorScheme==="dark"?c.colors.dark[4]:c.colors.gray[4]}`,backgroundColor:c.colorScheme==="dark"?c.colors.dark[6]:c.white,transition:"border-color 100ms ease","&:focus, &:focus-within":c.focusRingStyles.inputStyles(c)}:u==="filled"?{border:`${(0,t.hO)(1)} solid transparent`,backgroundColor:c.colorScheme==="dark"?c.colors.dark[5]:c.colors.gray[1],"&:focus, &:focus-within":c.focusRingStyles.inputStyles(c)}:{borderWidth:0,color:c.colorScheme==="dark"?c.colors.dark[0]:c.black,backgroundColor:"transparent",minHeight:(0,t.hO)(28),outline:0,"&:focus, &:focus-within":{outline:"none",borderColor:"transparent"},"&:disabled":{backgroundColor:"transparent","&:focus, &:focus-within":{outline:"none",borderColor:"transparent"}}}:null}var l=(0,t.kc)((c,{multiline:u,radius:_,invalid:A,rightSectionWidth:g,withRightSection:y,iconWidth:W,offsetBottom:E,offsetTop:T,pointer:q},{variant:S,size:I})=>{const x=c.fn.variant({variant:"filled",color:"red"}).background,j=S==="default"||S==="filled"?{minHeight:(0,t.ap)({size:I,sizes:z}),paddingLeft:`calc(${(0,t.ap)({size:I,sizes:z})} / 3)`,paddingRight:y?g||(0,t.ap)({size:I,sizes:z}):`calc(${(0,t.ap)({size:I,sizes:z})} / 3)`,borderRadius:c.fn.radius(_)}:null;return{wrapper:{position:"relative",marginTop:T?`calc(${c.spacing.xs} / 2)`:void 0,marginBottom:E?`calc(${c.spacing.xs} / 2)`:void 0},input:O(M(M(O(M({},c.fn.fontStyles()),{height:u?S==="unstyled"?void 0:"auto":(0,t.ap)({size:I,sizes:z}),WebkitTapHighlightColor:"transparent",lineHeight:u?c.lineHeight:`calc(${(0,t.ap)({size:I,sizes:z})} - ${(0,t.hO)(2)})`,appearance:"none",resize:"none",boxSizing:"border-box",fontSize:(0,t.ap)({size:I,sizes:c.fontSizes}),width:"100%",color:c.colorScheme==="dark"?c.colors.dark[0]:c.black,display:"block",textAlign:"left",cursor:q?"pointer":void 0}),f({theme:c,variant:S})),j),{"&:disabled, &[data-disabled]":{backgroundColor:c.colorScheme==="dark"?c.colors.dark[6]:c.colors.gray[1],color:c.colors.dark[2],opacity:.6,cursor:"not-allowed","&::placeholder":{color:c.colors.dark[2]}},"&[data-invalid]":{color:x,borderColor:x,"&::placeholder":{opacity:1,color:x}},"&[data-with-icon]":{paddingLeft:typeof W=="number"?(0,t.hO)(W):(0,t.ap)({size:I,sizes:z})},"&::placeholder":O(M({},c.fn.placeholderStyles()),{opacity:1}),"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button, &::-webkit-search-decoration, &::-webkit-search-cancel-button, &::-webkit-search-results-button, &::-webkit-search-results-decoration":{appearance:"none"},"&[type=number]":{MozAppearance:"textfield"}}),icon:{pointerEvents:"none",position:"absolute",zIndex:1,left:0,top:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",width:W?(0,t.hO)(W):(0,t.ap)({size:I,sizes:z}),color:A?c.colors.red[c.colorScheme==="dark"?6:7]:c.colorScheme==="dark"?c.colors.dark[2]:c.colors.gray[5]},rightSection:{position:"absolute",top:0,bottom:0,right:0,display:"flex",alignItems:"center",justifyContent:"center",width:g||(0,t.ap)({size:I,sizes:z})}}});const s=l},28136:(D,b,e)=>{"use strict";e.d(b,{d:()=>f});var t=e(7294),n=e(99275),o=e(17302),r=e(98793),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={size:"sm"},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("InputDescription",m,l),{children:u,className:_,classNames:A,styles:g,unstyled:y,size:W,__staticSelector:E,variant:T}=c,q=z(c,["children","className","classNames","styles","unstyled","size","__staticSelector","variant"]),{classes:S,cx:I}=(0,o.Z)(null,{name:["InputWrapper",E],classNames:A,styles:g,unstyled:y,variant:T,size:W});return t.createElement(r.x,O({color:"dimmed",className:I(S.description,_),ref:s,unstyled:y},q),u)});f.displayName="@mantine/core/InputDescription"},17302:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,a,{size:i})=>({description:{wordBreak:"break-word",color:r.colorScheme==="dark"?r.colors.dark[2]:r.colors.gray[6],fontSize:`calc(${(0,t.ap)({size:i,sizes:r.fontSizes})} - ${(0,t.hO)(2)})`,lineHeight:1.2,display:"block"}}));const o=n},48802:(D,b,e)=>{"use strict";e.d(b,{p:()=>f});var t=e(7294),n=e(99275),o=e(31982),r=e(98793),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={size:"sm"},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("InputError",m,l),{children:u,className:_,classNames:A,styles:g,unstyled:y,size:W,__staticSelector:E,variant:T}=c,q=z(c,["children","className","classNames","styles","unstyled","size","__staticSelector","variant"]),{classes:S,cx:I}=(0,o.Z)(null,{name:["InputWrapper",E],classNames:A,styles:g,unstyled:y,variant:T,size:W});return t.createElement(r.x,O({className:I(S.error,_),ref:s},q),u)});f.displayName="@mantine/core/InputError"},31982:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,a,{size:i})=>({error:{wordBreak:"break-word",color:r.fn.variant({variant:"filled",color:"red"}).background,fontSize:`calc(${(0,t.ap)({size:i,sizes:r.fontSizes})} - ${(0,t.hO)(2)})`,lineHeight:1.2,display:"block"}}));const o=n},12043:(D,b,e)=>{"use strict";e.d(b,{A:()=>f});var t=e(7294),n=e(99275),o=e(37846),r=e(84888),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={labelElement:"label",size:"sm"},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("InputLabel",m,l),{labelElement:u,children:_,required:A,size:g,classNames:y,styles:W,unstyled:E,className:T,htmlFor:q,__staticSelector:S,variant:I,onMouseDown:x}=c,j=z(c,["labelElement","children","required","size","classNames","styles","unstyled","className","htmlFor","__staticSelector","variant","onMouseDown"]),{classes:N,cx:k}=(0,o.Z)(null,{name:["InputWrapper",S],classNames:y,styles:W,unstyled:E,variant:I,size:g});return t.createElement(r.x,O({component:u,ref:s,className:k(N.label,T),htmlFor:u==="label"?q:void 0,onMouseDown:K=>{x==null||x(K),!K.defaultPrevented&&K.detail>1&&K.preventDefault()}},j),_,A&&t.createElement("span",{className:N.required,"aria-hidden":!0}," *"))});f.displayName="@mantine/core/InputLabel"},37846:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,a,{size:i})=>({label:{display:"inline-block",fontSize:(0,t.ap)({size:i,sizes:r.fontSizes}),fontWeight:500,color:r.colorScheme==="dark"?r.colors.dark[0]:r.colors.gray[9],wordBreak:"break-word",cursor:"default",WebkitTapHighlightColor:"transparent"},required:{color:r.fn.variant({variant:"filled",color:"red"}).background}}));const o=n},4127:(D,b,e)=>{"use strict";e.d(b,{U:()=>f});var t=e(7294),n=e(99275),o=e(92159),r=e(84888),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("InputPlaceholder",m,l),{sx:u}=c,_=z(c,["sx"]);return t.createElement(r.x,O({component:"span",sx:[A=>A.fn.placeholderStyles(),...(0,o.RG)(u)],ref:s},_))});f.displayName="@mantine/core/InputPlaceholder"},65750:(D,b,e)=>{"use strict";e.d(b,{D:()=>r,I:()=>o});var t=e(7294);const n=(0,t.createContext)({offsetBottom:!1,offsetTop:!1,describedBy:void 0}),o=n.Provider,r=()=>(0,t.useContext)(n)},40122:(D,b,e)=>{"use strict";e.d(b,{S:()=>y});var t=e(7294),n=e(99275),o=e(12043),r=e(48802),a=e(28136),i=e(65750),p=e(84811),d=e(18863),M=e(84888),O=Object.defineProperty,z=Object.defineProperties,m=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(W,E,T)=>E in W?O(W,E,{enumerable:!0,configurable:!0,writable:!0,value:T}):W[E]=T,u=(W,E)=>{for(var T in E||(E={}))l.call(E,T)&&c(W,T,E[T]);if(f)for(var T of f(E))s.call(E,T)&&c(W,T,E[T]);return W},_=(W,E)=>z(W,m(E)),A=(W,E)=>{var T={};for(var q in W)l.call(W,q)&&E.indexOf(q)<0&&(T[q]=W[q]);if(W!=null&&f)for(var q of f(W))E.indexOf(q)<0&&s.call(W,q)&&(T[q]=W[q]);return T};const g={labelElement:"label",size:"sm",inputContainer:W=>W,inputWrapperOrder:["label","description","input","error"]},y=(0,t.forwardRef)((W,E)=>{const T=(0,n.N4)("InputWrapper",g,W),{className:q,label:S,children:I,required:x,id:j,error:N,description:k,labelElement:K,labelProps:Y,descriptionProps:$,errorProps:u0,classNames:n0,styles:i0,size:t0,inputContainer:J,__staticSelector:a0,unstyled:b0,inputWrapperOrder:d0,withAsterisk:O0,variant:_0}=T,h0=A(T,["className","label","children","required","id","error","description","labelElement","labelProps","descriptionProps","errorProps","classNames","styles","size","inputContainer","__staticSelector","unstyled","inputWrapperOrder","withAsterisk","variant"]),{classes:A0,cx:w0}=(0,d.Z)(null,{classNames:n0,styles:i0,name:["InputWrapper",a0],unstyled:b0,variant:_0,size:t0}),Z0={classNames:n0,styles:i0,unstyled:b0,size:t0,variant:_0,__staticSelector:a0},Y0=typeof O0=="boolean"?O0:x,J0=j?`${j}-error`:u0==null?void 0:u0.id,g0=j?`${j}-description`:$==null?void 0:$.id,E0=`${!!N&&typeof N!="boolean"?J0:""} ${k?g0:""}`,K0=E0.trim().length>0?E0.trim():void 0,j0=S&&t.createElement(o.A,u(u({key:"label",labelElement:K,id:j?`${j}-label`:void 0,htmlFor:j,required:Y0},Z0),Y),S),n1=k&&t.createElement(a.d,_(u(u({key:"description"},$),Z0),{size:($==null?void 0:$.size)||Z0.size,id:($==null?void 0:$.id)||g0}),k),r1=t.createElement(t.Fragment,{key:"input"},J(I)),s1=typeof N!="boolean"&&N&&t.createElement(r.p,_(u(u({},u0),Z0),{size:(u0==null?void 0:u0.size)||Z0.size,key:"error",id:(u0==null?void 0:u0.id)||J0}),N),O1=d0.map(A1=>{switch(A1){case"label":return j0;case"input":return r1;case"description":return n1;case"error":return s1;default:return null}});return t.createElement(i.I,{value:u({describedBy:K0},(0,p.P)(d0,{hasDescription:!!n1,hasError:!!s1}))},t.createElement(M.x,u({className:w0(A0.root,q),ref:E},h0),O1))});y.displayName="@mantine/core/InputWrapper"},18863:(D,b,e)=>{"use strict";e.d(b,{Z:()=>m});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l)),z=(0,t.kc)(f=>({root:O(M({},f.fn.fontStyles()),{lineHeight:f.lineHeight})}));const m=z},84811:(D,b,e)=>{"use strict";e.d(b,{P:()=>t});function t(n,{hasDescription:o,hasError:r}){const a=n.findIndex(O=>O==="input"),i=n[a-1],p=n[a+1];return{offsetBottom:o&&p==="description"||r&&p==="error",offsetTop:o&&i==="description"||r&&i==="error"}}},66261:(D,b,e)=>{"use strict";e.d(b,{k:()=>l});var t=e(99275),n=e(76322),o=e(12756),r=Object.defineProperty,a=Object.defineProperties,i=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?r(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>a(s,i(c)),f=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};function l(s,c,u){const _=(0,t.N4)(s,c,u),{label:A,description:g,error:y,required:W,classNames:E,styles:T,className:q,unstyled:S,__staticSelector:I,sx:x,errorProps:j,labelProps:N,descriptionProps:k,wrapperProps:K,id:Y,size:$,style:u0,inputContainer:n0,inputWrapperOrder:i0,withAsterisk:t0,variant:J}=_,a0=f(_,["label","description","error","required","classNames","styles","className","unstyled","__staticSelector","sx","errorProps","labelProps","descriptionProps","wrapperProps","id","size","style","inputContainer","inputWrapperOrder","withAsterisk","variant"]),b0=(0,n.Me)(Y),{systemStyles:d0,rest:O0}=(0,o.x)(a0),_0=z({label:A,description:g,error:y,required:W,classNames:E,className:q,__staticSelector:I,sx:x,errorProps:j,labelProps:N,descriptionProps:k,unstyled:S,styles:T,id:b0,size:$,style:u0,inputContainer:n0,inputWrapperOrder:i0,withAsterisk:t0,variant:J},K);return m(z({},O0),{classNames:E,styles:T,unstyled:S,wrapperProps:z(z({},_0),d0),inputProps:{required:W,classNames:E,styles:T,unstyled:S,id:b0,size:$,__staticSelector:I,error:y,variant:J}})}},80324:(D,b,e)=>{"use strict";e.d(b,{M:()=>u});var t=e(7294),n=e(92159),o=e(66261),r=e(55956),a=Object.defineProperty,i=Object.defineProperties,p=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(_,A,g)=>A in _?a(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,m=(_,A)=>{for(var g in A||(A={}))M.call(A,g)&&z(_,g,A[g]);if(d)for(var g of d(A))O.call(A,g)&&z(_,g,A[g]);return _},f=(_,A)=>i(_,p(A)),l=(_,A)=>{var g={};for(var y in _)M.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&d)for(var y of d(_))A.indexOf(y)<0&&O.call(_,y)&&(g[y]=_[y]);return g};const s={size:"sm",__staticSelector:"InputBase"},c=(0,t.forwardRef)((_,A)=>{const g=(0,o.k)("InputBase",s,_),{inputProps:y,wrapperProps:W}=g,E=l(g,["inputProps","wrapperProps"]);return t.createElement(r.I.Wrapper,m({},W),t.createElement(r.I,f(m(m({},y),E),{ref:A})))});c.displayName="@mantine/core/InputBase";const u=(0,n.Fm)(c)},8116:(D,b,e)=>{"use strict";e.d(b,{q:()=>_});var t=e(7294),n=e(76322),o=e(99275),r=e(12125),a=e(52929),i=e(81182),p=Object.defineProperty,d=Object.defineProperties,M=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(A,g,y)=>g in A?p(A,g,{enumerable:!0,configurable:!0,writable:!0,value:y}):A[g]=y,l=(A,g)=>{for(var y in g||(g={}))z.call(g,y)&&f(A,y,g[y]);if(O)for(var y of O(g))m.call(g,y)&&f(A,y,g[y]);return A},s=(A,g)=>d(A,M(g)),c=(A,g)=>{var y={};for(var W in A)z.call(A,W)&&g.indexOf(W)<0&&(y[W]=A[W]);if(A!=null&&O)for(var W of O(A))g.indexOf(W)<0&&m.call(A,W)&&(y[W]=A[W]);return y};const u={formatOnBlur:!1,size:"sm",serialize:JSON.stringify,deserialize:JSON.parse},_=(0,t.forwardRef)((A,g)=>{const y=(0,o.N4)("JsonInput",u,A),{value:W,defaultValue:E,onChange:T,onFocus:q,onBlur:S,error:I,formatOnBlur:x,size:j,validationError:N,classNames:k,unstyled:K,readOnly:Y,variant:$,serialize:u0,deserialize:n0}=y,i0=c(y,["value","defaultValue","onChange","onFocus","onBlur","error","formatOnBlur","size","validationError","classNames","unstyled","readOnly","variant","serialize","deserialize"]),{classes:t0,cx:J}=(0,a.Z)(null,{name:"JsonInput",unstyled:K,size:j,variant:$}),[a0,b0]=(0,n.Ch)({value:W,defaultValue:E,finalValue:"",onChange:T}),[d0,O0]=(0,t.useState)((0,r.X)(a0,n0)),_0=A0=>{typeof q=="function"&&q(A0),O0(!0)},h0=A0=>{typeof S=="function"&&S(A0);const w0=(0,r.X)(A0.currentTarget.value,n0);x&&!Y&&w0&&A0.currentTarget.value.trim()!==""&&b0(u0(n0(A0.currentTarget.value),null,2)),O0(w0)};return t.createElement(i.g,l({value:a0,onChange:A0=>b0(A0.currentTarget.value),onFocus:_0,onBlur:h0,error:d0?I:N||!0,__staticSelector:"JsonInput",classNames:s(l({},k),{input:J(t0.input,k==null?void 0:k.input)}),autoComplete:"nope",ref:g,unstyled:K,readOnly:Y,size:j,variant:$},i0))});_.displayName="@mantine/core/JsonInput"},52929:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,a,{size:i})=>({input:{fontFamily:r.fontFamilyMonospace,fontSize:`calc(${(0,t.ap)({size:i,sizes:r.fontSizes})} - ${(0,t.hO)(2)})`}}));const o=n},12125:(D,b,e)=>{"use strict";e.d(b,{X:()=>t});function t(n,o){if(typeof n=="string"&&n.trim().length===0)return!0;try{return o(n),!0}catch{return!1}}},44815:(D,b,e)=>{"use strict";e.d(b,{T:()=>f});var t=e(7294),n=e(99275),o=e(44378),r=e(84888),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={size:"sm"},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("Kbd",m,l),{className:u,children:_,unstyled:A,variant:g,size:y}=c,W=z(c,["className","children","unstyled","variant","size"]),{classes:E,cx:T}=(0,o.Z)(null,{name:"Kbd",unstyled:A,variant:g,size:y});return t.createElement(r.x,O({component:"kbd",className:T(E.root,u),ref:s},W),_)});f.displayName="@mantine/core/Kbd"},44378:(D,b,e)=>{"use strict";e.d(b,{Z:()=>r});var t=e(99275);const n={xs:{padding:`${(0,t.hO)(2)} ${(0,t.hO)(4)}`,fontSize:(0,t.hO)(10)},sm:{padding:`${(0,t.hO)(3)} ${(0,t.hO)(5)}`,fontSize:(0,t.hO)(12)},md:{padding:`${(0,t.hO)(4)} ${(0,t.hO)(7)}`,fontSize:(0,t.hO)(14)},lg:{padding:`${(0,t.hO)(5)} ${(0,t.hO)(9)}`,fontSize:(0,t.hO)(16)},xl:{padding:`${(0,t.hO)(8)} ${(0,t.hO)(14)}`,fontSize:(0,t.hO)(20)}};var o=(0,t.kc)((a,i,{size:p})=>{const d=p in n?n[p]:n.sm;return{root:{lineHeight:a.lineHeight,fontFamily:a.fontFamilyMonospace,fontSize:d.fontSize,fontWeight:700,backgroundColor:a.colorScheme==="dark"?a.colors.dark[5]:a.colors.gray[0],color:a.colorScheme==="dark"?a.colors.dark[0]:a.colors.gray[7],padding:d.padding,borderRadius:a.radius.sm,border:`${(0,t.hO)(1)} solid ${a.colorScheme==="dark"?a.colors.dark[4]:a.colors.gray[3]}`,borderBottom:`${(0,t.hO)(3)} solid ${a.colorScheme==="dark"?a.colors.dark[4]:a.colors.gray[3]}`}}});const r=o},14293:(D,b,e)=>{"use strict";e.d(b,{U:()=>o,Z:()=>n});var t=e(92159);const[n,o]=(0,t.Rk)("List component was not found in tree")},75143:(D,b,e)=>{"use strict";e.d(b,{a:()=>s});var t=e(7294),n=e(99275),o=e(81468),r=e(14293),a=e(93929),i=e(84888),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(c,u,_)=>u in c?p(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,m=(c,u)=>{for(var _ in u||(u={}))M.call(u,_)&&z(c,_,u[_]);if(d)for(var _ of d(u))O.call(u,_)&&z(c,_,u[_]);return c},f=(c,u)=>{var _={};for(var A in c)M.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&d)for(var A of d(c))u.indexOf(A)<0&&O.call(c,A)&&(_[A]=c[A]);return _};const l={type:"unordered",size:"md",spacing:0},s=(0,t.forwardRef)((c,u)=>{const _=(0,n.N4)("List",l,c),{children:A,type:g,size:y,listStyleType:W,withPadding:E,center:T,spacing:q,icon:S,className:I,styles:x,classNames:j,unstyled:N,variant:k}=_,K=f(_,["children","type","size","listStyleType","withPadding","center","spacing","icon","className","styles","classNames","unstyled","variant"]),{classes:Y,cx:$}=(0,a.Z)({withPadding:E,listStyleType:W,center:T,spacing:q},{classNames:j,styles:x,name:"List",unstyled:N,size:y,variant:k});return t.createElement(r.Z,{value:{spacing:q,center:T,icon:S,listStyleType:W,size:y,withPadding:E,classNames:j,styles:x,unstyled:N,variant:k}},t.createElement(i.x,m({component:g==="unordered"?"ul":"ol",className:$(Y.root,I),ref:u},K),A))});s.Item=o.H,s.displayName="@mantine/core/List"},93929:(D,b,e)=>{"use strict";e.d(b,{Z:()=>m});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l)),z=(0,t.kc)((f,{withPadding:l,listStyleType:s},{size:c})=>({root:O(M({},f.fn.fontStyles()),{listStyleType:s,color:f.colorScheme==="dark"?f.colors.dark[0]:f.black,fontSize:(0,t.ap)({size:c,sizes:f.fontSizes}),lineHeight:f.lineHeight,margin:0,paddingLeft:l?f.spacing.xl:0,listStylePosition:"inside"})}));const m=z},81468:(D,b,e)=>{"use strict";e.d(b,{H:()=>l});var t=e(7294),n=e(99275),o=e(14293),r=e(1838),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={},l=(0,t.forwardRef)((s,c)=>{const u=(0,n.N4)("ListItem",f,s),{className:_,children:A,icon:g}=u,y=m(u,["className","children","icon"]),{icon:W,spacing:E,center:T,listStyleType:q,size:S,withPadding:I,classNames:x,styles:j,unstyled:N,variant:k}=(0,o.U)(),K=g||W,{classes:Y,cx:$}=(0,r.Z)({withPadding:I,listStyleType:q,center:T,spacing:E},{classNames:x,styles:j,unstyled:N,name:"List",variant:k,size:S});return t.createElement(a.x,z({component:"li",className:$(Y.item,_),"data-with-icon":!!K||void 0,ref:c},y),t.createElement("div",{className:Y.itemWrapper},K&&t.createElement("span",{className:Y.itemIcon},K),t.createElement("span",null,A)))});l.displayName="@mantine/core/ListItem"},1838:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{spacing:a,center:i})=>({itemWrapper:{ref:(0,t.Ao)("itemWrapper"),display:"inline-flex",flexDirection:"column",whiteSpace:"normal"},item:{whiteSpace:"nowrap",lineHeight:i?1:r.lineHeight,"&:not(:first-of-type)":{marginTop:(0,t.ap)({size:a,sizes:r.spacing})},"&[data-with-icon]":{listStyle:"none",[`& .${(0,t.Ao)("itemWrapper")}`]:{display:"inline-flex",alignItems:i?"center":"flex-start",flexDirection:"row"}}},itemIcon:{display:"inline-block",verticalAlign:"middle",marginRight:r.spacing.sm}}));const o=n},30762:(D,b,e)=>{"use strict";e.d(b,{a:()=>u});var t=e(7294),n=e(99275),o=e(32040),r=e(46941),a=e(82755),i=e(84888),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(_,A,g)=>A in _?p(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,m=(_,A)=>{for(var g in A||(A={}))M.call(A,g)&&z(_,g,A[g]);if(d)for(var g of d(A))O.call(A,g)&&z(_,g,A[g]);return _},f=(_,A)=>{var g={};for(var y in _)M.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&d)for(var y of d(_))A.indexOf(y)<0&&O.call(_,y)&&(g[y]=_[y]);return g};const l={bars:o.L,oval:r.i,dots:a.b},s={xs:(0,n.hO)(18),sm:(0,n.hO)(22),md:(0,n.hO)(36),lg:(0,n.hO)(44),xl:(0,n.hO)(58)},c={size:"md"};function u(_){const A=(0,n.N4)("Loader",c,_),{size:g,color:y,variant:W}=A,E=f(A,["size","color","variant"]),T=(0,n.rZ)(),q=W in l?W:T.loader;return t.createElement(i.x,m({role:"presentation",component:l[q]||l.bars,size:(0,n.ap)({size:g,sizes:s}),color:T.fn.variant({variant:"filled",primaryFallback:!1,color:y||T.primaryColor}).background},E))}u.displayName="@mantine/core/Loader"},32040:(D,b,e)=>{"use strict";e.d(b,{L:()=>M});var t=e(7294),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(O,z,m)=>z in O?n(O,z,{enumerable:!0,configurable:!0,writable:!0,value:m}):O[z]=m,p=(O,z)=>{for(var m in z||(z={}))r.call(z,m)&&i(O,m,z[m]);if(o)for(var m of o(z))a.call(z,m)&&i(O,m,z[m]);return O},d=(O,z)=>{var m={};for(var f in O)r.call(O,f)&&z.indexOf(f)<0&&(m[f]=O[f]);if(O!=null&&o)for(var f of o(O))z.indexOf(f)<0&&a.call(O,f)&&(m[f]=O[f]);return m};function M(O){var z=O,{size:m,color:f}=z,l=d(z,["size","color"]);return t.createElement("svg",p({viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg",fill:f,width:m},l),t.createElement("rect",{y:"10",width:"15",height:"120",rx:"6"},t.createElement("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),t.createElement("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),t.createElement("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6"},t.createElement("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),t.createElement("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),t.createElement("rect",{x:"60",width:"15",height:"140",rx:"6"},t.createElement("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),t.createElement("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),t.createElement("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6"},t.createElement("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),t.createElement("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),t.createElement("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6"},t.createElement("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),t.createElement("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})))}},82755:(D,b,e)=>{"use strict";e.d(b,{b:()=>M});var t=e(7294),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(O,z,m)=>z in O?n(O,z,{enumerable:!0,configurable:!0,writable:!0,value:m}):O[z]=m,p=(O,z)=>{for(var m in z||(z={}))r.call(z,m)&&i(O,m,z[m]);if(o)for(var m of o(z))a.call(z,m)&&i(O,m,z[m]);return O},d=(O,z)=>{var m={};for(var f in O)r.call(O,f)&&z.indexOf(f)<0&&(m[f]=O[f]);if(O!=null&&o)for(var f of o(O))z.indexOf(f)<0&&a.call(O,f)&&(m[f]=O[f]);return m};function M(O){var z=O,{size:m,color:f}=z,l=d(z,["size","color"]);return t.createElement("svg",p({width:m,viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg",fill:f},l),t.createElement("circle",{cx:"15",cy:"15",r:"15"},t.createElement("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),t.createElement("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})),t.createElement("circle",{cx:"60",cy:"15",r:"9",fillOpacity:"0.3"},t.createElement("animate",{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}),t.createElement("animate",{attributeName:"fill-opacity",from:"0.5",to:"0.5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})),t.createElement("circle",{cx:"105",cy:"15",r:"15"},t.createElement("animate",{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),t.createElement("animate",{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})))}},46941:(D,b,e)=>{"use strict";e.d(b,{i:()=>M});var t=e(7294),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(O,z,m)=>z in O?n(O,z,{enumerable:!0,configurable:!0,writable:!0,value:m}):O[z]=m,p=(O,z)=>{for(var m in z||(z={}))r.call(z,m)&&i(O,m,z[m]);if(o)for(var m of o(z))a.call(z,m)&&i(O,m,z[m]);return O},d=(O,z)=>{var m={};for(var f in O)r.call(O,f)&&z.indexOf(f)<0&&(m[f]=O[f]);if(O!=null&&o)for(var f of o(O))z.indexOf(f)<0&&a.call(O,f)&&(m[f]=O[f]);return m};function M(O){var z=O,{size:m,color:f}=z,l=d(z,["size","color"]);return t.createElement("svg",p({width:m,height:m,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:f},l),t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("g",{transform:"translate(2.5 2.5)",strokeWidth:"5"},t.createElement("circle",{strokeOpacity:".5",cx:"16",cy:"16",r:"16"}),t.createElement("path",{d:"M32 16c0-9.94-8.06-16-16-16"},t.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 16 16",to:"360 16 16",dur:"1s",repeatCount:"indefinite"})))))}},44439:(D,b,e)=>{"use strict";e.d(b,{f:()=>A});var t=e(7294),n=e(99275),o=e(71133),r=e(97688),a=e(84888),i=e(30762),p=e(63045),d=Object.defineProperty,M=Object.defineProperties,O=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(g,y,W)=>y in g?d(g,y,{enumerable:!0,configurable:!0,writable:!0,value:W}):g[y]=W,s=(g,y)=>{for(var W in y||(y={}))m.call(y,W)&&l(g,W,y[W]);if(z)for(var W of z(y))f.call(y,W)&&l(g,W,y[W]);return g},c=(g,y)=>M(g,O(y)),u=(g,y)=>{var W={};for(var E in g)m.call(g,E)&&y.indexOf(E)<0&&(W[E]=g[E]);if(g!=null&&z)for(var E of z(g))y.indexOf(E)<0&&f.call(g,E)&&(W[E]=g[E]);return W};const _={overlayOpacity:.75,transitionDuration:0,radius:0,zIndex:(0,n.wd)("overlay")},A=(0,t.forwardRef)((g,y)=>{const W=(0,n.N4)("LoadingOverlay",_,g),{className:E,visible:T,loaderProps:q,overlayOpacity:S,overlayColor:I,transitionDuration:x,exitTransitionDuration:j,zIndex:N,style:k,loader:K,radius:Y,overlayBlur:$,unstyled:u0,variant:n0,keepMounted:i0}=W,t0=u(W,["className","visible","loaderProps","overlayOpacity","overlayColor","transitionDuration","exitTransitionDuration","zIndex","style","loader","radius","overlayBlur","unstyled","variant","keepMounted"]),{classes:J,cx:a0,theme:b0}=(0,o.Z)(null,{name:"LoadingOverlay",unstyled:u0,variant:n0}),d0=`calc(${N} + 1)`;return t.createElement(r.u,{keepMounted:i0,duration:x,exitDuration:j,mounted:T,transition:"fade"},O0=>t.createElement(a.x,s({className:a0(J.root,E),style:c(s(s({},O0),k),{zIndex:N}),ref:y},t0),K?t.createElement("div",{style:{zIndex:d0}},K):t.createElement(i.a,s({style:{zIndex:d0}},q)),t.createElement(p.a,{opacity:S,zIndex:N,radius:Y,blur:$,unstyled:u0,color:I||(b0.colorScheme==="dark"?b0.colors.dark[5]:b0.white)})))});A.displayName="@mantine/core/LoadingOverlay"},71133:(D,b,e)=>{"use strict";e.d(b,{Z:()=>m});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l)),z=(0,t.kc)(f=>({root:O(M({},f.fn.cover()),{display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"})}));const m=z},95649:(D,b,e)=>{"use strict";e.d(b,{v:()=>f});var t=e(7294),n=e(99275),o=e(57038),r=e(84888),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={color:"yellow"},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("Mark",m,l),{color:u,className:_,unstyled:A,variant:g}=c,y=z(c,["color","className","unstyled","variant"]),{classes:W,cx:E}=(0,o.Z)({color:u},{unstyled:A,name:"Mark",variant:g});return t.createElement(r.x,O({component:"mark",ref:s,className:E(W.root,_)},y))});f.displayName="@mantine/core/Mark"},57038:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{color:a})=>({root:{backgroundColor:r.fn.themeColor(a,r.colorScheme==="dark"?5:2),color:r.colorScheme==="dark"?r.colors.dark[9]:"inherit"}}));const o=n},23132:(D,b,e)=>{"use strict";e.d(b,{z:()=>r});var t=e(7294),n=e(99275),o=e(78986);function r(a){var i;const{children:p,smallerThan:d,largerThan:M,query:O,styles:z,className:m}=(0,n.N4)("MediaQuery",{},a),{classes:f,cx:l}=(0,o.Z)({smallerThan:d,largerThan:M,query:O,styles:z},{name:"MediaQuery"}),s=t.Children.only(p);return typeof s=="object"&&s!==null&&"props"in s?t.cloneElement(s,{className:l(f.media,(i=s.props)==null?void 0:i.className,m)}):s}r.displayName="@mantine/core/MediaQuery"},78986:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{smallerThan:a,largerThan:i,query:p,styles:d})=>{const M={},O=(0,t.ap)({size:i,sizes:r.breakpoints}),z=(0,t.ap)({size:a,sizes:r.breakpoints}),m=typeof d=="function"?d(r):d;return i!==void 0&&a!==void 0?M[`@media (min-width: ${(0,t.em)(O)}) and (max-width: ${(0,t.em)((0,t.oI)(z)-1)})`]=m:(i!==void 0&&(M[`@media (min-width: ${(0,t.ap)({size:i,sizes:r.breakpoints})})`]=m),a!==void 0&&(M[`@media (max-width: ${(0,t.em)((0,t.oI)((0,t.ap)({size:a,sizes:r.breakpoints}))-1)})`]=m)),p&&(M[`@media ${p}`]=m),{media:M}});const o=n},56209:(D,b,e)=>{"use strict";e.d(b,{X:()=>r,q:()=>o});var t=e(92159),n=e(23631);const[o,r]=(0,t.Rk)(n.c.context)},23631:(D,b,e)=>{"use strict";e.d(b,{c:()=>t});const t={context:"Menu component was not found in the tree",children:"Menu.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"}},41202:(D,b,e)=>{"use strict";e.d(b,{v:()=>q});var t=e(7294),n=e(92159),o=e(76322),r=e(99275),a=e(64665),i=e(68925),p=e(90647),d=e(53665),M=e(55018),O=e(56209),z=e(9855),m=e(27347),f=e(46512),l=Object.defineProperty,s=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,g=(S,I,x)=>I in S?l(S,I,{enumerable:!0,configurable:!0,writable:!0,value:x}):S[I]=x,y=(S,I)=>{for(var x in I||(I={}))_.call(I,x)&&g(S,x,I[x]);if(u)for(var x of u(I))A.call(I,x)&&g(S,x,I[x]);return S},W=(S,I)=>s(S,c(I)),E=(S,I)=>{var x={};for(var j in S)_.call(S,j)&&I.indexOf(j)<0&&(x[j]=S[j]);if(S!=null&&u)for(var j of u(S))I.indexOf(j)<0&&A.call(S,j)&&(x[j]=S[j]);return x};const T={closeOnItemClick:!0,loop:!0,trigger:"click",openDelay:0,closeDelay:100};function q(S){const I=(0,r.N4)("Menu",T,S),{children:x,onOpen:j,onClose:N,opened:k,defaultOpened:K,onChange:Y,closeOnItemClick:$,loop:u0,closeOnEscape:n0,trigger:i0,openDelay:t0,closeDelay:J,classNames:a0,styles:b0,unstyled:d0,radius:O0,variant:_0}=I,h0=E(I,["children","onOpen","onClose","opened","defaultOpened","onChange","closeOnItemClick","loop","closeOnEscape","trigger","openDelay","closeDelay","classNames","styles","unstyled","radius","variant"]),{classes:A0,cx:w0}=(0,z.Z)(),[Z0,{setHovered:Y0,resetHovered:J0}]=(0,n.Yv)(),[g0,B0]=(0,o.Ch)({value:k,defaultValue:K,finalValue:!1,onChange:Y}),E0=()=>{B0(!1),g0&&(N==null||N())},K0=()=>{B0(!0),!g0&&(j==null||j())},j0=()=>g0?E0():K0(),{openDropdown:n1,closeDropdown:r1}=(0,m.U)({open:K0,close:E0,closeDelay:J,openDelay:t0}),s1=O1=>(0,n.mE)("[data-menu-item]","[data-menu-dropdown]",O1);return(0,o.lR)(()=>{J0()},[g0]),t.createElement(O.q,{value:{opened:g0,toggleDropdown:j0,getItemIndex:s1,hovered:Z0,setHovered:Y0,closeOnItemClick:$,closeDropdown:i0==="click"?E0:r1,openDropdown:i0==="click"?K0:n1,closeDropdownImmediately:E0,loop:u0,trigger:i0,radius:O0,classNames:a0,styles:b0,unstyled:d0,variant:_0}},t.createElement(f.J,W(y({},h0),{radius:O0,opened:g0,onChange:B0,defaultOpened:K,trapFocus:i0==="click",closeOnEscape:n0&&i0==="click",__staticSelector:"Menu",classNames:W(y({},a0),{dropdown:w0(A0.dropdown,a0==null?void 0:a0.dropdown)}),styles:b0,unstyled:d0,onClose:E0,onOpen:K0,variant:_0}),x))}q.displayName="@mantine/core/Menu",q.Item=p.s,q.Label=d.L,q.Dropdown=i.e,q.Target=M.e,q.Divider=a.R},9855:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)({dropdown:{padding:(0,t.hO)(4)}});const o=n},64665:(D,b,e)=>{"use strict";e.d(b,{R:()=>l});var t=e(7294),n=e(99275),o=e(56209),r=e(83770),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={},l=(0,t.forwardRef)((s,c)=>{const u=(0,n.N4)("MenuDivider",f,s),{children:_,className:A}=u,g=m(u,["children","className"]),{classNames:y,styles:W,unstyled:E,variant:T}=(0,o.X)(),{classes:q,cx:S}=(0,r.Z)(null,{name:"Menu",classNames:y,styles:W,unstyled:E,variant:T});return t.createElement(a.x,z({className:S(q.divider,A),ref:c},g))});l.displayName="@mantine/core/MenuDivider"},83770:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(r=>({divider:{marginTop:(0,t.hO)(4),marginBottom:(0,t.hO)(4),borderTop:`${(0,t.hO)(1)} solid ${r.colorScheme==="dark"?r.colors.dark[4]:r.colors.gray[2]}`}}));const o=n},68925:(D,b,e)=>{"use strict";e.d(b,{e:()=>l});var t=e(7294),n=e(99275),o=e(92159),r=e(56209),a=e(46512),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={};function l(s){const c=(0,n.N4)("MenuDropdown",f,s),{children:u,onMouseEnter:_,onMouseLeave:A}=c,g=m(c,["children","onMouseEnter","onMouseLeave"]),y=(0,t.useRef)(),W=(0,r.X)(),E=S=>{(S.key==="ArrowUp"||S.key==="ArrowDown")&&(S.preventDefault(),y.current.querySelectorAll("[data-menu-item]")[0].focus())},T=(0,o.xH)(_,()=>W.trigger==="hover"&&W.openDropdown()),q=(0,o.xH)(A,()=>W.trigger==="hover"&&W.closeDropdown());return t.createElement(a.J.Dropdown,z({onMouseEnter:T,onMouseLeave:q,role:"menu","aria-orientation":"vertical"},g),t.createElement("div",{tabIndex:-1,"data-menu-dropdown":!0,"data-autofocus":!0,onKeyDown:E,ref:y,style:{outline:0}},u))}l.displayName="@mantine/core/MenuDropdown"},90647:(D,b,e)=>{"use strict";e.d(b,{s:()=>g});var t=e(7294),n=e(99275),o=e(92159),r=e(76322),a=e(56209),i=e(50867),p=e(84888),d=Object.defineProperty,M=Object.defineProperties,O=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(y,W,E)=>W in y?d(y,W,{enumerable:!0,configurable:!0,writable:!0,value:E}):y[W]=E,s=(y,W)=>{for(var E in W||(W={}))m.call(W,E)&&l(y,E,W[E]);if(z)for(var E of z(W))f.call(W,E)&&l(y,E,W[E]);return y},c=(y,W)=>M(y,O(W)),u=(y,W)=>{var E={};for(var T in y)m.call(y,T)&&W.indexOf(T)<0&&(E[T]=y[T]);if(y!=null&&z)for(var T of z(y))W.indexOf(T)<0&&f.call(y,T)&&(E[T]=y[T]);return E};const _={},A=(0,t.forwardRef)((y,W)=>{const E=(0,n.N4)("MenuItem",_,y),{children:T,className:q,color:S,closeMenuOnClick:I,icon:x,rightSection:j}=E,N=u(E,["children","className","color","closeMenuOnClick","icon","rightSection"]),k=(0,a.X)(),{classes:K,cx:Y,theme:$}=(0,i.Z)({radius:k.radius,color:S},{name:"Menu",classNames:k.classNames,styles:k.styles,unstyled:k.unstyled,variant:k.variant}),u0=(0,t.useRef)(),n0=k.getItemIndex(u0.current),i0=N,t0=(0,o.xH)(i0.onMouseLeave,()=>k.setHovered(-1)),J=(0,o.xH)(i0.onMouseEnter,()=>k.setHovered(k.getItemIndex(u0.current))),a0=(0,o.xH)(i0.onClick,()=>{typeof I=="boolean"?I&&k.closeDropdownImmediately():k.closeOnItemClick&&k.closeDropdownImmediately()}),b0=(0,o.xH)(i0.onFocus,()=>k.setHovered(k.getItemIndex(u0.current)));return t.createElement(p.x,c(s({component:"button",type:"button"},N),{tabIndex:-1,onFocus:b0,className:Y(K.item,q),ref:(0,r.Yx)(u0,W),role:"menuitem","data-menu-item":!0,"data-hovered":k.hovered===n0?!0:void 0,onMouseEnter:J,onMouseLeave:t0,onClick:a0,onKeyDown:(0,o.Rf)({siblingSelector:"[data-menu-item]",parentSelector:"[data-menu-dropdown]",activateOnFocus:!1,loop:k.loop,dir:$.dir,orientation:"vertical",onKeyDown:i0.onKeydown})}),x&&t.createElement("div",{className:K.itemIcon},x),T&&t.createElement("div",{className:K.itemLabel},T),j&&t.createElement("div",{className:K.itemRightSection},j))});A.displayName="@mantine/core/MenuItem";const g=(0,o.Fm)(A)},50867:(D,b,e)=>{"use strict";e.d(b,{Z:()=>m});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l)),z=(0,t.kc)((f,{color:l,radius:s})=>({item:O(M({},f.fn.fontStyles()),{WebkitTapHighlightColor:"transparent",fontSize:f.fontSizes.sm,border:0,backgroundColor:"transparent",outline:0,width:"100%",textAlign:"left",textDecoration:"none",boxSizing:"border-box",padding:`${f.spacing.xs} ${f.spacing.sm}`,cursor:"pointer",borderRadius:f.fn.radius(s),color:l?f.fn.variant({variant:"filled",primaryFallback:!1,color:l}).background:f.colorScheme==="dark"?f.colors.dark[0]:f.black,display:"flex",alignItems:"center","&:disabled":{color:f.colorScheme==="dark"?f.colors.dark[3]:f.colors.gray[5],pointerEvents:"none",userSelect:"none"},"&[data-hovered]":{backgroundColor:l?f.fn.variant({variant:"light",color:l}).background:f.colorScheme==="dark"?f.fn.rgba(f.colors.dark[3],.35):f.colors.gray[1]}}),itemLabel:{flex:1},itemIcon:{display:"flex",justifyContent:"center",alignItems:"center",marginRight:f.spacing.xs},itemRightSection:{}}));const m=z},53665:(D,b,e)=>{"use strict";e.d(b,{L:()=>l});var t=e(7294),n=e(99275),o=e(56209),r=e(4677),a=e(98793),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={},l=(0,t.forwardRef)((s,c)=>{const u=(0,n.N4)("MenuLabel",f,s),{children:_,className:A}=u,g=m(u,["children","className"]),{classNames:y,styles:W,unstyled:E,variant:T}=(0,o.X)(),{classes:q,cx:S}=(0,r.Z)(null,{name:"Menu",classNames:y,styles:W,unstyled:E,variant:T});return t.createElement(a.x,z({className:S(q.label,A),ref:c},g),_)});l.displayName="@mantine/core/MenuLabel"},4677:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(r=>({label:{color:r.colorScheme==="dark"?r.colors.dark[2]:r.colors.gray[6],fontWeight:500,fontSize:r.fontSizes.xs,padding:`calc(${r.spacing.xs} / 2) ${r.spacing.sm}`,cursor:"default"}}));const o=n},55018:(D,b,e)=>{"use strict";e.d(b,{e:()=>s});var t=e(7294),n=e(92159),o=e(99275),r=e(56209),a=e(23631),i=e(46512),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(c,u,_)=>u in c?p(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,m=(c,u)=>{for(var _ in u||(u={}))M.call(u,_)&&z(c,_,u[_]);if(d)for(var _ of d(u))O.call(u,_)&&z(c,_,u[_]);return c},f=(c,u)=>{var _={};for(var A in c)M.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&d)for(var A of d(c))u.indexOf(A)<0&&O.call(c,A)&&(_[A]=c[A]);return _};const l={refProp:"ref"},s=(0,t.forwardRef)((c,u)=>{const _=(0,o.N4)("MenuTarget",l,c),{children:A,refProp:g}=_,y=f(_,["children","refProp"]);if(!(0,n.kK)(A))throw new Error(a.c.children);const W=(0,r.X)(),E=(0,n.xH)(A.props.onClick,()=>W.trigger==="click"&&W.toggleDropdown()),T=(0,n.xH)(A.props.onMouseEnter,()=>W.trigger==="hover"&&W.openDropdown()),q=(0,n.xH)(A.props.onMouseLeave,()=>W.trigger==="hover"&&W.closeDropdown());return t.createElement(i.J.Target,m({refProp:g,popupType:"menu",ref:u},y),(0,t.cloneElement)(A,{onClick:E,onMouseEnter:T,onMouseLeave:q,"data-expanded":W.opened?!0:void 0}))});s.displayName="@mantine/core/MenuTarget"},18150:(D,b,e)=>{"use strict";e.d(b,{D:()=>n,v:()=>o});var t=e(92159);const[n,o]=(0,t.Rk)("Modal component was not found in tree")},80253:(D,b,e)=>{"use strict";e.d(b,{u:()=>u});var t=e(7294),n=e(99275),o=e(41109),r=e(66965),a=e(89057),i=Object.defineProperty,p=Object.defineProperties,d=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,m=(_,A,g)=>A in _?i(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,f=(_,A)=>{for(var g in A||(A={}))O.call(A,g)&&m(_,g,A[g]);if(M)for(var g of M(A))z.call(A,g)&&m(_,g,A[g]);return _},l=(_,A)=>p(_,d(A)),s=(_,A)=>{var g={};for(var y in _)O.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&M)for(var y of M(_))A.indexOf(y)<0&&z.call(_,y)&&(g[y]=_[y]);return g};const c=l(f({},a.K),{transitionProps:{duration:200,transition:"pop"},withOverlay:!0,withCloseButton:!0});function u(_){const A=(0,n.N4)("Modal",c,_),{title:g,withOverlay:y,overlayProps:W,withCloseButton:E,closeButtonProps:T,children:q}=A,S=s(A,["title","withOverlay","overlayProps","withCloseButton","closeButtonProps","children"]),I=!!g||E;return t.createElement(o.Y,f({},S),y&&t.createElement(a.e.Overlay,f({},W)),t.createElement(r.h,null,I&&t.createElement(a.e.Header,null,g&&t.createElement(a.e.Title,null,g),E&&t.createElement(a.e.CloseButton,f({},T))),t.createElement(a.e.Body,null,q)))}u.Root=o.Y,u.CloseButton=a.e.CloseButton,u.Overlay=a.e.Overlay,u.Content=r.h,u.Header=a.e.Header,u.Title=a.e.Title,u.Body=a.e.Body,u.NativeScrollArea=a.e.NativeScrollArea},66965:(D,b,e)=>{"use strict";e.d(b,{h:()=>f});var t=e(7294),n=e(99275),o=e(18150),r=e(89057),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={shadow:"xl"},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("ModalContent",m,l),{children:u,scrollAreaComponent:_}=c,A=z(c,["children","scrollAreaComponent"]),g=(0,o.v)(),y=_||g.scrollAreaComponent||r.e.NativeScrollArea;return t.createElement(r.e.Content,O({ref:s,radius:g.radius},A),t.createElement(y,{style:{maxHeight:`calc(100vh - (${(0,n.hO)(g.yOffset)} * 2))`}},u))})},41109:(D,b,e)=>{"use strict";e.d(b,{Y:()=>u});var t=e(7294),n=e(99275),o=e(18150),r=e(31002),a=e(89057),i=Object.defineProperty,p=Object.defineProperties,d=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,m=(_,A,g)=>A in _?i(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,f=(_,A)=>{for(var g in A||(A={}))O.call(A,g)&&m(_,g,A[g]);if(M)for(var g of M(A))z.call(A,g)&&m(_,g,A[g]);return _},l=(_,A)=>p(_,d(A)),s=(_,A)=>{var g={};for(var y in _)O.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&M)for(var y of M(_))A.indexOf(y)<0&&z.call(_,y)&&(g[y]=_[y]);return g};const c=l(f({},a.K),{yOffset:"5vh",xOffset:"5vw"});function u(_){const A=(0,n.N4)("ModalRoot",c,_),{classNames:g,variant:y,size:W,yOffset:E,xOffset:T,scrollAreaComponent:q,radius:S,centered:I,fullScreen:x}=A,j=s(A,["classNames","variant","size","yOffset","xOffset","scrollAreaComponent","radius","centered","fullScreen"]),{classes:N,cx:k}=(0,r.Z)({yOffset:E,xOffset:T,centered:I,fullScreen:x},{name:"Modal",variant:y,size:W});return t.createElement(o.D,{value:{yOffset:E,scrollAreaComponent:q,radius:S}},t.createElement(a.e,f({__staticSelector:"Modal",size:W,variant:y,classNames:l(f({},g),{content:k(N.content,g==null?void 0:g.content),inner:k(N.inner,g==null?void 0:g.inner)})},j)))}},31002:(D,b,e)=>{"use strict";e.d(b,{Z:()=>r});var t=e(99275);const n={xs:(0,t.hO)(320),sm:(0,t.hO)(380),md:(0,t.hO)(440),lg:(0,t.hO)(620),xl:(0,t.hO)(780)};var o=(0,t.kc)((a,{yOffset:i,xOffset:p,centered:d,fullScreen:M},{size:O})=>({content:{flex:M?"0 0 100%":`0 0 ${(0,t.ap)({size:O,sizes:n})}`,maxWidth:"100%",maxHeight:M?void 0:`calc(100vh - (${(0,t.hO)(i)} * 2))`,height:M?"100vh":void 0,borderRadius:M?0:void 0,overflowY:"auto"},inner:{paddingTop:M?0:i,paddingBottom:M?0:i,paddingLeft:M?0:p,paddingRight:M?0:p,display:"flex",justifyContent:"center",alignItems:d?"center":"flex-start"}}));const r=o},48229:(D,b,e)=>{"use strict";e.d(b,{i:()=>n,q:()=>o});var t=e(92159);const[n,o]=(0,t.Rk)("ModalBase component was not found in tree")},89057:(D,b,e)=>{"use strict";e.d(b,{K:()=>S,e:()=>I});var t=e(7294),n=e(28829),o=e(76322),r=e(99275),a=e(48229),i=e(78908),p=e(15563),d=e(15010),M=e(21192),O=e(84312),z=e(1055),m=e(45594),f=e(71948),l=e(2054),s=e(83143),c=Object.defineProperty,u=Object.defineProperties,_=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,W=(x,j,N)=>j in x?c(x,j,{enumerable:!0,configurable:!0,writable:!0,value:N}):x[j]=N,E=(x,j)=>{for(var N in j||(j={}))g.call(j,N)&&W(x,N,j[N]);if(A)for(var N of A(j))y.call(j,N)&&W(x,N,j[N]);return x},T=(x,j)=>u(x,_(j)),q=(x,j)=>{var N={};for(var k in x)g.call(x,k)&&j.indexOf(k)<0&&(N[k]=x[k]);if(x!=null&&A)for(var k of A(x))j.indexOf(k)<0&&y.call(x,k)&&(N[k]=x[k]);return N};const S={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:(0,r.wd)("modal"),padding:"md",size:"md",shadow:"xl"};function I(x){const j=(0,r.N4)("ModalBase",S,x),{opened:N,onClose:k,children:K,closeOnClickOutside:Y,__staticSelector:$,transitionProps:u0,withinPortal:n0,portalProps:i0,keepMounted:t0,target:J,zIndex:a0,lockScroll:b0,trapFocus:d0,closeOnEscape:O0,returnFocus:_0,padding:h0,shadow:A0,id:w0,size:Z0,variant:Y0,classNames:J0,unstyled:g0,styles:B0,className:E0}=j,K0=q(j,["opened","onClose","children","closeOnClickOutside","__staticSelector","transitionProps","withinPortal","portalProps","keepMounted","target","zIndex","lockScroll","trapFocus","closeOnEscape","returnFocus","padding","shadow","id","size","variant","classNames","unstyled","styles","className"]),{classes:j0,cx:n1}=(0,l.Z)(null,{name:$,classNames:J0,styles:B0,unstyled:g0,variant:Y0,size:Z0}),r1=(0,o.Me)(w0),[s1,O1]=(0,t.useState)(!1),[A1,v1]=(0,t.useState)(!1),C1=typeof(u0==null?void 0:u0.duration)=="number"?u0==null?void 0:u0.duration:200,E1=(0,f.F)({opened:N,transitionDuration:C1});return(0,o.sm)("keydown",x0=>{!d0&&x0.key==="Escape"&&O0&&k()}),(0,o.uz)({opened:N,shouldReturnFocus:d0&&_0}),t.createElement(s.q,T(E({},i0),{withinPortal:n0,target:J}),t.createElement(a.i,{value:{__staticSelector:$,opened:N,onClose:k,closeOnClickOutside:Y,transitionProps:T(E({},u0),{duration:C1,keepMounted:t0}),zIndex:a0,padding:h0,id:r1,getTitleId:()=>`${r1}-title`,getBodyId:()=>`${r1}-body`,titleMounted:s1,bodyMounted:A1,setTitleMounted:O1,setBodyMounted:v1,trapFocus:d0,closeOnEscape:O0,shadow:A0,stylesApi:{name:$,size:Z0,variant:Y0,classNames:J0,styles:B0,unstyled:g0}}},t.createElement(n.f,{enabled:E1&&b0},t.createElement("div",E({className:n1(j0.root,E0)},K0),K))))}I.CloseButton=i._,I.Overlay=p.e,I.Content=d.G,I.Header=M.o,I.Title=O.q,I.Body=z.y,I.NativeScrollArea=m.Z},2054:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(()=>({root:{}}));const o=n},1055:(D,b,e)=>{"use strict";e.d(b,{y:()=>l});var t=e(7294),n=e(99275),o=e(48229),r=e(6665),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={},l=(0,t.forwardRef)((s,c)=>{const u=(0,o.q)(),_=(0,n.N4)(`${u.__staticSelector}Body`,f,s),{className:A}=_,g=m(_,["className"]),{classes:y,cx:W}=(0,r.Z)({padding:u.padding},u.stylesApi);return(0,t.useEffect)(()=>(u.setBodyMounted(!0),()=>u.setBodyMounted(!1)),[]),t.createElement(a.x,z({id:u.getBodyId(),className:W(y.body,A),ref:c},g))})},6665:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{padding:a})=>({body:{padding:(0,t.ap)({size:a,sizes:r.spacing}),"&:not(:only-child)":{paddingTop:0}}}));const o=n},78908:(D,b,e)=>{"use strict";e.d(b,{_:()=>l});var t=e(7294),n=e(99275),o=e(48229),r=e(90595),a=e(47260),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={size:"sm"},l=(0,t.forwardRef)((s,c)=>{const u=(0,o.q)(),_=(0,n.N4)(`${u.__staticSelector}CloseButton`,f,s),{className:A}=_,g=m(_,["className"]),{classes:y,cx:W}=(0,r.Z)(null,u.stylesApi);return t.createElement(a.P,z({className:W(y.close,A),ref:c,onClick:u.onClose},g))})},90595:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(()=>({close:{marginLeft:"auto",marginRight:0}}));const o=n},15010:(D,b,e)=>{"use strict";e.d(b,{G:()=>c});var t=e(7294),n=e(99275),o=e(48229),r=e(25921),a=e(97688),i=e(45272),p=e(67889),d=Object.defineProperty,M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,m=(u,_,A)=>_ in u?d(u,_,{enumerable:!0,configurable:!0,writable:!0,value:A}):u[_]=A,f=(u,_)=>{for(var A in _||(_={}))O.call(_,A)&&m(u,A,_[A]);if(M)for(var A of M(_))z.call(_,A)&&m(u,A,_[A]);return u},l=(u,_)=>{var A={};for(var g in u)O.call(u,g)&&_.indexOf(g)<0&&(A[g]=u[g]);if(u!=null&&M)for(var g of M(u))_.indexOf(g)<0&&z.call(u,g)&&(A[g]=u[g]);return A};const s={},c=(0,t.forwardRef)((u,_)=>{const A=(0,o.q)(),g=(0,n.N4)(`${A.__staticSelector}Content`,s,u),{className:y,transitionProps:W,style:E,onKeyDown:T}=g,q=l(g,["className","transitionProps","style","onKeyDown"]),{classes:S,cx:I}=(0,r.Z)({zIndex:A.zIndex+1},A.stylesApi),x=j=>{var N;((N=j.target)==null?void 0:N.getAttribute("data-mantine-stop-propagation"))!=="true"&&j.key==="Escape"&&A.closeOnEscape&&A.onClose(),T==null||T(j)};return t.createElement(a.u,f(f({mounted:A.opened,transition:"pop"},A.transitionProps),W),j=>t.createElement("div",{className:I(S.inner)},t.createElement(i.i,{active:A.opened&&A.trapFocus},t.createElement(p.X,f({component:"section",role:"dialog",tabIndex:-1,"aria-modal":!0,"aria-describedby":A.bodyMounted?A.getBodyId():void 0,"aria-labelledby":A.titleMounted?A.getTitleId():void 0,onKeyDown:x,ref:_,className:I(S.content,y),style:f(f({},E),j),shadow:A.shadow},q),q.children))))})},25921:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{zIndex:a})=>({inner:{position:"fixed",width:"100%",top:0,bottom:0,maxHeight:"100%",zIndex:a,pointerEvents:"none"},content:{pointerEvents:"all"}}));const o=n},21192:(D,b,e)=>{"use strict";e.d(b,{o:()=>l});var t=e(7294),n=e(99275),o=e(48229),r=e(66995),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={},l=(0,t.forwardRef)((s,c)=>{const u=(0,o.q)(),_=(0,n.N4)(`${u.__staticSelector}Header`,f,s),{className:A}=_,g=m(_,["className"]),{classes:y,cx:W}=(0,r.Z)({padding:u.padding},u.stylesApi);return t.createElement(a.x,z({ref:c,className:W(y.header,A)},g))})},66995:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{padding:a})=>{const i=(0,t.ap)({size:a,sizes:r.spacing});return{header:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:i,paddingRight:`calc(${i} - ${(0,t.hO)(5)})`,position:"sticky",top:0,backgroundColor:r.colorScheme==="dark"?r.colors.dark[7]:r.white,zIndex:1e3}}});const o=n},15563:(D,b,e)=>{"use strict";e.d(b,{e:()=>_});var t=e(99275),n=e(7294),o=e(48229),r=e(43356),a=e(97688),i=e(63045),p=Object.defineProperty,d=Object.defineProperties,M=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(A,g,y)=>g in A?p(A,g,{enumerable:!0,configurable:!0,writable:!0,value:y}):A[g]=y,l=(A,g)=>{for(var y in g||(g={}))z.call(g,y)&&f(A,y,g[y]);if(O)for(var y of O(g))m.call(g,y)&&f(A,y,g[y]);return A},s=(A,g)=>d(A,M(g)),c=(A,g)=>{var y={};for(var W in A)z.call(A,W)&&g.indexOf(W)<0&&(y[W]=A[W]);if(A!=null&&O)for(var W of O(A))g.indexOf(W)<0&&m.call(A,W)&&(y[W]=A[W]);return y};const u={},_=(0,n.forwardRef)((A,g)=>{const y=(0,o.q)(),W=(0,t.N4)(`${y.__staticSelector}Overlay`,u,A),{onClick:E,transitionProps:T,style:q,className:S}=W,I=c(W,["onClick","transitionProps","style","className"]),{classes:x,cx:j}=(0,r.Z)(null,y.stylesApi),N=k=>{E==null||E(k),y.closeOnClickOutside&&y.onClose()};return n.createElement(a.u,s(l(l({mounted:y.opened},y.transitionProps),T),{transition:"fade"}),k=>n.createElement(i.a,l({ref:g,onClick:N,fixed:!0,style:l(l({},q),k),className:j(x.overlay,S),zIndex:y.zIndex},I)))})},43356:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(()=>({overlay:{}}));const o=n},84312:(D,b,e)=>{"use strict";e.d(b,{q:()=>l});var t=e(7294),n=e(99275),o=e(48229),r=e(32526),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={},l=(0,t.forwardRef)((s,c)=>{const u=(0,o.q)(),_=(0,n.N4)(`${u.__staticSelector}Title`,f,s),{className:A}=_,g=m(_,["className"]),{classes:y,cx:W}=(0,r.Z)(null,u.stylesApi);return(0,t.useEffect)(()=>(u.setTitleMounted(!0),()=>u.setTitleMounted(!1)),[]),t.createElement(a.x,z({component:"h2",id:u.getTitleId(),className:W(y.title,A),ref:c},g))})},32526:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(r=>({title:{lineHeight:1,padding:0,margin:0,fontWeight:400,fontSize:r.fontSizes.md}}));const o=n},45594:(D,b,e)=>{"use strict";e.d(b,{Z:()=>n});var t=e(7294);function n({children:o}){return t.createElement(t.Fragment,null,o)}},71948:(D,b,e)=>{"use strict";e.d(b,{F:()=>o});var t=e(7294),n=e(76322);function o({opened:r,transitionDuration:a}){const[i,p]=(0,t.useState)(r),d=(0,t.useRef)(),O=(0,n.JZ)()?0:a;return(0,t.useEffect)(()=>(r?(p(!0),window.clearTimeout(d.current)):O===0?p(!1):d.current=window.setTimeout(()=>p(!1),O),()=>window.clearTimeout(d.current)),[r,O]),i}},105:(D,b,e)=>{"use strict";e.d(b,{n:()=>m});var t=e(7294),n=e(97991),o=e(47260),r=Object.defineProperty,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?r(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>{var s={};for(var c in f)i.call(f,c)&&l.indexOf(c)<0&&(s[c]=f[c]);if(f!=null&&a)for(var c of a(f))l.indexOf(c)<0&&p.call(f,c)&&(s[c]=f[c]);return s};const z={xs:16,sm:22,md:24,lg:26,xl:30};function m(f){var l=f,{label:s,classNames:c,styles:u,className:_,onRemove:A,disabled:g,readOnly:y,size:W,radius:E="sm",variant:T,unstyled:q}=l,S=O(l,["label","classNames","styles","className","onRemove","disabled","readOnly","size","radius","variant","unstyled"]);const{classes:I,cx:x}=(0,n.Z)({disabled:g,readOnly:y,radius:E},{name:"MultiSelect",classNames:c,styles:u,unstyled:q,size:W,variant:T});return t.createElement("div",M({className:x(I.defaultValue,_)},S),t.createElement("span",{className:I.defaultValueLabel},s),!g&&!y&&t.createElement(o.P,{"aria-hidden":!0,onMouseDown:A,size:z[W],radius:2,color:"blue",variant:"transparent",iconSize:"70%",className:I.defaultValueRemove,tabIndex:-1,unstyled:q}))}m.displayName="@mantine/core/MultiSelect/DefaultValue"},97991:(D,b,e)=>{"use strict";e.d(b,{J:()=>n,Z:()=>a});var t=e(99275);const n={xs:(0,t.hO)(16),sm:(0,t.hO)(22),md:(0,t.hO)(26),lg:(0,t.hO)(30),xl:(0,t.hO)(36)},o={xs:(0,t.hO)(10),sm:(0,t.hO)(12),md:(0,t.hO)(14),lg:(0,t.hO)(16),xl:(0,t.hO)(18)};var r=(0,t.kc)((i,{disabled:p,radius:d,readOnly:M},{size:O,variant:z})=>({defaultValue:{display:"flex",alignItems:"center",backgroundColor:p?i.colorScheme==="dark"?i.colors.dark[5]:i.colors.gray[3]:i.colorScheme==="dark"?i.colors.dark[7]:z==="filled"?i.white:i.colors.gray[1],color:p?i.colorScheme==="dark"?i.colors.dark[1]:i.colors.gray[7]:i.colorScheme==="dark"?i.colors.dark[0]:i.colors.gray[7],height:(0,t.ap)({size:O,sizes:n}),paddingLeft:`calc(${(0,t.ap)({size:O,sizes:i.spacing})} / 1.5)`,paddingRight:p||M?(0,t.ap)({size:O,sizes:i.spacing}):0,fontWeight:500,fontSize:(0,t.ap)({size:O,sizes:o}),borderRadius:(0,t.ap)({size:d,sizes:i.radius}),cursor:p?"not-allowed":"default",userSelect:"none",maxWidth:`calc(100% - ${(0,t.hO)(10)})`},defaultValueRemove:{color:i.colorScheme==="dark"?i.colors.dark[0]:i.colors.gray[7],marginLeft:`calc(${(0,t.ap)({size:O,sizes:i.spacing})} / 6)`},defaultValueLabel:{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}));const a=r},91902:(D,b,e)=>{"use strict";e.d(b,{NU:()=>j});var t=e(7294),n=e(76322),o=e(99275),r=e(92159),a=e(105),i=e(66879),p=e(25489),d=e(39059),M=e(75851),O=e(87301),z=e(13237),m=e(18695),f=e(12756),l=e(55956),s=Object.defineProperty,c=Object.defineProperties,u=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,y=(N,k,K)=>k in N?s(N,k,{enumerable:!0,configurable:!0,writable:!0,value:K}):N[k]=K,W=(N,k)=>{for(var K in k||(k={}))A.call(k,K)&&y(N,K,k[K]);if(_)for(var K of _(k))g.call(k,K)&&y(N,K,k[K]);return N},E=(N,k)=>c(N,u(k)),T=(N,k)=>{var K={};for(var Y in N)A.call(N,Y)&&k.indexOf(Y)<0&&(K[Y]=N[Y]);if(N!=null&&_)for(var Y of _(N))k.indexOf(Y)<0&&g.call(N,Y)&&(K[Y]=N[Y]);return K};function q(N,k,K){return k?!1:K.label.toLowerCase().trim().includes(N.toLowerCase().trim())}function S(N,k){return!!N&&!k.some(K=>K.value.toLowerCase()===N.toLowerCase())}function I(N,k){if(!Array.isArray(N))return;if(k.length===0)return[];const K=k.map(Y=>typeof Y=="object"?Y.value:Y);return N.filter(Y=>K.includes(Y))}const x={size:"sm",valueComponent:a.n,itemComponent:i.A,transitionProps:{transition:"fade",duration:0},maxDropdownHeight:220,shadow:"sm",searchable:!1,filter:q,limit:1/0,clearSearchOnChange:!0,clearable:!1,clearSearchOnBlur:!1,disabled:!1,initiallyOpened:!1,creatable:!1,shouldCreate:S,switchDirectionOnFlip:!1,zIndex:(0,o.wd)("popover"),selectOnBlur:!1,positionDependencies:[],dropdownPosition:"flip"},j=(0,t.forwardRef)((N,k)=>{const K=(0,o.N4)("MultiSelect",x,N),{className:Y,style:$,required:u0,label:n0,description:i0,size:t0,error:J,classNames:a0,styles:b0,wrapperProps:d0,value:O0,defaultValue:_0,data:h0,onChange:A0,valueComponent:w0,itemComponent:Z0,id:Y0,transitionProps:J0,maxDropdownHeight:g0,shadow:B0,nothingFound:E0,onFocus:K0,onBlur:j0,searchable:n1,placeholder:r1,filter:s1,limit:O1,clearSearchOnChange:A1,clearable:v1,clearSearchOnBlur:C1,variant:E1,onSearchChange:x0,searchValue:H0,disabled:_1,initiallyOpened:u1,radius:y0,icon:C0,rightSection:U0,rightSectionWidth:V0,creatable:z1,getCreateLabel:P1,shouldCreate:X0,onCreate:k0,sx:e1,dropdownComponent:f1,onDropdownClose:q1,onDropdownOpen:Y1,maxSelectedValues:B1,withinPortal:Q1,switchDirectionOnFlip:re,zIndex:ue,selectOnBlur:Re,name:De,dropdownPosition:ve,errorProps:de,labelProps:te,descriptionProps:he,form:Ot,positionDependencies:it,onKeyDown:ct,unstyled:$1,inputContainer:ye,inputWrapperOrder:an,readOnly:st,withAsterisk:Bt,clearButtonProps:qt,hoverOnSearchChange:yt,disableSelectedItemFiltering:Dt}=K,Gt=T(K,["className","style","required","label","description","size","error","classNames","styles","wrapperProps","value","defaultValue","data","onChange","valueComponent","itemComponent","id","transitionProps","maxDropdownHeight","shadow","nothingFound","onFocus","onBlur","searchable","placeholder","filter","limit","clearSearchOnChange","clearable","clearSearchOnBlur","variant","onSearchChange","searchValue","disabled","initiallyOpened","radius","icon","rightSection","rightSectionWidth","creatable","getCreateLabel","shouldCreate","onCreate","sx","dropdownComponent","onDropdownClose","onDropdownOpen","maxSelectedValues","withinPortal","switchDirectionOnFlip","zIndex","selectOnBlur","name","dropdownPosition","errorProps","labelProps","descriptionProps","form","positionDependencies","onKeyDown","unstyled","inputContainer","inputWrapperOrder","readOnly","withAsterisk","clearButtonProps","hoverOnSearchChange","disableSelectedItemFiltering"]),{classes:At,cx:Wn,theme:Tn}=(0,m.Z)({invalid:!!J},{name:"MultiSelect",classNames:a0,styles:b0,unstyled:$1,size:t0,variant:E1}),{systemStyles:Mn,rest:pt}=(0,f.x)(Gt),qn=(0,t.useRef)(),vn=(0,t.useRef)({}),On=(0,n.Me)(Y0),[Ct,He]=(0,t.useState)(u1),[pn,Yt]=(0,t.useState)(-1),[Qt,ot]=(0,t.useState)("column"),[Ge,zn]=(0,n.Ch)({value:H0,defaultValue:"",finalValue:void 0,onChange:x0}),[$0,l0]=(0,t.useState)(!1),{scrollIntoView:Z,targetRef:Q,scrollableRef:V}=(0,n.gE)({duration:0,offset:5,cancelable:!1,isList:!0}),r0=z1&&typeof P1=="function";let z0=null;const W0=h0.map(F1=>typeof F1=="string"?{label:F1,value:F1}:F1),S0=(0,r.jp)({data:W0}),[F0,G0]=(0,n.Ch)({value:I(O0,h0),defaultValue:I(_0,h0),finalValue:[],onChange:A0}),d1=(0,t.useRef)(!!B1&&B1{if(!st){const be=F0.filter(ne=>ne!==F1);G0(be),B1&&be.length{zn(F1.currentTarget.value),!_1&&!d1.current&&n1&&He(!0)},L1=F1=>{typeof K0=="function"&&K0(F1),!_1&&!d1.current&&n1&&He(!0)},p1=(0,p.c)({data:S0,searchable:n1,searchValue:Ge,limit:O1,filter:s1,value:F0,disableSelectedItemFiltering:Dt}),I1=(F1,be,ne)=>{let R1=F1;for(;ne(R1);)if(R1=be(R1),!p1[R1].disabled)return R1;return F1};(0,n.lR)(()=>{Yt(yt&&Ge?0:-1)},[Ge,yt]),(0,n.lR)(()=>{!_1&&F0.length>h0.length&&He(!1),B1&&F0.length=B1&&(d1.current=!0,He(!1))},[F0]);const D1=F1=>{if(!st)if(A1&&zn(""),F0.includes(F1.value))b1(F1.value);else{if(F1.creatable&&typeof k0=="function"){const be=k0(F1.value);typeof be<"u"&&be!==null&&G0(typeof be=="string"?[...F0,be]:[...F0,be.value])}else G0([...F0,F1.value]);F0.length===B1-1&&(d1.current=!0,He(!1)),pn===p1.length-1&&Yt(p1.length-2),p1.length===1&&He(!1)}},Me=F1=>{typeof j0=="function"&&j0(F1),Re&&p1[pn]&&Ct&&D1(p1[pn]),C1&&zn(""),He(!1)},se=F1=>{if($0||(ct==null||ct(F1),st)||F1.key!=="Backspace"&&B1&&d1.current)return;const be=Qt==="column",ne=()=>{Yt(Se=>{var Ie;const We=I1(Se,Ue=>Ue+1,Ue=>Ue{Yt(Se=>{var Ie;const We=I1(Se,Ue=>Ue-1,Ue=>Ue>0);return Ct&&(Q.current=vn.current[(Ie=p1[We])==null?void 0:Ie.value],Z({alignment:be?"start":"end"})),We})};switch(F1.key){case"ArrowUp":{F1.preventDefault(),He(!0),be?R1():ne();break}case"ArrowDown":{F1.preventDefault(),He(!0),be?ne():R1();break}case"Enter":{F1.preventDefault(),p1[pn]&&Ct?D1(p1[pn]):He(!0);break}case" ":{n1||(F1.preventDefault(),p1[pn]&&Ct?D1(p1[pn]):He(!0));break}case"Backspace":{F0.length>0&&Ge.length===0&&(G0(F0.slice(0,-1)),He(!0),B1&&(d1.current=!1));break}case"Home":{if(!n1){F1.preventDefault(),Ct||He(!0);const Se=p1.findIndex(Ie=>!Ie.disabled);Yt(Se),Z({alignment:be?"end":"start"})}break}case"End":{if(!n1){F1.preventDefault(),Ct||He(!0);const Se=p1.map(Ie=>!!Ie.disabled).lastIndexOf(!1);Yt(Se),Z({alignment:be?"end":"start"})}break}case"Escape":He(!1)}},fe=F0.map(F1=>{let be=S0.find(ne=>ne.value===F1&&!ne.disabled);return!be&&r0&&(be={value:F1,label:F1}),be}).filter(F1=>!!F1).map(F1=>t.createElement(w0,E(W({},F1),{variant:E1,disabled:_1,className:At.value,readOnly:st,onRemove:be=>{be.preventDefault(),be.stopPropagation(),b1(F1.value)},key:F1.value,size:t0,styles:b0,classNames:a0,radius:y0}))),c1=F1=>F0.includes(F1),ze=()=>{var F1;zn(""),G0([]),(F1=qn.current)==null||F1.focus(),B1&&(d1.current=!1)};r0&&X0(Ge,S0)&&(z0=P1(Ge),p1.push({label:Ge,value:Ge,creatable:!0}));const Ve=!st&&(p1.length>0?Ct:Ct&&!!E0);return(0,n.lR)(()=>{const F1=Ve?Y1:q1;typeof F1=="function"&&F1()},[Ve]),t.createElement(l.I.Wrapper,W(W({required:u0,id:On,label:n0,error:J,description:i0,size:t0,className:Y,style:$,classNames:a0,styles:b0,__staticSelector:"MultiSelect",sx:e1,errorProps:de,descriptionProps:he,labelProps:te,inputContainer:ye,inputWrapperOrder:an,unstyled:$1,withAsterisk:Bt,variant:E1},Mn),d0),t.createElement(O.v,{opened:Ve,transitionProps:J0,shadow:"sm",withinPortal:Q1,__staticSelector:"MultiSelect",onDirectionChange:ot,switchDirectionOnFlip:re,zIndex:ue,dropdownPosition:ve,positionDependencies:[...it,Ge],classNames:a0,styles:b0,unstyled:$1,variant:E1},t.createElement(O.v.Target,null,t.createElement("div",{className:At.wrapper,role:"combobox","aria-haspopup":"listbox","aria-owns":Ct&&Ve?`${On}-items`:null,"aria-controls":On,"aria-expanded":Ct,onMouseLeave:()=>Yt(-1),tabIndex:-1},t.createElement("input",{type:"hidden",name:De,value:F0.join(","),form:Ot,disabled:_1}),t.createElement(l.I,W({__staticSelector:"MultiSelect",style:{overflow:"hidden"},component:"div",multiline:!0,size:t0,variant:E1,disabled:_1,error:J,required:u0,radius:y0,icon:C0,unstyled:$1,onMouseDown:F1=>{var be;F1.preventDefault(),!_1&&!d1.current&&He(!Ct),(be=qn.current)==null||be.focus()},classNames:E(W({},a0),{input:Wn({[At.input]:!n1},a0==null?void 0:a0.input)})},(0,d.o)({theme:Tn,rightSection:U0,rightSectionWidth:V0,styles:b0,size:t0,shouldClear:v1&&F0.length>0,onClear:ze,error:J,disabled:_1,clearButtonProps:qt,readOnly:st})),t.createElement("div",{className:At.values,"data-clearable":v1||void 0},fe,t.createElement("input",W({ref:(0,n.Yx)(k,qn),type:"search",id:On,className:Wn(At.searchInput,{[At.searchInputPointer]:!n1,[At.searchInputInputHidden]:!Ct&&F0.length>0||!n1&&F0.length>0,[At.searchInputEmpty]:F0.length===0}),onKeyDown:se,value:Ge,onChange:g1,onFocus:L1,onBlur:Me,readOnly:!n1||d1.current||st,placeholder:F0.length===0?r1:void 0,disabled:_1,"data-mantine-stop-propagation":Ct,autoComplete:"off",onCompositionStart:()=>l0(!0),onCompositionEnd:()=>l0(!1)},pt)))))),t.createElement(O.v.Dropdown,{component:f1||M.r,maxHeight:g0,direction:Qt,id:On,innerRef:V,__staticSelector:"MultiSelect",classNames:a0,styles:b0},t.createElement(z.j,{data:p1,hovered:pn,classNames:a0,styles:b0,uuid:On,__staticSelector:"MultiSelect",onItemHover:Yt,onItemSelect:D1,itemsRefs:vn,itemComponent:Z0,size:t0,nothingFound:E0,isItemSelected:c1,creatable:z1&&!!z0,createLabel:z0,unstyled:$1,variant:E1}))))});j.displayName="@mantine/core/MultiSelect"},18695:(D,b,e)=>{"use strict";e.d(b,{Z:()=>l});var t=e(99275),n=e(97991),o=e(35227),r=Object.defineProperty,a=Object.defineProperties,i=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?r(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>a(s,i(c)),f=(0,t.kc)((s,{invalid:c},{size:u})=>({wrapper:{position:"relative"},values:{minHeight:`calc(${(0,t.ap)({size:u,sizes:o.J})} - ${(0,t.hO)(2)})`,display:"flex",alignItems:"center",flexWrap:"wrap",marginLeft:`calc(-${s.spacing.xs} / 2)`,boxSizing:"border-box","&[data-clearable]":{marginRight:(0,t.ap)({size:u,sizes:o.J})}},value:{margin:`calc(${s.spacing.xs} / 2 - ${(0,t.hO)(2)}) calc(${s.spacing.xs} / 2)`},searchInput:m(z({},s.fn.fontStyles()),{flex:1,minWidth:(0,t.hO)(60),backgroundColor:"transparent",border:0,outline:0,fontSize:(0,t.ap)({size:u,sizes:s.fontSizes}),padding:0,marginLeft:`calc(${s.spacing.xs} / 2)`,appearance:"none",color:"inherit",maxHeight:(0,t.ap)({size:u,sizes:n.J}),"&::placeholder":{opacity:1,color:c?s.colors.red[s.colorScheme==="dark"?6:7]:s.colorScheme==="dark"?s.colors.dark[3]:s.colors.gray[5]},"&:disabled":{cursor:"not-allowed"}}),searchInputEmpty:{width:"100%"},searchInputInputHidden:{width:0,minWidth:0,height:0,margin:0,overflow:"hidden"},searchInputPointer:{cursor:"pointer","&:disabled":{cursor:"not-allowed"}},input:{cursor:"pointer","&:disabled":{cursor:"not-allowed"}}}));const l=f},25489:(D,b,e)=>{"use strict";e.d(b,{c:()=>t});function t({data:n,searchable:o,limit:r,searchValue:a,filter:i,value:p,disableSelectedItemFiltering:d}){if(!o&&p.length===0)return n;if(!o){const O=[];for(let z=0;zm===n[z].value&&!n[z].disabled))&&O.push(n[z]);return O}const M=[];for(let O=0;Oz===n[O].value&&!n[O].disabled),n[O])&&M.push(n[O]),!(M.length>=r));O+=1);return M}},23833:(D,b,e)=>{"use strict";e.d(b,{p:()=>u});var t=e(7294),n=e(99275),o=e(39059),r=e(66261),a=e(55956),i=Object.defineProperty,p=Object.defineProperties,d=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,m=(_,A,g)=>A in _?i(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,f=(_,A)=>{for(var g in A||(A={}))O.call(A,g)&&m(_,g,A[g]);if(M)for(var g of M(A))z.call(A,g)&&m(_,g,A[g]);return _},l=(_,A)=>p(_,d(A)),s=(_,A)=>{var g={};for(var y in _)O.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&M)for(var y of M(_))A.indexOf(y)<0&&z.call(_,y)&&(g[y]=_[y]);return g};const c={size:"sm"},u=(0,t.forwardRef)((_,A)=>{const g=(0,r.k)("NativeSelect",c,_),{inputProps:y,wrapperProps:W,data:E,onChange:T,value:q,classNames:S,styles:I,rightSection:x,rightSectionWidth:j}=g,N=s(g,["inputProps","wrapperProps","data","onChange","value","classNames","styles","rightSection","rightSectionWidth"]),k=(0,n.rZ)(),Y=E.map($=>typeof $=="string"?{label:$,value:$}:$).map($=>t.createElement("option",{key:$.value,value:$.value,disabled:$.disabled},$.label));return t.createElement(a.I.Wrapper,l(f({},W),{__staticSelector:"NativeSelect"}),t.createElement(a.I,f(l(f(f({},y),N),{onChange:T,component:"select",ref:A,value:q===null?"":q,__staticSelector:"NativeSelect",pointer:k.cursorType==="pointer"}),(0,o.o)({theme:k,rightSection:x,rightSectionWidth:j,styles:I,shouldClear:!1,size:y.size,error:W.error,readOnly:!1})),Y))});u.displayName="@mantine/core/NativeSelect"},98988:(D,b,e)=>{"use strict";e.d(b,{O:()=>A});var t=e(7294),n=e(99275),o=e(92159),r=e(76322),a=e(96656),i=e(56354),p=e(98793),d=e(56057),M=e(29407),O=Object.defineProperty,z=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(g,y,W)=>y in g?O(g,y,{enumerable:!0,configurable:!0,writable:!0,value:W}):g[y]=W,s=(g,y)=>{for(var W in y||(y={}))m.call(y,W)&&l(g,W,y[W]);if(z)for(var W of z(y))f.call(y,W)&&l(g,W,y[W]);return g},c=(g,y)=>{var W={};for(var E in g)m.call(g,E)&&y.indexOf(E)<0&&(W[E]=g[E]);if(g!=null&&z)for(var E of z(g))y.indexOf(E)<0&&f.call(g,E)&&(W[E]=g[E]);return W};const u={variant:"light",childrenOffset:"lg"},_=(0,t.forwardRef)((g,y)=>{const W=(0,n.N4)("NavLink",u,g),{label:E,description:T,icon:q,rightSection:S,className:I,classNames:x,styles:j,unstyled:N,active:k,color:K,variant:Y,noWrap:$,children:u0,opened:n0,defaultOpened:i0,onChange:t0,disableRightSectionRotation:J,childrenOffset:a0,disabled:b0,onClick:d0}=W,O0=c(W,["label","description","icon","rightSection","className","classNames","styles","unstyled","active","color","variant","noWrap","children","opened","defaultOpened","onChange","disableRightSectionRotation","childrenOffset","disabled","onClick"]),{classes:_0,cx:h0}=(0,a.Z)({color:K,noWrap:$,childrenOffset:a0,alignIcon:T?"top":"center"},{name:"NavLink",classNames:x,styles:j,unstyled:N,variant:Y}),[A0,w0]=(0,r.Ch)({value:n0,defaultValue:i0,finalValue:!1,onChange:t0}),Z0=!!u0,Y0=J0=>{Z0?(J0.preventDefault(),d0==null||d0(J0),w0(!A0)):d0==null||d0(J0)};return t.createElement(t.Fragment,null,t.createElement(i.k,s({ref:y,className:h0(_0.root,I),"data-active":k||void 0,onClick:Y0,unstyled:N,"data-expanded":A0||void 0,"data-disabled":b0||void 0,disabled:b0},O0),q&&t.createElement("span",{className:_0.icon},q),t.createElement("span",{className:_0.body},t.createElement(p.x,{component:"span",size:"sm",className:_0.label},E),t.createElement(p.x,{component:"span",color:"dimmed",size:"xs","data-active":k||void 0,className:_0.description},T)),(Z0||S)&&t.createElement("span",{className:_0.rightSection,"data-rotate":A0&&!J||void 0},Z0?S||t.createElement(d.D,{width:(0,n.hO)(14),height:(0,n.hO)(14),style:{transform:"rotate(-90deg)"}}):S)),t.createElement(M.U,{in:A0},t.createElement("div",{className:_0.children},u0)))});_.displayName="@mantine/core/NavLink";const A=(0,o.Fm)(_)},96656:(D,b,e)=>{"use strict";e.d(b,{Z:()=>l});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(s,c,u)=>c in s?n(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,M=(s,c)=>{for(var u in c||(c={}))i.call(c,u)&&d(s,u,c[u]);if(a)for(var u of a(c))p.call(c,u)&&d(s,u,c[u]);return s},O=(s,c)=>o(s,r(c));const z=["filled","light","subtle"];function m({theme:s,variant:c,color:u}){if(!z.includes(c))return null;const _=s.fn.variant({variant:c,color:u});return{"&[data-active]":M({backgroundColor:_.background,color:_.color},s.fn.hover({backgroundColor:_.hover}))}}var f=(0,t.kc)((s,{noWrap:c,childrenOffset:u,alignIcon:_,color:A},{variant:g})=>({root:O(M(M({display:"flex",alignItems:"center",width:"100%",padding:`${(0,t.hO)(8)} ${s.spacing.sm}`,userSelect:"none"},m({theme:s,variant:g,color:A})),s.fn.hover({backgroundColor:s.colorScheme==="dark"?s.colors.dark[6]:s.colors.gray[0]})),{"&[data-disabled]":{opacity:.4,pointerEvents:"none"}}),icon:{marginRight:s.spacing.sm,display:"flex",justifyContent:"center",alignItems:"center",alignSelf:_==="center"?"center":"flex-start",paddingTop:_==="center"?void 0:(0,t.hO)(4)},rightSection:{marginLeft:s.spacing.sm,display:"flex",justifyContent:"center",alignItems:"center",transition:`transform 150ms ${s.transitionTimingFunction}`,"&[data-rotate]":{transform:"rotate(90deg)"}},body:{flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:c?"nowrap":void 0},label:{},description:{display:"block","&[data-active]":{color:"inherit"}},children:{paddingLeft:(0,t.ap)({size:u,sizes:s.spacing})}}));const l=f},68964:(D,b,e)=>{"use strict";e.d(b,{P:()=>A});var t=e(7294),n=e(99275),o=e(2389),r=e(84888),a=e(30762),i=e(98793),p=e(47260),d=Object.defineProperty,M=Object.defineProperties,O=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(g,y,W)=>y in g?d(g,y,{enumerable:!0,configurable:!0,writable:!0,value:W}):g[y]=W,s=(g,y)=>{for(var W in y||(y={}))m.call(y,W)&&l(g,W,y[W]);if(z)for(var W of z(y))f.call(y,W)&&l(g,W,y[W]);return g},c=(g,y)=>M(g,O(y)),u=(g,y)=>{var W={};for(var E in g)m.call(g,E)&&y.indexOf(E)<0&&(W[E]=g[E]);if(g!=null&&z)for(var E of z(g))y.indexOf(E)<0&&f.call(g,E)&&(W[E]=g[E]);return W};const _={withCloseButton:!0},A=(0,t.forwardRef)((g,y)=>{const W=(0,n.N4)("Notification",_,g),{className:E,color:T,radius:q,loading:S,withCloseButton:I,withBorder:x,title:j,icon:N,children:k,onClose:K,closeButtonProps:Y,classNames:$,styles:u0,unstyled:n0,variant:i0}=W,t0=u(W,["className","color","radius","loading","withCloseButton","withBorder","title","icon","children","onClose","closeButtonProps","classNames","styles","unstyled","variant"]),{classes:J,cx:a0}=(0,o.Z)({color:T,radius:q,withTitle:!!j},{name:"Notification",classNames:$,styles:u0,unstyled:n0,variant:i0});return t.createElement(r.x,s({className:a0(J.root,E),"data-with-icon":!!N||S||void 0,"data-with-border":x||void 0,role:"alert",ref:y},t0),N&&!S&&t.createElement("div",{className:J.icon},N),S&&t.createElement(a.a,{size:28,color:T,className:J.loader}),t.createElement("div",{className:J.body},j&&t.createElement(i.x,{className:J.title,size:"sm",weight:500},j),t.createElement(i.x,{color:"dimmed",className:J.description,size:"sm"},k)),I&&t.createElement(p.P,c(s({iconSize:16,color:"gray"},Y),{onClick:K,className:J.closeButton})))});A.displayName="@mantine/core/Notification"},2389:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{color:a,radius:i,withTitle:p})=>{const d=r.fn.radius(i),M=r.fn.variant({variant:"filled",color:a});return{closeButton:r.fn.hover({backgroundColor:r.colorScheme==="dark"?r.colors.dark[8]:r.colors.gray[0]}),icon:{boxSizing:"border-box",marginRight:r.spacing.md,width:(0,t.hO)(28),height:(0,t.hO)(28),borderRadius:(0,t.hO)(28),display:"flex",flex:"none",alignItems:"center",justifyContent:"center",backgroundColor:M.background,color:r.white},root:{overflow:"hidden",boxSizing:"border-box",position:"relative",display:"flex",alignItems:"center",paddingLeft:(0,t.hO)(22),paddingRight:r.spacing.xs,paddingTop:r.spacing.xs,paddingBottom:r.spacing.xs,borderRadius:d,backgroundColor:r.colorScheme==="dark"?r.colors.dark[6]:r.white,boxShadow:r.shadows.lg,border:`${(0,t.hO)(1)} solid ${r.colorScheme==="dark"?r.colors.dark[6]:r.colors.gray[2]}`,"&::before":{content:'""',display:"block",position:"absolute",width:(0,t.hO)(6),top:d,bottom:d,left:(0,t.hO)(4),borderRadius:d,backgroundColor:M.background},"&[data-with-icon]":{paddingLeft:r.spacing.xs,"&::before":{display:"none"}},"&[data-with-border]":{border:`${(0,t.hO)(1)} solid ${r.colorScheme==="dark"?r.colors.dark[4]:r.colors.gray[3]}`}},body:{flex:1,overflow:"hidden",marginRight:r.spacing.xs},loader:{marginRight:r.spacing.md},title:{lineHeight:1.4,marginBottom:(0,t.hO)(2),overflow:"hidden",textOverflow:"ellipsis",color:r.colorScheme==="dark"?r.white:r.colors.gray[9]},description:{color:p?r.colorScheme==="dark"?r.colors.dark[2]:r.colors.gray[6]:r.colorScheme==="dark"?r.colors.dark[0]:r.black,lineHeight:1.4,overflow:"hidden",textOverflow:"ellipsis"}}});const o=n},86935:(D,b,e)=>{"use strict";e.d(b,{T:()=>o});var t=e(7294),n=e(99275);function o({direction:r,size:a}){return t.createElement("svg",{style:{transform:r==="up"?"rotate(180deg)":void 0},width:(0,n.hO)(a),height:(0,n.hO)(a),viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}},78108:(D,b,e)=>{"use strict";e.d(b,{Y:()=>W});var t=e(7294),n=e(76322),o=e(99275),r=e(95684),a=e(86935),i=e(7404),p=e(80061),d=Object.defineProperty,M=Object.defineProperties,O=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(E,T,q)=>T in E?d(E,T,{enumerable:!0,configurable:!0,writable:!0,value:q}):E[T]=q,s=(E,T)=>{for(var q in T||(T={}))m.call(T,q)&&l(E,q,T[q]);if(z)for(var q of z(T))f.call(T,q)&&l(E,q,T[q]);return E},c=(E,T)=>M(E,O(T)),u=(E,T)=>{var q={};for(var S in E)m.call(E,S)&&T.indexOf(S)<0&&(q[S]=E[S]);if(E!=null&&z)for(var S of z(E))T.indexOf(S)<0&&f.call(E,S)&&(q[S]=E[S]);return q};const _=E=>E||"",A=E=>{if(E==="-")return E;let T=E;T[0]==="."&&(T=`0${E}`);const q=parseFloat(T);return Number.isNaN(q)?"":E},g={xs:(0,o.hO)(10),sm:(0,o.hO)(14),md:(0,o.hO)(16),lg:(0,o.hO)(18),xl:(0,o.hO)(20)},y={step:1,hideControls:!1,size:"sm",precision:0,noClampOnBlur:!1,removeTrailingZeros:!1,decimalSeparator:".",formatter:_,parser:A,type:"text"},W=(0,t.forwardRef)((E,T)=>{const q=(0,o.N4)("NumberInput",y,E),{readOnly:S,disabled:I,value:x,onChange:j,decimalSeparator:N,thousandsSeparator:k,min:K,max:Y,startValue:$,step:u0,stepHoldInterval:n0,stepHoldDelay:i0,onFocus:t0,onBlur:J,onKeyDown:a0,onKeyUp:b0,hideControls:d0,radius:O0,variant:_0,precision:h0,removeTrailingZeros:A0,defaultValue:w0,noClampOnBlur:Z0,handlersRef:Y0,classNames:J0,styles:g0,size:B0,rightSection:E0,rightSectionWidth:K0,formatter:j0,parser:n1,inputMode:r1,unstyled:s1,type:O1}=q,A1=u(q,["readOnly","disabled","value","onChange","decimalSeparator","thousandsSeparator","min","max","startValue","step","stepHoldInterval","stepHoldDelay","onFocus","onBlur","onKeyDown","onKeyUp","hideControls","radius","variant","precision","removeTrailingZeros","defaultValue","noClampOnBlur","handlersRef","classNames","styles","size","rightSection","rightSectionWidth","formatter","parser","inputMode","unstyled","type"]),{classes:v1,cx:C1}=(0,i.Z)({radius:O0},{classNames:J0,styles:g0,unstyled:s1,name:"NumberInput",variant:_0,size:B0}),E1=$1=>{if($1==="")return"";let ye=$1.toFixed(h0);return A0&&h0>0&&(ye=ye.replace(new RegExp(`[0]{0,${h0}}$`),""),ye.endsWith(".")&&(ye=ye.slice(0,-1))),ye},x0=$1=>{let ye=$1;return N&&(ye=ye.replace(".",N)),j0(ye)},H0=$1=>{let ye=$1;return N&&(ye=ye.replaceAll(k,"").replace(N,".")),n1(ye)},_1=$1=>x0(E1($1)),[u1,y0]=(0,t.useState)(typeof x=="number"?x:typeof w0=="number"?w0:""),[C0,U0]=(0,t.useState)(()=>_1(u1)),V0=(0,t.useRef)(),[z1,P1]=(0,t.useState)(!1),X0=($1,ye)=>{if(!z1||ye){const an=_1($1);an!==C0&&U0(an)}$1!==u1&&y0($1)},k0=typeof K=="number"?K:-1/0,e1=typeof Y=="number"?Y:1/0,f1=(0,t.useRef)();f1.current=()=>{var $1;let ye;u1===""?ye=($1=$!=null?$:K)!=null?$1:0:ye=parseFloat(E1((0,n.uZ)(u1+u0,k0,e1))),X0(ye,!0),j==null||j(ye)};const q1=(0,t.useRef)();q1.current=()=>{var $1;let ye;u1===""?ye=($1=$!=null?$:K)!=null?$1:0:ye=parseFloat(E1((0,n.uZ)(u1-u0,k0,e1))),X0(ye,!0),j==null||j(ye)},(0,n.kR)(Y0,{increment:f1.current,decrement:q1.current}),(0,t.useEffect)(()=>{z1||X0(x===void 0?u1:x,!0)},[x,z1]);const Y1=i0!==void 0&&n0!==void 0,B1=(0,t.useRef)(null),Q1=(0,t.useRef)(0),re=()=>{B1.current&&window.clearTimeout(B1.current),B1.current=null,Q1.current=0},ue=$1=>{$1?f1.current():q1.current(),Q1.current+=1},Re=$1=>{if(ue($1),Y1){const ye=typeof n0=="number"?n0:n0(Q1.current);B1.current=window.setTimeout(()=>Re($1),ye)}},De=($1,ye)=>{$1.preventDefault(),V0.current.focus(),ue(ye),Y1&&(B1.current=window.setTimeout(()=>Re(ye),i0))};(0,t.useEffect)(()=>(re(),re),[]);const ve=t.createElement("div",{className:v1.rightSection},t.createElement("button",{type:"button",tabIndex:-1,"aria-hidden":!0,disabled:u1>=Y,className:C1(v1.control,v1.controlUp),onPointerDown:$1=>{De($1,!0)},onPointerUp:re,onPointerLeave:re},t.createElement(a.T,{size:(0,o.ap)({size:B0,sizes:g}),direction:"up"})),t.createElement("button",{type:"button",tabIndex:-1,"aria-hidden":!0,disabled:u1<=K,className:C1(v1.control,v1.controlDown),onPointerDown:$1=>{De($1,!1)},onPointerUp:re,onPointerLeave:re},t.createElement(a.T,{size:(0,o.ap)({size:B0,sizes:g}),direction:"down"}))),de=$1=>{let ye=$1;(ye[0]===`${N}`||ye[0]===".")&&(ye=`0${ye}`);const an=parseFloat(E1(parseFloat(H0(ye)))),st=Z0?an:(0,n.uZ)(an,k0,e1),Bt=Number.isNaN(st)?"":st,qt=u1!==Bt;U0($1),X0(Bt),qt&&(j==null||j(Bt))},te=$1=>{$1.nativeEvent.isComposing||de($1.target.value)},he=$1=>{P1(!0),t0==null||t0($1)},Ot=$1=>{P1(!1),J==null||J($1)},it=$1=>{if(typeof a0=="function"&&a0($1),$1.repeat&&Y1&&($1.key==="ArrowUp"||$1.key==="ArrowDown")){$1.preventDefault();return}S||($1.key==="ArrowUp"?De($1,!0):$1.key==="ArrowDown"&&De($1,!1))},ct=$1=>{typeof b0=="function"&&b0($1),($1.key==="ArrowUp"||$1.key==="ArrowDown")&&re()};return t.createElement(p.o,c(s({},A1),{type:O1,variant:_0,value:C0,disabled:I,readOnly:S,ref:(0,n.Yx)(V0,T),onChange:te,onFocus:he,onBlur:Ot,onKeyDown:it,onKeyUp:ct,rightSection:E0||(I||S||d0||_0==="unstyled"?null:ve),rightSectionWidth:K0!=null?K0:`calc(${(0,o.ap)({size:B0,sizes:i.W})} + ${(0,o.hO)(1)})`,radius:O0,max:Y,min:K,step:u0,size:B0,styles:g0,classNames:J0,inputMode:r1||(0,r.J)(u0,h0,(0,n.iA)()),__staticSelector:"NumberInput",unstyled:s1}))});W.displayName="@mantine/core/NumberInput"},7404:(D,b,e)=>{"use strict";e.d(b,{W:()=>n,Z:()=>r});var t=e(99275);const n={xs:(0,t.hO)(20),sm:(0,t.hO)(24),md:(0,t.hO)(30),lg:(0,t.hO)(34),xl:(0,t.hO)(36)};var o=(0,t.kc)((a,{radius:i},{size:p})=>({rightSection:{display:"flex",flexDirection:"column",height:`calc(100% - ${(0,t.hO)(2)})`,margin:(0,t.hO)(1),overflow:"hidden",borderTopRightRadius:a.fn.radius(i),borderBottomRightRadius:a.fn.radius(i)},control:{margin:0,position:"relative",flex:"0 0 50%",display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",width:(0,t.ap)({size:p,sizes:n}),padding:0,WebkitTapHighlightColor:"transparent",borderBottom:`${(0,t.hO)(1)} solid ${a.colorScheme==="dark"?a.colors.dark[4]:a.colors.gray[4]}`,borderLeft:`${(0,t.hO)(1)} solid ${a.colorScheme==="dark"?a.colors.dark[4]:a.colors.gray[4]}`,borderTop:0,borderRight:0,backgroundColor:"transparent",marginRight:(0,t.hO)(1),color:a.colorScheme==="dark"?a.colors.dark[0]:a.black,"&:not(:disabled):hover":{backgroundColor:a.colorScheme==="dark"?a.colors.dark[5]:a.colors.gray[0]},"&:disabled":{color:a.colorScheme==="dark"?a.colors.dark[3]:a.colors.gray[4]}},controlUp:{},controlDown:{borderBottom:0}}));const r=o},95684:(D,b,e)=>{"use strict";e.d(b,{J:()=>t});const t=(n,o,r)=>Number.isInteger(n)&&n>=0&&o===0?"numeric":!Number.isInteger(n)&&n>=0&&o!==0?"decimal":Number.isInteger(n)&&n<0&&o===0||!Number.isInteger(n)&&n<0&&o!==0?r==="ios"?"text":"decimal":"numeric"},63045:(D,b,e)=>{"use strict";e.d(b,{a:()=>s});var t=e(7294),n=e(99275),o=e(92159),r=e(96387),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(c,u,_)=>u in c?i(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,z=(c,u)=>{for(var _ in u||(u={}))d.call(u,_)&&O(c,_,u[_]);if(p)for(var _ of p(u))M.call(u,_)&&O(c,_,u[_]);return c},m=(c,u)=>{var _={};for(var A in c)d.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&p)for(var A of p(c))u.indexOf(A)<0&&M.call(c,A)&&(_[A]=c[A]);return _};const f={opacity:.6,color:"#000",zIndex:(0,n.wd)("modal"),radius:0},l=(0,t.forwardRef)((c,u)=>{const _=(0,n.N4)("Overlay",f,c),{variant:A,opacity:g,color:y,blur:W,gradient:E,zIndex:T,radius:q,children:S,className:I,classNames:x,styles:j,unstyled:N,center:k,fixed:K}=_,Y=m(_,["variant","opacity","color","blur","gradient","zIndex","radius","children","className","classNames","styles","unstyled","center","fixed"]),{classes:$,cx:u0}=(0,r.Z)({color:y,opacity:g,blur:W,radius:q,gradient:E,fixed:K,zIndex:T},{name:"Overlay",classNames:x,styles:j,unstyled:N,variant:A});return t.createElement(a.x,z({ref:u,className:u0($.root,I),"data-center":k||void 0},Y),S)});l.displayName="@mantine/core/Overlay";const s=(0,o.Fm)(l)},96387:(D,b,e)=>{"use strict";e.d(b,{Z:()=>m});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l)),z=(0,t.kc)((f,{color:l,opacity:s,blur:c,radius:u,gradient:_,fixed:A,zIndex:g})=>({root:O(M({},f.fn.cover(0)),{position:A?"fixed":"absolute",backgroundColor:_?void 0:f.fn.rgba(l,s),backgroundImage:_,backdropFilter:c?`blur(${(0,t.hO)(c)})`:void 0,borderRadius:f.fn.radius(u),zIndex:g,"&[data-center]":{display:"flex",alignItems:"center",justifyContent:"center"}})}));const m=z},91637:(D,b,e)=>{"use strict";e.d(b,{E:()=>o,b:()=>n});var t=e(92159);const[n,o]=(0,t.Rk)("Pagination.Root component was not found in tree")},77124:(D,b,e)=>{"use strict";e.d(b,{Kk:()=>A,Tx:()=>c,hu:()=>g,lH:()=>u,m2:()=>l,wk:()=>_});var t=e(7294),n=e(99275),o=e(46545),r=Object.defineProperty,a=Object.defineProperties,i=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(y,W,E)=>W in y?r(y,W,{enumerable:!0,configurable:!0,writable:!0,value:E}):y[W]=E,z=(y,W)=>{for(var E in W||(W={}))d.call(W,E)&&O(y,E,W[E]);if(p)for(var E of p(W))M.call(W,E)&&O(y,E,W[E]);return y},m=(y,W)=>a(y,i(W)),f=(y,W)=>{var E={};for(var T in y)d.call(y,T)&&W.indexOf(T)<0&&(E[T]=y[T]);if(y!=null&&p)for(var T of p(y))W.indexOf(T)<0&&M.call(y,T)&&(E[T]=y[T]);return E};function l(y){return`calc(${(0,n.ap)({size:y,sizes:o.J})} / 2)`}function s(y){var W=y,{size:E,children:T,path:q}=W,S=f(W,["size","children","path"]);return t.createElement("svg",z({width:E,height:E,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},S),t.createElement("path",{d:q,fill:"currentColor"}))}const c=y=>t.createElement(s,m(z({},y),{path:"M8.781 8l-3.3-3.3.943-.943L10.667 8l-4.243 4.243-.943-.943 3.3-3.3z"})),u=y=>t.createElement(s,m(z({},y),{path:"M7.219 8l3.3 3.3-.943.943L5.333 8l4.243-4.243.943.943-3.3 3.3z"})),_=y=>t.createElement(s,m(z({},y),{path:"M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z"})),A=y=>t.createElement(s,m(z({},y),{path:"M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z"})),g=y=>t.createElement(s,m(z({},y),{path:"M2 8c0-.733.6-1.333 1.333-1.333.734 0 1.334.6 1.334 1.333s-.6 1.333-1.334 1.333C2.6 9.333 2 8.733 2 8zm9.333 0c0-.733.6-1.333 1.334-1.333C13.4 6.667 14 7.267 14 8s-.6 1.333-1.333 1.333c-.734 0-1.334-.6-1.334-1.333zM6.667 8c0-.733.6-1.333 1.333-1.333s1.333.6 1.333 1.333S8.733 9.333 8 9.333 6.667 8.733 6.667 8z"}))},56956:(D,b,e)=>{"use strict";e.d(b,{t:()=>u});var t=e(7294),n=e(99275),o=e(23318),r=e(65926),a=e(94327),i=e(50490),p=e(35919),d=e(91449),M=Object.defineProperty,O=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(_,A,g)=>A in _?M(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,l=(_,A)=>{for(var g in A||(A={}))z.call(A,g)&&f(_,g,A[g]);if(O)for(var g of O(A))m.call(A,g)&&f(_,g,A[g]);return _},s=(_,A)=>{var g={};for(var y in _)z.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&O)for(var y of O(_))A.indexOf(y)<0&&m.call(_,y)&&(g[y]=_[y]);return g};const c={withControls:!0,siblings:1,boundaries:1};function u(_){const A=(0,n.N4)("Pagination",c,_),{withEdges:g,withControls:y,classNames:W,styles:E,unstyled:T,variant:q,size:S,total:I,value:x,defaultValue:j,onChange:N,disabled:k,siblings:K,boundaries:Y,color:$,radius:u0,onNextPage:n0,onPreviousPage:i0,onFirstPage:t0,onLastPage:J,getItemProps:a0,getControlProps:b0,spacing:d0,nextIcon:O0,previousIcon:_0,lastIcon:h0,firstIcon:A0,dotsIcon:w0}=A,Z0=s(A,["withEdges","withControls","classNames","styles","unstyled","variant","size","total","value","defaultValue","onChange","disabled","siblings","boundaries","color","radius","onNextPage","onPreviousPage","onFirstPage","onLastPage","getItemProps","getControlProps","spacing","nextIcon","previousIcon","lastIcon","firstIcon","dotsIcon"]),Y0=(0,n.rZ)();return I<=0?null:t.createElement(o.O,{classNames:W,styles:E,unstyled:T,variant:q,size:S,total:I,value:x,defaultValue:j,onChange:N,disabled:k,siblings:K,boundaries:Y,color:$,radius:u0,onNextPage:n0,onPreviousPage:i0,onFirstPage:t0,onLastPage:J,getItemProps:a0},t.createElement(d.Z,l({spacing:d0!=null?d0:`calc(${(0,n.ap)({size:S,sizes:Y0.spacing})} / 2)`},Z0),g&&t.createElement(p.kO,l({icon:A0},b0==null?void 0:b0("first"))),y&&t.createElement(p.dN,l({icon:_0},b0==null?void 0:b0("previous"))),t.createElement(r.K,{dotsIcon:w0}),y&&t.createElement(p.$0,l({icon:O0},b0==null?void 0:b0("next"))),g&&t.createElement(p.Zv,l({icon:h0},b0==null?void 0:b0("last")))))}u.displayName="@mantine/core/Pagination",u.Root=o.O,u.Items=r.K,u.Control=a.R,u.Dots=i.N,u.Next=p.$0,u.Previous=p.dN,u.Last=p.Zv,u.First=p.kO},94327:(D,b,e)=>{"use strict";e.d(b,{R:()=>u});var t=e(7294),n=e(99275),o=e(91637),r=e(46545),a=e(56354),i=Object.defineProperty,p=Object.defineProperties,d=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,m=(_,A,g)=>A in _?i(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,f=(_,A)=>{for(var g in A||(A={}))O.call(A,g)&&m(_,g,A[g]);if(M)for(var g of M(A))z.call(A,g)&&m(_,g,A[g]);return _},l=(_,A)=>p(_,d(A)),s=(_,A)=>{var g={};for(var y in _)O.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&M)for(var y of M(_))A.indexOf(y)<0&&z.call(_,y)&&(g[y]=_[y]);return g};const c={withPadding:!0},u=(0,t.forwardRef)((_,A)=>{const g=(0,n.N4)("PaginationControl",c,_),{active:y,className:W,disabled:E,withPadding:T}=g,q=s(g,["active","className","disabled","withPadding"]),S=(0,o.E)(),{classes:I,cx:x}=(0,r.Z)({color:S.color,radius:S.radius,withPadding:T},S.stylesApi);return t.createElement(a.k,l(f({},q),{disabled:E,"data-active":y||void 0,"data-disabled":E||void 0,ref:A,className:x(I.control,W)}))});u.displayName="@mantine/core/PaginationControl"},46545:(D,b,e)=>{"use strict";e.d(b,{J:()=>n,Z:()=>r});var t=e(99275);const n={xs:(0,t.hO)(22),sm:(0,t.hO)(26),md:(0,t.hO)(32),lg:(0,t.hO)(38),xl:(0,t.hO)(44)};var o=(0,t.kc)((a,{color:i,radius:p,withPadding:d},{size:M})=>{const O=a.fn.variant({color:i,variant:"filled"});return{control:{cursor:"pointer",userSelect:"none",display:"flex",alignItems:"center",justifyContent:"center",border:`${(0,t.hO)(1)} solid ${a.colorScheme==="dark"?a.colors.dark[4]:a.colors.gray[4]}`,color:a.colorScheme==="dark"?a.colors.dark[0]:a.black,height:(0,t.ap)({size:M,sizes:n}),minWidth:(0,t.ap)({size:M,sizes:n}),padding:d?`0 calc(${(0,t.ap)({size:M,sizes:a.spacing})} / 2)`:void 0,fontSize:(0,t.ap)({size:M,sizes:a.fontSizes}),borderRadius:a.fn.radius(p),lineHeight:1,backgroundColor:a.colorScheme==="dark"?a.colors.dark[6]:a.white,"&:not([data-disabled])":a.fn.hover({backgroundColor:a.colorScheme==="dark"?a.colors.dark[5]:a.colors.gray[0]}),"&:active:not([data-disabled])":a.activeStyles,"&[data-disabled]":{opacity:.4,cursor:"not-allowed"},"&[data-active]":{borderColor:"transparent",color:O.color,backgroundColor:O.background,"&:not([data-disabled])":a.fn.hover({backgroundColor:O.hover})}}}});const r=o},50490:(D,b,e)=>{"use strict";e.d(b,{N:()=>s});var t=e(7294),n=e(99275),o=e(77124),r=e(65980),a=e(91637),i=e(84888),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(c,u,_)=>u in c?p(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,m=(c,u)=>{for(var _ in u||(u={}))M.call(u,_)&&z(c,_,u[_]);if(d)for(var _ of d(u))O.call(u,_)&&z(c,_,u[_]);return c},f=(c,u)=>{var _={};for(var A in c)M.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&d)for(var A of d(c))u.indexOf(A)<0&&O.call(c,A)&&(_[A]=c[A]);return _};const l={icon:o.hu},s=(0,t.forwardRef)((c,u)=>{const _=(0,n.N4)("PaginationDots",l,c),{className:A,icon:g}=_,y=f(_,["className","icon"]),W=(0,a.E)(),{classes:E,cx:T}=(0,r.Z)(null,W.stylesApi);return t.createElement(i.x,m({ref:u,className:T(E.dots,A)},y),t.createElement(g,{size:(0,o.m2)(W.stylesApi.size)}))});s.displayName="@mantine/core/PaginationDots"},65980:(D,b,e)=>{"use strict";e.d(b,{Z:()=>r});var t=e(99275),n=e(46545),o=(0,t.kc)((a,i,{size:p})=>({dots:{height:(0,t.ap)({size:p,sizes:n.J}),minWidth:(0,t.ap)({size:p,sizes:n.J}),display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"}}));const r=o},35919:(D,b,e)=>{"use strict";e.d(b,{$0:()=>c,Zv:()=>A,dN:()=>u,kO:()=>_});var t=e(7294),n=e(99275),o=e(92159),r=e(91637),a=e(77124),i=e(94327),p=e(38661),d=Object.defineProperty,M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,m=(g,y,W)=>y in g?d(g,y,{enumerable:!0,configurable:!0,writable:!0,value:W}):g[y]=W,f=(g,y)=>{for(var W in y||(y={}))O.call(y,W)&&m(g,W,y[W]);if(M)for(var W of M(y))z.call(y,W)&&m(g,W,y[W]);return g},l=(g,y)=>{var W={};for(var E in g)O.call(g,E)&&y.indexOf(E)<0&&(W[E]=g[E]);if(g!=null&&M)for(var E of M(g))y.indexOf(E)<0&&z.call(g,E)&&(W[E]=g[E]);return W};function s({icon:g,name:y,action:W,type:E}){const T={icon:g},q=(0,t.forwardRef)((S,I)=>{const x=(0,n.N4)(y,T,S),{icon:j}=x,N=l(x,["icon"]),{classes:k}=(0,p.Z)(),K=(0,r.E)(),Y=E==="next"?K.active===K.total:K.active===1;return t.createElement(i.R,f({disabled:K.disabled||Y,ref:I,onClick:K[W],withPadding:!1},N),t.createElement(j,{className:k.icon,size:(0,a.m2)(K.stylesApi.size)}))});return q.displayName=`@mantine/core/${y}`,(0,o.Fm)(q)}const c=s({icon:a.Tx,name:"PaginationNext",action:"onNext",type:"next"}),u=s({icon:a.lH,name:"PaginationPrevious",action:"onPrevious",type:"previous"}),_=s({icon:a.wk,name:"PaginationFirst",action:"onFirst",type:"previous"}),A=s({icon:a.Kk,name:"PaginationLast",action:"onLast",type:"next"})},38661:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(r=>({icon:{transform:r.dir==="rtl"?"rotate(180deg)":"unset"}}));const o=n},65926:(D,b,e)=>{"use strict";e.d(b,{K:()=>z});var t=e(7294),n=e(91637),o=e(94327),r=e(50490),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(m,f,l)=>f in m?a(m,f,{enumerable:!0,configurable:!0,writable:!0,value:l}):m[f]=l,O=(m,f)=>{for(var l in f||(f={}))p.call(f,l)&&M(m,l,f[l]);if(i)for(var l of i(f))d.call(f,l)&&M(m,l,f[l]);return m};function z({dotsIcon:m}){const f=(0,n.E)(),l=f.range.map((s,c)=>{var u;return s==="dots"?t.createElement(r.N,{icon:m,key:c}):t.createElement(o.R,O({key:c,active:s===f.active,"aria-current":s===f.active?"page":void 0,onClick:()=>f.onChange(s),disabled:f.disabled},(u=f.getItemProps)==null?void 0:u.call(f,s)),s)});return t.createElement(t.Fragment,null,l)}z.displayName="@mantine/core/PaginationItems"},23318:(D,b,e)=>{"use strict";e.d(b,{O:()=>p});var t=e(7294),n=e(99275),o=e(76322),r=e(92159),a=e(91637);const i={siblings:1,boundaries:1};function p(d){const{total:M,value:O,defaultValue:z,onChange:m,disabled:f,children:l,siblings:s,boundaries:c,color:u,radius:_,onNextPage:A,onPreviousPage:g,onFirstPage:y,onLastPage:W,getItemProps:E,classNames:T,styles:q,unstyled:S,variant:I,size:x}=(0,n.N4)("PaginationRoot",i,d),{range:j,setPage:N,next:k,previous:K,active:Y,first:$,last:u0}=(0,o.h0)({page:O,initialPage:z,onChange:m,total:M,siblings:s,boundaries:c}),n0=(0,r.xH)(A,k),i0=(0,r.xH)(g,K),t0=(0,r.xH)(y,$),J=(0,r.xH)(W,u0);return t.createElement(a.b,{value:{total:M,range:j,active:Y,disabled:f,color:u,radius:_,getItemProps:E,onChange:N,onNext:n0,onPrevious:i0,onFirst:t0,onLast:J,stylesApi:{name:"Pagination",classNames:T,styles:q,unstyled:S,variant:I,size:x}}},l)}},67889:(D,b,e)=>{"use strict";e.d(b,{X:()=>s});var t=e(7294),n=e(99275),o=e(92159),r=e(96636),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(c,u,_)=>u in c?i(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,z=(c,u)=>{for(var _ in u||(u={}))d.call(u,_)&&O(c,_,u[_]);if(p)for(var _ of p(u))M.call(u,_)&&O(c,_,u[_]);return c},m=(c,u)=>{var _={};for(var A in c)d.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&p)for(var A of p(c))u.indexOf(A)<0&&M.call(c,A)&&(_[A]=c[A]);return _};const f={},l=(0,t.forwardRef)((c,u)=>{const _=(0,n.N4)("Paper",f,c),{className:A,children:g,radius:y,withBorder:W,shadow:E,unstyled:T,variant:q}=_,S=m(_,["className","children","radius","withBorder","shadow","unstyled","variant"]),{classes:I,cx:x}=(0,r.Z)({radius:y,shadow:E},{name:"Paper",unstyled:T,variant:q});return t.createElement(a.x,z({className:x(I.root,A),"data-with-border":W||void 0,ref:u},S),g)});l.displayName="@mantine/core/Paper";const s=(0,o.Fm)(l)},96636:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{radius:a,shadow:i})=>({root:{outline:0,WebkitTapHighlightColor:"transparent",display:"block",textDecoration:"none",color:r.colorScheme==="dark"?r.colors.dark[0]:r.black,backgroundColor:r.colorScheme==="dark"?r.colors.dark[7]:r.white,boxSizing:"border-box",borderRadius:r.fn.radius(a),boxShadow:r.shadows[i]||i||"none","&[data-with-border]":{border:`${(0,t.hO)(1)} solid ${r.colorScheme==="dark"?r.colors.dark[4]:r.colors.gray[3]}`}}}));const o=n},72559:(D,b,e)=>{"use strict";e.d(b,{W:()=>E});var t=e(7294),n=e(76322),o=e(99275),r=e(96135),a=e(80736),i=e(12756),p=e(41281),d=e(55956),M=Object.defineProperty,O=Object.defineProperties,z=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,s=(T,q,S)=>q in T?M(T,q,{enumerable:!0,configurable:!0,writable:!0,value:S}):T[q]=S,c=(T,q)=>{for(var S in q||(q={}))f.call(q,S)&&s(T,S,q[S]);if(m)for(var S of m(q))l.call(q,S)&&s(T,S,q[S]);return T},u=(T,q)=>O(T,z(q)),_=(T,q)=>{var S={};for(var I in T)f.call(T,I)&&q.indexOf(I)<0&&(S[I]=T[I]);if(T!=null&&m)for(var I of m(T))q.indexOf(I)<0&&l.call(T,I)&&(S[I]=T[I]);return S};const A={xs:(0,o.hO)(22),sm:(0,o.hO)(26),md:(0,o.hO)(28),lg:(0,o.hO)(32),xl:(0,o.hO)(40)},g={xs:(0,o.hO)(12),sm:(0,o.hO)(15),md:(0,o.hO)(17),lg:(0,o.hO)(19),xl:(0,o.hO)(21)},y={xs:(0,o.hO)(28),sm:(0,o.hO)(32),md:(0,o.hO)(34),lg:(0,o.hO)(44),xl:(0,o.hO)(54)},W={size:"sm",toggleTabIndex:-1,visibilityToggleIcon:r.P,__staticSelector:"PasswordInput"},E=(0,t.forwardRef)((T,q)=>{const S=(0,o.N4)("PasswordInput",W,T),{radius:I,disabled:x,size:j,toggleTabIndex:N,className:k,id:K,label:Y,error:$,required:u0,style:n0,icon:i0,description:t0,wrapperProps:J,classNames:a0,styles:b0,variant:d0,visibilityToggleIcon:O0,__staticSelector:_0,rightSection:h0,rightSectionWidth:A0,rightSectionProps:w0,sx:Z0,labelProps:Y0,descriptionProps:J0,errorProps:g0,unstyled:B0,visibilityToggleLabel:E0,withAsterisk:K0,inputContainer:j0,iconWidth:n1,inputWrapperOrder:r1,visible:s1,defaultVisible:O1,onVisibilityChange:A1}=S,v1=_(S,["radius","disabled","size","toggleTabIndex","className","id","label","error","required","style","icon","description","wrapperProps","classNames","styles","variant","visibilityToggleIcon","__staticSelector","rightSection","rightSectionWidth","rightSectionProps","sx","labelProps","descriptionProps","errorProps","unstyled","visibilityToggleLabel","withAsterisk","inputContainer","iconWidth","inputWrapperOrder","visible","defaultVisible","onVisibilityChange"]),C1=(0,o.ap)({size:j,sizes:y}),{classes:E1}=(0,a.Z)({rightSectionWidth:C1},{name:"PasswordInput",classNames:a0,styles:b0,unstyled:B0,size:j,variant:d0}),x0=(0,n.Me)(K),{systemStyles:H0,rest:_1}=(0,i.x)(v1),[u1,y0]=(0,n.Ch)({value:s1,defaultValue:O1,finalValue:!1,onChange:A1}),C0=()=>y0(!u1),U0=t.createElement(p.A,{className:E1.visibilityToggle,tabIndex:N,radius:I,size:(0,o.ap)({size:j,sizes:A}),"aria-hidden":!E0,"aria-label":E0,unstyled:B0,onMouseDown:V0=>{V0.preventDefault(),C0()},onKeyDown:V0=>{V0.key===" "&&(V0.preventDefault(),C0())}},t.createElement(O0,{reveal:u1,size:(0,o.ap)({size:j,sizes:g})}));return t.createElement(d.I.Wrapper,c(c({required:u0,id:x0,label:Y,error:$,description:t0,size:j,className:k,style:n0,classNames:a0,styles:b0,__staticSelector:_0,sx:Z0,errorProps:g0,descriptionProps:J0,labelProps:Y0,unstyled:B0,withAsterisk:K0,inputWrapperOrder:r1,inputContainer:j0,variant:d0},H0),J),t.createElement(d.I,{component:"div",error:$,icon:i0,size:j,classNames:u(c({},a0),{input:E1.input}),styles:b0,radius:I,disabled:x,__staticSelector:_0,rightSectionWidth:C1,rightSection:!x&&U0,variant:d0,unstyled:B0,iconWidth:n1},t.createElement("input",c({type:u1?"text":"password",required:u0,"data-invalid":!!$||void 0,"data-with-icon":!!i0||void 0,className:E1.innerInput,disabled:x,id:x0,ref:q},_1))))});E.displayName="@mantine/core/PasswordInput"},80736:(D,b,e)=>{"use strict";e.d(b,{Z:()=>f});var t=e(99275),n=e(35227),o=Object.defineProperty,r=Object.defineProperties,a=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?o(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>r(l,a(s)),m=(0,t.kc)((l,{rightSectionWidth:s},{size:c})=>({visibilityToggle:{},input:{position:"relative",overflow:"hidden"},innerInput:z(O(O({},l.fn.fontStyles()),l.fn.cover(0)),{backgroundColor:"transparent",border:`${(0,t.hO)(1)} solid transparent`,borderLeftWidth:0,borderRightWidth:0,boxSizing:"border-box",display:"block",width:`calc(100% - ${(0,t.hO)(s)})`,paddingLeft:`calc(${(0,t.ap)({size:c,sizes:n.J})} / 3)`,fontSize:(0,t.ap)({size:c,sizes:l.fontSizes}),height:`calc(${(0,t.ap)({size:c,sizes:n.J})} - ${(0,t.hO)(2)})`,lineHeight:`calc(${(0,t.ap)({size:c,sizes:n.J})} - ${(0,t.hO)(4)})`,color:l.colorScheme==="dark"?l.colors.dark[0]:l.black,"&::-ms-reveal, &::-ms-clear":{display:"none"},"&:focus":{outline:0},"&:disabled":{cursor:"not-allowed"},"&::placeholder":z(O({},l.fn.placeholderStyles()),{opacity:1}),"&[data-invalid]":{color:l.fn.variant({variant:"filled",color:"red"}).background,"&::placeholder":{opacity:1,color:l.fn.variant({variant:"filled",color:"red"}).background}},"&[data-with-icon]":{paddingLeft:(0,t.ap)({size:c,sizes:n.J})}})}));const f=m},96135:(D,b,e)=>{"use strict";e.d(b,{P:()=>n});var t=e(7294);const n=({reveal:o,size:r})=>t.createElement("svg",{width:r,height:r,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:o?"M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L10.6828 3.61012C9.70652 3.21671 8.63759 3 7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C0.902945 9.08812 2.02314 10.1861 3.36061 10.9323L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L4.31723 11.3899C5.29348 11.7833 6.36241 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C14.0971 5.9119 12.9769 4.81391 11.6394 4.06771L13.3536 2.35355ZM9.90428 4.38861C9.15332 4.1361 8.34759 4 7.5 4C4.80285 4 2.52952 5.37816 1.09622 7.50001C1.87284 8.6497 2.89609 9.58106 4.09974 10.1931L9.90428 4.38861ZM5.09572 10.6114L10.9003 4.80685C12.1039 5.41894 13.1272 6.35031 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11C6.65241 11 5.84668 10.8639 5.09572 10.6114Z":"M7.5 11C4.80285 11 2.52952 9.62184 1.09622 7.50001C2.52952 5.37816 4.80285 4 7.5 4C10.1971 4 12.4705 5.37816 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11ZM7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C1.65639 10.2936 4.30786 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C13.3436 4.70638 10.6921 3 7.5 3ZM7.5 9.5C8.60457 9.5 9.5 8.60457 9.5 7.5C9.5 6.39543 8.60457 5.5 7.5 5.5C6.39543 5.5 5.5 6.39543 5.5 7.5C5.5 8.60457 6.39543 9.5 7.5 9.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))},47001:(D,b,e)=>{"use strict";e.d(b,{E:()=>g});var t=e(7294),n=e(76322),o=e(99275),r=e(11652),a=e(64246),i=e(91449),p=e(55956),d=Object.defineProperty,M=Object.defineProperties,O=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(y,W,E)=>W in y?d(y,W,{enumerable:!0,configurable:!0,writable:!0,value:E}):y[W]=E,s=(y,W)=>{for(var E in W||(W={}))m.call(W,E)&&l(y,E,W[E]);if(z)for(var E of z(W))f.call(W,E)&&l(y,E,W[E]);return y},c=(y,W)=>M(y,O(W)),u=(y,W)=>{var E={};for(var T in y)m.call(y,T)&&W.indexOf(T)<0&&(E[T]=y[T]);if(y!=null&&z)for(var T of z(y))W.indexOf(T)<0&&f.call(y,T)&&(E[T]=y[T]);return E};const _={number:/^[0-9]+$/,alphanumeric:/^[a-zA-Z0-9]+$/i},A={spacing:"sm",size:"sm",length:4,manageFocus:!0,placeholder:"\u25CB",type:"alphanumeric"},g=(0,t.forwardRef)((y,W)=>{const E=(0,o.N4)("PinInput",A,y),{name:T,form:q,className:S,value:I,defaultValue:x,variant:j,spacing:N,size:k,classNames:K,styles:Y,unstyled:$,sx:u0,length:n0,onChange:i0,onComplete:t0,manageFocus:J,autoFocus:a0,error:b0,radius:d0,disabled:O0,oneTimeCode:_0,placeholder:h0,type:A0,mask:w0,"aria-label":Z0,readOnly:Y0,inputType:J0,inputMode:g0}=E,B0=u(E,["name","form","className","value","defaultValue","variant","spacing","size","classNames","styles","unstyled","sx","length","onChange","onComplete","manageFocus","autoFocus","error","radius","disabled","oneTimeCode","placeholder","type","mask","aria-label","readOnly","inputType","inputMode"]),E0=(0,n.Me)(T),{classes:K0,cx:j0}=(0,a.Z)(null,{name:"PinInput",classNames:K,styles:Y,unstyled:$,variant:j,size:k}),[n1,r1]=(0,t.useState)(-1),[s1,O1]=(0,n.Ch)({value:I,defaultValue:x,finalValue:"",onChange:i0}),A1=(0,t.useRef)([]),v1=C0=>{const U0=A0 instanceof RegExp?A0:A0 in _?_[A0]:null;return U0==null?void 0:U0.test(C0)},C1=(C0,U0)=>{if(J){if(C0==="next"){const V0=U0+1;A1.current[V0-1?V0:U0].focus()}}},E1=(C0,U0)=>{const V0=[...(0,r.R)(n0,s1)];V0[U0]=C0,O1(V0.join(""))},x0=(C0,U0)=>{const V0=C0.target.value,z1=V0.length>1?V0.split("")[V0.length-1]:V0;v1(z1)?(E1(z1,U0),C1("next",U0)):E1("",U0)},H0=(C0,U0)=>{C0.key==="Backspace"&&(C0.target.value!==""?E1("",U0):C1("prev",U0))},_1=(C0,U0)=>{C0.target.select(),r1(U0)},u1=()=>{r1(-1)},y0=C0=>{C0.preventDefault();const U0=C0.clipboardData.getData("Text");v1(U0)&&O1(U0)};return(0,t.useEffect)(()=>{s1.length===n0&&(t0==null||t0(s1))},[s1]),t.createElement(t.Fragment,null,t.createElement(i.Z,s({role:"group",spacing:N,ref:W,className:j0(K0.root,S),sx:u0,unstyled:$,id:E0,noWrap:!0},B0),(0,r.R)(n0,s1).map((C0,U0)=>t.createElement(p.I,{__staticSelector:"PinInput",id:`${E0}-${U0+1}`,key:`${E0}-${U0}`,inputMode:g0||(A0==="number"?"numeric":"text"),onChange:V0=>x0(V0,U0),onKeyDown:V0=>H0(V0,U0),onFocus:V0=>_1(V0,U0),onBlur:u1,onPaste:y0,type:J0||(w0?"password":A0==="number"?"tel":"text"),radius:d0,error:b0,variant:j,size:k,disabled:O0,ref:V0=>{A1.current[U0]=V0},autoComplete:_0?"one-time-code":"off",placeholder:n1===U0?"":h0,value:C0,autoFocus:a0&&U0===0,classNames:c(s({},K),{input:j0(K0.input,K==null?void 0:K.input)}),styles:Y,unstyled:$,"aria-label":Z0,readOnly:Y0}))),t.createElement("input",{type:"hidden",name:T,form:q,value:s1}))});g.displayName="@mantine/core/PinInput"},64246:(D,b,e)=>{"use strict";e.d(b,{Z:()=>r});var t=e(99275);const n={xs:(0,t.hO)(28),sm:(0,t.hO)(32),md:(0,t.hO)(36),lg:(0,t.hO)(40),xl:(0,t.hO)(48)};var o=(0,t.kc)((a,i,{size:p})=>({root:{},input:{width:(0,t.ap)({size:p,sizes:n}),height:(0,t.ap)({size:p,sizes:n}),textAlign:"center",minHeight:"auto",padding:0,lineHeight:(0,t.ap)({size:p,sizes:n}),"&::selection":{background:"transparent"}}}));const r=o},11652:(D,b,e)=>{"use strict";e.d(b,{R:()=>t});function t(n,o){if(n<1)return[];const r=new Array(n).fill("");if(o){const a=o.trim().split("");for(let i=0;i{"use strict";e.d(b,{l:()=>r,q:()=>o});var t=e(92159),n=e(16252);const[o,r]=(0,t.Rk)(n.y.context)},16252:(D,b,e)=>{"use strict";e.d(b,{y:()=>t});const t={context:"Popover component was not found in the tree",children:"Popover.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"}},46512:(D,b,e)=>{"use strict";e.d(b,{J:()=>l});var t=e(7294),n=e(76322),o=e(99275),r=e(52402),a=e(62763),i=e(93952),p=e(19424),d=e(14870),M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,m=(s,c)=>{var u={};for(var _ in s)O.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&M)for(var _ of M(s))c.indexOf(_)<0&&z.call(s,_)&&(u[_]=s[_]);return u};const f={position:"bottom",offset:8,positionDependencies:[],transitionProps:{transition:"fade",duration:150},middlewares:{flip:!0,shift:!0,inline:!1},arrowSize:7,arrowOffset:5,arrowRadius:0,arrowPosition:"side",closeOnClickOutside:!0,withinPortal:!1,closeOnEscape:!0,trapFocus:!1,withRoles:!0,returnFocus:!1,clickOutsideEvents:["mousedown","touchstart"],zIndex:(0,o.wd)("popover"),__staticSelector:"Popover",width:"max-content"};function l(s){var c,u,_,A,g,y;const W=(0,t.useRef)(null),E=(0,o.N4)("Popover",f,s),{children:T,position:q,offset:S,onPositionChange:I,positionDependencies:x,opened:j,transitionProps:N,width:k,middlewares:K,withArrow:Y,arrowSize:$,arrowOffset:u0,arrowRadius:n0,arrowPosition:i0,unstyled:t0,classNames:J,styles:a0,closeOnClickOutside:b0,withinPortal:d0,portalProps:O0,closeOnEscape:_0,clickOutsideEvents:h0,trapFocus:A0,onClose:w0,onOpen:Z0,onChange:Y0,zIndex:J0,radius:g0,shadow:B0,id:E0,defaultOpened:K0,__staticSelector:j0,withRoles:n1,disabled:r1,returnFocus:s1,variant:O1,keepMounted:A1}=E,v1=m(E,["children","position","offset","onPositionChange","positionDependencies","opened","transitionProps","width","middlewares","withArrow","arrowSize","arrowOffset","arrowRadius","arrowPosition","unstyled","classNames","styles","closeOnClickOutside","withinPortal","portalProps","closeOnEscape","clickOutsideEvents","trapFocus","onClose","onOpen","onChange","zIndex","radius","shadow","id","defaultOpened","__staticSelector","withRoles","disabled","returnFocus","variant","keepMounted"]),[C1,E1]=(0,t.useState)(null),[x0,H0]=(0,t.useState)(null),_1=(0,n.Me)(E0),u1=(0,o.rZ)(),y0=(0,r.S)({middlewares:K,width:k,position:(0,d._)(u1.dir,q),offset:typeof S=="number"?S+(Y?$/2:0):S,arrowRef:W,arrowOffset:u0,onPositionChange:I,positionDependencies:x,opened:j,defaultOpened:K0,onChange:Y0,onOpen:Z0,onClose:w0});(0,n.O8)(()=>b0&&y0.onClose(),h0,[C1,x0]);const C0=(0,t.useCallback)(V0=>{E1(V0),y0.floating.reference(V0)},[y0.floating.reference]),U0=(0,t.useCallback)(V0=>{H0(V0),y0.floating.floating(V0)},[y0.floating.floating]);return t.createElement(a.q,{value:{returnFocus:s1,disabled:r1,controlled:y0.controlled,reference:C0,floating:U0,x:y0.floating.x,y:y0.floating.y,arrowX:(_=(u=(c=y0.floating)==null?void 0:c.middlewareData)==null?void 0:u.arrow)==null?void 0:_.x,arrowY:(y=(g=(A=y0.floating)==null?void 0:A.middlewareData)==null?void 0:g.arrow)==null?void 0:y.y,opened:y0.opened,arrowRef:W,transitionProps:N,width:k,withArrow:Y,arrowSize:$,arrowOffset:u0,arrowRadius:n0,arrowPosition:i0,placement:y0.floating.placement,trapFocus:A0,withinPortal:d0,portalProps:O0,zIndex:J0,radius:g0,shadow:B0,closeOnEscape:_0,onClose:y0.onClose,onToggle:y0.onToggle,getTargetId:()=>`${_1}-target`,getDropdownId:()=>`${_1}-dropdown`,withRoles:n1,targetProps:v1,__staticSelector:j0,classNames:J,styles:a0,unstyled:t0,variant:O1,keepMounted:A1}},T)}l.Target=i.n,l.Dropdown=p.B,l.displayName="@mantine/core/Popover"},19424:(D,b,e)=>{"use strict";e.d(b,{B:()=>E});var t=e(7294),n=e(99275),o=e(92159),r=e(76322),a=e(62763),i=e(71949),p=e(83143),d=e(97688),M=e(45272),O=e(84888),z=e(69696),m=Object.defineProperty,f=Object.defineProperties,l=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,_=(T,q,S)=>q in T?m(T,q,{enumerable:!0,configurable:!0,writable:!0,value:S}):T[q]=S,A=(T,q)=>{for(var S in q||(q={}))c.call(q,S)&&_(T,S,q[S]);if(s)for(var S of s(q))u.call(q,S)&&_(T,S,q[S]);return T},g=(T,q)=>f(T,l(q)),y=(T,q)=>{var S={};for(var I in T)c.call(T,I)&&q.indexOf(I)<0&&(S[I]=T[I]);if(T!=null&&s)for(var I of s(T))q.indexOf(I)<0&&u.call(T,I)&&(S[I]=T[I]);return S};const W={};function E(T){var q;const S=(0,n.N4)("PopoverDropdown",W,T),{style:I,className:x,children:j,onKeyDownCapture:N}=S,k=y(S,["style","className","children","onKeyDownCapture"]),K=(0,a.l)(),{classes:Y,cx:$}=(0,i.Z)({radius:K.radius,shadow:K.shadow},{name:K.__staticSelector,classNames:K.classNames,styles:K.styles,unstyled:K.unstyled,variant:K.variant}),u0=(0,r.uz)({opened:K.opened,shouldReturnFocus:K.returnFocus}),n0=K.withRoles?{"aria-labelledby":K.getTargetId(),id:K.getDropdownId(),role:"dialog"}:{};return K.disabled?null:t.createElement(p.q,g(A({},K.portalProps),{withinPortal:K.withinPortal}),t.createElement(d.u,g(A({mounted:K.opened},K.transitionProps),{transition:K.transitionProps.transition||"fade",duration:(q=K.transitionProps.duration)!=null?q:150,keepMounted:K.keepMounted,exitDuration:typeof K.transitionProps.exitDuration=="number"?K.transitionProps.exitDuration:K.transitionProps.duration}),i0=>{var t0,J;return t.createElement(M.i,{active:K.trapFocus},t.createElement(O.x,A(g(A({},n0),{tabIndex:-1,ref:K.floating,style:g(A(A({},I),i0),{zIndex:K.zIndex,top:(t0=K.y)!=null?t0:0,left:(J=K.x)!=null?J:0,width:K.width==="target"?void 0:(0,n.hO)(K.width)}),className:$(Y.dropdown,x),onKeyDownCapture:(0,o.nq)(K.onClose,{active:K.closeOnEscape,onTrigger:u0,onKeyDown:N}),"data-position":K.placement}),k),j,t.createElement(z.Y,{ref:K.arrowRef,arrowX:K.arrowX,arrowY:K.arrowY,visible:K.withArrow,position:K.placement,arrowSize:K.arrowSize,arrowRadius:K.arrowRadius,arrowOffset:K.arrowOffset,arrowPosition:K.arrowPosition,className:Y.arrow})))}))}E.displayName="@mantine/core/PopoverDropdown"},71949:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{radius:a,shadow:i})=>({dropdown:{position:"absolute",backgroundColor:r.white,background:r.colorScheme==="dark"?r.colors.dark[6]:r.white,border:`${(0,t.hO)(1)} solid ${r.colorScheme==="dark"?r.colors.dark[4]:r.colors.gray[2]}`,padding:`${r.spacing.sm} ${r.spacing.md}`,boxShadow:r.shadows[i]||i||"none",borderRadius:r.fn.radius(a),"&:focus":{outline:0}},arrow:{backgroundColor:"inherit",border:`${(0,t.hO)(1)} solid ${r.colorScheme==="dark"?r.colors.dark[4]:r.colors.gray[2]}`,zIndex:1}}));const o=n},93952:(D,b,e)=>{"use strict";e.d(b,{n:()=>_});var t=e(7294),n=e(76322),o=e(92159),r=e(99275),a=e(62763),i=e(16252),p=Object.defineProperty,d=Object.defineProperties,M=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(A,g,y)=>g in A?p(A,g,{enumerable:!0,configurable:!0,writable:!0,value:y}):A[g]=y,l=(A,g)=>{for(var y in g||(g={}))z.call(g,y)&&f(A,y,g[y]);if(O)for(var y of O(g))m.call(g,y)&&f(A,y,g[y]);return A},s=(A,g)=>d(A,M(g)),c=(A,g)=>{var y={};for(var W in A)z.call(A,W)&&g.indexOf(W)<0&&(y[W]=A[W]);if(A!=null&&O)for(var W of O(A))g.indexOf(W)<0&&m.call(A,W)&&(y[W]=A[W]);return y};const u={refProp:"ref",popupType:"dialog"},_=(0,t.forwardRef)((A,g)=>{const y=(0,r.N4)("PopoverTarget",u,A),{children:W,refProp:E,popupType:T}=y,q=c(y,["children","refProp","popupType"]);if(!(0,o.kK)(W))throw new Error(i.y.children);const S=q,I=(0,a.l)(),x=(0,n.Yx)(I.reference,W.ref,g),j=I.withRoles?{"aria-haspopup":T,"aria-expanded":I.opened,"aria-controls":I.getDropdownId(),id:I.getTargetId()}:{};return(0,t.cloneElement)(W,l(s(l(l(l({},S),j),I.targetProps),{className:(0,r.Wy)(I.targetProps.className,S.className,W.props.className),[E]:x}),I.controlled?null:{onClick:I.onToggle}))});_.displayName="@mantine/core/PopoverTarget"},52402:(D,b,e)=>{"use strict";e.d(b,{S:()=>a});var t=e(76322),n=e(94993),o=e(30212);function r(i){const p=[(0,n.cv)(i.offset)];return i.middlewares.shift&&p.push((0,n.uY)({limiter:(0,n.dr)()})),i.middlewares.flip&&p.push((0,n.RR)()),i.middlewares.inline&&p.push((0,n.Qo)()),p.push((0,n.x7)({element:i.arrowRef,padding:i.arrowOffset})),p}function a(i){const[p,d]=(0,t.Ch)({value:i.opened,defaultValue:i.defaultOpened,finalValue:!1,onChange:i.onChange}),M=()=>{var m;(m=i.onClose)==null||m.call(i),d(!1)},O=()=>{var m,f;p?((m=i.onClose)==null||m.call(i),d(!1)):((f=i.onOpen)==null||f.call(i),d(!0))},z=(0,n.YF)({placement:i.position,middleware:[...r(i),...i.width==="target"?[(0,n.dp)({apply({rects:m}){var f,l;Object.assign((l=(f=z.refs.floating.current)==null?void 0:f.style)!=null?l:{},{width:`${m.reference.width}px`})}})]:[]]});return(0,o.L)({opened:i.opened,position:i.position,positionDependencies:i.positionDependencies,floating:z}),(0,t.lR)(()=>{var m;(m=i.onPositionChange)==null||m.call(i,z.placement)},[z.placement]),(0,t.lR)(()=>{var m,f;i.opened?(f=i.onOpen)==null||f.call(i):(m=i.onClose)==null||m.call(i)},[i.opened]),{floating:z,controlled:typeof i.opened=="boolean",opened:p,onClose:M,onToggle:O}}},83143:(D,b,e)=>{"use strict";e.d(b,{q:()=>O});var t=e(7294),n=e(40254),o=Object.defineProperty,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,p=(z,m,f)=>m in z?o(z,m,{enumerable:!0,configurable:!0,writable:!0,value:f}):z[m]=f,d=(z,m)=>{for(var f in m||(m={}))a.call(m,f)&&p(z,f,m[f]);if(r)for(var f of r(m))i.call(m,f)&&p(z,f,m[f]);return z},M=(z,m)=>{var f={};for(var l in z)a.call(z,l)&&m.indexOf(l)<0&&(f[l]=z[l]);if(z!=null&&r)for(var l of r(z))m.indexOf(l)<0&&i.call(z,l)&&(f[l]=z[l]);return f};function O(z){var m=z,{withinPortal:f=!0,children:l}=m,s=M(m,["withinPortal","children"]);return f?t.createElement(n.h,d({},s),l):t.createElement(t.Fragment,null,l)}O.displayName="@mantine/core/OptionalPortal"},40254:(D,b,e)=>{"use strict";e.d(b,{h:()=>s});var t=e(7294),n=e(3935),o=e(76322),r=e(99275),a=Object.defineProperty,i=Object.defineProperties,p=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(c,u,_)=>u in c?a(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,m=(c,u)=>{for(var _ in u||(u={}))M.call(u,_)&&z(c,_,u[_]);if(d)for(var _ of d(u))O.call(u,_)&&z(c,_,u[_]);return c},f=(c,u)=>i(c,p(u)),l=(c,u)=>{var _={};for(var A in c)M.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&d)for(var A of d(c))u.indexOf(A)<0&&O.call(c,A)&&(_[A]=c[A]);return _};function s(c){const u=(0,r.N4)("Portal",{},c),{children:_,target:A,className:g,innerRef:y}=u,W=l(u,["children","target","className","innerRef"]),E=(0,r.rZ)(),[T,q]=(0,t.useState)(!1),S=(0,t.useRef)();return(0,o.YB)(()=>(q(!0),S.current=A?typeof A=="string"?document.querySelector(A):A:document.createElement("div"),A||document.body.appendChild(S.current),()=>{!A&&document.body.removeChild(S.current)}),[A]),T?(0,n.createPortal)(t.createElement("div",f(m({className:g,dir:E.dir},W),{ref:y}),_),S.current):null}s.displayName="@mantine/core/Portal"},16838:(D,b,e)=>{"use strict";e.d(b,{E:()=>A});var t=e(7294),n=e(99275),o=e(85547),r=e(7835),a=e(84888),i=e(98793),p=Object.defineProperty,d=Object.defineProperties,M=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(g,y,W)=>y in g?p(g,y,{enumerable:!0,configurable:!0,writable:!0,value:W}):g[y]=W,l=(g,y)=>{for(var W in y||(y={}))z.call(y,W)&&f(g,W,y[W]);if(O)for(var W of O(y))m.call(y,W)&&f(g,W,y[W]);return g},s=(g,y)=>d(g,M(y)),c=(g,y)=>{var W={};for(var E in g)z.call(g,E)&&y.indexOf(E)<0&&(W[E]=g[E]);if(g!=null&&O)for(var E of O(g))y.indexOf(E)<0&&m.call(g,E)&&(W[E]=g[E]);return W};function u(g){return g.reduce((y,W)=>(y.sections.push(s(l({},W),{accumulated:y.accumulated})),y.accumulated+=W.value,y),{accumulated:0,sections:[]}).sections}const _={size:"md",radius:"sm",striped:!1,animate:!1,label:""},A=(0,t.forwardRef)((g,y)=>{const W=(0,n.N4)("Progress",_,g),{className:E,value:T,color:q,size:S,radius:I,striped:x,animate:j,label:N,"aria-label":k,classNames:K,styles:Y,sections:$,unstyled:u0,variant:n0}=W,i0=c(W,["className","value","color","size","radius","striped","animate","label","aria-label","classNames","styles","sections","unstyled","variant"]),{classes:t0,cx:J,theme:a0}=(0,o.Z)({color:q,radius:I},{name:"Progress",classNames:K,styles:Y,unstyled:u0,variant:n0,size:S}),b0=Array.isArray($)?u($).map((d0,O0)=>{var _0=d0,{tooltip:h0,accumulated:A0,value:w0,label:Z0,color:Y0}=_0,J0=c(_0,["tooltip","accumulated","value","label","color"]);return t.createElement(r.u.Floating,{label:h0,disabled:!h0,key:O0},t.createElement(a.x,s(l({},J0),{className:J(t0.bar,J0.className),"data-striped":x||j||void 0,"data-animate":j||void 0,sx:{width:`${w0}%`,left:`${A0}%`,backgroundColor:a0.fn.variant({variant:"filled",primaryFallback:!1,color:Y0||a0.primaryColor}).background}}),Z0&&t.createElement(i.x,{className:t0.label},Z0)))}):null;return t.createElement(a.x,l({className:J(t0.root,E),ref:y},i0),b0||t.createElement("div",{role:"progressbar","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":T,"aria-label":k,className:t0.bar,style:{width:`${T}%`},"data-striped":x||j||void 0,"data-animate":j||void 0},N?t.createElement(i.x,{className:t0.label},N):""))});A.displayName="@mantine/core/Progress"},85547:(D,b,e)=>{"use strict";e.d(b,{Z:()=>a});var t=e(99275);const n={xs:(0,t.hO)(3),sm:(0,t.hO)(5),md:(0,t.hO)(8),lg:(0,t.hO)(12),xl:(0,t.hO)(16)},o=(0,t.F4)({from:{backgroundPosition:"0 0"},to:{backgroundPosition:`${(0,t.hO)(40)} 0`}});var r=(0,t.kc)((i,{color:p,radius:d},{size:M})=>({root:{position:"relative",height:(0,t.ap)({size:M,sizes:n}),backgroundColor:i.colorScheme==="dark"?i.colors.dark[4]:i.colors.gray[2],borderRadius:i.fn.radius(d),overflow:"hidden"},bar:{position:"absolute",top:0,bottom:0,left:0,height:"100%",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:i.fn.variant({variant:"filled",primaryFallback:!1,color:p||i.primaryColor}).background,transition:"width 100ms linear","&[data-animate]":{animation:`${o} 1000ms linear infinite`},"&[data-striped]":{backgroundSize:`${(0,t.hO)(20)} ${(0,t.hO)(20)}`,backgroundImage:"linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)"},"&:last-of-type":{borderTopRightRadius:i.fn.radius(d),borderBottomRightRadius:i.fn.radius(d)},"&:first-of-type":{borderTopLeftRadius:i.fn.radius(d),borderBottomLeftRadius:i.fn.radius(d)},"@media (prefers-reduced-motion)":{transitionDuration:i.respectReducedMotion?"0ms":void 0}},label:{color:i.white,fontSize:`calc(${(0,t.ap)({size:M,sizes:n})} * 0.65)`,fontWeight:700,userSelect:"none",overflow:"hidden",whiteSpace:"nowrap"}}));const a=r},72971:(D,b,e)=>{"use strict";e.d(b,{Y:()=>_});var t=e(7294),n=e(76322),o=e(99275),r=e(25943),a=e(49758),i=e(84858),p=e(35374),d=e(12756),M=e(10204),O=Object.defineProperty,z=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(A,g,y)=>g in A?O(A,g,{enumerable:!0,configurable:!0,writable:!0,value:y}):A[g]=y,s=(A,g)=>{for(var y in g||(g={}))m.call(g,y)&&l(A,y,g[y]);if(z)for(var y of z(g))f.call(g,y)&&l(A,y,g[y]);return A},c=(A,g)=>{var y={};for(var W in A)m.call(A,W)&&g.indexOf(W)<0&&(y[W]=A[W]);if(A!=null&&z)for(var W of z(A))g.indexOf(W)<0&&f.call(A,W)&&(y[W]=A[W]);return y};const u={icon:r.X,transitionDuration:100,size:"sm",labelPosition:"right"},_=(0,t.forwardRef)((A,g)=>{var y,W;const E=(0,o.N4)("Radio",u,A),{className:T,style:q,id:S,label:I,size:x,title:j,disabled:N,color:k,classNames:K,styles:Y,sx:$,icon:u0,transitionDuration:n0,wrapperProps:i0,unstyled:t0,labelPosition:J,description:a0,error:b0,variant:d0}=E,O0=c(E,["className","style","id","label","size","title","disabled","color","classNames","styles","sx","icon","transitionDuration","wrapperProps","unstyled","labelPosition","description","error","variant"]),_0=(0,a.F)(),h0=(y=_0==null?void 0:_0.size)!=null?y:x,A0=A.size?x:h0,{classes:w0}=(0,p.Z)({color:k,transitionDuration:n0,labelPosition:J,error:!!b0},{name:"Radio",classNames:K,styles:Y,unstyled:t0,variant:d0,size:A0}),{systemStyles:Z0,rest:Y0}=(0,d.x)(O0),J0=(0,n.Me)(S),g0=_0?{checked:_0.value===Y0.value,name:(W=Y0.name)!=null?W:_0.name,onChange:_0.onChange}:{};return t.createElement(M.Z,s(s({className:T,sx:$,style:q,id:J0,size:A0,labelPosition:J,label:I,description:a0,error:b0,disabled:N,__staticSelector:"Radio",classNames:K,styles:Y,unstyled:t0,"data-checked":g0.checked||void 0,variant:d0},Z0),i0),t.createElement("div",{className:w0.inner},t.createElement("input",s(s({ref:g,className:w0.radio,type:"radio",id:J0,disabled:N},Y0),g0)),t.createElement(u0,{className:w0.icon,"aria-hidden":!0})))});_.displayName="@mantine/core/Radio",_.Group=i.E},35374:(D,b,e)=>{"use strict";e.d(b,{Z:()=>l});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(s,c,u)=>c in s?n(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,M=(s,c)=>{for(var u in c||(c={}))i.call(c,u)&&d(s,u,c[u]);if(a)for(var u of a(c))p.call(c,u)&&d(s,u,c[u]);return s},O=(s,c)=>o(s,r(c));const z={xs:(0,t.hO)(16),sm:(0,t.hO)(20),md:(0,t.hO)(24),lg:(0,t.hO)(30),xl:(0,t.hO)(36)},m={xs:(0,t.hO)(6),sm:(0,t.hO)(8),md:(0,t.hO)(10),lg:(0,t.hO)(14),xl:(0,t.hO)(16)};var f=(0,t.kc)((s,{color:c,transitionDuration:u,labelPosition:_,error:A},{size:g})=>{const y=s.fn.variant({variant:"filled",color:c}),W=s.fn.variant({variant:"filled",color:"red"}).background;return{inner:{order:_==="left"?2:1,position:"relative",alignSelf:"flex-start"},icon:{ref:(0,t.Ao)("icon"),color:s.white,opacity:0,transform:`scale(0.75) translateY(${(0,t.hO)(2)})`,transition:`opacity ${u}ms ${s.transitionTimingFunction}`,pointerEvents:"none",width:(0,t.ap)({sizes:m,size:g}),height:(0,t.ap)({sizes:m,size:g}),position:"absolute",top:`calc(50% - ${(0,t.ap)({sizes:m,size:g})} / 2)`,left:`calc(50% - ${(0,t.ap)({sizes:m,size:g})} / 2)`},radio:O(M({},s.fn.focusStyles()),{backgroundColor:s.colorScheme==="dark"?s.colors.dark[6]:s.white,border:`${(0,t.hO)(1)} solid ${A?W:s.colorScheme==="dark"?s.colors.dark[4]:s.colors.gray[4]}`,position:"relative",appearance:"none",width:(0,t.ap)({sizes:z,size:g}),height:(0,t.ap)({sizes:z,size:g}),borderRadius:(0,t.ap)({sizes:z,size:g}),margin:0,display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"background-color, border-color",transitionTimingFunction:s.transitionTimingFunction,transitionDuration:`${u}ms`,cursor:s.cursorType,"&:checked":{background:y.background,borderColor:y.background,[`& + .${(0,t.Ao)("icon")}`]:{opacity:1,transform:"scale(1)"}},"&:disabled":{borderColor:s.colorScheme==="dark"?s.colors.dark[5]:s.colors.gray[4],backgroundColor:s.colorScheme==="dark"?s.colors.dark[5]:s.colors.gray[1],[`& + .${(0,t.Ao)("icon")}`]:{color:s.colorScheme==="dark"?s.colors.dark[6]:s.colors.gray[4]}}})}});const l=f},49758:(D,b,e)=>{"use strict";e.d(b,{F:()=>r,X:()=>o});var t=e(7294);const n=(0,t.createContext)(null),o=n.Provider,r=()=>(0,t.useContext)(n)},84858:(D,b,e)=>{"use strict";e.d(b,{E:()=>l});var t=e(7294),n=e(76322),o=e(99275),r=e(49758),a=e(55956),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={size:"sm"},l=(0,t.forwardRef)((s,c)=>{const u=(0,o.N4)("RadioGroup",f,s),{children:_,value:A,defaultValue:g,onChange:y,size:W,wrapperProps:E,unstyled:T,name:q}=u,S=m(u,["children","value","defaultValue","onChange","size","wrapperProps","unstyled","name"]),I=(0,n.Me)(q),[x,j]=(0,n.Ch)({value:A,defaultValue:g,finalValue:"",onChange:y}),N=k=>j(k.currentTarget.value);return t.createElement(r.X,{value:{value:x,onChange:N,size:W,name:I}},t.createElement(a.I.Wrapper,z(z({labelElement:"div",size:W,__staticSelector:"RadioGroup",ref:c,unstyled:T},E),S),_))});l.displayName="@mantine/core/RadioGroup"},25943:(D,b,e)=>{"use strict";e.d(b,{X:()=>d});var t=e(7294),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(M,O,z)=>O in M?n(M,O,{enumerable:!0,configurable:!0,writable:!0,value:z}):M[O]=z,p=(M,O)=>{for(var z in O||(O={}))r.call(O,z)&&i(M,z,O[z]);if(o)for(var z of o(O))a.call(O,z)&&i(M,z,O[z]);return M};function d(M){return t.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 5 5"},M),t.createElement("path",{fill:"currentColor",d:"M0 2.5a2.5 2.5 0 115 0 2.5 2.5 0 01-5 0z"}))}},32941:(D,b,e)=>{"use strict";e.d(b,{i:()=>c});var t=e(7294),n=e(99275),o=e(76322),r=e(46518),a=e(27984),i=e(84888),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(u,_,A)=>_ in u?p(u,_,{enumerable:!0,configurable:!0,writable:!0,value:A}):u[_]=A,m=(u,_)=>{for(var A in _||(_={}))M.call(_,A)&&z(u,A,_[A]);if(d)for(var A of d(_))O.call(_,A)&&z(u,A,_[A]);return u},f=(u,_)=>{var A={};for(var g in u)M.call(u,g)&&_.indexOf(g)<0&&(A[g]=u[g]);if(u!=null&&d)for(var g of d(u))_.indexOf(g)<0&&O.call(u,g)&&(A[g]=u[g]);return A};function l(u,_){var A;const g=Math.round(u/_)*_,y=((A=`${_}`.split(".")[1])==null?void 0:A.length)||0;return Number(g.toFixed(y))}const s={size:"sm",getSymbolLabel:u=>`${u}`,count:5,fractions:1,color:"yellow"},c=(0,t.forwardRef)((u,_)=>{const A=(0,n.N4)("Rating",s,u),{defaultValue:g,value:y,emptySymbol:W,fullSymbol:E,size:T,count:q,fractions:S,onChange:I,onHover:x,getSymbolLabel:j,name:N,readOnly:k,className:K,classNames:Y,styles:$,unstyled:u0,onMouseEnter:n0,onMouseMove:i0,onMouseLeave:t0,highlightSelectedOnly:J,color:a0,id:b0,variant:d0}=A,O0=f(A,["defaultValue","value","emptySymbol","fullSymbol","size","count","fractions","onChange","onHover","getSymbolLabel","name","readOnly","className","classNames","styles","unstyled","onMouseEnter","onMouseMove","onMouseLeave","highlightSelectedOnly","color","id","variant"]),{classes:_0,cx:h0,theme:A0}=(0,a.Z)(null,{name:"Rating",classNames:Y,styles:$,unstyled:u0,variant:d0,size:T}),w0=(0,o.Me)(N),Z0=(0,o.Me)(b0),Y0=(0,t.useRef)(null),[J0,g0]=(0,o.Ch)({value:y,defaultValue:g,finalValue:0,onChange:I}),[B0,E0]=(0,t.useState)(-1),[K0,j0]=(0,t.useState)(!0),n1=Math.floor(S),r1=Math.floor(q),s1=1/n1,O1=l(J0,s1),A1=B0!==-1?B0:O1,v1=u1=>{n0==null||n0(u1),!k&&j0(!1)},C1=u1=>{if(i0==null||i0(u1),k)return;const{left:y0,right:C0,width:U0}=Y0.current.getBoundingClientRect(),V0=U0/r1,P1=(A0.dir==="rtl"?C0-u1.clientX:u1.clientX-y0)/V0,X0=(0,o.uZ)(l(P1+s1/2,s1),s1,r1);E0(X0),X0!==B0&&(x==null||x(X0))},E1=u1=>{t0==null||t0(u1),!k&&(E0(-1),j0(!0),B0!==-1&&(x==null||x(-1)))},x0=()=>K0&&E0(-1),H0=u1=>{g0(typeof u1=="number"?u1:parseFloat(u1.target.value))},_1=Array(r1).fill(0).map((u1,y0)=>{const C0=y0+1,U0=Array.from(new Array(y0===0?n1+1:n1)),V0=!k&&Math.ceil(B0)===C0;return t.createElement("div",{key:C0,"data-active":V0,className:_0.symbolGroup},U0.map((z1,P1)=>{const X0=s1*(y0===0?P1:P1+1),k0=l(C0-1+X0,s1);return t.createElement(r.H,{key:`${C0}-${k0}`,size:T,variant:d0,getSymbolLabel:j,emptyIcon:W,fullIcon:E,full:J?k0===A1:k0<=A1,active:k0===A1,checked:k0===O1,readOnly:k,fractionValue:X0,value:k0,name:w0,onChange:H0,onBlur:x0,classNames:Y,styles:$,unstyled:u0,color:a0,id:`${Z0}-${y0}-${P1}`})}))});return t.createElement(i.x,m({ref:(0,o.Yx)(Y0,_),className:h0(_0.root,K),onMouseMove:C1,onMouseEnter:v1,onMouseLeave:E1},O0),_1)});c.displayName="@mantine/core/Rating"},27984:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(()=>({root:{display:"flex",width:"max-content"},symbolGroup:{position:"relative",transition:"transform 100ms ease",'&[data-active="true"]':{zIndex:1,transform:"scale(1.2)"}}}));const o=n},46518:(D,b,e)=>{"use strict";e.d(b,{H:()=>m});var t=e(7294),n=e(83331),o=e(54149),r=e(84888),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(f,l,s)=>l in f?a(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,O=(f,l)=>{for(var s in l||(l={}))p.call(l,s)&&M(f,s,l[s]);if(i)for(var s of i(l))d.call(l,s)&&M(f,s,l[s]);return f},z=(f,l)=>{var s={};for(var c in f)p.call(f,c)&&l.indexOf(c)<0&&(s[c]=f[c]);if(f!=null&&i)for(var c of i(f))l.indexOf(c)<0&&d.call(f,c)&&(s[c]=f[c]);return s};function m(f){var l=f,{size:s,getSymbolLabel:c,emptyIcon:u,fullIcon:_,full:A,active:g,value:y,readOnly:W,fractionValue:E,classNames:T,styles:q,unstyled:S,color:I,id:x,variant:j,onChange:N}=l,k=z(l,["size","getSymbolLabel","emptyIcon","fullIcon","full","active","value","readOnly","fractionValue","classNames","styles","unstyled","color","id","variant","onChange"]);const{classes:K}=(0,o.Z)(null,{name:"Rating",classNames:T,styles:q,unstyled:S,size:s,variant:j}),Y=typeof _=="function"?_(y):_,$=typeof u=="function"?u(y):u;return t.createElement(t.Fragment,null,!W&&t.createElement("input",O({onKeyDown:u0=>u0.key===" "&&N(y),className:K.input,id:x,type:"radio","data-active":g,"aria-label":c(y),value:y,onChange:N},k)),t.createElement(r.x,{component:W?"div":"label",className:K.label,"data-read-only":W||void 0,htmlFor:x,sx:E===1?void 0:{zIndex:g?2:0},onClick:()=>N(y)},t.createElement(r.x,{className:K.symbolBody,sx:E===1?void 0:{clipPath:`inset(0 ${g?100-E*100:100}% 0 0)`}},A?Y||t.createElement(n.g,{color:I,size:s,type:"full"}):$||t.createElement(n.g,{color:I,size:s,type:"empty"}))))}m.displayName="@mantine/core/RatingItem"},54149:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(r=>({input:{height:0,width:0,position:"absolute",overflow:"hidden",whiteSpace:"nowrap",opacity:0,"&:focus":{[`& + .${(0,t.Ao)("label")}`]:{outline:r.focusRing==="always"||r.focusRing==="auto"?`${(0,t.hO)(1)} solid ${r.colors[r.primaryColor][r.colorScheme==="dark"?7:5]}`:void 0},"&:focus:not(:focus-visible)":{[`& + .${(0,t.Ao)("label")}`]:{outline:r.focusRing==="auto"||r.focusRing==="never"?"none":void 0}}}},label:{ref:(0,t.Ao)("label"),display:"block",boxSizing:"border-box",margin:(0,t.hO)(1),top:0,left:0,cursor:"pointer",position:"absolute",zIndex:0,"&[data-read-only]":{cursor:"default"},"&:last-of-type":{position:"relative",zIndex:0}},symbolBody:{display:"grid",placeContent:"center",placeItems:"center"}}));const o=n},35080:(D,b,e)=>{"use strict";e.d(b,{r:()=>d});var t=e(7294),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(M,O,z)=>O in M?n(M,O,{enumerable:!0,configurable:!0,writable:!0,value:z}):M[O]=z,p=(M,O)=>{for(var z in O||(O={}))r.call(O,z)&&i(M,z,O[z]);if(o)for(var z of o(O))a.call(O,z)&&i(M,z,O[z]);return M};function d(M){return t.createElement("svg",p({viewBox:"0 0 24 24",strokeLinecap:"round",strokeLinejoin:"round",fill:"none",xmlns:"http://www.w3.org/2000/svg"},M),t.createElement("path",{d:"M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z"}))}d.displayName="@mantine/core/StarIcon"},83331:(D,b,e)=>{"use strict";e.d(b,{g:()=>r});var t=e(7294),n=e(35080),o=e(51586);function r({size:a,type:i,color:p}){const{classes:d}=(0,o.Z)({type:i,color:p},{name:"Rating",size:a});return t.createElement(n.r,{className:d.icon})}r.displayName="@mantine/core/StarSymbol"},51586:(D,b,e)=>{"use strict";e.d(b,{Z:()=>r});var t=e(99275);const n={xs:(0,t.hO)(14),sm:(0,t.hO)(18),md:(0,t.hO)(20),lg:(0,t.hO)(28),xl:(0,t.hO)(32)};var o=(0,t.kc)((a,{type:i,color:p},{size:d})=>{const M=a.colorScheme==="light"?a.colors.gray[3]:a.colors.gray[8],O=a.fn.variant({variant:"filled",color:p}).background;return{icon:{stroke:i==="empty"?M:O,fill:i==="empty"?M:O,width:(0,t.ap)({size:d,sizes:n}),height:(0,t.ap)({size:d,sizes:n})}}});const r=o},63352:(D,b,e)=>{"use strict";e.d(b,{H:()=>s});var t=e(7294),n=e(99275),o=e(47991),r=e(7835),a=Object.defineProperty,i=Object.defineProperties,p=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(c,u,_)=>u in c?a(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,m=(c,u)=>{for(var _ in u||(u={}))M.call(u,_)&&z(c,_,u[_]);if(d)for(var _ of d(u))O.call(u,_)&&z(c,_,u[_]);return c},f=(c,u)=>i(c,p(u)),l=(c,u)=>{var _={};for(var A in c)M.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&d)for(var A of d(c))u.indexOf(A)<0&&O.call(c,A)&&(_[A]=c[A]);return _};function s(c){var u=c,{size:_,value:A,offset:g,sum:y,thickness:W,root:E,color:T,lineRoundCaps:q,tooltip:S}=u,I=l(u,["size","value","offset","sum","thickness","root","color","lineRoundCaps","tooltip"]);const x=(0,n.rZ)(),j=x.fn.themeColor(T||(x.colorScheme==="dark"?"dark":"gray"),T?x.fn.primaryShade():x.colorScheme==="dark"?4:1,!1);return t.createElement(r.u.Floating,{disabled:!S,label:S},t.createElement("circle",m(f(m({},I),{fill:"none",strokeLinecap:q?"round":"butt",stroke:j}),(0,o.o)({sum:y,size:_,thickness:W,value:A,offset:g,root:E}))))}s.displayName="@mantine/core/Curve"},47991:(D,b,e)=>{"use strict";e.d(b,{o:()=>t});function t({size:n,thickness:o,sum:r,value:a,root:i,offset:p}){const d=(n*.9-o*2)/2,M=Math.PI*d*2/100,O=i?`${(100-r)*M}, ${r*M}`:`${a*M}, ${(100-a)*M}`;return{strokeWidth:o,cx:n/2,cy:n/2,r:d,transform:i?`scale(1, -1) translate(0, -${n})`:null,strokeDasharray:O,strokeDashoffset:i?0:p}}},88751:(D,b,e)=>{"use strict";e.d(b,{T:()=>_});var t=e(7294),n=e(99275),o=e(63352),r=e(13246),a=e(51510),i=e(84888),p=Object.defineProperty,d=Object.defineProperties,M=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(A,g,y)=>g in A?p(A,g,{enumerable:!0,configurable:!0,writable:!0,value:y}):A[g]=y,l=(A,g)=>{for(var y in g||(g={}))z.call(g,y)&&f(A,y,g[y]);if(O)for(var y of O(g))m.call(g,y)&&f(A,y,g[y]);return A},s=(A,g)=>d(A,M(g)),c=(A,g)=>{var y={};for(var W in A)z.call(A,W)&&g.indexOf(W)<0&&(y[W]=A[W]);if(A!=null&&O)for(var W of O(A))g.indexOf(W)<0&&m.call(A,W)&&(y[W]=A[W]);return y};const u={size:120,thickness:12},_=(0,t.forwardRef)((A,g)=>{const y=(0,n.N4)("RingProgress",u,A),{className:W,style:E,label:T,sections:q,size:S,thickness:I,classNames:x,styles:j,roundCaps:N,rootColor:k,unstyled:K,variant:Y}=y,$=c(y,["className","style","label","sections","size","thickness","classNames","styles","roundCaps","rootColor","unstyled","variant"]),{classes:u0,cx:n0}=(0,a.Z)(null,{name:"RingProgress",classNames:x,styles:j,unstyled:K,variant:Y}),i0=(0,r.P)({size:S,thickness:I,sections:q,renderRoundedLineCaps:N,rootColor:k}).map(({data:t0,sum:J,root:a0,lineRoundCaps:b0,offset:d0},O0)=>t.createElement(o.H,s(l({},t0),{key:O0,size:S,thickness:I,sum:J,offset:d0,color:t0==null?void 0:t0.color,root:a0,lineRoundCaps:b0})));return t.createElement(i.x,l({style:l({width:S,height:S},E),className:n0(u0.root,W),ref:g},$),t.createElement("svg",{width:S,height:S,style:{transform:"rotate(-90deg)"}},i0),T&&t.createElement("div",{className:u0.label,style:{right:I*2,left:I*2}},T))});_.displayName="@mantine/core/RingProgress"},51510:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)({root:{position:"relative"},label:{position:"absolute",top:"50%",transform:"translateY(-50%)"}});const o=n},13246:(D,b,e)=>{"use strict";e.d(b,{P:()=>O});var t=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,p=(z,m,f)=>m in z?t(z,m,{enumerable:!0,configurable:!0,writable:!0,value:f}):z[m]=f,d=(z,m)=>{for(var f in m||(m={}))a.call(m,f)&&p(z,f,m[f]);if(r)for(var f of r(m))i.call(m,f)&&p(z,f,m[f]);return z},M=(z,m)=>n(z,o(m));function O({size:z,thickness:m,sections:f,renderRoundedLineCaps:l,rootColor:s}){const c=f.reduce((y,W)=>y+W.value,0),u=Math.PI*((z*.9-m*2)/2)*2;let _=u;const A=[],g=[];for(let y=0;y2){g.push(M(d({},A[0]),{lineRoundCaps:l})),g.push(M(d({},A[A.length-2]),{lineRoundCaps:l}));for(let y=1;y<=A.length-3;y+=1)g.push(M(d({},A[y]),{lineRoundCaps:!1}))}else g.push(M(d({},A[0]),{lineRoundCaps:l}));return g}},48797:(D,b,e)=>{"use strict";e.d(b,{x:()=>g});var t=e(7294),n=e(76332),o=e(99275),r=e(92159),a=e(40573),i=e(84888),p=Object.defineProperty,d=Object.defineProperties,M=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(y,W,E)=>W in y?p(y,W,{enumerable:!0,configurable:!0,writable:!0,value:E}):y[W]=E,l=(y,W)=>{for(var E in W||(W={}))z.call(W,E)&&f(y,E,W[E]);if(O)for(var E of O(W))m.call(W,E)&&f(y,E,W[E]);return y},s=(y,W)=>d(y,M(W)),c=(y,W)=>{var E={};for(var T in y)z.call(y,T)&&W.indexOf(T)<0&&(E[T]=y[T]);if(y!=null&&O)for(var T of O(y))W.indexOf(T)<0&&m.call(y,T)&&(E[T]=y[T]);return E};const u={scrollbarSize:12,scrollHideDelay:1e3,type:"hover",offsetScrollbars:!1},_=(0,t.forwardRef)((y,W)=>{const E=(0,o.N4)("ScrollArea",u,y),{children:T,className:q,classNames:S,styles:I,scrollbarSize:x,scrollHideDelay:j,type:N,dir:k,offsetScrollbars:K,viewportRef:Y,onScrollPositionChange:$,unstyled:u0,variant:n0,viewportProps:i0}=E,t0=c(E,["children","className","classNames","styles","scrollbarSize","scrollHideDelay","type","dir","offsetScrollbars","viewportRef","onScrollPositionChange","unstyled","variant","viewportProps"]),[J,a0]=(0,t.useState)(!1),b0=(0,o.rZ)(),{classes:d0,cx:O0}=(0,a.Z)({scrollbarSize:x,offsetScrollbars:K,scrollbarHovered:J,hidden:N==="never"},{name:"ScrollArea",classNames:S,styles:I,unstyled:u0,variant:n0});return t.createElement(n.fC,{type:N==="never"?"always":N,scrollHideDelay:j,dir:k||b0.dir,ref:W,asChild:!0},t.createElement(i.x,l({className:O0(d0.root,q)},t0),t.createElement(n.l_,s(l({},i0),{className:d0.viewport,ref:Y,onScroll:typeof $=="function"?({currentTarget:_0})=>$({x:_0.scrollLeft,y:_0.scrollTop}):void 0}),T),t.createElement(n.LW,{orientation:"horizontal",className:d0.scrollbar,forceMount:!0,onMouseEnter:()=>a0(!0),onMouseLeave:()=>a0(!1)},t.createElement(n.bU,{className:d0.thumb})),t.createElement(n.LW,{orientation:"vertical",className:d0.scrollbar,forceMount:!0,onMouseEnter:()=>a0(!0),onMouseLeave:()=>a0(!1)},t.createElement(n.bU,{className:d0.thumb})),t.createElement(n.Ns,{className:d0.corner})))}),A=(0,t.forwardRef)((y,W)=>{const E=(0,o.N4)("ScrollAreaAutosize",u,y),{children:T,classNames:q,styles:S,scrollbarSize:I,scrollHideDelay:x,type:j,dir:N,offsetScrollbars:k,viewportRef:K,onScrollPositionChange:Y,unstyled:$,sx:u0,variant:n0,viewportProps:i0}=E,t0=c(E,["children","classNames","styles","scrollbarSize","scrollHideDelay","type","dir","offsetScrollbars","viewportRef","onScrollPositionChange","unstyled","sx","variant","viewportProps"]);return t.createElement(i.x,s(l({},t0),{ref:W,sx:[{display:"flex"},...(0,r.RG)(u0)]}),t.createElement(i.x,{sx:{display:"flex",flexDirection:"column",flex:1}},t.createElement(_,{classNames:q,styles:S,scrollHideDelay:x,scrollbarSize:I,type:j,dir:N,offsetScrollbars:k,viewportRef:K,onScrollPositionChange:Y,unstyled:$,variant:n0,viewportProps:i0},T)))});A.displayName="@mantine/core/ScrollAreaAutosize",_.displayName="@mantine/core/ScrollArea",_.Autosize=A;const g=_},40573:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{scrollbarSize:a,offsetScrollbars:i,scrollbarHovered:p,hidden:d})=>({root:{overflow:"hidden"},viewport:{width:"100%",height:"100%",paddingRight:i?(0,t.hO)(a):void 0,paddingBottom:i?(0,t.hO)(a):void 0},scrollbar:{display:d?"none":"flex",userSelect:"none",touchAction:"none",boxSizing:"border-box",padding:`calc(${(0,t.hO)(a)} / 5)`,transition:"background-color 150ms ease, opacity 150ms ease","&:hover":{backgroundColor:r.colorScheme==="dark"?r.colors.dark[8]:r.colors.gray[0],[`& .${(0,t.Ao)("thumb")}`]:{backgroundColor:r.colorScheme==="dark"?r.fn.rgba(r.white,.5):r.fn.rgba(r.black,.5)}},'&[data-orientation="vertical"]':{width:(0,t.hO)(a)},'&[data-orientation="horizontal"]':{flexDirection:"column",height:(0,t.hO)(a)},'&[data-state="hidden"]':{display:"none",opacity:0}},thumb:{ref:(0,t.Ao)("thumb"),flex:1,backgroundColor:r.colorScheme==="dark"?r.fn.rgba(r.white,.4):r.fn.rgba(r.black,.4),borderRadius:(0,t.hO)(a),position:"relative",transition:"background-color 150ms ease",display:d?"none":void 0,overflow:"hidden","&::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"100%",height:"100%",minWidth:(0,t.hO)(44),minHeight:(0,t.hO)(44)}},corner:{backgroundColor:r.colorScheme==="dark"?r.colors.dark[6]:r.colors.gray[0],transition:"opacity 150ms ease",opacity:p?1:0,display:d?"none":void 0}}));const o=n},31792:(D,b,e)=>{"use strict";e.d(b,{s:()=>l});var t=e(7294),n=e(76322),o=e(99275),r=e(32571),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={disabled:!1,size:"sm",transitionDuration:200},l=(0,t.forwardRef)((s,c)=>{var u,_,A,g;const y=(0,o.N4)("SegmentedControl",f,s),{className:W,disabled:E,data:T,name:q,value:S,onChange:I,color:x,fullWidth:j,radius:N,size:k,transitionDuration:K,transitionTimingFunction:Y,classNames:$,styles:u0,defaultValue:n0,orientation:i0,unstyled:t0,variant:J,readOnly:a0}=y,b0=m(y,["className","disabled","data","name","value","onChange","color","fullWidth","radius","size","transitionDuration","transitionTimingFunction","classNames","styles","defaultValue","orientation","unstyled","variant","readOnly"]),d0=(0,o.rZ)(),O0=(0,n.JZ)(),_0=d0.respectReducedMotion?O0:!1,h0=T.map(v1=>typeof v1=="string"?{label:v1,value:v1}:v1),A0=(0,t.useRef)(),[w0,Z0]=(0,t.useState)(!1),[Y0,J0]=(0,n.Ch)({value:S,defaultValue:n0,finalValue:Array.isArray(h0)&&(g=(A=(u=h0.find(v1=>!v1.disabled))==null?void 0:u.value)!=null?A:(_=h0[0])==null?void 0:_.value)!=null?g:null,onChange:I}),{classes:g0,cx:B0}=(0,r.Z)({fullWidth:j,color:x,radius:N,shouldAnimate:_0||!w0,transitionDuration:K,transitionTimingFunction:Y,orientation:i0},{name:"SegmentedControl",classNames:$,styles:u0,unstyled:t0,variant:J,size:k}),[E0,K0]=(0,t.useState)({width:0,height:0,translate:[0,0]}),j0=(0,n.Me)(q),n1=(0,t.useRef)({}),[r1,s1]=(0,n.yU)();(0,n.YB)(()=>{A0.current?Z0(!0):(A0.current=!0,Z0(!1))}),(0,t.useEffect)(()=>{if(Y0 in n1.current&&r1.current){const v1=n1.current[Y0],C1=v1.getBoundingClientRect(),E1=v1.offsetWidth/C1.width,x0=C1.width*E1||0,H0=C1.height*E1||0,_1=s1.width-v1.parentElement.offsetLeft+r.a-x0,u1=v1.parentElement.offsetLeft-r.a;K0({width:x0,height:H0,translate:[d0.dir==="rtl"?_1:u1,v1.parentElement.offsetTop-r.a]})}},[Y0,s1]);const O1=h0.map(v1=>t.createElement("div",{className:B0(g0.control,{[g0.controlActive]:Y0===v1.value}),key:v1.value},t.createElement("input",{className:g0.input,disabled:E||v1.disabled,type:"radio",name:j0,value:v1.value,id:`${j0}-${v1.value}`,checked:Y0===v1.value,onChange:()=>!a0&&J0(v1.value)}),t.createElement("label",{className:g0.label,"data-active":Y0===v1.value&&!(E||v1.disabled)||void 0,"data-disabled":E||v1.disabled||void 0,htmlFor:`${j0}-${v1.value}`,ref:C1=>{n1.current[v1.value]=C1}},v1.label))),A1=(0,n.Yx)(r1,c);return h0.length===0?null:t.createElement(a.x,z({className:B0(g0.root,W),ref:A1},b0),typeof Y0=="string"&&w0&&t.createElement(a.x,{component:"span",className:g0.indicator,sx:{width:E0.width,height:E0.height,transform:`translate(${E0.translate[0]}px, ${E0.translate[1]}px)`}}),O1)});l.displayName="@mantine/core/SegmentedControl"},32571:(D,b,e)=>{"use strict";e.d(b,{Z:()=>l,a:()=>z});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(s,c,u)=>c in s?n(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,M=(s,c)=>{for(var u in c||(c={}))i.call(c,u)&&d(s,u,c[u]);if(a)for(var u of a(c))p.call(c,u)&&d(s,u,c[u]);return s},O=(s,c)=>o(s,r(c));const z=4,m={xs:`${(0,t.hO)(3)} ${(0,t.hO)(6)}`,sm:`${(0,t.hO)(5)} ${(0,t.hO)(10)}`,md:`${(0,t.hO)(7)} ${(0,t.hO)(14)}`,lg:`${(0,t.hO)(9)} ${(0,t.hO)(16)}`,xl:`${(0,t.hO)(12)} ${(0,t.hO)(20)}`};var f=(0,t.kc)((s,{fullWidth:c,color:u,radius:_,shouldAnimate:A,transitionDuration:g,transitionTimingFunction:y,orientation:W},{size:E})=>{const T=W==="vertical",q=s.fn.variant({variant:"filled",color:u});return{label:O(M(M({ref:(0,t.Ao)("label")},s.fn.focusStyles()),s.fn.fontStyles()),{WebkitTapHighlightColor:"transparent",borderRadius:s.fn.radius(_),fontWeight:500,fontSize:E in s.fontSizes?s.fontSizes[E]:s.fontSizes.sm,cursor:"pointer",display:"block",textAlign:"center",padding:m[E in m?E:"sm"],whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",userSelect:"none",color:s.colorScheme==="dark"?s.colors.dark[1]:s.colors.gray[7],transition:`color ${A?0:g}ms ${y||s.transitionTimingFunction}`,"&:hover":{color:s.colorScheme==="dark"?s.colors.dark[0]:s.black},"&[data-disabled]":{"&, &:hover":{color:s.colorScheme==="dark"?s.colors.dark[3]:s.colors.gray[5],cursor:"not-allowed"}},"&[data-active]":{"&, &:hover":{color:u||s.colorScheme==="dark"?s.white:s.black}}}),control:{ref:(0,t.Ao)("control"),position:"relative",boxSizing:"border-box",flex:1,zIndex:2,transition:`border-left-color ${A?0:g}ms ${y||s.transitionTimingFunction}`,"&:not(:first-of-type)":{borderStyle:"solid",borderWidth:T?`${(0,t.hO)(1)} 0 0 0`:`0 0 0 ${(0,t.hO)(1)}`,borderColor:s.colorScheme==="dark"?s.colors.dark[4]:s.colors.gray[3]}},input:{height:0,width:0,position:"absolute",overflow:"hidden",whiteSpace:"nowrap",opacity:0,"&:focus":{outline:"none",[`& + .${(0,t.Ao)("label")}`]:M({},s.focusRing==="always"||s.focusRing==="auto"?s.focusRingStyles.styles(s):s.focusRingStyles.resetStyles(s)),"&:focus:not(:focus-visible)":{[`& + .${(0,t.Ao)("label")}`]:M({},s.focusRing==="auto"||s.focusRing==="never"?s.focusRingStyles.resetStyles(s):null)}}},root:{position:"relative",display:c||T?"flex":"inline-flex",width:T&&!c?"max-content":"auto",flexDirection:T?"column":"row",backgroundColor:s.colorScheme==="dark"?s.colors.dark[8]:s.colors.gray[1],borderRadius:s.fn.radius(_),overflow:"hidden",padding:z},controlActive:{borderLeftColor:"transparent !important",borderTopColor:"transparent !important",[`& + .${(0,t.Ao)("control")}`]:{[T?"borderTopColor":"borderLeftColor"]:"transparent !important"},borderRadius:s.fn.radius(_),boxShadow:A?u||s.colorScheme==="dark"?"none":s.shadows.xs:void 0,backgroundColor:A?u?q.background:s.colorScheme==="dark"?s.colors.dark[5]:s.white:void 0},indicator:{boxSizing:"border-box",borderRadius:s.fn.radius(_),position:"absolute",zIndex:1,boxShadow:u||s.colorScheme==="dark"?"none":s.shadows.xs,transition:`transform ${A?0:g}ms ${s.transitionTimingFunction}, width ${A?0:g/2}ms ${y||s.transitionTimingFunction}`,backgroundColor:u?q.background:s.colorScheme==="dark"?s.colors.dark[5]:s.white}}});const l=f},66879:(D,b,e)=>{"use strict";e.d(b,{A:()=>M});var t=e(7294),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(O,z,m)=>z in O?n(O,z,{enumerable:!0,configurable:!0,writable:!0,value:m}):O[z]=m,p=(O,z)=>{for(var m in z||(z={}))r.call(z,m)&&i(O,m,z[m]);if(o)for(var m of o(z))a.call(z,m)&&i(O,m,z[m]);return O},d=(O,z)=>{var m={};for(var f in O)r.call(O,f)&&z.indexOf(f)<0&&(m[f]=O[f]);if(O!=null&&o)for(var f of o(O))z.indexOf(f)<0&&a.call(O,f)&&(m[f]=O[f]);return m};const M=(0,t.forwardRef)((O,z)=>{var m=O,{label:f,value:l}=m,s=d(m,["label","value"]);return t.createElement("div",p({ref:z},s),f||l)});M.displayName="@mantine/core/DefaultItem"},91578:(D,b,e)=>{"use strict";e.d(b,{Ph:()=>I});var t=e(7294),n=e(76322),o=e(99275),r=e(92159),a=e(75851),i=e(66879),p=e(39059),d=e(13237),M=e(87301),O=e(17442),z=e(65364),m=e(66261),f=e(55956),l=Object.defineProperty,s=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,g=(x,j,N)=>j in x?l(x,j,{enumerable:!0,configurable:!0,writable:!0,value:N}):x[j]=N,y=(x,j)=>{for(var N in j||(j={}))_.call(j,N)&&g(x,N,j[N]);if(u)for(var N of u(j))A.call(j,N)&&g(x,N,j[N]);return x},W=(x,j)=>s(x,c(j)),E=(x,j)=>{var N={};for(var k in x)_.call(x,k)&&j.indexOf(k)<0&&(N[k]=x[k]);if(x!=null&&u)for(var k of u(x))j.indexOf(k)<0&&A.call(x,k)&&(N[k]=x[k]);return N};function T(x,j){return j.label.toLowerCase().trim().includes(x.toLowerCase().trim())}function q(x,j){return!!x&&!j.some(N=>N.label.toLowerCase()===x.toLowerCase())}const S={required:!1,size:"sm",shadow:"sm",itemComponent:i.A,transitionProps:{transition:"fade",duration:0},initiallyOpened:!1,filter:T,maxDropdownHeight:220,searchable:!1,clearable:!1,limit:1/0,disabled:!1,creatable:!1,shouldCreate:q,selectOnBlur:!1,switchDirectionOnFlip:!1,filterDataOnExactSearchMatch:!1,zIndex:(0,o.wd)("popover"),positionDependencies:[],dropdownPosition:"flip"},I=(0,t.forwardRef)((x,j)=>{const N=(0,m.k)("Select",S,x),{inputProps:k,wrapperProps:K,shadow:Y,data:$,value:u0,defaultValue:n0,onChange:i0,itemComponent:t0,onKeyDown:J,onBlur:a0,onFocus:b0,transitionProps:d0,initiallyOpened:O0,unstyled:_0,classNames:h0,styles:A0,filter:w0,maxDropdownHeight:Z0,searchable:Y0,clearable:J0,nothingFound:g0,limit:B0,disabled:E0,onSearchChange:K0,searchValue:j0,rightSection:n1,rightSectionWidth:r1,creatable:s1,getCreateLabel:O1,shouldCreate:A1,selectOnBlur:v1,onCreate:C1,dropdownComponent:E1,onDropdownClose:x0,onDropdownOpen:H0,withinPortal:_1,portalProps:u1,switchDirectionOnFlip:y0,zIndex:C0,name:U0,dropdownPosition:V0,allowDeselect:z1,placeholder:P1,filterDataOnExactSearchMatch:X0,form:k0,positionDependencies:e1,readOnly:f1,clearButtonProps:q1,hoverOnSearchChange:Y1}=N,B1=E(N,["inputProps","wrapperProps","shadow","data","value","defaultValue","onChange","itemComponent","onKeyDown","onBlur","onFocus","transitionProps","initiallyOpened","unstyled","classNames","styles","filter","maxDropdownHeight","searchable","clearable","nothingFound","limit","disabled","onSearchChange","searchValue","rightSection","rightSectionWidth","creatable","getCreateLabel","shouldCreate","selectOnBlur","onCreate","dropdownComponent","onDropdownClose","onDropdownOpen","withinPortal","portalProps","switchDirectionOnFlip","zIndex","name","dropdownPosition","allowDeselect","placeholder","filterDataOnExactSearchMatch","form","positionDependencies","readOnly","clearButtonProps","hoverOnSearchChange"]),{classes:Q1,cx:re,theme:ue}=(0,z.Z)(),[Re,De]=(0,t.useState)(O0),[ve,de]=(0,t.useState)(-1),te=(0,t.useRef)(),he=(0,t.useRef)({}),[Ot,it]=(0,t.useState)("column"),ct=Ot==="column",{scrollIntoView:$1,targetRef:ye,scrollableRef:an}=(0,n.gE)({duration:0,offset:5,cancelable:!1,isList:!0}),st=z1===void 0?J0:z1,Bt=r0=>{if(Re!==r0){De(r0);const z0=r0?H0:x0;typeof z0=="function"&&z0()}},qt=s1&&typeof O1=="function";let yt=null;const Dt=$.map(r0=>typeof r0=="string"?{label:r0,value:r0}:r0),Gt=(0,r.jp)({data:Dt}),[At,Wn,Tn]=(0,n.Ch)({value:u0,defaultValue:n0,finalValue:null,onChange:i0}),Mn=Gt.find(r0=>r0.value===At),[pt,qn]=(0,n.Ch)({value:j0,defaultValue:(Mn==null?void 0:Mn.label)||"",finalValue:void 0,onChange:K0}),vn=r0=>{qn(r0),Y0&&typeof K0=="function"&&K0(r0)},On=()=>{var r0;f1||(Wn(null),Tn||vn(""),(r0=te.current)==null||r0.focus())};(0,t.useEffect)(()=>{const r0=Gt.find(z0=>z0.value===At);r0?vn(r0.label):(!qt||!At)&&vn("")},[At]),(0,t.useEffect)(()=>{Mn&&(!Y0||!Re)&&vn(Mn.label)},[Mn==null?void 0:Mn.label]);const Ct=r0=>{if(!f1)if(st&&(Mn==null?void 0:Mn.value)===r0.value)Wn(null),Bt(!1);else{if(r0.creatable&&typeof C1=="function"){const z0=C1(r0.value);typeof z0<"u"&&z0!==null&&Wn(typeof z0=="string"?z0:z0.value)}else Wn(r0.value);Tn||vn(r0.label),de(-1),Bt(!1),te.current.focus()}},He=(0,O.c)({data:Gt,searchable:Y0,limit:B0,searchValue:pt,filter:w0,filterDataOnExactSearchMatch:X0,value:At});qt&&A1(pt,He)&&(yt=O1(pt),He.push({label:pt,value:pt,creatable:!0}));const pn=(r0,z0,W0)=>{let S0=r0;for(;W0(S0);)if(S0=z0(S0),!He[S0].disabled)return S0;return r0};(0,n.lR)(()=>{de(Y1&&pt?0:-1)},[pt,Y1]);const Yt=At?He.findIndex(r0=>r0.value===At):0,Qt=!f1&&(He.length>0?Re:Re&&!!g0),ot=()=>{de(r0=>{var z0;const W0=pn(r0,S0=>S0-1,S0=>S0>0);return ye.current=he.current[(z0=He[W0])==null?void 0:z0.value],Qt&&$1({alignment:ct?"start":"end"}),W0})},Ge=()=>{de(r0=>{var z0;const W0=pn(r0,S0=>S0+1,S0=>S0window.setTimeout(()=>{var r0;ye.current=he.current[(r0=He[Yt])==null?void 0:r0.value],$1({alignment:ct?"end":"start"})},0);(0,n.lR)(()=>{Qt&&zn()},[Qt]);const $0=r0=>{switch(typeof J=="function"&&J(r0),r0.key){case"ArrowUp":{r0.preventDefault(),Re?ct?ot():Ge():(de(Yt),Bt(!0),zn());break}case"ArrowDown":{r0.preventDefault(),Re?ct?Ge():ot():(de(Yt),Bt(!0),zn());break}case"Home":{if(!Y0){r0.preventDefault(),Re||Bt(!0);const z0=He.findIndex(W0=>!W0.disabled);de(z0),Qt&&$1({alignment:ct?"end":"start"})}break}case"End":{if(!Y0){r0.preventDefault(),Re||Bt(!0);const z0=He.map(W0=>!!W0.disabled).lastIndexOf(!1);de(z0),Qt&&$1({alignment:ct?"end":"start"})}break}case"Escape":{r0.preventDefault(),Bt(!1),de(-1);break}case" ":{Y0||(r0.preventDefault(),He[ve]&&Re?Ct(He[ve]):(Bt(!0),de(Yt),zn()));break}case"Enter":Y0||r0.preventDefault(),He[ve]&&Re&&(r0.preventDefault(),Ct(He[ve]))}},l0=r0=>{typeof a0=="function"&&a0(r0);const z0=Gt.find(W0=>W0.value===At);v1&&He[ve]&&Re&&Ct(He[ve]),vn((z0==null?void 0:z0.label)||""),Bt(!1)},Z=r0=>{typeof b0=="function"&&b0(r0),Y0&&Bt(!0)},Q=r0=>{f1||(vn(r0.currentTarget.value),J0&&r0.currentTarget.value===""&&Wn(null),de(-1),Bt(!0))},V=()=>{f1||(Bt(!Re),At&&!Re&&de(Yt))};return t.createElement(f.I.Wrapper,W(y({},K),{__staticSelector:"Select"}),t.createElement(M.v,{opened:Qt,transitionProps:d0,shadow:Y,withinPortal:_1,portalProps:u1,__staticSelector:"Select",onDirectionChange:it,switchDirectionOnFlip:y0,zIndex:C0,dropdownPosition:V0,positionDependencies:[...e1,pt],classNames:h0,styles:A0,unstyled:_0,variant:k.variant},t.createElement(M.v.Target,null,t.createElement("div",{role:"combobox","aria-haspopup":"listbox","aria-owns":Qt?`${k.id}-items`:null,"aria-controls":k.id,"aria-expanded":Qt,onMouseLeave:()=>de(-1),tabIndex:-1},t.createElement("input",{type:"hidden",name:U0,value:At||"",form:k0,disabled:E0}),t.createElement(f.I,y(W(y(y({autoComplete:"off",type:"search"},k),B1),{ref:(0,n.Yx)(j,te),onKeyDown:$0,__staticSelector:"Select",value:pt,placeholder:P1,onChange:Q,"aria-autocomplete":"list","aria-controls":Qt?`${k.id}-items`:null,"aria-activedescendant":ve>=0?`${k.id}-${ve}`:null,onMouseDown:V,onBlur:l0,onFocus:Z,readOnly:!Y0||f1,disabled:E0,"data-mantine-stop-propagation":Qt,name:null,classNames:W(y({},h0),{input:re({[Q1.input]:!Y0},h0==null?void 0:h0.input)})}),(0,p.o)({theme:ue,rightSection:n1,rightSectionWidth:r1,styles:A0,size:k.size,shouldClear:J0&&!!Mn,onClear:On,error:K.error,clearButtonProps:q1,disabled:E0,readOnly:f1}))))),t.createElement(M.v.Dropdown,{component:E1||a.r,maxHeight:Z0,direction:Ot,id:k.id,innerRef:an,__staticSelector:"Select",classNames:h0,styles:A0},t.createElement(d.j,{data:He,hovered:ve,classNames:h0,styles:A0,isItemSelected:r0=>r0===At,uuid:k.id,__staticSelector:"Select",onItemHover:de,onItemSelect:Ct,itemsRefs:he,itemComponent:t0,size:k.size,nothingFound:g0,creatable:qt&&!!yt,createLabel:yt,"aria-label":K.label,unstyled:_0,variant:k.variant}))))});I.displayName="@mantine/core/Select"},65364:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(()=>({input:{"&:not(:disabled)":{cursor:"pointer","&::selection":{backgroundColor:"transparent"}}}}));const o=n},13237:(D,b,e)=>{"use strict";e.d(b,{j:()=>m});var t=e(7294),n=e(76322),o=e(98793),r=e(6277),a=e(38863),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(f,l,s)=>l in f?i(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,z=(f,l)=>{for(var s in l||(l={}))d.call(l,s)&&O(f,s,l[s]);if(p)for(var s of p(l))M.call(l,s)&&O(f,s,l[s]);return f};function m({data:f,hovered:l,classNames:s,styles:c,isItemSelected:u,uuid:_,__staticSelector:A,onItemHover:g,onItemSelect:y,itemsRefs:W,itemComponent:E,size:T,nothingFound:q,creatable:S,createLabel:I,unstyled:x,variant:j}){const{classes:N}=(0,a.Z)(null,{classNames:s,styles:c,unstyled:x,name:A,variant:j,size:T}),k=[],K=[];let Y=null;const $=(n0,i0)=>{const t0=typeof u=="function"?u(n0.value):!1;return t.createElement(E,z({key:n0.value,className:N.item,"data-disabled":n0.disabled||void 0,"data-hovered":!n0.disabled&&l===i0||void 0,"data-selected":!n0.disabled&&t0||void 0,selected:t0,onMouseEnter:()=>g(i0),id:`${_}-${i0}`,role:"option",tabIndex:-1,"aria-selected":l===i0,ref:J=>{W&&W.current&&(W.current[n0.value]=J)},onMouseDown:n0.disabled?null:J=>{J.preventDefault(),y(n0)},disabled:n0.disabled,variant:j},n0))};let u0=null;if(f.forEach((n0,i0)=>{n0.creatable?Y=i0:n0.group?(u0!==n0.group&&(u0=n0.group,K.push(t.createElement("div",{className:N.separator,key:`__mantine-divider-${i0}`},t.createElement(r.i,{classNames:{label:N.separatorLabel},label:n0.group})))),K.push($(n0,i0))):k.push($(n0,i0))}),S){const n0=f[Y];k.push(t.createElement("div",{key:(0,n.kb)(),className:N.item,"data-hovered":l===Y||void 0,onMouseEnter:()=>g(Y),onMouseDown:i0=>{i0.preventDefault(),y(n0)},tabIndex:-1,ref:i0=>{W&&W.current&&(W.current[n0.value]=i0)}},I))}return K.length>0&&k.length>0&&k.unshift(t.createElement("div",{className:N.separator,key:"empty-group-separator"},t.createElement(r.i,null))),K.length>0||k.length>0?t.createElement(t.Fragment,null,K,k):t.createElement(o.x,{size:T,unstyled:x,className:N.nothingFound},q)}m.displayName="@mantine/core/SelectItems"},38863:(D,b,e)=>{"use strict";e.d(b,{Z:()=>m});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l)),z=(0,t.kc)((f,l,{size:s})=>({item:O(M({},f.fn.fontStyles()),{boxSizing:"border-box",textAlign:"left",width:"100%",padding:`calc(${(0,t.ap)({size:s,sizes:f.spacing})} / 1.5) ${(0,t.ap)({size:s,sizes:f.spacing})}`,cursor:"pointer",fontSize:(0,t.ap)({size:s,sizes:f.fontSizes}),color:f.colorScheme==="dark"?f.colors.dark[0]:f.black,borderRadius:f.fn.radius(),"&[data-hovered]":{backgroundColor:f.colorScheme==="dark"?f.colors.dark[4]:f.colors.gray[1]},"&[data-selected]":M({backgroundColor:f.fn.variant({variant:"filled"}).background,color:f.fn.variant({variant:"filled"}).color},f.fn.hover({backgroundColor:f.fn.variant({variant:"filled"}).hover})),"&[data-disabled]":{cursor:"default",color:f.colors.dark[2]}}),nothingFound:{boxSizing:"border-box",color:f.colors.gray[6],paddingTop:`calc(${(0,t.ap)({size:s,sizes:f.spacing})} / 2)`,paddingBottom:`calc(${(0,t.ap)({size:s,sizes:f.spacing})} / 2)`,textAlign:"center"},separator:{boxSizing:"border-box",textAlign:"left",width:"100%",padding:`calc(${(0,t.ap)({size:s,sizes:f.spacing})} / 1.5) ${(0,t.ap)({size:s,sizes:f.spacing})}`},separatorLabel:{color:f.colorScheme==="dark"?f.colors.dark[3]:f.colors.gray[5]}}));const m=z},87301:(D,b,e)=>{"use strict";e.d(b,{v:()=>s});var t=e(7294),n=e(99275),o=e(75851),r=e(90279),a=e(46512),i=e(84888),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(c,u,_)=>u in c?p(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,m=(c,u)=>{for(var _ in u||(u={}))M.call(u,_)&&z(c,_,u[_]);if(d)for(var _ of d(u))O.call(u,_)&&z(c,_,u[_]);return c},f=(c,u)=>{var _={};for(var A in c)M.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&d)for(var A of d(c))u.indexOf(A)<0&&O.call(c,A)&&(_[A]=c[A]);return _};function l(c){var u=c,{children:_,component:A="div",maxHeight:g=220,direction:y="column",id:W,innerRef:E,__staticSelector:T,styles:q,classNames:S,unstyled:I}=u,x=f(u,["children","component","maxHeight","direction","id","innerRef","__staticSelector","styles","classNames","unstyled"]);const{classes:j}=(0,r.Z)(null,{name:T,styles:q,classNames:S,unstyled:I});return t.createElement(a.J.Dropdown,m({p:0,onMouseDown:N=>N.preventDefault()},x),t.createElement("div",{style:{maxHeight:(0,n.hO)(g),display:"flex"}},t.createElement(i.x,{component:A||"div",id:`${W}-items`,"aria-labelledby":`${W}-label`,role:"listbox",onMouseDown:N=>N.preventDefault(),style:{flex:1,overflowY:A!==o.r?"auto":void 0},"data-combobox-popover":!0,tabIndex:-1,ref:E},t.createElement("div",{className:j.itemsWrapper,style:{flexDirection:y}},_))))}function s({opened:c,transitionProps:u={transition:"fade",duration:0},shadow:_,withinPortal:A,portalProps:g,children:y,__staticSelector:W,onDirectionChange:E,switchDirectionOnFlip:T,zIndex:q,dropdownPosition:S,positionDependencies:I=[],classNames:x,styles:j,unstyled:N,readOnly:k,variant:K}){return t.createElement(a.J,{unstyled:N,classNames:x,styles:j,width:"target",withRoles:!1,opened:c,middlewares:{flip:S==="flip",shift:!1},position:S==="flip"?"bottom":S,positionDependencies:I,zIndex:q,__staticSelector:W,withinPortal:A,portalProps:g,transitionProps:u,shadow:_,disabled:k,onPositionChange:Y=>T&&(E==null?void 0:E(Y==="top"?"column-reverse":"column")),variant:K},y)}s.Target=a.J.Target,s.Dropdown=l},90279:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(()=>({dropdown:{},itemsWrapper:{padding:(0,t.hO)(4),display:"flex",width:"100%",boxSizing:"border-box"}}));const o=n},87208:(D,b,e)=>{"use strict";e.d(b,{D:()=>z});var t=e(7294),n=e(99275),o=Object.defineProperty,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,p=(m,f,l)=>f in m?o(m,f,{enumerable:!0,configurable:!0,writable:!0,value:l}):m[f]=l,d=(m,f)=>{for(var l in f||(f={}))a.call(f,l)&&p(m,l,f[l]);if(r)for(var l of r(f))i.call(f,l)&&p(m,l,f[l]);return m},M=(m,f)=>{var l={};for(var s in m)a.call(m,s)&&f.indexOf(s)<0&&(l[s]=m[s]);if(m!=null&&r)for(var s of r(m))f.indexOf(s)<0&&i.call(m,s)&&(l[s]=m[s]);return l};const O={xs:(0,n.hO)(14),sm:(0,n.hO)(18),md:(0,n.hO)(20),lg:(0,n.hO)(24),xl:(0,n.hO)(28)};function z(m){var f=m,{size:l,error:s,style:c}=f,u=M(f,["size","error","style"]);const _=(0,n.rZ)(),A=(0,n.ap)({size:l,sizes:O});return t.createElement("svg",d({width:A,height:A,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:d({color:s?_.colors.red[6]:_.colors.gray[6]},c),"data-chevron":!0},u),t.createElement("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}},52114:(D,b,e)=>{"use strict";e.d(b,{n:()=>f});var t=e(7294),n=e(87208),o=e(47260),r=Object.defineProperty,a=Object.defineProperties,i=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(l,s,c)=>s in l?r(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,z=(l,s)=>{for(var c in s||(s={}))d.call(s,c)&&O(l,c,s[c]);if(p)for(var c of p(s))M.call(s,c)&&O(l,c,s[c]);return l},m=(l,s)=>a(l,i(s));function f({shouldClear:l,clearButtonProps:s,onClear:c,size:u,error:_}){return l?t.createElement(o.P,m(z({},s),{variant:"transparent",onClick:c,size:u,onMouseDown:A=>A.preventDefault()})):t.createElement(n.D,{error:_,size:u})}f.displayName="@mantine/core/SelectRightSection"},39059:(D,b,e)=>{"use strict";e.d(b,{o:()=>f});var t=e(7294),n=e(52114),o=Object.defineProperty,r=Object.defineProperties,a=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?o(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>r(l,a(s)),m=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};function f(l){var s=l,{styles:c,rightSection:u,rightSectionWidth:_,theme:A}=s,g=m(s,["styles","rightSection","rightSectionWidth","theme"]);if(u)return{rightSection:u,rightSectionWidth:_,styles:c};const y=typeof c=="function"?c(A):c;return{rightSection:!g.readOnly&&!(g.disabled&&g.shouldClear)&&t.createElement(n.n,O({},g)),styles:z(O({},y),{rightSection:z(O({},y==null?void 0:y.rightSection),{pointerEvents:g.shouldClear?void 0:"none"})})}}},75851:(D,b,e)=>{"use strict";e.d(b,{r:()=>f});var t=e(7294),n=e(48797),o=Object.defineProperty,r=Object.defineProperties,a=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?o(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>r(l,a(s)),m=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const f=(0,t.forwardRef)((l,s)=>{var c=l,{style:u}=c,_=m(c,["style"]);return t.createElement(n.x,z(O({},_),{style:O({width:"100%"},u),viewportProps:{tabIndex:-1},viewportRef:s}),_.children)});f.displayName="@mantine/core/SelectScrollArea"},17442:(D,b,e)=>{"use strict";e.d(b,{c:()=>t});function t({data:n,searchable:o,limit:r,searchValue:a,filter:i,value:p,filterDataOnExactSearchMatch:d}){if(!o)return n;const M=p!=null&&n.find(z=>z.value===p)||null;if(M&&!d&&(M==null?void 0:M.label)===a){if(r){if(r>=n.length)return n;const z=n.indexOf(M),m=z+r,f=m-n.length;return f>0?n.slice(z-f):n.slice(z,m)}return n}const O=[];for(let z=0;z=r));z+=1);return O}},34925:(D,b,e)=>{"use strict";e.d(b,{M:()=>f});var t=e(7294),n=e(99275),o=e(89218),r=e(84888),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={breakpoints:[],cols:1,spacing:"md"},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("SimpleGrid",m,l),{className:u,breakpoints:_,cols:A,spacing:g,verticalSpacing:y,children:W,unstyled:E,variant:T}=c,q=z(c,["className","breakpoints","cols","spacing","verticalSpacing","children","unstyled","variant"]),{classes:S,cx:I}=(0,o.Z)({breakpoints:_,cols:A,spacing:g,verticalSpacing:y},{name:"SimpleGrid",unstyled:E,variant:T});return t.createElement(r.x,O({className:I(S.root,u),ref:s},q),W)});f.displayName="@mantine/core/SimpleGrid"},89218:(D,b,e)=>{"use strict";e.d(b,{Z:()=>O});var t=e(99275),n=e(83687),o=Object.defineProperty,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,p=(z,m,f)=>m in z?o(z,m,{enumerable:!0,configurable:!0,writable:!0,value:f}):z[m]=f,d=(z,m)=>{for(var f in m||(m={}))a.call(m,f)&&p(z,f,m[f]);if(r)for(var f of r(m))i.call(m,f)&&p(z,f,m[f]);return z},M=(0,t.kc)((z,{spacing:m,breakpoints:f,cols:l,verticalSpacing:s})=>{const c=s!=null,u=(0,n.I)(z,f).reduce((_,A)=>{var g,y;const W="maxWidth"in A?"max-width":"min-width",E=(0,t.ap)({size:W==="max-width"?A.maxWidth:A.minWidth,sizes:z.breakpoints,units:"em"}),T=(0,t.oI)(E)-(W==="max-width"?1:0);return _[`@media (${W}: ${(0,t.em)(T)})`]={gridTemplateColumns:`repeat(${A.cols}, minmax(0, 1fr))`,gap:`${(0,t.ap)({size:(g=A.verticalSpacing)!=null?g:c?s:m,sizes:z.spacing})} ${(0,t.ap)({size:(y=A.spacing)!=null?y:m,sizes:z.spacing})}`},_},{});return{root:d({boxSizing:"border-box",display:"grid",gridTemplateColumns:`repeat(${l}, minmax(0, 1fr))`,gap:`${(0,t.ap)({size:c?s:m,sizes:z.spacing})} ${(0,t.ap)({size:m,sizes:z.spacing})}`},u)}});const O=M},83687:(D,b,e)=>{"use strict";e.d(b,{I:()=>n});var t=e(99275);function n(o,r){if(r.length===0)return r;const a="maxWidth"in r[0]?"maxWidth":"minWidth",i=[...r].sort((p,d)=>(0,t.oI)((0,t.ap)({size:d[a],sizes:o.breakpoints}))-(0,t.oI)((0,t.ap)({size:p[a],sizes:o.breakpoints})));return a==="minWidth"?i.reverse():i}},89742:(D,b,e)=>{"use strict";e.d(b,{O:()=>f});var t=e(7294),n=e(99275),o=e(38528),r=e(84888),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={height:"auto",width:"100%",visible:!0,animate:!0},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("Skeleton",m,l),{height:u,width:_,visible:A,animate:g,className:y,circle:W,radius:E,unstyled:T,variant:q}=c,S=z(c,["height","width","visible","animate","className","circle","radius","unstyled","variant"]),{classes:I,cx:x}=(0,o.Z)({height:u,width:_,circle:W,radius:E,animate:g},{name:"Skeleton",unstyled:T,variant:q});return t.createElement(r.x,O({className:x(I.root,{[I.visible]:A},y),ref:s},S))});f.displayName="@mantine/core/Skeleton"},38528:(D,b,e)=>{"use strict";e.d(b,{Z:()=>f});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(l,s,c)=>s in l?n(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,M=(l,s)=>{for(var c in s||(s={}))i.call(s,c)&&d(l,c,s[c]);if(a)for(var c of a(s))p.call(s,c)&&d(l,c,s[c]);return l},O=(l,s)=>o(l,r(s));const z=(0,t.F4)({"from, to":{opacity:.4},"50%":{opacity:1}});var m=(0,t.kc)((l,{height:s,width:c,radius:u,circle:_,animate:A})=>({root:{height:(0,t.hO)(s),width:_?(0,t.hO)(s):(0,t.hO)(c),borderRadius:_?(0,t.hO)(s):l.fn.radius(u),position:"relative",WebkitTransform:"translateZ(0)"},visible:{overflow:"hidden","&::before":O(M({},l.fn.cover(0)),{content:'""',background:l.colorScheme==="dark"?l.colors.dark[7]:l.white,zIndex:10}),"&::after":O(M({},l.fn.cover(0)),{content:'""',background:l.colorScheme==="dark"?l.colors.dark[4]:l.colors.gray[3],animation:A?`${z} 1500ms linear infinite`:"none",zIndex:11})}}));const f=m},61549:(D,b,e)=>{"use strict";e.d(b,{z:()=>i});var t=e(7294),n=e(79988),o=e(20658),r=e(89891),a=e(84888);function i({marks:p,color:d,size:M,min:O,max:z,value:m,classNames:f,styles:l,offset:s,onChange:c,disabled:u,unstyled:_,inverted:A,variant:g}){const{classes:y,cx:W}=(0,r.Z)({color:d,disabled:u},{name:"Slider",classNames:f,styles:l,unstyled:_,variant:g,size:M}),E=p.map((T,q)=>t.createElement(a.x,{className:y.markWrapper,sx:{left:`${(0,n.b)({value:T.value,min:O,max:z})}%`},key:q},t.createElement("div",{className:W(y.mark,{[y.markFilled]:(0,o.E)({mark:T,value:m,offset:s,inverted:A})})}),T.label&&t.createElement("div",{className:y.markLabel,onMouseDown:S=>{S.stopPropagation(),!u&&c(T.value)},onTouchStart:S=>{S.stopPropagation(),!u&&c(T.value)}},T.label)));return t.createElement("div",null,E)}i.displayName="@mantine/core/SliderMarks"},89891:(D,b,e)=>{"use strict";e.d(b,{Z:()=>r});var t=e(99275),n=e(6819),o=(0,t.kc)((a,{color:i,disabled:p},{size:d})=>({markWrapper:{position:"absolute",top:`calc(${(0,t.hO)((0,t.ap)({sizes:n.J,size:d}))} / 2)`,zIndex:2,height:0},mark:{boxSizing:"border-box",border:`${(0,t.hO)(2)} solid ${a.colorScheme==="dark"?a.colors.dark[4]:a.colors.gray[2]}`,height:(0,t.ap)({sizes:n.J,size:d}),width:(0,t.ap)({sizes:n.J,size:d}),borderRadius:1e3,transform:`translateX(calc(-${(0,t.ap)({sizes:n.J,size:d})} / 2))`,backgroundColor:a.white,pointerEvents:"none"},markFilled:{borderColor:p?a.colorScheme==="dark"?a.colors.dark[3]:a.colors.gray[4]:a.fn.variant({variant:"filled",color:i}).background},markLabel:{transform:`translate(-50%, calc(${a.spacing.xs} / 2))`,fontSize:a.fontSizes.sm,color:a.colorScheme==="dark"?a.colors.dark[2]:a.colors.gray[6],whiteSpace:"nowrap",cursor:"pointer",userSelect:"none"}}));const r=o},20658:(D,b,e)=>{"use strict";e.d(b,{E:()=>t});function t({mark:n,offset:o,value:r,inverted:a=!1}){return a?typeof o=="number"&&n.value<=o||n.value>=r:typeof o=="number"?n.value>=o&&n.value<=r:n.value<=r}},45491:(D,b,e)=>{"use strict";e.d(b,{U:()=>y});var t=e(7294),n=e(76322),o=e(99275),r=e(23362),a=e(79988),i=e(40775),p=e(51084),d=e(34668),M=e(75628),O=Object.defineProperty,z=Object.defineProperties,m=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(W,E,T)=>E in W?O(W,E,{enumerable:!0,configurable:!0,writable:!0,value:T}):W[E]=T,u=(W,E)=>{for(var T in E||(E={}))l.call(E,T)&&c(W,T,E[T]);if(f)for(var T of f(E))s.call(E,T)&&c(W,T,E[T]);return W},_=(W,E)=>z(W,m(E)),A=(W,E)=>{var T={};for(var q in W)l.call(W,q)&&E.indexOf(q)<0&&(T[q]=W[q]);if(W!=null&&f)for(var q of f(W))E.indexOf(q)<0&&s.call(W,q)&&(T[q]=W[q]);return T};const g={size:"md",radius:"xl",min:0,max:100,minRange:10,step:1,marks:[],label:W=>W,labelTransition:"skew-down",labelTransitionDuration:0,labelAlwaysOn:!1,thumbFromLabel:"",thumbToLabel:"",showLabelOnHover:!0,disabled:!1,scale:W=>W},y=(0,t.forwardRef)((W,E)=>{const T=(0,o.N4)("RangeSlider",g,W),{classNames:q,styles:S,color:I,value:x,onChange:j,onChangeEnd:N,size:k,radius:K,min:Y,max:$,minRange:u0,maxRange:n0,step:i0,precision:t0,defaultValue:J,name:a0,marks:b0,label:d0,labelTransition:O0,labelTransitionDuration:_0,labelTransitionTimingFunction:h0,labelAlwaysOn:A0,thumbFromLabel:w0,thumbToLabel:Z0,showLabelOnHover:Y0,thumbChildren:J0,disabled:g0,unstyled:B0,thumbSize:E0,scale:K0,inverted:j0,variant:n1}=T,r1=A(T,["classNames","styles","color","value","onChange","onChangeEnd","size","radius","min","max","minRange","maxRange","step","precision","defaultValue","name","marks","label","labelTransition","labelTransitionDuration","labelTransitionTimingFunction","labelAlwaysOn","thumbFromLabel","thumbToLabel","showLabelOnHover","thumbChildren","disabled","unstyled","thumbSize","scale","inverted","variant"]),s1=(0,o.rZ)(),[O1,A1]=(0,t.useState)(-1),[v1,C1]=(0,t.useState)(!1),[E1,x0]=(0,n.Ch)({value:x,defaultValue:J,finalValue:[Y,$],onChange:j}),H0=(0,t.useRef)(E1),_1=(0,t.useRef)([]),u1=(0,t.useRef)(void 0),y0=[(0,a.b)({value:E1[0],min:Y,max:$}),(0,a.b)({value:E1[1],min:Y,max:$})],C0=B1=>{x0(B1),H0.current=B1};(0,t.useEffect)(()=>{Array.isArray(x)&&(H0.current=x)},Array.isArray(x)?[x[0],x[1]]:[null,null]);const U0=(B1,Q1,re)=>{const ue=[...H0.current];ue[Q1]=B1,Q1===0&&(B1>ue[1]-(u0-1e-9)&&(ue[1]=Math.min(B1+u0,$)),B1>($-(u0-1e-9)||Y)&&(ue[Q1]=H0.current[Q1]),ue[1]-B1>n0&&(ue[1]=B1+n0)),Q1===1&&(B1n0&&(ue[0]=B1-n0)),C0(ue),re&&(N==null||N(H0.current))},V0=B1=>{if(!g0){const Q1=(0,i.i)({value:B1,min:Y,max:$,step:i0,precision:t0});U0(Q1,u1.current,!1)}},{ref:z1,active:P1}=(0,n.r_)(({x:B1})=>V0(B1),{onScrubEnd:()=>N==null?void 0:N(H0.current)},s1.dir);function X0(B1){u1.current=B1}const k0=B1=>{z1.current.focus();const Q1=z1.current.getBoundingClientRect(),re=(0,r.s)(B1.nativeEvent),ue=(0,i.i)({value:re-Q1.left,max:$,min:Y,step:i0,containerWidth:Q1.width}),Re=Math.abs(E1[0]-ue)>Math.abs(E1[1]-ue)?1:0,De=s1.dir==="ltr"?Re:Re===1?0:1;u1.current=De},e1=()=>O1!==1&&O1!==0?(A1(0),0):O1,f1=B1=>{if(!g0)switch(B1.key){case"ArrowUp":{B1.preventDefault();const Q1=e1();_1.current[Q1].focus(),U0(Math.min(Math.max(H0.current[Q1]+i0,Y),$),Q1,!0);break}case"ArrowRight":{B1.preventDefault();const Q1=e1();_1.current[Q1].focus(),U0(Math.min(Math.max(s1.dir==="rtl"?H0.current[Q1]-i0:H0.current[Q1]+i0,Y),$),Q1,!0);break}case"ArrowDown":{B1.preventDefault();const Q1=e1();_1.current[Q1].focus(),U0(Math.min(Math.max(H0.current[Q1]-i0,Y),$),Q1,!0);break}case"ArrowLeft":{B1.preventDefault();const Q1=e1();_1.current[Q1].focus(),U0(Math.min(Math.max(s1.dir==="rtl"?H0.current[Q1]+i0:H0.current[Q1]-i0,Y),$),Q1,!0);break}}},q1={max:$,min:Y,color:I,size:k,labelTransition:O0,labelTransitionDuration:_0,labelTransitionTimingFunction:h0,labelAlwaysOn:A0,onBlur:()=>A1(-1),classNames:q,styles:S},Y1=Array.isArray(J0);return t.createElement(M.l,_(u({},r1),{size:k,ref:E,styles:S,classNames:q,disabled:g0,unstyled:B0,variant:n1}),t.createElement(d.f,{offset:y0[0],marksOffset:E1[0],filled:y0[1]-y0[0],marks:b0,inverted:j0,size:k,radius:K,color:I,min:Y,max:$,value:E1[1],styles:S,classNames:q,onChange:B1=>{const Q1=Math.abs(E1[0]-B1)>Math.abs(E1[1]-B1)?1:0,re=[...E1];re[Q1]=B1,C0(re)},disabled:g0,unstyled:B0,variant:n1,containerProps:{ref:z1,onMouseEnter:Y0?()=>C1(!0):void 0,onMouseLeave:Y0?()=>C1(!1):void 0,onTouchStartCapture:k0,onTouchEndCapture:()=>{u1.current=-1},onMouseDownCapture:k0,onMouseUpCapture:()=>{u1.current=-1},onKeyDownCapture:f1}},t.createElement(p.b,_(u({},q1),{value:K0(E1[0]),position:y0[0],dragging:P1,label:typeof d0=="function"?d0(K0(E1[0])):d0,ref:B1=>{_1.current[0]=B1},thumbLabel:w0,onMouseDown:()=>X0(0),onFocus:()=>A1(0),showLabelOnHover:Y0,isHovered:v1,disabled:g0,unstyled:B0,thumbSize:E0,variant:n1}),Y1?J0[0]:J0),t.createElement(p.b,_(u({},q1),{thumbLabel:Z0,value:K0(E1[1]),position:y0[1],dragging:P1,label:typeof d0=="function"?d0(K0(E1[1])):d0,ref:B1=>{_1.current[1]=B1},onMouseDown:()=>X0(1),onFocus:()=>A1(1),showLabelOnHover:Y0,isHovered:v1,disabled:g0,unstyled:B0,thumbSize:E0,variant:n1}),Y1?J0[1]:J0)),t.createElement("input",{type:"hidden",name:`${a0}_from`,value:E1[0]}),t.createElement("input",{type:"hidden",name:`${a0}_to`,value:E1[1]}))});y.displayName="@mantine/core/RangeSlider"},85296:(D,b,e)=>{"use strict";e.d(b,{i:()=>g});var t=e(7294),n=e(76322),o=e(99275),r=e(79988),a=e(40775),i=e(51084),p=e(34668),d=e(75628),M=Object.defineProperty,O=Object.defineProperties,z=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,s=(y,W,E)=>W in y?M(y,W,{enumerable:!0,configurable:!0,writable:!0,value:E}):y[W]=E,c=(y,W)=>{for(var E in W||(W={}))f.call(W,E)&&s(y,E,W[E]);if(m)for(var E of m(W))l.call(W,E)&&s(y,E,W[E]);return y},u=(y,W)=>O(y,z(W)),_=(y,W)=>{var E={};for(var T in y)f.call(y,T)&&W.indexOf(T)<0&&(E[T]=y[T]);if(y!=null&&m)for(var T of m(y))W.indexOf(T)<0&&l.call(y,T)&&(E[T]=y[T]);return E};const A={size:"md",radius:"xl",min:0,max:100,step:1,marks:[],label:y=>y,labelTransition:"skew-down",labelTransitionDuration:0,labelAlwaysOn:!1,thumbLabel:"",showLabelOnHover:!0,disabled:!1,scale:y=>y},g=(0,t.forwardRef)((y,W)=>{const E=(0,o.N4)("Slider",A,y),{classNames:T,styles:q,color:S,value:I,onChange:x,onChangeEnd:j,size:N,radius:k,min:K,max:Y,step:$,precision:u0,defaultValue:n0,name:i0,marks:t0,label:J,labelTransition:a0,labelTransitionDuration:b0,labelTransitionTimingFunction:d0,labelAlwaysOn:O0,thumbLabel:_0,showLabelOnHover:h0,thumbChildren:A0,disabled:w0,unstyled:Z0,thumbSize:Y0,scale:J0,inverted:g0,variant:B0}=E,E0=_(E,["classNames","styles","color","value","onChange","onChangeEnd","size","radius","min","max","step","precision","defaultValue","name","marks","label","labelTransition","labelTransitionDuration","labelTransitionTimingFunction","labelAlwaysOn","thumbLabel","showLabelOnHover","thumbChildren","disabled","unstyled","thumbSize","scale","inverted","variant"]),K0=(0,o.rZ)(),[j0,n1]=(0,t.useState)(!1),[r1,s1]=(0,n.Ch)({value:typeof I=="number"?(0,n.uZ)(I,K,Y):I,defaultValue:typeof n0=="number"?(0,n.uZ)(n0,K,Y):n0,finalValue:(0,n.uZ)(0,K,Y),onChange:x}),O1=(0,t.useRef)(r1),A1=(0,t.useRef)(),v1=(0,t.useRef)(),C1=(0,r.b)({value:r1,min:K,max:Y}),E1=J0(r1),x0=typeof J=="function"?J(E1):J,H0=(0,t.useCallback)(({x:C0})=>{if(!w0){const U0=(0,a.i)({value:C0,min:K,max:Y,step:$,precision:u0});s1(U0),O1.current=U0}},[w0,K,Y,$,u0]),{ref:_1,active:u1}=(0,n.r_)(H0,{onScrubEnd:()=>j==null?void 0:j(O1.current)},K0.dir),y0=C0=>{if(!w0)switch(C0.key){case"ArrowUp":{C0.preventDefault(),v1.current.focus();const U0=Math.min(Math.max(r1+$,K),Y);j==null||j(U0),s1(U0);break}case"ArrowRight":{C0.preventDefault(),v1.current.focus();const U0=Math.min(Math.max(K0.dir==="rtl"?r1-$:r1+$,K),Y);j==null||j(U0),s1(U0);break}case"ArrowDown":{C0.preventDefault(),v1.current.focus();const U0=Math.min(Math.max(r1-$,K),Y);j==null||j(U0),s1(U0);break}case"ArrowLeft":{C0.preventDefault(),v1.current.focus();const U0=Math.min(Math.max(K0.dir==="rtl"?r1+$:r1-$,K),Y);j==null||j(U0),s1(U0);break}case"Home":{C0.preventDefault(),v1.current.focus(),j==null||j(K),s1(K);break}case"End":{C0.preventDefault(),v1.current.focus(),j==null||j(Y),s1(Y);break}}};return t.createElement(d.l,u(c({},E0),{ref:(0,n.Yx)(W,A1),onKeyDownCapture:y0,onMouseDownCapture:()=>{var C0;return(C0=A1.current)==null?void 0:C0.focus()},size:N,classNames:T,styles:q,disabled:w0,unstyled:Z0,variant:B0}),t.createElement(p.f,{inverted:g0,offset:0,filled:C1,marks:t0,size:N,radius:k,color:S,min:K,max:Y,value:E1,onChange:s1,classNames:T,styles:q,disabled:w0,unstyled:Z0,variant:B0,containerProps:{ref:_1,onMouseEnter:h0?()=>n1(!0):void 0,onMouseLeave:h0?()=>n1(!1):void 0}},t.createElement(i.b,{max:Y,min:K,value:E1,position:C1,dragging:u1,color:S,size:N,label:x0,ref:v1,labelTransition:a0,labelTransitionDuration:b0,labelTransitionTimingFunction:d0,labelAlwaysOn:O0,classNames:T,styles:q,thumbLabel:_0,showLabelOnHover:h0,isHovered:j0,disabled:w0,unstyled:Z0,thumbSize:Y0,variant:B0},A0)),t.createElement("input",{type:"hidden",name:i0,value:E1}))});g.displayName="@mantine/core/Slider"},75628:(D,b,e)=>{"use strict";e.d(b,{l:()=>l});var t=e(7294),n=e(6819),o=e(84888),r=Object.defineProperty,a=Object.defineProperties,i=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?r(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>a(s,i(c)),f=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const l=(0,t.forwardRef)((s,c)=>{var u=s,{className:_,size:A,classNames:g,styles:y,disabled:W,unstyled:E,variant:T}=u,q=f(u,["className","size","classNames","styles","disabled","unstyled","variant"]);const{classes:S,cx:I}=(0,n.Z)(null,{name:"Slider",classNames:g,styles:y,unstyled:E,variant:T,size:A});return t.createElement(o.x,m(z({},q),{tabIndex:-1,className:I(S.root,_),ref:c}))});l.displayName="@mantine/core/SliderRoot"},6819:(D,b,e)=>{"use strict";e.d(b,{J:()=>z,Z:()=>f});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(l,s,c)=>s in l?n(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,M=(l,s)=>{for(var c in s||(s={}))i.call(s,c)&&d(l,c,s[c]);if(a)for(var c of a(s))p.call(s,c)&&d(l,c,s[c]);return l},O=(l,s)=>o(l,r(s));const z={xs:(0,t.hO)(4),sm:(0,t.hO)(6),md:(0,t.hO)(8),lg:(0,t.hO)(10),xl:(0,t.hO)(12)};var m=(0,t.kc)((l,s,{size:c})=>({root:O(M({},l.fn.fontStyles()),{WebkitTapHighlightColor:"transparent",outline:0,height:`calc(${(0,t.ap)({sizes:z,size:c})} * 2)`,display:"flex",flexDirection:"column",alignItems:"center",touchAction:"none",position:"relative"})}));const f=m},51084:(D,b,e)=>{"use strict";e.d(b,{b:()=>a});var t=e(7294),n=e(10670),o=e(84888),r=e(97688);const a=(0,t.forwardRef)(({max:i,min:p,value:d,position:M,label:O,dragging:z,onMouseDown:m,onKeyDownCapture:f,color:l,classNames:s,styles:c,size:u,labelTransition:_,labelTransitionDuration:A,labelTransitionTimingFunction:g,labelAlwaysOn:y,thumbLabel:W,onFocus:E,onBlur:T,showLabelOnHover:q,isHovered:S,children:I=null,disabled:x,unstyled:j,thumbSize:N,variant:k},K)=>{const{classes:Y,cx:$,theme:u0}=(0,n.Z)({color:l,disabled:x,thumbSize:N},{name:"Slider",classNames:s,styles:c,unstyled:j,variant:k,size:u}),[n0,i0]=(0,t.useState)(!1),t0=y||z||n0||q&&S;return t.createElement(o.x,{tabIndex:0,role:"slider","aria-label":W,"aria-valuemax":i,"aria-valuemin":p,"aria-valuenow":d,ref:K,className:$(Y.thumb,{[Y.dragging]:z}),onFocus:()=>{i0(!0),typeof E=="function"&&E()},onBlur:()=>{i0(!1),typeof T=="function"&&T()},onTouchStart:m,onMouseDown:m,onKeyDownCapture:f,onClick:J=>J.stopPropagation(),style:{[u0.dir==="rtl"?"right":"left"]:`${M}%`}},I,t.createElement(r.u,{mounted:O!=null&&t0,duration:A,transition:_,timingFunction:g||u0.transitionTimingFunction},J=>t.createElement("div",{style:J,className:Y.label},O)))});a.displayName="@mantine/core/SliderThumb"},10670:(D,b,e)=>{"use strict";e.d(b,{Z:()=>f});var t=e(99275),n=e(6819),o=Object.defineProperty,r=Object.defineProperties,a=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?o(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>r(l,a(s)),m=(0,t.kc)((l,{color:s,disabled:c,thumbSize:u},{size:_})=>({label:{position:"absolute",top:(0,t.hO)(-36),backgroundColor:l.colorScheme==="dark"?l.colors.dark[4]:l.colors.gray[9],fontSize:l.fontSizes.xs,color:l.white,padding:`calc(${l.spacing.xs} / 2)`,borderRadius:l.radius.sm,whiteSpace:"nowrap",pointerEvents:"none",userSelect:"none",touchAction:"none"},thumb:z(O({},l.fn.focusStyles()),{boxSizing:"border-box",position:"absolute",display:c?"none":"flex",height:u?(0,t.hO)(u):`calc(${(0,t.ap)({sizes:n.J,size:_})} * 2)`,width:u?(0,t.hO)(u):`calc(${(0,t.ap)({sizes:n.J,size:_})} * 2)`,backgroundColor:l.colorScheme==="dark"?l.fn.themeColor(s,l.fn.primaryShade()):l.white,border:`${(0,t.hO)(4)} solid ${l.colorScheme==="dark"?l.white:l.fn.themeColor(s,l.fn.primaryShade())}`,color:l.colorScheme==="dark"?l.white:l.fn.themeColor(s,l.fn.primaryShade()),transform:"translate(-50%, -50%)",top:"50%",cursor:"pointer",borderRadius:1e3,alignItems:"center",justifyContent:"center",transitionDuration:"100ms",transitionProperty:"box-shadow, transform",transitionTimingFunction:l.transitionTimingFunction,zIndex:3,userSelect:"none",touchAction:"none"}),dragging:{transform:"translate(-50%, -50%) scale(1.05)",boxShadow:l.shadows.sm}}));const f=m},34668:(D,b,e)=>{"use strict";e.d(b,{f:()=>u});var t=e(7294),n=e(99275),o=e(61549),r=e(6819),a=e(95648),i=e(84888),p=Object.defineProperty,d=Object.defineProperties,M=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(_,A,g)=>A in _?p(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,l=(_,A)=>{for(var g in A||(A={}))z.call(A,g)&&f(_,g,A[g]);if(O)for(var g of O(A))m.call(A,g)&&f(_,g,A[g]);return _},s=(_,A)=>d(_,M(A)),c=(_,A)=>{var g={};for(var y in _)z.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&O)for(var y of O(_))A.indexOf(y)<0&&m.call(_,y)&&(g[y]=_[y]);return g};function u(_){var A=_,{filled:g,size:y,color:W,classNames:E,styles:T,radius:q,children:S,offset:I,disabled:x,marksOffset:j,unstyled:N,inverted:k,variant:K,containerProps:Y}=A,$=c(A,["filled","size","color","classNames","styles","radius","children","offset","disabled","marksOffset","unstyled","inverted","variant","containerProps"]);const{classes:u0}=(0,a.Z)({color:W,radius:q,disabled:x,inverted:k},{name:"Slider",classNames:E,styles:T,unstyled:N,variant:K,size:y});return t.createElement(t.Fragment,null,t.createElement("div",l({className:u0.trackContainer},Y),t.createElement("div",{className:u0.track},t.createElement(i.x,{className:u0.bar,sx:{left:`calc(${I}% - ${(0,n.ap)({size:y,sizes:r.J})})`,width:`calc(${g}% + ${(0,n.ap)({size:y,sizes:r.J})})`}}),S)),t.createElement(o.z,s(l({},$),{size:y,color:W,offset:j,classNames:E,styles:T,disabled:x,unstyled:N,inverted:k,variant:K})))}u.displayName="@mantine/core/SliderTrack"},95648:(D,b,e)=>{"use strict";e.d(b,{Z:()=>r});var t=e(99275),n=e(6819),o=(0,t.kc)((a,{radius:i,color:p,disabled:d,inverted:M},{size:O})=>({trackContainer:{display:"flex",alignItems:"center",width:"calc(100% + 1rem)",height:"100%",cursor:"pointer"},track:{position:"relative",height:(0,t.ap)({sizes:n.J,size:O}),width:"100%",marginRight:(0,t.ap)({size:O,sizes:n.J}),marginLeft:(0,t.ap)({size:O,sizes:n.J}),"&::before":{content:'""',position:"absolute",top:0,bottom:0,borderRadius:a.fn.radius(i),right:`calc(${(0,t.ap)({size:O,sizes:n.J})} * -1)`,left:`calc(${(0,t.ap)({size:O,sizes:n.J})} * -1)`,backgroundColor:M?d?a.colorScheme==="dark"?a.colors.dark[3]:a.colors.gray[4]:a.fn.variant({variant:"filled",color:p}).background:a.colorScheme==="dark"?a.colors.dark[4]:a.colors.gray[2],zIndex:0}},bar:{position:"absolute",zIndex:1,top:0,bottom:0,backgroundColor:M?a.colorScheme==="dark"?a.colors.dark[4]:a.colors.gray[2]:d?a.colorScheme==="dark"?a.colors.dark[3]:a.colors.gray[4]:a.fn.variant({variant:"filled",color:p}).background,borderRadius:a.fn.radius(i)}}));const r=o},40775:(D,b,e)=>{"use strict";e.d(b,{i:()=>t});function t({value:n,containerWidth:o,min:r,max:a,step:i,precision:p}){const M=(o?Math.min(Math.max(n,0),o)/o:n)*(a-r),O=(M!==0?Math.round(M/i)*i:0)+r,z=Math.max(O,r);return p!==void 0?Number(z.toFixed(p)):z}},23362:(D,b,e)=>{"use strict";e.d(b,{s:()=>t});function t(n){return"TouchEvent"in window&&n instanceof window.TouchEvent?n.touches[0].clientX:n.clientX}},79988:(D,b,e)=>{"use strict";e.d(b,{b:()=>t});function t({value:n,min:o,max:r}){const a=(n-o)/(r-o)*100;return Math.min(Math.max(a,0),100)}},78818:(D,b,e)=>{"use strict";e.d(b,{T:()=>m});var t=e(7294),n=e(99275),o=e(84888),r=Object.defineProperty,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?r(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>{var s={};for(var c in f)i.call(f,c)&&l.indexOf(c)<0&&(s[c]=f[c]);if(f!=null&&a)for(var c of a(f))l.indexOf(c)<0&&p.call(f,c)&&(s[c]=f[c]);return s};const z={w:0,h:0},m=(0,t.forwardRef)((f,l)=>{const s=(0,n.N4)("Space",z,f),{w:c,h:u}=s,_=O(s,["w","h"]);return t.createElement(o.x,M({ref:l,w:c,miw:c,h:u,mih:u},_))});m.displayName="@mantine/core/Space"},4415:(D,b,e)=>{"use strict";e.d(b,{o:()=>s});var t=e(7294),n=e(99275),o=e(76322),r=e(46325),a=e(84888),i=e(61677),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(c,u,_)=>u in c?p(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,m=(c,u)=>{for(var _ in u||(u={}))M.call(u,_)&&z(c,_,u[_]);if(d)for(var _ of d(u))O.call(u,_)&&z(c,_,u[_]);return c},f=(c,u)=>{var _={};for(var A in c)M.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&d)for(var A of d(c))u.indexOf(A)<0&&O.call(c,A)&&(_[A]=c[A]);return _};const l={maxHeight:100,transitionDuration:200,initialState:!1},s=(0,t.forwardRef)((c,u)=>{const _=(0,n.N4)("Spoiler",l,c),{className:A,children:g,maxHeight:y,hideLabel:W,showLabel:E,transitionDuration:T,controlRef:q,initialState:S,classNames:I,styles:x,unstyled:j,variant:N}=_,k=f(_,["className","children","maxHeight","hideLabel","showLabel","transitionDuration","controlRef","initialState","classNames","styles","unstyled","variant"]),{classes:K,cx:Y}=(0,r.Z)({transitionDuration:T},{name:"Spoiler",classNames:I,styles:x,unstyled:j,variant:N}),[$,u0]=(0,t.useState)(S),[n0,i0]=(0,t.useState)(S),{ref:t0,height:J}=(0,o.h4)(),a0=$?W:E;return(0,t.useEffect)(()=>{i0(yu0(b0=>!b0),className:K.control},a0))});s.displayName="@mantine/core/Spoiler"},46325:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{transitionDuration:a})=>({control:{},root:{position:"relative"},content:{display:"flex",flexDirection:"column",overflow:"hidden",transitionProperty:"max-height",transitionTimingFunction:r.transitionTimingFunction,transitionDuration:`${a}ms`,"@media (prefers-reduced-motion)":{transitionDuration:r.respectReducedMotion?"0ms":void 0}}}));const o=n},81374:(D,b,e)=>{"use strict";e.d(b,{K:()=>f});var t=e(7294),n=e(99275),o=e(32922),r=e(84888),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={spacing:"md",align:"stretch",justify:"flex-start"},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("Stack",m,l),{spacing:u,className:_,align:A,justify:g,unstyled:y,variant:W}=c,E=z(c,["spacing","className","align","justify","unstyled","variant"]),{classes:T,cx:q}=(0,o.Z)({spacing:u,align:A,justify:g},{name:"Stack",unstyled:y,variant:W});return t.createElement(r.x,O({className:q(T.root,_),ref:s},E))});f.displayName="@mantine/core/Stack"},32922:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{spacing:a,align:i,justify:p})=>({root:{display:"flex",flexDirection:"column",alignItems:i,justifyContent:p,gap:(0,t.ap)({size:a,sizes:r.spacing})}}));const o=n},31605:(D,b,e)=>{"use strict";e.d(b,{h:()=>A});var t=e(7294),n=e(99275),o=e(99071),r=e(56354),a=e(97688),i=e(30762),p=e(56183),d=e(98793),M=Object.defineProperty,O=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(g,y,W)=>y in g?M(g,y,{enumerable:!0,configurable:!0,writable:!0,value:W}):g[y]=W,l=(g,y)=>{for(var W in y||(y={}))z.call(y,W)&&f(g,W,y[W]);if(O)for(var W of O(y))m.call(y,W)&&f(g,W,y[W]);return g},s=(g,y)=>{var W={};for(var E in g)z.call(g,E)&&y.indexOf(E)<0&&(W[E]=g[E]);if(g!=null&&O)for(var E of O(g))y.indexOf(E)<0&&m.call(g,E)&&(W[E]=g[E]);return W};const c={xs:16,sm:18,md:20,lg:22,xl:24},u={withIcon:!0,size:"md",radius:"xl",allowStepClick:!0,iconPosition:"left",__staticSelector:"Step"},_=(g,y)=>typeof g=="function"?t.createElement(g,{step:y}):g,A=(0,t.forwardRef)((g,y)=>{const W=(0,n.N4)("StepperStep",u,g),{className:E,step:T,state:q,color:S,icon:I,completedIcon:x,progressIcon:j,label:N,description:k,withIcon:K,iconSize:Y,size:$,radius:u0,loading:n0,allowStepClick:i0,allowStepSelect:t0,iconPosition:J,__staticSelector:a0,classNames:b0,styles:d0,unstyled:O0,orientation:_0,variant:h0}=W,A0=s(W,["className","step","state","color","icon","completedIcon","progressIcon","label","description","withIcon","iconSize","size","radius","loading","allowStepClick","allowStepSelect","iconPosition","__staticSelector","classNames","styles","unstyled","orientation","variant"]),{classes:w0,cx:Z0}=(0,o.Z)({color:S,iconSize:Y,radius:u0,allowStepClick:i0,iconPosition:J,orientation:_0},{name:a0,classNames:b0,styles:d0,unstyled:O0,variant:h0,size:$}),Y0=(0,n.ap)({size:$,sizes:c}),J0=q==="stepCompleted"?null:q==="stepProgress"?j:I,g0={"data-progress":q==="stepProgress"||void 0,"data-completed":q==="stepCompleted"||void 0};return t.createElement(r.k,l(l({className:Z0(w0.step,E),tabIndex:i0?0:-1,ref:y},g0),A0),K&&t.createElement("div",{className:w0.stepWrapper},t.createElement("div",l({className:w0.stepIcon},g0),t.createElement(a.u,{mounted:q==="stepCompleted",transition:"pop",duration:200},B0=>t.createElement("div",{className:w0.stepCompletedIcon,style:B0},n0?t.createElement(i.a,{color:"#fff",size:Y0,className:w0.stepLoader}):_(x,T)||t.createElement(p.P,{indeterminate:!1,width:Y0,height:Y0}))),q!=="stepCompleted"?n0?t.createElement(i.a,{size:Y0,color:S}):_(J0||I,T):null),_0==="vertical"&&t.createElement("div",{className:Z0(w0.verticalSeparator,{[w0.verticalSeparatorActive]:q==="stepCompleted"})})),(N||k)&&t.createElement("div",{className:w0.stepBody},N&&t.createElement(d.x,{className:w0.stepLabel},_(N,T)),k&&t.createElement(d.x,{className:w0.stepDescription,color:"dimmed"},_(k,T))))});A.displayName="@mantine/core/Step"},99071:(D,b,e)=>{"use strict";e.d(b,{Z:()=>f,_:()=>z});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(l,s,c)=>s in l?n(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,M=(l,s)=>{for(var c in s||(s={}))i.call(s,c)&&d(l,c,s[c]);if(a)for(var c of a(s))p.call(s,c)&&d(l,c,s[c]);return l},O=(l,s)=>o(l,r(s));const z={xs:(0,t.hO)(34),sm:(0,t.hO)(36),md:(0,t.hO)(42),lg:(0,t.hO)(48),xl:(0,t.hO)(52)};var m=(0,t.kc)((l,{color:s,iconSize:c,radius:u,allowStepClick:_,iconPosition:A,orientation:g},{size:y})=>{const W=c?(0,t.hO)(c):(0,t.ap)({size:y,sizes:z}),E=y==="xl"||y==="lg"?l.spacing.md:l.spacing.sm,T=l.fn.radius(u),q=l.fn.variant({variant:"filled",color:s||l.primaryColor,primaryFallback:!1}),S=`calc(${l.spacing.xs} / 2)`,I={step:{justifyContent:"flex-start",minHeight:`calc(${W} + ${l.spacing.xl} + ${S})`,marginTop:S,overflow:"hidden","&:first-of-type":{marginTop:0},[`&:last-of-type .${(0,t.Ao)("verticalSeparator")}`]:{display:"none"}}};return{stepLoader:{},step:M({display:"flex",flexDirection:A==="left"?"row":"row-reverse",cursor:_?"pointer":"default"},g==="vertical"?I.step:{alignItems:"center"}),stepWrapper:{position:"relative"},verticalSeparator:{top:`calc(${W} + ${S})`,left:`calc(${W} / 2)`,height:"100vh",position:"absolute",borderLeft:`${(0,t.hO)(2)} solid ${l.colorScheme==="dark"?l.colors.dark[5]:l.colors.gray[1]}`,ref:(0,t.Ao)("verticalSeparator")},verticalSeparatorActive:{borderColor:l.fn.variant({variant:"filled",color:s}).background},stepIcon:{boxSizing:"border-box",height:W,width:W,minWidth:W,borderRadius:T,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:l.colorScheme==="dark"?l.colors.dark[5]:l.colors.gray[1],border:`${(0,t.hO)(2)} solid ${l.colorScheme==="dark"?l.colors.dark[5]:l.colors.gray[1]}`,transition:"background-color 150ms ease, border-color 150ms ease",position:"relative",fontWeight:700,color:l.colorScheme==="dark"?l.colors.dark[1]:l.colors.gray[7],fontSize:(0,t.ap)({size:y,sizes:l.fontSizes}),"&[data-progress]":{borderColor:q.background},"&[data-completed]":{backgroundColor:q.background,borderColor:q.background,color:l.white}},stepCompletedIcon:O(M({},l.fn.cover()),{display:"flex",alignItems:"center",justifyContent:"center",color:l.white}),stepBody:M({display:"flex",flexDirection:"column",marginLeft:A==="left"?E:void 0,marginRight:A==="right"?E:void 0},g==="vertical"?{marginTop:`calc(${c} / 4)`}:null),stepLabel:{textAlign:A,fontWeight:500,fontSize:(0,t.ap)({size:y,sizes:l.fontSizes}),lineHeight:1},stepDescription:{textAlign:A,marginTop:`calc(${(0,t.ap)({size:y,sizes:l.spacing})} / 3)`,marginBottom:`calc(${(0,t.ap)({size:y,sizes:l.spacing})} / 3)`,fontSize:`calc(${(0,t.ap)({size:y,sizes:l.fontSizes})} - ${(0,t.hO)(2)})`,lineHeight:1}}});const f=m},5377:(D,b,e)=>{"use strict";e.d(b,{S:()=>t});function t(n){return null}t.displayName="@mantine/core/StepCompleted"},77622:(D,b,e)=>{"use strict";e.d(b,{v:()=>s});var t=e(7294),n=e(99275),o=e(31605),r=e(5377),a=e(60809),i=e(84888),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(c,u,_)=>u in c?p(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,m=(c,u)=>{for(var _ in u||(u={}))M.call(u,_)&&z(c,_,u[_]);if(d)for(var _ of d(u))O.call(u,_)&&z(c,_,u[_]);return c},f=(c,u)=>{var _={};for(var A in c)M.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&d)for(var A of d(c))u.indexOf(A)<0&&O.call(c,A)&&(_[A]=c[A]);return _};const l={contentPadding:"md",size:"md",radius:"xl",orientation:"horizontal",iconPosition:"left",allowNextStepsSelect:!0},s=(0,t.forwardRef)((c,u)=>{var _,A,g;const y=(0,n.N4)("Stepper",l,c),{className:W,children:E,onStepClick:T,active:q,icon:S,completedIcon:I,progressIcon:x,color:j,iconSize:N,contentPadding:k,size:K,radius:Y,orientation:$,breakpoint:u0,iconPosition:n0,allowNextStepsSelect:i0,classNames:t0,styles:J,unstyled:a0,variant:b0}=y,d0=f(y,["className","children","onStepClick","active","icon","completedIcon","progressIcon","color","iconSize","contentPadding","size","radius","orientation","breakpoint","iconPosition","allowNextStepsSelect","classNames","styles","unstyled","variant"]),{classes:O0,cx:_0}=(0,a.Z)({contentPadding:k,color:j,orientation:$,iconPosition:n0,iconSize:N,breakpoint:u0},{name:"Stepper",classNames:t0,styles:J,unstyled:a0,variant:b0,size:K}),h0=t.Children.toArray(E),A0=h0.filter(B0=>B0.type!==r.S),w0=h0.find(B0=>B0.type===r.S),Z0=A0.reduce((B0,E0,K0)=>{const j0=q===K0?"stepProgress":q>K0?"stepCompleted":"stepInactive",r1=(()=>typeof T!="function"?!1:typeof E0.props.allowStepSelect=="boolean"?E0.props.allowStepSelect:j0==="stepCompleted"||i0)();return B0.push((0,t.cloneElement)(E0,{__staticSelector:"Stepper",icon:E0.props.icon||S||K0+1,key:K0,step:K0,variant:b0,state:j0,onClick:()=>r1&&T(K0),allowStepClick:r1,completedIcon:E0.props.completedIcon||I,progressIcon:E0.props.progressIcon||x,color:E0.props.color||j,iconSize:N,size:K,radius:Y,classNames:t0,styles:J,iconPosition:E0.props.iconPosition||n0,orientation:$,unstyled:a0})),$==="horizontal"&&K0!==A0.length-1&&B0.push(t.createElement("div",{className:_0(O0.separator,{[O0.separatorActive]:K0A0.length-1?J0:Y0;return t.createElement(i.x,m({className:_0(O0.root,W),ref:u},d0),t.createElement("div",{className:O0.steps},Z0),g0&&t.createElement("div",{className:O0.content},g0))});s.Step=o.h,s.Completed=r.S,s.displayName="@mantine/core/Stepper"},60809:(D,b,e)=>{"use strict";e.d(b,{Z:()=>f});var t=e(99275),n=e(99071),o=Object.defineProperty,r=Object.defineProperties,a=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?o(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>r(l,a(s)),m=(0,t.kc)((l,{contentPadding:s,color:c,orientation:u,iconPosition:_,iconSize:A,breakpoint:g},{size:y})=>{const W=typeof g<"u",E=(0,t.oI)((0,t.ap)({size:g,sizes:l.breakpoints})),T=typeof A<"u"?`calc(${(0,t.hO)(A)} / 2 - ${(0,t.hO)(1)})`:`calc(${(0,t.ap)({size:y,sizes:n._})} / 2 - ${(0,t.hO)(1)})`,q={steps:{flexDirection:"column",alignItems:_==="left"?"flex-start":"flex-end"},separator:{width:(0,t.hO)(2),minHeight:l.spacing.xl,marginLeft:_==="left"?T:0,marginRight:_==="right"?T:0,marginTop:`calc(${l.spacing.xs} / 2)`,marginBottom:`calc(${l.spacing.xs} - ${(0,t.hO)(2)})`}},S={steps:{[`@media (max-width: ${(0,t.em)(E-1)})`]:q.steps},separator:{[`@media (max-width: ${(0,t.em)(E-1)})`]:q.separator}};return{root:{},steps:O(O({display:"flex",boxSizing:"border-box",alignItems:"center"},u==="vertical"?q.steps:null),W?S.steps:null),separator:O(O({boxSizing:"border-box",transition:"background-color 150ms ease",flex:1,height:(0,t.hO)(2),backgroundColor:l.colorScheme==="dark"?l.colors.dark[4]:l.colors.gray[2],marginLeft:l.spacing.md,marginRight:l.spacing.md},u==="vertical"?q.separator:null),W?S.separator:null),separatorActive:{backgroundColor:l.fn.variant({variant:"filled",color:c||l.primaryColor,primaryFallback:!1}).background},content:z(O({},l.fn.fontStyles()),{paddingTop:(0,t.ap)({size:s,sizes:l.spacing})})}});const f=m},78773:(D,b,e)=>{"use strict";e.d(b,{r:()=>g});var t=e(7294),n=e(76322),o=e(99275),r=e(8978),a=e(38908),i=e(1315),p=e(12756),d=e(10204),M=Object.defineProperty,O=Object.defineProperties,z=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,s=(y,W,E)=>W in y?M(y,W,{enumerable:!0,configurable:!0,writable:!0,value:E}):y[W]=E,c=(y,W)=>{for(var E in W||(W={}))f.call(W,E)&&s(y,E,W[E]);if(m)for(var E of m(W))l.call(W,E)&&s(y,E,W[E]);return y},u=(y,W)=>O(y,z(W)),_=(y,W)=>{var E={};for(var T in y)f.call(y,T)&&W.indexOf(T)<0&&(E[T]=y[T]);if(y!=null&&m)for(var T of m(y))W.indexOf(T)<0&&l.call(y,T)&&(E[T]=y[T]);return E};const A={offLabel:"",onLabel:"",size:"sm",radius:"xl",error:!1},g=(0,t.forwardRef)((y,W)=>{var E;const T=(0,o.N4)("Switch",A,y),{className:q,color:S,label:I,offLabel:x,onLabel:j,id:N,style:k,size:K,radius:Y,wrapperProps:$,children:u0,unstyled:n0,styles:i0,classNames:t0,thumbIcon:J,sx:a0,checked:b0,defaultChecked:d0,onChange:O0,labelPosition:_0,description:h0,error:A0,disabled:w0,variant:Z0}=T,Y0=_(T,["className","color","label","offLabel","onLabel","id","style","size","radius","wrapperProps","children","unstyled","styles","classNames","thumbIcon","sx","checked","defaultChecked","onChange","labelPosition","description","error","disabled","variant"]),J0=(0,a.x)(),g0=(J0==null?void 0:J0.size)||K,{classes:B0,cx:E0}=(0,i.Z)({color:S,radius:Y,labelPosition:_0,error:!!A0},{name:"Switch",classNames:t0,styles:i0,unstyled:n0,size:g0,variant:Z0}),{systemStyles:K0,rest:j0}=(0,p.x)(Y0),n1=(0,n.Me)(N),r1=J0?{checked:J0.value.includes(j0.value),onChange:J0.onChange}:{},[s1,O1]=(0,n.Ch)({value:(E=r1.checked)!=null?E:b0,defaultValue:d0,finalValue:!1});return t.createElement(d.Z,c(c({className:E0(q,B0.root),sx:a0,style:k,id:n1,size:(J0==null?void 0:J0.size)||K,labelPosition:_0,label:I,description:h0,error:A0,disabled:w0,__staticSelector:"Switch",classNames:t0,styles:i0,unstyled:n0,"data-checked":r1.checked||void 0,variant:Z0},K0),$),t.createElement("input",u(c({},j0),{disabled:w0,checked:s1,onChange:A1=>{J0?r1.onChange(A1):O0==null||O0(A1),O1(A1.currentTarget.checked)},id:n1,ref:W,type:"checkbox",className:B0.input})),t.createElement("label",{htmlFor:n1,className:B0.track},t.createElement("div",{className:B0.thumb},J),t.createElement("div",{className:B0.trackLabel},s1?j:x)))});g.displayName="@mantine/core/Switch",g.Group=r.M},1315:(D,b,e)=>{"use strict";e.d(b,{Z:()=>u});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(_,A,g)=>A in _?n(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,M=(_,A)=>{for(var g in A||(A={}))i.call(A,g)&&d(_,g,A[g]);if(a)for(var g of a(A))p.call(A,g)&&d(_,g,A[g]);return _},O=(_,A)=>o(_,r(A));const z={xs:(0,t.hO)(16),sm:(0,t.hO)(20),md:(0,t.hO)(24),lg:(0,t.hO)(30),xl:(0,t.hO)(36)},m={xs:(0,t.hO)(32),sm:(0,t.hO)(38),md:(0,t.hO)(46),lg:(0,t.hO)(56),xl:(0,t.hO)(72)},f={xs:(0,t.hO)(12),sm:(0,t.hO)(14),md:(0,t.hO)(18),lg:(0,t.hO)(22),xl:(0,t.hO)(28)},l={xs:(0,t.hO)(5),sm:(0,t.hO)(6),md:(0,t.hO)(7),lg:(0,t.hO)(9),xl:(0,t.hO)(11)},s={xs:(0,t.hO)(4),sm:(0,t.hO)(5),md:(0,t.hO)(6),lg:(0,t.hO)(8),xl:(0,t.hO)(10)};var c=(0,t.kc)((_,{radius:A,color:g,labelPosition:y,error:W},{size:E})=>{const T=(0,t.ap)({size:E,sizes:f}),q=(0,t.ap)({size:A,sizes:_.radius}),S=_.fn.variant({variant:"filled",color:g}),I=(0,t.ap)({size:E,sizes:m}),x=(0,t.hO)(E==="xs"?1:2),j=_.fn.variant({variant:"filled",color:"red"}).background;return{root:{position:"relative"},input:{height:0,width:0,overflow:"hidden",whiteSpace:"nowrap",padding:0,WebkitClipPath:"inset(50%)",clipPath:"inset(50%)",position:"absolute"},track:O(M({},_.fn.focusStyles("input:focus + &")),{cursor:_.cursorType,overflow:"hidden",WebkitTapHighlightColor:"transparent",position:"relative",borderRadius:q,backgroundColor:_.colorScheme==="dark"?_.colors.dark[6]:_.colors.gray[2],border:`${(0,t.hO)(1)} solid ${W?j:_.colorScheme==="dark"?_.colors.dark[4]:_.colors.gray[3]}`,height:(0,t.ap)({size:E,sizes:z}),minWidth:I,margin:0,transitionProperty:"background-color, border-color",transitionTimingFunction:_.transitionTimingFunction,transitionDuration:"150ms",boxSizing:"border-box",appearance:"none",display:"flex",alignItems:"center",fontSize:(0,t.ap)({size:E,sizes:l}),fontWeight:600,order:y==="left"?2:1,userSelect:"none",zIndex:0,lineHeight:0,color:_.colorScheme==="dark"?_.colors.dark[1]:_.colors.gray[6],transition:`color 150ms ${_.transitionTimingFunction}`,"input:checked + &":{backgroundColor:S.background,borderColor:S.background,color:_.white,transition:`color 150ms ${_.transitionTimingFunction}`},"input:disabled + &":{backgroundColor:_.colorScheme==="dark"?_.colors.dark[4]:_.colors.gray[2],borderColor:_.colorScheme==="dark"?_.colors.dark[4]:_.colors.gray[2],cursor:"not-allowed"}}),thumb:{position:"absolute",zIndex:1,borderRadius:q,boxSizing:"border-box",display:"flex",backgroundColor:_.white,height:T,width:T,border:`${(0,t.hO)(1)} solid ${_.colorScheme==="dark"?_.white:_.colors.gray[3]}`,left:x,transition:`left 150ms ${_.transitionTimingFunction}`,"& > *":{margin:"auto"},"@media (prefers-reduced-motion)":{transitionDuration:_.respectReducedMotion?"0ms":""},"input:checked + * > &":{left:`calc(100% - ${T} - ${x})`,borderColor:_.white},"input:disabled + * > &":{borderColor:_.colorScheme==="dark"?_.colors.dark[4]:_.colors.gray[2],backgroundColor:_.colorScheme==="dark"?_.colors.dark[3]:_.colors.gray[0]}},trackLabel:{height:"100%",display:"grid",placeContent:"center",minWidth:`calc(${I} - ${T})`,paddingInline:(0,t.ap)({size:E,sizes:s}),margin:`0 0 0 calc(${T} + ${x})`,transition:`margin 150ms ${_.transitionTimingFunction}`,"input:checked + * > &":{margin:`0 calc(${T} + ${x}) 0 0`}}}});const u=c},38908:(D,b,e)=>{"use strict";e.d(b,{j:()=>o,x:()=>r});var t=e(7294);const n=(0,t.createContext)(null),o=n.Provider,r=()=>(0,t.useContext)(n)},8978:(D,b,e)=>{"use strict";e.d(b,{M:()=>l});var t=e(7294),n=e(76322),o=e(99275),r=e(38908),a=e(55956),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={size:"sm"},l=(0,t.forwardRef)((s,c)=>{const u=(0,o.N4)("SwitchGroup",f,s),{children:_,value:A,defaultValue:g,onChange:y,size:W,wrapperProps:E}=u,T=m(u,["children","value","defaultValue","onChange","size","wrapperProps"]),[q,S]=(0,n.Ch)({value:A,defaultValue:g,finalValue:[],onChange:y}),I=x=>{const j=x.currentTarget.value;S(q.includes(j)?q.filter(N=>N!==j):[...q,j])};return t.createElement(r.j,{value:{value:q,onChange:I,size:W}},t.createElement(a.I.Wrapper,z(z({labelElement:"div",size:W,__staticSelector:"SwitchGroup",ref:c},E),T),_))});l.displayName="@mantine/core/SwitchGroup"},63540:(D,b,e)=>{"use strict";e.d(b,{i:()=>c});var t=e(7294),n=e(99275),o=e(54606),r=e(84888),a=Object.defineProperty,i=Object.defineProperties,p=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(u,_,A)=>_ in u?a(u,_,{enumerable:!0,configurable:!0,writable:!0,value:A}):u[_]=A,m=(u,_)=>{for(var A in _||(_={}))M.call(_,A)&&z(u,A,_[A]);if(d)for(var A of d(_))O.call(_,A)&&z(u,A,_[A]);return u},f=(u,_)=>i(u,p(_)),l=(u,_)=>{var A={};for(var g in u)M.call(u,g)&&_.indexOf(g)<0&&(A[g]=u[g]);if(u!=null&&d)for(var g of d(u))_.indexOf(g)<0&&O.call(u,g)&&(A[g]=u[g]);return A};const s={striped:!1,highlightOnHover:!1,captionSide:"top",horizontalSpacing:"xs",fontSize:"sm",verticalSpacing:7,withBorder:!1,withColumnBorders:!1},c=(0,t.forwardRef)((u,_)=>{const A=(0,n.N4)("Table",s,u),{className:g,children:y,striped:W,highlightOnHover:E,captionSide:T,horizontalSpacing:q,verticalSpacing:S,fontSize:I,unstyled:x,withBorder:j,withColumnBorders:N,variant:k}=A,K=l(A,["className","children","striped","highlightOnHover","captionSide","horizontalSpacing","verticalSpacing","fontSize","unstyled","withBorder","withColumnBorders","variant"]),{classes:Y,cx:$}=(0,o.Z)({captionSide:T,verticalSpacing:S,horizontalSpacing:q,fontSize:I,withBorder:j,withColumnBorders:N},{unstyled:x,name:"Table",variant:k});return t.createElement(r.x,f(m({},K),{component:"table",ref:_,className:$(Y.root,g),"data-striped":W||void 0,"data-hover":E||void 0}),y)});c.displayName="@mantine/core/Table"},54606:(D,b,e)=>{"use strict";e.d(b,{Z:()=>m});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l)),z=(0,t.kc)((f,{captionSide:l,horizontalSpacing:s,verticalSpacing:c,fontSize:u,withBorder:_,withColumnBorders:A})=>{const g=`${(0,t.hO)(1)} solid ${f.colorScheme==="dark"?f.colors.dark[4]:f.colors.gray[3]}`;return{root:O(M({},f.fn.fontStyles()),{width:"100%",borderCollapse:"collapse",captionSide:l,color:f.colorScheme==="dark"?f.colors.dark[0]:f.black,lineHeight:f.lineHeight,border:_?g:void 0,"& caption":{marginTop:l==="top"?0:f.spacing.xs,marginBottom:l==="bottom"?0:f.spacing.xs,fontSize:f.fontSizes.sm,color:f.colorScheme==="dark"?f.colors.dark[2]:f.colors.gray[6]},"& thead tr th, & tfoot tr th, & tbody tr th":{textAlign:"left",fontWeight:"bold",color:f.colorScheme==="dark"?f.colors.dark[0]:f.colors.gray[7],fontSize:(0,t.ap)({size:u,sizes:f.fontSizes}),padding:`${(0,t.ap)({size:c,sizes:f.spacing})} ${(0,t.ap)({size:s,sizes:f.spacing})}`},"& thead tr th":{borderBottom:g},"& tfoot tr th, & tbody tr th":{borderTop:g},"& tbody tr td":{padding:`${(0,t.ap)({size:c,sizes:f.spacing})} ${(0,t.ap)({size:s,sizes:f.spacing})}`,borderTop:g,fontSize:(0,t.ap)({size:u,sizes:f.fontSizes})},"& tbody tr:first-of-type td, & tbody tr:first-of-type th":{borderTop:"none"},"& thead th, & tbody td":{borderRight:A?g:"none","&:last-of-type":{borderRight:"none",borderLeft:A?g:"none"}},"& tbody tr th":{borderRight:A?g:"none"},"&[data-striped] tbody tr:nth-of-type(odd)":{backgroundColor:f.colorScheme==="dark"?f.colors.dark[6]:f.colors.gray[0]},"&[data-hover] tbody tr":f.fn.hover({backgroundColor:f.colorScheme==="dark"?f.colors.dark[5]:f.colors.gray[1]})})}});const m=z},5160:(D,b,e)=>{"use strict";e.d(b,{O:()=>_});var t=e(7294),n=e(99275),o=e(92159),r=e(79526),a=e(86e3),i=e(56354),p=Object.defineProperty,d=Object.defineProperties,M=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(A,g,y)=>g in A?p(A,g,{enumerable:!0,configurable:!0,writable:!0,value:y}):A[g]=y,l=(A,g)=>{for(var y in g||(g={}))z.call(g,y)&&f(A,y,g[y]);if(O)for(var y of O(g))m.call(g,y)&&f(A,y,g[y]);return A},s=(A,g)=>d(A,M(g)),c=(A,g)=>{var y={};for(var W in A)z.call(A,W)&&g.indexOf(W)<0&&(y[W]=A[W]);if(A!=null&&O)for(var W of O(A))g.indexOf(W)<0&&m.call(A,W)&&(y[W]=A[W]);return y};const u={},_=(0,t.forwardRef)((A,g)=>{const y=(0,n.N4)("TabsTab",u,A),{value:W,children:E,onKeyDown:T,onClick:q,className:S,icon:I,rightSection:x,color:j}=y,N=c(y,["value","children","onKeyDown","onClick","className","icon","rightSection","color"]),k=(0,r.g)(),K=!!I,Y=!!x,{theme:$,classes:u0,cx:n0}=(0,a.Z)({withIcon:K||Y&&!E,withRightSection:Y||K&&!E,orientation:k.orientation,color:j||k.color,radius:k.radius,inverted:k.inverted,placement:k.placement},{name:"Tabs",unstyled:k.unstyled,classNames:k.classNames,styles:k.styles,variant:k.variant}),i0=W===k.value,t0=J=>{k.onTabChange(k.allowTabDeactivation&&W===k.value?null:W),q==null||q(J)};return t.createElement(i.k,s(l({},N),{unstyled:k.unstyled,className:n0(u0.tab,S),"data-active":i0||void 0,ref:g,type:"button",role:"tab",id:k.getTabId(W),"aria-selected":i0,tabIndex:i0||k.value===null?0:-1,"aria-controls":k.getPanelId(W),onClick:t0,onKeyDown:(0,o.Rf)({siblingSelector:'[role="tab"]',parentSelector:'[role="tablist"]',activateOnFocus:k.activateTabWithKeyboard,loop:k.loop,dir:$.dir,orientation:k.orientation,onKeyDown:T})}),I&&t.createElement("span",{className:u0.tabIcon},I),E&&t.createElement("span",{className:u0.tabLabel},E),x&&t.createElement("span",{className:u0.tabRightSection},x))});_.displayName="@mantine/core/Tab"},86e3:(D,b,e)=>{"use strict";e.d(b,{Z:()=>f});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(l,s,c)=>s in l?n(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,M=(l,s)=>{for(var c in s||(s={}))i.call(s,c)&&d(l,c,s[c]);if(a)for(var c of a(s))p.call(s,c)&&d(l,c,s[c]);return l},O=(l,s)=>o(l,r(s));function z(l,{orientation:s,color:c,radius:u,inverted:_,placement:A},g){const y=s==="vertical",W=l.fn.variant({color:c,variant:"filled"}),E=(0,t.hO)(l.fn.radius(u)),T=s==="vertical"?A==="left"?`${E} 0 0 ${E}`:` 0 ${E} ${E} 0`:_?`0 0 ${E} ${E}`:`${E} ${E} 0 0`;return g==="default"?O(M({[y?A==="left"?"borderRight":"borderLeft":_?"borderTop":"borderBottom"]:`${(0,t.hO)(2)} solid transparent`,[y?A==="left"?"marginRight":"marginLeft":_?"marginTop":"marginBottom"]:(0,t.hO)(-2),borderRadius:T},l.fn.hover({backgroundColor:l.colorScheme==="dark"?l.colors.dark[6]:l.colors.gray[0],borderColor:l.colorScheme==="dark"?l.colors.dark[4]:l.colors.gray[3]})),{"&[data-active]":M({borderColor:W.background,color:l.colorScheme==="dark"?l.white:l.black},l.fn.hover({borderColor:W.background}))}):g==="outline"?{borderRadius:T,border:`${(0,t.hO)(1)} solid transparent`,[y?A==="left"?"borderRight":"borderLeft":_?"borderTop":"borderBottom"]:"none","&[data-active]":{borderColor:l.colorScheme==="dark"?l.colors.dark[4]:l.colors.gray[3],"&::before":{content:'""',backgroundColor:l.colorScheme==="dark"?l.colors.dark[7]:l.white,position:"absolute",bottom:y?0:_?"unset":(0,t.hO)(-1),top:y?0:_?(0,t.hO)(-1):"unset",[y?"width":"height"]:(0,t.hO)(1),right:y?A==="left"?(0,t.hO)(-1):"unset":0,left:y?A==="left"?"unset":(0,t.hO)(-1):0}}}:g==="pills"?O(M({borderRadius:l.fn.radius(u)},l.fn.hover({backgroundColor:l.colorScheme==="dark"?l.colors.dark[6]:l.colors.gray[0]})),{"&[data-active]":M({backgroundColor:W.background,color:l.white},l.fn.hover({backgroundColor:W.background}))}):{}}var m=(0,t.kc)((l,s,{variant:c})=>({tabLabel:{},tab:M({position:"relative",padding:`${l.spacing.xs} ${l.spacing.md}`,paddingLeft:s.withIcon?l.spacing.xs:void 0,paddingRight:s.withRightSection?l.spacing.xs:void 0,fontSize:l.fontSizes.sm,whiteSpace:"nowrap",zIndex:0,display:"flex",alignItems:"center",justifyContent:s.orientation==="horizontal"?"center":void 0,lineHeight:1,"&:disabled":M({opacity:.5,cursor:"not-allowed"},l.fn.hover({backgroundColor:"transparent"})),"&:focus":{zIndex:1}},z(l,s,c)),tabRightSection:{display:"flex",justifyContent:"center",alignItems:"center","&:not(:only-child)":{marginLeft:(0,t.hO)(7)}},tabIcon:{display:"flex",justifyContent:"center",alignItems:"center","&:not(:only-child)":{marginRight:(0,t.hO)(7)}}}));const f=m},79526:(D,b,e)=>{"use strict";e.d(b,{c:()=>o,g:()=>r});var t=e(92159),n=e(29929);const[o,r]=(0,t.Rk)(n.b.context)},29929:(D,b,e)=>{"use strict";e.d(b,{b:()=>t});const t={context:"Tabs component was not found in the tree",value:"Tabs.Tab or Tabs.Panel component was rendered with invalid value or without value"}},21379:(D,b,e)=>{"use strict";e.d(b,{m:()=>g});var t=e(7294),n=e(99275),o=e(76948),r=e(88649),a=e(5160),i=e(41039),p=e(19314),d=e(84888),M=Object.defineProperty,O=Object.defineProperties,z=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,s=(y,W,E)=>W in y?M(y,W,{enumerable:!0,configurable:!0,writable:!0,value:E}):y[W]=E,c=(y,W)=>{for(var E in W||(W={}))f.call(W,E)&&s(y,E,W[E]);if(m)for(var E of m(W))l.call(W,E)&&s(y,E,W[E]);return y},u=(y,W)=>O(y,z(W)),_=(y,W)=>{var E={};for(var T in y)f.call(y,T)&&W.indexOf(T)<0&&(E[T]=y[T]);if(y!=null&&m)for(var T of m(y))W.indexOf(T)<0&&l.call(y,T)&&(E[T]=y[T]);return E};const A={orientation:"horizontal",loop:!0,activateTabWithKeyboard:!0,allowTabDeactivation:!1,unstyled:!1,inverted:!1,variant:"default",placement:"left"},g=(0,t.forwardRef)((y,W)=>{const E=(0,n.N4)("Tabs",A,y),{defaultValue:T,value:q,orientation:S,loop:I,activateTabWithKeyboard:x,allowTabDeactivation:j,children:N,id:k,onTabChange:K,variant:Y,color:$,className:u0,unstyled:n0,classNames:i0,styles:t0,radius:J,inverted:a0,keepMounted:b0,placement:d0}=E,O0=_(E,["defaultValue","value","orientation","loop","activateTabWithKeyboard","allowTabDeactivation","children","id","onTabChange","variant","color","className","unstyled","classNames","styles","radius","inverted","keepMounted","placement"]),{classes:_0,cx:h0}=(0,p.Z)({orientation:S,color:$,radius:J,inverted:a0,placement:d0},{unstyled:n0,name:"Tabs",classNames:i0,styles:t0,variant:Y});return t.createElement(i.X,{activateTabWithKeyboard:x,defaultValue:T,orientation:S,onTabChange:K,value:q,id:k,loop:I,allowTabDeactivation:j,color:$,variant:Y,radius:J,inverted:a0,keepMounted:b0,placement:d0,classNames:i0,styles:t0,unstyled:n0},t.createElement(d.x,u(c({},O0),{className:h0(_0.root,u0),id:k,ref:W}),N))});g.List=o.d,g.Tab=a.O,g.Panel=r.A,g.displayName="@mantine/core/Tabs"},19314:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{orientation:a,placement:i})=>({root:{display:a==="vertical"?"flex":void 0,flexDirection:i==="right"?"row-reverse":"row"}}));const o=n},76948:(D,b,e)=>{"use strict";e.d(b,{d:()=>u});var t=e(7294),n=e(99275),o=e(79526),r=e(20730),a=e(84888),i=Object.defineProperty,p=Object.defineProperties,d=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,m=(_,A,g)=>A in _?i(_,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[A]=g,f=(_,A)=>{for(var g in A||(A={}))O.call(A,g)&&m(_,g,A[g]);if(M)for(var g of M(A))z.call(A,g)&&m(_,g,A[g]);return _},l=(_,A)=>p(_,d(A)),s=(_,A)=>{var g={};for(var y in _)O.call(_,y)&&A.indexOf(y)<0&&(g[y]=_[y]);if(_!=null&&M)for(var y of M(_))A.indexOf(y)<0&&z.call(_,y)&&(g[y]=_[y]);return g};const c={grow:!1,position:"left"},u=(0,t.forwardRef)((_,A)=>{const g=(0,n.N4)("TabsList",c,_),{children:y,className:W,grow:E,position:T}=g,q=s(g,["children","className","grow","position"]),{orientation:S,variant:I,color:x,radius:j,inverted:N,placement:k,classNames:K,styles:Y,unstyled:$}=(0,o.g)(),{classes:u0,cx:n0}=(0,r.Z)({orientation:S,grow:E,color:x,position:T,radius:j,inverted:N,placement:k},{name:"Tabs",unstyled:$,classNames:K,styles:Y,variant:I});return t.createElement(a.x,l(f({},q),{className:n0(u0.tabsList,W),ref:A,role:"tablist","aria-orientation":S}),y)});u.displayName="@mantine/core/TabsList"},20730:(D,b,e)=>{"use strict";e.d(b,{Z:()=>z});var t=e(99275),n=e(89893),o=Object.defineProperty,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,p=(m,f,l)=>f in m?o(m,f,{enumerable:!0,configurable:!0,writable:!0,value:l}):m[f]=l,d=(m,f)=>{for(var l in f||(f={}))a.call(f,l)&&p(m,l,f[l]);if(r)for(var l of r(f))i.call(f,l)&&p(m,l,f[l]);return m};function M({orientation:m,inverted:f,placement:l},s,c){const u=m==="vertical";return c==="default"?{[u?l==="left"?"borderRight":"borderLeft":f?"borderTop":"borderBottom"]:`${(0,t.hO)(2)} solid ${s.colorScheme==="dark"?s.colors.dark[4]:s.colors.gray[3]}`}:c==="outline"?{[u?l==="left"?"borderRight":"borderLeft":f?"borderTop":"borderBottom"]:`${(0,t.hO)(1)} solid ${s.colorScheme==="dark"?s.colors.dark[4]:s.colors.gray[3]}`}:c==="pills"?{gap:`calc(${s.spacing.sm} / 2)`}:{}}var O=(0,t.kc)((m,f,{variant:l})=>{const s=f.orientation==="vertical";return{tabsList:d({display:"flex",flexWrap:"wrap",flexDirection:s?"column":"row",justifyContent:n.H[f.position],'& [role="tab"]':{flex:f.grow?1:void 0}},M(f,m,l))}});const z=O},88649:(D,b,e)=>{"use strict";e.d(b,{A:()=>_});var t=e(7294),n=e(99275),o=e(92159),r=e(79526),a=e(93749),i=e(84888),p=Object.defineProperty,d=Object.defineProperties,M=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(A,g,y)=>g in A?p(A,g,{enumerable:!0,configurable:!0,writable:!0,value:y}):A[g]=y,l=(A,g)=>{for(var y in g||(g={}))z.call(g,y)&&f(A,y,g[y]);if(O)for(var y of O(g))m.call(g,y)&&f(A,y,g[y]);return A},s=(A,g)=>d(A,M(g)),c=(A,g)=>{var y={};for(var W in A)z.call(A,W)&&g.indexOf(W)<0&&(y[W]=A[W]);if(A!=null&&O)for(var W of O(A))g.indexOf(W)<0&&m.call(A,W)&&(y[W]=A[W]);return y};const u={},_=(0,t.forwardRef)((A,g)=>{const y=(0,n.N4)("TabsPanel",u,A),{value:W,children:E,sx:T,className:q}=y,S=c(y,["value","children","sx","className"]),I=(0,r.g)(),{classes:x,cx:j}=(0,a.Z)({orientation:I.orientation,color:I.color,radius:I.radius,inverted:I.inverted,placement:I.placement},{name:"Tabs",unstyled:I.unstyled,classNames:I.classNames,styles:I.styles,variant:I.variant}),N=I.value===W,k=I.keepMounted||N?E:null;return t.createElement(i.x,s(l({},S),{ref:g,sx:[{display:N?void 0:"none"},...(0,o.RG)(T)],className:j(x.panel,q),role:"tabpanel",id:I.getPanelId(W),"aria-labelledby":I.getTabId(W)}),k)});_.displayName="@mantine/core/TabsPanel"},93749:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{orientation:a})=>({panel:{flex:a==="vertical"?1:void 0}}));const o=n},41039:(D,b,e)=>{"use strict";e.d(b,{X:()=>i});var t=e(7294),n=e(92159),o=e(76322),r=e(79526),a=e(29929);function i({defaultValue:p,value:d,onTabChange:M,orientation:O,children:z,loop:m,id:f,activateTabWithKeyboard:l,allowTabDeactivation:s,variant:c,color:u,radius:_,inverted:A,placement:g,keepMounted:y=!0,classNames:W,styles:E,unstyled:T}){const q=(0,o.Me)(f),[S,I]=(0,o.Ch)({value:d,defaultValue:p,finalValue:null,onChange:M});return t.createElement(r.c,{value:{placement:g,value:S,orientation:O,id:q,loop:m,activateTabWithKeyboard:l,getTabId:(0,n.AS)(`${q}-tab`,a.b.value),getPanelId:(0,n.AS)(`${q}-panel`,a.b.value),onTabChange:I,allowTabDeactivation:s,variant:c,color:u,radius:_,inverted:A,keepMounted:y,classNames:W,styles:E,unstyled:T}},z)}i.displayName="@mantine/core/TabsProvider"},98793:(D,b,e)=>{"use strict";e.d(b,{x:()=>s});var t=e(7294),n=e(99275),o=e(92159),r=e(54031),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(c,u,_)=>u in c?i(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,z=(c,u)=>{for(var _ in u||(u={}))d.call(u,_)&&O(c,_,u[_]);if(p)for(var _ of p(u))M.call(u,_)&&O(c,_,u[_]);return c},m=(c,u)=>{var _={};for(var A in c)d.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&p)for(var A of p(c))u.indexOf(A)<0&&M.call(c,A)&&(_[A]=c[A]);return _};const f={variant:"text"},l=(0,t.forwardRef)((c,u)=>{const _=(0,n.N4)("Text",f,c),{className:A,size:g,weight:y,transform:W,color:E,align:T,variant:q,lineClamp:S,truncate:I,gradient:x,inline:j,inherit:N,underline:k,strikethrough:K,italic:Y,classNames:$,styles:u0,unstyled:n0,span:i0,__staticSelector:t0}=_,J=m(_,["className","size","weight","transform","color","align","variant","lineClamp","truncate","gradient","inline","inherit","underline","strikethrough","italic","classNames","styles","unstyled","span","__staticSelector"]),{classes:a0,cx:b0}=(0,r.Z)({color:E,lineClamp:S,truncate:I,inline:j,inherit:N,underline:k,strikethrough:K,italic:Y,weight:y,transform:W,align:T,gradient:x},{unstyled:n0,name:t0||"Text",variant:q,size:g});return t.createElement(a.x,z({ref:u,className:b0(a0.root,{[a0.gradient]:q==="gradient"},A),component:i0?"span":"div"},J))});l.displayName="@mantine/core/Text";const s=(0,o.Fm)(l)},54031:(D,b,e)=>{"use strict";e.d(b,{Z:()=>c});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(u,_,A)=>_ in u?n(u,_,{enumerable:!0,configurable:!0,writable:!0,value:A}):u[_]=A,M=(u,_)=>{for(var A in _||(_={}))i.call(_,A)&&d(u,A,_[A]);if(a)for(var A of a(_))p.call(_,A)&&d(u,A,_[A]);return u},O=(u,_)=>o(u,r(_));function z({underline:u,strikethrough:_}){const A=[];return u&&A.push("underline"),_&&A.push("line-through"),A.length>0?A.join(" "):"none"}function m({theme:u,color:_}){return _==="dimmed"?u.fn.dimmed():typeof _=="string"&&(_ in u.colors||_.split(".")[0]in u.colors)?u.fn.variant({variant:"filled",color:_}).background:_||"inherit"}function f(u){return typeof u=="number"?{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:u,WebkitBoxOrient:"vertical"}:null}function l({theme:u,truncate:_}){return _==="start"?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",direction:u.dir==="ltr"?"rtl":"ltr",textAlign:u.dir==="ltr"?"right":"left"}:_?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:null}var s=(0,t.kc)((u,{color:_,lineClamp:A,truncate:g,inline:y,inherit:W,underline:E,gradient:T,weight:q,transform:S,align:I,strikethrough:x,italic:j},{size:N})=>{const k=u.fn.variant({variant:"gradient",gradient:T});return{root:O(M(M(M(M({},u.fn.fontStyles()),u.fn.focusStyles()),f(A)),l({theme:u,truncate:g})),{color:m({color:_,theme:u}),fontFamily:W?"inherit":u.fontFamily,fontSize:W||N===void 0?"inherit":(0,t.ap)({size:N,sizes:u.fontSizes}),lineHeight:W?"inherit":y?1:u.lineHeight,textDecoration:z({underline:E,strikethrough:x}),WebkitTapHighlightColor:"transparent",fontWeight:W?"inherit":q,textTransform:S,textAlign:I,fontStyle:j?"italic":void 0}),gradient:{backgroundImage:k.background,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}}});const c=s},80061:(D,b,e)=>{"use strict";e.d(b,{o:()=>s});var t=e(7294),n=e(66261),o=e(55956),r=Object.defineProperty,a=Object.defineProperties,i=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(c,u,_)=>u in c?r(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,z=(c,u)=>{for(var _ in u||(u={}))d.call(u,_)&&O(c,_,u[_]);if(p)for(var _ of p(u))M.call(u,_)&&O(c,_,u[_]);return c},m=(c,u)=>a(c,i(u)),f=(c,u)=>{var _={};for(var A in c)d.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&p)for(var A of p(c))u.indexOf(A)<0&&M.call(c,A)&&(_[A]=c[A]);return _};const l={type:"text",size:"sm",__staticSelector:"TextInput"},s=(0,t.forwardRef)((c,u)=>{const _=(0,n.k)("TextInput",l,c),{inputProps:A,wrapperProps:g}=_,y=f(_,["inputProps","wrapperProps"]);return t.createElement(o.I.Wrapper,z({},g),t.createElement(o.I,m(z(z({},A),y),{ref:u})))});s.displayName="@mantine/core/TextInput"},81182:(D,b,e)=>{"use strict";e.d(b,{g:()=>A});var t=e(7294),n=e(90869),o=e(76322),r=e(99275),a=e(44798),i=e(12756),p=e(55956),d=Object.defineProperty,M=Object.defineProperties,O=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(g,y,W)=>y in g?d(g,y,{enumerable:!0,configurable:!0,writable:!0,value:W}):g[y]=W,s=(g,y)=>{for(var W in y||(y={}))m.call(y,W)&&l(g,W,y[W]);if(z)for(var W of z(y))f.call(y,W)&&l(g,W,y[W]);return g},c=(g,y)=>M(g,O(y)),u=(g,y)=>{var W={};for(var E in g)m.call(g,E)&&y.indexOf(E)<0&&(W[E]=g[E]);if(g!=null&&z)for(var E of z(g))y.indexOf(E)<0&&f.call(g,E)&&(W[E]=g[E]);return W};const _={autosize:!1,size:"sm",__staticSelector:"Textarea"},A=(0,t.forwardRef)((g,y)=>{const W=(0,r.N4)("Textarea",_,g),{autosize:E,maxRows:T,minRows:q,label:S,error:I,description:x,id:j,className:N,required:k,style:K,wrapperProps:Y,classNames:$,styles:u0,size:n0,__staticSelector:i0,sx:t0,errorProps:J,descriptionProps:a0,labelProps:b0,inputWrapperOrder:d0,inputContainer:O0,unstyled:_0,withAsterisk:h0,variant:A0}=W,w0=u(W,["autosize","maxRows","minRows","label","error","description","id","className","required","style","wrapperProps","classNames","styles","size","__staticSelector","sx","errorProps","descriptionProps","labelProps","inputWrapperOrder","inputContainer","unstyled","withAsterisk","variant"]),Z0=(0,o.Me)(j),{classes:Y0,cx:J0}=(0,a.Z)(),{systemStyles:g0,rest:B0}=(0,i.x)(w0),E0=s({required:k,ref:y,error:I,id:Z0,classNames:c(s({},$),{input:J0(Y0.input,$==null?void 0:$.input)}),styles:u0,__staticSelector:i0,size:n0,multiline:!0,unstyled:_0,variant:A0},B0);return t.createElement(p.I.Wrapper,s(s({label:S,error:I,id:Z0,description:x,required:k,style:K,className:N,classNames:$,styles:u0,size:n0,__staticSelector:i0,sx:t0,errorProps:J,labelProps:b0,descriptionProps:a0,inputContainer:O0,inputWrapperOrder:d0,unstyled:_0,withAsterisk:h0,variant:A0},g0),Y),E?t.createElement(p.I,c(s({},E0),{component:n.Z,maxRows:T,minRows:q})):t.createElement(p.I,c(s({},E0),{component:"textarea",rows:q})))});A.displayName="@mantine/core/Textarea"},44798:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(r=>({input:{paddingTop:r.spacing.xs,paddingBottom:r.spacing.xs}}));const o=n},98934:(D,b,e)=>{"use strict";e.d(b,{k:()=>f});var t=e(7294),n=e(99275),o=e(37016),r=e(84888),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={size:"md",variant:"filled"},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("ThemeIcon",m,l),{className:u,size:_,radius:A,variant:g,color:y,children:W,gradient:E,unstyled:T}=c,q=z(c,["className","size","radius","variant","color","children","gradient","unstyled"]),{classes:S,cx:I}=(0,o.Z)({variant:g,radius:A,color:y,gradient:E},{name:"ThemeIcon",unstyled:T,variant:g,size:_});return t.createElement(r.x,O({className:I(S.root,u),ref:s},q),W)});f.displayName="@mantine/core/ThemeIcon"},37016:(D,b,e)=>{"use strict";e.d(b,{Z:()=>s});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(c,u,_)=>u in c?n(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,M=(c,u)=>{for(var _ in u||(u={}))i.call(u,_)&&d(c,_,u[_]);if(a)for(var _ of a(u))p.call(u,_)&&d(c,_,u[_]);return c},O=(c,u)=>o(c,r(u));const z={xs:(0,t.hO)(16),sm:(0,t.hO)(20),md:(0,t.hO)(26),lg:(0,t.hO)(32),xl:(0,t.hO)(40)},m=["filled","light","gradient","outline","default"];function f({theme:c,variant:u,color:_,gradient:A}){if(!m.includes(u))return null;const g=c.fn.variant({variant:u,color:_||c.primaryColor,gradient:A,primaryFallback:!1});return{backgroundColor:g.background,color:g.color,backgroundImage:u==="gradient"?g.background:void 0,border:`${(0,t.hO)(u==="gradient"?0:1)} solid ${g.border}`}}var l=(0,t.kc)((c,{color:u,radius:_,gradient:A},{variant:g,size:y})=>{const W=(0,t.ap)({size:y,sizes:z});return{root:M(O(M({},c.fn.fontStyles()),{display:"inline-flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",width:W,height:W,minWidth:W,minHeight:W,borderRadius:c.fn.radius(_)}),f({theme:c,variant:g,gradient:A,color:u}))}});const s=l},95825:(D,b,e)=>{"use strict";e.d(b,{T:()=>s});var t=e(7294),n=e(99275),o=e(92159),r=e(30275),a=e(65378),i=e(84888),p=Object.defineProperty,d=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,z=(c,u,_)=>u in c?p(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,m=(c,u)=>{for(var _ in u||(u={}))M.call(u,_)&&z(c,_,u[_]);if(d)for(var _ of d(u))O.call(u,_)&&z(c,_,u[_]);return c},f=(c,u)=>{var _={};for(var A in c)M.call(c,A)&&u.indexOf(A)<0&&(_[A]=c[A]);if(c!=null&&d)for(var A of d(c))u.indexOf(A)<0&&O.call(c,A)&&(_[A]=c[A]);return _};const l={active:-1,radius:"xl",bulletSize:20,align:"left",lineWidth:4,reverseActive:!1},s=(0,t.forwardRef)((c,u)=>{const _=(0,n.N4)("Timeline",l,c),{className:A,children:g,active:y,color:W,radius:E,bulletSize:T,align:q,lineWidth:S,classNames:I,styles:x,sx:j,reverseActive:N,unstyled:k,variant:K}=_,Y=f(_,["className","children","active","color","radius","bulletSize","align","lineWidth","classNames","styles","sx","reverseActive","unstyled","variant"]),{classes:$,cx:u0}=(0,a.Z)(null,{name:"Timeline",classNames:I,styles:x,unstyled:k,variant:K}),n0=t.Children.toArray(g),i0=n0.map((J,a0)=>t.cloneElement(J,{variant:K,classNames:I,styles:x,align:q,lineWidth:S,radius:J.props.radius||E,color:J.props.color||W,bulletSize:J.props.bulletSize||T,unstyled:k,active:J.props.active||(N?y>=n0.length-a0-1:y>=a0),lineActive:J.props.lineActive||(N?y>=n0.length-a0-1:y-1>=a0)})),t0=q==="left"?{paddingLeft:`calc(${(0,n.hO)(T)} / 2 + ${(0,n.hO)(S)} / 2)`}:{paddingRight:`calc(${(0,n.hO)(T)} / 2 + ${(0,n.hO)(S)} / 2)`};return t.createElement(i.x,m({className:u0($.root,A),ref:u,sx:[t0,...(0,o.RG)(j)]},Y),i0)});s.Item=r.j,s.displayName="@mantine/core/Timeline"},65378:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)(()=>({root:{}}));const o=n},30275:(D,b,e)=>{"use strict";e.d(b,{j:()=>l});var t=e(7294),n=e(99275),o=e(42424),r=e(84888),a=e(98793),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f={bulletSize:20,radius:"xl",lineWidth:4,lineVariant:"solid"},l=(0,t.forwardRef)((s,c)=>{const u=(0,n.N4)("TimelineItem",f,s),{className:_,bullet:A,title:g,bulletSize:y,radius:W,lineWidth:E,active:T,lineActive:q,classNames:S,styles:I,children:x,color:j,align:N,lineVariant:k,unstyled:K,variant:Y}=u,$=m(u,["className","bullet","title","bulletSize","radius","lineWidth","active","lineActive","classNames","styles","children","color","align","lineVariant","unstyled","variant"]),{classes:u0,cx:n0}=(0,o.Z)({bulletSize:y,color:j,radius:W,align:N,lineVariant:k,lineWidth:E},{name:"Timeline",classNames:S,styles:I,unstyled:K,variant:Y});return t.createElement(r.x,z({className:n0(u0.item,_),"data-line-active":q||void 0,"data-active":T||void 0,ref:c},$),t.createElement("div",{className:u0.itemBullet,"data-with-child":!!A||void 0,"data-active":T||void 0},A),t.createElement("div",{className:u0.itemBody},g&&t.createElement(a.x,{className:u0.itemTitle},g),t.createElement("div",{className:u0.itemContent},x)))});l.displayName="@mantine/core/TimelineItem"},42424:(D,b,e)=>{"use strict";e.d(b,{Z:()=>o});var t=e(99275),n=(0,t.kc)((r,{bulletSize:a,color:i,radius:p,align:d,lineVariant:M,lineWidth:O})=>{const z=r.fn.variant({variant:"filled",color:i}),m=(0,t.hO)(a),f=(0,t.hO)(O);return{itemBody:{},itemContent:{},itemBullet:{boxSizing:"border-box",width:m,height:m,borderRadius:r.fn.radius(p),border:`${f} solid ${r.colorScheme==="dark"?r.colors.dark[4]:r.colors.gray[3]}`,backgroundColor:r.colorScheme==="dark"?r.colors.dark[7]:r.white,position:"absolute",top:0,left:d==="left"?`calc(-${m} / 2 - ${f} / 2)`:"auto",right:d==="right"?`calc(-${m} / 2 - ${f} / 2)`:"auto",display:"flex",alignItems:"center",justifyContent:"center",color:r.white,"&[data-with-child]":{borderWidth:(0,t.hO)(1),backgroundColor:r.colorScheme==="dark"?r.colors.dark[4]:r.colors.gray[3],color:r.colorScheme==="dark"?r.colors.dark[0]:r.black},"&[data-active]":{borderColor:z.background,backgroundColor:r.white,"&[data-with-child]":{backgroundColor:z.background,color:r.white}}},item:{position:"relative",boxSizing:"border-box",color:r.colorScheme==="dark"?r.colors.dark[0]:r.black,paddingLeft:d==="left"?r.spacing.xl:0,paddingRight:d==="right"?r.spacing.xl:0,textAlign:d,"&:not(:last-of-type)::before":{display:"block"},"&:not(:first-of-type)":{marginTop:r.spacing.xl},"&::before":{boxSizing:"border-box",position:"absolute",top:0,left:d==="left"?`calc(${f} * -1)`:"auto",right:d==="right"?`calc(${f} * -1)`:"auto",bottom:`calc(${r.spacing.xl} * -1)`,borderLeft:`${f} ${M} ${r.colorScheme==="dark"?r.colors.dark[4]:r.colors.gray[3]}`,content:'""',display:"none"},"&[data-line-active]":{"&::before":{borderLeftColor:z.background}}},itemTitle:{fontWeight:500,lineHeight:1,marginBottom:`calc(${r.spacing.xs} / 2)`,textAlign:d}}});const o=n},12049:(D,b,e)=>{"use strict";e.d(b,{D:()=>f});var t=e(7294),n=e(99275),o=e(75030),r=e(98793),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?a(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>{var c={};for(var u in l)p.call(l,u)&&s.indexOf(u)<0&&(c[u]=l[u]);if(l!=null&&i)for(var u of i(l))s.indexOf(u)<0&&d.call(l,u)&&(c[u]=l[u]);return c};const m={order:1},f=(0,t.forwardRef)((l,s)=>{const c=(0,n.N4)("Title",m,l),{className:u,order:_,children:A,unstyled:g,size:y,weight:W,inline:E,variant:T}=c,q=z(c,["className","order","children","unstyled","size","weight","inline","variant"]),{classes:S,cx:I}=(0,o.Z)({element:`h${_}`,weight:W,inline:E},{name:"Title",unstyled:g,variant:T,size:y});return[1,2,3,4,5,6].includes(_)?t.createElement(r.x,O({variant:T,component:`h${_}`,ref:s,className:I(S.root,u)},q),A):null});f.displayName="@mantine/core/Title"},75030:(D,b,e)=>{"use strict";e.d(b,{Z:()=>l});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(s,c,u)=>c in s?n(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,M=(s,c)=>{for(var u in c||(c={}))i.call(c,u)&&d(s,u,c[u]);if(a)for(var u of a(c))p.call(c,u)&&d(s,u,c[u]);return s},O=(s,c)=>o(s,r(c));function z(s,c,u){return typeof s<"u"?s in u.headings.sizes?u.headings.sizes[s].fontSize:(0,t.hO)(s):u.headings.sizes[c].fontSize}function m(s,c,u){return typeof s<"u"&&s in u.headings.sizes?u.headings.sizes[s].lineHeight:u.headings.sizes[c].lineHeight}var f=(0,t.kc)((s,{element:c,weight:u,inline:_},{size:A})=>({root:O(M({},s.fn.fontStyles()),{fontFamily:s.headings.fontFamily,fontWeight:u||s.headings.sizes[c].fontWeight||s.headings.fontWeight,fontSize:z(A,c,s),lineHeight:_?1:m(A,c,s),margin:0})}));const l=f},93987:(D,b,e)=>{"use strict";e.d(b,{W:()=>t});const t={children:"Tooltip component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported"}},7835:(D,b,e)=>{"use strict";e.d(b,{u:()=>I});var t=e(7294),n=e(92159),o=e(76322),r=e(99275),a=e(79336),i=e(10602),p=e(80139),d=e(93987),M=e(10741),O=e(14870),z=e(83143),m=e(97688),f=e(84888),l=e(69696),s=Object.defineProperty,c=Object.defineProperties,u=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,y=(x,j,N)=>j in x?s(x,j,{enumerable:!0,configurable:!0,writable:!0,value:N}):x[j]=N,W=(x,j)=>{for(var N in j||(j={}))A.call(j,N)&&y(x,N,j[N]);if(_)for(var N of _(j))g.call(j,N)&&y(x,N,j[N]);return x},E=(x,j)=>c(x,u(j)),T=(x,j)=>{var N={};for(var k in x)A.call(x,k)&&j.indexOf(k)<0&&(N[k]=x[k]);if(x!=null&&_)for(var k of _(x))j.indexOf(k)<0&&g.call(x,k)&&(N[k]=x[k]);return N};const q={position:"top",refProp:"ref",withinPortal:!1,inline:!1,arrowSize:4,arrowOffset:5,arrowRadius:0,arrowPosition:"side",offset:5,transitionProps:{duration:100,transition:"fade"},width:"auto",events:{hover:!0,focus:!1,touch:!1},zIndex:(0,r.wd)("popover"),positionDependencies:[]},S=(0,t.forwardRef)((x,j)=>{var N;const k=(0,t.useRef)(null),K=(0,r.N4)("Tooltip",q,x),{children:Y,position:$,refProp:u0,label:n0,openDelay:i0,closeDelay:t0,onPositionChange:J,opened:a0,withinPortal:b0,portalProps:d0,radius:O0,color:_0,classNames:h0,styles:A0,unstyled:w0,style:Z0,className:Y0,withArrow:J0,arrowSize:g0,arrowOffset:B0,arrowRadius:E0,arrowPosition:K0,offset:j0,transitionProps:n1,multiline:r1,width:s1,events:O1,zIndex:A1,disabled:v1,positionDependencies:C1,onClick:E1,onMouseEnter:x0,onMouseLeave:H0,inline:_1,variant:u1,keepMounted:y0}=K,C0=T(K,["children","position","refProp","label","openDelay","closeDelay","onPositionChange","opened","withinPortal","portalProps","radius","color","classNames","styles","unstyled","style","className","withArrow","arrowSize","arrowOffset","arrowRadius","arrowPosition","offset","transitionProps","multiline","width","events","zIndex","disabled","positionDependencies","onClick","onMouseEnter","onMouseLeave","inline","variant","keepMounted"]),{classes:U0,cx:V0,theme:z1}=(0,M.Z)({radius:O0,color:_0,width:s1,multiline:r1},{name:"Tooltip",classNames:h0,styles:A0,unstyled:w0,variant:u1}),P1=(0,p.l)({position:(0,O._)(z1.dir,$),closeDelay:t0,openDelay:i0,onPositionChange:J,opened:a0,events:O1,arrowRef:k,arrowOffset:B0,offset:j0+(J0?g0/2:0),positionDependencies:[...C1,Y],inline:_1});if(!(0,n.kK)(Y))throw new Error(d.W.children);const X0=(0,o.Yx)(P1.reference,Y.ref,j);return t.createElement(t.Fragment,null,t.createElement(z.q,E(W({},d0),{withinPortal:b0}),t.createElement(m.u,E(W({keepMounted:y0,mounted:!v1&&P1.opened},n1),{transition:n1.transition||"fade",duration:P1.isGroupPhase?10:(N=n1.duration)!=null?N:100}),k0=>{var e1,f1;return t.createElement(f.x,W(W({},C0),P1.getFloatingProps({ref:P1.floating,className:U0.tooltip,style:E(W(W({},Z0),k0),{zIndex:A1,top:(e1=P1.y)!=null?e1:0,left:(f1=P1.x)!=null?f1:0})})),n0,t.createElement(l.Y,{ref:k,arrowX:P1.arrowX,arrowY:P1.arrowY,visible:J0,position:P1.placement,arrowSize:g0,arrowOffset:B0,arrowRadius:E0,arrowPosition:K0,className:U0.arrow}))})),(0,t.cloneElement)(Y,P1.getReferenceProps(W({onClick:E1,onMouseEnter:x0,onMouseLeave:H0,onMouseMove:x.onMouseMove,onPointerDown:x.onPointerDown,onPointerEnter:x.onPointerEnter,[u0]:X0,className:V0(Y0,Y.props.className)},Y.props))))});S.Group=a.A,S.Floating=i.z,S.displayName="@mantine/core/Tooltip";const I=S},10741:(D,b,e)=>{"use strict";e.d(b,{Z:()=>f});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(l,s,c)=>s in l?n(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,M=(l,s)=>{for(var c in s||(s={}))i.call(s,c)&&d(l,c,s[c]);if(a)for(var c of a(s))p.call(s,c)&&d(l,c,s[c]);return l},O=(l,s)=>o(l,r(s));function z(l,s){if(!s)return{backgroundColor:l.colorScheme==="dark"?l.colors.gray[2]:l.colors.gray[9],color:l.colorScheme==="dark"?l.black:l.white};const c=l.fn.variant({variant:"filled",color:s,primaryFallback:!1});return{backgroundColor:c.background,color:c.color}}var m=(0,t.kc)((l,{color:s,radius:c,width:u,multiline:_})=>({tooltip:O(M(M({},l.fn.fontStyles()),z(l,s)),{lineHeight:l.lineHeight,fontSize:l.fontSizes.sm,borderRadius:l.fn.radius(c),padding:`calc(${l.spacing.xs} / 2) ${l.spacing.xs}`,position:"absolute",whiteSpace:_?"unset":"nowrap",pointerEvents:"none",width:u}),arrow:{backgroundColor:"inherit",border:0,zIndex:1}}));const f=m},10602:(D,b,e)=>{"use strict";e.d(b,{z:()=>y});var t=e(7294),n=e(92159),o=e(76322),r=e(99275),a=e(10741),i=e(93987),p=e(36879),d=e(83143),M=e(84888),O=Object.defineProperty,z=Object.defineProperties,m=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(W,E,T)=>E in W?O(W,E,{enumerable:!0,configurable:!0,writable:!0,value:T}):W[E]=T,u=(W,E)=>{for(var T in E||(E={}))l.call(E,T)&&c(W,T,E[T]);if(f)for(var T of f(E))s.call(E,T)&&c(W,T,E[T]);return W},_=(W,E)=>z(W,m(E)),A=(W,E)=>{var T={};for(var q in W)l.call(W,q)&&E.indexOf(q)<0&&(T[q]=W[q]);if(W!=null&&f)for(var q of f(W))E.indexOf(q)<0&&s.call(W,q)&&(T[q]=W[q]);return T};const g={refProp:"ref",withinPortal:!0,offset:10,position:"right",zIndex:(0,r.wd)("popover")};function y(W){var E;const T=(0,r.N4)("TooltipFloating",g,W),{children:q,refProp:S,withinPortal:I,portalProps:x,style:j,className:N,classNames:k,styles:K,unstyled:Y,radius:$,color:u0,label:n0,offset:i0,position:t0,multiline:J,width:a0,zIndex:b0,disabled:d0,variant:O0}=T,_0=A(T,["children","refProp","withinPortal","portalProps","style","className","classNames","styles","unstyled","radius","color","label","offset","position","multiline","width","zIndex","disabled","variant"]),{handleMouseMove:h0,x:A0,y:w0,opened:Z0,boundaryRef:Y0,floating:J0,setOpened:g0}=(0,p.u)({offset:i0,position:t0}),{classes:B0,cx:E0}=(0,a.Z)({radius:$,color:u0,multiline:J,width:a0},{name:"TooltipFloating",classNames:k,styles:K,unstyled:Y,variant:O0});if(!(0,n.kK)(q))throw new Error(i.W.children);const K0=(0,o.Yx)(Y0,q.ref),j0=r1=>{var s1,O1;(O1=(s1=q.props).onMouseEnter)==null||O1.call(s1,r1),h0(r1),g0(!0)},n1=r1=>{var s1,O1;(O1=(s1=q.props).onMouseLeave)==null||O1.call(s1,r1),g0(!1)};return t.createElement(t.Fragment,null,t.createElement(d.q,_(u({},x),{withinPortal:I}),t.createElement(M.x,_(u({},_0),{ref:J0,className:E0(B0.tooltip,N),style:_(u({},j),{zIndex:b0,display:!d0&&Z0?"block":"none",top:w0!=null?w0:"",left:(E=Math.round(A0))!=null?E:""})}),n0)),(0,t.cloneElement)(q,_(u({},q.props),{[S]:K0,onMouseEnter:j0,onMouseLeave:n1})))}y.displayName="@mantine/core/TooltipFloating"},36879:(D,b,e)=>{"use strict";e.d(b,{u:()=>o});var t=e(7294),n=e(94993);function o({offset:r,position:a}){const[i,p]=(0,t.useState)(!1),d=(0,t.useRef)(),{x:M,y:O,reference:z,floating:m,refs:f,update:l,placement:s}=(0,n.YF)({placement:a,middleware:[(0,n.uY)({crossAxis:!0,padding:5,rootBoundary:"document"})]}),c=s.includes("right")?r:a.includes("left")?r*-1:0,u=s.includes("bottom")?r:a.includes("top")?r*-1:0,_=(0,t.useCallback)(({clientX:A,clientY:g})=>{z({getBoundingClientRect(){return{width:0,height:0,x:A,y:g,left:A+c,top:g+u,right:A,bottom:g}}})},[z]);return(0,t.useEffect)(()=>{if(f.floating.current){const A=d.current;A.addEventListener("mousemove",_);const g=(0,n.Kx)(f.floating.current);return g.forEach(y=>{y.addEventListener("scroll",l)}),()=>{A.removeEventListener("mousemove",_),g.forEach(y=>{y.removeEventListener("scroll",l)})}}},[z,f.floating.current,l,_,i]),{handleMouseMove:_,x:M,y:O,opened:i,setOpened:p,boundaryRef:d,floating:m}}},27542:(D,b,e)=>{"use strict";e.d(b,{F:()=>r,j:()=>o});var t=e(7294);const n=(0,t.createContext)(!1),o=n.Provider,r=()=>(0,t.useContext)(n)},79336:(D,b,e)=>{"use strict";e.d(b,{A:()=>r});var t=e(7294),n=e(94993),o=e(27542);function r({children:a,openDelay:i=0,closeDelay:p=0}){return t.createElement(o.j,{value:!0},t.createElement(n.e0,{delay:{open:i,close:p}},a))}r.displayName="@mantine/core/TooltipGroup"},80139:(D,b,e)=>{"use strict";e.d(b,{l:()=>i});var t=e(7294),n=e(94993),o=e(76322),r=e(27542),a=e(30212);function i(p){const[d,M]=(0,t.useState)(!1),z=typeof p.opened=="boolean"?p.opened:d,m=(0,r.F)(),f=(0,o.Me)(),{delay:l,currentId:s,setCurrentId:c}=(0,n.tj)(),u=(0,t.useCallback)(k=>{M(k),k&&c(f)},[c,f]),{x:_,y:A,reference:g,floating:y,context:W,refs:E,update:T,placement:q,middlewareData:{arrow:{x:S,y:I}={}}}=(0,n.YF)({placement:p.position,open:z,onOpenChange:u,middleware:[(0,n.cv)(p.offset),(0,n.uY)({padding:8}),(0,n.RR)(),(0,n.x7)({element:p.arrowRef,padding:p.arrowOffset}),...p.inline?[(0,n.Qo)()]:[]]}),{getReferenceProps:x,getFloatingProps:j}=(0,n.NI)([(0,n.XI)(W,{enabled:p.events.hover,delay:m?l:{open:p.openDelay,close:p.closeDelay},mouseOnly:!p.events.touch}),(0,n.KK)(W,{enabled:p.events.focus,keyboardOnly:!0}),(0,n.qs)(W,{role:"tooltip"}),(0,n.bQ)(W,{enabled:typeof p.opened===void 0}),(0,n.Qu)(W,{id:f})]);return(0,a.L)({opened:z,position:p.position,positionDependencies:p.positionDependencies,floating:{refs:E,update:T}}),(0,o.lR)(()=>{var k;(k=p.onPositionChange)==null||k.call(p,q)},[q]),{x:_,y:A,arrowX:S,arrowY:I,reference:g,floating:y,getFloatingProps:j,getReferenceProps:x,isGroupPhase:z&&s&&s!==f,opened:z,placement:q}}},30794:(D,b,e)=>{"use strict";e.d(b,{A:()=>o});var t=e(7294),n=e(22294);const o=t.memo(({data:r,selected:a,radius:i})=>t.createElement(n.X,{checked:a,onChange:()=>{},label:r.label,tabIndex:-1,radius:i,sx:{pointerEvents:"none"}}))},55093:(D,b,e)=>{"use strict";e.d(b,{w:()=>s});var t=e(7294),n=e(99275),o=e(76322),r=e(92159),a=e(75851),i=e(77124),p=e(214),d=e(56354),M=e(6277),O=e(98793),z=e(80061),m=e(41281);const f={Prev:i.lH,Next:i.Tx,First:i.wk,Last:i.Kk},l={Next:i.lH,Prev:i.Tx,Last:i.wk,First:i.Kk};function s({className:c,data:u,onSelect:_,selection:A,itemComponent:g,listComponent:y,transferIcon:W,transferAllIcon:E,transferAllMatchingFilter:T,searchPlaceholder:q,query:S,onSearch:I,filter:x,nothingFound:j,placeholder:N,title:k,showTransferAll:K,reversed:Y,onMoveAll:$,onMove:u0,height:n0,radius:i0,classNames:t0,styles:J,limit:a0,unstyled:b0,variant:d0}){const{classes:O0,cx:_0,theme:h0}=(0,p.Z)({reversed:Y,native:y!==a.r,radius:i0},{name:"TransferList",classNames:t0,styles:J,unstyled:b0,variant:d0}),A0=[],w0=[],[Z0,Y0]=(0,t.useState)(-1),J0=u.filter(C1=>x(S,C1)).slice(0,a0),g0=y||"div",B0=h0.dir==="rtl"?l:f,E0=(0,t.useRef)({}),K0=(0,r.jp)({data:J0}),{scrollIntoView:j0,targetRef:n1,scrollableRef:r1}=(0,o.gE)({duration:0,offset:5,cancelable:!1,isList:!0});let s1=null;K0.forEach((C1,E1)=>{const x0=t.createElement(d.k,{unstyled:b0,tabIndex:-1,onClick:()=>_(C1.value),key:C1.value,onMouseEnter:()=>Y0(E1),className:_0(O0.transferListItem,{[O0.transferListItemHovered]:E1===Z0}),ref:H0=>{E0&&E0.current&&(E0.current[C1.value]=H0)}},t.createElement(g,{data:C1,selected:A.includes(C1.value),radius:i0}));C1.group?(s1!==C1.group&&(s1=C1.group,w0.push(t.createElement("div",{className:O0.separator,key:s1},t.createElement(M.i,{classNames:{label:O0.separatorLabel},label:s1})))),w0.push(x0)):A0.push(x0)}),w0.length>0&&A0.length>0&&A0.unshift(t.createElement("div",{className:O0.separator},t.createElement(M.i,{unstyled:b0,classNames:{label:O0.separatorLabel}})));const O1=C1=>{switch(C1.key){case"Enter":{C1.preventDefault(),J0[Z0]&&_(J0[Z0].value);break}case"ArrowDown":{C1.preventDefault(),Y0(E1=>{var x0;const H0=E1{var x0;const H0=E1>0?E1-1:E1;return n1.current=E0.current[(x0=J0[H0])==null?void 0:x0.value],j0({alignment:"start"}),H0})}},A1=Y?t.createElement(B0.Prev,{size:"1rem"}):t.createElement(B0.Next,{size:"1rem"}),v1=Y?t.createElement(B0.First,{size:"1rem"}):t.createElement(B0.Last,{size:"1rem"});return t.createElement("div",{className:_0(O0.transferList,c)},k&&t.createElement(O.x,{weight:500,unstyled:b0,className:O0.transferListTitle},k),t.createElement("div",{className:O0.transferListBody},t.createElement("div",{className:O0.transferListHeader},t.createElement(z.o,{unstyled:b0,value:S,onChange:C1=>{I(C1.currentTarget.value),Y0(0)},onFocus:()=>Y0(0),onBlur:()=>Y0(-1),placeholder:q,radius:0,onKeyDown:O1,sx:{flex:1},classNames:{input:O0.transferListSearch}}),t.createElement(m.A,{variant:"default",size:36,radius:0,className:O0.transferListControl,disabled:A.length===0,onClick:u0,unstyled:b0},W?t.createElement(W,{reversed:Y}):A1),K&&t.createElement(m.A,{variant:"default",size:36,radius:0,className:O0.transferListControl,disabled:T?J0.length===0:u.length===0,onClick:$,unstyled:b0},E?t.createElement(E,{reversed:Y}):v1)),t.createElement(g0,{ref:r1,onMouseLeave:()=>Y0(-1),className:O0.transferListItems,style:{height:(0,n.hO)(n0),position:"relative",overflowX:"hidden"}},w0.length>0||A0.length>0?t.createElement(t.Fragment,null,w0,A0):t.createElement(O.x,{color:"dimmed",unstyled:b0,size:"sm",align:"center",mt:"sm"},!S&&N?N:j))))}s.displayName="@mantine/core/RenderList"},214:(D,b,e)=>{"use strict";e.d(b,{Z:()=>r});var t=e(99275);const n=(0,t.hO)(7);var o=(0,t.kc)((a,{reversed:i,native:p,radius:d})=>{const M=(0,t.hO)(a.fn.radius(d));return{transferList:{flex:1,display:"flex",flexDirection:"column"},transferListItem:{display:"block",width:`calc(100% - (${n} * 2))`,padding:n,marginLeft:`calc(${a.spacing.sm} - ${n})`,marginRight:`calc(${a.spacing.sm} - ${n})`,borderRadius:a.fn.radius(d),"&:first-of-type":{marginTop:`calc(${a.spacing.sm} - ${n})`},"&:last-of-type":{marginBottom:`calc(${a.spacing.sm} - ${n})`}},transferListItemHovered:{backgroundColor:a.colorScheme==="dark"?a.colors.dark[6]:a.colors.gray[0]},transferListItems:{overflow:p?"auto":"hidden"},transferListHeader:{display:"flex",flexDirection:i?"row-reverse":"row"},transferListBody:{flex:1,borderRadius:a.fn.radius(d),backgroundColor:a.colorScheme==="dark"?a.colors.dark[7]:a.white,border:`${(0,t.hO)(1)} solid ${a.colorScheme==="dark"?a.colors.dark[4]:a.colors.gray[4]}`},transferListTitle:{marginBottom:(0,t.hO)(5)},transferListSearch:{borderTopWidth:0,borderRightWidth:0,borderLeftWidth:0,borderTopLeftRadius:i?0:`calc(${M} - ${(0,t.hO)(1)})`,borderTopRightRadius:i?`calc(${M} - ${(0,t.hO)(1)})`:0,display:"block",borderBottomColor:a.colorScheme==="dark"?a.colors.dark[4]:a.colors.gray[4]},transferListControl:{borderTop:0,borderRightWidth:i?void 0:0,borderLeftWidth:i?0:void 0,borderColor:a.colorScheme==="dark"?a.colors.dark[4]:a.colors.gray[4],"&:last-of-type":{borderTopLeftRadius:i?`calc(${M} - ${(0,t.hO)(1)})`:0,borderTopRightRadius:i?0:`calc(${M} - ${(0,t.hO)(1)})`},"&:disabled":{backgroundColor:a.colorScheme==="dark"?a.colors.dark[6]:"transparent",borderColor:a.colorScheme==="dark"?a.colors.dark[4]:a.colors.gray[4]}},separator:{boxSizing:"border-box",textAlign:"left",width:"100%",padding:`${(0,t.hO)(7)} ${(0,t.hO)(12)}`},separatorLabel:{color:a.colorScheme==="dark"?a.colors.dark[3]:a.colors.gray[5]}}});const r=o},49909:(D,b,e)=>{"use strict";e.d(b,{J:()=>y});var t=e(7294),n=e(99275),o=e(76322),r=e(55093),a=e(75851),i=e(30794),p=e(71310),d=e(34925),M=Object.defineProperty,O=Object.defineProperties,z=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,s=(W,E,T)=>E in W?M(W,E,{enumerable:!0,configurable:!0,writable:!0,value:T}):W[E]=T,c=(W,E)=>{for(var T in E||(E={}))f.call(E,T)&&s(W,T,E[T]);if(m)for(var T of m(E))l.call(E,T)&&s(W,T,E[T]);return W},u=(W,E)=>O(W,z(E)),_=(W,E)=>{var T={};for(var q in W)f.call(W,q)&&E.indexOf(q)<0&&(T[q]=W[q]);if(W!=null&&m)for(var q of m(W))E.indexOf(q)<0&&l.call(W,q)&&(T[q]=W[q]);return T};function A(W,E){return E.label.toLowerCase().trim().includes(W.toLowerCase().trim())}const g={itemComponent:i.A,filter:A,titles:[null,null],placeholder:[null,null],listHeight:150,listComponent:a.r,showTransferAll:!0,limit:1/0,transferAllMatchingFilter:!1},y=(0,t.forwardRef)((W,E)=>{const T=(0,n.N4)("TransferList",g,W),{value:q,onChange:S,itemComponent:I,searchPlaceholder:x,searchValues:j,onSearch:N,filter:k,nothingFound:K,placeholder:Y,titles:$,initialSelection:u0,listHeight:n0,listComponent:i0,showTransferAll:t0,breakpoint:J,radius:a0,classNames:b0,styles:d0,limit:O0,unstyled:_0,transferIcon:h0,transferAllIcon:A0,variant:w0,transferAllMatchingFilter:Z0}=T,Y0=_(T,["value","onChange","itemComponent","searchPlaceholder","searchValues","onSearch","filter","nothingFound","placeholder","titles","initialSelection","listHeight","listComponent","showTransferAll","breakpoint","radius","classNames","styles","limit","unstyled","transferIcon","transferAllIcon","variant","transferAllMatchingFilter"]),[J0,g0]=(0,p.U)(u0),[B0,E0]=(0,o.Ch)({value:j,defaultValue:["",""],finalValue:["",""],onChange:N}),K0=s1=>{const O1=Array(2),A1=s1===0?1:0;if(Z0){const v1=B0[s1],C1=q[s1].filter(x0=>k(v1,x0)).slice(0,O0),E1=q[s1].filter(x0=>!k(v1,x0));O1[s1]=E1,O1[A1]=[...q[A1],...C1]}else O1[s1]=[],O1[A1]=[...q[A1],...q[s1]];S(O1),g0.deselectAll(s1)},j0=s1=>{const O1=s1===0?1:0,A1=Array(2),v1=q[s1].reduce((C1,E1)=>(J0[s1].includes(E1.value)?C1.current.push(E1):C1.filtered.push(E1),C1),{filtered:[],current:[]});A1[s1]=v1.filtered,A1[O1]=[...v1.current,...q[O1]],S(A1),g0.deselectAll(s1)},n1=J?[{maxWidth:J,cols:1}]:[],r1={itemComponent:I,listComponent:i0,transferIcon:h0,transferAllIcon:A0,filter:k,height:n0,showTransferAll:t0,classNames:b0,styles:d0,limit:O0,radius:a0};return t.createElement(d.M,c({cols:2,spacing:"xl",breakpoints:n1,ref:E,unstyled:_0},Y0),t.createElement(r.w,u(c({},r1),{data:q[0],selection:J0[0],onSelect:s1=>g0.select(0,s1),onMoveAll:()=>K0(0),onMove:()=>j0(0),title:$[0],placeholder:Array.isArray(Y)?Y[0]:Y,searchPlaceholder:Array.isArray(x)?x[0]:x,nothingFound:Array.isArray(K)?K[0]:K,query:B0[0],onSearch:s1=>E0([s1,B0[1]]),unstyled:_0,variant:w0,transferAllMatchingFilter:Z0})),t.createElement(r.w,u(c({},r1),{data:q[1],selection:J0[1],onSelect:s1=>g0.select(1,s1),onMoveAll:()=>K0(1),onMove:()=>j0(1),title:$[1],placeholder:Array.isArray(Y)?Y[1]:Y,searchPlaceholder:Array.isArray(x)?x[1]:x,nothingFound:Array.isArray(K)?K[1]:K,query:B0[1],onSearch:s1=>E0([B0[0],s1]),reversed:!0,unstyled:_0,variant:w0,transferAllMatchingFilter:Z0})))});y.displayName="@mantine/core/TransferList"},71310:(D,b,e)=>{"use strict";e.d(b,{U:()=>n});var t=e(7294);function n(o=[[],[]]){const[r,a]=(0,t.useState)(o);return[r,{select:(O,z)=>a(m=>{const f=m[O];let l=f;typeof z=="string"&&(f.includes(z)?l=f.filter(c=>c!==z):l=[...f,z]);const s=[...m];return s[O]=l,s}),deselect:(O,z)=>a(m=>{const f=[...m];return f[O]=m[O].filter(l=>!z.includes(l)),f}),deselectAll:O=>a(z=>{const m=[...z];return m[O]=[],m})}]}},97688:(D,b,e)=>{"use strict";e.d(b,{u:()=>r});var t=e(7294),n=e(1924),o=e(59068);function r({keepMounted:a,transition:i,duration:p=250,exitDuration:d=p,mounted:M,children:O,timingFunction:z,onExit:m,onEntered:f,onEnter:l,onExited:s}){const{transitionDuration:c,transitionStatus:u,transitionTimingFunction:_}=(0,o.Y)({mounted:M,exitDuration:d,duration:p,timingFunction:z,onExit:m,onEntered:f,onEnter:l,onExited:s});return c===0?M?t.createElement(t.Fragment,null,O({})):a?O({display:"none"}):null:u==="exited"?a?O({display:"none"}):null:t.createElement(t.Fragment,null,O((0,n.B)({transition:i,duration:c,state:u,timingFunction:_})))}r.displayName="@mantine/core/Transition"},1924:(D,b,e)=>{"use strict";e.d(b,{B:()=>M});var t=e(89979),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(O,z,m)=>z in O?n(O,z,{enumerable:!0,configurable:!0,writable:!0,value:m}):O[z]=m,p=(O,z)=>{for(var m in z||(z={}))r.call(z,m)&&i(O,m,z[m]);if(o)for(var m of o(z))a.call(z,m)&&i(O,m,z[m]);return O};const d={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};function M({transition:O,state:z,duration:m,timingFunction:f}){const l={transitionDuration:`${m}ms`,transitionTimingFunction:f};return typeof O=="string"?O in t.p?p(p(p({transitionProperty:t.p[O].transitionProperty},l),t.p[O].common),t.p[O][d[z]]):null:p(p(p({transitionProperty:O.transitionProperty},l),O.common),O[d[z]])}},3127:(D,b,e)=>{"use strict";e.d(b,{I:()=>n});var t=e(89979);const n=Object.keys(t.p)},89979:(D,b,e)=>{"use strict";e.d(b,{p:()=>m});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l));const z={in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${(0,t.hO)(10)})`},transitionProperty:"transform, opacity"},m={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:`translateY(-${(0,t.hO)(20)}) skew(-10deg, -5deg)`},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:`translateY(${(0,t.hO)(20)}) skew(-10deg, -5deg)`},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:`translateY(${(0,t.hO)(20)}) rotate(-5deg)`},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:`translateY(${(0,t.hO)(20)}) rotate(5deg)`},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:O(M({},z),{common:{transformOrigin:"center center"}}),"pop-bottom-left":O(M({},z),{common:{transformOrigin:"bottom left"}}),"pop-bottom-right":O(M({},z),{common:{transformOrigin:"bottom right"}}),"pop-top-left":O(M({},z),{common:{transformOrigin:"top left"}}),"pop-top-right":O(M({},z),{common:{transformOrigin:"top right"}})}},59068:(D,b,e)=>{"use strict";e.d(b,{Y:()=>r});var t=e(7294),n=e(76322),o=e(99275);function r({duration:a,exitDuration:i,timingFunction:p,mounted:d,onEnter:M,onExit:O,onEntered:z,onExited:m}){const f=(0,o.rZ)(),l=(0,n.JZ)(),s=f.respectReducedMotion?l:!1,[c,u]=(0,t.useState)(s?0:a),[_,A]=(0,t.useState)(d?"entered":"exited"),g=(0,t.useRef)(-1),y=W=>{const E=W?M:O,T=W?z:m;A(W?"pre-entering":"pre-exiting"),window.clearTimeout(g.current);const q=s?0:W?a:i;if(u(q),q===0)typeof E=="function"&&E(),typeof T=="function"&&T(),A(W?"entered":"exited");else{const S=window.setTimeout(()=>{typeof E=="function"&&E(),A(W?"entering":"exiting")},10);g.current=window.setTimeout(()=>{window.clearTimeout(S),typeof T=="function"&&T(),A(W?"entered":"exited")},q)}};return(0,n.lR)(()=>{y(d)},[d]),(0,t.useEffect)(()=>()=>window.clearTimeout(g.current),[]),{transitionDuration:c,transitionStatus:_,transitionTimingFunction:p||f.transitionTimingFunction}}},62706:(D,b,e)=>{"use strict";e.d(b,{l:()=>m});var t=e(7294),n=e(99275),o=e(95250),r=e(84888),a=Object.defineProperty,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(f,l,s)=>l in f?a(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,O=(f,l)=>{for(var s in l||(l={}))p.call(l,s)&&M(f,s,l[s]);if(i)for(var s of i(l))d.call(l,s)&&M(f,s,l[s]);return f},z=(f,l)=>{var s={};for(var c in f)p.call(f,c)&&l.indexOf(c)<0&&(s[c]=f[c]);if(f!=null&&i)for(var c of i(f))l.indexOf(c)<0&&d.call(f,c)&&(s[c]=f[c]);return s};const m=(0,t.forwardRef)((f,l)=>{const s=(0,n.N4)("TypographyStylesProvider",{},f),{className:c,unstyled:u,variant:_}=s,A=z(s,["className","unstyled","variant"]),{classes:g,cx:y}=(0,o.Z)(null,{name:"TypographyStylesProvider",unstyled:u,variant:_});return t.createElement(r.x,O({className:y(g.root,c),ref:l},A))});m.displayName="@mantine/core/TypographyStylesProvider"},95250:(D,b,e)=>{"use strict";e.d(b,{Z:()=>f});var t=e(99275),n=e(92159),o=Object.defineProperty,r=Object.defineProperties,a=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(l,s,c)=>s in l?o(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,O=(l,s)=>{for(var c in s||(s={}))p.call(s,c)&&M(l,c,s[c]);if(i)for(var c of i(s))d.call(s,c)&&M(l,c,s[c]);return l},z=(l,s)=>r(l,a(s)),m=(0,t.kc)(l=>{const s=(0,n.XP)(l.headings.sizes).reduce((c,u)=>{const _=l.headings.sizes[u];return c[`& ${u}`]=z(O({fontFamily:l.headings.fontFamily,fontWeight:_.fontWeight||l.headings.fontWeight,marginTop:typeof _.lineHeight=="number"?`calc(${l.spacing.xl} * ${_.lineHeight})`:l.spacing.xl,marginBottom:l.spacing.sm},_),{[l.fn.smallerThan("sm")]:{fontSize:`calc(${(0,t.hO)(_.fontSize)} / 1.3)`}}),c},{});return{root:z(O(z(O({},l.fn.fontStyles()),{color:l.colorScheme==="dark"?l.colors.dark[0]:l.black,lineHeight:l.lineHeight,fontSize:l.fontSizes.md,[l.fn.smallerThan("sm")]:{fontSize:l.fontSizes.sm}}),s),{"& img":{maxWidth:"100%",marginBottom:l.spacing.xs},"& p":{marginTop:0,marginBottom:l.spacing.lg},"& mark":{backgroundColor:l.fn.themeColor("yellow",l.colorScheme==="dark"?5:2),color:l.colorScheme==="dark"?l.colors.dark[9]:"inherit"},"& hr":{marginTop:l.spacing.md,marginBottom:l.spacing.sm,borderBottom:0,borderLeft:0,borderRight:0,borderTop:`${(0,t.hO)(1)} dashed ${l.colors.gray[l.colorScheme==="dark"?4:6]}`},"& a":z(O({},l.fn.focusStyles()),{color:l.colors[l.primaryColor][l.colorScheme==="dark"?4:6],textDecoration:"none","&:hover":{textDecoration:"underline"}}),"& pre":{padding:l.spacing.xs,lineHeight:l.lineHeight,margin:0,marginTop:l.spacing.md,marginBottom:l.spacing.md,overflowX:"auto",fontFamily:l.fontFamilyMonospace,fontSize:l.fontSizes.sm,borderRadius:l.radius.sm,backgroundColor:l.colorScheme==="dark"?l.colors.dark[8]:l.colors.gray[0],"& code":{backgroundColor:"transparent",padding:0,borderRadius:0,color:"inherit",border:0}},"& code":{lineHeight:l.lineHeight,padding:`${(0,t.hO)(1)} ${(0,t.hO)(5)}`,borderRadius:l.radius.sm,color:l.colorScheme==="dark"?l.colors.dark[0]:l.black,backgroundColor:l.colorScheme==="dark"?l.colors.dark[9]:l.colors.gray[0],fontFamily:l.fontFamilyMonospace,fontSize:l.fontSizes.xs,border:`${(0,t.hO)(1)} solid ${l.colorScheme==="dark"?l.colors.dark[9]:l.colors.gray[3]}`},"& ul, & ol":{marginBottom:l.spacing.md,paddingLeft:38,"& li":{marginTop:l.spacing.xs}},"& table":{width:"100%",borderCollapse:"collapse",captionSide:"bottom",marginBottom:l.spacing.md,"& caption":{marginTop:l.spacing.xs,fontSize:l.fontSizes.sm,color:l.colorScheme==="dark"?l.colors.dark[2]:l.colors.gray[6]},"& th":{textAlign:"left",fontWeight:"bold",color:l.colorScheme==="dark"?l.colors.dark[0]:l.colors.gray[7],fontSize:14,padding:`${(0,t.hO)(7)} ${(0,t.hO)(10)}`},"& thead th":{borderBottom:`${(0,t.hO)(1)} solid ${l.colorScheme==="dark"?l.colors.dark[4]:l.colors.gray[3]}`},"& tfoot th":{borderTop:`${(0,t.hO)(1)} solid ${l.colorScheme==="dark"?l.colors.dark[4]:l.colors.gray[3]}`},"& td":{padding:`${(0,t.hO)(7)} ${(0,t.hO)(10)}`,borderBottom:`${(0,t.hO)(1)} solid ${l.colorScheme==="dark"?l.colors.dark[4]:l.colors.gray[3]}`,fontSize:14},"& tr:last-of-type td":{borderBottom:"none"}},"& blockquote":{fontSize:l.fontSizes.lg,lineHeight:l.lineHeight,margin:`${l.spacing.md} 0`,borderTopRightRadius:l.radius.sm,borderBottomRightRadius:l.radius.sm,padding:`${l.spacing.md} ${l.spacing.lg}`,color:l.colorScheme==="dark"?l.colors.dark[0]:l.black,borderLeft:`${(0,t.hO)(6)} solid ${l.colorScheme==="dark"?l.colors.dark[4]:l.colors.gray[3]}`,"& cite":{display:"block",fontSize:l.fontSizes.sm,marginTop:l.spacing.xs,color:l.colorScheme==="dark"?l.colors.dark[2]:l.colors.gray[6],overflow:"hidden",textOverflow:"ellipsis"}}})}});const f=m},56354:(D,b,e)=>{"use strict";e.d(b,{k:()=>l});var t=e(7294),n=e(99275),o=e(92159),r=e(37325),a=e(84888),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(s,c,u)=>c in s?i(s,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[c]=u,z=(s,c)=>{for(var u in c||(c={}))d.call(c,u)&&O(s,u,c[u]);if(p)for(var u of p(c))M.call(c,u)&&O(s,u,c[u]);return s},m=(s,c)=>{var u={};for(var _ in s)d.call(s,_)&&c.indexOf(_)<0&&(u[_]=s[_]);if(s!=null&&p)for(var _ of p(s))c.indexOf(_)<0&&M.call(s,_)&&(u[_]=s[_]);return u};const f=(0,t.forwardRef)((s,c)=>{const u=(0,n.N4)("UnstyledButton",{},s),{className:_,component:A="button",unstyled:g,variant:y}=u,W=m(u,["className","component","unstyled","variant"]),{classes:E,cx:T}=(0,r.Z)(null,{name:"UnstyledButton",unstyled:g,variant:y});return t.createElement(a.x,z({component:A,ref:c,className:T(E.root,_),type:A==="button"?"button":void 0},W))});f.displayName="@mantine/core/UnstyledButton";const l=(0,o.Fm)(f)},37325:(D,b,e)=>{"use strict";e.d(b,{Z:()=>m});var t=e(99275),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l)),z=(0,t.kc)(f=>({root:O(M(M({},f.fn.focusStyles()),f.fn.fontStyles()),{cursor:"pointer",border:0,padding:0,appearance:"none",fontSize:f.fontSizes.md,backgroundColor:"transparent",textAlign:"left",color:f.colorScheme==="dark"?f.colors.dark[0]:f.black,textDecoration:"none",boxSizing:"border-box"})}));const m=z},22558:(D,b,e)=>{"use strict";e.r(b),e.d(b,{AVAILABLE_TRANSITIONS:()=>r.I,Accordion:()=>a.U,ActionIcon:()=>p.A,Affix:()=>d.D,Alert:()=>M.b,AlphaSlider:()=>d0.k,Anchor:()=>O.e,AppShell:()=>s.V,Aside:()=>f.x,AspectRatio:()=>c.o,Autocomplete:()=>u.F,Avatar:()=>_.q,BackgroundImage:()=>A.X,Badge:()=>g.C,Blockquote:()=>y.V,Box:()=>W.x,Breadcrumbs:()=>S.O,Burger:()=>I.O,Button:()=>x.z,COLOR_PICKER_SIZES:()=>J.J,Card:()=>j.Z,CardSection:()=>N.u,Center:()=>k.M,CheckIcon:()=>Y.n,Checkbox:()=>K.X,CheckboxIcon:()=>Y.P,ChevronIcon:()=>i.D,Chip:()=>$.A,CloseButton:()=>u0.P,Code:()=>n0.E,Col:()=>j0.J,Collapse:()=>i0.U,ColorInput:()=>t0.T,ColorPicker:()=>a0.z,ColorSchemeProvider:()=>o.Ag,ColorSwatch:()=>O0.b,Container:()=>_0.W,CopyButton:()=>h0.q,DEFAULT_THEME:()=>o.t0,Dialog:()=>A0.V,Divider:()=>w0.i,Drawer:()=>Z0.d,FileButton:()=>Y0.S,FileInput:()=>J0.S,Flex:()=>g0.k,FocusTrap:()=>E0.i,Footer:()=>l.$,Global:()=>o.xB,GlobalStyles:()=>o.nz,Grid:()=>K0.r,Group:()=>n1.Z,Header:()=>m.h,Highlight:()=>r1.y,HoverCard:()=>s1.z,HueSlider:()=>b0.Q,INPUT_SIZES:()=>C1.J,Image:()=>O1.E,Indicator:()=>A1.z,Input:()=>v1.I,InputBase:()=>x0.M,JsonInput:()=>_1.q,Kbd:()=>u1.T,List:()=>y0.a,Loader:()=>C0.a,LoadingOverlay:()=>U0.f,MANTINE_COLORS:()=>o.As,MANTINE_SIZES:()=>o.j1,MantineProvider:()=>o.Me,Mark:()=>V0.v,MediaQuery:()=>z1.z,Menu:()=>P1.v,Modal:()=>X0.u,ModalBase:()=>k0.e,ModalBaseDefaultProps:()=>k0.K,MultiSelect:()=>e1.NU,NativeSelect:()=>f1.p,NavLink:()=>q1.O,Navbar:()=>z.w,NormalizeCSS:()=>o.rW,Notification:()=>Y1.P,NumberInput:()=>B1.Y,OptionalPortal:()=>te.q,Overlay:()=>Q1.a,Pagination:()=>re.t,Paper:()=>ue.X,PasswordInput:()=>Re.W,PinInput:()=>De.E,Popover:()=>ve.J,Portal:()=>de.h,Progress:()=>he.E,Radio:()=>Ot.Y,RangeSlider:()=>At.U,Rating:()=>it.i,RemoveScroll:()=>t.f,RingProgress:()=>$1.T,ScrollArea:()=>ye.x,SegmentedControl:()=>an.s,Select:()=>st.Ph,SelectChevronIcon:()=>Bt.D,SimpleGrid:()=>qt.M,Skeleton:()=>Dt.O,Slider:()=>Gt.i,Space:()=>Wn.T,Spoiler:()=>Tn.o,Stack:()=>Mn.K,StarIcon:()=>ct.r,Step:()=>pt.h,Stepper:()=>qn.v,Switch:()=>vn.r,Table:()=>On.i,Tabs:()=>Ct.m,Text:()=>He.x,TextInput:()=>Yt.o,Textarea:()=>pn.g,ThemeIcon:()=>Qt.k,Timeline:()=>ot.T,TimelineItem:()=>Ge.j,Title:()=>zn.D,Tooltip:()=>$0.u,TransferList:()=>l0.J,Transition:()=>Z.u,TypographyStylesProvider:()=>Q.l,UnstyledButton:()=>V.k,__unsafe_do_no_use_FLEX_SYSTEM_PROPS:()=>B0.c,__unsafe_do_no_use_SYSTEM_PROPS:()=>q.w,clsx:()=>o.Wy,createEmotionCache:()=>o.S9,createPolymorphicComponent:()=>n.Fm,createStyles:()=>o.kc,defaultMantineEmotionCache:()=>o.wu,em:()=>o.em,extractSystemStyles:()=>E.x,filterProps:()=>o.L6,getBreakpointValue:()=>o.oI,getDefaultZIndex:()=>o.wd,getSize:()=>o.ap,getSortedBreakpoints:()=>yt.I,getStylesRef:()=>o.Ao,getSystemStyles:()=>T.M,keyframes:()=>o.F4,packSx:()=>n.RG,px:()=>o.px,rem:()=>o.hO,useComponentDefaultProps:()=>o.N4,useCss:()=>o.Zm,useEmotionCache:()=>o.S2,useInputProps:()=>E1.k,useMantineColorScheme:()=>o.Xw,useMantineTheme:()=>o.rZ,validateJson:()=>H0.X});var t=e(28829),n=e(92159),o=e(99275),r=e(3127),a=e(35492),i=e(56057),p=e(41281),d=e(82846),M=e(37067),O=e(61677),z=e(89304),m=e(38561),f=e(25721),l=e(90344),s=e(45226),c=e(70427),u=e(64974),_=e(85964),A=e(49563),g=e(22121),y=e(28105),W=e(84888),E=e(12756),T=e(96932),q=e(2893),S=e(41490),I=e(9406),x=e(80102),j=e(49881),N=e(26551),k=e(9094),K=e(22294),Y=e(56183),$=e(55022),u0=e(47260),n0=e(55735),i0=e(29407),t0=e(96610),J=e(42223),a0=e(49786),b0=e(48562),d0=e(85411),O0=e(15444),_0=e(8628),h0=e(50331),A0=e(11623),w0=e(6277),Z0=e(26016),Y0=e(18054),J0=e(32574),g0=e(57327),B0=e(6683),E0=e(45272),K0=e(51641),j0=e(53075),n1=e(91449),r1=e(76890),s1=e(9641),O1=e(76602),A1=e(37476),v1=e(55956),C1=e(35227),E1=e(66261),x0=e(80324),H0=e(12125),_1=e(8116),u1=e(44815),y0=e(75143),C0=e(30762),U0=e(44439),V0=e(95649),z1=e(23132),P1=e(41202),X0=e(80253),k0=e(89057),e1=e(91902),f1=e(23833),q1=e(98988),Y1=e(68964),B1=e(78108),Q1=e(63045),re=e(56956),ue=e(67889),Re=e(72559),De=e(47001),ve=e(46512),de=e(40254),te=e(83143),he=e(16838),Ot=e(72971),it=e(32941),ct=e(35080),$1=e(88751),ye=e(48797),an=e(31792),st=e(91578),Bt=e(87208),qt=e(34925),yt=e(83687),Dt=e(89742),Gt=e(85296),At=e(45491),Wn=e(78818),Tn=e(4415),Mn=e(81374),pt=e(31605),qn=e(77622),vn=e(78773),On=e(63540),Ct=e(21379),He=e(98793),pn=e(81182),Yt=e(80061),Qt=e(98934),ot=e(95825),Ge=e(30275),zn=e(12049),$0=e(7835),l0=e(49909),Z=e(97688),Q=e(62706),V=e(56354)},76322:(D,b,e)=>{"use strict";e.d(b,{Ch:()=>Y.C,Ez:()=>E.E,JZ:()=>I.J,Me:()=>f.M,O8:()=>t.O,P5:()=>z.P,VP:()=>n.V,YB:()=>c.Y,Yx:()=>y.Y,gE:()=>x.g,h0:()=>T.h,h4:()=>j.h,iA:()=>_0.i,kR:()=>s1.k,kb:()=>v1.k,lR:()=>O.l,lq:()=>y.l,qY:()=>Z0.q,r_:()=>E.r,sm:()=>u0.s,sn:()=>n1.s,uZ:()=>O1.u,uz:()=>M.u,yU:()=>j.y});var t=e(10753),n=e(18060),o=e(63728),r=e(562),a=e(59417),i=e(39759),p=e(99523),d=e(22875),M=e(96362),O=e(37048),z=e(91394),m=e(52165),f=e(36289),l=e(48128),s=e(65217),c=e(10129),u=e(98528),_=e(21997),A=e(80777),g=e(34065),y=e(80665),W=e(52328),E=e(47776),T=e(41354),q=e(81772),S=e(92393),I=e(73678),x=e(4859),j=e(12185),N=e(25869),k=e(60905),K=e(79895),Y=e(15851),$=e(29355),u0=e(84137),n0=e(72128),i0=e(46613),t0=e(99897),J=e(4736),a0=e(11843),b0=e(83174),d0=e(79393),O0=e(83386),_0=e(50064),h0=e(73946),A0=e(41246),w0=e(59402),Z0=e(91759),Y0=e(28185),J0=e(764),g0=e(98697),B0=e(47400),E0=e(67272),K0=e(66613),j0=e(6490),n1=e(43010),r1=e(94707),s1=e(83979),O1=e(9276),A1=e(40180),v1=e(89058),C1=e(96822),E1=e(91899),x0=e(22146)},10753:(D,b,e)=>{"use strict";e.d(b,{O:()=>o});var t=e(7294);const n=["mousedown","touchstart"];function o(r,a,i){const p=(0,t.useRef)();return(0,t.useEffect)(()=>{const d=M=>{const{target:O}=M!=null?M:{};if(Array.isArray(i)){const z=(O==null?void 0:O.hasAttribute("data-ignore-outside-clicks"))||!document.body.contains(O)&&O.tagName!=="HTML";i.every(f=>!!f&&!M.composedPath().includes(f))&&!z&&r()}else p.current&&!p.current.contains(O)&&r()};return(a||n).forEach(M=>document.addEventListener(M,d)),()=>{(a||n).forEach(M=>document.removeEventListener(M,d))}},[p,r,i]),p}},18060:(D,b,e)=>{"use strict";e.d(b,{V:()=>n});var t=e(7294);function n({timeout:o=2e3}={}){const[r,a]=(0,t.useState)(null),[i,p]=(0,t.useState)(!1),[d,M]=(0,t.useState)(null),O=f=>{clearTimeout(d),M(setTimeout(()=>p(!1),o)),p(f)};return{copy:f=>{"clipboard"in navigator?navigator.clipboard.writeText(f).then(()=>O(!0)).catch(l=>a(l)):a(new Error("useClipboard: navigator.clipboard is not supported"))},reset:()=>{p(!1),a(null),clearTimeout(d)},error:r,copied:i}}},63728:(D,b,e)=>{"use strict";var t=e(34065);function n(o,r){return useMediaQuery("(prefers-color-scheme: dark)",o==="dark",r)?"dark":"light"}},562:(D,b,e)=>{"use strict";var t=e(7294),n=e(9276),o=Object.defineProperty,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,p=(z,m,f)=>m in z?o(z,m,{enumerable:!0,configurable:!0,writable:!0,value:f}):z[m]=f,d=(z,m)=>{for(var f in m||(m={}))a.call(m,f)&&p(z,f,m[f]);if(r)for(var f of r(m))i.call(m,f)&&p(z,f,m[f]);return z};const M={min:-1/0,max:1/0};function O(z=0,m){const{min:f,max:l}=d(d({},M),m),[s,c]=useState(clamp(z,f,l));return[s,{increment:()=>c(y=>clamp(y+1,f,l)),decrement:()=>c(y=>clamp(y-1,f,l)),set:y=>c(clamp(y,f,l)),reset:()=>c(clamp(z,f,l))}]}},59417:(D,b,e)=>{"use strict";var t=e(7294);function n(o,r,a={leading:!1}){const[i,p]=useState(o),d=useRef(null),M=useRef(!0),O=()=>window.clearTimeout(d.current);return useEffect(()=>O,[]),[i,m=>{O(),M.current&&a.leading?p(m):d.current=window.setTimeout(()=>{M.current=!0,p(m)},r),M.current=!1}]}},39759:(D,b,e)=>{"use strict";var t=e(7294);function n(o,r,a={leading:!1}){const[i,p]=useState(o),d=useRef(!1),M=useRef(null),O=useRef(!1),z=()=>window.clearTimeout(M.current);return useEffect(()=>{d.current&&(!O.current&&a.leading?(O.current=!0,p(o)):(z(),M.current=window.setTimeout(()=>{O.current=!1,p(o)},r)))},[o,a.leading,r]),useEffect(()=>(d.current=!0,z),[]),[i,z]}},37048:(D,b,e)=>{"use strict";e.d(b,{l:()=>n});var t=e(7294);function n(o,r){const a=(0,t.useRef)(!1);(0,t.useEffect)(()=>()=>{a.current=!1},[]),(0,t.useEffect)(()=>{if(a.current)return o();a.current=!0},r)}},91759:(D,b,e)=>{"use strict";e.d(b,{q:()=>n});var t=e(7294);function n(o=!1,r){const{onOpen:a,onClose:i}=r||{},[p,d]=(0,t.useState)(o),M=(0,t.useCallback)(()=>{d(m=>m||(a==null||a(),!0))},[a]),O=(0,t.useCallback)(()=>{d(m=>m&&(i==null||i(),!1))},[i]),z=(0,t.useCallback)(()=>{p?O():M()},[O,M,p]);return[p,{open:M,close:O,toggle:z}]}},99523:(D,b,e)=>{"use strict";var t=e(10129);function n(o){useIsomorphicEffect(()=>{typeof o=="string"&&o.trim().length>0&&(document.title=o.trim())},[o])}},22875:(D,b,e)=>{"use strict";var t=e(7294);function n(){const[o,r]=useState("visible");return useEffect(()=>{const a=()=>r(document.visibilityState);return document.addEventListener("visibilitychange",a),()=>document.removeEventListener("visibilitychange",a)},[]),o}},59402:(D,b,e)=>{"use strict";var t=e(7294);function n(o,r,a){const i=useRef();return useEffect(()=>{if(i.current)return i.current.addEventListener(o,r,a),()=>{var p;return(p=i.current)==null?void 0:p.removeEventListener(o,r,a)}},[r,a]),i}},43010:(D,b,e)=>{"use strict";e.d(b,{s:()=>o});var t=e(7294),n=e(10129);function o(){const[r,a]=(0,t.useState)(!1);(0,n.Y)(()=>{a(typeof window<"u"&&"EyeDropper"in window)},[]);const i=(0,t.useCallback)((p={})=>{if(r)return new window.EyeDropper().open(p)},[r]);return{supported:r,open:i}}},66613:(D,b,e)=>{"use strict";var t=e(7294),n=e(10129);const o={ico:"image/x-icon",png:"image/png",svg:"image/svg+xml",gif:"image/gif"};function r(a){const i=useRef();useIsomorphicEffect(()=>{if(!a)return;if(!i.current){document.querySelectorAll('link[rel*="icon"]').forEach(O=>document.head.removeChild(O));const M=document.createElement("link");M.rel="shortcut icon",i.current=M,document.querySelector("head").appendChild(M)}const p=a.split(".");i.current.setAttribute("type",o[p[p.length-1].toLowerCase()]),i.current.setAttribute("href",a)},[a])}},96362:(D,b,e)=>{"use strict";e.d(b,{u:()=>o});var t=e(7294),n=e(37048);function o({opened:r,shouldReturnFocus:a=!0}){const i=(0,t.useRef)(),p=()=>{var d;i.current&&"focus"in i.current&&typeof i.current.focus=="function"&&((d=i.current)==null||d.focus({preventScroll:!0}))};return(0,n.l)(()=>{let d=-1;const M=O=>{O.key==="Tab"&&window.clearTimeout(d)};return document.addEventListener("keydown",M),r?i.current=document.activeElement:a&&(d=window.setTimeout(p,10)),()=>{window.clearTimeout(d),document.removeEventListener("keydown",M)}},[r,a]),p}},13128:(D,b,e)=>{"use strict";e.d(b,{s:()=>t});function t(n,o="body > :not(script)"){const r=Array.from(document.querySelectorAll(o)).map(a=>{var i;if((i=a==null?void 0:a.shadowRoot)!=null&&i.contains(n)||a.contains(n))return;const p=a.getAttribute("aria-hidden");return(p===null||p==="false")&&a.setAttribute("aria-hidden","true"),{node:a,ariaHidden:p}});return()=>{r.forEach(a=>{a&&(a.ariaHidden===null?a.node.removeAttribute("aria-hidden"):a.node.setAttribute("aria-hidden",a.ariaHidden))})}}},24799:(D,b,e)=>{"use strict";e.d(b,{m:()=>n});var t=e(64392);function n(o,r){const a=(0,t.hG)(o);if(!a.length){r.preventDefault();return}const i=a[r.shiftKey?0:a.length-1],p=o.getRootNode();if(!(i===p.activeElement||o===p.activeElement))return;r.preventDefault();const M=a[r.shiftKey?a.length-1:0];M&&M.focus()}},64392:(D,b,e)=>{"use strict";e.d(b,{KW:()=>i,Y5:()=>n,hG:()=>d,ht:()=>p});const t=/input|select|textarea|button|object/,n="a, input, select, textarea, button, object, [tabindex]";function o(M){return M.style.display==="none"}function r(M){if(M.getAttribute("aria-hidden")||M.getAttribute("hidden")||M.getAttribute("type")==="hidden")return!1;let z=M;for(;z&&!(z===document.body||z.nodeType===11);){if(o(z))return!1;z=z.parentNode}return!0}function a(M){let O=M.getAttribute("tabindex");return O===null&&(O=void 0),parseInt(O,10)}function i(M){const O=M.nodeName.toLowerCase(),z=!Number.isNaN(a(M));return(t.test(O)&&!M.disabled||M instanceof HTMLAnchorElement&&M.href||z)&&r(M)}function p(M){const O=a(M);return(Number.isNaN(O)||O>=0)&&i(M)}function d(M){return Array.from(M.querySelectorAll(n)).filter(p)}},91394:(D,b,e)=>{"use strict";e.d(b,{P:()=>a});var t=e(7294),n=e(64392),o=e(24799),r=e(13128);function a(i=!0){const p=(0,t.useRef)(),d=(0,t.useRef)(null),M=z=>{let m=z.querySelector("[data-autofocus]");if(!m){const f=Array.from(z.querySelectorAll(n.Y5));m=f.find(n.ht)||f.find(n.KW)||null,!m&&(0,n.KW)(z)&&(m=z)}m&&m.focus({preventScroll:!0})},O=(0,t.useCallback)(z=>{if(i){if(z===null){d.current&&(d.current(),d.current=null);return}d.current=(0,r.s)(z),p.current!==z&&(z?(setTimeout(()=>{z.getRootNode()&&M(z)}),p.current=z):p.current=null)}},[i]);return(0,t.useEffect)(()=>{if(!i)return;p.current&&setTimeout(()=>M(p.current));const z=m=>{m.key==="Tab"&&p.current&&(0,o.m)(p.current,m)};return document.addEventListener("keydown",z),()=>{document.removeEventListener("keydown",z),d.current&&d.current()}},[i]),O}},28185:(D,b,e)=>{"use strict";var t=e(7294);function n(r){return r.currentTarget instanceof HTMLElement&&r.relatedTarget instanceof HTMLElement?r.currentTarget.contains(r.relatedTarget):!1}function o({onBlur:r,onFocus:a}={}){const i=useRef(),[p,d]=useState(!1),M=useRef(!1),O=f=>{d(f),M.current=f},z=f=>{M.current||(O(!0),a==null||a(f))},m=f=>{M.current&&!n(f)&&(O(!1),r==null||r(f))};return useEffect(()=>{if(i.current)return i.current.addEventListener("focusin",z),i.current.addEventListener("focusout",m),()=>{var f,l;(f=i.current)==null||f.removeEventListener("focusin",z),(l=i.current)==null||l.removeEventListener("focusout",m)}},[z,m]),{ref:i,focused:p}}},52165:(D,b,e)=>{"use strict";var t=e(7294);const n=r=>(r+1)%1e6;function o(){const[,r]=useReducer(n,0);return r}},11843:(D,b,e)=>{"use strict";var t=e(7294);function n(){const d=window.document;return d.fullscreenElement||d.webkitFullscreenElement||d.mozFullScreenElement||d.msFullscreenElement}async function o(){const d=window.document;return typeof d.exitFullscreen=="function"?d.exitFullscreen():typeof d.msExitFullscreen=="function"?d.msExitFullscreen():typeof d.webkitExitFullscreen=="function"?d.webkitExitFullscreen():typeof d.mozCancelFullScreen=="function"?d.mozCancelFullScreen():null}async function r(d){var M,O,z,m,f;const l=d;return((M=l.requestFullscreen)==null?void 0:M.call(l))||((O=l.msRequestFullscreen)==null?void 0:O.call(l))||((z=l.webkitEnterFullscreen)==null?void 0:z.call(l))||((m=l.webkitRequestFullscreen)==null?void 0:m.call(l))||((f=l.mozRequestFullscreen)==null?void 0:f.call(l))}const a=null;function i(d,{onFullScreen:M,onError:O}){return a.forEach(z=>{d.addEventListener(`${z}fullscreenchange`,M),d.addEventListener(`${z}fullscreenerror`,O)}),()=>{a.forEach(z=>{d.removeEventListener(`${z}fullscreenchange`,M),d.removeEventListener(`${z}fullscreenerror`,O)})}}function p(){const[d,M]=useState(!1),O=useRef(),z=useCallback(s=>{M(s.target===n())},[M]),m=useCallback(s=>{M(!1),console.error(`[@mantine/hooks] use-fullscreen: Error attempting full-screen mode method: ${s} (${s.target})`)},[M]),f=useCallback(async()=>{n()?await o():await r(O.current)},[]),l=useCallback(s=>{s===null?O.current=window.document.documentElement:O.current=s},[]);return useEffect(()=>{if(!O.current&&window.document)return O.current=window.document.documentElement,i(O.current,{onFullScreen:z,onError:m});if(O.current)return i(O.current,{onFullScreen:z,onError:m})},[]),{ref:l,toggle:f,fullscreen:d}}},99897:(D,b,e)=>{"use strict";var t=e(7294),n=e(84137);function o(){const[r,a]=useState(""),i=p=>{const d=p.startsWith("#")?p:`#${p}`;window.location.hash=d,a(d)};return useWindowEvent("hashchange",()=>{const p=window.location.hash;r!==p&&a(p)}),useEffect(()=>{a(window.location.hash)},[]),[r,i]}},6490:(D,b,e)=>{"use strict";var t=e(7294),n=e(72128),o=e(10129);const r=(d,M)=>d<=M,a=(d,M)=>d<=M,i=(d,M,O)=>!a(d,M)&&!r(d,O);function p({fixedAt:d=0,onPin:M,onFix:O,onRelease:z}={}){const m=useRef(0),[{y:f}]=useWindowScroll();return useIsomorphicEffect(()=>{a(f,m.current)&&(M==null||M())},[f,M]),useIsomorphicEffect(()=>{r(f,d)&&(O==null||O())},[f,d,O]),useIsomorphicEffect(()=>{i(f,m.current,d)&&(z==null||z())},[f,z]),useIsomorphicEffect(()=>{m.current=window.scrollY},[f]),!!(a(f,m.current)||r(f,d))}},94707:(D,b,e)=>{"use strict";var t=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,p=(l,s,c)=>s in l?t(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,d=(l,s)=>{for(var c in s||(s={}))a.call(s,c)&&p(l,c,s[c]);if(r)for(var c of r(s))i.call(s,c)&&p(l,c,s[c]);return l},M=(l,s)=>n(l,o(s));function O(l){const s=l.toLowerCase().split("+").map(A=>A.trim()),c={alt:s.includes("alt"),ctrl:s.includes("ctrl"),meta:s.includes("meta"),mod:s.includes("mod"),shift:s.includes("shift")},u=["alt","ctrl","meta","shift","mod"],_=s.find(A=>!u.includes(A));return M(d({},c),{key:_})}function z(l,s){const{alt:c,ctrl:u,meta:_,mod:A,shift:g,key:y}=l,{altKey:W,ctrlKey:E,metaKey:T,shiftKey:q,key:S}=s;if(c!==W)return!1;if(A){if(!E&&!T)return!1}else if(u!==E||_!==T)return!1;return g!==q?!1:!!(y&&(S.toLowerCase()===y.toLowerCase()||s.code.replace("Key","").toLowerCase()===y.toLowerCase()))}function m(l){return s=>z(O(l),s)}function f(l){return s=>{const c="nativeEvent"in s?s.nativeEvent:s;l.forEach(([u,_,A={preventDefault:!0}])=>{m(u)(c)&&(A.preventDefault&&s.preventDefault(),_(c))})}}},4736:(D,b,e)=>{"use strict";var t=e(7294),n=e(94707);function o(a,i,p=!1){return a.target instanceof HTMLElement?(p||!a.target.isContentEditable)&&!i.includes(a.target.tagName):!0}function r(a,i=["INPUT","TEXTAREA","SELECT"],p=!1){useEffect(()=>{const d=M=>{a.forEach(([O,z,m={preventDefault:!0}])=>{getHotkeyMatcher(O)(M)&&o(M,i,p)&&(m.preventDefault&&M.preventDefault(),z(M))})};return document.documentElement.addEventListener("keydown",d),()=>document.documentElement.removeEventListener("keydown",d)},[a])}},79393:(D,b,e)=>{"use strict";var t=e(7294);function n(){const[o,r]=useState(!1),a=useRef(null),i=useCallback(()=>r(!0),[]),p=useCallback(()=>r(!1),[]);return useEffect(()=>{if(a.current)return a.current.addEventListener("mouseenter",i),a.current.addEventListener("mouseleave",p),()=>{var d,M;(d=a.current)==null||d.removeEventListener("mouseenter",i),(M=a.current)==null||M.removeEventListener("mouseleave",p)}},[]),{ref:a,hovered:o}}},36289:(D,b,e)=>{"use strict";e.d(b,{M:()=>a});var t=e(7294),n=e(10129),o=e(95531),r=e(89058);function a(i){const p=(0,o.B)(),[d,M]=(0,t.useState)(p);return(0,n.Y)(()=>{M((0,r.k)())},[]),typeof i=="string"?i:typeof window>"u"?p:d}},95531:(D,b,e)=>{"use strict";e.d(b,{B:()=>o});var t=e(7294);const n=t["useId".toString()]||(()=>{});function o(){const r=n();return r?`mantine-${r.replace(/:/g,"")}`:""}},48128:(D,b,e)=>{"use strict";var t=e(7294),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(z,m,f)=>m in z?n(z,m,{enumerable:!0,configurable:!0,writable:!0,value:f}):z[m]=f,p=(z,m)=>{for(var f in m||(m={}))r.call(m,f)&&i(z,f,m[f]);if(o)for(var f of o(m))a.call(m,f)&&i(z,f,m[f]);return z};const M={events:["keypress","mousemove","touchmove","click","scroll"],initialState:!0};function O(z,m){const{events:f,initialState:l}=p(p({},M),m),[s,c]=useState(l),u=useRef();return useEffect(()=>{const _=()=>{c(!1),u.current&&window.clearTimeout(u.current),u.current=window.setTimeout(()=>{c(!0)},z)};return f.forEach(A=>document.addEventListener(A,_)),()=>{f.forEach(A=>document.removeEventListener(A,_))}},[z]),s}},41246:(D,b,e)=>{"use strict";var t=e(7294);function n(r){return a=>{if(!a)r(a);else if(typeof a=="function")r(a);else if(typeof a=="object"&&"nativeEvent"in a){const{currentTarget:i}=a;i.type==="checkbox"?r(i.checked):r(i.value)}else r(a)}}function o(r){const[a,i]=useState(r);return[a,n(i)]}},46613:(D,b,e)=>{"use strict";var t=e(7294);function n(o){const[r,a]=useState(null),i=useRef();return{ref:useCallback(d=>{if(i.current&&(i.current.disconnect(),i.current=null),d===null){a(null);return}i.current=new IntersectionObserver(([M])=>{a(M)},o),i.current.observe(d)},[o==null?void 0:o.rootMargin,o==null?void 0:o.root,o==null?void 0:o.threshold]),entry:r}}},65217:(D,b,e)=>{"use strict";var t=e(7294);function n(o,r){const[a,i]=useState(!1),p=useRef(),d=useRef();useEffect(()=>{d.current=o},[o]);const M=()=>{i(m=>(!m&&!p.current&&(p.current=window.setInterval(d.current,r)),!0))},O=()=>{i(!1),window.clearInterval(p.current),p.current=void 0};return{start:M,stop:O,toggle:()=>{a?O():M()},active:a}}},10129:(D,b,e)=>{"use strict";e.d(b,{Y:()=>n});var t=e(7294);const n=typeof document<"u"?t.useLayoutEffect:t.useEffect},98528:(D,b,e)=>{"use strict";var t=e(7294),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(m,f,l)=>f in m?n(m,f,{enumerable:!0,configurable:!0,writable:!0,value:l}):m[f]=l,M=(m,f)=>{for(var l in f||(f={}))i.call(f,l)&&d(m,l,f[l]);if(a)for(var l of a(f))p.call(f,l)&&d(m,l,f[l]);return m},O=(m,f)=>o(m,r(f));function z(m=[]){const[f,l]=useState(m);return[f,{setState:l,append:(...I)=>l(x=>[...x,...I]),prepend:(...I)=>l(x=>[...I,...x]),insert:(I,...x)=>l(j=>[...j.slice(0,I),...x,...j.slice(I)]),pop:()=>l(I=>{const x=[...I];return x.pop(),x}),shift:()=>l(I=>{const x=[...I];return x.shift(),x}),apply:I=>l(x=>x.map((j,N)=>I(j,N))),applyWhere:(I,x)=>l(j=>j.map((N,k)=>I(N,k)?x(N,k):N)),remove:(...I)=>l(x=>x.filter((j,N)=>!I.includes(N))),reorder:({from:I,to:x})=>l(j=>{const N=[...j],k=j[I];return N.splice(I,1),N.splice(x,0,k),N}),setItem:(I,x)=>l(j=>{const N=[...j];return N[I]=x,N}),setItemProp:(I,x,j)=>l(N=>{const k=[...N];return k[I]=O(M({},k[I]),{[x]:j}),k}),filter:I=>{l(x=>x.filter(I))}}]}},28738:(D,b,e)=>{"use strict";var t=e(7294),n=e(84137);function o(i,p){try{return JSON.stringify(i)}catch{throw new Error(`@mantine/hooks ${p}: Failed to serialize the value`)}}function r(i){try{return JSON.parse(i)}catch{return i}}function a(i,p){const d=i==="localStorage"?"mantine-local-storage":"mantine-session-storage";return function({key:O,defaultValue:z=void 0,getInitialValueInEffect:m=!0,deserialize:f=r,serialize:l=s=>o(s,p)}){const s=useCallback(g=>{if(typeof window>"u"||!(i in window)||window[i]===null||g)return z;const y=window[i].getItem(O);return y!==null?f(y):z},[O,z]),[c,u]=useState(s(m)),_=useCallback(g=>{g instanceof Function?u(y=>{const W=g(y);return window[i].setItem(O,l(W)),window.dispatchEvent(new CustomEvent(d,{detail:{key:O,value:g(y)}})),W}):(window[i].setItem(O,l(g)),window.dispatchEvent(new CustomEvent(d,{detail:{key:O,value:g}})),u(g))},[O]),A=useCallback(()=>{window[i].removeItem(O),window.dispatchEvent(new CustomEvent(d,{detail:{key:O,value:z}}))},[]);return useWindowEvent("storage",g=>{var y;g.storageArea===window[i]&&g.key===O&&u(f((y=g.newValue)!=null?y:void 0))}),useWindowEvent(d,g=>{g.detail.key===O&&u(g.detail.value)}),useEffect(()=>{z!==void 0&&c===void 0&&_(z)},[z,c,_]),useEffect(()=>{m&&u(s())},[]),[c===void 0?z:c,_,A]}}},21997:(D,b,e)=>{"use strict";var t=e(28738);function n(o){return createStorage("localStorage","use-local-storage")(o)}},83174:(D,b,e)=>{"use strict";var t=e(7294),n=e(37048);function o(r,a){return useEffect(()=>(console.log(`${r} mounted`,...a),()=>console.log(`${r} unmounted`)),[]),useDidUpdate(()=>{console.log(`${r} updated`,...a)},a),null}},34065:(D,b,e)=>{"use strict";e.d(b,{a:()=>r});var t=e(7294);function n(a,i){try{return a.addEventListener("change",i),()=>a.removeEventListener("change",i)}catch{return a.addListener(i),()=>a.removeListener(i)}}function o(a,i){return typeof i=="boolean"?i:typeof window<"u"&&"matchMedia"in window?window.matchMedia(a).matches:!1}function r(a,i,{getInitialValueInEffect:p}={getInitialValueInEffect:!0}){const[d,M]=(0,t.useState)(p?i:o(a,i)),O=(0,t.useRef)();return(0,t.useEffect)(()=>{if("matchMedia"in window)return O.current=window.matchMedia(a),M(O.current.matches),n(O.current,z=>M(z.matches))},[a]),d}},80665:(D,b,e)=>{"use strict";e.d(b,{Y:()=>r,l:()=>o});var t=e(7294),n=e(83979);function o(...a){return i=>{a.forEach(p=>(0,n.k)(p,i))}}function r(...a){return(0,t.useCallback)(o(...a),a)}},52328:(D,b,e)=>{"use strict";var t=e(7294),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(M,O,z)=>O in M?n(M,O,{enumerable:!0,configurable:!0,writable:!0,value:z}):M[O]=z,p=(M,O)=>{for(var z in O||(O={}))r.call(O,z)&&i(M,z,O[z]);if(o)for(var z of o(O))a.call(O,z)&&i(M,z,O[z]);return M};function d(M={resetOnExit:!1}){const[O,z]=useState({x:0,y:0}),m=useRef(),f=s=>{if(m.current){const c=s.currentTarget.getBoundingClientRect(),u=Math.max(0,Math.round(s.pageX-c.left-(window.pageXOffset||window.scrollX))),_=Math.max(0,Math.round(s.pageY-c.top-(window.pageYOffset||window.scrollY)));z({x:u,y:_})}else z({x:s.clientX,y:s.clientY})},l=()=>z({x:0,y:0});return useEffect(()=>{const s=m!=null&&m.current?m.current:document;return s.addEventListener("mousemove",f),M.resetOnExit&&s.addEventListener("mouseleave",l),()=>{s.removeEventListener("mousemove",f),M.resetOnExit&&s.removeEventListener("mouseleave",l)}},[m.current]),p({ref:m},O)}},47776:(D,b,e)=>{"use strict";e.d(b,{E:()=>o,r:()=>r});var t=e(7294),n=e(9276);const o=a=>({x:(0,n.u)(a.x,0,1),y:(0,n.u)(a.y,0,1)});function r(a,i,p="ltr"){const d=(0,t.useRef)(),M=(0,t.useRef)(!1),O=(0,t.useRef)(!1),z=(0,t.useRef)(0),[m,f]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{M.current=!0},[]),(0,t.useEffect)(()=>{const l=({x:E,y:T})=>{cancelAnimationFrame(z.current),z.current=requestAnimationFrame(()=>{if(M.current&&d.current){d.current.style.userSelect="none";const q=d.current.getBoundingClientRect();if(q.width&&q.height){const S=(0,n.u)((E-q.left)/q.width,0,1);a({x:p==="ltr"?S:1-S,y:(0,n.u)((T-q.top)/q.height,0,1)})}}})},s=()=>{document.addEventListener("mousemove",g),document.addEventListener("mouseup",_),document.addEventListener("touchmove",W),document.addEventListener("touchend",_)},c=()=>{document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",_),document.removeEventListener("touchmove",W),document.removeEventListener("touchend",_)},u=()=>{!O.current&&M.current&&(O.current=!0,typeof(i==null?void 0:i.onScrubStart)=="function"&&i.onScrubStart(),f(!0),s())},_=()=>{O.current&&M.current&&(O.current=!1,f(!1),c(),setTimeout(()=>{typeof(i==null?void 0:i.onScrubEnd)=="function"&&i.onScrubEnd()},0))},A=E=>{u(),E.preventDefault(),g(E)},g=E=>l({x:E.clientX,y:E.clientY}),y=E=>{E.cancelable&&E.preventDefault(),u(),W(E)},W=E=>{E.cancelable&&E.preventDefault(),l({x:E.changedTouches[0].clientX,y:E.changedTouches[0].clientY})};return d.current.addEventListener("mousedown",A),d.current.addEventListener("touchstart",y,{passive:!1}),()=>{d.current&&(d.current.removeEventListener("mousedown",A),d.current.removeEventListener("touchstart",y))}},[p,a]),{ref:d,active:m}}},764:(D,b,e)=>{"use strict";var t=e(7294),n=e(84137),o=Object.defineProperty,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,p=(z,m,f)=>m in z?o(z,m,{enumerable:!0,configurable:!0,writable:!0,value:f}):z[m]=f,d=(z,m)=>{for(var f in m||(m={}))a.call(m,f)&&p(z,f,m[f]);if(r)for(var f of r(m))i.call(m,f)&&p(z,f,m[f]);return z};function M(){if(typeof navigator>"u")return{};const z=navigator,m=z.connection||z.mozConnection||z.webkitConnection;return m?{downlink:m==null?void 0:m.downlink,downlinkMax:m==null?void 0:m.downlinkMax,effectiveType:m==null?void 0:m.effectiveType,rtt:m==null?void 0:m.rtt,saveData:m==null?void 0:m.saveData,type:m==null?void 0:m.type}:{}}function O(){const[z,m]=useState({online:!0}),f=useCallback(()=>m(l=>d(d({},l),M())),[]);return useWindowEvent("online",()=>m(d({online:!0},M()))),useWindowEvent("offline",()=>m(d({online:!1},M()))),useEffect(()=>{const l=navigator;if(l.connection)return m(d({online:l.onLine},M())),l.connection.addEventListener("change",f),()=>l.connection.removeEventListener("change",f)},[]),z}},50064:(D,b,e)=>{"use strict";e.d(b,{i:()=>r});var t=e(7294),n=e(10129);function o(){if(typeof window>"u")return"undetermined";const{userAgent:a}=window.navigator,i=/(Macintosh)|(MacIntel)|(MacPPC)|(Mac68K)/i,p=/(Win32)|(Win64)|(Windows)|(WinCE)/i,d=/(iPhone)|(iPad)|(iPod)/i;return i.test(a)?"macos":d.test(a)?"ios":p.test(a)?"windows":/Android/i.test(a)?"android":/Linux/i.test(a)?"linux":"undetermined"}function r(a={getValueInEffect:!0}){const[i,p]=(0,t.useState)(a.getValueInEffect?"undetermined":o());return(0,n.Y)(()=>{a.getValueInEffect&&p(o)},[]),i}},92393:(D,b,e)=>{"use strict";var t=e(7294);function n(o){useEffect(()=>(document.documentElement.addEventListener("mouseleave",o),()=>document.documentElement.removeEventListener("mouseleave",o)),[])}},41354:(D,b,e)=>{"use strict";e.d(b,{h:()=>a});var t=e(7294),n=e(15851),o=e(96822);const r="dots";function a({total:i,siblings:p=1,boundaries:d=1,page:M,initialPage:O=1,onChange:z}){const m=Math.max(Math.trunc(i),0),[f,l]=(0,n.C)({value:M,onChange:z,defaultValue:O,finalValue:O}),s=y=>{y<=0?l(1):y>m?l(m):l(y)},c=()=>s(f+1),u=()=>s(f-1),_=()=>s(1),A=()=>s(m);return{range:(0,t.useMemo)(()=>{if(p*2+3+d*2>=m)return(0,o.w)(1,m);const W=Math.max(f-p,d),E=Math.min(f+p,m-d),T=W>d+2,q=E{"use strict";var t=e(7294);function n(o){const r=useRef();return useEffect(()=>{r.current=o},[o]),r.current}},81772:(D,b,e)=>{"use strict";var t=e(7294);function n({initialValues:o=[],limit:r}){const[{state:a,queue:i},p]=useState({state:o.slice(0,r),queue:o.slice(r)});return{state:a,queue:i,add:(...z)=>p(m=>{const f=[...m.state,...m.queue,...z];return{state:f.slice(0,r),queue:f.slice(r)}}),update:z=>p(m=>{const f=z([...m.state,...m.queue]);return{state:f.slice(0,r),queue:f.slice(r)}}),cleanQueue:()=>p(z=>({state:z.state,queue:[]}))}}},73678:(D,b,e)=>{"use strict";e.d(b,{J:()=>n});var t=e(34065);function n(o,r){return(0,t.a)("(prefers-reduced-motion: reduce)",o,r)}},12185:(D,b,e)=>{"use strict";e.d(b,{h:()=>r,y:()=>o});var t=e(7294);const n={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function o(){const a=(0,t.useRef)(0),i=(0,t.useRef)(null),[p,d]=(0,t.useState)(n),M=(0,t.useMemo)(()=>typeof window<"u"?new ResizeObserver(O=>{const z=O[0];z&&(cancelAnimationFrame(a.current),a.current=requestAnimationFrame(()=>{i.current&&d(z.contentRect)}))}):null,[]);return(0,t.useEffect)(()=>(i.current&&M.observe(i.current),()=>{M.disconnect(),a.current&&cancelAnimationFrame(a.current)}),[i.current]),[i,p]}function r(){const[a,{width:i,height:p}]=o();return{ref:a,width:i,height:p}}},4859:(D,b,e)=>{"use strict";e.d(b,{g:()=>d});var t=e(7294),n=e(73678),o=e(84137),r=e(69170),a=e(69310),i=e(13629),p=e(45654);function d({duration:M=1250,axis:O="y",onScrollFinish:z,easing:m=r.t,offset:f=0,cancelable:l=!0,isList:s=!1}={}){const c=(0,t.useRef)(0),u=(0,t.useRef)(0),_=(0,t.useRef)(!1),A=(0,t.useRef)(null),g=(0,t.useRef)(null),y=(0,n.J)(),W=()=>{c.current&&cancelAnimationFrame(c.current)},E=(0,t.useCallback)(({alignment:q="start"}={})=>{var S;_.current=!1,c.current&&W();const I=(S=(0,i.D)({parent:A.current,axis:O}))!=null?S:0,x=(0,a.X)({parent:A.current,target:g.current,axis:O,alignment:q,offset:f,isList:s})-(A.current?0:I);function j(){u.current===0&&(u.current=performance.now());const k=performance.now()-u.current,K=y||M===0?1:k/M,Y=I+x*m(K);(0,p.B)({parent:A.current,axis:O,distance:Y}),!_.current&&K<1?c.current=requestAnimationFrame(j):(typeof z=="function"&&z(),u.current=0,c.current=0,W())}j()},[O,M,m,s,f,z,y]),T=()=>{l&&(_.current=!0)};return(0,o.s)("wheel",T,{passive:!0}),(0,o.s)("touchmove",T,{passive:!0}),(0,t.useEffect)(()=>W,[]),{scrollableRef:A,targetRef:g,scrollIntoView:E,cancel:W}}},69170:(D,b,e)=>{"use strict";e.d(b,{t:()=>t});const t=n=>n<.5?2*n*n:-1+(4-2*n)*n},69310:(D,b,e)=>{"use strict";e.d(b,{X:()=>t});const t=({axis:n,target:o,parent:r,alignment:a,offset:i,isList:p})=>{if(!o||!r&&typeof document>"u")return 0;const d=!!r,O=(r||document.body).getBoundingClientRect(),z=o.getBoundingClientRect(),m=f=>z[f]-O[f];if(n==="y"){const f=m("top");if(f===0)return 0;if(a==="start"){const s=f-i;return s<=z.height*(p?0:1)||!p?s:0}const l=d?O.height:window.innerHeight;if(a==="end"){const s=f+i-l+z.height;return s>=-z.height*(p?0:1)||!p?s:0}return a==="center"?f-l/2+z.height/2:0}if(n==="x"){const f=m("left");if(f===0)return 0;if(a==="start"){const s=f-i;return s<=z.width||!p?s:0}const l=d?O.width:window.innerWidth;if(a==="end"){const s=f+i-l+z.width;return s>=-z.width||!p?s:0}return a==="center"?f-l/2+z.width/2:0}return 0}},13629:(D,b,e)=>{"use strict";e.d(b,{D:()=>t});const t=({axis:n,parent:o})=>{if(!o&&typeof document>"u")return 0;const r=n==="y"?"scrollTop":"scrollLeft";if(o)return o[r];const{body:a,documentElement:i}=document;return a[r]+i[r]}},45654:(D,b,e)=>{"use strict";e.d(b,{B:()=>t});const t=({axis:n,parent:o,distance:r})=>{if(!o&&typeof document>"u")return;const a=n==="y"?"scrollTop":"scrollLeft";if(o)o[a]=r;else{const{body:i,documentElement:p}=document;i[a]=r,p[a]=r}}},25869:(D,b,e)=>{"use strict";var t=e(7294),n=e(98188),o=e(40073),r=e(30424),a=e(84843);function i(p,d={disableBodyPadding:!1}){const[M,O]=useState(p||!1),z=useRef(0),{disableBodyPadding:m}=d,f=useRef(null),l=()=>{z.current=window.scrollY;const c=getLockStyles({disableBodyPadding:m}),u=makeStyleTag();injectStyles(u,c),insertStyleTag(u),f.current=u},s=()=>{f!=null&&f.current&&(f.current.parentNode.removeChild(f.current),f.current=null)};return useEffect(()=>(M?l():s(),s),[M]),useEffect(()=>{p!==void 0&&O(p)},[p]),useEffect(()=>{p===void 0&&typeof window<"u"&&window.document.body.style.overflow==="hidden"&&O(!0)},[O]),[M,O]}},98188:(D,b,e)=>{"use strict";var t=e(3129);const n=({disableBodyPadding:o})=>{const r=o?null:getScrollWidth();return`body {
--removed-scroll-width: ${r}px;
touch-action: none;
overflow: hidden !important;
position: relative !important;
${r?"padding-right: var(--removed-scroll-width) !important;":""}
`}},3129:(D,b,e)=>{"use strict";function t(){if(typeof window>"u"||typeof document>"u")return 0;const n=parseInt(window.getComputedStyle(document.body).paddingRight,10),o=window.innerWidth-document.documentElement.clientWidth;return n+o}},40073:(D,b,e)=>{"use strict";function t(n,o){n.styleSheet?n.styleSheet.cssText=o:n.appendChild(document.createTextNode(o))}},30424:(D,b,e)=>{"use strict";function t(n){(document.head||document.getElementsByTagName("head")[0]).appendChild(n)}},84843:(D,b,e)=>{"use strict";function t(){const n=document.createElement("style");return n.type="text/css",n.setAttribute("mantine-scroll-lock",""),n}},80777:(D,b,e)=>{"use strict";var t=e(28738);function n(o){return createStorage("sessionStorage","use-session-storage")(o)}},73946:(D,b,e)=>{"use strict";var t=e(7294),n=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,i=(M,O,z)=>O in M?n(M,O,{enumerable:!0,configurable:!0,writable:!0,value:z}):M[O]=z,p=(M,O)=>{for(var z in O||(O={}))r.call(O,z)&&i(M,z,O[z]);if(o)for(var z of o(O))a.call(O,z)&&i(M,z,O[z]);return M};function d(M){const[O,z]=useState(M),m=useCallback(f=>z(l=>p(p({},l),typeof f=="function"?f(l):f)),[]);return[O,m]}},60905:(D,b,e)=>{"use strict";var t=e(7294),n=e(91899);function o(i,p){if(!i||!p)return!1;if(i===p)return!0;if(i.length!==p.length)return!1;for(let d=0;d{"use strict";var t=e(7294),n=e(52165);function o(){const r=useForceUpdate(),[a,i]=useState(null),p=()=>{i(document.getSelection()),r()};return useEffect(()=>(i(document.getSelection()),document.addEventListener("selectionchange",p),()=>document.removeEventListener("selectionchange",p)),[]),a}},98697:(D,b,e)=>{"use strict";var t=e(7294);function n(o,r,a={autoInvoke:!1}){const i=useRef(null),p=useRef(null),d=useCallback((...O)=>{p.current||(p.current=window.setTimeout(()=>{i.current(O),p.current=null},r))},[r]),M=useCallback(()=>{p.current&&(window.clearTimeout(p.current),p.current=null)},[]);return useEffect(()=>{i.current=o},[o]),useEffect(()=>(a.autoInvoke&&d(),M),[M,r,a.autoInvoke,d]),{start:d,clear:M}}},79895:(D,b,e)=>{"use strict";var t=e(7294);function n(o=[!1,!0]){const[[r],a]=useReducer((i,p)=>{const d=p instanceof Function?p(i[0]):p,M=Math.abs(i.indexOf(d));return i.slice(M).concat(i.slice(0,M))},o);return[r,a]}},15851:(D,b,e)=>{"use strict";e.d(b,{C:()=>n});var t=e(7294);function n({value:o,defaultValue:r,finalValue:a,onChange:i=()=>{}}){const[p,d]=(0,t.useState)(r!==void 0?r:a),M=O=>{d(O),i==null||i(O)};return o!==void 0?[o,i,!0]:[p,M,!1]}},83386:(D,b,e)=>{"use strict";var t=e(7294);function n(o,r,a){const[i,p]=useState(o),[d,M]=useState(r(o)?o:void 0),[O,z]=useState(typeof a=="boolean"?a:r(o));return[{value:i,lastValidValue:d,valid:O},f=>{r(f)?(M(f),z(!0)):z(!1),p(f)}]}},29355:(D,b,e)=>{"use strict";var t=e(7294),n=e(84137);const o={passive:!0};function r(){const[a,i]=useState({width:0,height:0}),p=useCallback(()=>{i({width:window.innerWidth||0,height:window.innerHeight||0})},[]);return useWindowEvent("resize",p,o),useWindowEvent("orientationchange",p,o),useEffect(p,[]),a}},84137:(D,b,e)=>{"use strict";e.d(b,{s:()=>n});var t=e(7294);function n(o,r,a){(0,t.useEffect)(()=>(window.addEventListener(o,r,a),()=>window.removeEventListener(o,r,a)),[o,r])}},72128:(D,b,e)=>{"use strict";var t=e(7294),n=e(84137);function o(){return typeof window<"u"?{x:window.pageXOffset,y:window.pageYOffset}:{x:0,y:0}}function r({x:i,y:p}){if(typeof window<"u"){const d={behavior:"smooth"};typeof i=="number"&&(d.left=i),typeof p=="number"&&(d.top=p),window.scrollTo(d)}}function a(){const[i,p]=useState({x:0,y:0});return useWindowEvent("scroll",()=>p(o())),useWindowEvent("resize",()=>p(o())),useEffect(()=>{p(o())},[]),[i,r]}},83979:(D,b,e)=>{"use strict";e.d(b,{k:()=>t});function t(n,o){typeof n=="function"?n(o):typeof n=="object"&&n!==null&&"current"in n&&(n.current=o)}},9276:(D,b,e)=>{"use strict";e.d(b,{u:()=>t});function t(n,o,r){return Math.min(Math.max(n,o),r)}},40180:(D,b,e)=>{"use strict";function t(n){return typeof n!="string"?"":n.charAt(0).toLowerCase()+n.slice(1)}},89058:(D,b,e)=>{"use strict";e.d(b,{k:()=>t});function t(){return`mantine-${Math.random().toString(36).slice(2,11)}`}},96822:(D,b,e)=>{"use strict";e.d(b,{w:()=>t});function t(n,o){const r=o-n+1;return Array.from({length:r},(a,i)=>i+n)}},91899:(D,b,e)=>{"use strict";function t(n,o){if(n===o)return!0;if(!(n instanceof Object)||!(o instanceof Object))return!1;const r=Object.keys(n),{length:a}=r;if(a!==Object.keys(o).length)return!1;for(let i=0;i{"use strict";function t(n){return typeof n!="string"?"":n.charAt(0).toUpperCase()+n.slice(1)}},99275:(D,b,e)=>{"use strict";e.d(b,{Ag:()=>r.A,Ao:()=>s.A,As:()=>n.As,F4:()=>f.keyframes,L6:()=>M.L,Me:()=>o.Me,N4:()=>o.N4,S2:()=>_.S,S9:()=>g.Z,Wy:()=>t.Z,Xw:()=>r.X,Zm:()=>u.Z,ap:()=>m.a,em:()=>O.em,hO:()=>O.h,j1:()=>n.j1,kc:()=>l.k,nz:()=>a.n,oI:()=>p.oI,px:()=>z.px,rW:()=>i.r,rZ:()=>o.rZ,t0:()=>n.t0,wd:()=>d.w,wu:()=>A.w,xB:()=>c.x});var t=e(86010),n=e(77850),o=e(17997),r=e(36972),a=e(81923),i=e(58640),p=e(58),d=e(3594),M=e(66896),O=e(96768),z=e(71298),m=e(14258),f=e(917),l=e(55861),s=e(58404),c=e(4629),u=e(84339),_=e(43522),A=e(61220),g=e(4697)},36972:(D,b,e)=>{"use strict";e.d(b,{A:()=>r,X:()=>o});var t=e(7294);const n=(0,t.createContext)(null);function o(){const a=(0,t.useContext)(n);if(!a)throw new Error("useMantineColorScheme hook was called outside of context, make sure your app is wrapped with ColorSchemeProvider component");return a}function r({colorScheme:a,toggleColorScheme:i,children:p}){return t.createElement(n.Provider,{value:{colorScheme:a,toggleColorScheme:i}},p)}r.displayName="@mantine/core/ColorSchemeProvider"},81923:(D,b,e)=>{"use strict";e.d(b,{n:()=>m});var t=e(7294),n=e(917),o=Object.defineProperty,r=Object.defineProperties,a=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,M=(f,l,s)=>l in f?o(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,O=(f,l)=>{for(var s in l||(l={}))p.call(l,s)&&M(f,s,l[s]);if(i)for(var s of i(l))d.call(l,s)&&M(f,s,l[s]);return f},z=(f,l)=>r(f,a(l));function m({theme:f}){return t.createElement(n.Global,{styles:{"*, *::before, *::after":{boxSizing:"border-box"},html:{colorScheme:f.colorScheme==="dark"?"dark":"light"},body:z(O({},f.fn.fontStyles()),{backgroundColor:f.colorScheme==="dark"?f.colors.dark[7]:f.white,color:f.colorScheme==="dark"?f.colors.dark[0]:f.black,lineHeight:f.lineHeight,fontSize:f.fontSizes.md,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"})}})}},26361:(D,b,e)=>{"use strict";e.d(b,{z:()=>a});var t=e(7294),n=e(917),o=e(96768);function r(i,p,d,M=o.h){Object.keys(p).forEach(O=>{i[`--mantine-${d}-${O}`]=M(p[O])})}function a({theme:i}){const p={"--mantine-color-white":i.white,"--mantine-color-black":i.black,"--mantine-transition-timing-function":i.transitionTimingFunction,"--mantine-line-height":`${i.lineHeight}`,"--mantine-font-family":i.fontFamily,"--mantine-font-family-monospace":i.fontFamilyMonospace,"--mantine-font-family-headings":i.headings.fontFamily,"--mantine-heading-font-weight":`${i.headings.fontWeight}`};r(p,i.shadows,"shadow"),r(p,i.fontSizes,"font-size"),r(p,i.radius,"radius"),r(p,i.spacing,"spacing"),r(p,i.breakpoints,"breakpoints",o.em),Object.keys(i.colors).forEach(M=>{i.colors[M].forEach((O,z)=>{p[`--mantine-color-${M}-${z}`]=O})});const d=i.headings.sizes;return Object.keys(d).forEach(M=>{p[`--mantine-${M}-font-size`]=d[M].fontSize,p[`--mantine-${M}-line-height`]=`${d[M].lineHeight}`}),t.createElement(n.Global,{styles:{":root":p}})}},17997:(D,b,e)=>{"use strict";e.d(b,{Me:()=>g,N4:()=>A,O2:()=>u,T1:()=>_,rZ:()=>c});var t=e(7294),n=e(917),o=e(77850),r=e(81923),a=e(26361),i=e(47252),p=e(66896),d=e(58640),M=Object.defineProperty,O=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,f=(y,W,E)=>W in y?M(y,W,{enumerable:!0,configurable:!0,writable:!0,value:E}):y[W]=E,l=(y,W)=>{for(var E in W||(W={}))z.call(W,E)&&f(y,E,W[E]);if(O)for(var E of O(W))m.call(W,E)&&f(y,E,W[E]);return y};const s=(0,t.createContext)({theme:o.t0});function c(){var y;return((y=(0,t.useContext)(s))==null?void 0:y.theme)||o.t0}function u(y){const W=c(),E=T=>{var q,S,I,x;return{styles:((q=W.components[T])==null?void 0:q.styles)||{},classNames:((S=W.components[T])==null?void 0:S.classNames)||{},variants:(I=W.components[T])==null?void 0:I.variants,sizes:(x=W.components[T])==null?void 0:x.sizes}};return Array.isArray(y)?y.map(E):[E(y)]}function _(){var y;return(y=(0,t.useContext)(s))==null?void 0:y.emotionCache}function A(y,W,E){var T;const q=c(),S=(T=q.components[y])==null?void 0:T.defaultProps,I=typeof S=="function"?S(q):S;return l(l(l({},W),I),(0,p.L)(E))}function g({theme:y,emotionCache:W,withNormalizeCSS:E=!1,withGlobalStyles:T=!1,withCSSVariables:q=!1,inherit:S=!1,children:I}){const x=(0,t.useContext)(s),j=(0,i.g)(o.t0,S?l(l({},x.theme),y):y);return t.createElement(n.ThemeProvider,{theme:j},t.createElement(s.Provider,{value:{theme:j,emotionCache:W}},E&&t.createElement(d.r,null),T&&t.createElement(r.n,{theme:j}),q&&t.createElement(a.z,{theme:j}),typeof j.globalStyles=="function"&&t.createElement(n.Global,{styles:j.globalStyles(j)}),I))}g.displayName="@mantine/core/MantineProvider"},58640:(D,b,e)=>{"use strict";e.d(b,{r:()=>a});var t=e(7294),n=e(917),o=e(96768);const r={html:{fontFamily:"sans-serif",lineHeight:"1.15",textSizeAdjust:"100%"},body:{margin:0},"article, aside, footer, header, nav, section, figcaption, figure, main":{display:"block"},h1:{fontSize:"2em"},hr:{boxSizing:"content-box",height:0,overflow:"visible"},pre:{fontFamily:"monospace, monospace",fontSize:"1em"},a:{background:"transparent",textDecorationSkip:"objects"},"a:active, a:hover":{outlineWidth:0},"abbr[title]":{borderBottom:"none",textDecoration:"underline"},"b, strong":{fontWeight:"bolder"},"code, kbp, samp":{fontFamily:"monospace, monospace",fontSize:"1em"},dfn:{fontStyle:"italic"},mark:{backgroundColor:"#ff0",color:"#000"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sup:{top:"-0.5em"},sub:{bottom:"-0.25em"},"audio, video":{display:"inline-block"},"audio:not([controls])":{display:"none",height:0},img:{borderStyle:"none",verticalAlign:"middle"},"svg:not(:root)":{overflow:"hidden"},"button, input, optgroup, select, textarea":{fontFamily:"sans-serif",fontSize:"100%",lineHeight:"1.15",margin:0},"button, input":{overflow:"visible"},"button, select":{textTransform:"none"},"button, [type=reset], [type=submit]":{WebkitAppearance:"button"},"button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner":{borderStyle:"none",padding:0},"button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring":{outline:`${(0,o.h)(1)} dotted ButtonText`},legend:{boxSizing:"border-box",color:"inherit",display:"table",maxWidth:"100%",padding:0,whiteSpace:"normal"},progress:{display:"inline-block",verticalAlign:"baseline"},textarea:{overflow:"auto"},"[type=checkbox], [type=radio]":{boxSizing:"border-box",padding:0},"[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button":{height:"auto"},"[type=search]":{appearance:"none"},"[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration":{appearance:"none"},"::-webkit-file-upload-button":{appearance:"button",font:"inherit"},"details, menu":{display:"block"},summary:{display:"list-item"},canvas:{display:"inline-block"},template:{display:"none"}};function a(){return t.createElement(n.Global,{styles:r})}},79909:(D,b,e)=>{"use strict";e.d(b,{Q:()=>t});const t={dark:["#C1C2C5","#A6A7AB","#909296","#5c5f66","#373A40","#2C2E33","#25262b","#1A1B1E","#141517","#101113"],gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]}},77850:(D,b,e)=>{"use strict";e.d(b,{As:()=>o,j1:()=>r,t0:()=>i});var t=e(79909),n=e(4954);const o=Object.keys(t.Q),r=["xs","sm","md","lg","xl"],a={dir:"ltr",primaryShade:{light:6,dark:8},focusRing:"auto",loader:"oval",colorScheme:"light",white:"#fff",black:"#000",defaultRadius:"sm",transitionTimingFunction:"ease",colors:t.Q,lineHeight:1.55,fontFamily:"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",fontFamilyMonospace:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",primaryColor:"blue",respectReducedMotion:!0,cursorType:"default",defaultGradient:{from:"indigo",to:"cyan",deg:45},shadows:{xs:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.1)",sm:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 0.625rem 0.9375rem -0.3125rem, rgba(0, 0, 0, 0.04) 0 0.4375rem 0.4375rem -0.3125rem",md:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 1.25rem 1.5625rem -0.3125rem, rgba(0, 0, 0, 0.04) 0 0.625rem 0.625rem -0.3125rem",lg:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 1.75rem 1.4375rem -0.4375rem, rgba(0, 0, 0, 0.04) 0 0.75rem 0.75rem -0.4375rem",xl:"0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 2.25rem 1.75rem -0.4375rem, rgba(0, 0, 0, 0.04) 0 1.0625rem 1.0625rem -0.4375rem"},fontSizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem"},radius:{xs:"0.125rem",sm:"0.25rem",md:"0.5rem",lg:"1rem",xl:"2rem"},spacing:{xs:"0.625rem",sm:"0.75rem",md:"1rem",lg:"1.25rem",xl:"1.5rem"},breakpoints:{xs:"36em",sm:"48em",md:"62em",lg:"75em",xl:"88em"},headings:{fontFamily:"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",fontWeight:700,sizes:{h1:{fontSize:"2.125rem",lineHeight:1.3,fontWeight:void 0},h2:{fontSize:"1.625rem",lineHeight:1.35,fontWeight:void 0},h3:{fontSize:"1.375rem",lineHeight:1.4,fontWeight:void 0},h4:{fontSize:"1.125rem",lineHeight:1.45,fontWeight:void 0},h5:{fontSize:"1rem",lineHeight:1.5,fontWeight:void 0},h6:{fontSize:"0.875rem",lineHeight:1.5,fontWeight:void 0}}},other:{},components:{},activeStyles:{transform:"translateY(0.0625rem)"},datesLocale:"en",globalStyles:void 0,focusRingStyles:{styles:p=>({outlineOffset:"0.125rem",outline:`0.125rem solid ${p.colors[p.primaryColor][p.colorScheme==="dark"?7:5]}`}),resetStyles:()=>({outline:"none"}),inputStyles:p=>({outline:"none",borderColor:p.colors[p.primaryColor][typeof p.primaryShade=="object"?p.primaryShade[p.colorScheme]:p.primaryShade]})}},i=(0,n.P)(a)},4954:(D,b,e)=>{"use strict";e.d(b,{P:()=>z});var t=e(52515),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(m,f,l)=>f in m?n(m,f,{enumerable:!0,configurable:!0,writable:!0,value:l}):m[f]=l,M=(m,f)=>{for(var l in f||(f={}))i.call(f,l)&&d(m,l,f[l]);if(a)for(var l of a(f))p.call(f,l)&&d(m,l,f[l]);return m},O=(m,f)=>o(m,r(f));function z(m){return O(M({},m),{fn:{fontStyles:t.R.fontStyles(m),themeColor:t.R.themeColor(m),focusStyles:t.R.focusStyles(m),largerThan:t.R.largerThan(m),smallerThan:t.R.smallerThan(m),radialGradient:t.R.radialGradient,linearGradient:t.R.linearGradient,gradient:t.R.gradient(m),rgba:t.R.rgba,cover:t.R.cover,lighten:t.R.lighten,darken:t.R.darken,primaryShade:t.R.primaryShade(m),radius:t.R.radius(m),variant:t.R.variant(m),hover:t.R.hover,primaryColor:t.R.primaryColor(m),placeholderStyles:t.R.placeholderStyles(m),dimmed:t.R.dimmed(m)}})}},58:(D,b,e)=>{"use strict";e.d(b,{I4:()=>a,oI:()=>o,u4:()=>r});var t=e(96768),n=e(14258);function o(i){return typeof i=="number"?i:typeof i=="string"&&i.includes("rem")?Number(i.replace("rem",""))*16:typeof i=="string"&&i.includes("em")?Number(i.replace("em",""))*16:Number(i)}function r(i){return p=>`@media (min-width: ${(0,t.em)(o((0,n.a)({size:p,sizes:i.breakpoints})))})`}function a(i){return p=>`@media (max-width: ${(0,t.em)(o((0,n.a)({size:p,sizes:i.breakpoints}))-1)})`}},6229:(D,b,e)=>{"use strict";e.d(b,{v:()=>n});var t=e(96768);function n(o=0){return{position:"absolute",top:(0,t.h)(o),right:(0,t.h)(o),left:(0,t.h)(o),bottom:(0,t.h)(o)}}},70594:(D,b,e)=>{"use strict";e.d(b,{_:()=>n});var t=e(48002);function n(o,r){if(typeof o=="string"&&o.startsWith("var(--"))return o;const{r:a,g:i,b:p,a:d}=(0,t.c)(o),M=1-r,O=z=>Math.round(z*M);return`rgba(${O(a)}, ${O(i)}, ${O(p)}, ${d})`}},85357:(D,b,e)=>{"use strict";e.d(b,{K:()=>t});function t(n){return()=>n.colorScheme==="dark"?n.colors.dark[2]:n.colors.gray[6]}},61972:(D,b,e)=>{"use strict";e.d(b,{j:()=>p});var t=Object.defineProperty,n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,a=(d,M,O)=>M in d?t(d,M,{enumerable:!0,configurable:!0,writable:!0,value:O}):d[M]=O,i=(d,M)=>{for(var O in M||(M={}))o.call(M,O)&&a(d,O,M[O]);if(n)for(var O of n(M))r.call(M,O)&&a(d,O,M[O]);return d};function p(d){return M=>({WebkitTapHighlightColor:"transparent",[M||"&:focus"]:i({},d.focusRing==="always"||d.focusRing==="auto"?d.focusRingStyles.styles(d):d.focusRingStyles.resetStyles(d)),[M?M.replace(":focus",":focus:not(:focus-visible)"):"&:focus:not(:focus-visible)"]:i({},d.focusRing==="auto"||d.focusRing==="never"?d.focusRingStyles.resetStyles(d):null)})}},80935:(D,b,e)=>{"use strict";e.d(b,{g:()=>t});function t(n){return()=>({fontFamily:n.fontFamily||"sans-serif"})}},42609:(D,b,e)=>{"use strict";e.d(b,{h:()=>t});function t(n){let o="";for(let r=1;r{"use strict";e.d(b,{FL:()=>i,bC:()=>r,zs:()=>a});var t=e(12014),n=e(71794),o=e(42609);function r(p,...d){return`linear-gradient(${p}deg, ${(0,o.h)(d)})`}function a(...p){return`radial-gradient(circle, ${(0,o.h)(p)})`}function i(p){const d=(0,t.E)(p),M=(0,n.H)(p);return O=>{const z={from:(O==null?void 0:O.from)||p.defaultGradient.from,to:(O==null?void 0:O.to)||p.defaultGradient.to,deg:(O==null?void 0:O.deg)||p.defaultGradient.deg};return`linear-gradient(${z.deg}deg, ${d(z.from,M(),!1)} 0%, ${d(z.to,M(),!1)} 100%)`}}},98475:(D,b,e)=>{"use strict";e.d(b,{M:()=>t});function t(n){return{"@media (hover: hover)":{"&:hover":n},"@media (hover: none)":{"&:active":n}}}},52515:(D,b,e)=>{"use strict";e.d(b,{R:()=>u});var t=e(80935),n=e(61972),o=e(12014),r=e(80149),a=e(58),i=e(15214),p=e(6229),d=e(70594),M=e(10092),O=e(12264),z=e(44652),m=e(71794),f=e(82061),l=e(98475),s=e(6184),c=e(85357);const u={fontStyles:t.g,themeColor:o.E,focusStyles:n.j,linearGradient:r.bC,radialGradient:r.zs,smallerThan:a.I4,largerThan:a.u4,rgba:i.m,cover:p.v,darken:d._,lighten:M.$,radius:O.q,variant:z.b,primaryShade:m.H,hover:l.M,gradient:r.FL,primaryColor:f.l,placeholderStyles:s.B,dimmed:c.K}},10092:(D,b,e)=>{"use strict";e.d(b,{$:()=>n});var t=e(48002);function n(o,r){if(typeof o=="string"&&o.startsWith("var(--"))return o;const{r:a,g:i,b:p,a:d}=(0,t.c)(o),M=O=>Math.round(O+(255-O)*r);return`rgba(${M(a)}, ${M(i)}, ${M(p)}, ${d})`}},6184:(D,b,e)=>{"use strict";e.d(b,{B:()=>t});function t(n){return()=>({userSelect:"none",color:n.colorScheme==="dark"?n.colors.dark[3]:n.colors.gray[5]})}},82061:(D,b,e)=>{"use strict";e.d(b,{l:()=>n});var t=e(71794);function n(o){return r=>{const a=(0,t.H)(o)(r);return o.colors[o.primaryColor][a]}}},71794:(D,b,e)=>{"use strict";e.d(b,{H:()=>t});function t(n){return o=>typeof n.primaryShade=="number"?n.primaryShade:n.primaryShade[o||n.colorScheme]}},12264:(D,b,e)=>{"use strict";e.d(b,{q:()=>n});var t=e(96768);function n(o){return r=>{if(typeof r=="number")return(0,t.h)(r);const a=typeof o.defaultRadius=="number"?o.defaultRadius:o.radius[o.defaultRadius]||o.defaultRadius;return o.radius[r]||r||a}}},15214:(D,b,e)=>{"use strict";e.d(b,{m:()=>n});var t=e(48002);function n(o,r){if(typeof o!="string"||r>1||r<0)return"rgba(0, 0, 0, 1)";if(o.startsWith("var(--"))return o;const{r:a,g:i,b:p}=(0,t.c)(o);return`rgba(${a}, ${i}, ${p}, ${r})`}},12014:(D,b,e)=>{"use strict";e.d(b,{E:()=>n});var t=e(71794);function n(o){const r=(0,t.H)(o);return(a,i,p=!0,d=!0)=>{if(typeof a=="string"&&a.includes(".")){const[O,z]=a.split("."),m=parseInt(z,10);if(O in o.colors&&m>=0&&m<10)return o.colors[O][typeof i=="number"&&!d?i:m]}const M=typeof i=="number"?i:r();return a in o.colors?o.colors[a][M]:p?o.colors[o.primaryColor][M]:a}}},44652:(D,b,e)=>{"use strict";e.d(b,{b:()=>i});var t=e(15214),n=e(12014),o=e(71794),r=e(80149);function a(p,d){if(typeof p=="string"&&p.includes(".")){const[M,O]=p.split("."),z=parseInt(O,10);if(M in d.colors&&z>=0&&z<10)return{isSplittedColor:!0,key:M,shade:z}}return{isSplittedColor:!1}}function i(p){const d=(0,n.E)(p),M=(0,o.H)(p),O=(0,r.FL)(p);return({variant:z,color:m,gradient:f,primaryFallback:l})=>{const s=a(m,p);switch(z){case"light":return{border:"transparent",background:(0,t.m)(d(m,p.colorScheme==="dark"?8:0,l,!1),p.colorScheme==="dark"?.2:1),color:m==="dark"?p.colorScheme==="dark"?p.colors.dark[0]:p.colors.dark[9]:d(m,p.colorScheme==="dark"?2:M("light")),hover:(0,t.m)(d(m,p.colorScheme==="dark"?7:1,l,!1),p.colorScheme==="dark"?.25:.65)};case"subtle":return{border:"transparent",background:"transparent",color:m==="dark"?p.colorScheme==="dark"?p.colors.dark[0]:p.colors.dark[9]:d(m,p.colorScheme==="dark"?2:M("light")),hover:(0,t.m)(d(m,p.colorScheme==="dark"?8:0,l,!1),p.colorScheme==="dark"?.2:1)};case"outline":return{border:d(m,p.colorScheme==="dark"?5:M("light")),background:"transparent",color:d(m,p.colorScheme==="dark"?5:M("light")),hover:p.colorScheme==="dark"?(0,t.m)(d(m,5,l,!1),.05):(0,t.m)(d(m,0,l,!1),.35)};case"default":return{border:p.colorScheme==="dark"?p.colors.dark[4]:p.colors.gray[4],background:p.colorScheme==="dark"?p.colors.dark[6]:p.white,color:p.colorScheme==="dark"?p.white:p.black,hover:p.colorScheme==="dark"?p.colors.dark[5]:p.colors.gray[0]};case"white":return{border:"transparent",background:p.white,color:d(m,M()),hover:null};case"transparent":return{border:"transparent",color:m==="dark"?p.colorScheme==="dark"?p.colors.dark[0]:p.colors.dark[9]:d(m,p.colorScheme==="dark"?2:M("light")),background:"transparent",hover:null};case"gradient":return{background:O(f),color:p.white,border:"transparent",hover:null};default:{const c=M(),u=s.isSplittedColor?s.shade:c,_=s.isSplittedColor?s.key:m;return{border:"transparent",background:d(_,u,l),color:p.white,hover:d(_,u===9?8:u+1)}}}}}},66896:(D,b,e)=>{"use strict";e.d(b,{L:()=>t});function t(n){return Object.keys(n).reduce((o,r)=>(n[r]!==void 0&&(o[r]=n[r]),o),{})}},3594:(D,b,e)=>{"use strict";e.d(b,{w:()=>n});const t={app:100,modal:200,popover:300,overlay:400,max:9999};function n(o){return t[o]}},14258:(D,b,e)=>{"use strict";e.d(b,{a:()=>n});var t=e(96768);function n({size:o,sizes:r,units:a}){return o in r?r[o]:typeof o=="number"?a==="em"?(0,t.em)(o):(0,t.h)(o):o||r.md}},47252:(D,b,e)=>{"use strict";e.d(b,{g:()=>m});var t=e(4954),n=Object.defineProperty,o=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(f,l,s)=>l in f?n(f,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[l]=s,M=(f,l)=>{for(var s in l||(l={}))i.call(l,s)&&d(f,s,l[s]);if(a)for(var s of a(l))p.call(l,s)&&d(f,s,l[s]);return f},O=(f,l)=>o(f,r(l));function z(f,l){var s;if(!l)return f;const c=Object.keys(f).reduce((u,_)=>{if(_==="headings"&&l.headings){const A=l.headings.sizes?Object.keys(f.headings.sizes).reduce((g,y)=>(g[y]=M(M({},f.headings.sizes[y]),l.headings.sizes[y]),g),{}):f.headings.sizes;return O(M({},u),{headings:O(M(M({},f.headings),l.headings),{sizes:A})})}return u[_]=typeof l[_]=="object"?M(M({},f[_]),l[_]):typeof l[_]=="number"||typeof l[_]=="boolean"||typeof l[_]=="function"?l[_]:l[_]||f[_],u},{});if(l!=null&&l.fontFamily&&!((s=l==null?void 0:l.headings)!=null&&s.fontFamily)&&(c.headings.fontFamily=l.fontFamily),!(c.primaryColor in c.colors))throw new Error("MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more \u2013 https://mantine.dev/theming/colors/#primary-color");return c}function m(f,l){return(0,t.P)(z(f,l))}},71298:(D,b,e)=>{"use strict";e.d(b,{px:()=>t});function t(n){return typeof n=="number"?n:typeof n=="string"?n.includes("px")?Number(n.replace("px","")):n.includes("rem")?Number(n.replace("rem",""))*16:Number(n):NaN}},96768:(D,b,e)=>{"use strict";e.d(b,{em:()=>o,h:()=>n});function t(r){return a=>{if(typeof a=="number")return`${a/16}${r}`;if(typeof a=="string"){const i=a.replace("px","");if(!Number.isNaN(Number(i)))return`${Number(i)/16}${r}`}return a}}const n=t("rem"),o=t("em")},48002:(D,b,e)=>{"use strict";e.d(b,{c:()=>r});function t(a){return/^#?([0-9A-F]{3}){1,2}$/i.test(a)}function n(a){let i=a.replace("#","");if(i.length===3){const z=i.split("");i=[z[0],z[0],z[1],z[1],z[2],z[2]].join("")}const p=parseInt(i,16),d=p>>16&255,M=p>>8&255,O=p&255;return{r:d,g:M,b:O,a:1}}function o(a){const[i,p,d,M]=a.replace(/[^0-9,.]/g,"").split(",").map(Number);return{r:i,g:p,b:d,a:M||1}}function r(a){return t(a)?n(a):a.startsWith("rgb")?o(a):{r:0,g:0,b:0,a:1}}},4629:(D,b,e)=>{"use strict";e.d(b,{x:()=>r});var t=e(7294),n=e(917),o=e(17997);function r({styles:a}){const i=(0,o.rZ)();return t.createElement(n.Global,{styles:(0,n.css)(typeof a=="function"?a(i):a)})}},55861:(D,b,e)=>{"use strict";e.d(b,{k:()=>f});var t=e(84339),n=e(17997),o=e(83943),r=Object.defineProperty,a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(l,s,c)=>s in l?r(l,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[s]=c,M=(l,s)=>{for(var c in s||(s={}))i.call(s,c)&&d(l,c,s[c]);if(a)for(var c of a(s))p.call(s,c)&&d(l,c,s[c]);return l};function O(l,s){return s&&Object.keys(s).forEach(c=>{l[c]?l[c]=M(M({},l[c]),s[c]):l[c]=M({},s[c])}),l}function z(l,s,c,u){const _=A=>typeof A=="function"?A(s,c||{},u):A||{};return Array.isArray(l)?l.map(A=>_(A.styles)).reduce((A,g)=>O(A,g),{}):_(l)}function m({ctx:l,theme:s,params:c,variant:u,size:_}){return l.reduce((A,g)=>(g.variants&&u in g.variants&&O(A,g.variants[u](s,c,{variant:u,size:_})),g.sizes&&_ in g.sizes&&O(A,g.sizes[_](s,c,{variant:u,size:_})),A),{})}function f(l){const s=typeof l=="function"?l:()=>l;function c(u,_){const A=(0,n.rZ)(),g=(0,n.O2)(_==null?void 0:_.name),y=(0,n.T1)(),W={variant:_==null?void 0:_.variant,size:_==null?void 0:_.size},{css:E,cx:T}=(0,t.Z)(),q=s(A,u,W),S=z(_==null?void 0:_.styles,A,u,W),I=z(g,A,u,W),x=m({ctx:g,theme:A,params:u,variant:_==null?void 0:_.variant,size:_==null?void 0:_.size}),j=Object.fromEntries(Object.keys(q).map(N=>{const k=T({[E(q[N])]:!(_!=null&&_.unstyled)},E(x[N]),E(I[N]),E(S[N]));return[N,k]}));return{classes:(0,o.E)({cx:T,classes:j,context:g,classNames:_==null?void 0:_.classNames,name:_==null?void 0:_.name,cache:y}),cx:T,theme:A}}return c}},61220:(D,b,e)=>{"use strict";e.d(b,{w:()=>n});var t=e(4697);const n=(0,t.Z)({key:"mantine",prepend:!0})},58404:(D,b,e)=>{"use strict";e.d(b,{A:()=>t});function t(n){return`___ref-${n||""}`}},84339:(D,b,e)=>{"use strict";e.d(b,{Z:()=>s});var t=e(86010),n=e(302),o=e(444),r=e(57013),a=e(43522),i=Object.defineProperty,p=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(c,u,_)=>u in c?i(c,u,{enumerable:!0,configurable:!0,writable:!0,value:_}):c[u]=_,z=(c,u)=>{for(var _ in u||(u={}))d.call(u,_)&&O(c,_,u[_]);if(p)for(var _ of p(u))M.call(u,_)&&O(c,_,u[_]);return c};const m="ref";function f(c){let u;if(c.length!==1)return{args:c,ref:u};const[_]=c;if(!(_ instanceof Object))return{args:c,ref:u};if(!(m in _))return{args:c,ref:u};u=_[m];const A=z({},_);return delete A[m],{args:[A],ref:u}}const{cssFactory:l}=(()=>{function c(_,A,g){const y=[],W=(0,o.fp)(_,y,g);return y.length<2?g:W+A(y)}function u(_){const{cache:A}=_,g=(...W)=>{const{ref:E,args:T}=f(W),q=(0,n.O)(T,A.registered);return(0,o.My)(A,q,!1),`${A.key}-${q.name}${E===void 0?"":` ${E}`}`};return{css:g,cx:(...W)=>c(A.registered,g,(0,t.Z)(W))}}return{cssFactory:u}})();function s(){const c=(0,a.S)();return(0,r.F)(()=>l({cache:c}),[c])}},43522:(D,b,e)=>{"use strict";e.d(b,{S:()=>o});var t=e(61220),n=e(17997);function o(){return(0,n.T1)()||t.w}},83943:(D,b,e)=>{"use strict";e.d(b,{E:()=>t});function t({cx:n,classes:o,context:r,classNames:a,name:i,cache:p}){const d=r.reduce((M,O)=>(Object.keys(O.classNames).forEach(z=>{typeof M[z]!="string"?M[z]=`${O.classNames[z]}`:M[z]=`${M[z]} ${O.classNames[z]}`}),M),{});return Object.keys(o).reduce((M,O)=>(M[O]=n(o[O],d[O],a!=null&&a[O],Array.isArray(i)?i.filter(Boolean).map(z=>`${(p==null?void 0:p.key)||"mantine"}-${z}-${O}`).join(" "):i?`${(p==null?void 0:p.key)||"mantine"}-${i}-${O}`:null),M),{})}},57013:(D,b,e)=>{"use strict";e.d(b,{F:()=>n});var t=e(7294);function n(o,r){const a=(0,t.useRef)();return(!a.current||r.length!==a.current.prevDeps.length||a.current.prevDeps.map((i,p)=>i===r[p]).indexOf(!1)>=0)&&(a.current={v:o(),prevDeps:[...r]}),a.current.v}},68918:(D,b,e)=>{"use strict";e.d(b,{n:()=>n});var t=e(91611);function n(o,r={active:!0}){return typeof o!="function"||!r.active?r.onKeyDown||t.Z:a=>{var i;a.key==="Escape"&&(o(a),(i=r.onTrigger)==null||i.call(r))}}},69328:(D,b,e)=>{"use strict";e.d(b,{x:()=>t});function t(n,o){return r=>{n==null||n(r),o==null||o(r)}}},48427:(D,b,e)=>{"use strict";e.d(b,{F:()=>t});function t(n){return n}},68216:(D,b,e)=>{"use strict";e.d(b,{R:()=>n});var t=e(7294);function n(o){const r=(0,t.createContext)(null);return[({children:p,value:d})=>t.createElement(r.Provider,{value:d},p),()=>{const p=(0,t.useContext)(r);if(p===null)throw new Error(o);return p}]}},16650:(D,b,e)=>{"use strict";e.d(b,{R:()=>a});var t=e(38523);function n(i,p,d){for(let M=i-1;M>=0;M-=1)if(!p[M].disabled)return M;if(d){for(let M=p.length-1;M>-1;M-=1)if(!p[M].disabled)return M}return i}function o(i,p,d){for(let M=i+1;M{var l;d==null||d(f);const s=Array.from(((l=(0,t.p)(f.currentTarget,i))==null?void 0:l.querySelectorAll(p))||[]).filter(y=>r(f.currentTarget,y,i)),c=s.findIndex(y=>f.currentTarget===y),u=o(c,s,M),_=n(c,s,M),A=z==="rtl"?_:u,g=z==="rtl"?u:_;switch(f.key){case"ArrowRight":{m==="horizontal"&&(f.stopPropagation(),f.preventDefault(),s[A].focus(),O&&s[A].click());break}case"ArrowLeft":{m==="horizontal"&&(f.stopPropagation(),f.preventDefault(),s[g].focus(),O&&s[g].click());break}case"ArrowUp":{m==="vertical"&&(f.stopPropagation(),f.preventDefault(),s[_].focus(),O&&s[_].click());break}case"ArrowDown":{m==="vertical"&&(f.stopPropagation(),f.preventDefault(),s[u].focus(),O&&s[u].click());break}case"Home":{f.stopPropagation(),f.preventDefault(),!s[0].disabled&&s[0].focus();break}case"End":{f.stopPropagation(),f.preventDefault();const y=s.length-1;!s[y].disabled&&s[y].focus();break}}}}},94878:(D,b,e)=>{"use strict";var t=e(7294);function n(a,i){window.dispatchEvent(new CustomEvent(a,{detail:i}))}const o=typeof window<"u"?t.useLayoutEffect:t.useEffect;function r(a){function i(d){const M=Object.keys(d).reduce((O,z)=>(O[`${a}:${z}`]=m=>d[z](m.detail),O),{});o(()=>(Object.keys(M).forEach(O=>{window.removeEventListener(O,M[O]),window.addEventListener(O,M[O])}),()=>Object.keys(M).forEach(O=>{window.removeEventListener(O,M[O])})),[M])}function p(d){return(...M)=>n(`${a}:${String(d)}`,M[0])}return[i,p]}},38523:(D,b,e)=>{"use strict";e.d(b,{p:()=>t});function t(n,o){let r=n;for(;(r=r.parentElement)&&!r.matches(o););return r}},67882:(D,b,e)=>{"use strict";e.d(b,{m:()=>n});var t=e(38523);function n(o,r,a){var i;return a?Array.from(((i=(0,t.p)(a,r))==null?void 0:i.querySelectorAll(o))||[]).findIndex(p=>p===a):null}},31943:(D,b,e)=>{"use strict";e.d(b,{A:()=>t});function t(n,o){return r=>{if(typeof r!="string"||r.trim().length===0)throw new Error(o);return`${n}-${r}`}}},65053:(D,b,e)=>{"use strict";e.d(b,{j:()=>t});function t({data:o}){const r=[],a=[],i=o.reduce((p,d,M)=>(d.group?p[d.group]?p[d.group].push(M):p[d.group]=[M]:a.push(M),p),{});return Object.keys(i).forEach(p=>{r.push(...i[p].map(d=>o[d]))}),r.push(...a.map(p=>o[p])),r}function n(o){const r=t({data:o}),a=[],i=[];let p=null;return r.forEach((d,M)=>{d.group?(p!==d.group&&(p=d.group,i.push({type:"label",label:p})),i.push({type:"item",item:d,index:M})):a.push({type:"item",item:d,index:M})}),{grouped:i,unGrouped:a,items:[...i,...a],hasItems:i.length>0||a.length>0}}},92159:(D,b,e)=>{"use strict";e.d(b,{AS:()=>p.A,Fm:()=>t.F,RG:()=>i.R,Rf:()=>n.R,Rk:()=>a.R,XP:()=>z.X,Yv:()=>m.Y,ZT:()=>O.Z,jp:()=>f.j,kK:()=>s.k,mE:()=>o.m,nq:()=>d.n,xH:()=>M.x});var t=e(48427),n=e(16650),o=e(67882),r=e(38523),a=e(68216),i=e(97818),p=e(31943),d=e(68918),M=e(69328),O=e(91611),z=e(27115),m=e(10995),f=e(65053),l=e(94878),s=e(24241)},24241:(D,b,e)=>{"use strict";e.d(b,{k:()=>n});var t=e(7294);function n(o){return Array.isArray(o)||o===null?!1:typeof o=="object"?o.type!==t.Fragment:!1}},27115:(D,b,e)=>{"use strict";e.d(b,{X:()=>t});function t(n){return Object.keys(n)}},91611:(D,b,e)=>{"use strict";e.d(b,{Z:()=>t});const t=()=>{}},97818:(D,b,e)=>{"use strict";e.d(b,{R:()=>t});function t(n){return Array.isArray(n)?n:[n]}},10995:(D,b,e)=>{"use strict";e.d(b,{Y:()=>n});var t=e(7294);function n(){const[o,r]=(0,t.useState)(-1);return[o,{setHovered:r,resetHovered:()=>r(-1)}]}},7374:(D,b,e)=>{"use strict";e.d(b,{u:()=>t});function t(n,[o,r]){return Math.min(r,Math.max(o,n))}},76652:(D,b,e)=>{"use strict";e.d(b,{M:()=>t});function t(n,o,{checkForDefaultPrevented:r=!0}={}){return function(i){if(n==null||n(i),r===!1||!i.defaultPrevented)return o==null?void 0:o(i)}}},17255:(D,b,e)=>{"use strict";e.d(b,{F:()=>o,e:()=>r});var t=e(7294);function n(a,i){typeof a=="function"?a(i):a!=null&&(a.current=i)}function o(...a){return i=>a.forEach(p=>n(p,i))}function r(...a){return(0,t.useCallback)(o(...a),a)}},32707:(D,b,e)=>{"use strict";e.d(b,{b:()=>o});var t=e(7294);function n(a,i){const p=$3bkAK$createContext(i);function d(O){const{children:z,...m}=O,f=$3bkAK$useMemo(()=>m,Object.values(m));return $3bkAK$createElement(p.Provider,{value:f},z)}function M(O){const z=$3bkAK$useContext(p);if(z)return z;if(i!==void 0)return i;throw new Error(`\`${O}\` must be used within \`${a}\``)}return d.displayName=a+"Provider",[d,M]}function o(a,i=[]){let p=[];function d(O,z){const m=(0,t.createContext)(z),f=p.length;p=[...p,z];function l(c){const{scope:u,children:_,...A}=c,g=(u==null?void 0:u[a][f])||m,y=(0,t.useMemo)(()=>A,Object.values(A));return(0,t.createElement)(g.Provider,{value:y},_)}function s(c,u){const _=(u==null?void 0:u[a][f])||m,A=(0,t.useContext)(_);if(A)return A;if(z!==void 0)return z;throw new Error(`\`${c}\` must be used within \`${O}\``)}return l.displayName=O+"Provider",[l,s]}const M=()=>{const O=p.map(z=>(0,t.createContext)(z));return function(m){const f=(m==null?void 0:m[a])||O;return(0,t.useMemo)(()=>({[`__scope${a}`]:{...m,[a]:f}}),[m,f])}};return M.scopeName=a,[d,r(M,...i)]}function r(...a){const i=a[0];if(a.length===1)return i;const p=()=>{const d=a.map(M=>({useScope:M(),scopeName:M.scopeName}));return function(O){const z=d.reduce((m,{useScope:f,scopeName:l})=>{const c=f(O)[`__scope${l}`];return{...m,...c}},{});return(0,t.useMemo)(()=>({[`__scope${i.scopeName}`]:z}),[z])}};return p.scopeName=i.scopeName,p}},41931:(D,b,e)=>{"use strict";e.d(b,{gm:()=>r});var t=e(7294);const n=(0,t.createContext)(void 0),o=i=>{const{dir:p,children:d}=i;return $7Gjcd$createElement(n.Provider,{value:p},d)};function r(i){const p=(0,t.useContext)(n);return i||p||"ltr"}const a=null},43216:(D,b,e)=>{"use strict";e.d(b,{z:()=>i});var t=e(7294),n=e(3935),o=e(17255),r=e(29563);function a(M,O){return(0,t.useReducer)((z,m)=>{const f=O[z][m];return f!=null?f:z},M)}const i=M=>{const{present:O,children:z}=M,m=p(O),f=typeof z=="function"?z({present:m.isPresent}):t.Children.only(z),l=(0,o.e)(m.ref,f.ref);return typeof z=="function"||m.isPresent?(0,t.cloneElement)(f,{ref:l}):null};i.displayName="Presence";function p(M){const[O,z]=(0,t.useState)(),m=(0,t.useRef)({}),f=(0,t.useRef)(M),l=(0,t.useRef)("none"),s=M?"mounted":"unmounted",[c,u]=a(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,t.useEffect)(()=>{const _=d(m.current);l.current=c==="mounted"?_:"none"},[c]),(0,r.b)(()=>{const _=m.current,A=f.current;if(A!==M){const y=l.current,W=d(_);M?u("MOUNT"):W==="none"||(_==null?void 0:_.display)==="none"?u("UNMOUNT"):u(A&&y!==W?"ANIMATION_OUT":"UNMOUNT"),f.current=M}},[M,u]),(0,r.b)(()=>{if(O){const _=g=>{const W=d(m.current).includes(g.animationName);g.target===O&&W&&(0,n.flushSync)(()=>u("ANIMATION_END"))},A=g=>{g.target===O&&(l.current=d(m.current))};return O.addEventListener("animationstart",A),O.addEventListener("animationcancel",_),O.addEventListener("animationend",_),()=>{O.removeEventListener("animationstart",A),O.removeEventListener("animationcancel",_),O.removeEventListener("animationend",_)}}else u("ANIMATION_END")},[O,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:(0,t.useCallback)(_=>{_&&(m.current=getComputedStyle(_)),z(_)},[])}}function d(M){return(M==null?void 0:M.animationName)||"none"}},40192:(D,b,e)=>{"use strict";e.d(b,{WV:()=>i});var t=e(7462),n=e(7294),o=e(3935),r=e(88820);const i=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"].reduce((M,O)=>{const z=(0,n.forwardRef)((m,f)=>{const{asChild:l,...s}=m,c=l?r.g7:O;return(0,n.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,n.createElement)(c,(0,t.Z)({},s,{ref:f}))});return z.displayName=`Primitive.${O}`,{...M,[O]:z}},{});function p(M,O){M&&$4q5Fq$flushSync(()=>M.dispatchEvent(O))}const d=null},76332:(D,b,e)=>{"use strict";e.d(b,{LW:()=>J0,Ns:()=>B0,bU:()=>g0,fC:()=>Z0,l_:()=>Y0});var t=e(7462),n=e(7294),o=e(40192),r=e(43216),a=e(32707),i=e(17255),p=e(95355),d=e(41931),M=e(29563),O=e(7374),z=e(76652);function m(E0,K0){return(0,n.useReducer)((j0,n1)=>{const r1=K0[j0][n1];return r1!=null?r1:j0},E0)}const f="ScrollArea",[l,s]=(0,a.b)(f),[c,u]=l(f),_=(0,n.forwardRef)((E0,K0)=>{const{__scopeScrollArea:j0,type:n1="hover",dir:r1,scrollHideDelay:s1=600,...O1}=E0,[A1,v1]=(0,n.useState)(null),[C1,E1]=(0,n.useState)(null),[x0,H0]=(0,n.useState)(null),[_1,u1]=(0,n.useState)(null),[y0,C0]=(0,n.useState)(null),[U0,V0]=(0,n.useState)(0),[z1,P1]=(0,n.useState)(0),[X0,k0]=(0,n.useState)(!1),[e1,f1]=(0,n.useState)(!1),q1=(0,i.e)(K0,B1=>v1(B1)),Y1=(0,d.gm)(r1);return(0,n.createElement)(c,{scope:j0,type:n1,dir:Y1,scrollHideDelay:s1,scrollArea:A1,viewport:C1,onViewportChange:E1,content:x0,onContentChange:H0,scrollbarX:_1,onScrollbarXChange:u1,scrollbarXEnabled:X0,onScrollbarXEnabledChange:k0,scrollbarY:y0,onScrollbarYChange:C0,scrollbarYEnabled:e1,onScrollbarYEnabledChange:f1,onCornerWidthChange:V0,onCornerHeightChange:P1},(0,n.createElement)(o.WV.div,(0,t.Z)({dir:Y1},O1,{ref:q1,style:{position:"relative","--radix-scroll-area-corner-width":U0+"px","--radix-scroll-area-corner-height":z1+"px",...E0.style}})))}),A="ScrollAreaViewport",g=(0,n.forwardRef)((E0,K0)=>{const{__scopeScrollArea:j0,children:n1,...r1}=E0,s1=u(A,j0),O1=(0,n.useRef)(null),A1=(0,i.e)(K0,O1,s1.onViewportChange);return(0,n.createElement)(n.Fragment,null,(0,n.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),(0,n.createElement)(o.WV.div,(0,t.Z)({"data-radix-scroll-area-viewport":""},r1,{ref:A1,style:{overflowX:s1.scrollbarXEnabled?"scroll":"hidden",overflowY:s1.scrollbarYEnabled?"scroll":"hidden",...E0.style}}),(0,n.createElement)("div",{ref:s1.onContentChange,style:{minWidth:"100%",display:"table"}},n1)))}),y="ScrollAreaScrollbar",W=(0,n.forwardRef)((E0,K0)=>{const{forceMount:j0,...n1}=E0,r1=u(y,E0.__scopeScrollArea),{onScrollbarXEnabledChange:s1,onScrollbarYEnabledChange:O1}=r1,A1=E0.orientation==="horizontal";return(0,n.useEffect)(()=>(A1?s1(!0):O1(!0),()=>{A1?s1(!1):O1(!1)}),[A1,s1,O1]),r1.type==="hover"?(0,n.createElement)(E,(0,t.Z)({},n1,{ref:K0,forceMount:j0})):r1.type==="scroll"?(0,n.createElement)(T,(0,t.Z)({},n1,{ref:K0,forceMount:j0})):r1.type==="auto"?(0,n.createElement)(q,(0,t.Z)({},n1,{ref:K0,forceMount:j0})):r1.type==="always"?(0,n.createElement)(S,(0,t.Z)({},n1,{ref:K0})):null}),E=(0,n.forwardRef)((E0,K0)=>{const{forceMount:j0,...n1}=E0,r1=u(y,E0.__scopeScrollArea),[s1,O1]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{const A1=r1.scrollArea;let v1=0;if(A1){const C1=()=>{window.clearTimeout(v1),O1(!0)},E1=()=>{v1=window.setTimeout(()=>O1(!1),r1.scrollHideDelay)};return A1.addEventListener("pointerenter",C1),A1.addEventListener("pointerleave",E1),()=>{window.clearTimeout(v1),A1.removeEventListener("pointerenter",C1),A1.removeEventListener("pointerleave",E1)}}},[r1.scrollArea,r1.scrollHideDelay]),(0,n.createElement)(r.z,{present:j0||s1},(0,n.createElement)(q,(0,t.Z)({"data-state":s1?"visible":"hidden"},n1,{ref:K0})))}),T=(0,n.forwardRef)((E0,K0)=>{const{forceMount:j0,...n1}=E0,r1=u(y,E0.__scopeScrollArea),s1=E0.orientation==="horizontal",O1=A0(()=>v1("SCROLL_END"),100),[A1,v1]=m("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return(0,n.useEffect)(()=>{if(A1==="idle"){const C1=window.setTimeout(()=>v1("HIDE"),r1.scrollHideDelay);return()=>window.clearTimeout(C1)}},[A1,r1.scrollHideDelay,v1]),(0,n.useEffect)(()=>{const C1=r1.viewport,E1=s1?"scrollLeft":"scrollTop";if(C1){let x0=C1[E1];const H0=()=>{const _1=C1[E1];x0!==_1&&(v1("SCROLL"),O1()),x0=_1};return C1.addEventListener("scroll",H0),()=>C1.removeEventListener("scroll",H0)}},[r1.viewport,s1,v1,O1]),(0,n.createElement)(r.z,{present:j0||A1!=="hidden"},(0,n.createElement)(S,(0,t.Z)({"data-state":A1==="hidden"?"hidden":"visible"},n1,{ref:K0,onPointerEnter:(0,z.M)(E0.onPointerEnter,()=>v1("POINTER_ENTER")),onPointerLeave:(0,z.M)(E0.onPointerLeave,()=>v1("POINTER_LEAVE"))})))}),q=(0,n.forwardRef)((E0,K0)=>{const j0=u(y,E0.__scopeScrollArea),{forceMount:n1,...r1}=E0,[s1,O1]=(0,n.useState)(!1),A1=E0.orientation==="horizontal",v1=A0(()=>{if(j0.viewport){const C1=j0.viewport.offsetWidth{const{orientation:j0="vertical",...n1}=E0,r1=u(y,E0.__scopeScrollArea),s1=(0,n.useRef)(null),O1=(0,n.useRef)(0),[A1,v1]=(0,n.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),C1=J(A1.viewport,A1.content),E1={...n1,sizes:A1,onSizesChange:v1,hasThumb:C1>0&&C1<1,onThumbChange:H0=>s1.current=H0,onThumbPointerUp:()=>O1.current=0,onThumbPointerDown:H0=>O1.current=H0};function x0(H0,_1){return b0(H0,O1.current,A1,_1)}return j0==="horizontal"?(0,n.createElement)(I,(0,t.Z)({},E1,{ref:K0,onThumbPositionChange:()=>{if(r1.viewport&&s1.current){const H0=r1.viewport.scrollLeft,_1=d0(H0,A1,r1.dir);s1.current.style.transform=`translate3d(${_1}px, 0, 0)`}},onWheelScroll:H0=>{r1.viewport&&(r1.viewport.scrollLeft=H0)},onDragScroll:H0=>{r1.viewport&&(r1.viewport.scrollLeft=x0(H0,r1.dir))}})):j0==="vertical"?(0,n.createElement)(x,(0,t.Z)({},E1,{ref:K0,onThumbPositionChange:()=>{if(r1.viewport&&s1.current){const H0=r1.viewport.scrollTop,_1=d0(H0,A1);s1.current.style.transform=`translate3d(0, ${_1}px, 0)`}},onWheelScroll:H0=>{r1.viewport&&(r1.viewport.scrollTop=H0)},onDragScroll:H0=>{r1.viewport&&(r1.viewport.scrollTop=x0(H0))}})):null}),I=(0,n.forwardRef)((E0,K0)=>{const{sizes:j0,onSizesChange:n1,...r1}=E0,s1=u(y,E0.__scopeScrollArea),[O1,A1]=(0,n.useState)(),v1=(0,n.useRef)(null),C1=(0,i.e)(K0,v1,s1.onScrollbarXChange);return(0,n.useEffect)(()=>{v1.current&&A1(getComputedStyle(v1.current))},[v1]),(0,n.createElement)(k,(0,t.Z)({"data-orientation":"horizontal"},r1,{ref:C1,sizes:j0,style:{bottom:0,left:s1.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:s1.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":a0(j0)+"px",...E0.style},onThumbPointerDown:E1=>E0.onThumbPointerDown(E1.x),onDragScroll:E1=>E0.onDragScroll(E1.x),onWheelScroll:(E1,x0)=>{if(s1.viewport){const H0=s1.viewport.scrollLeft+E1.deltaX;E0.onWheelScroll(H0),_0(H0,x0)&&E1.preventDefault()}},onResize:()=>{v1.current&&s1.viewport&&O1&&n1({content:s1.viewport.scrollWidth,viewport:s1.viewport.offsetWidth,scrollbar:{size:v1.current.clientWidth,paddingStart:t0(O1.paddingLeft),paddingEnd:t0(O1.paddingRight)}})}}))}),x=(0,n.forwardRef)((E0,K0)=>{const{sizes:j0,onSizesChange:n1,...r1}=E0,s1=u(y,E0.__scopeScrollArea),[O1,A1]=(0,n.useState)(),v1=(0,n.useRef)(null),C1=(0,i.e)(K0,v1,s1.onScrollbarYChange);return(0,n.useEffect)(()=>{v1.current&&A1(getComputedStyle(v1.current))},[v1]),(0,n.createElement)(k,(0,t.Z)({"data-orientation":"vertical"},r1,{ref:C1,sizes:j0,style:{top:0,right:s1.dir==="ltr"?0:void 0,left:s1.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":a0(j0)+"px",...E0.style},onThumbPointerDown:E1=>E0.onThumbPointerDown(E1.y),onDragScroll:E1=>E0.onDragScroll(E1.y),onWheelScroll:(E1,x0)=>{if(s1.viewport){const H0=s1.viewport.scrollTop+E1.deltaY;E0.onWheelScroll(H0),_0(H0,x0)&&E1.preventDefault()}},onResize:()=>{v1.current&&s1.viewport&&O1&&n1({content:s1.viewport.scrollHeight,viewport:s1.viewport.offsetHeight,scrollbar:{size:v1.current.clientHeight,paddingStart:t0(O1.paddingTop),paddingEnd:t0(O1.paddingBottom)}})}}))}),[j,N]=l(y),k=(0,n.forwardRef)((E0,K0)=>{const{__scopeScrollArea:j0,sizes:n1,hasThumb:r1,onThumbChange:s1,onThumbPointerUp:O1,onThumbPointerDown:A1,onThumbPositionChange:v1,onDragScroll:C1,onWheelScroll:E1,onResize:x0,...H0}=E0,_1=u(y,j0),[u1,y0]=(0,n.useState)(null),C0=(0,i.e)(K0,q1=>y0(q1)),U0=(0,n.useRef)(null),V0=(0,n.useRef)(""),z1=_1.viewport,P1=n1.content-n1.viewport,X0=(0,p.W)(E1),k0=(0,p.W)(v1),e1=A0(x0,10);function f1(q1){if(U0.current){const Y1=q1.clientX-U0.current.left,B1=q1.clientY-U0.current.top;C1({x:Y1,y:B1})}}return(0,n.useEffect)(()=>{const q1=Y1=>{const B1=Y1.target;(u1==null?void 0:u1.contains(B1))&&X0(Y1,P1)};return document.addEventListener("wheel",q1,{passive:!1}),()=>document.removeEventListener("wheel",q1,{passive:!1})},[z1,u1,P1,X0]),(0,n.useEffect)(k0,[n1,k0]),w0(u1,e1),w0(_1.content,e1),(0,n.createElement)(j,{scope:j0,scrollbar:u1,hasThumb:r1,onThumbChange:(0,p.W)(s1),onThumbPointerUp:(0,p.W)(O1),onThumbPositionChange:k0,onThumbPointerDown:(0,p.W)(A1)},(0,n.createElement)(o.WV.div,(0,t.Z)({},H0,{ref:C0,style:{position:"absolute",...H0.style},onPointerDown:(0,z.M)(E0.onPointerDown,q1=>{q1.button===0&&(q1.target.setPointerCapture(q1.pointerId),U0.current=u1.getBoundingClientRect(),V0.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",f1(q1))}),onPointerMove:(0,z.M)(E0.onPointerMove,f1),onPointerUp:(0,z.M)(E0.onPointerUp,q1=>{const Y1=q1.target;Y1.hasPointerCapture(q1.pointerId)&&Y1.releasePointerCapture(q1.pointerId),document.body.style.webkitUserSelect=V0.current,U0.current=null})})))}),K="ScrollAreaThumb",Y=(0,n.forwardRef)((E0,K0)=>{const{forceMount:j0,...n1}=E0,r1=N(K,E0.__scopeScrollArea);return(0,n.createElement)(r.z,{present:j0||r1.hasThumb},(0,n.createElement)($,(0,t.Z)({ref:K0},n1)))}),$=(0,n.forwardRef)((E0,K0)=>{const{__scopeScrollArea:j0,style:n1,...r1}=E0,s1=u(K,j0),O1=N(K,j0),{onThumbPositionChange:A1}=O1,v1=(0,i.e)(K0,x0=>O1.onThumbChange(x0)),C1=(0,n.useRef)(),E1=A0(()=>{C1.current&&(C1.current(),C1.current=void 0)},100);return(0,n.useEffect)(()=>{const x0=s1.viewport;if(x0){const H0=()=>{if(E1(),!C1.current){const _1=h0(x0,A1);C1.current=_1,A1()}};return A1(),x0.addEventListener("scroll",H0),()=>x0.removeEventListener("scroll",H0)}},[s1.viewport,E1,A1]),(0,n.createElement)(o.WV.div,(0,t.Z)({"data-state":O1.hasThumb?"visible":"hidden"},r1,{ref:v1,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n1},onPointerDownCapture:(0,z.M)(E0.onPointerDownCapture,x0=>{const _1=x0.target.getBoundingClientRect(),u1=x0.clientX-_1.left,y0=x0.clientY-_1.top;O1.onThumbPointerDown({x:u1,y:y0})}),onPointerUp:(0,z.M)(E0.onPointerUp,O1.onThumbPointerUp)}))}),u0="ScrollAreaCorner",n0=(0,n.forwardRef)((E0,K0)=>{const j0=u(u0,E0.__scopeScrollArea),n1=!!(j0.scrollbarX&&j0.scrollbarY);return j0.type!=="scroll"&&n1?(0,n.createElement)(i0,(0,t.Z)({},E0,{ref:K0})):null}),i0=(0,n.forwardRef)((E0,K0)=>{const{__scopeScrollArea:j0,...n1}=E0,r1=u(u0,j0),[s1,O1]=(0,n.useState)(0),[A1,v1]=(0,n.useState)(0),C1=!!(s1&&A1);return w0(r1.scrollbarX,()=>{var E1;const x0=((E1=r1.scrollbarX)===null||E1===void 0?void 0:E1.offsetHeight)||0;r1.onCornerHeightChange(x0),v1(x0)}),w0(r1.scrollbarY,()=>{var E1;const x0=((E1=r1.scrollbarY)===null||E1===void 0?void 0:E1.offsetWidth)||0;r1.onCornerWidthChange(x0),O1(x0)}),C1?(0,n.createElement)(o.WV.div,(0,t.Z)({},n1,{ref:K0,style:{width:s1,height:A1,position:"absolute",right:r1.dir==="ltr"?0:void 0,left:r1.dir==="rtl"?0:void 0,bottom:0,...E0.style}})):null});function t0(E0){return E0?parseInt(E0,10):0}function J(E0,K0){const j0=E0/K0;return isNaN(j0)?0:j0}function a0(E0){const K0=J(E0.viewport,E0.content),j0=E0.scrollbar.paddingStart+E0.scrollbar.paddingEnd,n1=(E0.scrollbar.size-j0)*K0;return Math.max(n1,18)}function b0(E0,K0,j0,n1="ltr"){const r1=a0(j0),s1=r1/2,O1=K0||s1,A1=r1-O1,v1=j0.scrollbar.paddingStart+O1,C1=j0.scrollbar.size-j0.scrollbar.paddingEnd-A1,E1=j0.content-j0.viewport,x0=n1==="ltr"?[0,E1]:[E1*-1,0];return O0([v1,C1],x0)(E0)}function d0(E0,K0,j0="ltr"){const n1=a0(K0),r1=K0.scrollbar.paddingStart+K0.scrollbar.paddingEnd,s1=K0.scrollbar.size-r1,O1=K0.content-K0.viewport,A1=s1-n1,v1=j0==="ltr"?[0,O1]:[O1*-1,0],C1=(0,O.u)(E0,v1);return O0([0,O1],[0,A1])(C1)}function O0(E0,K0){return j0=>{if(E0[0]===E0[1]||K0[0]===K0[1])return K0[0];const n1=(K0[1]-K0[0])/(E0[1]-E0[0]);return K0[0]+n1*(j0-E0[0])}}function _0(E0,K0){return E0>0&&E0{})=>{let j0={left:E0.scrollLeft,top:E0.scrollTop},n1=0;return function r1(){const s1={left:E0.scrollLeft,top:E0.scrollTop},O1=j0.left!==s1.left,A1=j0.top!==s1.top;(O1||A1)&&K0(),j0=s1,n1=window.requestAnimationFrame(r1)}(),()=>window.cancelAnimationFrame(n1)};function A0(E0,K0){const j0=(0,p.W)(E0),n1=(0,n.useRef)(0);return(0,n.useEffect)(()=>()=>window.clearTimeout(n1.current),[]),(0,n.useCallback)(()=>{window.clearTimeout(n1.current),n1.current=window.setTimeout(j0,K0)},[j0,K0])}function w0(E0,K0){const j0=(0,p.W)(K0);(0,M.b)(()=>{let n1=0;if(E0){const r1=new ResizeObserver(()=>{cancelAnimationFrame(n1),n1=window.requestAnimationFrame(j0)});return r1.observe(E0),()=>{window.cancelAnimationFrame(n1),r1.unobserve(E0)}}},[E0,j0])}const Z0=_,Y0=g,J0=W,g0=Y,B0=n0},88820:(D,b,e)=>{"use strict";e.d(b,{g7:()=>r});var t=e(7462),n=e(7294),o=e(17255);const r=(0,n.forwardRef)((O,z)=>{const{children:m,...f}=O,l=n.Children.toArray(m),s=l.find(p);if(s){const c=s.props.children,u=l.map(_=>_===s?n.Children.count(c)>1?n.Children.only(null):(0,n.isValidElement)(c)?c.props.children:null:_);return(0,n.createElement)(a,(0,t.Z)({},f,{ref:z}),(0,n.isValidElement)(c)?(0,n.cloneElement)(c,void 0,u):null)}return(0,n.createElement)(a,(0,t.Z)({},f,{ref:z}),m)});r.displayName="Slot";const a=(0,n.forwardRef)((O,z)=>{const{children:m,...f}=O;return(0,n.isValidElement)(m)?(0,n.cloneElement)(m,{...d(f,m.props),ref:(0,o.F)(z,m.ref)}):n.Children.count(m)>1?n.Children.only(null):null});a.displayName="SlotClone";const i=({children:O})=>(0,n.createElement)(n.Fragment,null,O);function p(O){return(0,n.isValidElement)(O)&&O.type===i}function d(O,z){const m={...z};for(const f in z){const l=O[f],s=z[f];/^on[A-Z]/.test(f)?l&&s?m[f]=(...u)=>{s(...u),l(...u)}:l&&(m[f]=l):f==="style"?m[f]={...l,...s}:f==="className"&&(m[f]=[l,s].filter(Boolean).join(" "))}return{...O,...m}}const M=null},95355:(D,b,e)=>{"use strict";e.d(b,{W:()=>n});var t=e(7294);function n(o){const r=(0,t.useRef)(o);return(0,t.useEffect)(()=>{r.current=o}),(0,t.useMemo)(()=>(...a)=>{var i;return(i=r.current)===null||i===void 0?void 0:i.call(r,...a)},[])}},29563:(D,b,e)=>{"use strict";e.d(b,{b:()=>n});var t=e(7294);const n=globalThis!=null&&globalThis.document?t.useLayoutEffect:()=>{}},599:(D,b,e)=>{"use strict";e.d(b,{AV:()=>J0,Ep:()=>m,Gn:()=>$,J0:()=>p,LX:()=>u0,OF:()=>s1,PP:()=>r,PQ:()=>j0,RQ:()=>A0,WK:()=>O1,WS:()=>g,X3:()=>g0,Zn:()=>J,Zq:()=>O0,aU:()=>n,cP:()=>f,fZ:()=>r1,fp:()=>A,i3:()=>a0,lX:()=>a,p7:()=>z1,pC:()=>_0,q_:()=>i,qp:()=>y0,uX:()=>n1});/**
* @remix-run/router v1.10.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function t(){return t=Object.assign?Object.assign.bind():function(l0){for(var Z=1;Zd1(L1,typeof L1=="string"?null:L1.state,p1===0?"default":void 0));let z0=F0(Q==null?r0.length-1:Q),W0=n.Pop,S0=null;function F0(L1){return Math.min(Math.max(L1,0),r0.length-1)}function G0(){return r0[z0]}function d1(L1,p1,I1){p1===void 0&&(p1=null);let D1=z(r0?G0().pathname:"/",L1,p1,I1);return d(D1.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(L1)),D1}function b1(L1){return typeof L1=="string"?L1:m(L1)}return{get index(){return z0},get action(){return W0},get location(){return G0()},createHref:b1,createURL(L1){return new URL(b1(L1),"http://localhost")},encodeLocation(L1){let p1=typeof L1=="string"?f(L1):L1;return{pathname:p1.pathname||"",search:p1.search||"",hash:p1.hash||""}},push(L1,p1){W0=n.Push;let I1=d1(L1,p1);z0+=1,r0.splice(z0,r0.length,I1),V&&S0&&S0({action:W0,location:I1,delta:1})},replace(L1,p1){W0=n.Replace;let I1=d1(L1,p1);r0[z0]=I1,V&&S0&&S0({action:W0,location:I1,delta:0})},go(L1){W0=n.Pop;let p1=F0(z0+L1),I1=r0[p1];z0=p1,S0&&S0({action:W0,location:I1,delta:L1})},listen(L1){return S0=L1,()=>{S0=null}}}}function a(l0){l0===void 0&&(l0={});function Z(V,r0){let{pathname:z0,search:W0,hash:S0}=V.location;return z("",{pathname:z0,search:W0,hash:S0},r0.state&&r0.state.usr||null,r0.state&&r0.state.key||"default")}function Q(V,r0){return typeof r0=="string"?r0:m(r0)}return l(Z,Q,null,l0)}function i(l0){l0===void 0&&(l0={});function Z(r0,z0){let{pathname:W0="/",search:S0="",hash:F0=""}=f(r0.location.hash.substr(1));return!W0.startsWith("/")&&!W0.startsWith(".")&&(W0="/"+W0),z("",{pathname:W0,search:S0,hash:F0},z0.state&&z0.state.usr||null,z0.state&&z0.state.key||"default")}function Q(r0,z0){let W0=r0.document.querySelector("base"),S0="";if(W0&&W0.getAttribute("href")){let F0=r0.location.href,G0=F0.indexOf("#");S0=G0===-1?F0:F0.slice(0,G0)}return S0+"#"+(typeof z0=="string"?z0:m(z0))}function V(r0,z0){d(r0.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(z0)+")")}return l(Z,Q,V,l0)}function p(l0,Z){if(l0===!1||l0===null||typeof l0>"u")throw new Error(Z)}function d(l0,Z){if(!l0){typeof console<"u"&&console.warn(Z);try{throw new Error(Z)}catch{}}}function M(){return Math.random().toString(36).substr(2,8)}function O(l0,Z){return{usr:l0.state,key:l0.key,idx:Z}}function z(l0,Z,Q,V){return Q===void 0&&(Q=null),t({pathname:typeof l0=="string"?l0:l0.pathname,search:"",hash:""},typeof Z=="string"?f(Z):Z,{state:Q,key:Z&&Z.key||V||M()})}function m(l0){let{pathname:Z="/",search:Q="",hash:V=""}=l0;return Q&&Q!=="?"&&(Z+=Q.charAt(0)==="?"?Q:"?"+Q),V&&V!=="#"&&(Z+=V.charAt(0)==="#"?V:"#"+V),Z}function f(l0){let Z={};if(l0){let Q=l0.indexOf("#");Q>=0&&(Z.hash=l0.substr(Q),l0=l0.substr(0,Q));let V=l0.indexOf("?");V>=0&&(Z.search=l0.substr(V),l0=l0.substr(0,V)),l0&&(Z.pathname=l0)}return Z}function l(l0,Z,Q,V){V===void 0&&(V={});let{window:r0=document.defaultView,v5Compat:z0=!1}=V,W0=r0.history,S0=n.Pop,F0=null,G0=d1();G0==null&&(G0=0,W0.replaceState(t({},W0.state,{idx:G0}),""));function d1(){return(W0.state||{idx:null}).idx}function b1(){S0=n.Pop;let D1=d1(),Me=D1==null?null:D1-G0;G0=D1,F0&&F0({action:S0,location:I1.location,delta:Me})}function g1(D1,Me){S0=n.Push;let se=z(I1.location,D1,Me);Q&&Q(se,D1),G0=d1()+1;let fe=O(se,G0),c1=I1.createHref(se);try{W0.pushState(fe,"",c1)}catch(ze){if(ze instanceof DOMException&&ze.name==="DataCloneError")throw ze;r0.location.assign(c1)}z0&&F0&&F0({action:S0,location:I1.location,delta:1})}function L1(D1,Me){S0=n.Replace;let se=z(I1.location,D1,Me);Q&&Q(se,D1),G0=d1();let fe=O(se,G0),c1=I1.createHref(se);W0.replaceState(fe,"",c1),z0&&F0&&F0({action:S0,location:I1.location,delta:0})}function p1(D1){let Me=r0.location.origin!=="null"?r0.location.origin:r0.location.href,se=typeof D1=="string"?D1:m(D1);return p(Me,"No window.location.(origin|href) available to create URL for href: "+se),new URL(se,Me)}let I1={get action(){return S0},get location(){return l0(r0,W0)},listen(D1){if(F0)throw new Error("A history only accepts one active listener");return r0.addEventListener(o,b1),F0=D1,()=>{r0.removeEventListener(o,b1),F0=null}},createHref(D1){return Z(r0,D1)},createURL:p1,encodeLocation(D1){let Me=p1(D1);return{pathname:Me.pathname,search:Me.search,hash:Me.hash}},push:g1,replace:L1,go(D1){return W0.go(D1)}};return I1}var s;(function(l0){l0.data="data",l0.deferred="deferred",l0.redirect="redirect",l0.error="error"})(s||(s={}));const c=new Set(["lazy","caseSensitive","path","id","index","children"]);function u(l0){return l0.index===!0}function _(l0,Z,Q,V){return Q===void 0&&(Q=[]),V===void 0&&(V={}),l0.map((r0,z0)=>{let W0=[...Q,z0],S0=typeof r0.id=="string"?r0.id:W0.join("-");if(p(r0.index!==!0||!r0.children,"Cannot specify children on an index route"),p(!V[S0],'Found a route id collision on id "'+S0+`". Route id's must be globally unique within Data Router usages`),u(r0)){let F0=t({},r0,Z(r0),{id:S0});return V[S0]=F0,F0}else{let F0=t({},r0,Z(r0),{id:S0,children:void 0});return V[S0]=F0,r0.children&&(F0.children=_(r0.children,Z,W0,V)),F0}})}function A(l0,Z,Q){Q===void 0&&(Q="/");let V=typeof Z=="string"?f(Z):Z,r0=J(V.pathname||"/",Q);if(r0==null)return null;let z0=y(l0);E(z0);let W0=null;for(let S0=0;W0==null&&S0{let F0={relativePath:S0===void 0?z0.path||"":S0,caseSensitive:z0.caseSensitive===!0,childrenIndex:W0,route:z0};F0.relativePath.startsWith("/")&&(p(F0.relativePath.startsWith(V),'Absolute route path "'+F0.relativePath+'" nested under path '+('"'+V+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),F0.relativePath=F0.relativePath.slice(V.length));let G0=A0([V,F0.relativePath]),d1=Q.concat(F0);z0.children&&z0.children.length>0&&(p(z0.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+G0+'".')),y(z0.children,Z,d1,G0)),!(z0.path==null&&!z0.index)&&Z.push({path:G0,score:k(G0,z0.index),routesMeta:d1})};return l0.forEach((z0,W0)=>{var S0;if(z0.path===""||!((S0=z0.path)!=null&&S0.includes("?")))r0(z0,W0);else for(let F0 of W(z0.path))r0(z0,W0,F0)}),Z}function W(l0){let Z=l0.split("/");if(Z.length===0)return[];let[Q,...V]=Z,r0=Q.endsWith("?"),z0=Q.replace(/\?$/,"");if(V.length===0)return r0?[z0,""]:[z0];let W0=W(V.join("/")),S0=[];return S0.push(...W0.map(F0=>F0===""?z0:[z0,F0].join("/"))),r0&&S0.push(...W0),S0.map(F0=>l0.startsWith("/")&&F0===""?"/":F0)}function E(l0){l0.sort((Z,Q)=>Z.score!==Q.score?Q.score-Z.score:K(Z.routesMeta.map(V=>V.childrenIndex),Q.routesMeta.map(V=>V.childrenIndex)))}const T=/^:\w+$/,q=3,S=2,I=1,x=10,j=-2,N=l0=>l0==="*";function k(l0,Z){let Q=l0.split("/"),V=Q.length;return Q.some(N)&&(V+=j),Z&&(V+=S),Q.filter(r0=>!N(r0)).reduce((r0,z0)=>r0+(T.test(z0)?q:z0===""?I:x),V)}function K(l0,Z){return l0.length===Z.length&&l0.slice(0,-1).every((V,r0)=>V===Z[r0])?l0[l0.length-1]-Z[Z.length-1]:0}function Y(l0,Z){let{routesMeta:Q}=l0,V={},r0="/",z0=[];for(let W0=0;W0W0==null?"":typeof W0=="string"?W0:String(W0),z0=Q.split(/\/+/).map((W0,S0,F0)=>{if(S0===F0.length-1&&W0==="*")return r0(Z["*"]);const d1=W0.match(/^:(\w+)(\??)$/);if(d1){const[,b1,g1]=d1;let L1=Z[b1];return p(g1==="?"||L1!=null,'Missing ":'+b1+'" param'),r0(L1)}return W0.replace(/\?$/g,"")}).filter(W0=>!!W0);return V+z0.join("/")}function u0(l0,Z){typeof l0=="string"&&(l0={path:l0,caseSensitive:!1,end:!0});let[Q,V]=n0(l0.path,l0.caseSensitive,l0.end),r0=Z.match(Q);if(!r0)return null;let z0=r0[0],W0=z0.replace(/(.)\/+$/,"$1"),S0=r0.slice(1);return{params:V.reduce((G0,d1,b1)=>{if(d1==="*"){let g1=S0[b1]||"";W0=z0.slice(0,z0.length-g1.length).replace(/(.)\/+$/,"$1")}return G0[d1]=t0(S0[b1]||"",d1),G0},{}),pathname:z0,pathnameBase:W0,pattern:l0}}function n0(l0,Z,Q){Z===void 0&&(Z=!1),Q===void 0&&(Q=!0),d(l0==="*"||!l0.endsWith("*")||l0.endsWith("/*"),'Route path "'+l0+'" will be treated as if it were '+('"'+l0.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+l0.replace(/\*$/,"/*")+'".'));let V=[],r0="^"+l0.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(W0,S0)=>(V.push(S0),"/([^\\/]+)"));return l0.endsWith("*")?(V.push("*"),r0+=l0==="*"||l0==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):Q?r0+="\\/*$":l0!==""&&l0!=="/"&&(r0+="(?:(?=\\/|$))"),[new RegExp(r0,Z?void 0:"i"),V]}function i0(l0){try{return decodeURI(l0)}catch(Z){return d(!1,'The URL path "'+l0+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+Z+").")),l0}}function t0(l0,Z){try{return decodeURIComponent(l0)}catch(Q){return d(!1,'The value for the URL param "'+Z+'" will not be decoded because'+(' the string "'+l0+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+Q+").")),l0}}function J(l0,Z){if(Z==="/")return l0;if(!l0.toLowerCase().startsWith(Z.toLowerCase()))return null;let Q=Z.endsWith("/")?Z.length-1:Z.length,V=l0.charAt(Q);return V&&V!=="/"?null:l0.slice(Q)||"/"}function a0(l0,Z){Z===void 0&&(Z="/");let{pathname:Q,search:V="",hash:r0=""}=typeof l0=="string"?f(l0):l0;return{pathname:Q?Q.startsWith("/")?Q:b0(Q,Z):Z,search:Z0(V),hash:Y0(r0)}}function b0(l0,Z){let Q=Z.replace(/\/+$/,"").split("/");return l0.split("/").forEach(r0=>{r0===".."?Q.length>1&&Q.pop():r0!=="."&&Q.push(r0)}),Q.length>1?Q.join("/"):"/"}function d0(l0,Z,Q,V){return"Cannot include a '"+l0+"' character in a manually specified "+("`to."+Z+"` field ["+JSON.stringify(V)+"]. Please separate it out to the ")+("`to."+Q+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function O0(l0){return l0.filter((Z,Q)=>Q===0||Z.route.path&&Z.route.path.length>0)}function _0(l0,Z,Q,V){V===void 0&&(V=!1);let r0;typeof l0=="string"?r0=f(l0):(r0=t({},l0),p(!r0.pathname||!r0.pathname.includes("?"),d0("?","pathname","search",r0)),p(!r0.pathname||!r0.pathname.includes("#"),d0("#","pathname","hash",r0)),p(!r0.search||!r0.search.includes("#"),d0("#","search","hash",r0)));let z0=l0===""||r0.pathname==="",W0=z0?"/":r0.pathname,S0;if(V||W0==null)S0=Q;else{let b1=Z.length-1;if(W0.startsWith("..")){let g1=W0.split("/");for(;g1[0]==="..";)g1.shift(),b1-=1;r0.pathname=g1.join("/")}S0=b1>=0?Z[b1]:"/"}let F0=a0(r0,S0),G0=W0&&W0!=="/"&&W0.endsWith("/"),d1=(z0||W0===".")&&Q.endsWith("/");return!F0.pathname.endsWith("/")&&(G0||d1)&&(F0.pathname+="/"),F0}function h0(l0){return l0===""||l0.pathname===""?"/":typeof l0=="string"?f(l0).pathname:l0.pathname}const A0=l0=>l0.join("/").replace(/\/\/+/g,"/"),w0=l0=>l0.replace(/\/+$/,"").replace(/^\/*/,"/"),Z0=l0=>!l0||l0==="?"?"":l0.startsWith("?")?l0:"?"+l0,Y0=l0=>!l0||l0==="#"?"":l0.startsWith("#")?l0:"#"+l0,J0=function(Z,Q){Q===void 0&&(Q={});let V=typeof Q=="number"?{status:Q}:Q,r0=new Headers(V.headers);return r0.has("Content-Type")||r0.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(Z),t({},V,{headers:r0}))};class g0 extends Error{}class B0{constructor(Z,Q){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],p(Z&&typeof Z=="object"&&!Array.isArray(Z),"defer() only accepts plain objects");let V;this.abortPromise=new Promise((z0,W0)=>V=W0),this.controller=new AbortController;let r0=()=>V(new g0("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",r0),this.controller.signal.addEventListener("abort",r0),this.data=Object.entries(Z).reduce((z0,W0)=>{let[S0,F0]=W0;return Object.assign(z0,{[S0]:this.trackPromise(S0,F0)})},{}),this.done&&this.unlistenAbortSignal(),this.init=Q}trackPromise(Z,Q){if(!(Q instanceof Promise))return Q;this.deferredKeys.push(Z),this.pendingKeysSet.add(Z);let V=Promise.race([Q,this.abortPromise]).then(r0=>this.onSettle(V,Z,void 0,r0),r0=>this.onSettle(V,Z,r0));return V.catch(()=>{}),Object.defineProperty(V,"_tracked",{get:()=>!0}),V}onSettle(Z,Q,V,r0){if(this.controller.signal.aborted&&V instanceof g0)return this.unlistenAbortSignal(),Object.defineProperty(Z,"_error",{get:()=>V}),Promise.reject(V);if(this.pendingKeysSet.delete(Q),this.done&&this.unlistenAbortSignal(),V===void 0&&r0===void 0){let z0=new Error('Deferred data for key "'+Q+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(Z,"_error",{get:()=>z0}),this.emit(!1,Q),Promise.reject(z0)}return r0===void 0?(Object.defineProperty(Z,"_error",{get:()=>V}),this.emit(!1,Q),Promise.reject(V)):(Object.defineProperty(Z,"_data",{get:()=>r0}),this.emit(!1,Q),r0)}emit(Z,Q){this.subscribers.forEach(V=>V(Z,Q))}subscribe(Z){return this.subscribers.add(Z),()=>this.subscribers.delete(Z)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((Z,Q)=>this.pendingKeysSet.delete(Q)),this.emit(!0)}async resolveData(Z){let Q=!1;if(!this.done){let V=()=>this.cancel();Z.addEventListener("abort",V),Q=await new Promise(r0=>{this.subscribe(z0=>{Z.removeEventListener("abort",V),(z0||this.done)&&r0(z0)})})}return Q}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return p(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((Z,Q)=>{let[V,r0]=Q;return Object.assign(Z,{[V]:K0(r0)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function E0(l0){return l0 instanceof Promise&&l0._tracked===!0}function K0(l0){if(!E0(l0))return l0;if(l0._error)throw l0._error;return l0._data}const j0=function(Z,Q){Q===void 0&&(Q={});let V=typeof Q=="number"?{status:Q}:Q;return new B0(Z,V)},n1=function(Z,Q){Q===void 0&&(Q=302);let V=Q;typeof V=="number"?V={status:V}:typeof V.status>"u"&&(V.status=302);let r0=new Headers(V.headers);return r0.set("Location",Z),new Response(null,t({},V,{headers:r0}))},r1=(l0,Z)=>{let Q=n1(l0,Z);return Q.headers.set("X-Remix-Reload-Document","true"),Q};class s1{constructor(Z,Q,V,r0){r0===void 0&&(r0=!1),this.status=Z,this.statusText=Q||"",this.internal=r0,V instanceof Error?(this.data=V.toString(),this.error=V):this.data=V}}function O1(l0){return l0!=null&&typeof l0.status=="number"&&typeof l0.statusText=="string"&&typeof l0.internal=="boolean"&&"data"in l0}const A1=["post","put","patch","delete"],v1=new Set(A1),C1=["get",...A1],E1=new Set(C1),x0=new Set([301,302,303,307,308]),H0=new Set([307,308]),_1={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},u1={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},y0={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},C0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,U0=l0=>({hasErrorBoundary:!!l0.hasErrorBoundary}),V0="remix-router-transitions";function z1(l0){const Z=l0.window?l0.window:typeof window<"u"?window:void 0,Q=typeof Z<"u"&&typeof Z.document<"u"&&typeof Z.document.createElement<"u",V=!Q;p(l0.routes.length>0,"You must provide a non-empty routes array to createRouter");let r0;if(l0.mapRouteProperties)r0=l0.mapRouteProperties;else if(l0.detectErrorBoundary){let S1=l0.detectErrorBoundary;r0=H1=>({hasErrorBoundary:S1(H1)})}else r0=U0;let z0={},W0=_(l0.routes,r0,void 0,z0),S0,F0=l0.basename||"/",G0=t({v7_normalizeFormMethod:!1,v7_prependBasename:!1},l0.future),d1=null,b1=new Set,g1=null,L1=null,p1=null,I1=l0.hydrationData!=null,D1=A(W0,l0.history.location,F0),Me=null;if(D1==null){let S1=ye(404,{pathname:l0.history.location.pathname}),{matches:H1,route:pe}=$1(W0);D1=H1,Me={[pe.id]:S1}}let se=!D1.some(S1=>S1.route.lazy)&&(!D1.some(S1=>S1.route.loader)||l0.hydrationData!=null),fe,c1={historyAction:l0.history.action,location:l0.history.location,matches:D1,initialized:se,navigation:_1,restoreScrollPosition:l0.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:l0.hydrationData&&l0.hydrationData.loaderData||{},actionData:l0.hydrationData&&l0.hydrationData.actionData||null,errors:l0.hydrationData&&l0.hydrationData.errors||Me,fetchers:new Map,blockers:new Map},ze=n.Pop,Ve=!1,F1,be=!1,ne=new Map,R1=null,Se=!1,Ie=!1,We=[],Ue=[],Ze=new Map,xt=0,Te=-1,Xe=new Map,_e=new Set,je=new Map,Wt=new Map,Mt=new Map,Ut=!1;function sn(){if(d1=l0.history.listen(S1=>{let{action:H1,location:pe,delta:Le}=S1;if(Ut){Ut=!1;return}d(Mt.size===0||Le!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Ye=Rn({currentLocation:c1.location,nextLocation:pe,historyAction:H1});if(Ye&&Le!=null){Ut=!0,l0.history.go(Le*-1),Qe(Ye,{state:"blocked",location:pe,proceed(){Qe(Ye,{state:"proceeding",proceed:void 0,reset:void 0,location:pe}),l0.history.go(Le)},reset(){let nt=new Map(c1.blockers);nt.set(Ye,y0),we({blockers:nt})}});return}return cn(H1,pe)}),Q){zn(Z,ne);let S1=()=>$0(Z,ne);Z.addEventListener("pagehide",S1),R1=()=>Z.removeEventListener("pagehide",S1)}return c1.initialized||cn(n.Pop,c1.location),fe}function vt(){d1&&d1(),R1&&R1(),b1.clear(),F1&&F1.abort(),c1.fetchers.forEach((S1,H1)=>T1(H1)),c1.blockers.forEach((S1,H1)=>gt(H1))}function Ln(S1){return b1.add(S1),()=>b1.delete(S1)}function we(S1,H1){c1=t({},c1,S1),b1.forEach(pe=>pe(c1,{unstable_viewTransitionOpts:H1}))}function Ke(S1,H1){var pe,Le;let Ye=c1.actionData!=null&&c1.navigation.formMethod!=null&&pt(c1.navigation.formMethod)&&c1.navigation.state==="loading"&&((pe=S1.state)==null?void 0:pe._isRedirect)!==!0,nt;H1.actionData?Object.keys(H1.actionData).length>0?nt=H1.actionData:nt=null:Ye?nt=c1.actionData:nt=null;let $e=H1.loaderData?it(c1.loaderData,H1.loaderData,H1.matches||[],H1.errors):c1.loaderData,et=c1.blockers;et.size>0&&(et=new Map(et),et.forEach((Jt,Lt)=>et.set(Lt,y0)));let xe=Ve===!0||c1.navigation.formMethod!=null&&pt(c1.navigation.formMethod)&&((Le=S1.state)==null?void 0:Le._isRedirect)!==!0;S0&&(W0=S0,S0=void 0),Se||ze===n.Pop||(ze===n.Push?l0.history.push(S1,S1.state):ze===n.Replace&&l0.history.replace(S1,S1.state));let St;if(ze===n.Pop){let Jt=ne.get(c1.location.pathname);Jt&&Jt.has(S1.pathname)?St={currentLocation:c1.location,nextLocation:S1}:ne.has(S1.pathname)&&(St={currentLocation:S1,nextLocation:c1.location})}else if(be){let Jt=ne.get(c1.location.pathname);Jt?Jt.add(S1.pathname):(Jt=new Set([S1.pathname]),ne.set(c1.location.pathname,Jt)),St={currentLocation:c1.location,nextLocation:S1}}we(t({},H1,{actionData:nt,loaderData:$e,historyAction:ze,location:S1,initialized:!0,navigation:_1,revalidation:"idle",restoreScrollPosition:Hn(S1,H1.matches||c1.matches),preventScrollReset:xe,blockers:et}),St),ze=n.Pop,Ve=!1,be=!1,Se=!1,Ie=!1,We=[],Ue=[]}async function Yn(S1,H1){if(typeof S1=="number"){l0.history.go(S1);return}let pe=f1(c1.location,c1.matches,F0,G0.v7_prependBasename,S1,H1==null?void 0:H1.fromRouteId,H1==null?void 0:H1.relative),{path:Le,submission:Ye,error:nt}=q1(G0.v7_normalizeFormMethod,!1,pe,H1),$e=c1.location,et=z(c1.location,Le,H1&&H1.state);et=t({},et,l0.history.encodeLocation(et));let xe=H1&&H1.replace!=null?H1.replace:void 0,St=n.Push;xe===!0?St=n.Replace:xe===!1||Ye!=null&&pt(Ye.formMethod)&&Ye.formAction===c1.location.pathname+c1.location.search&&(St=n.Replace);let Jt=H1&&"preventScrollReset"in H1?H1.preventScrollReset===!0:void 0,Lt=Rn({currentLocation:$e,nextLocation:et,historyAction:St});if(Lt){Qe(Lt,{state:"blocked",location:et,proceed(){Qe(Lt,{state:"proceeding",proceed:void 0,reset:void 0,location:et}),Yn(S1,H1)},reset(){let Nt=new Map(c1.blockers);Nt.set(Lt,y0),we({blockers:Nt})}});return}return await cn(St,et,{submission:Ye,pendingError:nt,preventScrollReset:Jt,replace:H1&&H1.replace,enableViewTransition:H1&&H1.unstable_viewTransition})}function _t(){if(o1(),we({revalidation:"loading"}),c1.navigation.state!=="submitting"){if(c1.navigation.state==="idle"){cn(c1.historyAction,c1.location,{startUninterruptedRevalidation:!0});return}cn(ze||c1.historyAction,c1.navigation.location,{overrideNavigation:c1.navigation})}}async function cn(S1,H1,pe){F1&&F1.abort(),F1=null,ze=S1,Se=(pe&&pe.startUninterruptedRevalidation)===!0,Pt(c1.location,c1.matches),Ve=(pe&&pe.preventScrollReset)===!0,be=(pe&&pe.enableViewTransition)===!0;let Le=S0||W0,Ye=pe&&pe.overrideNavigation,nt=A(Le,H1,F0);if(!nt){let Nt=ye(404,{pathname:H1.pathname}),{matches:zt,route:Cn}=$1(Le);gn(),Ke(H1,{matches:zt,loaderData:{},errors:{[Cn.id]:Nt}});return}if(c1.initialized&&!Ie&&Bt(c1.location,H1)&&!(pe&&pe.submission&&pt(pe.submission.formMethod))){Ke(H1,{matches:nt});return}F1=new AbortController;let $e=ve(l0.history,H1,F1.signal,pe&&pe.submission),et,xe;if(pe&&pe.pendingError)xe={[ct(nt).route.id]:pe.pendingError};else if(pe&&pe.submission&&pt(pe.submission.formMethod)){let Nt=await Bn($e,H1,pe.submission,nt,{replace:pe.replace});if(Nt.shortCircuited)return;et=Nt.pendingActionData,xe=Nt.pendingActionError,Ye=pn(H1,pe.submission),$e=new Request($e.url,{signal:$e.signal})}let{shortCircuited:St,loaderData:Jt,errors:Lt}=await B($e,H1,nt,Ye,pe&&pe.submission,pe&&pe.fetcherSubmission,pe&&pe.replace,et,xe);St||(F1=null,Ke(H1,t({matches:nt},et?{actionData:et}:{},{loaderData:Jt,errors:Lt})))}async function Bn(S1,H1,pe,Le,Ye){Ye===void 0&&(Ye={}),o1();let nt=Yt(H1,pe);we({navigation:nt});let $e,et=Ct(Le,H1);if(!et.route.action&&!et.route.lazy)$e={type:s.error,error:ye(405,{method:S1.method,pathname:H1.pathname,routeId:et.route.id})};else if($e=await De("action",S1,et,Le,z0,r0,F0),S1.signal.aborted)return{shortCircuited:!0};if(Dt($e)){let xe;return Ye&&Ye.replace!=null?xe=Ye.replace:xe=$e.location===c1.location.pathname+c1.location.search,await P0(c1,$e,{submission:pe,replace:xe}),{shortCircuited:!0}}if(yt($e)){let xe=ct(Le,et.route.id);return(Ye&&Ye.replace)!==!0&&(ze=n.Push),{pendingActionData:{},pendingActionError:{[xe.route.id]:$e.error}}}if(qt($e))throw ye(400,{type:"defer-action"});return{pendingActionData:{[et.route.id]:$e.data}}}async function B(S1,H1,pe,Le,Ye,nt,$e,et,xe){let St=Le||pn(H1,Ye),Jt=Ye||nt||He(St),Lt=S0||W0,[Nt,zt]=B1(l0.history,c1,pe,Jt,H1,Ie,We,Ue,je,_e,Lt,F0,et,xe);if(gn(Zt=>!(pe&&pe.some($t=>$t.route.id===Zt))||Nt&&Nt.some($t=>$t.route.id===Zt)),Te=++xt,Nt.length===0&&zt.length===0){let Zt=j1();return Ke(H1,t({matches:pe,loaderData:{},errors:xe||null},et?{actionData:et}:{},Zt?{fetchers:new Map(c1.fetchers)}:{})),{shortCircuited:!0}}if(!Se){zt.forEach($t=>{let Mr=c1.fetchers.get($t.key),co=Qt(void 0,Mr?Mr.data:void 0);c1.fetchers.set($t.key,co)});let Zt=et||c1.actionData;we(t({navigation:St},Zt?Object.keys(Zt).length===0?{actionData:null}:{actionData:Zt}:{},zt.length>0?{fetchers:new Map(c1.fetchers)}:{}))}zt.forEach(Zt=>{Ze.has(Zt.key)&&k1(Zt.key),Zt.controller&&Ze.set(Zt.key,Zt.controller)});let Cn=()=>zt.forEach(Zt=>k1(Zt.key));F1&&F1.signal.addEventListener("abort",Cn);let{results:sr,loaderResults:Dr,fetcherResults:zr}=await T0(c1.matches,pe,Nt,zt,S1);if(S1.signal.aborted)return{shortCircuited:!0};F1&&F1.signal.removeEventListener("abort",Cn),zt.forEach(Zt=>Ze.delete(Zt.key));let wt=an(sr);if(wt){if(wt.idx>=Nt.length){let Zt=zt[wt.idx-Nt.length].key;_e.add(Zt)}return await P0(c1,wt.result,{replace:$e}),{shortCircuited:!0}}let{loaderData:Kn,errors:Xr}=Ot(c1,pe,Nt,Dr,xe,zt,zr,Wt);Wt.forEach((Zt,$t)=>{Zt.subscribe(Mr=>{(Mr||Zt.done)&&Wt.delete($t)})});let mr=j1(),Gr=V1(Te),Tr=mr||Gr||zt.length>0;return t({loaderData:Kn,errors:Xr},Tr?{fetchers:new Map(c1.fetchers)}:{})}function X(S1){return c1.fetchers.get(S1)||u1}function e0(S1,H1,pe,Le){if(V)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Ze.has(S1)&&k1(S1);let Ye=S0||W0,nt=f1(c1.location,c1.matches,F0,G0.v7_prependBasename,pe,H1,Le==null?void 0:Le.relative),$e=A(Ye,nt,F0);if(!$e){t1(S1,H1,ye(404,{pathname:nt}));return}let{path:et,submission:xe,error:St}=q1(G0.v7_normalizeFormMethod,!0,nt,Le);if(St){t1(S1,H1,St);return}let Jt=Ct($e,et);if(Ve=(Le&&Le.preventScrollReset)===!0,xe&&pt(xe.formMethod)){s0(S1,H1,et,Jt,$e,xe);return}je.set(S1,{routeId:H1,path:et}),v0(S1,H1,et,Jt,$e,xe)}async function s0(S1,H1,pe,Le,Ye,nt){if(o1(),je.delete(S1),!Le.route.action&&!Le.route.lazy){let En=ye(405,{method:nt.formMethod,pathname:pe,routeId:H1});t1(S1,H1,En);return}let $e=c1.fetchers.get(S1),et=ot(nt,$e);c1.fetchers.set(S1,et),we({fetchers:new Map(c1.fetchers)});let xe=new AbortController,St=ve(l0.history,pe,xe.signal,nt);Ze.set(S1,xe);let Jt=xt,Lt=await De("action",St,Le,Ye,z0,r0,F0);if(St.signal.aborted){Ze.get(S1)===xe&&Ze.delete(S1);return}if(Dt(Lt))if(Ze.delete(S1),Te>Jt){let En=Ge(void 0);c1.fetchers.set(S1,En),we({fetchers:new Map(c1.fetchers)});return}else{_e.add(S1);let En=Qt(nt);return c1.fetchers.set(S1,En),we({fetchers:new Map(c1.fetchers)}),P0(c1,Lt,{fetcherSubmission:nt})}if(yt(Lt)){t1(S1,H1,Lt.error);return}if(qt(Lt))throw ye(400,{type:"defer-action"});let Nt=c1.navigation.location||c1.location,zt=ve(l0.history,Nt,xe.signal),Cn=S0||W0,sr=c1.navigation.state!=="idle"?A(Cn,c1.navigation.location,F0):c1.matches;p(sr,"Didn't find any matches after fetcher action");let Dr=++xt;Xe.set(S1,Dr);let zr=Qt(nt,Lt.data);c1.fetchers.set(S1,zr);let[wt,Kn]=B1(l0.history,c1,sr,nt,Nt,Ie,We,Ue,je,_e,Cn,F0,{[Le.route.id]:Lt.data},void 0);Kn.filter(En=>En.key!==S1).forEach(En=>{let qr=En.key,Jn=c1.fetchers.get(qr),ir=Qt(void 0,Jn?Jn.data:void 0);c1.fetchers.set(qr,ir),Ze.has(qr)&&k1(qr),En.controller&&Ze.set(qr,En.controller)}),we({fetchers:new Map(c1.fetchers)});let Xr=()=>Kn.forEach(En=>k1(En.key));xe.signal.addEventListener("abort",Xr);let{results:mr,loaderResults:Gr,fetcherResults:Tr}=await T0(c1.matches,sr,wt,Kn,zt);if(xe.signal.aborted)return;xe.signal.removeEventListener("abort",Xr),Xe.delete(S1),Ze.delete(S1),Kn.forEach(En=>Ze.delete(En.key));let Zt=an(mr);if(Zt){if(Zt.idx>=wt.length){let En=Kn[Zt.idx-wt.length].key;_e.add(En)}return P0(c1,Zt.result)}let{loaderData:$t,errors:Mr}=Ot(c1,c1.matches,wt,Gr,void 0,Kn,Tr,Wt);if(c1.fetchers.has(S1)){let En=Ge(Lt.data);c1.fetchers.set(S1,En)}let co=V1(Dr);c1.navigation.state==="loading"&&Dr>Te?(p(ze,"Expected pending action"),F1&&F1.abort(),Ke(c1.navigation.location,{matches:sr,loaderData:$t,errors:Mr,fetchers:new Map(c1.fetchers)})):(we(t({errors:Mr,loaderData:it(c1.loaderData,$t,sr,Mr)},co||Kn.length>0?{fetchers:new Map(c1.fetchers)}:{})),Ie=!1)}async function v0(S1,H1,pe,Le,Ye,nt){let $e=c1.fetchers.get(S1),et=Qt(nt,$e?$e.data:void 0);c1.fetchers.set(S1,et),we({fetchers:new Map(c1.fetchers)});let xe=new AbortController,St=ve(l0.history,pe,xe.signal);Ze.set(S1,xe);let Jt=xt,Lt=await De("loader",St,Le,Ye,z0,r0,F0);if(qt(Lt)&&(Lt=await vn(Lt,St.signal,!0)||Lt),Ze.get(S1)===xe&&Ze.delete(S1),St.signal.aborted)return;if(Dt(Lt))if(Te>Jt){let zt=Ge(void 0);c1.fetchers.set(S1,zt),we({fetchers:new Map(c1.fetchers)});return}else{_e.add(S1),await P0(c1,Lt);return}if(yt(Lt)){let zt=ct(c1.matches,H1);c1.fetchers.delete(S1),we({fetchers:new Map(c1.fetchers),errors:{[zt.route.id]:Lt.error}});return}p(!qt(Lt),"Unhandled fetcher deferred data");let Nt=Ge(Lt.data);c1.fetchers.set(S1,Nt),we({fetchers:new Map(c1.fetchers)})}async function P0(S1,H1,pe){let{submission:Le,fetcherSubmission:Ye,replace:nt}=pe===void 0?{}:pe;H1.revalidate&&(Ie=!0);let $e=z(S1.location,H1.location,{_isRedirect:!0});if(p($e,"Expected a location on the redirect navigation"),Q){let Nt=!1;if(H1.reloadDocument)Nt=!0;else if(C0.test(H1.location)){const zt=l0.history.createURL(H1.location);Nt=zt.origin!==Z.location.origin||J(zt.pathname,F0)==null}if(Nt){nt?Z.location.replace(H1.location):Z.location.assign(H1.location);return}}F1=null;let et=nt===!0?n.Replace:n.Push,{formMethod:xe,formAction:St,formEncType:Jt}=S1.navigation;!Le&&!Ye&&xe&&St&&Jt&&(Le=He(S1.navigation));let Lt=Le||Ye;if(H0.has(H1.status)&&Lt&&pt(Lt.formMethod))await cn(et,$e,{submission:t({},Lt,{formAction:H1.location}),preventScrollReset:Ve});else{let Nt=pn($e,Le);await cn(et,$e,{overrideNavigation:Nt,fetcherSubmission:Ye,preventScrollReset:Ve})}}async function T0(S1,H1,pe,Le,Ye){let nt=await Promise.all([...pe.map(xe=>De("loader",Ye,xe,H1,z0,r0,F0)),...Le.map(xe=>xe.matches&&xe.match&&xe.controller?De("loader",ve(l0.history,xe.path,xe.controller.signal),xe.match,xe.matches,z0,r0,F0):{type:s.error,error:ye(404,{pathname:xe.path})})]),$e=nt.slice(0,pe.length),et=nt.slice(pe.length);return await Promise.all([qn(S1,pe,$e,$e.map(()=>Ye.signal),!1,c1.loaderData),qn(S1,Le.map(xe=>xe.match),et,Le.map(xe=>xe.controller?xe.controller.signal:null),!0)]),{results:nt,loaderResults:$e,fetcherResults:et}}function o1(){Ie=!0,We.push(...gn()),je.forEach((S1,H1)=>{Ze.has(H1)&&(Ue.push(H1),k1(H1))})}function t1(S1,H1,pe){let Le=ct(c1.matches,H1);T1(S1),we({errors:{[Le.route.id]:pe},fetchers:new Map(c1.fetchers)})}function T1(S1){let H1=c1.fetchers.get(S1);Ze.has(S1)&&!(H1&&H1.state==="loading"&&Xe.has(S1))&&k1(S1),je.delete(S1),Xe.delete(S1),_e.delete(S1),c1.fetchers.delete(S1)}function k1(S1){let H1=Ze.get(S1);p(H1,"Expected fetch controller: "+S1),H1.abort(),Ze.delete(S1)}function ie(S1){for(let H1 of S1){let pe=X(H1),Le=Ge(pe.data);c1.fetchers.set(H1,Le)}}function j1(){let S1=[],H1=!1;for(let pe of _e){let Le=c1.fetchers.get(pe);p(Le,"Expected fetcher: "+pe),Le.state==="loading"&&(_e.delete(pe),S1.push(pe),H1=!0)}return ie(S1),H1}function V1(S1){let H1=[];for(let[pe,Le]of Xe)if(Le0}function Je(S1,H1){let pe=c1.blockers.get(S1)||y0;return Mt.get(S1)!==H1&&Mt.set(S1,H1),pe}function gt(S1){c1.blockers.delete(S1),Mt.delete(S1)}function Qe(S1,H1){let pe=c1.blockers.get(S1)||y0;p(pe.state==="unblocked"&&H1.state==="blocked"||pe.state==="blocked"&&H1.state==="blocked"||pe.state==="blocked"&&H1.state==="proceeding"||pe.state==="blocked"&&H1.state==="unblocked"||pe.state==="proceeding"&&H1.state==="unblocked","Invalid blocker state transition: "+pe.state+" -> "+H1.state);let Le=new Map(c1.blockers);Le.set(S1,H1),we({blockers:Le})}function Rn(S1){let{currentLocation:H1,nextLocation:pe,historyAction:Le}=S1;if(Mt.size===0)return;Mt.size>1&&d(!1,"A router only supports one blocker at a time");let Ye=Array.from(Mt.entries()),[nt,$e]=Ye[Ye.length-1],et=c1.blockers.get(nt);if(!(et&&et.state==="proceeding")&&$e({currentLocation:H1,nextLocation:pe,historyAction:Le}))return nt}function gn(S1){let H1=[];return Wt.forEach((pe,Le)=>{(!S1||S1(Le))&&(pe.cancel(),H1.push(Le),Wt.delete(Le))}),H1}function Qn(S1,H1,pe){if(g1=S1,p1=H1,L1=pe||null,!I1&&c1.navigation===_1){I1=!0;let Le=Hn(c1.location,c1.matches);Le!=null&&we({restoreScrollPosition:Le})}return()=>{g1=null,p1=null,L1=null}}function Vt(S1,H1){return L1&&L1(S1,H1.map(Le=>g(Le,c1.loaderData)))||S1.key}function Pt(S1,H1){if(g1&&p1){let pe=Vt(S1,H1);g1[pe]=p1()}}function Hn(S1,H1){if(g1){let pe=Vt(S1,H1),Le=g1[pe];if(typeof Le=="number")return Le}return null}function kt(S1){z0={},S0=_(S1,r0,void 0,z0)}return fe={get basename(){return F0},get state(){return c1},get routes(){return W0},get window(){return Z},initialize:sn,subscribe:Ln,enableScrollRestoration:Qn,navigate:Yn,fetch:e0,revalidate:_t,createHref:S1=>l0.history.createHref(S1),encodeLocation:S1=>l0.history.encodeLocation(S1),getFetcher:X,deleteFetcher:T1,dispose:vt,getBlocker:Je,deleteBlocker:gt,_internalFetchControllers:Ze,_internalActiveDeferreds:Wt,_internalSetRoutes:kt},fe}const P1=Symbol("deferred");function X0(l0,Z){p(l0.length>0,"You must provide a non-empty routes array to createStaticHandler");let Q={},V=(Z?Z.basename:null)||"/",r0;if(Z!=null&&Z.mapRouteProperties)r0=Z.mapRouteProperties;else if(Z!=null&&Z.detectErrorBoundary){let b1=Z.detectErrorBoundary;r0=g1=>({hasErrorBoundary:b1(g1)})}else r0=U0;let z0=_(l0,r0,void 0,Q);async function W0(b1,g1){let{requestContext:L1}=g1===void 0?{}:g1,p1=new URL(b1.url),I1=b1.method,D1=z("",m(p1),null,"default"),Me=A(z0,D1,V);if(!Mn(I1)&&I1!=="HEAD"){let fe=ye(405,{method:I1}),{matches:c1,route:ze}=$1(z0);return{basename:V,location:D1,matches:c1,loaderData:{},actionData:null,errors:{[ze.id]:fe},statusCode:fe.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!Me){let fe=ye(404,{pathname:D1.pathname}),{matches:c1,route:ze}=$1(z0);return{basename:V,location:D1,matches:c1,loaderData:{},actionData:null,errors:{[ze.id]:fe},statusCode:fe.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let se=await F0(b1,D1,Me,L1);return At(se)?se:t({location:D1,basename:V},se)}async function S0(b1,g1){let{routeId:L1,requestContext:p1}=g1===void 0?{}:g1,I1=new URL(b1.url),D1=b1.method,Me=z("",m(I1),null,"default"),se=A(z0,Me,V);if(!Mn(D1)&&D1!=="HEAD"&&D1!=="OPTIONS")throw ye(405,{method:D1});if(!se)throw ye(404,{pathname:Me.pathname});let fe=L1?se.find(F1=>F1.route.id===L1):Ct(se,Me);if(L1&&!fe)throw ye(403,{pathname:Me.pathname,routeId:L1});if(!fe)throw ye(404,{pathname:Me.pathname});let c1=await F0(b1,Me,se,p1,fe);if(At(c1))return c1;let ze=c1.errors?Object.values(c1.errors)[0]:void 0;if(ze!==void 0)throw ze;if(c1.actionData)return Object.values(c1.actionData)[0];if(c1.loaderData){var Ve;let F1=Object.values(c1.loaderData)[0];return(Ve=c1.activeDeferreds)!=null&&Ve[fe.route.id]&&(F1[P1]=c1.activeDeferreds[fe.route.id]),F1}}async function F0(b1,g1,L1,p1,I1){p(b1.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(pt(b1.method.toLowerCase()))return await G0(b1,L1,I1||Ct(L1,g1),p1,I1!=null);let D1=await d1(b1,L1,p1,I1);return At(D1)?D1:t({},D1,{actionData:null,actionHeaders:{}})}catch(D1){if(Tn(D1)){if(D1.type===s.error)throw D1.response;return D1.response}if(Wn(D1))return D1;throw D1}}async function G0(b1,g1,L1,p1,I1){let D1;if(!L1.route.action&&!L1.route.lazy){let fe=ye(405,{method:b1.method,pathname:new URL(b1.url).pathname,routeId:L1.route.id});if(I1)throw fe;D1={type:s.error,error:fe}}else if(D1=await De("action",b1,L1,g1,Q,r0,V,{isStaticRequest:!0,isRouteRequest:I1,requestContext:p1}),b1.signal.aborted){let fe=I1?"queryRoute":"query";throw new Error(fe+"() call aborted: "+b1.method+" "+b1.url)}if(Dt(D1))throw new Response(null,{status:D1.status,headers:{Location:D1.location}});if(qt(D1)){let fe=ye(400,{type:"defer-action"});if(I1)throw fe;D1={type:s.error,error:fe}}if(I1){if(yt(D1))throw D1.error;return{matches:[L1],loaderData:{},actionData:{[L1.route.id]:D1.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}if(yt(D1)){let fe=ct(g1,L1.route.id),c1=await d1(b1,g1,p1,void 0,{[fe.route.id]:D1.error});return t({},c1,{statusCode:O1(D1.error)?D1.error.status:500,actionData:null,actionHeaders:t({},D1.headers?{[L1.route.id]:D1.headers}:{})})}let Me=new Request(b1.url,{headers:b1.headers,redirect:b1.redirect,signal:b1.signal}),se=await d1(Me,g1,p1);return t({},se,D1.statusCode?{statusCode:D1.statusCode}:{},{actionData:{[L1.route.id]:D1.data},actionHeaders:t({},D1.headers?{[L1.route.id]:D1.headers}:{})})}async function d1(b1,g1,L1,p1,I1){let D1=p1!=null;if(D1&&!(p1!=null&&p1.route.loader)&&!(p1!=null&&p1.route.lazy))throw ye(400,{method:b1.method,pathname:new URL(b1.url).pathname,routeId:p1==null?void 0:p1.route.id});let se=(p1?[p1]:Y1(g1,Object.keys(I1||{})[0])).filter(F1=>F1.route.loader||F1.route.lazy);if(se.length===0)return{matches:g1,loaderData:g1.reduce((F1,be)=>Object.assign(F1,{[be.route.id]:null}),{}),errors:I1||null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let fe=await Promise.all([...se.map(F1=>De("loader",b1,F1,g1,Q,r0,V,{isStaticRequest:!0,isRouteRequest:D1,requestContext:L1}))]);if(b1.signal.aborted){let F1=D1?"queryRoute":"query";throw new Error(F1+"() call aborted: "+b1.method+" "+b1.url)}let c1=new Map,ze=he(g1,se,fe,I1,c1),Ve=new Set(se.map(F1=>F1.route.id));return g1.forEach(F1=>{Ve.has(F1.route.id)||(ze.loaderData[F1.route.id]=null)}),t({},ze,{matches:g1,activeDeferreds:c1.size>0?Object.fromEntries(c1.entries()):null})}return{dataRoutes:z0,query:W0,queryRoute:S0}}function k0(l0,Z,Q){return t({},Z,{statusCode:500,errors:{[Z._deepestRenderedBoundaryId||l0[0].id]:Q}})}function e1(l0){return l0!=null&&("formData"in l0&&l0.formData!=null||"body"in l0&&l0.body!==void 0)}function f1(l0,Z,Q,V,r0,z0,W0){let S0,F0;if(z0!=null&&W0!=="path"){S0=[];for(let d1 of Z)if(S0.push(d1),d1.route.id===z0){F0=d1;break}}else S0=Z,F0=Z[Z.length-1];let G0=_0(r0||".",O0(S0).map(d1=>d1.pathnameBase),J(l0.pathname,Q)||l0.pathname,W0==="path");return r0==null&&(G0.search=l0.search,G0.hash=l0.hash),(r0==null||r0===""||r0===".")&&F0&&F0.route.index&&!On(G0.search)&&(G0.search=G0.search?G0.search.replace(/^\?/,"?index&"):"?index"),V&&Q!=="/"&&(G0.pathname=G0.pathname==="/"?Q:A0([Q,G0.pathname])),m(G0)}function q1(l0,Z,Q,V){if(!V||!e1(V))return{path:Q};if(V.formMethod&&!Mn(V.formMethod))return{path:Q,error:ye(405,{method:V.formMethod})};let r0=()=>({path:Q,error:ye(400,{type:"invalid-body"})}),z0=V.formMethod||"get",W0=l0?z0.toUpperCase():z0.toLowerCase(),S0=st(Q);if(V.body!==void 0){if(V.formEncType==="text/plain"){if(!pt(W0))return r0();let g1=typeof V.body=="string"?V.body:V.body instanceof FormData||V.body instanceof URLSearchParams?Array.from(V.body.entries()).reduce((L1,p1)=>{let[I1,D1]=p1;return""+L1+I1+"="+D1+`
`},""):String(V.body);return{path:Q,submission:{formMethod:W0,formAction:S0,formEncType:V.formEncType,formData:void 0,json:void 0,text:g1}}}else if(V.formEncType==="application/json"){if(!pt(W0))return r0();try{let g1=typeof V.body=="string"?JSON.parse(V.body):V.body;return{path:Q,submission:{formMethod:W0,formAction:S0,formEncType:V.formEncType,formData:void 0,json:g1,text:void 0}}}catch{return r0()}}}p(typeof FormData=="function","FormData is not available in this environment");let F0,G0;if(V.formData)F0=de(V.formData),G0=V.formData;else if(V.body instanceof FormData)F0=de(V.body),G0=V.body;else if(V.body instanceof URLSearchParams)F0=V.body,G0=te(F0);else if(V.body==null)F0=new URLSearchParams,G0=new FormData;else try{F0=new URLSearchParams(V.body),G0=te(F0)}catch{return r0()}let d1={formMethod:W0,formAction:S0,formEncType:V&&V.formEncType||"application/x-www-form-urlencoded",formData:G0,json:void 0,text:void 0};if(pt(d1.formMethod))return{path:Q,submission:d1};let b1=f(Q);return Z&&b1.search&&On(b1.search)&&F0.append("index",""),b1.search="?"+F0,{path:m(b1),submission:d1}}function Y1(l0,Z){let Q=l0;if(Z){let V=l0.findIndex(r0=>r0.route.id===Z);V>=0&&(Q=l0.slice(0,V))}return Q}function B1(l0,Z,Q,V,r0,z0,W0,S0,F0,G0,d1,b1,g1,L1){let p1=L1?Object.values(L1)[0]:g1?Object.values(g1)[0]:void 0,I1=l0.createURL(Z.location),D1=l0.createURL(r0),Me=L1?Object.keys(L1)[0]:void 0,fe=Y1(Q,Me).filter((ze,Ve)=>{if(ze.route.lazy)return!0;if(ze.route.loader==null)return!1;if(Q1(Z.loaderData,Z.matches[Ve],ze)||W0.some(ne=>ne===ze.route.id))return!0;let F1=Z.matches[Ve],be=ze;return ue(ze,t({currentUrl:I1,currentParams:F1.params,nextUrl:D1,nextParams:be.params},V,{actionResult:p1,defaultShouldRevalidate:z0||I1.pathname+I1.search===D1.pathname+D1.search||I1.search!==D1.search||re(F1,be)}))}),c1=[];return F0.forEach((ze,Ve)=>{if(!Q.some(Se=>Se.route.id===ze.routeId))return;let F1=A(d1,ze.path,b1);if(!F1){c1.push({key:Ve,routeId:ze.routeId,path:ze.path,matches:null,match:null,controller:null});return}let be=Z.fetchers.get(Ve),ne=Ct(F1,ze.path),R1=!1;G0.has(Ve)?R1=!1:S0.includes(Ve)?R1=!0:be&&be.state!=="idle"&&be.data===void 0?R1=z0:R1=ue(ne,t({currentUrl:I1,currentParams:Z.matches[Z.matches.length-1].params,nextUrl:D1,nextParams:Q[Q.length-1].params},V,{actionResult:p1,defaultShouldRevalidate:z0})),R1&&c1.push({key:Ve,routeId:ze.routeId,path:ze.path,matches:F1,match:ne,controller:new AbortController})}),[fe,c1]}function Q1(l0,Z,Q){let V=!Z||Q.route.id!==Z.route.id,r0=l0[Q.route.id]===void 0;return V||r0}function re(l0,Z){let Q=l0.route.path;return l0.pathname!==Z.pathname||Q!=null&&Q.endsWith("*")&&l0.params["*"]!==Z.params["*"]}function ue(l0,Z){if(l0.route.shouldRevalidate){let Q=l0.route.shouldRevalidate(Z);if(typeof Q=="boolean")return Q}return Z.defaultShouldRevalidate}async function Re(l0,Z,Q){if(!l0.lazy)return;let V=await l0.lazy();if(!l0.lazy)return;let r0=Q[l0.id];p(r0,"No route found in manifest");let z0={};for(let W0 in V){let F0=r0[W0]!==void 0&&W0!=="hasErrorBoundary";d(!F0,'Route "'+r0.id+'" has a static property "'+W0+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+W0+'" will be ignored.')),!F0&&!c.has(W0)&&(z0[W0]=V[W0])}Object.assign(r0,z0),Object.assign(r0,t({},Z(r0),{lazy:void 0}))}async function De(l0,Z,Q,V,r0,z0,W0,S0){S0===void 0&&(S0={});let F0,G0,d1,b1=p1=>{let I1,D1=new Promise((Me,se)=>I1=se);return d1=()=>I1(),Z.signal.addEventListener("abort",d1),Promise.race([p1({request:Z,params:Q.params,context:S0.requestContext}),D1])};try{let p1=Q.route[l0];if(Q.route.lazy)if(p1){let I1,D1=await Promise.all([b1(p1).catch(Me=>{I1=Me}),Re(Q.route,z0,r0)]);if(I1)throw I1;G0=D1[0]}else if(await Re(Q.route,z0,r0),p1=Q.route[l0],p1)G0=await b1(p1);else if(l0==="action"){let I1=new URL(Z.url),D1=I1.pathname+I1.search;throw ye(405,{method:Z.method,pathname:D1,routeId:Q.route.id})}else return{type:s.data,data:void 0};else if(p1)G0=await b1(p1);else{let I1=new URL(Z.url),D1=I1.pathname+I1.search;throw ye(404,{pathname:D1})}p(G0!==void 0,"You defined "+(l0==="action"?"an action":"a loader")+" for route "+('"'+Q.route.id+"\" but didn't return anything from your `"+l0+"` ")+"function. Please return a value or `null`.")}catch(p1){F0=s.error,G0=p1}finally{d1&&Z.signal.removeEventListener("abort",d1)}if(At(G0)){let p1=G0.status;if(x0.has(p1)){let Me=G0.headers.get("Location");if(p(Me,"Redirects returned/thrown from loaders/actions must have a Location header"),!C0.test(Me))Me=f1(new URL(Z.url),V.slice(0,V.indexOf(Q)+1),W0,!0,Me);else if(!S0.isStaticRequest){let se=new URL(Z.url),fe=Me.startsWith("//")?new URL(se.protocol+Me):new URL(Me),c1=J(fe.pathname,W0)!=null;fe.origin===se.origin&&c1&&(Me=fe.pathname+fe.search+fe.hash)}if(S0.isStaticRequest)throw G0.headers.set("Location",Me),G0;return{type:s.redirect,status:p1,location:Me,revalidate:G0.headers.get("X-Remix-Revalidate")!==null,reloadDocument:G0.headers.get("X-Remix-Reload-Document")!==null}}if(S0.isRouteRequest)throw{type:F0===s.error?s.error:s.data,response:G0};let I1,D1=G0.headers.get("Content-Type");return D1&&/\bapplication\/json\b/.test(D1)?I1=await G0.json():I1=await G0.text(),F0===s.error?{type:F0,error:new s1(p1,G0.statusText,I1),headers:G0.headers}:{type:s.data,data:I1,statusCode:G0.status,headers:G0.headers}}if(F0===s.error)return{type:F0,error:G0};if(Gt(G0)){var g1,L1;return{type:s.deferred,deferredData:G0,statusCode:(g1=G0.init)==null?void 0:g1.status,headers:((L1=G0.init)==null?void 0:L1.headers)&&new Headers(G0.init.headers)}}return{type:s.data,data:G0}}function ve(l0,Z,Q,V){let r0=l0.createURL(st(Z)).toString(),z0={signal:Q};if(V&&pt(V.formMethod)){let{formMethod:W0,formEncType:S0}=V;z0.method=W0.toUpperCase(),S0==="application/json"?(z0.headers=new Headers({"Content-Type":S0}),z0.body=JSON.stringify(V.json)):S0==="text/plain"?z0.body=V.text:S0==="application/x-www-form-urlencoded"&&V.formData?z0.body=de(V.formData):z0.body=V.formData}return new Request(r0,z0)}function de(l0){let Z=new URLSearchParams;for(let[Q,V]of l0.entries())Z.append(Q,typeof V=="string"?V:V.name);return Z}function te(l0){let Z=new FormData;for(let[Q,V]of l0.entries())Z.append(Q,V);return Z}function he(l0,Z,Q,V,r0){let z0={},W0=null,S0,F0=!1,G0={};return Q.forEach((d1,b1)=>{let g1=Z[b1].route.id;if(p(!Dt(d1),"Cannot handle redirect results in processLoaderData"),yt(d1)){let L1=ct(l0,g1),p1=d1.error;V&&(p1=Object.values(V)[0],V=void 0),W0=W0||{},W0[L1.route.id]==null&&(W0[L1.route.id]=p1),z0[g1]=void 0,F0||(F0=!0,S0=O1(d1.error)?d1.error.status:500),d1.headers&&(G0[g1]=d1.headers)}else qt(d1)?(r0.set(g1,d1.deferredData),z0[g1]=d1.deferredData.data):z0[g1]=d1.data,d1.statusCode!=null&&d1.statusCode!==200&&!F0&&(S0=d1.statusCode),d1.headers&&(G0[g1]=d1.headers)}),V&&(W0=V,z0[Object.keys(V)[0]]=void 0),{loaderData:z0,errors:W0,statusCode:S0||200,loaderHeaders:G0}}function Ot(l0,Z,Q,V,r0,z0,W0,S0){let{loaderData:F0,errors:G0}=he(Z,Q,V,r0,S0);for(let d1=0;d1V.route.id===Z)+1):[...l0]).reverse().find(V=>V.route.hasErrorBoundary===!0)||l0[0]}function $1(l0){let Z=l0.length===1?l0[0]:l0.find(Q=>Q.index||!Q.path||Q.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:Z}],route:Z}}function ye(l0,Z){let{pathname:Q,routeId:V,method:r0,type:z0}=Z===void 0?{}:Z,W0="Unknown Server Error",S0="Unknown @remix-run/router error";return l0===400?(W0="Bad Request",r0&&Q&&V?S0="You made a "+r0+' request to "'+Q+'" but '+('did not provide a `loader` for route "'+V+'", ')+"so there is no way to handle the request.":z0==="defer-action"?S0="defer() is not supported in actions":z0==="invalid-body"&&(S0="Unable to encode submission body")):l0===403?(W0="Forbidden",S0='Route "'+V+'" does not match URL "'+Q+'"'):l0===404?(W0="Not Found",S0='No route matches URL "'+Q+'"'):l0===405&&(W0="Method Not Allowed",r0&&Q&&V?S0="You made a "+r0.toUpperCase()+' request to "'+Q+'" but '+('did not provide an `action` for route "'+V+'", ')+"so there is no way to handle the request.":r0&&(S0='Invalid request method "'+r0.toUpperCase()+'"')),new s1(l0||500,W0,new Error(S0),!0)}function an(l0){for(let Z=l0.length-1;Z>=0;Z--){let Q=l0[Z];if(Dt(Q))return{result:Q,idx:Z}}}function st(l0){let Z=typeof l0=="string"?f(l0):l0;return m(t({},Z,{hash:""}))}function Bt(l0,Z){return l0.pathname!==Z.pathname||l0.search!==Z.search?!1:l0.hash===""?Z.hash!=="":l0.hash===Z.hash?!0:Z.hash!==""}function qt(l0){return l0.type===s.deferred}function yt(l0){return l0.type===s.error}function Dt(l0){return(l0&&l0.type)===s.redirect}function Gt(l0){let Z=l0;return Z&&typeof Z=="object"&&typeof Z.data=="object"&&typeof Z.subscribe=="function"&&typeof Z.cancel=="function"&&typeof Z.resolveData=="function"}function At(l0){return l0!=null&&typeof l0.status=="number"&&typeof l0.statusText=="string"&&typeof l0.headers=="object"&&typeof l0.body<"u"}function Wn(l0){if(!At(l0))return!1;let Z=l0.status,Q=l0.headers.get("Location");return Z>=300&&Z<=399&&Q!=null}function Tn(l0){return l0&&At(l0.response)&&(l0.type===s.data||l0.type===s.error)}function Mn(l0){return E1.has(l0.toLowerCase())}function pt(l0){return v1.has(l0.toLowerCase())}async function qn(l0,Z,Q,V,r0,z0){for(let W0=0;W0b1.route.id===F0.route.id),d1=G0!=null&&!re(G0,F0)&&(z0&&z0[F0.route.id])!==void 0;if(qt(S0)&&(r0||d1)){let b1=V[W0];p(b1,"Expected an AbortSignal for revalidating fetcher deferred result"),await vn(S0,b1,r0).then(g1=>{g1&&(Q[W0]=g1||Q[W0])})}}}async function vn(l0,Z,Q){if(Q===void 0&&(Q=!1),!await l0.deferredData.resolveData(Z)){if(Q)try{return{type:s.data,data:l0.deferredData.unwrappedData}}catch(r0){return{type:s.error,error:r0}}return{type:s.data,data:l0.deferredData.data}}}function On(l0){return new URLSearchParams(l0).getAll("index").some(Z=>Z==="")}function Ct(l0,Z){let Q=typeof Z=="string"?f(Z).search:Z.search;if(l0[l0.length-1].route.index&&On(Q||""))return l0[l0.length-1];let V=O0(l0);return V[V.length-1]}function He(l0){let{formMethod:Z,formAction:Q,formEncType:V,text:r0,formData:z0,json:W0}=l0;if(!(!Z||!Q||!V)){if(r0!=null)return{formMethod:Z,formAction:Q,formEncType:V,formData:void 0,json:void 0,text:r0};if(z0!=null)return{formMethod:Z,formAction:Q,formEncType:V,formData:z0,json:void 0,text:void 0};if(W0!==void 0)return{formMethod:Z,formAction:Q,formEncType:V,formData:void 0,json:W0,text:void 0}}}function pn(l0,Z){return Z?{state:"loading",location:l0,formMethod:Z.formMethod,formAction:Z.formAction,formEncType:Z.formEncType,formData:Z.formData,json:Z.json,text:Z.text}:{state:"loading",location:l0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Yt(l0,Z){return{state:"submitting",location:l0,formMethod:Z.formMethod,formAction:Z.formAction,formEncType:Z.formEncType,formData:Z.formData,json:Z.json,text:Z.text}}function Qt(l0,Z){return l0?{state:"loading",formMethod:l0.formMethod,formAction:l0.formAction,formEncType:l0.formEncType,formData:l0.formData,json:l0.json,text:l0.text,data:Z}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:Z}}function ot(l0,Z){return{state:"submitting",formMethod:l0.formMethod,formAction:l0.formAction,formEncType:l0.formEncType,formData:l0.formData,json:l0.json,text:l0.text,data:Z?Z.data:void 0}}function Ge(l0){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:l0}}function zn(l0,Z){try{let Q=l0.sessionStorage.getItem(V0);if(Q){let V=JSON.parse(Q);for(let[r0,z0]of Object.entries(V||{}))z0&&Array.isArray(z0)&&Z.set(r0,new Set(z0||[]))}}catch{}}function $0(l0,Z){if(Z.size>0){let Q={};for(let[V,r0]of Z)Q[V]=[...r0];try{l0.sessionStorage.setItem(V0,JSON.stringify(Q))}catch(V){d(!1,"Failed to save applied view transitions in sessionStorage ("+V+").")}}}},23541:(D,b,e)=>{"use strict";var t=function(f){if(typeof document>"u")return null;var l=Array.isArray(f)?f[0]:f;return l.ownerDocument.body},n=new WeakMap,o=new WeakMap,r={},a=0,i=function(f){return f&&(f.host||i(f.parentNode))},p=function(f,l){return l.map(function(s){if(f.contains(s))return s;var c=i(s);return c&&f.contains(c)?c:(console.error("aria-hidden",s,"in not contained inside",f,". Doing nothing"),null)}).filter(function(s){return!!s})},d=function(f,l,s,c){var u=p(l,Array.isArray(f)?f:[f]);r[s]||(r[s]=new WeakMap);var _=r[s],A=[],g=new Set,y=new Set(u),W=function(T){!T||g.has(T)||(g.add(T),W(T.parentNode))};u.forEach(W);var E=function(T){!T||y.has(T)||Array.prototype.forEach.call(T.children,function(q){if(g.has(q))E(q);else{var S=q.getAttribute(c),I=S!==null&&S!=="false",x=(n.get(q)||0)+1,j=(_.get(q)||0)+1;n.set(q,x),_.set(q,j),A.push(q),x===1&&I&&o.set(q,!0),j===1&&q.setAttribute(s,"true"),I||q.setAttribute(c,"true")}})};return E(l),g.clear(),a++,function(){A.forEach(function(T){var q=n.get(T)-1,S=_.get(T)-1;n.set(T,q),_.set(T,S),q||(o.has(T)||T.removeAttribute(c),o.delete(T)),S||T.removeAttribute(s)}),a--,a||(n=new WeakMap,n=new WeakMap,o=new WeakMap,r={})}},M=function(f,l,s){s===void 0&&(s="data-aria-hidden");var c=Array.from(Array.isArray(f)?f:[f]),u=l||t(f);return u?(c.push.apply(c,Array.from(u.querySelectorAll("[aria-live]"))),d(c,u,s,"aria-hidden")):function(){return null}},O=function(f,l,s){s===void 0&&(s="data-inert-ed");var c=l||t(f);return c?d(f,c,s,"inert"):function(){return null}},z=function(){return typeof HTMLElement<"u"&&HTMLElement.prototype.hasOwnProperty("inert")},m=function(f,l,s){return s===void 0&&(s="data-suppressed"),(z()?O:M)(f,l,s)}},4184:(D,b)=>{var e,t;/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(){"use strict";var n={}.hasOwnProperty,o="[native code]";function r(){for(var a=[],i=0;i{"use strict";e.d(b,{Z:()=>n});function t(o){var r,a,i="";if(typeof o=="string"||typeof o=="number")i+=o;else if(typeof o=="object")if(Array.isArray(o))for(r=0;r{"use strict";var t=e(7418),n={},o=function(m){};function r(z,m,f,l,s,c,u,_){if(o(m),!z){var A;if(m===void 0)A=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var g=[f,l,s,c,u,_],y=0;A=new Error(m.replace(/%s/g,function(){return g[y++]})),A.name="Invariant Violation"}throw A.framesToPop=1,A}}var a=function(){};if(!1)var i;var p="mixins";function d(z){return z}var M;M={};function O(z,m,f){var l=[],s={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},c={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},u={displayName:function(K,Y){K.displayName=Y},mixins:function(K,Y){if(Y)for(var $=0;${"use strict";var t=e(7294),n=e(6511);if(typeof t>"u")throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var o=new t.Component().updater;D.exports=n(t.Component,t.isValidElement,o)},64083:(D,b,e)=>{"use strict";e.d(b,{U:()=>t});const t=!1},3465:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=o;var n=t(e(9981));function o(r){r===void 0&&(r=(0,n.default)());try{return r.activeElement}catch{}}D.exports=b.default},8141:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=o;var n=t(e(404));function o(r,a){r.classList?r.classList.add(a):(0,n.default)(r,a)||(typeof r.className=="string"?r.className=r.className+" "+a:r.setAttribute("class",(r.className&&r.className.baseVal||"")+" "+a))}D.exports=b.default},404:(D,b)=>{"use strict";b.__esModule=!0,b.default=e;function e(t,n){return t.classList?!!n&&t.classList.contains(n):(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+n+" ")!==-1}D.exports=b.default},580:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=void 0;var n=t(e(8141));b.addClass=n.default;var o=t(e(602));b.removeClass=o.default;var r=t(e(404));b.hasClass=r.default;var a={addClass:n.default,removeClass:o.default,hasClass:r.default};b.default=a},602:D=>{"use strict";function b(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}D.exports=function(t,n){t.classList?t.classList.remove(n):typeof t.className=="string"?t.className=b(t.className,n):t.setAttribute("class",b(t.className&&t.className.baseVal||"",n))}},8236:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=r;var n=t(e(1629)),o=t(e(6792));function r(a,i){return function(d){var M=d.currentTarget,O=d.target,z=(0,o.default)(M,a);z.some(function(m){return(0,n.default)(m,O)})&&i.call(this,d)}}D.exports=b.default},5471:(D,b,e)=>{"use strict";var t,n=e(4836);t=!0,b.ZP=void 0;var o=n(e(1416));t=o.default;var r=n(e(3249));t=r.default;var a=n(e(8236));t=a.default;var i=n(e(8093));t=i.default;var p={on:o.default,off:r.default,filter:a.default,listen:i.default};b.ZP=p},8093:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=void 0;var n=t(e(1704)),o=t(e(1416)),r=t(e(3249)),a=function(){};n.default&&(a=function(d,M,O,z){return(0,o.default)(d,M,O,z),function(){(0,r.default)(d,M,O,z)}});var i=a;b.default=i,D.exports=b.default},3249:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=void 0;var n=t(e(1704)),o=function(){};n.default&&(o=function(){if(document.addEventListener)return function(a,i,p,d){return a.removeEventListener(i,p,d||!1)};if(document.attachEvent)return function(a,i,p){return a.detachEvent("on"+i,p)}}());var r=o;b.default=r,D.exports=b.default},1416:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=void 0;var n=t(e(1704)),o=function(){};n.default&&(o=function(){if(document.addEventListener)return function(a,i,p,d){return a.addEventListener(i,p,d||!1)};if(document.attachEvent)return function(a,i,p){return a.attachEvent("on"+i,function(d){d=d||window.event,d.target=d.target||d.srcElement,d.currentTarget=a,p.call(a,d)})}}());var r=o;b.default=r,D.exports=b.default},9981:(D,b)=>{"use strict";b.__esModule=!0,b.default=e;function e(t){return t&&t.ownerDocument||document}D.exports=b.default},1629:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=void 0;var n=t(e(1704)),o=function(){return n.default?function(a,i){return a.contains?a.contains(i):a.compareDocumentPosition?a===i||!!(a.compareDocumentPosition(i)&16):r(a,i)}:r}();b.default=o;function r(a,i){if(i)do if(i===a)return!0;while(i=i.parentNode);return!1}D.exports=b.default},7624:(D,b)=>{"use strict";b.__esModule=!0,b.default=e;function e(t){return t===t.window?t:t.nodeType===9?t.defaultView||t.parentWindow:!1}D.exports=b.default},2565:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=a;var n=t(e(1629)),o=t(e(7624)),r=t(e(9981));function a(i){var p=(0,r.default)(i),d=(0,o.default)(p),M=p&&p.documentElement,O={top:0,left:0,height:0,width:0};if(p)return(0,n.default)(M,i)&&(i.getBoundingClientRect!==void 0&&(O=i.getBoundingClientRect()),O={top:O.top+(d.pageYOffset||M.scrollTop)-(M.clientTop||0),left:O.left+(d.pageXOffset||M.scrollLeft)-(M.clientLeft||0),width:(O.width==null?i.offsetWidth:O.width)||0,height:(O.height==null?i.offsetHeight:O.height)||0}),O}D.exports=b.default},2939:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=a;var n=t(e(9981)),o=t(e(162));function r(i){return i.nodeName&&i.nodeName.toLowerCase()}function a(i){for(var p=(0,n.default)(i),d=i&&i.offsetParent;d&&r(i)!=="html"&&(0,o.default)(d,"position")==="static";)d=d.offsetParent;return d||p.documentElement}D.exports=b.default},7265:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=M;var n=t(e(434)),o=t(e(2565)),r=t(e(2939)),a=t(e(504)),i=t(e(5770)),p=t(e(162));function d(O){return O.nodeName&&O.nodeName.toLowerCase()}function M(O,z){var m={top:0,left:0},f;return(0,p.default)(O,"position")==="fixed"?f=O.getBoundingClientRect():(z=z||(0,r.default)(O),f=(0,o.default)(O),d(z)!=="html"&&(m=(0,o.default)(z)),m.top+=parseInt((0,p.default)(z,"borderTopWidth"),10)-(0,a.default)(z)||0,m.left+=parseInt((0,p.default)(z,"borderLeftWidth"),10)-(0,i.default)(z)||0),(0,n.default)({},f,{top:f.top-m.top-(parseInt((0,p.default)(O,"marginTop"),10)||0),left:f.left-m.left-(parseInt((0,p.default)(O,"marginLeft"),10)||0)})}D.exports=b.default},6792:(D,b)=>{"use strict";b.__esModule=!0,b.default=n;var e=/^[\w-]*$/,t=Function.prototype.bind.call(Function.prototype.call,[].slice);function n(o,r){var a=r[0]==="#",i=r[0]===".",p=a||i?r.slice(1):r,d=e.test(p),M;return d?a?(o=o.getElementById?o:document,(M=o.getElementById(p))?[M]:[]):o.getElementsByClassName&&i?t(o.getElementsByClassName(p)):t(o.getElementsByTagName(r)):t(o.querySelectorAll(r))}D.exports=b.default},5770:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=o;var n=t(e(7624));function o(r,a){var i=(0,n.default)(r);if(a===void 0)return i?"pageXOffset"in i?i.pageXOffset:i.document.documentElement.scrollLeft:r.scrollLeft;i?i.scrollTo(a,"pageYOffset"in i?i.pageYOffset:i.document.documentElement.scrollTop):r.scrollLeft=a}D.exports=b.default},504:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=o;var n=t(e(7624));function o(r,a){var i=(0,n.default)(r);if(a===void 0)return i?"pageYOffset"in i?i.pageYOffset:i.document.documentElement.scrollTop:r.scrollTop;i?i.scrollTo("pageXOffset"in i?i.pageXOffset:i.document.documentElement.scrollLeft,a):r.scrollTop=a}D.exports=b.default},7023:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=a;var n=t(e(3497)),o=/^(top|right|bottom|left)$/,r=/^([+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/i;function a(i){if(!i)throw new TypeError("No Element passed to `getComputedStyle()`");var p=i.ownerDocument;return"defaultView"in p?p.defaultView.opener?i.ownerDocument.defaultView.getComputedStyle(i,null):window.getComputedStyle(i,null):{getPropertyValue:function(M){var O=i.style;M=(0,n.default)(M),M=="float"&&(M="styleFloat");var z=i.currentStyle[M]||null;if(z==null&&O&&O[M]&&(z=O[M]),r.test(z)&&!o.test(M)){var m=O.left,f=i.runtimeStyle,l=f&&f.left;l&&(f.left=i.currentStyle.left),O.left=M==="fontSize"?"1em":z,z=O.pixelLeft+"px",O.left=m,l&&(f.left=l)}return z}}}D.exports=b.default},162:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=d;var n=t(e(3497)),o=t(e(4403)),r=t(e(7023)),a=t(e(1760)),i=e(702),p=t(e(3293));function d(M,O,z){var m="",f="",l=O;if(typeof O=="string"){if(z===void 0)return M.style[(0,n.default)(O)]||(0,r.default)(M).getPropertyValue((0,o.default)(O));(l={})[O]=z}Object.keys(l).forEach(function(s){var c=l[s];!c&&c!==0?(0,a.default)(M,(0,o.default)(s)):(0,p.default)(s)?f+=s+"("+c+") ":m+=(0,o.default)(s)+": "+c+";"}),f&&(m+=i.transform+": "+f+";"),M.style.cssText+=";"+m}D.exports=b.default},1760:(D,b)=>{"use strict";b.__esModule=!0,b.default=e;function e(t,n){return"removeProperty"in t.style?t.style.removeProperty(n):t.style.removeAttribute(n)}D.exports=b.default},9995:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=void 0;var n=t(e(702)),o=t(e(162));function r(p,d,M){var O={target:p,currentTarget:p},z;n.default.end?M==null&&(M=i(p)||0):M=0,n.default.end?(p.addEventListener(n.default.end,m,!1),z=setTimeout(function(){return m(O)},(M||100)*1.5)):setTimeout(m.bind(null,O),0);function m(f){f.target===f.currentTarget&&(clearTimeout(z),f.target.removeEventListener(n.default.end,m),d.call(this))}}r._parseDuration=i;var a=r;b.default=a;function i(p){var d=(0,o.default)(p,n.default.duration),M=d.indexOf("ms")===-1?1e3:1;return parseFloat(d)*M}D.exports=b.default},9694:(D,b,e)=>{"use strict";var t,n=e(4836);t=!0,b.ZP=void 0;var o=n(e(9995));t=o.default;var r=n(e(702));t=r.default;var a={end:o.default,properties:r.default};b.ZP=a},3293:(D,b)=>{"use strict";b.__esModule=!0,b.default=t;var e=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function t(n){return!!(n&&e.test(n))}D.exports=b.default},702:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=b.animationEnd=b.animationDelay=b.animationTiming=b.animationDuration=b.animationName=b.transitionEnd=b.transitionDuration=b.transitionDelay=b.transitionTiming=b.transitionProperty=b.transform=void 0;var n=t(e(1704)),o="transform";b.transform=o;var r,a,i;b.animationEnd=i,b.transitionEnd=a;var p,d,M,O;b.transitionDelay=O,b.transitionTiming=M,b.transitionDuration=d,b.transitionProperty=p;var z,m,f,l;if(b.animationDelay=l,b.animationTiming=f,b.animationDuration=m,b.animationName=z,n.default){var s=u();r=s.prefix,b.transitionEnd=a=s.transitionEnd,b.animationEnd=i=s.animationEnd,b.transform=o=r+"-"+o,b.transitionProperty=p=r+"-transition-property",b.transitionDuration=d=r+"-transition-duration",b.transitionDelay=O=r+"-transition-delay",b.transitionTiming=M=r+"-transition-timing-function",b.animationName=z=r+"-animation-name",b.animationDuration=m=r+"-animation-duration",b.animationTiming=f=r+"-animation-delay",b.animationDelay=l=r+"-animation-timing-function"}var c={transform:o,end:a,property:p,timing:M,delay:O,duration:d};b.default=c;function u(){for(var _=document.createElement("div").style,A={O:function(I){return"o"+I.toLowerCase()},Moz:function(I){return I.toLowerCase()},Webkit:function(I){return"webkit"+I},ms:function(I){return"MS"+I}},g=Object.keys(A),y,W,E="",T=0;T{"use strict";b.__esModule=!0,b.default=t;var e=/-(.)/g;function t(n){return n.replace(e,function(o,r){return r.toUpperCase()})}D.exports=b.default},3497:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=r;var n=t(e(1908)),o=/^-ms-/;function r(a){return(0,n.default)(a.replace(o,"ms-"))}D.exports=b.default},1185:(D,b)=>{"use strict";b.__esModule=!0,b.default=t;var e=/([A-Z])/g;function t(n){return n.replace(e,"-$1").toLowerCase()}D.exports=b.default},4403:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=r;var n=t(e(1185)),o=/^ms-/;function r(a){return(0,n.default)(a).replace(o,"-ms-")}D.exports=b.default},1704:(D,b)=>{"use strict";b.__esModule=!0,b.default=void 0;var e=!!(typeof window<"u"&&window.document&&window.document.createElement);b.default=e,D.exports=b.default},4825:(D,b,e)=>{"use strict";var t=e(4836);b.__esModule=!0,b.default=r;var n=t(e(1704)),o;function r(a){if((!o&&o!==0||a)&&n.default){var i=document.createElement("div");i.style.position="absolute",i.style.top="-9999px",i.style.width="50px",i.style.height="50px",i.style.overflow="scroll",document.body.appendChild(i),o=i.offsetWidth-i.clientWidth,document.body.removeChild(i)}return o}D.exports=b.default},6729:D=>{"use strict";var b=Object.prototype.hasOwnProperty,e=typeof Object.create!="function"?"~":!1;function t(o,r,a){this.fn=o,this.context=r,this.once=a||!1}function n(){}n.prototype._events=void 0,n.prototype.eventNames=function(){var r=this._events,a=[],i;if(!r)return a;for(i in r)b.call(r,i)&&a.push(e?i.slice(1):i);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(r)):a},n.prototype.listeners=function(r,a){var i=e?e+r:r,p=this._events&&this._events[i];if(a)return!!p;if(!p)return[];if(p.fn)return[p.fn];for(var d=0,M=p.length,O=new Array(M);d{"use strict";e.r(b),e.d(b,{ErrorMessage:()=>v1,FastField:()=>E1,Field:()=>Z0,FieldArray:()=>O1,Form:()=>Y0,Formik:()=>i0,FormikConsumer:()=>_,FormikContext:()=>c,FormikProvider:()=>u,connect:()=>g0,getActiveElement:()=>j,getIn:()=>N,insert:()=>K0,isEmptyArray:()=>g,isEmptyChildren:()=>S,isFunction:()=>y,isInputEvent:()=>x,isInteger:()=>E,isNaN:()=>q,isObject:()=>W,isPromise:()=>I,isString:()=>T,move:()=>B0,prepareDataForValidation:()=>b0,replace:()=>j0,setIn:()=>k,setNestedObjectValues:()=>K,swap:()=>E0,useField:()=>w0,useFormik:()=>n0,useFormikContext:()=>A,validateYupSchema:()=>a0,withFormik:()=>J0,yupToFormErrors:()=>J});var t=e(7723),n=e(7514),o=e(7294),r=e(667),a=e.n(r),i=e(5298),p=e(2346),d=e(92),M=e(8679),O=e.n(M),z=e(8652);function m(){return m=Object.assign||function(x0){for(var H0=1;H0=0)&&(_1[y0]=x0[y0]);return _1}function s(x0){if(x0===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x0}var c=(0,o.createContext)(void 0);c.displayName="FormikContext";var u=c.Provider,_=c.Consumer;function A(){var x0=(0,o.useContext)(c);return x0||(0,i.Z)(!1),x0}var g=function(H0){return Array.isArray(H0)&&H0.length===0},y=function(H0){return typeof H0=="function"},W=function(H0){return H0!==null&&typeof H0=="object"},E=function(H0){return String(Math.floor(Number(H0)))===H0},T=function(H0){return Object.prototype.toString.call(H0)==="[object String]"},q=function(H0){return H0!==H0},S=function(H0){return o.Children.count(H0)===0},I=function(H0){return W(H0)&&y(H0.then)},x=function(H0){return H0&&W(H0)&&W(H0.target)};function j(x0){if(x0=x0||(typeof document<"u"?document:void 0),typeof x0>"u")return null;try{return x0.activeElement||x0.body}catch{return x0.body}}function N(x0,H0,_1,u1){u1===void 0&&(u1=0);for(var y0=(0,d.Z)(H0);x0&&u1=0?[]:{}}}return(C0===0?x0:y0)[U0[C0]]===_1?x0:(_1===void 0?delete y0[U0[C0]]:y0[U0[C0]]=_1,C0===0&&_1===void 0&&delete u1[U0[C0]],u1)}function K(x0,H0,_1,u1){_1===void 0&&(_1=new WeakMap),u1===void 0&&(u1={});for(var y0=0,C0=Object.keys(x0);y00?r0.map(function(W0){return Ot(W0,N(V,W0))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(z0).then(function(W0){return W0.reduce(function(S0,F0,G0){return F0==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||F0&&(S0=k(S0,r0[G0],F0)),S0},{})})},[Ot]),ct=(0,o.useCallback)(function(V){return Promise.all([it(V),e1.validationSchema?he(V):{},e1.validate?te(V):{}]).then(function(r0){var z0=r0[0],W0=r0[1],S0=r0[2],F0=t.Z.all([z0,W0,S0],{arrayMerge:d0});return F0})},[e1.validate,e1.validationSchema,it,te,he]),$1=A0(function(V){return V===void 0&&(V=ve.values),de({type:"SET_ISVALIDATING",payload:!0}),ct(V).then(function(r0){return Q1.current&&(de({type:"SET_ISVALIDATING",payload:!1}),de({type:"SET_ERRORS",payload:r0})),r0})});(0,o.useEffect)(function(){U0&&Q1.current===!0&&a()(f1.current,e1.initialValues)&&$1(f1.current)},[U0,$1]);var ye=(0,o.useCallback)(function(V){var r0=V&&V.values?V.values:f1.current,z0=V&&V.errors?V.errors:q1.current?q1.current:e1.initialErrors||{},W0=V&&V.touched?V.touched:Y1.current?Y1.current:e1.initialTouched||{},S0=V&&V.status?V.status:B1.current?B1.current:e1.initialStatus;f1.current=r0,q1.current=z0,Y1.current=W0,B1.current=S0;var F0=function(){de({type:"RESET_FORM",payload:{isSubmitting:!!V&&!!V.isSubmitting,errors:z0,touched:W0,status:S0,values:r0,isValidating:!!V&&!!V.isValidating,submitCount:V&&V.submitCount&&typeof V.submitCount=="number"?V.submitCount:0}})};if(e1.onReset){var G0=e1.onReset(ve.values,Yt);I(G0)?G0.then(F0):F0()}else F0()},[e1.initialErrors,e1.initialStatus,e1.initialTouched,e1.onReset]);(0,o.useEffect)(function(){Q1.current===!0&&!a()(f1.current,e1.initialValues)&&P1&&(f1.current=e1.initialValues,ye(),U0&&$1(f1.current))},[P1,e1.initialValues,ye,U0,$1]),(0,o.useEffect)(function(){P1&&Q1.current===!0&&!a()(q1.current,e1.initialErrors)&&(q1.current=e1.initialErrors||$,de({type:"SET_ERRORS",payload:e1.initialErrors||$}))},[P1,e1.initialErrors]),(0,o.useEffect)(function(){P1&&Q1.current===!0&&!a()(Y1.current,e1.initialTouched)&&(Y1.current=e1.initialTouched||u0,de({type:"SET_TOUCHED",payload:e1.initialTouched||u0}))},[P1,e1.initialTouched]),(0,o.useEffect)(function(){P1&&Q1.current===!0&&!a()(B1.current,e1.initialStatus)&&(B1.current=e1.initialStatus,de({type:"SET_STATUS",payload:e1.initialStatus}))},[P1,e1.initialStatus,e1.initialTouched]);var an=A0(function(V){if(re.current[V]&&y(re.current[V].validate)){var r0=N(ve.values,V),z0=re.current[V].validate(r0);return I(z0)?(de({type:"SET_ISVALIDATING",payload:!0}),z0.then(function(W0){return W0}).then(function(W0){de({type:"SET_FIELD_ERROR",payload:{field:V,value:W0}}),de({type:"SET_ISVALIDATING",payload:!1})})):(de({type:"SET_FIELD_ERROR",payload:{field:V,value:z0}}),Promise.resolve(z0))}else if(e1.validationSchema)return de({type:"SET_ISVALIDATING",payload:!0}),he(ve.values,V).then(function(W0){return W0}).then(function(W0){de({type:"SET_FIELD_ERROR",payload:{field:V,value:N(W0,V)}}),de({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),st=(0,o.useCallback)(function(V,r0){var z0=r0.validate;re.current[V]={validate:z0}},[]),Bt=(0,o.useCallback)(function(V){delete re.current[V]},[]),qt=A0(function(V,r0){de({type:"SET_TOUCHED",payload:V});var z0=r0===void 0?y0:r0;return z0?$1(ve.values):Promise.resolve()}),yt=(0,o.useCallback)(function(V){de({type:"SET_ERRORS",payload:V})},[]),Dt=A0(function(V,r0){var z0=y(V)?V(ve.values):V;de({type:"SET_VALUES",payload:z0});var W0=r0===void 0?_1:r0;return W0?$1(z0):Promise.resolve()}),Gt=(0,o.useCallback)(function(V,r0){de({type:"SET_FIELD_ERROR",payload:{field:V,value:r0}})},[]),At=A0(function(V,r0,z0){de({type:"SET_FIELD_VALUE",payload:{field:V,value:r0}});var W0=z0===void 0?_1:z0;return W0?$1(k(ve.values,V,r0)):Promise.resolve()}),Wn=(0,o.useCallback)(function(V,r0){var z0=r0,W0=V,S0;if(!T(V)){V.persist&&V.persist();var F0=V.target?V.target:V.currentTarget,G0=F0.type,d1=F0.name,b1=F0.id,g1=F0.value,L1=F0.checked,p1=F0.outerHTML,I1=F0.options,D1=F0.multiple;z0=r0||d1||b1,W0=/number|range/.test(G0)?(S0=parseFloat(g1),isNaN(S0)?"":S0):/checkbox/.test(G0)?_0(N(ve.values,z0),L1,g1):I1&&D1?O0(I1):g1}z0&&At(z0,W0)},[At,ve.values]),Tn=A0(function(V){if(T(V))return function(r0){return Wn(r0,V)};Wn(V)}),Mn=A0(function(V,r0,z0){r0===void 0&&(r0=!0),de({type:"SET_FIELD_TOUCHED",payload:{field:V,value:r0}});var W0=z0===void 0?y0:z0;return W0?$1(ve.values):Promise.resolve()}),pt=(0,o.useCallback)(function(V,r0){V.persist&&V.persist();var z0=V.target,W0=z0.name,S0=z0.id,F0=z0.outerHTML,G0=r0||W0||S0;Mn(G0,!0)},[Mn]),qn=A0(function(V){if(T(V))return function(r0){return pt(r0,V)};pt(V)}),vn=(0,o.useCallback)(function(V){y(V)?de({type:"SET_FORMIK_STATE",payload:V}):de({type:"SET_FORMIK_STATE",payload:function(){return V}})},[]),On=(0,o.useCallback)(function(V){de({type:"SET_STATUS",payload:V})},[]),Ct=(0,o.useCallback)(function(V){de({type:"SET_ISSUBMITTING",payload:V})},[]),He=A0(function(){return de({type:"SUBMIT_ATTEMPT"}),$1().then(function(V){var r0=V instanceof Error,z0=!r0&&Object.keys(V).length===0;if(z0){var W0;try{if(W0=Qt(),W0===void 0)return}catch(S0){throw S0}return Promise.resolve(W0).then(function(S0){return Q1.current&&de({type:"SUBMIT_SUCCESS"}),S0}).catch(function(S0){if(Q1.current)throw de({type:"SUBMIT_FAILURE"}),S0})}else if(Q1.current&&(de({type:"SUBMIT_FAILURE"}),r0))throw V})}),pn=A0(function(V){if(V&&V.preventDefault&&y(V.preventDefault)&&V.preventDefault(),V&&V.stopPropagation&&y(V.stopPropagation)&&V.stopPropagation(),!1)var r0;He().catch(function(z0){console.warn("Warning: An unhandled error was caught from submitForm()",z0)})}),Yt={resetForm:ye,validateForm:$1,validateField:an,setErrors:yt,setFieldError:Gt,setFieldTouched:Mn,setFieldValue:At,setStatus:On,setSubmitting:Ct,setTouched:qt,setValues:Dt,setFormikState:vn,submitForm:He},Qt=A0(function(){return X0(ve.values,Yt)}),ot=A0(function(V){V&&V.preventDefault&&y(V.preventDefault)&&V.preventDefault(),V&&V.stopPropagation&&y(V.stopPropagation)&&V.stopPropagation(),ye()}),Ge=(0,o.useCallback)(function(V){return{value:N(ve.values,V),error:N(ve.errors,V),touched:!!N(ve.touched,V),initialValue:N(f1.current,V),initialTouched:!!N(Y1.current,V),initialError:N(q1.current,V)}},[ve.errors,ve.touched,ve.values]),zn=(0,o.useCallback)(function(V){return{setValue:function(z0,W0){return At(V,z0,W0)},setTouched:function(z0,W0){return Mn(V,z0,W0)},setError:function(z0){return Gt(V,z0)}}},[At,Mn,Gt]),$0=(0,o.useCallback)(function(V){var r0=W(V),z0=r0?V.name:V,W0=N(ve.values,z0),S0={name:z0,value:W0,onChange:Tn,onBlur:qn};if(r0){var F0=V.type,G0=V.value,d1=V.as,b1=V.multiple;F0==="checkbox"?G0===void 0?S0.checked=!!W0:(S0.checked=!!(Array.isArray(W0)&&~W0.indexOf(G0)),S0.value=G0):F0==="radio"?(S0.checked=W0===G0,S0.value=G0):d1==="select"&&b1&&(S0.value=S0.value||[],S0.multiple=!0)}return S0},[qn,Tn,ve.values]),l0=(0,o.useMemo)(function(){return!a()(f1.current,ve.values)},[f1.current,ve.values]),Z=(0,o.useMemo)(function(){return typeof V0<"u"?l0?ve.errors&&Object.keys(ve.errors).length===0:V0!==!1&&y(V0)?V0(e1):V0:ve.errors&&Object.keys(ve.errors).length===0},[V0,l0,ve.errors,e1]),Q=m({},ve,{initialValues:f1.current,initialErrors:q1.current,initialTouched:Y1.current,initialStatus:B1.current,handleBlur:qn,handleChange:Tn,handleReset:ot,handleSubmit:pn,resetForm:ye,setErrors:yt,setFormikState:vn,setFieldTouched:Mn,setFieldValue:At,setFieldError:Gt,setStatus:On,setSubmitting:Ct,setTouched:qt,setValues:Dt,submitForm:He,validateForm:$1,validateField:an,isValid:Z,dirty:l0,unregisterField:Bt,registerField:st,getFieldProps:$0,getFieldMeta:Ge,getFieldHelpers:zn,validateOnBlur:y0,validateOnChange:_1,validateOnMount:U0});return Q}function i0(x0){var H0=n0(x0),_1=x0.component,u1=x0.children,y0=x0.render,C0=x0.innerRef;return(0,o.useImperativeHandle)(C0,function(){return H0}),(0,o.createElement)(u,{value:H0},_1?(0,o.createElement)(_1,H0):y0?y0(H0):u1?y(u1)?u1(H0):S(u1)?null:o.Children.only(u1):null)}function t0(x0){var H0=x0.htmlContent,_1=x0.documentationAnchorLink,u1=x0.handlerName;console.warn("Warning: Formik called `"+u1+"`, but you forgot to pass an `id` or `name` attribute to your input:\n "+H0+`
Formik cannot determine which value to update. For more info see https://formik.org/docs/api/formik#`+_1+`
`)}function J(x0){var H0={};if(x0.inner){if(x0.inner.length===0)return k(H0,x0.path,x0.message);for(var y0=x0.inner,_1=Array.isArray(y0),u1=0,y0=_1?y0:y0[Symbol.iterator]();;){var C0;if(_1){if(u1>=y0.length)break;C0=y0[u1++]}else{if(u1=y0.next(),u1.done)break;C0=u1.value}var U0=C0;N(H0,U0.path)||(H0=k(H0,U0.path,U0.message))}}return H0}function a0(x0,H0,_1,u1){_1===void 0&&(_1=!1);var y0=b0(x0);return H0[_1?"validateSync":"validate"](y0,{abortEarly:!1,context:u1||y0})}function b0(x0){var H0=Array.isArray(x0)?[]:{};for(var _1 in x0)if(Object.prototype.hasOwnProperty.call(x0,_1)){var u1=String(_1);Array.isArray(x0[u1])===!0?H0[u1]=x0[u1].map(function(y0){return Array.isArray(y0)===!0||(0,n.Z)(y0)?b0(y0):y0!==""?y0:void 0}):(0,n.Z)(x0[u1])?H0[u1]=b0(x0[u1]):H0[u1]=x0[u1]!==""?x0[u1]:void 0}return H0}function d0(x0,H0,_1){var u1=x0.slice();return H0.forEach(function(C0,U0){if(typeof u1[U0]>"u"){var V0=_1.clone!==!1,z1=V0&&_1.isMergeableObject(C0);u1[U0]=z1?(0,t.Z)(Array.isArray(C0)?[]:{},C0,_1):C0}else _1.isMergeableObject(C0)?u1[U0]=(0,t.Z)(x0[U0],C0,_1):x0.indexOf(C0)===-1&&u1.push(C0)}),u1}function O0(x0){return Array.from(x0).filter(function(H0){return H0.selected}).map(function(H0){return H0.value})}function _0(x0,H0,_1){if(typeof x0=="boolean")return!!H0;var u1=[],y0=!1,C0=-1;if(Array.isArray(x0))u1=x0,C0=x0.indexOf(_1),y0=C0>=0;else if(!_1||_1=="true"||_1=="false")return!!H0;return H0&&_1&&!y0?u1.concat(_1):y0?u1.slice(0,C0).concat(u1.slice(C0+1)):u1}var h0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?o.useLayoutEffect:o.useEffect;function A0(x0){var H0=(0,o.useRef)(x0);return h0(function(){H0.current=x0}),(0,o.useCallback)(function(){for(var _1=arguments.length,u1=new Array(_1),y0=0;y0<_1;y0++)u1[y0]=arguments[y0];return H0.current.apply(void 0,u1)},[])}function w0(x0){var H0=A(),_1=H0.getFieldProps,u1=H0.getFieldMeta,y0=H0.getFieldHelpers,C0=H0.registerField,U0=H0.unregisterField,V0=W(x0),z1=V0?x0:{name:x0},P1=z1.name,X0=z1.validate;(0,o.useEffect)(function(){return P1&&C0(P1,{validate:X0}),function(){P1&&U0(P1)}},[C0,U0,P1,X0]),P1||(0,i.Z)(!1);var k0=(0,o.useMemo)(function(){return y0(P1)},[y0,P1]);return[_1(z1),u1(P1),k0]}function Z0(x0){var H0=x0.validate,_1=x0.name,u1=x0.render,y0=x0.children,C0=x0.as,U0=x0.component,V0=x0.className,z1=l(x0,["validate","name","render","children","as","component","className"]),P1=A(),X0=l(P1,["validate","validationSchema"]),k0=X0.registerField,e1=X0.unregisterField;(0,o.useEffect)(function(){return k0(_1,{validate:H0}),function(){e1(_1)}},[k0,e1,_1,H0]);var f1=X0.getFieldProps(m({name:_1},z1)),q1=X0.getFieldMeta(_1),Y1={field:f1,form:X0};if(u1)return u1(m({},Y1,{meta:q1}));if(y(y0))return y0(m({},Y1,{meta:q1}));if(U0){if(typeof U0=="string"){var B1=z1.innerRef,Q1=l(z1,["innerRef"]);return(0,o.createElement)(U0,m({ref:B1},f1,Q1,{className:V0}),y0)}return(0,o.createElement)(U0,m({field:f1,form:X0},z1,{className:V0}),y0)}var re=C0||"input";if(typeof re=="string"){var ue=z1.innerRef,Re=l(z1,["innerRef"]);return(0,o.createElement)(re,m({ref:ue},f1,Re,{className:V0}),y0)}return(0,o.createElement)(re,m({},f1,z1,{className:V0}),y0)}var Y0=(0,o.forwardRef)(function(x0,H0){var _1=x0.action,u1=l(x0,["action"]),y0=_1!=null?_1:"#",C0=A(),U0=C0.handleReset,V0=C0.handleSubmit;return(0,o.createElement)("form",m({onSubmit:V0,ref:H0,onReset:U0,action:y0},u1))});Y0.displayName="Form";function J0(x0){var H0=x0.mapPropsToValues,_1=H0===void 0?function(y0){var C0={};for(var U0 in y0)y0.hasOwnProperty(U0)&&typeof y0[U0]!="function"&&(C0[U0]=y0[U0]);return C0}:H0,u1=l(x0,["mapPropsToValues"]);return function(C0){var U0=C0.displayName||C0.name||C0.constructor&&C0.constructor.name||"Component",V0=function(z1){f(P1,z1);function P1(){for(var k0,e1=arguments.length,f1=new Array(e1),q1=0;q1u1?y0:u1},0);return Array.from(m({},H0,{length:_1+1}))}else return[]},r1=function(H0,_1){var u1=typeof H0=="function"?H0:_1;return function(y0){if(Array.isArray(y0)||W(y0)){var C0=n1(y0);return u1(C0)}return y0}},s1=function(x0){f(H0,x0);function H0(u1){var y0;return y0=x0.call(this,u1)||this,y0.updateArrayField=function(C0,U0,V0){var z1=y0.props,P1=z1.name,X0=z1.formik.setFormikState;X0(function(k0){var e1=r1(V0,C0),f1=r1(U0,C0),q1=k(k0.values,P1,C0(N(k0.values,P1))),Y1=V0?e1(N(k0.errors,P1)):void 0,B1=U0?f1(N(k0.touched,P1)):void 0;return g(Y1)&&(Y1=void 0),g(B1)&&(B1=void 0),m({},k0,{values:q1,errors:V0?k(k0.errors,P1,Y1):k0.errors,touched:U0?k(k0.touched,P1,B1):k0.touched})})},y0.push=function(C0){return y0.updateArrayField(function(U0){return[].concat(n1(U0),[(0,z.Z)(C0)])},!1,!1)},y0.handlePush=function(C0){return function(){return y0.push(C0)}},y0.swap=function(C0,U0){return y0.updateArrayField(function(V0){return E0(V0,C0,U0)},!0,!0)},y0.handleSwap=function(C0,U0){return function(){return y0.swap(C0,U0)}},y0.move=function(C0,U0){return y0.updateArrayField(function(V0){return B0(V0,C0,U0)},!0,!0)},y0.handleMove=function(C0,U0){return function(){return y0.move(C0,U0)}},y0.insert=function(C0,U0){return y0.updateArrayField(function(V0){return K0(V0,C0,U0)},function(V0){return K0(V0,C0,null)},function(V0){return K0(V0,C0,null)})},y0.handleInsert=function(C0,U0){return function(){return y0.insert(C0,U0)}},y0.replace=function(C0,U0){return y0.updateArrayField(function(V0){return j0(V0,C0,U0)},!1,!1)},y0.handleReplace=function(C0,U0){return function(){return y0.replace(C0,U0)}},y0.unshift=function(C0){var U0=-1;return y0.updateArrayField(function(V0){var z1=V0?[C0].concat(V0):[C0];return U0=z1.length,z1},function(V0){return V0?[null].concat(V0):[null]},function(V0){return V0?[null].concat(V0):[null]}),U0},y0.handleUnshift=function(C0){return function(){return y0.unshift(C0)}},y0.handleRemove=function(C0){return function(){return y0.remove(C0)}},y0.handlePop=function(){return function(){return y0.pop()}},y0.remove=y0.remove.bind(s(y0)),y0.pop=y0.pop.bind(s(y0)),y0}var _1=H0.prototype;return _1.componentDidUpdate=function(y0){this.props.validateOnChange&&this.props.formik.validateOnChange&&!a()(N(y0.formik.values,y0.name),N(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},_1.remove=function(y0){var C0;return this.updateArrayField(function(U0){var V0=U0?n1(U0):[];return C0||(C0=V0[y0]),y(V0.splice)&&V0.splice(y0,1),y(V0.every)&&V0.every(function(z1){return z1===void 0})?[]:V0},!0,!0),C0},_1.pop=function(){var y0;return this.updateArrayField(function(C0){var U0=C0.slice();return y0||(y0=U0&&U0.pop&&U0.pop()),U0},!0,!0),y0},_1.render=function(){var y0={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},C0=this.props,U0=C0.component,V0=C0.render,z1=C0.children,P1=C0.name,X0=C0.formik,k0=l(X0,["validate","validationSchema"]),e1=m({},y0,{form:k0,name:P1});return U0?(0,o.createElement)(U0,e1):V0?V0(e1):z1?typeof z1=="function"?z1(e1):S(z1)?null:o.Children.only(z1):null},H0}(o.Component);s1.defaultProps={validateOnChange:!0};var O1=g0(s1),A1=function(x0){f(H0,x0);function H0(){return x0.apply(this,arguments)||this}var _1=H0.prototype;return _1.shouldComponentUpdate=function(y0){return N(this.props.formik.errors,this.props.name)!==N(y0.formik.errors,this.props.name)||N(this.props.formik.touched,this.props.name)!==N(y0.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(y0).length},_1.render=function(){var y0=this.props,C0=y0.component,U0=y0.formik,V0=y0.render,z1=y0.children,P1=y0.name,X0=l(y0,["component","formik","render","children","name"]),k0=N(U0.touched,P1),e1=N(U0.errors,P1);return k0&&e1?V0?y(V0)?V0(e1):null:z1?y(z1)?z1(e1):null:C0?(0,o.createElement)(C0,X0,e1):e1:null},H0}(o.Component),v1=g0(A1),C1=function(x0){f(H0,x0);function H0(u1){var y0;y0=x0.call(this,u1)||this;var C0=u1.render,U0=u1.children,V0=u1.component,z1=u1.as,P1=u1.name;return C0&&(0,i.Z)(!1),V0&&C0&&(0,i.Z)(!1),z1&&U0&&y(U0)&&(0,i.Z)(!1),V0&&U0&&y(U0)&&(0,i.Z)(!1),C0&&U0&&!S(U0)&&(0,i.Z)(!1),y0}var _1=H0.prototype;return _1.shouldComponentUpdate=function(y0){return this.props.shouldUpdate?this.props.shouldUpdate(y0,this.props):y0.name!==this.props.name||N(y0.formik.values,this.props.name)!==N(this.props.formik.values,this.props.name)||N(y0.formik.errors,this.props.name)!==N(this.props.formik.errors,this.props.name)||N(y0.formik.touched,this.props.name)!==N(this.props.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(y0).length||y0.formik.isSubmitting!==this.props.formik.isSubmitting},_1.componentDidMount=function(){this.props.formik.registerField(this.props.name,{validate:this.props.validate})},_1.componentDidUpdate=function(y0){this.props.name!==y0.name&&(this.props.formik.unregisterField(y0.name),this.props.formik.registerField(this.props.name,{validate:this.props.validate})),this.props.validate!==y0.validate&&this.props.formik.registerField(this.props.name,{validate:this.props.validate})},_1.componentWillUnmount=function(){this.props.formik.unregisterField(this.props.name)},_1.render=function(){var y0=this.props,C0=y0.name,U0=y0.render,V0=y0.as,z1=y0.children,P1=y0.component,X0=y0.formik,k0=l(y0,["validate","name","render","as","children","component","shouldUpdate","formik"]),e1=l(X0,["validate","validationSchema"]),f1=X0.getFieldProps(m({name:C0},k0)),q1={value:N(X0.values,C0),error:N(X0.errors,C0),touched:!!N(X0.touched,C0),initialValue:N(X0.initialValues,C0),initialTouched:!!N(X0.initialTouched,C0),initialError:N(X0.initialErrors,C0)},Y1={field:f1,meta:q1,form:e1};if(U0)return U0(Y1);if(y(z1))return z1(Y1);if(P1){if(typeof P1=="string"){var B1=k0.innerRef,Q1=l(k0,["innerRef"]);return(0,o.createElement)(P1,m({ref:B1},f1,Q1),z1)}return(0,o.createElement)(P1,m({field:f1,form:X0},k0),z1)}var re=V0||"input";if(typeof re=="string"){var ue=k0.innerRef,Re=l(k0,["innerRef"]);return(0,o.createElement)(re,m({ref:ue},f1,Re),z1)}return(0,o.createElement)(re,m({},f1,k0),z1)},H0}(o.Component),E1=g0(C1)},7723:(D,b,e)=>{"use strict";e.d(b,{Z:()=>f});var t=function(s){return n(s)&&!o(s)};function n(l){return!!l&&typeof l=="object"}function o(l){var s=Object.prototype.toString.call(l);return s==="[object RegExp]"||s==="[object Date]"||i(l)}var r=typeof Symbol=="function"&&Symbol.for,a=r?Symbol.for("react.element"):60103;function i(l){return l.$$typeof===a}function p(l){return Array.isArray(l)?[]:{}}function d(l,s){return s.clone!==!1&&s.isMergeableObject(l)?z(p(l),l,s):l}function M(l,s,c){return l.concat(s).map(function(u){return d(u,c)})}function O(l,s,c){var u={};return c.isMergeableObject(l)&&Object.keys(l).forEach(function(_){u[_]=d(l[_],c)}),Object.keys(s).forEach(function(_){!c.isMergeableObject(s[_])||!l[_]?u[_]=d(s[_],c):u[_]=z(l[_],s[_],c)}),u}function z(l,s,c){c=c||{},c.arrayMerge=c.arrayMerge||M,c.isMergeableObject=c.isMergeableObject||t;var u=Array.isArray(s),_=Array.isArray(l),A=u===_;return A?u?c.arrayMerge(l,s,c):O(l,s,c):d(s,c)}z.all=function(s,c){if(!Array.isArray(s))throw new Error("first argument should be an array");return s.reduce(function(u,_){return z(u,_,c)},{})};var m=z;const f=m},667:D=>{"use strict";var b=Array.isArray,e=Object.keys,t=Object.prototype.hasOwnProperty,n=typeof Element<"u";function o(r,a){if(r===a)return!0;if(r&&a&&typeof r=="object"&&typeof a=="object"){var i=b(r),p=b(a),d,M,O;if(i&&p){if(M=r.length,M!=a.length)return!1;for(d=M;d--!==0;)if(!o(r[d],a[d]))return!1;return!0}if(i!=p)return!1;var z=r instanceof Date,m=a instanceof Date;if(z!=m)return!1;if(z&&m)return r.getTime()==a.getTime();var f=r instanceof RegExp,l=a instanceof RegExp;if(f!=l)return!1;if(f&&l)return r.toString()==a.toString();var s=e(r);if(M=s.length,M!==e(a).length)return!1;for(d=M;d--!==0;)if(!t.call(a,s[d]))return!1;if(n&&r instanceof Element&&a instanceof Element)return r===a;for(d=M;d--!==0;)if(O=s[d],!(O==="_owner"&&r.$$typeof)&&!o(r[O],a[O]))return!1;return!0}return r!==r&&a!==a}D.exports=function(a,i){try{return o(a,i)}catch(p){if(p.message&&p.message.match(/stack|recursion/i)||p.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",p.name,p.message),!1;throw p}}},5356:(D,b,e)=>{"use strict";e.d(b,{V:()=>o});var t,n=function(r){t=r},o=function(){return t||e.nc}},8679:(D,b,e)=>{"use strict";var t=e(9864),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[t.ForwardRef]=r,i[t.Memo]=a;function p(s){return t.isMemo(s)?a:i[s.$$typeof]||n}var d=Object.defineProperty,M=Object.getOwnPropertyNames,O=Object.getOwnPropertySymbols,z=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,f=Object.prototype;function l(s,c,u){if(typeof c!="string"){if(f){var _=m(c);_&&_!==f&&l(s,_,u)}var A=M(c);O&&(A=A.concat(O(c)));for(var g=p(s),y=p(c),W=0;W{"use strict";var b=function(e,t,n,o,r,a,i,p){if(!e){var d;if(t===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var M=[n,o,r,a,i,p],O=0;d=new Error(t.replace(/%s/g,function(){return M[O++]})),d.name="Invariant Violation"}throw d.framesToPop=1,d}};D.exports=b},9755:function(D,b){var e,t;/*!
* jQuery JavaScript Library v3.5.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2020-05-04T22:49Z
*/(function(n,o){"use strict";typeof D.exports=="object"?D.exports=n.document?o(n,!0):function(r){if(!r.document)throw new Error("jQuery requires a window with a document");return o(r)}:o(n)})(typeof window<"u"?window:this,function(n,o){"use strict";var r=[],a=Object.getPrototypeOf,i=r.slice,p=r.flat?function(B){return r.flat.call(B)}:function(B){return r.concat.apply([],B)},d=r.push,M=r.indexOf,O={},z=O.toString,m=O.hasOwnProperty,f=m.toString,l=f.call(Object),s={},c=function(X){return typeof X=="function"&&typeof X.nodeType!="number"},u=function(X){return X!=null&&X===X.window},_=n.document,A={type:!0,src:!0,nonce:!0,noModule:!0};function g(B,X,e0){e0=e0||_;var s0,v0,P0=e0.createElement("script");if(P0.text=B,X)for(s0 in A)v0=X[s0]||X.getAttribute&&X.getAttribute(s0),v0&&P0.setAttribute(s0,v0);e0.head.appendChild(P0).parentNode.removeChild(P0)}function y(B){return B==null?B+"":typeof B=="object"||typeof B=="function"?O[z.call(B)]||"object":typeof B}var W="3.5.1",E=function(B,X){return new E.fn.init(B,X)};E.fn=E.prototype={jquery:W,constructor:E,length:0,toArray:function(){return i.call(this)},get:function(B){return B==null?i.call(this):B<0?this[B+this.length]:this[B]},pushStack:function(B){var X=E.merge(this.constructor(),B);return X.prevObject=this,X},each:function(B){return E.each(this,B)},map:function(B){return this.pushStack(E.map(this,function(X,e0){return B.call(X,e0,X)}))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,function(B,X){return(X+1)%2}))},odd:function(){return this.pushStack(E.grep(this,function(B,X){return X%2}))},eq:function(B){var X=this.length,e0=+B+(B<0?X:0);return this.pushStack(e0>=0&&e00&&X-1 in B}var q=function(B){var X,e0,s0,v0,P0,T0,o1,t1,T1,k1,ie,j1,V1,Je,gt,Qe,Rn,gn,Qn,Vt="sizzle"+1*new Date,Pt=B.document,Hn=0,kt=0,S1=eo(),H1=eo(),pe=eo(),Le=eo(),Ye=function(N0,i1){return N0===i1&&(ie=!0),0},nt={}.hasOwnProperty,$e=[],et=$e.pop,xe=$e.push,St=$e.push,Jt=$e.slice,Lt=function(N0,i1){for(var y1=0,oe=N0.length;y1+~]|"+zt+")"+zt+"*"),mr=new RegExp(zt+"|>"),Gr=new RegExp(Dr),Tr=new RegExp("^"+Cn+"$"),Zt={ID:new RegExp("^#("+Cn+")"),CLASS:new RegExp("^\\.("+Cn+")"),TAG:new RegExp("^("+Cn+"|[*])"),ATTR:new RegExp("^"+sr),PSEUDO:new RegExp("^"+Dr),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+zt+"*(even|odd|(([+-]|)(\\d*)n|)"+zt+"*(?:([+-]|)"+zt+"*(\\d+)|))"+zt+"*\\)|)","i"),bool:new RegExp("^(?:"+Nt+")$","i"),needsContext:new RegExp("^"+zt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+zt+"*((?:-\\d)?\\d*)"+zt+"*\\)|)(?=[^-]|$)","i")},$t=/HTML$/i,Mr=/^(?:input|select|textarea|button)$/i,co=/^h\d$/i,En=/^[^{]+\{\s*\[native \w/,qr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Jn=/[+~]/,ir=new RegExp("\\\\[\\da-fA-F]{1,6}"+zt+"?|\\\\([^\\r\\n\\f])","g"),cr=function(N0,i1){var y1="0x"+N0.slice(1)-65536;return i1||(y1<0?String.fromCharCode(y1+65536):String.fromCharCode(y1>>10|55296,y1&1023|56320))},Qr=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Sr=function(N0,i1){return i1?N0==="\0"?"\uFFFD":N0.slice(0,-1)+"\\"+N0.charCodeAt(N0.length-1).toString(16)+" ":"\\"+N0},Jr=function(){j1()},vo=Yr(function(N0){return N0.disabled===!0&&N0.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{St.apply($e=Jt.call(Pt.childNodes),Pt.childNodes),$e[Pt.childNodes.length].nodeType}catch{St={apply:$e.length?function(i1,y1){xe.apply(i1,Jt.call(y1))}:function(i1,y1){for(var oe=i1.length,w1=0;i1[oe++]=y1[w1++];);i1.length=oe-1}}}function jt(N0,i1,y1,oe){var w1,ce,Oe,Be,qe,mt,ft,bt=i1&&i1.ownerDocument,Kt=i1?i1.nodeType:9;if(y1=y1||[],typeof N0!="string"||!N0||Kt!==1&&Kt!==9&&Kt!==11)return y1;if(!oe&&(j1(i1),i1=i1||V1,gt)){if(Kt!==11&&(qe=qr.exec(N0)))if(w1=qe[1]){if(Kt===9)if(Oe=i1.getElementById(w1)){if(Oe.id===w1)return y1.push(Oe),y1}else return y1;else if(bt&&(Oe=bt.getElementById(w1))&&Qn(i1,Oe)&&Oe.id===w1)return y1.push(Oe),y1}else{if(qe[2])return St.apply(y1,i1.getElementsByTagName(N0)),y1;if((w1=qe[3])&&e0.getElementsByClassName&&i1.getElementsByClassName)return St.apply(y1,i1.getElementsByClassName(w1)),y1}if(e0.qsa&&!Le[N0+" "]&&(!Qe||!Qe.test(N0))&&(Kt!==1||i1.nodeName.toLowerCase()!=="object")){if(ft=N0,bt=i1,Kt===1&&(mr.test(N0)||Xr.test(N0))){for(bt=Jn.test(N0)&&To(i1.parentNode)||i1,(bt!==i1||!e0.scope)&&((Be=i1.getAttribute("id"))?Be=Be.replace(Qr,Sr):i1.setAttribute("id",Be=Vt)),mt=T0(N0),ce=mt.length;ce--;)mt[ce]=(Be?"#"+Be:":scope")+" "+wr(mt[ce]);ft=mt.join(",")}try{return St.apply(y1,bt.querySelectorAll(ft)),y1}catch{Le(N0,!0)}finally{Be===Vt&&i1.removeAttribute("id")}}}return t1(N0.replace(wt,"$1"),i1,y1,oe)}function eo(){var N0=[];function i1(y1,oe){return N0.push(y1+" ")>s0.cacheLength&&delete i1[N0.shift()],i1[y1+" "]=oe}return i1}function lr(N0){return N0[Vt]=!0,N0}function er(N0){var i1=V1.createElement("fieldset");try{return!!N0(i1)}catch{return!1}finally{i1.parentNode&&i1.parentNode.removeChild(i1),i1=null}}function _r(N0,i1){for(var y1=N0.split("|"),oe=y1.length;oe--;)s0.attrHandle[y1[oe]]=i1}function Eo(N0,i1){var y1=i1&&N0,oe=y1&&N0.nodeType===1&&i1.nodeType===1&&N0.sourceIndex-i1.sourceIndex;if(oe)return oe;if(y1){for(;y1=y1.nextSibling;)if(y1===i1)return-1}return N0?1:-1}function No(N0){return function(i1){var y1=i1.nodeName.toLowerCase();return y1==="input"&&i1.type===N0}}function Do(N0){return function(i1){var y1=i1.nodeName.toLowerCase();return(y1==="input"||y1==="button")&&i1.type===N0}}function $o(N0){return function(i1){return"form"in i1?i1.parentNode&&i1.disabled===!1?"label"in i1?"label"in i1.parentNode?i1.parentNode.disabled===N0:i1.disabled===N0:i1.isDisabled===N0||i1.isDisabled!==!N0&&vo(i1)===N0:i1.disabled===N0:"label"in i1?i1.disabled===N0:!1}}function Cr(N0){return lr(function(i1){return i1=+i1,lr(function(y1,oe){for(var w1,ce=N0([],y1.length,i1),Oe=ce.length;Oe--;)y1[w1=ce[Oe]]&&(y1[w1]=!(oe[w1]=y1[w1]))})})}function To(N0){return N0&&typeof N0.getElementsByTagName<"u"&&N0}e0=jt.support={},P0=jt.isXML=function(N0){var i1=N0.namespaceURI,y1=(N0.ownerDocument||N0).documentElement;return!$t.test(i1||y1&&y1.nodeName||"HTML")},j1=jt.setDocument=function(N0){var i1,y1,oe=N0?N0.ownerDocument||N0:Pt;return oe==V1||oe.nodeType!==9||!oe.documentElement||(V1=oe,Je=V1.documentElement,gt=!P0(V1),Pt!=V1&&(y1=V1.defaultView)&&y1.top!==y1&&(y1.addEventListener?y1.addEventListener("unload",Jr,!1):y1.attachEvent&&y1.attachEvent("onunload",Jr)),e0.scope=er(function(w1){return Je.appendChild(w1).appendChild(V1.createElement("div")),typeof w1.querySelectorAll<"u"&&!w1.querySelectorAll(":scope fieldset div").length}),e0.attributes=er(function(w1){return w1.className="i",!w1.getAttribute("className")}),e0.getElementsByTagName=er(function(w1){return w1.appendChild(V1.createComment("")),!w1.getElementsByTagName("*").length}),e0.getElementsByClassName=En.test(V1.getElementsByClassName),e0.getById=er(function(w1){return Je.appendChild(w1).id=Vt,!V1.getElementsByName||!V1.getElementsByName(Vt).length}),e0.getById?(s0.filter.ID=function(w1){var ce=w1.replace(ir,cr);return function(Oe){return Oe.getAttribute("id")===ce}},s0.find.ID=function(w1,ce){if(typeof ce.getElementById<"u"&>){var Oe=ce.getElementById(w1);return Oe?[Oe]:[]}}):(s0.filter.ID=function(w1){var ce=w1.replace(ir,cr);return function(Oe){var Be=typeof Oe.getAttributeNode<"u"&&Oe.getAttributeNode("id");return Be&&Be.value===ce}},s0.find.ID=function(w1,ce){if(typeof ce.getElementById<"u"&>){var Oe,Be,qe,mt=ce.getElementById(w1);if(mt){if(Oe=mt.getAttributeNode("id"),Oe&&Oe.value===w1)return[mt];for(qe=ce.getElementsByName(w1),Be=0;mt=qe[Be++];)if(Oe=mt.getAttributeNode("id"),Oe&&Oe.value===w1)return[mt]}return[]}}),s0.find.TAG=e0.getElementsByTagName?function(w1,ce){if(typeof ce.getElementsByTagName<"u")return ce.getElementsByTagName(w1);if(e0.qsa)return ce.querySelectorAll(w1)}:function(w1,ce){var Oe,Be=[],qe=0,mt=ce.getElementsByTagName(w1);if(w1==="*"){for(;Oe=mt[qe++];)Oe.nodeType===1&&Be.push(Oe);return Be}return mt},s0.find.CLASS=e0.getElementsByClassName&&function(w1,ce){if(typeof ce.getElementsByClassName<"u"&>)return ce.getElementsByClassName(w1)},Rn=[],Qe=[],(e0.qsa=En.test(V1.querySelectorAll))&&(er(function(w1){var ce;Je.appendChild(w1).innerHTML=" ",w1.querySelectorAll("[msallowcapture^='']").length&&Qe.push("[*^$]="+zt+`*(?:''|"")`),w1.querySelectorAll("[selected]").length||Qe.push("\\["+zt+"*(?:value|"+Nt+")"),w1.querySelectorAll("[id~="+Vt+"-]").length||Qe.push("~="),ce=V1.createElement("input"),ce.setAttribute("name",""),w1.appendChild(ce),w1.querySelectorAll("[name='']").length||Qe.push("\\["+zt+"*name"+zt+"*="+zt+`*(?:''|"")`),w1.querySelectorAll(":checked").length||Qe.push(":checked"),w1.querySelectorAll("a#"+Vt+"+*").length||Qe.push(".#.+[+~]"),w1.querySelectorAll("\\\f"),Qe.push("[\\r\\n\\f]")}),er(function(w1){w1.innerHTML=" ";var ce=V1.createElement("input");ce.setAttribute("type","hidden"),w1.appendChild(ce).setAttribute("name","D"),w1.querySelectorAll("[name=d]").length&&Qe.push("name"+zt+"*[*^$|!~]?="),w1.querySelectorAll(":enabled").length!==2&&Qe.push(":enabled",":disabled"),Je.appendChild(w1).disabled=!0,w1.querySelectorAll(":disabled").length!==2&&Qe.push(":enabled",":disabled"),w1.querySelectorAll("*,:x"),Qe.push(",.*:")})),(e0.matchesSelector=En.test(gn=Je.matches||Je.webkitMatchesSelector||Je.mozMatchesSelector||Je.oMatchesSelector||Je.msMatchesSelector))&&er(function(w1){e0.disconnectedMatch=gn.call(w1,"*"),gn.call(w1,"[s!='']:x"),Rn.push("!=",Dr)}),Qe=Qe.length&&new RegExp(Qe.join("|")),Rn=Rn.length&&new RegExp(Rn.join("|")),i1=En.test(Je.compareDocumentPosition),Qn=i1||En.test(Je.contains)?function(w1,ce){var Oe=w1.nodeType===9?w1.documentElement:w1,Be=ce&&ce.parentNode;return w1===Be||!!(Be&&Be.nodeType===1&&(Oe.contains?Oe.contains(Be):w1.compareDocumentPosition&&w1.compareDocumentPosition(Be)&16))}:function(w1,ce){if(ce){for(;ce=ce.parentNode;)if(ce===w1)return!0}return!1},Ye=i1?function(w1,ce){if(w1===ce)return ie=!0,0;var Oe=!w1.compareDocumentPosition-!ce.compareDocumentPosition;return Oe||(Oe=(w1.ownerDocument||w1)==(ce.ownerDocument||ce)?w1.compareDocumentPosition(ce):1,Oe&1||!e0.sortDetached&&ce.compareDocumentPosition(w1)===Oe?w1==V1||w1.ownerDocument==Pt&&Qn(Pt,w1)?-1:ce==V1||ce.ownerDocument==Pt&&Qn(Pt,ce)?1:k1?Lt(k1,w1)-Lt(k1,ce):0:Oe&4?-1:1)}:function(w1,ce){if(w1===ce)return ie=!0,0;var Oe,Be=0,qe=w1.parentNode,mt=ce.parentNode,ft=[w1],bt=[ce];if(!qe||!mt)return w1==V1?-1:ce==V1?1:qe?-1:mt?1:k1?Lt(k1,w1)-Lt(k1,ce):0;if(qe===mt)return Eo(w1,ce);for(Oe=w1;Oe=Oe.parentNode;)ft.unshift(Oe);for(Oe=ce;Oe=Oe.parentNode;)bt.unshift(Oe);for(;ft[Be]===bt[Be];)Be++;return Be?Eo(ft[Be],bt[Be]):ft[Be]==Pt?-1:bt[Be]==Pt?1:0}),V1},jt.matches=function(N0,i1){return jt(N0,null,null,i1)},jt.matchesSelector=function(N0,i1){if(j1(N0),e0.matchesSelector&>&&!Le[i1+" "]&&(!Rn||!Rn.test(i1))&&(!Qe||!Qe.test(i1)))try{var y1=gn.call(N0,i1);if(y1||e0.disconnectedMatch||N0.document&&N0.document.nodeType!==11)return y1}catch{Le(i1,!0)}return jt(i1,V1,null,[N0]).length>0},jt.contains=function(N0,i1){return(N0.ownerDocument||N0)!=V1&&j1(N0),Qn(N0,i1)},jt.attr=function(N0,i1){(N0.ownerDocument||N0)!=V1&&j1(N0);var y1=s0.attrHandle[i1.toLowerCase()],oe=y1&&nt.call(s0.attrHandle,i1.toLowerCase())?y1(N0,i1,!gt):void 0;return oe!==void 0?oe:e0.attributes||!gt?N0.getAttribute(i1):(oe=N0.getAttributeNode(i1))&&oe.specified?oe.value:null},jt.escape=function(N0){return(N0+"").replace(Qr,Sr)},jt.error=function(N0){throw new Error("Syntax error, unrecognized expression: "+N0)},jt.uniqueSort=function(N0){var i1,y1=[],oe=0,w1=0;if(ie=!e0.detectDuplicates,k1=!e0.sortStable&&N0.slice(0),N0.sort(Ye),ie){for(;i1=N0[w1++];)i1===N0[w1]&&(oe=y1.push(w1));for(;oe--;)N0.splice(y1[oe],1)}return k1=null,N0},v0=jt.getText=function(N0){var i1,y1="",oe=0,w1=N0.nodeType;if(w1){if(w1===1||w1===9||w1===11){if(typeof N0.textContent=="string")return N0.textContent;for(N0=N0.firstChild;N0;N0=N0.nextSibling)y1+=v0(N0)}else if(w1===3||w1===4)return N0.nodeValue}else for(;i1=N0[oe++];)y1+=v0(i1);return y1},s0=jt.selectors={cacheLength:50,createPseudo:lr,match:Zt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(N0){return N0[1]=N0[1].replace(ir,cr),N0[3]=(N0[3]||N0[4]||N0[5]||"").replace(ir,cr),N0[2]==="~="&&(N0[3]=" "+N0[3]+" "),N0.slice(0,4)},CHILD:function(N0){return N0[1]=N0[1].toLowerCase(),N0[1].slice(0,3)==="nth"?(N0[3]||jt.error(N0[0]),N0[4]=+(N0[4]?N0[5]+(N0[6]||1):2*(N0[3]==="even"||N0[3]==="odd")),N0[5]=+(N0[7]+N0[8]||N0[3]==="odd")):N0[3]&&jt.error(N0[0]),N0},PSEUDO:function(N0){var i1,y1=!N0[6]&&N0[2];return Zt.CHILD.test(N0[0])?null:(N0[3]?N0[2]=N0[4]||N0[5]||"":y1&&Gr.test(y1)&&(i1=T0(y1,!0))&&(i1=y1.indexOf(")",y1.length-i1)-y1.length)&&(N0[0]=N0[0].slice(0,i1),N0[2]=y1.slice(0,i1)),N0.slice(0,3))}},filter:{TAG:function(N0){var i1=N0.replace(ir,cr).toLowerCase();return N0==="*"?function(){return!0}:function(y1){return y1.nodeName&&y1.nodeName.toLowerCase()===i1}},CLASS:function(N0){var i1=S1[N0+" "];return i1||(i1=new RegExp("(^|"+zt+")"+N0+"("+zt+"|$)"))&&S1(N0,function(y1){return i1.test(typeof y1.className=="string"&&y1.className||typeof y1.getAttribute<"u"&&y1.getAttribute("class")||"")})},ATTR:function(N0,i1,y1){return function(oe){var w1=jt.attr(oe,N0);return w1==null?i1==="!=":i1?(w1+="",i1==="="?w1===y1:i1==="!="?w1!==y1:i1==="^="?y1&&w1.indexOf(y1)===0:i1==="*="?y1&&w1.indexOf(y1)>-1:i1==="$="?y1&&w1.slice(-y1.length)===y1:i1==="~="?(" "+w1.replace(zr," ")+" ").indexOf(y1)>-1:i1==="|="?w1===y1||w1.slice(0,y1.length+1)===y1+"-":!1):!0}},CHILD:function(N0,i1,y1,oe,w1){var ce=N0.slice(0,3)!=="nth",Oe=N0.slice(-4)!=="last",Be=i1==="of-type";return oe===1&&w1===0?function(qe){return!!qe.parentNode}:function(qe,mt,ft){var bt,Kt,en,ut,Un,nr,ur=ce!==Oe?"nextSibling":"previousSibling",un=qe.parentNode,ro=Be&&qe.nodeName.toLowerCase(),xr=!ft&&!Be,fr=!1;if(un){if(ce){for(;ur;){for(ut=qe;ut=ut[ur];)if(Be?ut.nodeName.toLowerCase()===ro:ut.nodeType===1)return!1;nr=ur=N0==="only"&&!nr&&"nextSibling"}return!0}if(nr=[Oe?un.firstChild:un.lastChild],Oe&&xr){for(ut=un,en=ut[Vt]||(ut[Vt]={}),Kt=en[ut.uniqueID]||(en[ut.uniqueID]={}),bt=Kt[N0]||[],Un=bt[0]===Hn&&bt[1],fr=Un&&bt[2],ut=Un&&un.childNodes[Un];ut=++Un&&ut&&ut[ur]||(fr=Un=0)||nr.pop();)if(ut.nodeType===1&&++fr&&ut===qe){Kt[N0]=[Hn,Un,fr];break}}else if(xr&&(ut=qe,en=ut[Vt]||(ut[Vt]={}),Kt=en[ut.uniqueID]||(en[ut.uniqueID]={}),bt=Kt[N0]||[],Un=bt[0]===Hn&&bt[1],fr=Un),fr===!1)for(;(ut=++Un&&ut&&ut[ur]||(fr=Un=0)||nr.pop())&&!((Be?ut.nodeName.toLowerCase()===ro:ut.nodeType===1)&&++fr&&(xr&&(en=ut[Vt]||(ut[Vt]={}),Kt=en[ut.uniqueID]||(en[ut.uniqueID]={}),Kt[N0]=[Hn,fr]),ut===qe)););return fr-=w1,fr===oe||fr%oe===0&&fr/oe>=0}}},PSEUDO:function(N0,i1){var y1,oe=s0.pseudos[N0]||s0.setFilters[N0.toLowerCase()]||jt.error("unsupported pseudo: "+N0);return oe[Vt]?oe(i1):oe.length>1?(y1=[N0,N0,"",i1],s0.setFilters.hasOwnProperty(N0.toLowerCase())?lr(function(w1,ce){for(var Oe,Be=oe(w1,i1),qe=Be.length;qe--;)Oe=Lt(w1,Be[qe]),w1[Oe]=!(ce[Oe]=Be[qe])}):function(w1){return oe(w1,0,y1)}):oe}},pseudos:{not:lr(function(N0){var i1=[],y1=[],oe=o1(N0.replace(wt,"$1"));return oe[Vt]?lr(function(w1,ce,Oe,Be){for(var qe,mt=oe(w1,null,Be,[]),ft=w1.length;ft--;)(qe=mt[ft])&&(w1[ft]=!(ce[ft]=qe))}):function(w1,ce,Oe){return i1[0]=w1,oe(i1,null,Oe,y1),i1[0]=null,!y1.pop()}}),has:lr(function(N0){return function(i1){return jt(N0,i1).length>0}}),contains:lr(function(N0){return N0=N0.replace(ir,cr),function(i1){return(i1.textContent||v0(i1)).indexOf(N0)>-1}}),lang:lr(function(N0){return Tr.test(N0||"")||jt.error("unsupported lang: "+N0),N0=N0.replace(ir,cr).toLowerCase(),function(i1){var y1;do if(y1=gt?i1.lang:i1.getAttribute("xml:lang")||i1.getAttribute("lang"))return y1=y1.toLowerCase(),y1===N0||y1.indexOf(N0+"-")===0;while((i1=i1.parentNode)&&i1.nodeType===1);return!1}}),target:function(N0){var i1=B.location&&B.location.hash;return i1&&i1.slice(1)===N0.id},root:function(N0){return N0===Je},focus:function(N0){return N0===V1.activeElement&&(!V1.hasFocus||V1.hasFocus())&&!!(N0.type||N0.href||~N0.tabIndex)},enabled:$o(!1),disabled:$o(!0),checked:function(N0){var i1=N0.nodeName.toLowerCase();return i1==="input"&&!!N0.checked||i1==="option"&&!!N0.selected},selected:function(N0){return N0.parentNode&&N0.parentNode.selectedIndex,N0.selected===!0},empty:function(N0){for(N0=N0.firstChild;N0;N0=N0.nextSibling)if(N0.nodeType<6)return!1;return!0},parent:function(N0){return!s0.pseudos.empty(N0)},header:function(N0){return co.test(N0.nodeName)},input:function(N0){return Mr.test(N0.nodeName)},button:function(N0){var i1=N0.nodeName.toLowerCase();return i1==="input"&&N0.type==="button"||i1==="button"},text:function(N0){var i1;return N0.nodeName.toLowerCase()==="input"&&N0.type==="text"&&((i1=N0.getAttribute("type"))==null||i1.toLowerCase()==="text")},first:Cr(function(){return[0]}),last:Cr(function(N0,i1){return[i1-1]}),eq:Cr(function(N0,i1,y1){return[y1<0?y1+i1:y1]}),even:Cr(function(N0,i1){for(var y1=0;y1i1?i1:y1;--oe>=0;)N0.push(oe);return N0}),gt:Cr(function(N0,i1,y1){for(var oe=y1<0?y1+i1:y1;++oe1?function(i1,y1,oe){for(var w1=N0.length;w1--;)if(!N0[w1](i1,y1,oe))return!1;return!0}:N0[0]}function Vn(N0,i1,y1){for(var oe=0,w1=i1.length;oe-1&&(Oe[ft]=!(Be[ft]=Kt))}}else un=to(un===Be?un.splice(Un,un.length):un),w1?w1(null,Be,un,mt):St.apply(Be,un)})}function Ir(N0){for(var i1,y1,oe,w1=N0.length,ce=s0.relative[N0[0].type],Oe=ce||s0.relative[" "],Be=ce?1:0,qe=Yr(function(bt){return bt===i1},Oe,!0),mt=Yr(function(bt){return Lt(i1,bt)>-1},Oe,!0),ft=[function(bt,Kt,en){var ut=!ce&&(en||Kt!==T1)||((i1=Kt).nodeType?qe(bt,Kt,en):mt(bt,Kt,en));return i1=null,ut}];Be1&&pr(ft),Be>1&&wr(N0.slice(0,Be-1).concat({value:N0[Be-2].type===" "?"*":""})).replace(wt,"$1"),y1,Be0,oe=N0.length>0,w1=function(ce,Oe,Be,qe,mt){var ft,bt,Kt,en=0,ut="0",Un=ce&&[],nr=[],ur=T1,un=ce||oe&&s0.find.TAG("*",mt),ro=Hn+=ur==null?1:Math.random()||.1,xr=un.length;for(mt&&(T1=Oe==V1||Oe||mt);ut!==xr&&(ft=un[ut])!=null;ut++){if(oe&&ft){for(bt=0,!Oe&&ft.ownerDocument!=V1&&(j1(ft),Be=!gt);Kt=N0[bt++];)if(Kt(ft,Oe||V1,Be)){qe.push(ft);break}mt&&(Hn=ro)}y1&&((ft=!Kt&&ft)&&en--,ce&&Un.push(ft))}if(en+=ut,y1&&ut!==en){for(bt=0;Kt=i1[bt++];)Kt(Un,nr,Oe,Be);if(ce){if(en>0)for(;ut--;)Un[ut]||nr[ut]||(nr[ut]=et.call(qe));nr=to(nr)}St.apply(qe,nr),mt&&!ce&&nr.length>0&&en+i1.length>1&&jt.uniqueSort(qe)}return mt&&(Hn=ro,T1=ur),Un};return y1?lr(w1):w1}return o1=jt.compile=function(N0,i1){var y1,oe=[],w1=[],ce=pe[N0+" "];if(!ce){for(i1||(i1=T0(N0)),y1=i1.length;y1--;)ce=Ir(i1[y1]),ce[Vt]?oe.push(ce):w1.push(ce);ce=pe(N0,Uo(w1,oe)),ce.selector=N0}return ce},t1=jt.select=function(N0,i1,y1,oe){var w1,ce,Oe,Be,qe,mt=typeof N0=="function"&&N0,ft=!oe&&T0(N0=mt.selector||N0);if(y1=y1||[],ft.length===1){if(ce=ft[0]=ft[0].slice(0),ce.length>2&&(Oe=ce[0]).type==="ID"&&i1.nodeType===9&>&&s0.relative[ce[1].type]){if(i1=(s0.find.ID(Oe.matches[0].replace(ir,cr),i1)||[])[0],i1)mt&&(i1=i1.parentNode);else return y1;N0=N0.slice(ce.shift().value.length)}for(w1=Zt.needsContext.test(N0)?0:ce.length;w1--&&(Oe=ce[w1],!s0.relative[Be=Oe.type]);)if((qe=s0.find[Be])&&(oe=qe(Oe.matches[0].replace(ir,cr),Jn.test(ce[0].type)&&To(i1.parentNode)||i1))){if(ce.splice(w1,1),N0=oe.length&&wr(ce),!N0)return St.apply(y1,oe),y1;break}}return(mt||o1(N0,ft))(oe,i1,!gt,y1,!i1||Jn.test(N0)&&To(i1.parentNode)||i1),y1},e0.sortStable=Vt.split("").sort(Ye).join("")===Vt,e0.detectDuplicates=!!ie,j1(),e0.sortDetached=er(function(N0){return N0.compareDocumentPosition(V1.createElement("fieldset"))&1}),er(function(N0){return N0.innerHTML=" ",N0.firstChild.getAttribute("href")==="#"})||_r("type|href|height|width",function(N0,i1,y1){if(!y1)return N0.getAttribute(i1,i1.toLowerCase()==="type"?1:2)}),(!e0.attributes||!er(function(N0){return N0.innerHTML=" ",N0.firstChild.setAttribute("value",""),N0.firstChild.getAttribute("value")===""}))&&_r("value",function(N0,i1,y1){if(!y1&&N0.nodeName.toLowerCase()==="input")return N0.defaultValue}),er(function(N0){return N0.getAttribute("disabled")==null})||_r(Nt,function(N0,i1,y1){var oe;if(!y1)return N0[i1]===!0?i1.toLowerCase():(oe=N0.getAttributeNode(i1))&&oe.specified?oe.value:null}),jt}(n);E.find=q,E.expr=q.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=q.uniqueSort,E.text=q.getText,E.isXMLDoc=q.isXML,E.contains=q.contains,E.escapeSelector=q.escape;var S=function(B,X,e0){for(var s0=[],v0=e0!==void 0;(B=B[X])&&B.nodeType!==9;)if(B.nodeType===1){if(v0&&E(B).is(e0))break;s0.push(B)}return s0},I=function(B,X){for(var e0=[];B;B=B.nextSibling)B.nodeType===1&&B!==X&&e0.push(B);return e0},x=E.expr.match.needsContext;function j(B,X){return B.nodeName&&B.nodeName.toLowerCase()===X.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function k(B,X,e0){return c(X)?E.grep(B,function(s0,v0){return!!X.call(s0,v0,s0)!==e0}):X.nodeType?E.grep(B,function(s0){return s0===X!==e0}):typeof X!="string"?E.grep(B,function(s0){return M.call(X,s0)>-1!==e0}):E.filter(X,B,e0)}E.filter=function(B,X,e0){var s0=X[0];return e0&&(B=":not("+B+")"),X.length===1&&s0.nodeType===1?E.find.matchesSelector(s0,B)?[s0]:[]:E.find.matches(B,E.grep(X,function(v0){return v0.nodeType===1}))},E.fn.extend({find:function(B){var X,e0,s0=this.length,v0=this;if(typeof B!="string")return this.pushStack(E(B).filter(function(){for(X=0;X1?E.uniqueSort(e0):e0},filter:function(B){return this.pushStack(k(this,B||[],!1))},not:function(B){return this.pushStack(k(this,B||[],!0))},is:function(B){return!!k(this,typeof B=="string"&&x.test(B)?E(B):B||[],!1).length}});var K,Y=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,$=E.fn.init=function(B,X,e0){var s0,v0;if(!B)return this;if(e0=e0||K,typeof B=="string")if(B[0]==="<"&&B[B.length-1]===">"&&B.length>=3?s0=[null,B,null]:s0=Y.exec(B),s0&&(s0[1]||!X))if(s0[1]){if(X=X instanceof E?X[0]:X,E.merge(this,E.parseHTML(s0[1],X&&X.nodeType?X.ownerDocument||X:_,!0)),N.test(s0[1])&&E.isPlainObject(X))for(s0 in X)c(this[s0])?this[s0](X[s0]):this.attr(s0,X[s0]);return this}else return v0=_.getElementById(s0[2]),v0&&(this[0]=v0,this.length=1),this;else return!X||X.jquery?(X||e0).find(B):this.constructor(X).find(B);else{if(B.nodeType)return this[0]=B,this.length=1,this;if(c(B))return e0.ready!==void 0?e0.ready(B):B(E)}return E.makeArray(B,this)};$.prototype=E.fn,K=E(_);var u0=/^(?:parents|prev(?:Until|All))/,n0={children:!0,contents:!0,next:!0,prev:!0};E.fn.extend({has:function(B){var X=E(B,this),e0=X.length;return this.filter(function(){for(var s0=0;s0-1:e0.nodeType===1&&E.find.matchesSelector(e0,B))){P0.push(e0);break}}return this.pushStack(P0.length>1?E.uniqueSort(P0):P0)},index:function(B){return B?typeof B=="string"?M.call(E(B),this[0]):M.call(this,B.jquery?B[0]:B):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(B,X){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(B,X))))},addBack:function(B){return this.add(B==null?this.prevObject:this.prevObject.filter(B))}});function i0(B,X){for(;(B=B[X])&&B.nodeType!==1;);return B}E.each({parent:function(B){var X=B.parentNode;return X&&X.nodeType!==11?X:null},parents:function(B){return S(B,"parentNode")},parentsUntil:function(B,X,e0){return S(B,"parentNode",e0)},next:function(B){return i0(B,"nextSibling")},prev:function(B){return i0(B,"previousSibling")},nextAll:function(B){return S(B,"nextSibling")},prevAll:function(B){return S(B,"previousSibling")},nextUntil:function(B,X,e0){return S(B,"nextSibling",e0)},prevUntil:function(B,X,e0){return S(B,"previousSibling",e0)},siblings:function(B){return I((B.parentNode||{}).firstChild,B)},children:function(B){return I(B.firstChild)},contents:function(B){return B.contentDocument!=null&&a(B.contentDocument)?B.contentDocument:(j(B,"template")&&(B=B.content||B),E.merge([],B.childNodes))}},function(B,X){E.fn[B]=function(e0,s0){var v0=E.map(this,X,e0);return B.slice(-5)!=="Until"&&(s0=e0),s0&&typeof s0=="string"&&(v0=E.filter(s0,v0)),this.length>1&&(n0[B]||E.uniqueSort(v0),u0.test(B)&&v0.reverse()),this.pushStack(v0)}});var t0=/[^\x20\t\r\n\f]+/g;function J(B){var X={};return E.each(B.match(t0)||[],function(e0,s0){X[s0]=!0}),X}E.Callbacks=function(B){B=typeof B=="string"?J(B):E.extend({},B);var X,e0,s0,v0,P0=[],T0=[],o1=-1,t1=function(){for(v0=v0||B.once,s0=X=!0;T0.length;o1=-1)for(e0=T0.shift();++o1-1;)P0.splice(j1,1),j1<=o1&&o1--}),this},has:function(k1){return k1?E.inArray(k1,P0)>-1:P0.length>0},empty:function(){return P0&&(P0=[]),this},disable:function(){return v0=T0=[],P0=e0="",this},disabled:function(){return!P0},lock:function(){return v0=T0=[],!e0&&!X&&(P0=e0=""),this},locked:function(){return!!v0},fireWith:function(k1,ie){return v0||(ie=ie||[],ie=[k1,ie.slice?ie.slice():ie],T0.push(ie),X||t1()),this},fire:function(){return T1.fireWith(this,arguments),this},fired:function(){return!!s0}};return T1};function a0(B){return B}function b0(B){throw B}function d0(B,X,e0,s0){var v0;try{B&&c(v0=B.promise)?v0.call(B).done(X).fail(e0):B&&c(v0=B.then)?v0.call(B,X,e0):X.apply(void 0,[B].slice(s0))}catch(P0){e0.apply(void 0,[P0])}}E.extend({Deferred:function(B){var X=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],e0="pending",s0={state:function(){return e0},always:function(){return v0.done(arguments).fail(arguments),this},catch:function(P0){return s0.then(null,P0)},pipe:function(){var P0=arguments;return E.Deferred(function(T0){E.each(X,function(o1,t1){var T1=c(P0[t1[4]])&&P0[t1[4]];v0[t1[1]](function(){var k1=T1&&T1.apply(this,arguments);k1&&c(k1.promise)?k1.promise().progress(T0.notify).done(T0.resolve).fail(T0.reject):T0[t1[0]+"With"](this,T1?[k1]:arguments)})}),P0=null}).promise()},then:function(P0,T0,o1){var t1=0;function T1(k1,ie,j1,V1){return function(){var Je=this,gt=arguments,Qe=function(){var gn,Qn;if(!(k1=t1&&(j1!==b0&&(Je=void 0,gt=[gn]),ie.rejectWith(Je,gt))}};k1?Rn():(E.Deferred.getStackHook&&(Rn.stackTrace=E.Deferred.getStackHook()),n.setTimeout(Rn))}}return E.Deferred(function(k1){X[0][3].add(T1(0,k1,c(o1)?o1:a0,k1.notifyWith)),X[1][3].add(T1(0,k1,c(P0)?P0:a0)),X[2][3].add(T1(0,k1,c(T0)?T0:b0))}).promise()},promise:function(P0){return P0!=null?E.extend(P0,s0):s0}},v0={};return E.each(X,function(P0,T0){var o1=T0[2],t1=T0[5];s0[T0[1]]=o1.add,t1&&o1.add(function(){e0=t1},X[3-P0][2].disable,X[3-P0][3].disable,X[0][2].lock,X[0][3].lock),o1.add(T0[3].fire),v0[T0[0]]=function(){return v0[T0[0]+"With"](this===v0?void 0:this,arguments),this},v0[T0[0]+"With"]=o1.fireWith}),s0.promise(v0),B&&B.call(v0,v0),v0},when:function(B){var X=arguments.length,e0=X,s0=Array(e0),v0=i.call(arguments),P0=E.Deferred(),T0=function(o1){return function(t1){s0[o1]=this,v0[o1]=arguments.length>1?i.call(arguments):t1,--X||P0.resolveWith(s0,v0)}};if(X<=1&&(d0(B,P0.done(T0(e0)).resolve,P0.reject,!X),P0.state()==="pending"||c(v0[e0]&&v0[e0].then)))return P0.then();for(;e0--;)d0(v0[e0],T0(e0),P0.reject);return P0.promise()}});var O0=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(B,X){n.console&&n.console.warn&&B&&O0.test(B.name)&&n.console.warn("jQuery.Deferred exception: "+B.message,B.stack,X)},E.readyException=function(B){n.setTimeout(function(){throw B})};var _0=E.Deferred();E.fn.ready=function(B){return _0.then(B).catch(function(X){E.readyException(X)}),this},E.extend({isReady:!1,readyWait:1,ready:function(B){(B===!0?--E.readyWait:E.isReady)||(E.isReady=!0,!(B!==!0&&--E.readyWait>0)&&_0.resolveWith(_,[E]))}}),E.ready.then=_0.then;function h0(){_.removeEventListener("DOMContentLoaded",h0),n.removeEventListener("load",h0),E.ready()}_.readyState==="complete"||_.readyState!=="loading"&&!_.documentElement.doScroll?n.setTimeout(E.ready):(_.addEventListener("DOMContentLoaded",h0),n.addEventListener("load",h0));var A0=function(B,X,e0,s0,v0,P0,T0){var o1=0,t1=B.length,T1=e0==null;if(y(e0)==="object"){v0=!0;for(o1 in e0)A0(B,X,o1,e0[o1],!0,P0,T0)}else if(s0!==void 0&&(v0=!0,c(s0)||(T0=!0),T1&&(T0?(X.call(B,s0),X=null):(T1=X,X=function(k1,ie,j1){return T1.call(E(k1),j1)})),X))for(;o11,null,!0)},removeData:function(B){return this.each(function(){K0.remove(this,B)})}}),E.extend({queue:function(B,X,e0){var s0;if(B)return X=(X||"fx")+"queue",s0=E0.get(B,X),e0&&(!s0||Array.isArray(e0)?s0=E0.access(B,X,E.makeArray(e0)):s0.push(e0)),s0||[]},dequeue:function(B,X){X=X||"fx";var e0=E.queue(B,X),s0=e0.length,v0=e0.shift(),P0=E._queueHooks(B,X),T0=function(){E.dequeue(B,X)};v0==="inprogress"&&(v0=e0.shift(),s0--),v0&&(X==="fx"&&e0.unshift("inprogress"),delete P0.stop,v0.call(B,T0,P0)),!s0&&P0&&P0.empty.fire()},_queueHooks:function(B,X){var e0=X+"queueHooks";return E0.get(B,e0)||E0.access(B,e0,{empty:E.Callbacks("once memory").add(function(){E0.remove(B,[X+"queue",e0])})})}}),E.fn.extend({queue:function(B,X){var e0=2;return typeof B!="string"&&(X=B,B="fx",e0--),arguments.length\x20\t\r\n\f]*)/i,z1=/^$|^module$|\/(?:java|ecma)script/i;(function(){var B=_.createDocumentFragment(),X=B.appendChild(_.createElement("div")),e0=_.createElement("input");e0.setAttribute("type","radio"),e0.setAttribute("checked","checked"),e0.setAttribute("name","t"),X.appendChild(e0),s.checkClone=X.cloneNode(!0).cloneNode(!0).lastChild.checked,X.innerHTML="",s.noCloneChecked=!!X.cloneNode(!0).lastChild.defaultValue,X.innerHTML=" ",s.option=!!X.lastChild})();var P1={thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};P1.tbody=P1.tfoot=P1.colgroup=P1.caption=P1.thead,P1.th=P1.td,s.option||(P1.optgroup=P1.option=[1,""," "]);function X0(B,X){var e0;return typeof B.getElementsByTagName<"u"?e0=B.getElementsByTagName(X||"*"):typeof B.querySelectorAll<"u"?e0=B.querySelectorAll(X||"*"):e0=[],X===void 0||X&&j(B,X)?E.merge([B],e0):e0}function k0(B,X){for(var e0=0,s0=B.length;e0-1){v0&&v0.push(P0);continue}if(T1=E1(P0),T0=X0(ie.appendChild(P0),"script"),T1&&k0(T0),e0)for(k1=0;P0=T0[k1++];)z1.test(P0.type||"")&&e0.push(P0)}return ie}var q1=/^key/,Y1=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,B1=/^([^.]*)(?:\.(.+)|)/;function Q1(){return!0}function re(){return!1}function ue(B,X){return B===Re()==(X==="focus")}function Re(){try{return _.activeElement}catch{}}function De(B,X,e0,s0,v0,P0){var T0,o1;if(typeof X=="object"){typeof e0!="string"&&(s0=s0||e0,e0=void 0);for(o1 in X)De(B,o1,e0,s0,X[o1],P0);return B}if(s0==null&&v0==null?(v0=e0,s0=e0=void 0):v0==null&&(typeof e0=="string"?(v0=s0,s0=void 0):(v0=s0,s0=e0,e0=void 0)),v0===!1)v0=re;else if(!v0)return B;return P0===1&&(T0=v0,v0=function(t1){return E().off(t1),T0.apply(this,arguments)},v0.guid=T0.guid||(T0.guid=E.guid++)),B.each(function(){E.event.add(this,X,v0,s0,e0)})}E.event={global:{},add:function(B,X,e0,s0,v0){var P0,T0,o1,t1,T1,k1,ie,j1,V1,Je,gt,Qe=E0.get(B);if(g0(B))for(e0.handler&&(P0=e0,e0=P0.handler,v0=P0.selector),v0&&E.find.matchesSelector(C1,v0),e0.guid||(e0.guid=E.guid++),(t1=Qe.events)||(t1=Qe.events=Object.create(null)),(T0=Qe.handle)||(T0=Qe.handle=function(Rn){return typeof E<"u"&&E.event.triggered!==Rn.type?E.event.dispatch.apply(B,arguments):void 0}),X=(X||"").match(t0)||[""],T1=X.length;T1--;)o1=B1.exec(X[T1])||[],V1=gt=o1[1],Je=(o1[2]||"").split(".").sort(),V1&&(ie=E.event.special[V1]||{},V1=(v0?ie.delegateType:ie.bindType)||V1,ie=E.event.special[V1]||{},k1=E.extend({type:V1,origType:gt,data:s0,handler:e0,guid:e0.guid,selector:v0,needsContext:v0&&E.expr.match.needsContext.test(v0),namespace:Je.join(".")},P0),(j1=t1[V1])||(j1=t1[V1]=[],j1.delegateCount=0,(!ie.setup||ie.setup.call(B,s0,Je,T0)===!1)&&B.addEventListener&&B.addEventListener(V1,T0)),ie.add&&(ie.add.call(B,k1),k1.handler.guid||(k1.handler.guid=e0.guid)),v0?j1.splice(j1.delegateCount++,0,k1):j1.push(k1),E.event.global[V1]=!0)},remove:function(B,X,e0,s0,v0){var P0,T0,o1,t1,T1,k1,ie,j1,V1,Je,gt,Qe=E0.hasData(B)&&E0.get(B);if(!(!Qe||!(t1=Qe.events))){for(X=(X||"").match(t0)||[""],T1=X.length;T1--;){if(o1=B1.exec(X[T1])||[],V1=gt=o1[1],Je=(o1[2]||"").split(".").sort(),!V1){for(V1 in t1)E.event.remove(B,V1+X[T1],e0,s0,!0);continue}for(ie=E.event.special[V1]||{},V1=(s0?ie.delegateType:ie.bindType)||V1,j1=t1[V1]||[],o1=o1[2]&&new RegExp("(^|\\.)"+Je.join("\\.(?:.*\\.|)")+"(\\.|$)"),T0=P0=j1.length;P0--;)k1=j1[P0],(v0||gt===k1.origType)&&(!e0||e0.guid===k1.guid)&&(!o1||o1.test(k1.namespace))&&(!s0||s0===k1.selector||s0==="**"&&k1.selector)&&(j1.splice(P0,1),k1.selector&&j1.delegateCount--,ie.remove&&ie.remove.call(B,k1));T0&&!j1.length&&((!ie.teardown||ie.teardown.call(B,Je,Qe.handle)===!1)&&E.removeEvent(B,V1,Qe.handle),delete t1[V1])}E.isEmptyObject(t1)&&E0.remove(B,"handle events")}},dispatch:function(B){var X,e0,s0,v0,P0,T0,o1=new Array(arguments.length),t1=E.event.fix(B),T1=(E0.get(this,"events")||Object.create(null))[t1.type]||[],k1=E.event.special[t1.type]||{};for(o1[0]=t1,X=1;X=1)){for(;T1!==this;T1=T1.parentNode||this)if(T1.nodeType===1&&!(B.type==="click"&&T1.disabled===!0)){for(P0=[],T0={},e0=0;e0-1:E.find(v0,this,null,[T1]).length),T0[v0]&&P0.push(s0);P0.length&&o1.push({elem:T1,handlers:P0})}}return T1=this,t1\s*$/g;function Ot(B,X){return j(B,"table")&&j(X.nodeType!==11?X:X.firstChild,"tr")&&E(B).children("tbody")[0]||B}function it(B){return B.type=(B.getAttribute("type")!==null)+"/"+B.type,B}function ct(B){return(B.type||"").slice(0,5)==="true/"?B.type=B.type.slice(5):B.removeAttribute("type"),B}function $1(B,X){var e0,s0,v0,P0,T0,o1,t1;if(X.nodeType===1){if(E0.hasData(B)&&(P0=E0.get(B),t1=P0.events,t1)){E0.remove(X,"handle events");for(v0 in t1)for(e0=0,s0=t1[v0].length;e01&&typeof V1=="string"&&!s.checkClone&&te.test(V1))return B.each(function(gt){var Qe=B.eq(gt);Je&&(X[0]=V1.call(this,gt,Qe.html())),an(Qe,X,e0,s0)});if(ie&&(v0=f1(X,B[0].ownerDocument,!1,B,s0),P0=v0.firstChild,v0.childNodes.length===1&&(v0=P0),P0||s0)){for(T0=E.map(X0(v0,"script"),it),o1=T0.length;k10&&k0(T0,!t1&&X0(B,"script")),o1},cleanData:function(B){for(var X,e0,s0,v0=E.event.special,P0=0;(e0=B[P0])!==void 0;P0++)if(g0(e0)){if(X=e0[E0.expando]){if(X.events)for(s0 in X.events)v0[s0]?E.event.remove(e0,s0):E.removeEvent(e0,s0,X.handle);e0[E0.expando]=void 0}e0[K0.expando]&&(e0[K0.expando]=void 0)}}}),E.fn.extend({detach:function(B){return st(this,B,!0)},remove:function(B){return st(this,B)},text:function(B){return A0(this,function(X){return X===void 0?E.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=X)})},null,B,arguments.length)},append:function(){return an(this,arguments,function(B){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var X=Ot(this,B);X.appendChild(B)}})},prepend:function(){return an(this,arguments,function(B){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var X=Ot(this,B);X.insertBefore(B,X.firstChild)}})},before:function(){return an(this,arguments,function(B){this.parentNode&&this.parentNode.insertBefore(B,this)})},after:function(){return an(this,arguments,function(B){this.parentNode&&this.parentNode.insertBefore(B,this.nextSibling)})},empty:function(){for(var B,X=0;(B=this[X])!=null;X++)B.nodeType===1&&(E.cleanData(X0(B,!1)),B.textContent="");return this},clone:function(B,X){return B=B==null?!1:B,X=X==null?B:X,this.map(function(){return E.clone(this,B,X)})},html:function(B){return A0(this,function(X){var e0=this[0]||{},s0=0,v0=this.length;if(X===void 0&&e0.nodeType===1)return e0.innerHTML;if(typeof X=="string"&&!de.test(X)&&!P1[(V0.exec(X)||["",""])[1].toLowerCase()]){X=E.htmlPrefilter(X);try{for(;s03,C1.removeChild(k1)),T0}}))})();function Gt(B,X,e0){var s0,v0,P0,T0,o1=B.style;return e0=e0||qt(B),e0&&(T0=e0.getPropertyValue(X)||e0[X],T0===""&&!E1(B)&&(T0=E.style(B,X)),!s.pixelBoxStyles()&&Bt.test(T0)&&Dt.test(X)&&(s0=o1.width,v0=o1.minWidth,P0=o1.maxWidth,o1.minWidth=o1.maxWidth=o1.width=T0,T0=e0.width,o1.width=s0,o1.minWidth=v0,o1.maxWidth=P0)),T0!==void 0?T0+"":T0}function At(B,X){return{get:function(){if(B()){delete this.get;return}return(this.get=X).apply(this,arguments)}}}var Wn=["Webkit","Moz","ms"],Tn=_.createElement("div").style,Mn={};function pt(B){for(var X=B[0].toUpperCase()+B.slice(1),e0=Wn.length;e0--;)if(B=Wn[e0]+X,B in Tn)return B}function qn(B){var X=E.cssProps[B]||Mn[B];return X||(B in Tn?B:Mn[B]=pt(B)||B)}var vn=/^(none|table(?!-c[ea]).+)/,On=/^--/,Ct={position:"absolute",visibility:"hidden",display:"block"},He={letterSpacing:"0",fontWeight:"400"};function pn(B,X,e0){var s0=A1.exec(X);return s0?Math.max(0,s0[2]-(e0||0))+(s0[3]||"px"):X}function Yt(B,X,e0,s0,v0,P0){var T0=X==="width"?1:0,o1=0,t1=0;if(e0===(s0?"border":"content"))return 0;for(;T0<4;T0+=2)e0==="margin"&&(t1+=E.css(B,e0+v1[T0],!0,v0)),s0?(e0==="content"&&(t1-=E.css(B,"padding"+v1[T0],!0,v0)),e0!=="margin"&&(t1-=E.css(B,"border"+v1[T0]+"Width",!0,v0))):(t1+=E.css(B,"padding"+v1[T0],!0,v0),e0!=="padding"?t1+=E.css(B,"border"+v1[T0]+"Width",!0,v0):o1+=E.css(B,"border"+v1[T0]+"Width",!0,v0));return!s0&&P0>=0&&(t1+=Math.max(0,Math.ceil(B["offset"+X[0].toUpperCase()+X.slice(1)]-P0-t1-o1-.5))||0),t1}function Qt(B,X,e0){var s0=qt(B),v0=!s.boxSizingReliable()||e0,P0=v0&&E.css(B,"boxSizing",!1,s0)==="border-box",T0=P0,o1=Gt(B,X,s0),t1="offset"+X[0].toUpperCase()+X.slice(1);if(Bt.test(o1)){if(!e0)return o1;o1="auto"}return(!s.boxSizingReliable()&&P0||!s.reliableTrDimensions()&&j(B,"tr")||o1==="auto"||!parseFloat(o1)&&E.css(B,"display",!1,s0)==="inline")&&B.getClientRects().length&&(P0=E.css(B,"boxSizing",!1,s0)==="border-box",T0=t1 in B,T0&&(o1=B[t1])),o1=parseFloat(o1)||0,o1+Yt(B,X,e0||(P0?"border":"content"),T0,s0,o1)+"px"}E.extend({cssHooks:{opacity:{get:function(B,X){if(X){var e0=Gt(B,"opacity");return e0===""?"1":e0}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(B,X,e0,s0){if(!(!B||B.nodeType===3||B.nodeType===8||!B.style)){var v0,P0,T0,o1=J0(X),t1=On.test(X),T1=B.style;if(t1||(X=qn(o1)),T0=E.cssHooks[X]||E.cssHooks[o1],e0!==void 0){if(P0=typeof e0,P0==="string"&&(v0=A1.exec(e0))&&v0[1]&&(e0=_1(B,X,v0),P0="number"),e0==null||e0!==e0)return;P0==="number"&&!t1&&(e0+=v0&&v0[3]||(E.cssNumber[o1]?"":"px")),!s.clearCloneStyle&&e0===""&&X.indexOf("background")===0&&(T1[X]="inherit"),(!T0||!("set"in T0)||(e0=T0.set(B,e0,s0))!==void 0)&&(t1?T1.setProperty(X,e0):T1[X]=e0)}else return T0&&"get"in T0&&(v0=T0.get(B,!1,s0))!==void 0?v0:T1[X]}},css:function(B,X,e0,s0){var v0,P0,T0,o1=J0(X),t1=On.test(X);return t1||(X=qn(o1)),T0=E.cssHooks[X]||E.cssHooks[o1],T0&&"get"in T0&&(v0=T0.get(B,!0,e0)),v0===void 0&&(v0=Gt(B,X,s0)),v0==="normal"&&X in He&&(v0=He[X]),e0===""||e0?(P0=parseFloat(v0),e0===!0||isFinite(P0)?P0||0:v0):v0}}),E.each(["height","width"],function(B,X){E.cssHooks[X]={get:function(e0,s0,v0){if(s0)return vn.test(E.css(e0,"display"))&&(!e0.getClientRects().length||!e0.getBoundingClientRect().width)?yt(e0,Ct,function(){return Qt(e0,X,v0)}):Qt(e0,X,v0)},set:function(e0,s0,v0){var P0,T0=qt(e0),o1=!s.scrollboxSize()&&T0.position==="absolute",t1=o1||v0,T1=t1&&E.css(e0,"boxSizing",!1,T0)==="border-box",k1=v0?Yt(e0,X,v0,T1,T0):0;return T1&&o1&&(k1-=Math.ceil(e0["offset"+X[0].toUpperCase()+X.slice(1)]-parseFloat(T0[X])-Yt(e0,X,"border",!1,T0)-.5)),k1&&(P0=A1.exec(s0))&&(P0[3]||"px")!=="px"&&(e0.style[X]=s0,s0=E.css(e0,X)),pn(e0,s0,k1)}}}),E.cssHooks.marginLeft=At(s.reliableMarginLeft,function(B,X){if(X)return(parseFloat(Gt(B,"marginLeft"))||B.getBoundingClientRect().left-yt(B,{marginLeft:0},function(){return B.getBoundingClientRect().left}))+"px"}),E.each({margin:"",padding:"",border:"Width"},function(B,X){E.cssHooks[B+X]={expand:function(e0){for(var s0=0,v0={},P0=typeof e0=="string"?e0.split(" "):[e0];s0<4;s0++)v0[B+v1[s0]+X]=P0[s0]||P0[s0-2]||P0[0];return v0}},B!=="margin"&&(E.cssHooks[B+X].set=pn)}),E.fn.extend({css:function(B,X){return A0(this,function(e0,s0,v0){var P0,T0,o1={},t1=0;if(Array.isArray(s0)){for(P0=qt(e0),T0=s0.length;t11)}});function ot(B,X,e0,s0,v0){return new ot.prototype.init(B,X,e0,s0,v0)}E.Tween=ot,ot.prototype={constructor:ot,init:function(B,X,e0,s0,v0,P0){this.elem=B,this.prop=e0,this.easing=v0||E.easing._default,this.options=X,this.start=this.now=this.cur(),this.end=s0,this.unit=P0||(E.cssNumber[e0]?"":"px")},cur:function(){var B=ot.propHooks[this.prop];return B&&B.get?B.get(this):ot.propHooks._default.get(this)},run:function(B){var X,e0=ot.propHooks[this.prop];return this.options.duration?this.pos=X=E.easing[this.easing](B,this.options.duration*B,0,1,this.options.duration):this.pos=X=B,this.now=(this.end-this.start)*X+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),e0&&e0.set?e0.set(this):ot.propHooks._default.set(this),this}},ot.prototype.init.prototype=ot.prototype,ot.propHooks={_default:{get:function(B){var X;return B.elem.nodeType!==1||B.elem[B.prop]!=null&&B.elem.style[B.prop]==null?B.elem[B.prop]:(X=E.css(B.elem,B.prop,""),!X||X==="auto"?0:X)},set:function(B){E.fx.step[B.prop]?E.fx.step[B.prop](B):B.elem.nodeType===1&&(E.cssHooks[B.prop]||B.elem.style[qn(B.prop)]!=null)?E.style(B.elem,B.prop,B.now+B.unit):B.elem[B.prop]=B.now}}},ot.propHooks.scrollTop=ot.propHooks.scrollLeft={set:function(B){B.elem.nodeType&&B.elem.parentNode&&(B.elem[B.prop]=B.now)}},E.easing={linear:function(B){return B},swing:function(B){return .5-Math.cos(B*Math.PI)/2},_default:"swing"},E.fx=ot.prototype.init,E.fx.step={};var Ge,zn,$0=/^(?:toggle|show|hide)$/,l0=/queueHooks$/;function Z(){zn&&(_.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(Z):n.setTimeout(Z,E.fx.interval),E.fx.tick())}function Q(){return n.setTimeout(function(){Ge=void 0}),Ge=Date.now()}function V(B,X){var e0,s0=0,v0={height:B};for(X=X?1:0;s0<4;s0+=2-X)e0=v1[s0],v0["margin"+e0]=v0["padding"+e0]=B;return X&&(v0.opacity=v0.width=B),v0}function r0(B,X,e0){for(var s0,v0=(S0.tweeners[X]||[]).concat(S0.tweeners["*"]),P0=0,T0=v0.length;P01)},removeAttr:function(B){return this.each(function(){E.removeAttr(this,B)})}}),E.extend({attr:function(B,X,e0){var s0,v0,P0=B.nodeType;if(!(P0===3||P0===8||P0===2)){if(typeof B.getAttribute>"u")return E.prop(B,X,e0);if((P0!==1||!E.isXMLDoc(B))&&(v0=E.attrHooks[X.toLowerCase()]||(E.expr.match.bool.test(X)?F0:void 0)),e0!==void 0){if(e0===null){E.removeAttr(B,X);return}return v0&&"set"in v0&&(s0=v0.set(B,e0,X))!==void 0?s0:(B.setAttribute(X,e0+""),e0)}return v0&&"get"in v0&&(s0=v0.get(B,X))!==null?s0:(s0=E.find.attr(B,X),s0==null?void 0:s0)}},attrHooks:{type:{set:function(B,X){if(!s.radioValue&&X==="radio"&&j(B,"input")){var e0=B.value;return B.setAttribute("type",X),e0&&(B.value=e0),X}}}},removeAttr:function(B,X){var e0,s0=0,v0=X&&X.match(t0);if(v0&&B.nodeType===1)for(;e0=v0[s0++];)B.removeAttribute(e0)}}),F0={set:function(B,X,e0){return X===!1?E.removeAttr(B,e0):B.setAttribute(e0,e0),e0}},E.each(E.expr.match.bool.source.match(/\w+/g),function(B,X){var e0=G0[X]||E.find.attr;G0[X]=function(s0,v0,P0){var T0,o1,t1=v0.toLowerCase();return P0||(o1=G0[t1],G0[t1]=T0,T0=e0(s0,v0,P0)!=null?t1:null,G0[t1]=o1),T0}});var d1=/^(?:input|select|textarea|button)$/i,b1=/^(?:a|area)$/i;E.fn.extend({prop:function(B,X){return A0(this,E.prop,B,X,arguments.length>1)},removeProp:function(B){return this.each(function(){delete this[E.propFix[B]||B]})}}),E.extend({prop:function(B,X,e0){var s0,v0,P0=B.nodeType;if(!(P0===3||P0===8||P0===2))return(P0!==1||!E.isXMLDoc(B))&&(X=E.propFix[X]||X,v0=E.propHooks[X]),e0!==void 0?v0&&"set"in v0&&(s0=v0.set(B,e0,X))!==void 0?s0:B[X]=e0:v0&&"get"in v0&&(s0=v0.get(B,X))!==null?s0:B[X]},propHooks:{tabIndex:{get:function(B){var X=E.find.attr(B,"tabindex");return X?parseInt(X,10):d1.test(B.nodeName)||b1.test(B.nodeName)&&B.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),s.optSelected||(E.propHooks.selected={get:function(B){var X=B.parentNode;return X&&X.parentNode&&X.parentNode.selectedIndex,null},set:function(B){var X=B.parentNode;X&&(X.selectedIndex,X.parentNode&&X.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){E.propFix[this.toLowerCase()]=this});function g1(B){var X=B.match(t0)||[];return X.join(" ")}function L1(B){return B.getAttribute&&B.getAttribute("class")||""}function p1(B){return Array.isArray(B)?B:typeof B=="string"?B.match(t0)||[]:[]}E.fn.extend({addClass:function(B){var X,e0,s0,v0,P0,T0,o1,t1=0;if(c(B))return this.each(function(T1){E(this).addClass(B.call(this,T1,L1(this)))});if(X=p1(B),X.length){for(;e0=this[t1++];)if(v0=L1(e0),s0=e0.nodeType===1&&" "+g1(v0)+" ",s0){for(T0=0;P0=X[T0++];)s0.indexOf(" "+P0+" ")<0&&(s0+=P0+" ");o1=g1(s0),v0!==o1&&e0.setAttribute("class",o1)}}return this},removeClass:function(B){var X,e0,s0,v0,P0,T0,o1,t1=0;if(c(B))return this.each(function(T1){E(this).removeClass(B.call(this,T1,L1(this)))});if(!arguments.length)return this.attr("class","");if(X=p1(B),X.length){for(;e0=this[t1++];)if(v0=L1(e0),s0=e0.nodeType===1&&" "+g1(v0)+" ",s0){for(T0=0;P0=X[T0++];)for(;s0.indexOf(" "+P0+" ")>-1;)s0=s0.replace(" "+P0+" "," ");o1=g1(s0),v0!==o1&&e0.setAttribute("class",o1)}}return this},toggleClass:function(B,X){var e0=typeof B,s0=e0==="string"||Array.isArray(B);return typeof X=="boolean"&&s0?X?this.addClass(B):this.removeClass(B):c(B)?this.each(function(v0){E(this).toggleClass(B.call(this,v0,L1(this),X),X)}):this.each(function(){var v0,P0,T0,o1;if(s0)for(P0=0,T0=E(this),o1=p1(B);v0=o1[P0++];)T0.hasClass(v0)?T0.removeClass(v0):T0.addClass(v0);else(B===void 0||e0==="boolean")&&(v0=L1(this),v0&&E0.set(this,"__className__",v0),this.setAttribute&&this.setAttribute("class",v0||B===!1?"":E0.get(this,"__className__")||""))})},hasClass:function(B){var X,e0,s0=0;for(X=" "+B+" ";e0=this[s0++];)if(e0.nodeType===1&&(" "+g1(L1(e0))+" ").indexOf(X)>-1)return!0;return!1}});var I1=/\r/g;E.fn.extend({val:function(B){var X,e0,s0,v0=this[0];return arguments.length?(s0=c(B),this.each(function(P0){var T0;this.nodeType===1&&(s0?T0=B.call(this,P0,E(this).val()):T0=B,T0==null?T0="":typeof T0=="number"?T0+="":Array.isArray(T0)&&(T0=E.map(T0,function(o1){return o1==null?"":o1+""})),X=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()],(!X||!("set"in X)||X.set(this,T0,"value")===void 0)&&(this.value=T0))})):v0?(X=E.valHooks[v0.type]||E.valHooks[v0.nodeName.toLowerCase()],X&&"get"in X&&(e0=X.get(v0,"value"))!==void 0?e0:(e0=v0.value,typeof e0=="string"?e0.replace(I1,""):e0==null?"":e0)):void 0}}),E.extend({valHooks:{option:{get:function(B){var X=E.find.attr(B,"value");return X!=null?X:g1(E.text(B))}},select:{get:function(B){var X,e0,s0,v0=B.options,P0=B.selectedIndex,T0=B.type==="select-one",o1=T0?null:[],t1=T0?P0+1:v0.length;for(P0<0?s0=t1:s0=T0?P0:0;s0-1)&&(e0=!0);return e0||(B.selectedIndex=-1),P0}}}}),E.each(["radio","checkbox"],function(){E.valHooks[this]={set:function(B,X){if(Array.isArray(X))return B.checked=E.inArray(E(B).val(),X)>-1}},s.checkOn||(E.valHooks[this].get=function(B){return B.getAttribute("value")===null?"on":B.value})}),s.focusin="onfocusin"in n;var D1=/^(?:focusinfocus|focusoutblur)$/,Me=function(B){B.stopPropagation()};E.extend(E.event,{trigger:function(B,X,e0,s0){var v0,P0,T0,o1,t1,T1,k1,ie,j1=[e0||_],V1=m.call(B,"type")?B.type:B,Je=m.call(B,"namespace")?B.namespace.split("."):[];if(P0=ie=T0=e0=e0||_,!(e0.nodeType===3||e0.nodeType===8)&&!D1.test(V1+E.event.triggered)&&(V1.indexOf(".")>-1&&(Je=V1.split("."),V1=Je.shift(),Je.sort()),t1=V1.indexOf(":")<0&&"on"+V1,B=B[E.expando]?B:new E.Event(V1,typeof B=="object"&&B),B.isTrigger=s0?2:3,B.namespace=Je.join("."),B.rnamespace=B.namespace?new RegExp("(^|\\.)"+Je.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,B.result=void 0,B.target||(B.target=e0),X=X==null?[B]:E.makeArray(X,[B]),k1=E.event.special[V1]||{},!(!s0&&k1.trigger&&k1.trigger.apply(e0,X)===!1))){if(!s0&&!k1.noBubble&&!u(e0)){for(o1=k1.delegateType||V1,D1.test(o1+V1)||(P0=P0.parentNode);P0;P0=P0.parentNode)j1.push(P0),T0=P0;T0===(e0.ownerDocument||_)&&j1.push(T0.defaultView||T0.parentWindow||n)}for(v0=0;(P0=j1[v0++])&&!B.isPropagationStopped();)ie=P0,B.type=v0>1?o1:k1.bindType||V1,T1=(E0.get(P0,"events")||Object.create(null))[B.type]&&E0.get(P0,"handle"),T1&&T1.apply(P0,X),T1=t1&&P0[t1],T1&&T1.apply&&g0(P0)&&(B.result=T1.apply(P0,X),B.result===!1&&B.preventDefault());return B.type=V1,!s0&&!B.isDefaultPrevented()&&(!k1._default||k1._default.apply(j1.pop(),X)===!1)&&g0(e0)&&t1&&c(e0[V1])&&!u(e0)&&(T0=e0[t1],T0&&(e0[t1]=null),E.event.triggered=V1,B.isPropagationStopped()&&ie.addEventListener(V1,Me),e0[V1](),B.isPropagationStopped()&&ie.removeEventListener(V1,Me),E.event.triggered=void 0,T0&&(e0[t1]=T0)),B.result}},simulate:function(B,X,e0){var s0=E.extend(new E.Event,e0,{type:B,isSimulated:!0});E.event.trigger(s0,null,X)}}),E.fn.extend({trigger:function(B,X){return this.each(function(){E.event.trigger(B,X,this)})},triggerHandler:function(B,X){var e0=this[0];if(e0)return E.event.trigger(B,X,e0,!0)}}),s.focusin||E.each({focus:"focusin",blur:"focusout"},function(B,X){var e0=function(s0){E.event.simulate(X,s0.target,E.event.fix(s0))};E.event.special[X]={setup:function(){var s0=this.ownerDocument||this.document||this,v0=E0.access(s0,X);v0||s0.addEventListener(B,e0,!0),E0.access(s0,X,(v0||0)+1)},teardown:function(){var s0=this.ownerDocument||this.document||this,v0=E0.access(s0,X)-1;v0?E0.access(s0,X,v0):(s0.removeEventListener(B,e0,!0),E0.remove(s0,X))}}});var se=n.location,fe={guid:Date.now()},c1=/\?/;E.parseXML=function(B){var X;if(!B||typeof B!="string")return null;try{X=new n.DOMParser().parseFromString(B,"text/xml")}catch{X=void 0}return(!X||X.getElementsByTagName("parsererror").length)&&E.error("Invalid XML: "+B),X};var ze=/\[\]$/,Ve=/\r?\n/g,F1=/^(?:submit|button|image|reset|file)$/i,be=/^(?:input|select|textarea|keygen)/i;function ne(B,X,e0,s0){var v0;if(Array.isArray(X))E.each(X,function(P0,T0){e0||ze.test(B)?s0(B,T0):ne(B+"["+(typeof T0=="object"&&T0!=null?P0:"")+"]",T0,e0,s0)});else if(!e0&&y(X)==="object")for(v0 in X)ne(B+"["+v0+"]",X[v0],e0,s0);else s0(B,X)}E.param=function(B,X){var e0,s0=[],v0=function(P0,T0){var o1=c(T0)?T0():T0;s0[s0.length]=encodeURIComponent(P0)+"="+encodeURIComponent(o1==null?"":o1)};if(B==null)return"";if(Array.isArray(B)||B.jquery&&!E.isPlainObject(B))E.each(B,function(){v0(this.name,this.value)});else for(e0 in B)ne(e0,B[e0],X,v0);return s0.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var B=E.prop(this,"elements");return B?E.makeArray(B):this}).filter(function(){var B=this.type;return this.name&&!E(this).is(":disabled")&&be.test(this.nodeName)&&!F1.test(B)&&(this.checked||!U0.test(B))}).map(function(B,X){var e0=E(this).val();return e0==null?null:Array.isArray(e0)?E.map(e0,function(s0){return{name:X.name,value:s0.replace(Ve,`\r
`)}}):{name:X.name,value:e0.replace(Ve,`\r
`)}}).get()}});var R1=/%20/g,Se=/#.*$/,Ie=/([?&])_=[^&]*/,We=/^(.*?):[ \t]*([^\r\n]*)$/mg,Ue=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ze=/^(?:GET|HEAD)$/,xt=/^\/\//,Te={},Xe={},_e="*/".concat("*"),je=_.createElement("a");je.href=se.href;function Wt(B){return function(X,e0){typeof X!="string"&&(e0=X,X="*");var s0,v0=0,P0=X.toLowerCase().match(t0)||[];if(c(e0))for(;s0=P0[v0++];)s0[0]==="+"?(s0=s0.slice(1)||"*",(B[s0]=B[s0]||[]).unshift(e0)):(B[s0]=B[s0]||[]).push(e0)}}function Mt(B,X,e0,s0){var v0={},P0=B===Xe;function T0(o1){var t1;return v0[o1]=!0,E.each(B[o1]||[],function(T1,k1){var ie=k1(X,e0,s0);if(typeof ie=="string"&&!P0&&!v0[ie])return X.dataTypes.unshift(ie),T0(ie),!1;if(P0)return!(t1=ie)}),t1}return T0(X.dataTypes[0])||!v0["*"]&&T0("*")}function Ut(B,X){var e0,s0,v0=E.ajaxSettings.flatOptions||{};for(e0 in X)X[e0]!==void 0&&((v0[e0]?B:s0||(s0={}))[e0]=X[e0]);return s0&&E.extend(!0,B,s0),B}function sn(B,X,e0){for(var s0,v0,P0,T0,o1=B.contents,t1=B.dataTypes;t1[0]==="*";)t1.shift(),s0===void 0&&(s0=B.mimeType||X.getResponseHeader("Content-Type"));if(s0){for(v0 in o1)if(o1[v0]&&o1[v0].test(s0)){t1.unshift(v0);break}}if(t1[0]in e0)P0=t1[0];else{for(v0 in e0){if(!t1[0]||B.converters[v0+" "+t1[0]]){P0=v0;break}T0||(T0=v0)}P0=P0||T0}if(P0)return P0!==t1[0]&&t1.unshift(P0),e0[P0]}function vt(B,X,e0,s0){var v0,P0,T0,o1,t1,T1={},k1=B.dataTypes.slice();if(k1[1])for(T0 in B.converters)T1[T0.toLowerCase()]=B.converters[T0];for(P0=k1.shift();P0;)if(B.responseFields[P0]&&(e0[B.responseFields[P0]]=X),!t1&&s0&&B.dataFilter&&(X=B.dataFilter(X,B.dataType)),t1=P0,P0=k1.shift(),P0){if(P0==="*")P0=t1;else if(t1!=="*"&&t1!==P0){if(T0=T1[t1+" "+P0]||T1["* "+P0],!T0){for(v0 in T1)if(o1=v0.split(" "),o1[1]===P0&&(T0=T1[t1+" "+o1[0]]||T1["* "+o1[0]],T0)){T0===!0?T0=T1[v0]:T1[v0]!==!0&&(P0=o1[0],k1.unshift(o1[1]));break}}if(T0!==!0)if(T0&&B.throws)X=T0(X);else try{X=T0(X)}catch(ie){return{state:"parsererror",error:T0?ie:"No conversion from "+t1+" to "+P0}}}}return{state:"success",data:X}}E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:se.href,type:"GET",isLocal:Ue.test(se.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":_e,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(B,X){return X?Ut(Ut(B,E.ajaxSettings),X):Ut(E.ajaxSettings,B)},ajaxPrefilter:Wt(Te),ajaxTransport:Wt(Xe),ajax:function(B,X){typeof B=="object"&&(X=B,B=void 0),X=X||{};var e0,s0,v0,P0,T0,o1,t1,T1,k1,ie,j1=E.ajaxSetup({},X),V1=j1.context||j1,Je=j1.context&&(V1.nodeType||V1.jquery)?E(V1):E.event,gt=E.Deferred(),Qe=E.Callbacks("once memory"),Rn=j1.statusCode||{},gn={},Qn={},Vt="canceled",Pt={readyState:0,getResponseHeader:function(kt){var S1;if(t1){if(!P0)for(P0={};S1=We.exec(v0);)P0[S1[1].toLowerCase()+" "]=(P0[S1[1].toLowerCase()+" "]||[]).concat(S1[2]);S1=P0[kt.toLowerCase()+" "]}return S1==null?null:S1.join(", ")},getAllResponseHeaders:function(){return t1?v0:null},setRequestHeader:function(kt,S1){return t1==null&&(kt=Qn[kt.toLowerCase()]=Qn[kt.toLowerCase()]||kt,gn[kt]=S1),this},overrideMimeType:function(kt){return t1==null&&(j1.mimeType=kt),this},statusCode:function(kt){var S1;if(kt)if(t1)Pt.always(kt[Pt.status]);else for(S1 in kt)Rn[S1]=[Rn[S1],kt[S1]];return this},abort:function(kt){var S1=kt||Vt;return e0&&e0.abort(S1),Hn(0,S1),this}};if(gt.promise(Pt),j1.url=((B||j1.url||se.href)+"").replace(xt,se.protocol+"//"),j1.type=X.method||X.type||j1.method||j1.type,j1.dataTypes=(j1.dataType||"*").toLowerCase().match(t0)||[""],j1.crossDomain==null){o1=_.createElement("a");try{o1.href=j1.url,o1.href=o1.href,j1.crossDomain=je.protocol+"//"+je.host!=o1.protocol+"//"+o1.host}catch{j1.crossDomain=!0}}if(j1.data&&j1.processData&&typeof j1.data!="string"&&(j1.data=E.param(j1.data,j1.traditional)),Mt(Te,j1,X,Pt),t1)return Pt;T1=E.event&&j1.global,T1&&E.active++===0&&E.event.trigger("ajaxStart"),j1.type=j1.type.toUpperCase(),j1.hasContent=!Ze.test(j1.type),s0=j1.url.replace(Se,""),j1.hasContent?j1.data&&j1.processData&&(j1.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(j1.data=j1.data.replace(R1,"+")):(ie=j1.url.slice(s0.length),j1.data&&(j1.processData||typeof j1.data=="string")&&(s0+=(c1.test(s0)?"&":"?")+j1.data,delete j1.data),j1.cache===!1&&(s0=s0.replace(Ie,"$1"),ie=(c1.test(s0)?"&":"?")+"_="+fe.guid+++ie),j1.url=s0+ie),j1.ifModified&&(E.lastModified[s0]&&Pt.setRequestHeader("If-Modified-Since",E.lastModified[s0]),E.etag[s0]&&Pt.setRequestHeader("If-None-Match",E.etag[s0])),(j1.data&&j1.hasContent&&j1.contentType!==!1||X.contentType)&&Pt.setRequestHeader("Content-Type",j1.contentType),Pt.setRequestHeader("Accept",j1.dataTypes[0]&&j1.accepts[j1.dataTypes[0]]?j1.accepts[j1.dataTypes[0]]+(j1.dataTypes[0]!=="*"?", "+_e+"; q=0.01":""):j1.accepts["*"]);for(k1 in j1.headers)Pt.setRequestHeader(k1,j1.headers[k1]);if(j1.beforeSend&&(j1.beforeSend.call(V1,Pt,j1)===!1||t1))return Pt.abort();if(Vt="abort",Qe.add(j1.complete),Pt.done(j1.success),Pt.fail(j1.error),e0=Mt(Xe,j1,X,Pt),!e0)Hn(-1,"No Transport");else{if(Pt.readyState=1,T1&&Je.trigger("ajaxSend",[Pt,j1]),t1)return Pt;j1.async&&j1.timeout>0&&(T0=n.setTimeout(function(){Pt.abort("timeout")},j1.timeout));try{t1=!1,e0.send(gn,Hn)}catch(kt){if(t1)throw kt;Hn(-1,kt)}}function Hn(kt,S1,H1,pe){var Le,Ye,nt,$e,et,xe=S1;t1||(t1=!0,T0&&n.clearTimeout(T0),e0=void 0,v0=pe||"",Pt.readyState=kt>0?4:0,Le=kt>=200&&kt<300||kt===304,H1&&($e=sn(j1,Pt,H1)),!Le&&E.inArray("script",j1.dataTypes)>-1&&(j1.converters["text script"]=function(){}),$e=vt(j1,$e,Pt,Le),Le?(j1.ifModified&&(et=Pt.getResponseHeader("Last-Modified"),et&&(E.lastModified[s0]=et),et=Pt.getResponseHeader("etag"),et&&(E.etag[s0]=et)),kt===204||j1.type==="HEAD"?xe="nocontent":kt===304?xe="notmodified":(xe=$e.state,Ye=$e.data,nt=$e.error,Le=!nt)):(nt=xe,(kt||!xe)&&(xe="error",kt<0&&(kt=0))),Pt.status=kt,Pt.statusText=(S1||xe)+"",Le?gt.resolveWith(V1,[Ye,xe,Pt]):gt.rejectWith(V1,[Pt,xe,nt]),Pt.statusCode(Rn),Rn=void 0,T1&&Je.trigger(Le?"ajaxSuccess":"ajaxError",[Pt,j1,Le?Ye:nt]),Qe.fireWith(V1,[Pt,xe]),T1&&(Je.trigger("ajaxComplete",[Pt,j1]),--E.active||E.event.trigger("ajaxStop")))}return Pt},getJSON:function(B,X,e0){return E.get(B,X,e0,"json")},getScript:function(B,X){return E.get(B,void 0,X,"script")}}),E.each(["get","post"],function(B,X){E[X]=function(e0,s0,v0,P0){return c(s0)&&(P0=P0||v0,v0=s0,s0=void 0),E.ajax(E.extend({url:e0,type:X,dataType:P0,data:s0,success:v0},E.isPlainObject(e0)&&e0))}}),E.ajaxPrefilter(function(B){var X;for(X in B.headers)X.toLowerCase()==="content-type"&&(B.contentType=B.headers[X]||"")}),E._evalUrl=function(B,X,e0){return E.ajax({url:B,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(s0){E.globalEval(s0,X,e0)}})},E.fn.extend({wrapAll:function(B){var X;return this[0]&&(c(B)&&(B=B.call(this[0])),X=E(B,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&X.insertBefore(this[0]),X.map(function(){for(var e0=this;e0.firstElementChild;)e0=e0.firstElementChild;return e0}).append(this)),this},wrapInner:function(B){return c(B)?this.each(function(X){E(this).wrapInner(B.call(this,X))}):this.each(function(){var X=E(this),e0=X.contents();e0.length?e0.wrapAll(B):X.append(B)})},wrap:function(B){var X=c(B);return this.each(function(e0){E(this).wrapAll(X?B.call(this,e0):B)})},unwrap:function(B){return this.parent(B).not("body").each(function(){E(this).replaceWith(this.childNodes)}),this}}),E.expr.pseudos.hidden=function(B){return!E.expr.pseudos.visible(B)},E.expr.pseudos.visible=function(B){return!!(B.offsetWidth||B.offsetHeight||B.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch{}};var Ln={0:200,1223:204},we=E.ajaxSettings.xhr();s.cors=!!we&&"withCredentials"in we,s.ajax=we=!!we,E.ajaxTransport(function(B){var X,e0;if(s.cors||we&&!B.crossDomain)return{send:function(s0,v0){var P0,T0=B.xhr();if(T0.open(B.type,B.url,B.async,B.username,B.password),B.xhrFields)for(P0 in B.xhrFields)T0[P0]=B.xhrFields[P0];B.mimeType&&T0.overrideMimeType&&T0.overrideMimeType(B.mimeType),!B.crossDomain&&!s0["X-Requested-With"]&&(s0["X-Requested-With"]="XMLHttpRequest");for(P0 in s0)T0.setRequestHeader(P0,s0[P0]);X=function(o1){return function(){X&&(X=e0=T0.onload=T0.onerror=T0.onabort=T0.ontimeout=T0.onreadystatechange=null,o1==="abort"?T0.abort():o1==="error"?typeof T0.status!="number"?v0(0,"error"):v0(T0.status,T0.statusText):v0(Ln[T0.status]||T0.status,T0.statusText,(T0.responseType||"text")!=="text"||typeof T0.responseText!="string"?{binary:T0.response}:{text:T0.responseText},T0.getAllResponseHeaders()))}},T0.onload=X(),e0=T0.onerror=T0.ontimeout=X("error"),T0.onabort!==void 0?T0.onabort=e0:T0.onreadystatechange=function(){T0.readyState===4&&n.setTimeout(function(){X&&e0()})},X=X("abort");try{T0.send(B.hasContent&&B.data||null)}catch(o1){if(X)throw o1}},abort:function(){X&&X()}}}),E.ajaxPrefilter(function(B){B.crossDomain&&(B.contents.script=!1)}),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(B){return E.globalEval(B),B}}}),E.ajaxPrefilter("script",function(B){B.cache===void 0&&(B.cache=!1),B.crossDomain&&(B.type="GET")}),E.ajaxTransport("script",function(B){if(B.crossDomain||B.scriptAttrs){var X,e0;return{send:function(s0,v0){X=E("