@qratilabs/qrati-connect 2.15.0 → 2.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/element/{CWJf7mNz.js → BI8RhPVM.js} +1 -1
  3. package/element/{BeBNT9RQ.js → BhtZwJ7r.js} +1 -1
  4. package/element/{CMtkKIjI.js → BvDw8z0o.js} +1 -1
  5. package/element/{Bez3GA8y.js → CEsBzi55.js} +1 -1
  6. package/element/{BPD6evHs.js → CwqB3rqe.js} +1 -1
  7. package/element/{CNGkJRCP.js → Cy3iV9XH.js} +1 -1
  8. package/element/{FXirOp_Y.js → D0tOl2TC.js} +1 -1
  9. package/element/{BHwNoqYe.js → DAitYRY4.js} +1 -1
  10. package/element/{BQBx6JI7.js → Dlyq91q9.js} +1 -1
  11. package/element/{Bu-H5iRE.js → DuIwDwan.js} +1 -1
  12. package/element/{19c52mJB.js → MZuQhFbV.js} +1 -1
  13. package/element/{BU70X6zI.js → VGPc4EeK.js} +1 -1
  14. package/element/{t1REK11Z.js → jL1IhEDX.js} +3 -3
  15. package/element/web.es.js +3 -3
  16. package/package.json +1 -1
  17. package/react/{DCz37sa7.js → B8OuOa1d.js} +1 -1
  18. package/react/{CDiSbuj_.js → BG6d9dt3.js} +1 -1
  19. package/react/{CcGfpCV3.js → BiTDkR5y.js} +1 -1
  20. package/react/{CHSr2RxR.js → BkeCKRKb.js} +1 -1
  21. package/react/{BMzYiAN3.js → BlGHB1od.js} +1 -1
  22. package/react/{Cgm2azyl.js → BltPktiy.js} +1 -1
  23. package/react/{DvzgEfqA.js → C77XJYNh.js} +1 -1
  24. package/react/{DqVfSNOG.js → CPM5coLp.js} +1 -1
  25. package/react/CSHWW4FM.js +1 -0
  26. package/react/{B5em30k0.js → CY68wh8z.js} +1 -1
  27. package/react/{BJvO-E_0.js → CYntO9YI.js} +1 -1
  28. package/react/{TRIgeGAL.js → CZ9RIEEO.js} +1 -1
  29. package/react/{B100IxcO.js → D1CJDHfi.js} +1 -1
  30. package/react/{B1c5Cjsd.js → D9p5klRz.js} +1 -1
  31. package/react/{BB-zGb6J.js → DCS0HdZa.js} +1 -1
  32. package/react/{CX_Vz15p.js → DF_cfEUO.js} +1 -1
  33. package/react/DQVgvgo2.js +6 -0
  34. package/react/{D_KoEU5i.js → DVJkpJ9-.js} +1 -1
  35. package/react/{BlSQ-ODL.js → DXEzKDRE.js} +1 -1
  36. package/react/{DQWXCdfm.js → DZhlx4rT.js} +1 -1
  37. package/react/{DPezSfU3.js → D_47D6ly.js} +1 -1
  38. package/react/{eCa9bk8E.js → O7eIZSmq.js} +1 -1
  39. package/react/{BmbdEikc.js → P53QlFG0.js} +1 -1
  40. package/react/index.cjs +1 -1
  41. package/react/index.mjs +3 -3
  42. package/react/{EJU6024p.js → k7mNnMH1.js} +1 -1
  43. package/react/{CojsvC2N.js → vcPA0j_c.js} +3 -3
  44. package/react/{CB5M-zWX.js → yWdl62rI.js} +1 -1
  45. package/umd/web.umd.js +1 -1
  46. package/react/BsUU5VBO.js +0 -6
  47. package/react/JLXrD6OW.js +0 -1
package/react/BsUU5VBO.js DELETED
@@ -1,6 +0,0 @@
1
- import*as e from"react";var t,n,r,o,a,l,i,s,u,c,d,p,f,m,h,_={},g=[],b=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,v=Array.isArray;function y(e,t){for(var n in t)e[n]=t[n];return e}function w(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function x(e,n,r){var o,a,l,i={};for(l in n)"key"==l?o=n[l]:"ref"==l?a=n[l]:i[l]=n[l];if(arguments.length>2&&(i.children=arguments.length>3?t.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===i[l]&&(i[l]=e.defaultProps[l]);return k(e,i,o,a,null)}function k(e,t,o,a,l){var i={type:e,props:t,key:o,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==l?++r:l,__i:-1,__u:0};return null==l&&null!=n.vnode&&n.vnode(i),i}function C(e){return e.children}function E(e,t){this.props=e,this.context=t}function R(e,t){if(null==t)return e.__?R(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?R(e):null}function S(e){if(e.__P&&e.__d){var t=e.__v,r=t.__e,o=[],a=[],l=y({},t);l.__v=t.__v+1,n.vnode&&n.vnode(l),A(e.__P,l,t,e.__n,e.__P.namespaceURI,32&t.__u?[r]:null,o,null==r?R(t):r,!!(32&t.__u),a),l.__v=t.__v,l.__.__k[l.__i]=l,j(o,l,a),t.__e=t.__=null,l.__e!=r&&$(l)}}function $(e){if(null!=(e=e.__)&&null!=e.__c)return e.__e=e.__c.base=null,e.__k.some(function(t){if(null!=t&&null!=t.__e)return e.__e=e.__c.base=t.__e}),$(e)}function P(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!T.__r++||a!=n.debounceRendering)&&((a=n.debounceRendering)||l)(T)}function T(){try{for(var e,t=1;o.length;)o.length>t&&o.sort(i),e=o.shift(),t=o.length,S(e)}finally{o.length=T.__r=0}}function L(e,t,n,r,o,a,l,i,s,u,c){var d,p,f,m,h,b,y,w=r&&r.__k||g,x=t.length;for(s=function(e,t,n,r,o){var a,l,i,s,u,c=n.length,d=c,p=0;for(e.__k=new Array(o),a=0;a<o;a++)null!=(l=t[a])&&"boolean"!=typeof l&&"function"!=typeof l?("string"==typeof l||"number"==typeof l||"bigint"==typeof l||l.constructor==String?l=e.__k[a]=k(null,l,null,null,null):v(l)?l=e.__k[a]=k(C,{children:l},null,null,null):void 0===l.constructor&&l.__b>0?l=e.__k[a]=k(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):e.__k[a]=l,s=a+p,l.__=e,l.__b=e.__b+1,i=null,-1!=(u=l.__i=F(l,n,s,d))&&(d--,(i=n[u])&&(i.__u|=2)),null==i||null==i.__v?(-1==u&&(o>c?p--:o<c&&p++),"function"!=typeof l.type&&(l.__u|=4)):u!=s&&(u==s-1?p--:u==s+1?p++:(u>s?p--:p++,l.__u|=4))):e.__k[a]=null;if(d)for(a=0;a<c;a++)null!=(i=n[a])&&!(2&i.__u)&&(i.__e==r&&(r=R(i)),B(i,i));return r}(n,t,w,s,x),d=0;d<x;d++)null!=(f=n.__k[d])&&(p=-1!=f.__i&&w[f.__i]||_,f.__i=d,b=A(e,f,p,o,a,l,i,s,u,c),m=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&I(p.ref,null,f),c.push(f.ref,f.__c||m,f)),null==h&&null!=m&&(h=m),(y=!!(4&f.__u))||p.__k===f.__k?(s=N(f,s,e,y),y&&p.__e&&(p.__e=null)):"function"==typeof f.type&&void 0!==b?s=b:m&&(s=m.nextSibling),f.__u&=-7);return n.__e=h,s}function N(e,t,n,r){var o,a;if("function"==typeof e.type){for(o=e.__k,a=0;o&&a<o.length;a++)o[a]&&(o[a].__=e,t=N(o[a],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=R(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function z(e,t){return t=t||[],null==e||"boolean"==typeof e||(v(e)?e.some(function(e){z(e,t)}):t.push(e)),t}function F(e,t,n,r){var o,a,l,i=e.key,s=e.type,u=t[n],c=null!=u&&!(2&u.__u);if(null===u&&null==i||c&&i==u.key&&s==u.type)return n;if(r>(c?1:0))for(o=n-1,a=n+1;o>=0||a<t.length;)if(null!=(u=t[l=o>=0?o--:a++])&&!(2&u.__u)&&i==u.key&&s==u.type)return l;return-1}function M(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||b.test(t)?n:n+"px"}function D(e,t,n,r,o){var a,l;e:if("style"==t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||M(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||M(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])a=t!=(t=t.replace(d,"$1")),l=t.toLowerCase(),t=l in e||"onFocusOut"==t||"onFocusIn"==t?l.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?r?n[c]=r[c]:(n[c]=p,e.addEventListener(t,a?m:f,a)):e.removeEventListener(t,a?m:f,a);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function O(e){return function(t){if(this.l){var r=this.l[t.type+e];if(null==t[u])t[u]=p++;else if(t[u]<r[c])return;return r(n.event?n.event(t):t)}}}function A(e,t,r,o,a,l,i,s,u,c){var d,p,f,m,h,_,b,x,k,R,S,$,P,T,N,z=t.type;if(void 0!==t.constructor)return null;128&r.__u&&(u=!!(32&r.__u),l=[s=t.__e=r.__e]),(d=n.__b)&&d(t);e:if("function"==typeof z)try{if(x=t.props,k=z.prototype&&z.prototype.render,R=(d=z.contextType)&&o[d.__c],S=d?R?R.props.value:d.__:o,r.__c?b=(p=t.__c=r.__c).__=p.__E:(k?t.__c=p=new z(x,S):(t.__c=p=new E(x,S),p.constructor=z,p.render=G),R&&R.sub(p),p.state||(p.state={}),p.__n=o,f=p.__d=!0,p.__h=[],p._sb=[]),k&&null==p.__s&&(p.__s=p.state),k&&null!=z.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=y({},p.__s)),y(p.__s,z.getDerivedStateFromProps(x,p.__s))),m=p.props,h=p.state,p.__v=t,f)k&&null==z.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),k&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(k&&null==z.getDerivedStateFromProps&&x!==m&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(x,S),t.__v==r.__v||!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(x,p.__s,S)){t.__v!=r.__v&&(p.props=x,p.state=p.__s,p.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(e){e&&(e.__=t)}),g.push.apply(p.__h,p._sb),p._sb=[],p.__h.length&&i.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(x,p.__s,S),k&&null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(m,h,_)})}if(p.context=S,p.props=x,p.__P=e,p.__e=!1,$=n.__r,P=0,k)p.state=p.__s,p.__d=!1,$&&$(t),d=p.render(p.props,p.state,p.context),g.push.apply(p.__h,p._sb),p._sb=[];else do{p.__d=!1,$&&$(t),d=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++P<25);p.state=p.__s,null!=p.getChildContext&&(o=y(y({},o),p.getChildContext())),k&&!f&&null!=p.getSnapshotBeforeUpdate&&(_=p.getSnapshotBeforeUpdate(m,h)),T=null!=d&&d.type===C&&null==d.key?W(d.props.children):d,s=L(e,v(T)?T:[T],t,r,o,a,l,i,s,u,c),p.base=t.__e,t.__u&=-161,p.__h.length&&i.push(p),b&&(p.__E=p.__=null)}catch(e){if(t.__v=null,u||null!=l)if(e.then){for(t.__u|=u?160:128;s&&8==s.nodeType&&s.nextSibling;)s=s.nextSibling;l[l.indexOf(s)]=null,t.__e=s}else{for(N=l.length;N--;)w(l[N]);U(t)}else t.__e=r.__e,t.__k=r.__k,e.then||U(t);n.__e(e,t,r)}else null==l&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):s=t.__e=H(r.__e,t,r,o,a,l,i,u,c);return(d=n.diffed)&&d(t),128&t.__u?void 0:s}function U(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(U))}function j(e,t,r){for(var o=0;o<r.length;o++)I(r[o],r[++o],r[++o]);n.__c&&n.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){n.__e(e,t.__v)}})}function W(e){return"object"!=typeof e||null==e||e.__b>0?e:v(e)?e.map(W):y({},e)}function H(e,r,o,a,l,i,s,u,c){var d,p,f,m,h,g,b,y=o.props||_,x=r.props,k=r.type;if("svg"==k?l="http://www.w3.org/2000/svg":"math"==k?l="http://www.w3.org/1998/Math/MathML":l||(l="http://www.w3.org/1999/xhtml"),null!=i)for(d=0;d<i.length;d++)if((h=i[d])&&"setAttribute"in h==!!k&&(k?h.localName==k:3==h.nodeType)){e=h,i[d]=null;break}if(null==e){if(null==k)return document.createTextNode(x);e=document.createElementNS(l,k,x.is&&x),u&&(n.__m&&n.__m(r,i),u=!1),i=null}if(null==k)y===x||u&&e.data==x||(e.data=x);else{if(i=i&&t.call(e.childNodes),!u&&null!=i)for(y={},d=0;d<e.attributes.length;d++)y[(h=e.attributes[d]).name]=h.value;for(d in y)h=y[d],"dangerouslySetInnerHTML"==d?f=h:"children"==d||d in x||"value"==d&&"defaultValue"in x||"checked"==d&&"defaultChecked"in x||D(e,d,null,h,l);for(d in x)h=x[d],"children"==d?m=h:"dangerouslySetInnerHTML"==d?p=h:"value"==d?g=h:"checked"==d?b=h:u&&"function"!=typeof h||y[d]===h||D(e,d,h,y[d],l);if(p)u||f&&(p.__html==f.__html||p.__html==e.innerHTML)||(e.innerHTML=p.__html),r.__k=[];else if(f&&(e.innerHTML=""),L("template"==r.type?e.content:e,v(m)?m:[m],r,o,a,"foreignObject"==k?"http://www.w3.org/1999/xhtml":l,i,s,i?i[0]:o.__k&&R(o,0),u,c),null!=i)for(d=i.length;d--;)w(i[d]);u||(d="value","progress"==k&&null==g?e.removeAttribute("value"):null!=g&&(g!==e[d]||"progress"==k&&!g||"option"==k&&g!=y[d])&&D(e,d,g,y[d],l),d="checked",null!=b&&b!=e[d]&&D(e,d,b,y[d],l))}return e}function I(e,t,r){try{if("function"==typeof e){var o="function"==typeof e.__u;o&&e.__u(),o&&null==t||(e.__u=e(t))}else e.current=t}catch(e){n.__e(e,r)}}function B(e,t,r){var o,a;if(n.unmount&&n.unmount(e),(o=e.ref)&&(o.current&&o.current!=e.__e||I(o,null,t)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){n.__e(e,t)}o.base=o.__P=null}if(o=e.__k)for(a=0;a<o.length;a++)o[a]&&B(o[a],t,r||"function"!=typeof e.type);r||w(e.__e),e.__c=e.__=e.__e=void 0}function G(e,t,n){return this.constructor(e,n)}function q(e,r,o){var a,l,i,s;r==document&&(r=document.documentElement),n.__&&n.__(e,r),l=(a="function"==typeof o)?null:o&&o.__k||r.__k,i=[],s=[],A(r,e=(!a&&o||r).__k=x(C,null,[e]),l||_,_,r.namespaceURI,!a&&o?[o]:l?null:r.firstChild?t.call(r.childNodes):null,i,!a&&o?o:l?l.__e:r.firstChild,a,s),j(i,e,s)}function J(e,n,r){var o,a,l,i,s=y({},e.props);for(l in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),n)"key"==l?o=n[l]:"ref"==l?a=n[l]:s[l]=void 0===n[l]&&null!=i?i[l]:n[l];return arguments.length>2&&(s.children=arguments.length>3?t.call(arguments,2):r),k(e.type,s,o||e.key,a||e.ref,null)}function V(e){function t(e){var n,r;return this.getChildContext||(n=/* @__PURE__ */new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__e=!0,P(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+h++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}t=g.slice,n={__e:function(e,t,n,r){for(var o,a,l;t=t.__;)if((o=t.__c)&&!o.__)try{if((a=o.constructor)&&null!=a.getDerivedStateFromError&&(o.setState(a.getDerivedStateFromError(e)),l=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),l=o.__d),l)return o.__E=o}catch(t){e=t}throw e}},r=0,E.prototype.setState=function(e,t){var n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=y({},this.state);"function"==typeof e&&(e=e(y({},n),this.props)),e&&y(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),P(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),P(this))},E.prototype.render=C,o=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,i=function(e,t){return e.__v.__b-t.__v.__b},T.__r=0,s=Math.random().toString(8),u="__d"+s,c="__a"+s,d=/(PointerCapture)$|Capture$/i,p=0,f=O(!1),m=O(!0),h=0;var Y,K,Q,X,Z=0,ee=[],te=n,ne=te.__b,re=te.__r,oe=te.diffed,ae=te.__c,le=te.unmount,ie=te.__;function se(e,t){te.__h&&te.__h(K,e,Z||t),Z=0;var n=K.__H||(K.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ue(e){return Z=1,function(e,t){var n=se(Y++,2);if(n.t=e,!n.__c&&(n.__=[ke(void 0,t),function(e){var t=n.__N?n.__N[0]:n.__[0],r=n.t(t,e);t!==r&&(n.__N=[r,n.__[1]],n.__c.setState({}))}],n.__c=K,!K.__f)){var r=function(e,t,r){if(!n.__c.__H)return!0;var a=n.__c.__H.__.filter(function(e){return e.__c});if(a.every(function(e){return!e.__N}))return!o||o.call(this,e,t,r);var l=n.__c.props!==e;return a.some(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(l=!0)}}),o&&o.call(this,e,t,r)||l};K.__f=!0;var o=K.shouldComponentUpdate,a=K.componentWillUpdate;K.componentWillUpdate=function(e,t,n){if(this.__e){var l=o;o=void 0,r(e,t,n),o=l}a&&a.call(this,e,t,n)},K.shouldComponentUpdate=r}return n.__N||n.__}(ke,e)}function ce(e,t){var n=se(Y++,3);!te.__s&&xe(n.__H,t)&&(n.__=e,n.u=t,K.__H.__h.push(n))}function de(e,t){var n=se(Y++,4);!te.__s&&xe(n.__H,t)&&(n.__=e,n.u=t,K.__h.push(n))}function pe(e){return Z=5,fe(function(){return{current:e}},[])}function fe(e,t){var n=se(Y++,7);return xe(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function me(e,t){return Z=8,fe(function(){return e},t)}function he(e){var t=K.context[e.__c],n=se(Y++,9);return n.c=e,t?(n.__??(n.__=!0,t.sub(K)),t.props.value):e.__}function _e(){var e=se(Y++,11);if(!e.__){for(var t=K.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function ge(){for(var e;e=ee.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(ye),t.__h.some(we),t.__h=[]}catch(ze){t.__h=[],te.__e(ze,e.__v)}}}te.__b=function(e){K=null,ne&&ne(e)},te.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ie&&ie(e,t)},te.__r=function(e){re&&re(e),Y=0;var t=(K=e.__c).__H;t&&(Q===K?(t.__h=[],K.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(ye),t.__h.some(we),t.__h=[],Y=0)),Q=K},te.diffed=function(e){oe&&oe(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==ee.push(t)&&X===te.requestAnimationFrame||((X=te.requestAnimationFrame)||ve)(ge)),t.__H.__.some(function(e){e.u&&(e.__H=e.u),e.u=void 0})),Q=K=null},te.__c=function(e,t){t.some(function(e){try{e.__h.some(ye),e.__h=e.__h.filter(function(e){return!e.__||we(e)})}catch(ze){t.some(function(e){e.__h&&(e.__h=[])}),t=[],te.__e(ze,e.__v)}}),ae&&ae(e,t)},te.unmount=function(e){le&&le(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(e){try{ye(e)}catch(e){t=e}}),n.__H=void 0,t&&te.__e(t,n.__v))};var be="function"==typeof requestAnimationFrame;function ve(e){var t,n=function(){clearTimeout(r),be&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);be&&(t=requestAnimationFrame(n))}function ye(e){var t=K,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),K=t}function we(e){var t=K;e.__c=e.__(),K=t}function xe(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function ke(e,t){return"function"==typeof t?t(e):t}var Ce=0;function Ee(e,t,r,o,a,l){t||(t={});var i,s,u=t;if("ref"in u)for(s in u={},t)"ref"==s?i=t[s]:u[s]=t[s];var c={type:e,props:u,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Ce,__i:-1,__u:0,__source:a,__self:l};if("function"==typeof e&&(i=e.defaultProps))for(s in i)void 0===u[s]&&(u[s]=i[s]);return n.vnode&&n.vnode(c),c}Array.isArray;var Re='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',Se=e=>e.trim().replace(/\s+/g," "),$e=e=>e?.replace(/\/+$/,"")||"",Pe=(e,t)=>{const n=$e(e);return n&&t?`${n}/api/connect/organization/custom-font?organizationId=${encodeURIComponent(t)}`:null},Te=(e,t)=>{const n=$e(e),r=t?Se(t):"";return n&&r?`${n}/api/connect/organization/google-font?family=${encodeURIComponent(r)}`:null},Le=e=>{if(!e)return Re;const t=Se("string"==typeof e?e:e.fontFamily||""),n="string"==typeof e?void 0:e.customFontName;return t&&"system"!==t?"custom"===t?`"${n||"QratiCustomFont"}", ${Re}`:`"${t}", ${Re}`:Re},Ne=(e,t,n)=>{if(!e?.fontFamily||"system"===e.fontFamily)return"";const r=Se(e.fontFamily);if("custom"===r&&t){const n=e.customFontName||"QratiCustomFont",r=/\.woff2(\?|$)/i.test(t)?"woff2":/\.ttf(\?|$)/i.test(t)?"truetype":"woff";return`@font-face{font-family:"${o=n,o.replace(/"/g,'\\"')}";src:url("${t}") format("${r}");font-weight:400 700;font-style:normal;font-display:swap;}`}var o;const a=n||(e=>{if(!e)return null;const t=Se(e);return t&&"system"!==t.toLowerCase()&&"custom"!==t.toLowerCase()?`https://fonts.googleapis.com/css2?family=${t.replace(/\s+/g,"+")}:wght@400;500;600;700&display=swap`:null})(r);return a?`@import url("${a}");`:""};function ze(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=ze(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Fe(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=ze(e))&&(r&&(r+=" "),r+=t);return r}var Me=(e=/* @__PURE__ */new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),De="-",Oe=[],Ae=e=>{const t=We(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return je(e);const n=e.split(De);return Ue(n,""===n[0]&&n.length>1?1:0,t)},getConflictingClassGroupIds:(e,t)=>{if(t){const t=r[e],o=n[e];return t?o?((e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n})(o,t):t:o||Oe}return n[e]||Oe}}},Ue=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const r=e[t],o=n.nextPart.get(r);if(o){const n=Ue(e,t+1,o);if(n)return n}const a=n.validators;if(null===a)return;const l=0===t?e.join(De):e.slice(t).join(De),i=a.length;for(let s=0;s<i;s++){const e=a[s];if(e.validator(l))return e.classGroupId}},je=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?"arbitrary.."+r:void 0})(),We=e=>{const{theme:t,classGroups:n}=e;return He(n,t)},He=(e,t)=>{const n=Me();for(const r in e){const o=e[r];Ie(o,n,r,t)}return n},Ie=(e,t,n,r)=>{const o=e.length;for(let a=0;a<o;a++){const o=e[a];Be(o,t,n,r)}},Be=(e,t,n,r)=>{"string"!=typeof e?"function"!=typeof e?Je(e,t,n,r):qe(e,t,n,r):Ge(e,t,n)},Ge=(e,t,n)=>{(""===e?t:Ve(t,e)).classGroupId=n},qe=(e,t,n,r)=>{Ye(e)?Ie(e(r),t,n,r):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(n,e)))},Je=(e,t,n,r)=>{const o=Object.entries(e),a=o.length;for(let l=0;l<a;l++){const[e,a]=o[l];Ie(a,Ve(t,e),n,r)}},Ve=(e,t)=>{let n=e;const r=t.split(De),o=r.length;for(let a=0;a<o;a++){const e=r[a];let t=n.nextPart.get(e);t||(t=Me(),n.nextPart.set(e,t)),n=t}return n},Ye=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,Ke=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(o,a)=>{n[o]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(o(e,t),t):void 0},set(e,t){e in n?n[e]=t:o(e,t)}}},Qe=[],Xe=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),Ze=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,a=0;const l=e.length;for(let c=0;c<l;c++){const l=e[c];if(0===r&&0===o){if(":"===l){t.push(e.slice(a,c)),a=c+1;continue}if("/"===l){n=c;continue}}"["===l?r++:"]"===l?r--:"("===l?o++:")"===l&&o--}const i=0===t.length?e:e.slice(a);let s=i,u=!1;return i.endsWith("!")?(s=i.slice(0,-1),u=!0):i.startsWith("!")&&(s=i.slice(1),u=!0),Xe(t,u,s,n&&n>a?n-a:void 0)};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Xe(Qe,!1,t,void 0,!0)}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},et=e=>{const t=/* @__PURE__ */new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{const n=[];let r=[];for(let o=0;o<e.length;o++){const a=e[o],l="["===a[0],i=t.has(a);l||i?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},tt=/\s+/,nt=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=nt(e[r]))&&(n&&(n+=" "),n+=t);return n},rt=[],ot=e=>{const t=t=>t[e]||rt;return t.isThemeGetter=!0,t},at=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,lt=/^\((?:(\w[\w-]*):)?(.+)\)$/i,it=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,st=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ut=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ct=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,dt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,pt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ft=e=>it.test(e),mt=e=>!!e&&!Number.isNaN(Number(e)),ht=e=>!!e&&Number.isInteger(Number(e)),_t=e=>e.endsWith("%")&&mt(e.slice(0,-1)),gt=e=>st.test(e),bt=()=>!0,vt=e=>ut.test(e)&&!ct.test(e),yt=()=>!1,wt=e=>dt.test(e),xt=e=>pt.test(e),kt=e=>!Et(e)&&!zt(e),Ct=e=>Wt(e,Gt,yt),Et=e=>at.test(e),Rt=e=>Wt(e,qt,vt),St=e=>Wt(e,Jt,mt),$t=e=>Wt(e,Yt,bt),Pt=e=>Wt(e,Vt,yt),Tt=e=>Wt(e,It,yt),Lt=e=>Wt(e,Bt,xt),Nt=e=>Wt(e,Kt,wt),zt=e=>lt.test(e),Ft=e=>Ht(e,qt),Mt=e=>Ht(e,Vt),Dt=e=>Ht(e,It),Ot=e=>Ht(e,Gt),At=e=>Ht(e,Bt),Ut=e=>Ht(e,Kt,!0),jt=e=>Ht(e,Yt,!0),Wt=(e,t,n)=>{const r=at.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Ht=(e,t,n=!1)=>{const r=lt.exec(e);return!!r&&(r[1]?t(r[1]):n)},It=e=>"position"===e||"percentage"===e,Bt=e=>"image"===e||"url"===e,Gt=e=>"length"===e||"size"===e||"bg-size"===e,qt=e=>"length"===e,Jt=e=>"number"===e,Vt=e=>"family-name"===e,Yt=e=>"number"===e||"weight"===e,Kt=e=>"shadow"===e,Qt=/* @__PURE__ */((e,...t)=>{let n,r,o,a;const l=e=>{const t=r(e);if(t)return t;const a=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:a}=t,l=[],i=e.trim().split(tt);let s="";for(let u=i.length-1;u>=0;u-=1){const e=i[u],{isExternal:t,modifiers:c,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(e);if(t){s=e+(s.length>0?" "+s:s);continue}let m=!!f,h=r(m?p.substring(0,f):p);if(!h){if(!m){s=e+(s.length>0?" "+s:s);continue}if(h=r(p),!h){s=e+(s.length>0?" "+s:s);continue}m=!1}const _=0===c.length?"":1===c.length?c[0]:a(c).join(":"),g=d?_+"!":_,b=g+h;if(l.indexOf(b)>-1)continue;l.push(b);const v=o(h,m);for(let n=0;n<v.length;++n){const e=v[n];l.push(g+e)}s=e+(s.length>0?" "+s:s)}return s})(e,n);return o(e,a),a};return a=i=>{var s;return s=t.reduce((e,t)=>t(e),e()),n={cache:Ke(s.cacheSize),parseClassName:Ze(s),sortModifiers:et(s),...Ae(s)},r=n.cache.get,o=n.cache.set,a=l,l(i)},(...e)=>a(((...e)=>{let t,n,r=0,o="";for(;r<e.length;)(t=e[r++])&&(n=nt(t))&&(o&&(o+=" "),o+=n);return o})(...e))})(()=>{const e=ot("color"),t=ot("font"),n=ot("text"),r=ot("font-weight"),o=ot("tracking"),a=ot("leading"),l=ot("breakpoint"),i=ot("container"),s=ot("spacing"),u=ot("radius"),c=ot("shadow"),d=ot("inset-shadow"),p=ot("text-shadow"),f=ot("drop-shadow"),m=ot("blur"),h=ot("perspective"),_=ot("aspect"),g=ot("ease"),b=ot("animate"),v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",zt,Et],y=()=>[zt,Et,s],w=()=>[ft,"full","auto",...y()],x=()=>[ht,"none","subgrid",zt,Et],k=()=>["auto",{span:["full",ht,zt,Et]},ht,zt,Et],C=()=>[ht,"auto",zt,Et],E=()=>["auto","min","max","fr",zt,Et],R=()=>["auto",...y()],S=()=>[ft,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],$=()=>[ft,"screen","full","dvw","lvw","svw","min","max","fit",...y()],P=()=>[ft,"screen","full","lh","dvh","lvh","svh","min","max","fit",...y()],T=()=>[e,zt,Et],L=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Dt,Tt,{position:[zt,Et]}],N=()=>["auto","cover","contain",Ot,Ct,{size:[zt,Et]}],z=()=>[_t,Ft,Rt],F=()=>["","none","full",u,zt,Et],M=()=>["",mt,Ft,Rt],D=()=>[mt,_t,Dt,Tt],O=()=>["","none",m,zt,Et],A=()=>["none",mt,zt,Et],U=()=>["none",mt,zt,Et],j=()=>[mt,zt,Et],W=()=>[ft,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[gt],breakpoint:[gt],color:[bt],container:[gt],"drop-shadow":[gt],ease:["in","out","in-out"],font:[kt],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[gt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[gt],shadow:[gt],spacing:["px",mt],text:[gt],"text-shadow":[gt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ft,Et,zt,_]}],container:["container"],columns:[{columns:[mt,Et,zt,i]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:v()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{"inset-s":w(),start:w()}],end:[{"inset-e":w(),end:w()}],"inset-bs":[{"inset-bs":w()}],"inset-be":[{"inset-be":w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[ht,"auto",zt,Et]}],basis:[{basis:[ft,"full","auto",i,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[mt,ft,"auto","initial","none",Et]}],grow:[{grow:["",mt,zt,Et]}],shrink:[{shrink:["",mt,zt,Et]}],order:[{order:[ht,"first","last","none",zt,Et]}],"grid-cols":[{"grid-cols":x()}],"col-start-end":[{col:k()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":x()}],"row-start-end":[{row:k()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":E()}],"auto-rows":[{"auto-rows":E()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pbs:[{pbs:y()}],pbe:[{pbe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:R()}],mx:[{mx:R()}],my:[{my:R()}],ms:[{ms:R()}],me:[{me:R()}],mbs:[{mbs:R()}],mbe:[{mbe:R()}],mt:[{mt:R()}],mr:[{mr:R()}],mb:[{mb:R()}],ml:[{ml:R()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:S()}],"inline-size":[{inline:["auto",...$()]}],"min-inline-size":[{"min-inline":["auto",...$()]}],"max-inline-size":[{"max-inline":["none",...$()]}],"block-size":[{block:["auto",...P()]}],"min-block-size":[{"min-block":["auto",...P()]}],"max-block-size":[{"max-block":["none",...P()]}],w:[{w:[i,"screen",...S()]}],"min-w":[{"min-w":[i,"screen","none",...S()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[l]},...S()]}],h:[{h:["screen","lh",...S()]}],"min-h":[{"min-h":["screen","lh","none",...S()]}],"max-h":[{"max-h":["screen","lh",...S()]}],"font-size":[{text:["base",n,Ft,Rt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,jt,$t]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",_t,Et]}],"font-family":[{font:[Mt,Pt,t]}],"font-features":[{"font-features":[Et]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,zt,Et]}],"line-clamp":[{"line-clamp":[mt,"none",zt,St]}],leading:[{leading:[a,...y()]}],"list-image":[{"list-image":["none",zt,Et]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",zt,Et]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[mt,"from-font","auto",zt,Rt]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[mt,"auto",zt,Et]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",zt,Et]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",zt,Et]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:L()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:N()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ht,zt,Et],radial:["",zt,Et],conic:[ht,zt,Et]},At,Lt]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:z()}],"gradient-via-pos":[{via:z()}],"gradient-to-pos":[{to:z()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:F()}],"rounded-s":[{"rounded-s":F()}],"rounded-e":[{"rounded-e":F()}],"rounded-t":[{"rounded-t":F()}],"rounded-r":[{"rounded-r":F()}],"rounded-b":[{"rounded-b":F()}],"rounded-l":[{"rounded-l":F()}],"rounded-ss":[{"rounded-ss":F()}],"rounded-se":[{"rounded-se":F()}],"rounded-ee":[{"rounded-ee":F()}],"rounded-es":[{"rounded-es":F()}],"rounded-tl":[{"rounded-tl":F()}],"rounded-tr":[{"rounded-tr":F()}],"rounded-br":[{"rounded-br":F()}],"rounded-bl":[{"rounded-bl":F()}],"border-w":[{border:M()}],"border-w-x":[{"border-x":M()}],"border-w-y":[{"border-y":M()}],"border-w-s":[{"border-s":M()}],"border-w-e":[{"border-e":M()}],"border-w-bs":[{"border-bs":M()}],"border-w-be":[{"border-be":M()}],"border-w-t":[{"border-t":M()}],"border-w-r":[{"border-r":M()}],"border-w-b":[{"border-b":M()}],"border-w-l":[{"border-l":M()}],"divide-x":[{"divide-x":M()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":M()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-bs":[{"border-bs":T()}],"border-color-be":[{"border-be":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[mt,zt,Et]}],"outline-w":[{outline:["",mt,Ft,Rt]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",c,Ut,Nt]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,Ut,Nt]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[mt,Rt]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":M()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",p,Ut,Nt]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[mt,zt,Et]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[mt]}],"mask-image-linear-from-pos":[{"mask-linear-from":D()}],"mask-image-linear-to-pos":[{"mask-linear-to":D()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":D()}],"mask-image-t-to-pos":[{"mask-t-to":D()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":D()}],"mask-image-r-to-pos":[{"mask-r-to":D()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":D()}],"mask-image-b-to-pos":[{"mask-b-to":D()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":D()}],"mask-image-l-to-pos":[{"mask-l-to":D()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":D()}],"mask-image-x-to-pos":[{"mask-x-to":D()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":D()}],"mask-image-y-to-pos":[{"mask-y-to":D()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[zt,Et]}],"mask-image-radial-from-pos":[{"mask-radial-from":D()}],"mask-image-radial-to-pos":[{"mask-radial-to":D()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[mt]}],"mask-image-conic-from-pos":[{"mask-conic-from":D()}],"mask-image-conic-to-pos":[{"mask-conic-to":D()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:L()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:N()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",zt,Et]}],filter:[{filter:["","none",zt,Et]}],blur:[{blur:O()}],brightness:[{brightness:[mt,zt,Et]}],contrast:[{contrast:[mt,zt,Et]}],"drop-shadow":[{"drop-shadow":["","none",f,Ut,Nt]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",mt,zt,Et]}],"hue-rotate":[{"hue-rotate":[mt,zt,Et]}],invert:[{invert:["",mt,zt,Et]}],saturate:[{saturate:[mt,zt,Et]}],sepia:[{sepia:["",mt,zt,Et]}],"backdrop-filter":[{"backdrop-filter":["","none",zt,Et]}],"backdrop-blur":[{"backdrop-blur":O()}],"backdrop-brightness":[{"backdrop-brightness":[mt,zt,Et]}],"backdrop-contrast":[{"backdrop-contrast":[mt,zt,Et]}],"backdrop-grayscale":[{"backdrop-grayscale":["",mt,zt,Et]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[mt,zt,Et]}],"backdrop-invert":[{"backdrop-invert":["",mt,zt,Et]}],"backdrop-opacity":[{"backdrop-opacity":[mt,zt,Et]}],"backdrop-saturate":[{"backdrop-saturate":[mt,zt,Et]}],"backdrop-sepia":[{"backdrop-sepia":["",mt,zt,Et]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",zt,Et]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[mt,"initial",zt,Et]}],ease:[{ease:["linear","initial",g,zt,Et]}],delay:[{delay:[mt,zt,Et]}],animate:[{animate:["none",b,zt,Et]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,zt,Et]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:A()}],"rotate-x":[{"rotate-x":A()}],"rotate-y":[{"rotate-y":A()}],"rotate-z":[{"rotate-z":A()}],scale:[{scale:U()}],"scale-x":[{"scale-x":U()}],"scale-y":[{"scale-y":U()}],"scale-z":[{"scale-z":U()}],"scale-3d":["scale-3d"],skew:[{skew:j()}],"skew-x":[{"skew-x":j()}],"skew-y":[{"skew-y":j()}],transform:[{transform:[zt,Et,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:W()}],"translate-x":[{"translate-x":W()}],"translate-y":[{"translate-y":W()}],"translate-z":[{"translate-z":W()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",zt,Et]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mbs":[{"scroll-mbs":y()}],"scroll-mbe":[{"scroll-mbe":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pbs":[{"scroll-pbs":y()}],"scroll-pbe":[{"scroll-pbe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",zt,Et]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[mt,Ft,Rt,St]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}),Xt=(...e)=>Fe(Qt(...e.filter(Boolean))),Zt=e=>{const t=e.replace(/#/g,"");return(299*parseInt(t.slice(0,2),16)+587*parseInt(t.slice(2,4),16)+114*parseInt(t.slice(4,6),16))/1e3>=128?"#000000":"#FFFFFF"},en="px",tn=(e,t="light")=>{const n=e?.themeSettings?.colors??{},r=e?.themeSettings?.border,o=e?.themeSettings?.shadow,a=e?.integrationSettings,l="dark"===t,i=(e,t,r,o)=>{const a=l?o:r;return n[l?t:e]||a},s=i("primaryLight","primaryDark","#ff4800","#ff4800");return{"--background":i("backgroundLight","backgroundDark","#fafafa","#0a0a0a"),"--foreground":i("foregroundLight","foregroundDark","#252629","#f5f5f5"),"--muted":i("mutedLight","mutedDark","#e5e5e5","#171717"),"--muted-foreground":i("mutedForegroundLight","mutedForegroundDark","#484848","#b5b8bb"),"--border":i("borderLight","borderDark","#dddddd","#353538"),"--input":i("inputLight","inputDark","#f5f5f5","#171717"),"--primary":s,"--primary-foreground":Zt(s),"--popover":i("popoverLight","popoverDark","#f5f5f5","#171717"),"--popover-foreground":i("popoverForegroundLight","popoverForegroundDark","#252629","#fafafa"),"--info":i("infoLight","infoDark","#2563eb","#5b8def"),"--warning":i("warningLight","warningDark","#f59e0b","#fbbf24"),"--success":i("successLight","successDark","#10b981","#34d399"),"--destructive":i("destructiveLight","destructiveDark","#ef4444","#f87171"),"--border-width":`${r?.width||"1"}${r?.unit||"px"}`,"--radius":`${r?.radius||"10"}${r?.unit||"px"}`,"--shadow-outer-horizontal-offset":`${o?.outerHorizontalOffset||"0"}${o?.unit||en}`,"--shadow-outer-vertical-offset":`${o?.outerVerticalOffset||"0"}${o?.unit||en}`,"--shadow-outer-blur":`${o?.outerBlur||"0"}${o?.unit||en}`,"--shadow-outer-spread":`${o?.outerSpread||"0"}${o?.unit||en}`,"--font-family":Le(a)}},nn="popstate";function rn(e){return"object"==typeof e&&null!=e&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function on(e,t){if(!1===e||null==e)throw new Error(t)}function an(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(ne){}}}function ln(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function sn(e,t,n=null,r,o){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?cn(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10),unstable_mask:o}}function un({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function cn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function dn(e,t,n="/"){return function(e,t,n){let r=En(("string"==typeof t?cn(t):t).pathname||"/",n);if(null==r)return null;let o=pn(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(o);let a=null;for(let l=0;null==a&&l<o.length;++l){let e=Cn(r);a=xn(o[l],e,false)}return a}(e,t,n)}function pn(e,t=[],n=[],r="",o=!1){let a=(e,a,l=o,i)=>{let s={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};if(s.relativePath.startsWith("/")){if(!s.relativePath.startsWith(r)&&l)return;on(s.relativePath.startsWith(r),`Absolute route path "${s.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),s.relativePath=s.relativePath.slice(r.length)}let u=Nn([r,s.relativePath]),c=n.concat(s);e.children&&e.children.length>0&&(on(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),pn(e.children,t,c,u,l)),(null!=e.path||e.index)&&t.push({path:u,score:wn(u,e.index),routesMeta:c})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of fn(e.path))a(e,t,!0,n);else a(e,t)}),t}function fn(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(0===r.length)return o?[a,""]:[a];let l=fn(r.join("/")),i=[];return i.push(...l.map(e=>""===e?a:[a,e].join("/"))),o&&i.push(...l),i.map(t=>e.startsWith("/")&&""===t?"/":t)}var mn=/^:[\w-]+$/,hn=3,_n=2,gn=1,bn=10,vn=-2,yn=e=>"*"===e;function wn(e,t){let n=e.split("/"),r=n.length;return n.some(yn)&&(r+=vn),t&&(r+=_n),n.filter(e=>!yn(e)).reduce((e,t)=>e+(mn.test(t)?hn:""===t?gn:bn),r)}function xn(e,t,n=!1){let{routesMeta:r}=e,o={},a="/",l=[];for(let i=0;i<r.length;++i){let e=r[i],s=i===r.length-1,u="/"===a?t:t.slice(a.length)||"/",c=kn({path:e.relativePath,caseSensitive:e.caseSensitive,end:s},u),d=e.route;if(!c&&s&&n&&!r[r.length-1].route.index&&(c=kn({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},u)),!c)return null;Object.assign(o,c.params),l.push({params:o,pathname:Nn([a,c.pathname]),pathnameBase:Fn(Nn([a,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(a=Nn([a,c.pathnameBase]))}return l}function kn(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t=!1,n=!0){an("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n,o,a)=>{if(r.push({paramName:t,isOptional:null!=n}),n){let t=a.charAt(o+e.length);return t&&"/"!==t?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let a=o[0],l=a.replace(/(.)\/+$/,"$1"),i=o.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=i[r]||"";l=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const o=i[r];return e[t]=n&&!o?void 0:(o||"").replace(/%2F/g,"/"),e},{}),pathname:a,pathnameBase:l,pattern:e}}function Cn(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return an(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function En(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}var Rn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Sn(e,t){let n=zn(t).split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}function $n(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Pn(e){let t=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function Tn(e,t,n,r=!1){let o;"string"==typeof e?o=cn(e):(o={...e},on(!o.pathname||!o.pathname.includes("?"),$n("?","pathname","search",o)),on(!o.pathname||!o.pathname.includes("#"),$n("#","pathname","hash",o)),on(!o.search||!o.search.includes("#"),$n("#","search","hash",o)));let a,l=""===e||""===o.pathname,i=l?"/":o.pathname;if(null==i)a=n;else{let e=t.length-1;if(!r&&i.startsWith("..")){let t=i.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let s=function(e,t="/"){let n,{pathname:r,search:o="",hash:a=""}="string"==typeof e?cn(e):e;return r?(r=Ln(r),n=r.startsWith("/")?Sn(r.substring(1),"/"):Sn(r,t)):n=t,{pathname:n,search:Mn(o),hash:Dn(a)}}(o,a),u=i&&"/"!==i&&i.endsWith("/"),c=(l||"."===i)&&n.endsWith("/");return s.pathname.endsWith("/")||!u&&!c||(s.pathname+="/"),s}var Ln=e=>e.replace(/\/\/+/g,"/"),Nn=e=>Ln(e.join("/")),zn=e=>e.replace(/\/+$/,""),Fn=e=>zn(e).replace(/^\/*/,"/"),Mn=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Dn=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",On=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function An(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}function Un(e){return Nn(e.map(e=>e.route.path).filter(Boolean))||"/"}var jn="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function Wn(e,t){let n=e;if("string"!=typeof n||!Rn.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,o=!1;if(jn)try{let e=new URL(window.location.href),r=n.startsWith("//")?new URL(e.protocol+n):new URL(n),a=En(r.pathname,t);r.origin===e.origin&&null!=a?n=a+r.search+r.hash:o=!0}catch(ne){an(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:o,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Hn=["POST","PUT","PATCH","DELETE"],In=(new Set(Hn),["GET",...Hn]),Bn=(new Set(In),e.createContext(null));Bn.displayName="DataRouter";var Gn=e.createContext(null);Gn.displayName="DataRouterState";var qn=e.createContext(!1);function Jn(){return e.useContext(qn)}var Vn=e.createContext({isTransitioning:!1});Vn.displayName="ViewTransition",e.createContext(/* @__PURE__ */new Map).displayName="Fetchers",e.createContext(null).displayName="Await";var Yn=e.createContext(null);Yn.displayName="Navigation";var Kn=e.createContext(null);Kn.displayName="Location";var Qn=e.createContext({outlet:null,matches:[],isDataRoute:!1});Qn.displayName="Route";var Xn=e.createContext(null);Xn.displayName="RouteError";var Zn="REACT_ROUTER_ERROR";function er(){return null!=e.useContext(Kn)}function tr(){return on(er(),"useLocation() may be used only in the context of a <Router> component."),e.useContext(Kn).location}var nr="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function rr(t){e.useContext(Yn).static||e.useLayoutEffect(t)}function or(){let{isDataRoute:t}=e.useContext(Qn);return t?function(){let{router:t}=function(){let t=e.useContext(Bn);return on(t,hr("useNavigate")),t}(),n=_r("useNavigate"),r=e.useRef(!1);return rr(()=>{r.current=!0}),e.useCallback(async(e,o={})=>{an(r.current,nr),r.current&&("number"==typeof e?await t.navigate(e):await t.navigate(e,{fromRouteId:n,...o}))},[t,n])}():function(){on(er(),"useNavigate() may be used only in the context of a <Router> component.");let t=e.useContext(Bn),{basename:n,navigator:r}=e.useContext(Yn),{matches:o}=e.useContext(Qn),{pathname:a}=tr(),l=JSON.stringify(Pn(o)),i=e.useRef(!1);return rr(()=>{i.current=!0}),e.useCallback((e,o={})=>{if(an(i.current,nr),!i.current)return;if("number"==typeof e)return void r.go(e);let s=Tn(e,JSON.parse(l),a,"path"===o.relative);null==t&&"/"!==n&&(s.pathname="/"===s.pathname?n:Nn([n,s.pathname])),(o.replace?r.replace:r.push)(s,o.state,o)},[n,r,l,a,t])}()}var ar=e.createContext(null);function lr(){let{matches:t}=e.useContext(Qn),n=t[t.length-1];return n?n.params:{}}function ir(t,{relative:n}={}){let{matches:r}=e.useContext(Qn),{pathname:o}=tr(),a=JSON.stringify(Pn(r));return e.useMemo(()=>Tn(t,JSON.parse(a),o,"path"===n),[t,a,o,n])}function sr(t,n,r){on(er(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=e.useContext(Yn),{matches:a}=e.useContext(Qn),l=a[a.length-1],i=l?l.params:{},s=l?l.pathname:"/",u=l?l.pathnameBase:"/",c=l&&l.route;{let e=c&&c.path||"";br(s,!c||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let d,p=tr();if(n){let e="string"==typeof n?cn(n):n;on("/"===u||e.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=p;let f=d.pathname||"/",m=f;if("/"!==u){let e=u.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(e.length).join("/")}let h=dn(t,{pathname:m});an(c||null!=h,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),an(null==h||void 0!==h[h.length-1].route.element||void 0!==h[h.length-1].route.Component||void 0!==h[h.length-1].route.lazy,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let _=function(t,n=[],r){let o=r?.state;if(null==t){if(!o)return null;if(o.errors)t=o.matches;else{if(0!==n.length||o.initialized||!(o.matches.length>0))return null;t=o.matches}}let a=t,l=o?.errors;if(null!=l){let e=a.findIndex(e=>e.route.id&&void 0!==l?.[e.route.id]);on(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(l).join(",")}`),a=a.slice(0,Math.min(a.length,e+1))}let i=!1,s=-1;if(r&&o){i=o.renderFallback;for(let e=0;e<a.length;e++){let t=a[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:n}=o,l=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!n||void 0===n[t.route.id]);if(t.route.lazy||l){r.isStatic&&(i=!0),a=s>=0?a.slice(0,s+1):[a[0]];break}}}}let u=r?.onError,c=o&&u?(e,t)=>{u(e,{location:o.location,params:o.matches?.[0]?.params??{},unstable_pattern:Un(o.matches),errorInfo:t})}:void 0;return a.reduceRight((t,r,u)=>{let d,p=!1,f=null,m=null;o&&(d=l&&r.route.id?l[r.route.id]:void 0,f=r.route.errorElement||cr,i&&(s<0&&0===u?(br("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),p=!0,m=null):s===u&&(p=!0,m=r.route.hydrateFallbackElement||null)));let h=n.concat(a.slice(0,u+1)),_=()=>{let n;return n=d?f:p?m:r.route.Component?/* @__PURE__ */e.createElement(r.route.Component,null):r.route.element?r.route.element:t,/* @__PURE__ */e.createElement(mr,{match:r,routeContext:{outlet:t,matches:h,isDataRoute:null!=o},children:n})};return o&&(r.route.ErrorBoundary||r.route.errorElement||0===u)?/* @__PURE__ */e.createElement(dr,{location:o.location,revalidation:o.revalidation,component:f,error:d,children:_(),routeContext:{outlet:null,matches:h,isDataRoute:!0},onError:c}):_()},null)}(h&&h.map(e=>Object.assign({},e,{params:Object.assign({},i,e.params),pathname:Nn([u,o.encodeLocation?o.encodeLocation(e.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:Nn([u,o.encodeLocation?o.encodeLocation(e.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),a,r);return n&&_?/* @__PURE__ */e.createElement(Kn.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...d},navigationType:"POP"}},_):_}function ur(){let t=function(){let t=e.useContext(Xn),n=function(t){let n=e.useContext(Gn);return on(n,hr(t)),n}("useRouteError"),r=_r("useRouteError");return void 0!==t?t:n.errors?.[r]}(),n=An(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,o="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:o},l={padding:"2px 4px",backgroundColor:o},i=null;return console.error("Error handled by React Router default ErrorBoundary:",t),i=/* @__PURE__ */e.createElement(e.Fragment,null,/* @__PURE__ */e.createElement("p",null,"💿 Hey developer 👋"),/* @__PURE__ */e.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",/* @__PURE__ */e.createElement("code",{style:l},"ErrorBoundary")," or"," ",/* @__PURE__ */e.createElement("code",{style:l},"errorElement")," prop on your route.")),/* @__PURE__ */e.createElement(e.Fragment,null,/* @__PURE__ */e.createElement("h2",null,"Unexpected Application Error!"),/* @__PURE__ */e.createElement("h3",{style:{fontStyle:"italic"}},n),r?/* @__PURE__ */e.createElement("pre",{style:a},r):null,i)}var cr=/* @__PURE__ */e.createElement(ur,null),dr=class extends e.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let t=this.state.error;if(this.context&&"object"==typeof t&&t&&"digest"in t&&"string"==typeof t.digest){const e=function(e){if(e.startsWith(`${Zn}:ROUTE_ERROR_RESPONSE:{`))try{let t=JSON.parse(e.slice(40));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText)return new On(t.status,t.statusText,t.data)}catch{}}(t.digest);e&&(t=e)}let n=void 0!==t?/* @__PURE__ */e.createElement(Qn.Provider,{value:this.props.routeContext},/* @__PURE__ */e.createElement(Xn.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?/* @__PURE__ */e.createElement(fr,{error:t},n):n}};dr.contextType=qn;var pr=/* @__PURE__ */new WeakMap;function fr({children:t,error:n}){let{basename:r}=e.useContext(Yn);if("object"==typeof n&&n&&"digest"in n&&"string"==typeof n.digest){let t=function(e){if(e.startsWith(`${Zn}:REDIRECT:{`))try{let t=JSON.parse(e.slice(28));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"string"==typeof t.location&&"boolean"==typeof t.reloadDocument&&"boolean"==typeof t.replace)return t}catch{}}(n.digest);if(t){let o=pr.get(n);if(o)throw o;let a=Wn(t.location,r);if(jn&&!pr.get(n)){if(!a.isExternal&&!t.reloadDocument){const e=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:t.replace}));throw pr.set(n,e),e}window.location.href=a.absoluteURL||a.to}/* @__PURE__ */
2
- return e.createElement("meta",{httpEquiv:"refresh",content:`0;url=${a.absoluteURL||a.to}`})}}return t}function mr({routeContext:t,match:n,children:r}){let o=e.useContext(Bn);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),/* @__PURE__ */e.createElement(Qn.Provider,{value:t},r)}function hr(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function _r(t){let n=function(t){let n=e.useContext(Qn);return on(n,hr(t)),n}(t),r=n.matches[n.matches.length-1];return on(r.route.id,`${t} can only be used on routes that contain a unique "id"`),r.route.id}var gr={};function br(e,t,n){t||gr[e]||(gr[e]=!0,an(!1,n))}function vr({basename:t,children:n,initialEntries:r,initialIndex:o,unstable_useTransitions:a}){let l=e.useRef();null==l.current&&(l.current=function(e={}){let t,{initialEntries:n=["/"],initialIndex:r,v5Compat:o=!1}=e;t=n.map((e,t)=>c(e,"string"==typeof e?null:e.state,0===t?"default":void 0,"string"==typeof e?void 0:e.unstable_mask));let a=s(null==r?t.length-1:r),l="POP",i=null;function s(e){return Math.min(Math.max(e,0),t.length-1)}function u(){return t[a]}function c(e,n=null,r,o){let a=sn(t?u().pathname:"/",e,n,r,o);return an("/"===a.pathname.charAt(0),`relative pathnames are not supported in memory history: ${JSON.stringify(e)}`),a}function d(e){return"string"==typeof e?e:un(e)}return{get index(){return a},get action(){return l},get location(){return u()},createHref:d,createURL:e=>new URL(d(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?cn(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,n){l="PUSH";let r=rn(e)?e:c(e,n);a+=1,t.splice(a,t.length,r),o&&i&&i({action:l,location:r,delta:1})},replace(e,n){l="REPLACE";let r=rn(e)?e:c(e,n);t[a]=r,o&&i&&i({action:l,location:r,delta:0})},go(e){l="POP";let n=s(a+e),r=t[n];a=n,i&&i({action:l,location:r,delta:e})},listen:e=>(i=e,()=>{i=null})}}({initialEntries:r,initialIndex:o,v5Compat:!0}));let i=l.current,[s,u]=e.useState({action:i.action,location:i.location}),c=e.useCallback(t=>{!1===a?u(t):e.startTransition(()=>u(t))},[a]);return e.useLayoutEffect(()=>i.listen(c),[i,c]),/* @__PURE__ */e.createElement(kr,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i,unstable_useTransitions:a})}function yr({to:t,replace:n,state:r,relative:o}){on(er(),"<Navigate> may be used only in the context of a <Router> component.");let{static:a}=e.useContext(Yn);an(!a,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:l}=e.useContext(Qn),{pathname:i}=tr(),s=or(),u=Tn(t,Pn(l),i,"path"===o),c=JSON.stringify(u);return e.useEffect(()=>{s(JSON.parse(c),{replace:n,state:r,relative:o})},[s,c,o,n,r]),null}function wr(t){return function(t){let n=e.useContext(Qn).outlet;return e.useMemo(()=>n&&/* @__PURE__ */e.createElement(ar.Provider,{value:t},n),[n,t])}(t.context)}function xr(e){on(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function kr({basename:t="/",children:n=null,location:r,navigationType:o="POP",navigator:a,static:l=!1,unstable_useTransitions:i}){on(!er(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s=t.replace(/^\/*/,"/"),u=e.useMemo(()=>({basename:s,navigator:a,static:l,unstable_useTransitions:i,future:{}}),[s,a,l,i]);"string"==typeof r&&(r=cn(r));let{pathname:c="/",search:d="",hash:p="",state:f=null,key:m="default",unstable_mask:h}=r,_=e.useMemo(()=>{let e=En(c,s);return null==e?null:{location:{pathname:e,search:d,hash:p,state:f,key:m,unstable_mask:h},navigationType:o}},[s,c,d,p,f,m,o,h]);return an(null!=_,`<Router basename="${s}"> is not able to match the URL "${c}${d}${p}" because it does not start with the basename, so the <Router> won't render anything.`),null==_?null:/* @__PURE__ */e.createElement(Yn.Provider,{value:u},/* @__PURE__ */e.createElement(Kn.Provider,{children:n,value:_}))}function Cr({children:e,location:t}){return sr(Er(e),t)}function Er(t,n=[]){let r=[];return e.Children.forEach(t,(t,o)=>{if(!e.isValidElement(t))return;let a=[...n,o];if(t.type===e.Fragment)return void r.push.apply(r,Er(t.props.children,a));on(t.type===xr,`[${"string"==typeof t.type?t.type:t.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),on(!t.props.index||!t.props.children,"An index route cannot have child routes.");let l={id:t.props.id||a.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,middleware:t.props.middleware,loader:t.props.loader,action:t.props.action,hydrateFallbackElement:t.props.hydrateFallbackElement,HydrateFallback:t.props.HydrateFallback,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:!0===t.props.hasErrorBoundary||null!=t.props.ErrorBoundary||null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(l.children=Er(t.props.children,a)),r.push(l)}),r}e.memo(function({routes:e,future:t,state:n,isStatic:r,onError:o}){return sr(e,void 0,{state:n,isStatic:r,onError:o,future:t})}),e.Component;var Rr="get",Sr="application/x-www-form-urlencoded";function $r(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement}var Pr=null,Tr=/* @__PURE__ */new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Lr(e){return null==e||Tr.has(e)?e:(an(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Sr}"`),null)}function Nr(e,t){if(!1===e||null==e)throw new Error(t)}function zr(e,t,n,r){let o="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return n?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${r}`:o.pathname=`${o.pathname}.${r}`:"/"===o.pathname?o.pathname=`_root.${r}`:t&&"/"===En(o.pathname,t)?o.pathname=`${zn(t)}/_root.${r}`:o.pathname=`${zn(o.pathname)}.${r}`,o}function Fr(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function Mr(e,t,n,r,o,a){let l=(e,t)=>!n[t]||e.route.id!==n[t].route.id,i=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===a?t.filter((e,t)=>l(e,t)||i(e,t)):"data"===a?t.filter((t,a)=>{let s=r.routes[t.route.id];if(!s||!s.hasLoader)return!1;if(l(t,a)||i(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0}):[]}function Dr(e,t,{includeHydrateFallback:n}={}){return r=e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let o=[r.module];return r.clientActionModule&&(o=o.concat(r.clientActionModule)),r.clientLoaderModule&&(o=o.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(o=o.concat(r.hydrateFallbackModule)),r.imports&&(o=o.concat(r.imports)),o}).flat(1),[...new Set(r)];var r}function Or(){let t=e.useContext(Bn);return Nr(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function Ar(){let t=e.useContext(Gn);return Nr(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Ur=e.createContext(void 0);function jr(){let t=e.useContext(Ur);return Nr(t,"You must render this element inside a <HydratedRouter> element"),t}function Wr(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Hr({page:t,...n}){let r=Jn(),{router:o}=Or(),a=e.useMemo(()=>dn(o.routes,t,o.basename),[o.routes,t,o.basename]);return a?r?/* @__PURE__ */e.createElement(Ir,{page:t,matches:a,...n}):/* @__PURE__ */e.createElement(Br,{page:t,matches:a,...n}):null}function Ir({page:t,matches:n,...r}){let o=tr(),{future:a}=jr(),{basename:l}=Or(),i=e.useMemo(()=>{if(t===o.pathname+o.search+o.hash)return[];let e=zr(t,l,a.unstable_trailingSlashAwareDataRequests,"rsc"),r=!1,i=[];for(let t of n)"function"==typeof t.route.shouldRevalidate?r=!0:i.push(t.route.id);return r&&i.length>0&&e.searchParams.set("_routes",i.join(",")),[e.pathname+e.search]},[l,a.unstable_trailingSlashAwareDataRequests,t,o,n]);/* @__PURE__ */
3
- return e.createElement(e.Fragment,null,i.map(t=>/* @__PURE__ */e.createElement("link",{key:t,rel:"prefetch",as:"fetch",href:t,...r})))}function Br({page:t,matches:n,...r}){let o=tr(),{future:a,manifest:l,routeModules:i}=jr(),{basename:s}=Or(),{loaderData:u,matches:c}=Ar(),d=e.useMemo(()=>Mr(t,n,c,l,o,"data"),[t,n,c,l,o]),p=e.useMemo(()=>Mr(t,n,c,l,o,"assets"),[t,n,c,l,o]),f=e.useMemo(()=>{if(t===o.pathname+o.search+o.hash)return[];let e=/* @__PURE__ */new Set,r=!1;if(n.forEach(t=>{let n=l.routes[t.route.id];n&&n.hasLoader&&(!d.some(e=>e.route.id===t.route.id)&&t.route.id in u&&i[t.route.id]?.shouldRevalidate||n.hasClientLoader?r=!0:e.add(t.route.id))}),0===e.size)return[];let c=zr(t,s,a.unstable_trailingSlashAwareDataRequests,"data");return r&&e.size>0&&c.searchParams.set("_routes",n.filter(t=>e.has(t.route.id)).map(e=>e.route.id).join(",")),[c.pathname+c.search]},[s,a.unstable_trailingSlashAwareDataRequests,u,o,l,d,n,t,i]),m=e.useMemo(()=>Dr(p,l),[p,l]),h=function(t){let{manifest:n,routeModules:r}=jr(),[o,a]=e.useState([]);return e.useEffect(()=>{let e=!1;return async function(e,t,n){return function(e,t){let n=/* @__PURE__ */new Set;return new Set(t),e.reduce((e,t)=>{let r=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(t));return n.has(r)||(n.add(r),e.push({key:r,link:t})),e},[])}((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(Fr).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"}))}(t,n,r).then(t=>{e||a(t)}),()=>{e=!0}},[t,n,r]),o}(p);/* @__PURE__ */
4
- return e.createElement(e.Fragment,null,f.map(t=>/* @__PURE__ */e.createElement("link",{key:t,rel:"prefetch",as:"fetch",href:t,...r})),m.map(t=>/* @__PURE__ */e.createElement("link",{key:t,rel:"modulepreload",href:t,...r})),h.map(({key:t,link:n})=>/* @__PURE__ */e.createElement("link",{key:t,nonce:r.nonce,...n,crossOrigin:n.crossOrigin??r.crossOrigin})))}Ur.displayName="FrameworkContext";function Gr(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}e.Component;var qr="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{qr&&(window.__reactRouterVersion="7.14.1")}catch(ne){}function Jr({basename:t,children:n,unstable_useTransitions:r,window:o}){let a=e.useRef();null==a.current&&(a.current=function(e={}){return function(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:a=!1}=r,l=o.history,i="POP",s=null,u=c();function c(){return(l.state||{idx:null}).idx}function d(){i="POP";let e=c(),t=null==e?null:e-u;u=e,s&&s({action:i,location:f.location,delta:t})}function p(e){return function(e,t=!1){let n="http://localhost";"undefined"!=typeof window&&(n="null"!==window.location.origin?window.location.origin:window.location.href),on(n,"No window.location.(origin|href) available to create URL");let r="string"==typeof e?e:un(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}(e)}null==u&&(u=0,l.replaceState({...l.state,idx:u},""));let f={get action(){return i},get location(){return e(o,l)},listen(e){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(nn,d),s=e,()=>{o.removeEventListener(nn,d),s=null}},createHref:e=>t(o,e),createURL:p,encodeLocation(e){let t=p(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){i="PUSH";let r=rn(e)?e:sn(f.location,e,t);n&&n(r,e),u=c()+1;let d=ln(r,u),p=f.createHref(r.unstable_mask||r);try{l.pushState(d,"",p)}catch(m){if(m instanceof DOMException&&"DataCloneError"===m.name)throw m;o.location.assign(p)}a&&s&&s({action:i,location:f.location,delta:1})},replace:function(e,t){i="REPLACE";let r=rn(e)?e:sn(f.location,e,t);n&&n(r,e),u=c();let o=ln(r,u),d=f.createHref(r.unstable_mask||r);l.replaceState(o,"",d),a&&s&&s({action:i,location:f.location,delta:0})},go:e=>l.go(e)};return f}(function(e,t){let{pathname:n="/",search:r="",hash:o=""}=cn(e.location.hash.substring(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),sn("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:un(t))},function(e,t){an("/"===e.pathname.charAt(0),`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)},e)}({window:o,v5Compat:!0}));let l=a.current,[i,s]=e.useState({action:l.action,location:l.location}),u=e.useCallback(t=>{!1===r?s(t):e.startTransition(()=>s(t))},[r]);return e.useLayoutEffect(()=>l.listen(u),[l,u]),/* @__PURE__ */e.createElement(kr,{basename:t,children:n,location:i.location,navigationType:i.action,navigator:l,unstable_useTransitions:r})}var Vr=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Yr=e.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:o,reloadDocument:a,replace:l,unstable_mask:i,state:s,target:u,to:c,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:f,...m},h){let{basename:_,navigator:g,unstable_useTransitions:b}=e.useContext(Yn),v="string"==typeof c&&Vr.test(c),y=Wn(c,_),w=function(t,{relative:n}={}){on(er(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:o}=e.useContext(Yn),{hash:a,pathname:l,search:i}=ir(t,{relative:n}),s=l;return"/"!==r&&(s="/"===l?r:Nn([r,l])),o.createHref({pathname:s,search:i,hash:a})}(c=y.to,{relative:o}),x=tr(),k=null;if(i){let e=Tn(i,[],x.unstable_mask?x.unstable_mask.pathname:"/",!0);"/"!==_&&(e.pathname="/"===e.pathname?_:Nn([_,e.pathname])),k=g.createHref(e)}let[C,E,R]=function(t,n){let r=e.useContext(Ur),[o,a]=e.useState(!1),[l,i]=e.useState(!1),{onFocus:s,onBlur:u,onMouseEnter:c,onMouseLeave:d,onTouchStart:p}=n,f=e.useRef(null);e.useEffect(()=>{if("render"===t&&i(!0),"viewport"===t){let e=new IntersectionObserver(e=>{e.forEach(e=>{i(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[t]),e.useEffect(()=>{if(o){let e=setTimeout(()=>{i(!0)},100);return()=>{clearTimeout(e)}}},[o]);let m=()=>{a(!0)},h=()=>{a(!1),i(!1)};return r?"intent"!==t?[l,f,{}]:[l,f,{onFocus:Wr(s,m),onBlur:Wr(u,h),onMouseEnter:Wr(c,m),onMouseLeave:Wr(d,h),onTouchStart:Wr(p,m)}]:[!1,f,{}]}(r,m),S=function(t,{target:n,replace:r,unstable_mask:o,state:a,preventScrollReset:l,relative:i,viewTransition:s,unstable_defaultShouldRevalidate:u,unstable_useTransitions:c}={}){let d=or(),p=tr(),f=ir(t,{relative:i});return e.useCallback(m=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(m,n)){m.preventDefault();let n=void 0!==r?r:un(p)===un(f),h=()=>d(t,{replace:n,unstable_mask:o,state:a,preventScrollReset:l,relative:i,viewTransition:s,unstable_defaultShouldRevalidate:u});c?e.startTransition(()=>h()):h()}},[p,d,f,r,o,a,n,t,l,i,s,u,c])}(c,{replace:l,unstable_mask:i,state:s,target:u,preventScrollReset:d,relative:o,viewTransition:p,unstable_defaultShouldRevalidate:f,unstable_useTransitions:b}),$=!(y.isExternal||a),P=/* @__PURE__ */e.createElement("a",{...m,...R,href:($?k:void 0)||y.absoluteURL||w,onClick:$?function(e){t&&t(e),e.defaultPrevented||S(e)}:t,ref:Gr(h,E),target:u,"data-discover":v||"render"!==n?void 0:"true"});return C&&!v?/* @__PURE__ */e.createElement(e.Fragment,null,P,/* @__PURE__ */e.createElement(Hr,{page:w})):P});Yr.displayName="Link";var Kr=e.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:o=!1,style:a,to:l,viewTransition:i,children:s,...u},c){let d=ir(l,{relative:u.relative}),p=tr(),f=e.useContext(Gn),{navigator:m,basename:h}=e.useContext(Yn),_=null!=f&&function(t,{relative:n}={}){let r=e.useContext(Vn);on(null!=r,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=Xr("useViewTransitionState"),a=ir(t,{relative:n});if(!r.isTransitioning)return!1;let l=En(r.currentLocation.pathname,o)||r.currentLocation.pathname,i=En(r.nextLocation.pathname,o)||r.nextLocation.pathname;return null!=kn(a.pathname,i)||null!=kn(a.pathname,l)}(d)&&!0===i,g=m.encodeLocation?m.encodeLocation(d).pathname:d.pathname,b=p.pathname,v=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;n||(b=b.toLowerCase(),v=v?v.toLowerCase():null,g=g.toLowerCase()),v&&h&&(v=En(v,h)||v);const y="/"!==g&&g.endsWith("/")?g.length-1:g.length;let w,x=b===g||!o&&b.startsWith(g)&&"/"===b.charAt(y),k=null!=v&&(v===g||!o&&v.startsWith(g)&&"/"===v.charAt(g.length)),C={isActive:x,isPending:k,isTransitioning:_},E=x?t:void 0;w="function"==typeof r?r(C):[r,x?"active":null,k?"pending":null,_?"transitioning":null].filter(Boolean).join(" ");let R="function"==typeof a?a(C):a;/* @__PURE__ */
5
- return e.createElement(Yr,{...u,"aria-current":E,className:w,ref:c,style:R,to:l,viewTransition:i},"function"==typeof s?s(C):s)});Kr.displayName="NavLink";var Qr=e.forwardRef(({discover:t="render",fetcherKey:n,navigate:r,reloadDocument:o,replace:a,state:l,method:i=Rr,action:s,onSubmit:u,relative:c,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:f,...m},h)=>{let{unstable_useTransitions:_}=e.useContext(Yn),g=function(){let{router:t}=Xr("useSubmit"),{basename:n}=e.useContext(Yn),r=_r("useRouteId"),o=t.fetch,a=t.navigate;return e.useCallback(async(e,t={})=>{let{action:l,method:i,encType:s,formData:u,body:c}=function(e,t){let n,r,o,a,l;if($r(i=e)&&"form"===i.tagName.toLowerCase()){let l=e.getAttribute("action");r=l?En(l,t):null,n=e.getAttribute("method")||Rr,o=Lr(e.getAttribute("enctype"))||Sr,a=new FormData(e)}else if(function(e){return $r(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return $r(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let l=e.form;if(null==l)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let i=e.getAttribute("formaction")||l.getAttribute("action");if(r=i?En(i,t):null,n=e.getAttribute("formmethod")||l.getAttribute("method")||Rr,o=Lr(e.getAttribute("formenctype"))||Lr(l.getAttribute("enctype"))||Sr,a=new FormData(l,e),!function(){if(null===Pr)try{new FormData(document.createElement("form"),0),Pr=!1}catch(ne){Pr=!0}return Pr}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?`${t}.`:"";a.append(`${e}x`,"0"),a.append(`${e}y`,"0")}else t&&a.append(t,r)}}else{if($r(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Rr,r=null,o=Sr,l=e}var i;return a&&"text/plain"===o&&(l=a,a=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:a,body:l}}(e,n);!1===t.navigate?await o(t.fetcherKey||eo(),r,t.action||l,{unstable_defaultShouldRevalidate:t.unstable_defaultShouldRevalidate,preventScrollReset:t.preventScrollReset,formData:u,body:c,formMethod:t.method||i,formEncType:t.encType||s,flushSync:t.flushSync}):await a(t.action||l,{unstable_defaultShouldRevalidate:t.unstable_defaultShouldRevalidate,preventScrollReset:t.preventScrollReset,formData:u,body:c,formMethod:t.method||i,formEncType:t.encType||s,replace:t.replace,state:t.state,fromRouteId:r,flushSync:t.flushSync,viewTransition:t.viewTransition})},[o,a,n,r])}(),b=function(t,{relative:n}={}){let{basename:r}=e.useContext(Yn),o=e.useContext(Qn);on(o,"useFormAction must be used inside a RouteContext");let[a]=o.matches.slice(-1),l={...ir(t||".",{relative:n})},i=tr();if(null==t){l.search=i.search;let e=new URLSearchParams(l.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();l.search=n?`?${n}`:""}}return t&&"."!==t||!a.route.index||(l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index"),"/"!==r&&(l.pathname="/"===l.pathname?r:Nn([r,l.pathname])),un(l)}(s,{relative:c}),v="get"===i.toLowerCase()?"get":"post",y="string"==typeof s&&Vr.test(s);/* @__PURE__ */
6
- return e.createElement("form",{ref:h,method:v,action:b,onSubmit:o?u:t=>{if(u&&u(t),t.defaultPrevented)return;t.preventDefault();let o=t.nativeEvent.submitter,s=o?.getAttribute("formmethod")||i,m=()=>g(o||t.currentTarget,{fetcherKey:n,method:s,navigate:r,replace:a,state:l,relative:c,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:f});_&&!1!==r?e.startTransition(()=>m()):m()},...m,"data-discover":y||"render"!==t?void 0:"true"})});function Xr(t){let n=e.useContext(Bn);return on(n,function(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}(t)),n}Qr.displayName="Form";var Zr=0,eo=()=>`__${String(++Zr)}__`;export{C as A,_e as C,E as D,ce as E,V as M,x as N,z as O,n as P,ue as S,he as T,Ne as _,yr as a,fe as b,Cr as c,lr as d,Xt as f,Te as g,Pe as h,Kr as i,J as j,q as k,tr as l,Fe as m,Yr as n,wr as o,tn as p,vr as r,xr as s,Jr as t,or as u,Ee as v,me as w,de as x,pe as y};
package/react/JLXrD6OW.js DELETED
@@ -1 +0,0 @@
1
- const e=require("./BkE18wvt.js");let t=require("react");t=e.__toESM(t,1);var r,n,o,a,i,l,s,u,c,d,p,f,m,h,_,g={},b=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y=Array.isArray;function w(e,t){for(var r in t)e[r]=t[r];return e}function x(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function k(e,t,n){var o,a,i,l={};for(i in t)"key"==i?o=t[i]:"ref"==i?a=t[i]:l[i]=t[i];if(arguments.length>2&&(l.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===l[i]&&(l[i]=e.defaultProps[i]);return C(e,l,o,a,null)}function C(e,t,r,a,i){var l={type:e,props:t,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==i?++o:i,__i:-1,__u:0};return null==i&&null!=n.vnode&&n.vnode(l),l}function R(e){return e.children}function E(e,t){this.props=e,this.context=t}function S(e,t){if(null==t)return e.__?S(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e)return r.__e;return"function"==typeof e.type?S(e):null}function P(e){if(e.__P&&e.__d){var t=e.__v,r=t.__e,o=[],a=[],i=w({},t);i.__v=t.__v+1,n.vnode&&n.vnode(i),A(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[r]:null,o,null==r?S(t):r,!!(32&t.__u),a),i.__v=t.__v,i.__.__k[i.__i]=i,W(o,i,a),t.__e=t.__=null,i.__e!=r&&$(i)}}function $(e){if(null!=(e=e.__)&&null!=e.__c)return e.__e=e.__c.base=null,e.__k.some(function(t){if(null!=t&&null!=t.__e)return e.__e=e.__c.base=t.__e}),$(e)}function O(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!L.__r++||i!=n.debounceRendering)&&((i=n.debounceRendering)||l)(L)}function L(){try{for(var e,t=1;a.length;)a.length>t&&a.sort(s),e=a.shift(),t=a.length,P(e)}finally{a.length=L.__r=0}}function T(e,t,r,n,o,a,i,l,s,u,c){var d,p,f,m,h,_,v,w=n&&n.__k||b,x=t.length;for(s=function(e,t,r,n,o){var a,i,l,s,u,c=r.length,d=c,p=0;for(e.__k=new Array(o),a=0;a<o;a++)null!=(i=t[a])&&"boolean"!=typeof i&&"function"!=typeof i?("string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?i=e.__k[a]=C(null,i,null,null,null):y(i)?i=e.__k[a]=C(R,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?i=e.__k[a]=C(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):e.__k[a]=i,s=a+p,i.__=e,i.__b=e.__b+1,l=null,-1!=(u=i.__i=z(i,r,s,d))&&(d--,(l=r[u])&&(l.__u|=2)),null==l||null==l.__v?(-1==u&&(o>c?p--:o<c&&p++),"function"!=typeof i.type&&(i.__u|=4)):u!=s&&(u==s-1?p--:u==s+1?p++:(u>s?p--:p++,i.__u|=4))):e.__k[a]=null;if(d)for(a=0;a<c;a++)null!=(l=r[a])&&!(2&l.__u)&&(l.__e==n&&(n=S(l)),G(l,l));return n}(r,t,w,s,x),d=0;d<x;d++)null!=(f=r.__k[d])&&(p=-1!=f.__i&&w[f.__i]||g,f.__i=d,_=A(e,f,p,o,a,i,l,s,u,c),m=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&B(p.ref,null,f),c.push(f.ref,f.__c||m,f)),null==h&&null!=m&&(h=m),(v=!!(4&f.__u))||p.__k===f.__k?(s=j(f,s,e,v),v&&p.__e&&(p.__e=null)):"function"==typeof f.type&&void 0!==_?s=_:m&&(s=m.nextSibling),f.__u&=-7);return r.__e=h,s}function j(e,t,r,n){var o,a;if("function"==typeof e.type){for(o=e.__k,a=0;o&&a<o.length;a++)o[a]&&(o[a].__=e,t=j(o[a],t,r,n));return t}e.__e!=t&&(n&&(t&&e.type&&!t.parentNode&&(t=S(e)),r.insertBefore(e.__e,t||null)),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function N(e,t){return t=t||[],null==e||"boolean"==typeof e||(y(e)?e.some(function(e){N(e,t)}):t.push(e)),t}function z(e,t,r,n){var o,a,i,l=e.key,s=e.type,u=t[r],c=null!=u&&!(2&u.__u);if(null===u&&null==l||c&&l==u.key&&s==u.type)return r;if(n>(c?1:0))for(o=r-1,a=r+1;o>=0||a<t.length;)if(null!=(u=t[i=o>=0?o--:a++])&&!(2&u.__u)&&l==u.key&&s==u.type)return i;return-1}function F(e,t,r){"-"==t[0]?e.setProperty(t,null==r?"":r):e[t]=null==r?"":"number"!=typeof r||v.test(t)?r:r+"px"}function M(e,t,r,n,o){var a,i;e:if("style"==t)if("string"==typeof r)e.style.cssText=r;else{if("string"==typeof n&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||F(e.style,t,"");if(r)for(t in r)n&&r[t]==n[t]||F(e.style,t,r[t])}else if("o"==t[0]&&"n"==t[1])a=t!=(t=t.replace(p,"$1")),i=t.toLowerCase(),t=i in e||"onFocusOut"==t||"onFocusIn"==t?i.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=r,r?n?r[d]=n[d]:(r[d]=f,e.addEventListener(t,a?h:m,a)):e.removeEventListener(t,a?h:m,a);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==r?"":r;break e}catch(e){}"function"==typeof r||(null==r||!1===r&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==r?"":r))}}function D(e){return function(t){if(this.l){var r=this.l[t.type+e];if(null==t[c])t[c]=f++;else if(t[c]<r[d])return;return r(n.event?n.event(t):t)}}}function A(e,t,r,o,a,i,l,s,u,c){var d,p,f,m,h,_,g,v,k,C,S,P,$,O,L,j=t.type;if(void 0!==t.constructor)return null;128&r.__u&&(u=!!(32&r.__u),i=[s=t.__e=r.__e]),(d=n.__b)&&d(t);e:if("function"==typeof j)try{if(v=t.props,k=j.prototype&&j.prototype.render,C=(d=j.contextType)&&o[d.__c],S=d?C?C.props.value:d.__:o,r.__c?g=(p=t.__c=r.__c).__=p.__E:(k?t.__c=p=new j(v,S):(t.__c=p=new E(v,S),p.constructor=j,p.render=q),C&&C.sub(p),p.state||(p.state={}),p.__n=o,f=p.__d=!0,p.__h=[],p._sb=[]),k&&null==p.__s&&(p.__s=p.state),k&&null!=j.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=w({},p.__s)),w(p.__s,j.getDerivedStateFromProps(v,p.__s))),m=p.props,h=p.state,p.__v=t,f)k&&null==j.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),k&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(k&&null==j.getDerivedStateFromProps&&v!==m&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(v,S),t.__v==r.__v||!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(v,p.__s,S)){t.__v!=r.__v&&(p.props=v,p.state=p.__s,p.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(e){e&&(e.__=t)}),b.push.apply(p.__h,p._sb),p._sb=[],p.__h.length&&l.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(v,p.__s,S),k&&null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(m,h,_)})}if(p.context=S,p.props=v,p.__P=e,p.__e=!1,P=n.__r,$=0,k)p.state=p.__s,p.__d=!1,P&&P(t),d=p.render(p.props,p.state,p.context),b.push.apply(p.__h,p._sb),p._sb=[];else do{p.__d=!1,P&&P(t),d=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++$<25);p.state=p.__s,null!=p.getChildContext&&(o=w(w({},o),p.getChildContext())),k&&!f&&null!=p.getSnapshotBeforeUpdate&&(_=p.getSnapshotBeforeUpdate(m,h)),O=null!=d&&d.type===R&&null==d.key?H(d.props.children):d,s=T(e,y(O)?O:[O],t,r,o,a,i,l,s,u,c),p.base=t.__e,t.__u&=-161,p.__h.length&&l.push(p),g&&(p.__E=p.__=null)}catch(e){if(t.__v=null,u||null!=i)if(e.then){for(t.__u|=u?160:128;s&&8==s.nodeType&&s.nextSibling;)s=s.nextSibling;i[i.indexOf(s)]=null,t.__e=s}else{for(L=i.length;L--;)x(i[L]);U(t)}else t.__e=r.__e,t.__k=r.__k,e.then||U(t);n.__e(e,t,r)}else null==i&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):s=t.__e=I(r.__e,t,r,o,a,i,l,u,c);return(d=n.diffed)&&d(t),128&t.__u?void 0:s}function U(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(U))}function W(e,t,r){for(var o=0;o<r.length;o++)B(r[o],r[++o],r[++o]);n.__c&&n.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){n.__e(e,t.__v)}})}function H(e){return"object"!=typeof e||null==e||e.__b>0?e:y(e)?e.map(H):w({},e)}function I(e,t,o,a,i,l,s,u,c){var d,p,f,m,h,_,b,v=o.props||g,w=t.props,k=t.type;if("svg"==k?i="http://www.w3.org/2000/svg":"math"==k?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=l)for(d=0;d<l.length;d++)if((h=l[d])&&"setAttribute"in h==!!k&&(k?h.localName==k:3==h.nodeType)){e=h,l[d]=null;break}if(null==e){if(null==k)return document.createTextNode(w);e=document.createElementNS(i,k,w.is&&w),u&&(n.__m&&n.__m(t,l),u=!1),l=null}if(null==k)v===w||u&&e.data==w||(e.data=w);else{if(l=l&&r.call(e.childNodes),!u&&null!=l)for(v={},d=0;d<e.attributes.length;d++)v[(h=e.attributes[d]).name]=h.value;for(d in v)h=v[d],"dangerouslySetInnerHTML"==d?f=h:"children"==d||d in w||"value"==d&&"defaultValue"in w||"checked"==d&&"defaultChecked"in w||M(e,d,null,h,i);for(d in w)h=w[d],"children"==d?m=h:"dangerouslySetInnerHTML"==d?p=h:"value"==d?_=h:"checked"==d?b=h:u&&"function"!=typeof h||v[d]===h||M(e,d,h,v[d],i);if(p)u||f&&(p.__html==f.__html||p.__html==e.innerHTML)||(e.innerHTML=p.__html),t.__k=[];else if(f&&(e.innerHTML=""),T("template"==t.type?e.content:e,y(m)?m:[m],t,o,a,"foreignObject"==k?"http://www.w3.org/1999/xhtml":i,l,s,l?l[0]:o.__k&&S(o,0),u,c),null!=l)for(d=l.length;d--;)x(l[d]);u||(d="value","progress"==k&&null==_?e.removeAttribute("value"):null!=_&&(_!==e[d]||"progress"==k&&!_||"option"==k&&_!=v[d])&&M(e,d,_,v[d],i),d="checked",null!=b&&b!=e[d]&&M(e,d,b,v[d],i))}return e}function B(e,t,r){try{if("function"==typeof e){var o="function"==typeof e.__u;o&&e.__u(),o&&null==t||(e.__u=e(t))}else e.current=t}catch(e){n.__e(e,r)}}function G(e,t,r){var o,a;if(n.unmount&&n.unmount(e),(o=e.ref)&&(o.current&&o.current!=e.__e||B(o,null,t)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){n.__e(e,t)}o.base=o.__P=null}if(o=e.__k)for(a=0;a<o.length;a++)o[a]&&G(o[a],t,r||"function"!=typeof e.type);r||x(e.__e),e.__c=e.__=e.__e=void 0}function q(e,t,r){return this.constructor(e,r)}function J(e,t,o){var a,i,l,s;t==document&&(t=document.documentElement),n.__&&n.__(e,t),i=(a="function"==typeof o)?null:o&&o.__k||t.__k,l=[],s=[],A(t,e=(!a&&o||t).__k=k(R,null,[e]),i||g,g,t.namespaceURI,!a&&o?[o]:i?null:t.firstChild?r.call(t.childNodes):null,l,!a&&o?o:i?i.__e:t.firstChild,a,s),W(l,e,s)}function V(e,t,n){var o,a,i,l,s=w({},e.props);for(i in e.type&&e.type.defaultProps&&(l=e.type.defaultProps),t)"key"==i?o=t[i]:"ref"==i?a=t[i]:s[i]=void 0===t[i]&&null!=l?l[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),C(e.type,s,o||e.key,a||e.ref,null)}function Y(e){function t(e){var r,n;return this.getChildContext||(r=new Set,(n={})[t.__c]=this,this.getChildContext=function(){return n},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&r.forEach(function(e){e.__e=!0,O(e)})},this.sub=function(e){r.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){r&&r.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+_++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}r=b.slice,n={__e:function(e,t,r,n){for(var o,a,i;t=t.__;)if((o=t.__c)&&!o.__)try{if((a=o.constructor)&&null!=a.getDerivedStateFromError&&(o.setState(a.getDerivedStateFromError(e)),i=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,n||{}),i=o.__d),i)return o.__E=o}catch(t){e=t}throw e}},o=0,E.prototype.setState=function(e,t){var r=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=w({},this.state);"function"==typeof e&&(e=e(w({},r),this.props)),e&&w(r,e),null!=e&&this.__v&&(t&&this._sb.push(t),O(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),O(this))},E.prototype.render=R,a=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=function(e,t){return e.__v.__b-t.__v.__b},L.__r=0,u=Math.random().toString(8),c="__d"+u,d="__a"+u,p=/(PointerCapture)$|Capture$/i,f=0,m=D(!1),h=D(!0),_=0;var K,Q,X,Z,ee=0,te=[],re=n,ne=re.__b,oe=re.__r,ae=re.diffed,ie=re.__c,le=re.unmount,se=re.__;function ue(e,t){re.__h&&re.__h(Q,e,ee||t),ee=0;var r=Q.__H||(Q.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function ce(e){return ee=1,function(e,t){var r=ue(K++,2);if(r.t=e,!r.__c&&(r.__=[Ce(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=Q,!Q.__f)){var n=function(e,t,n){if(!r.__c.__H)return!0;var a=r.__c.__H.__.filter(function(e){return e.__c});if(a.every(function(e){return!e.__N}))return!o||o.call(this,e,t,n);var i=r.__c.props!==e;return a.some(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}}),o&&o.call(this,e,t,n)||i};Q.__f=!0;var o=Q.shouldComponentUpdate,a=Q.componentWillUpdate;Q.componentWillUpdate=function(e,t,r){if(this.__e){var i=o;o=void 0,n(e,t,r),o=i}a&&a.call(this,e,t,r)},Q.shouldComponentUpdate=n}return r.__N||r.__}(Ce,e)}function de(e,t){var r=ue(K++,3);!re.__s&&ke(r.__H,t)&&(r.__=e,r.u=t,Q.__H.__h.push(r))}function pe(e,t){var r=ue(K++,4);!re.__s&&ke(r.__H,t)&&(r.__=e,r.u=t,Q.__h.push(r))}function fe(e){return ee=5,me(function(){return{current:e}},[])}function me(e,t){var r=ue(K++,7);return ke(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function he(e,t){return ee=8,me(function(){return e},t)}function _e(e){var t=Q.context[e.__c],r=ue(K++,9);return r.c=e,t?(r.__??(r.__=!0,t.sub(Q)),t.props.value):e.__}function ge(){var e=ue(K++,11);if(!e.__){for(var t=Q.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function be(){for(var e;e=te.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(we),t.__h.some(xe),t.__h=[]}catch(Ne){t.__h=[],re.__e(Ne,e.__v)}}}re.__b=function(e){Q=null,ne&&ne(e)},re.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),se&&se(e,t)},re.__r=function(e){oe&&oe(e),K=0;var t=(Q=e.__c).__H;t&&(X===Q?(t.__h=[],Q.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(we),t.__h.some(xe),t.__h=[],K=0)),X=Q},re.diffed=function(e){ae&&ae(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==te.push(t)&&Z===re.requestAnimationFrame||((Z=re.requestAnimationFrame)||ye)(be)),t.__H.__.some(function(e){e.u&&(e.__H=e.u),e.u=void 0})),X=Q=null},re.__c=function(e,t){t.some(function(e){try{e.__h.some(we),e.__h=e.__h.filter(function(e){return!e.__||xe(e)})}catch(Ne){t.some(function(e){e.__h&&(e.__h=[])}),t=[],re.__e(Ne,e.__v)}}),ie&&ie(e,t)},re.unmount=function(e){le&&le(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.some(function(e){try{we(e)}catch(e){t=e}}),r.__H=void 0,t&&re.__e(t,r.__v))};var ve="function"==typeof requestAnimationFrame;function ye(e){var t,r=function(){clearTimeout(n),ve&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,35);ve&&(t=requestAnimationFrame(r))}function we(e){var t=Q,r=e.__c;"function"==typeof r&&(e.__c=void 0,r()),Q=t}function xe(e){var t=Q;e.__c=e.__(),Q=t}function ke(e,t){return!e||e.length!==t.length||t.some(function(t,r){return t!==e[r]})}function Ce(e,t){return"function"==typeof t?t(e):t}var Re=0;function Ee(e,t,r,o,a,i){t||(t={});var l,s,u=t;if("ref"in u)for(s in u={},t)"ref"==s?l=t[s]:u[s]=t[s];var c={type:e,props:u,key:r,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Re,__i:-1,__u:0,__source:a,__self:i};if("function"==typeof e&&(l=e.defaultProps))for(s in l)void 0===u[s]&&(u[s]=l[s]);return n.vnode&&n.vnode(c),c}Array.isArray;var Se='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',Pe=e=>e.trim().replace(/\s+/g," "),$e=e=>e?.replace(/\/+$/,"")||"",Oe=(e,t)=>{const r=$e(e);return r&&t?`${r}/api/connect/organization/custom-font?organizationId=${encodeURIComponent(t)}`:null},Le=(e,t)=>{const r=$e(e),n=t?Pe(t):"";return r&&n?`${r}/api/connect/organization/google-font?family=${encodeURIComponent(n)}`:null},Te=e=>{if(!e)return Se;const t=Pe("string"==typeof e?e:e.fontFamily||""),r="string"==typeof e?void 0:e.customFontName;return t&&"system"!==t?"custom"===t?`"${r||"QratiCustomFont"}", ${Se}`:`"${t}", ${Se}`:Se},je=(e,t,r)=>{if(!e?.fontFamily||"system"===e.fontFamily)return"";const n=Pe(e.fontFamily);if("custom"===n&&t){const r=e.customFontName||"QratiCustomFont",n=/\.woff2(\?|$)/i.test(t)?"woff2":/\.ttf(\?|$)/i.test(t)?"truetype":"woff";return`@font-face{font-family:"${o=r,o.replace(/"/g,'\\"')}";src:url("${t}") format("${n}");font-weight:400 700;font-style:normal;font-display:swap;}`}var o;const a=r||(e=>{if(!e)return null;const t=Pe(e);return t&&"system"!==t.toLowerCase()&&"custom"!==t.toLowerCase()?`https://fonts.googleapis.com/css2?family=${t.replace(/\s+/g,"+")}:wght@400;500;600;700&display=swap`:null})(n);return a?`@import url("${a}");`:""};function Ne(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Ne(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function ze(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Ne(e))&&(n&&(n+=" "),n+=t);return n}var Fe=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),Me="-",De=[],Ae=e=>{const t=He(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return We(e);const r=e.split(Me);return Ue(r,""===r[0]&&r.length>1?1:0,t)},getConflictingClassGroupIds:(e,t)=>{if(t){const t=n[e],o=r[e];return t?o?((e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r})(o,t):t:o||De}return r[e]||De}}},Ue=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const n=e[t],o=r.nextPart.get(n);if(o){const r=Ue(e,t+1,o);if(r)return r}const a=r.validators;if(null===a)return;const i=0===t?e.join(Me):e.slice(t).join(Me),l=a.length;for(let s=0;s<l;s++){const e=a[s];if(e.validator(i))return e.classGroupId}},We=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?"arbitrary.."+n:void 0})(),He=e=>{const{theme:t,classGroups:r}=e;return Ie(r,t)},Ie=(e,t)=>{const r=Fe();for(const n in e){const o=e[n];Be(o,r,n,t)}return r},Be=(e,t,r,n)=>{const o=e.length;for(let a=0;a<o;a++){const o=e[a];Ge(o,t,r,n)}},Ge=(e,t,r,n)=>{"string"!=typeof e?"function"!=typeof e?Ve(e,t,r,n):Je(e,t,r,n):qe(e,t,r)},qe=(e,t,r)=>{(""===e?t:Ye(t,e)).classGroupId=r},Je=(e,t,r,n)=>{Ke(e)?Be(e(n),t,r,n):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(r,e)))},Ve=(e,t,r,n)=>{const o=Object.entries(e),a=o.length;for(let i=0;i<a;i++){const[e,a]=o[i];Be(a,Ye(t,e),r,n)}},Ye=(e,t)=>{let r=e;const n=t.split(Me),o=n.length;for(let a=0;a<o;a++){const e=n[a];let t=r.nextPart.get(e);t||(t=Fe(),r.nextPart.set(e,t)),r=t}return r},Ke=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,Qe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(o,a)=>{r[o]=a,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(o(e,t),t):void 0},set(e,t){e in r?r[e]=t:o(e,t)}}},Xe=[],Ze=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),et=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=e=>{const t=[];let r,n=0,o=0,a=0;const i=e.length;for(let c=0;c<i;c++){const i=e[c];if(0===n&&0===o){if(":"===i){t.push(e.slice(a,c)),a=c+1;continue}if("/"===i){r=c;continue}}"["===i?n++:"]"===i?n--:"("===i?o++:")"===i&&o--}const l=0===t.length?e:e.slice(a);let s=l,u=!1;return l.endsWith("!")?(s=l.slice(0,-1),u=!0):l.startsWith("!")&&(s=l.slice(1),u=!0),Ze(t,u,s,r&&r>a?r-a:void 0)};if(t){const e=t+":",r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):Ze(Xe,!1,t,void 0,!0)}if(r){const e=n;n=t=>r({className:t,parseClassName:e})}return n},tt=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((e,r)=>{t.set(e,1e6+r)}),e=>{const r=[];let n=[];for(let o=0;o<e.length;o++){const a=e[o],i="["===a[0],l=t.has(a);i||l?(n.length>0&&(n.sort(),r.push(...n),n=[]),r.push(a)):n.push(a)}return n.length>0&&(n.sort(),r.push(...n)),r}},rt=/\s+/,nt=e=>{if("string"==typeof e)return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=nt(e[n]))&&(r&&(r+=" "),r+=t);return r},ot=[],at=e=>{const t=t=>t[e]||ot;return t.isThemeGetter=!0,t},it=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,lt=/^\((?:(\w[\w-]*):)?(.+)\)$/i,st=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ut=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ct=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,dt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,pt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ft=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,mt=e=>st.test(e),ht=e=>!!e&&!Number.isNaN(Number(e)),_t=e=>!!e&&Number.isInteger(Number(e)),gt=e=>e.endsWith("%")&&ht(e.slice(0,-1)),bt=e=>ut.test(e),vt=()=>!0,yt=e=>ct.test(e)&&!dt.test(e),wt=()=>!1,xt=e=>pt.test(e),kt=e=>ft.test(e),Ct=e=>!Et(e)&&!Nt(e),Rt=e=>Ht(e,qt,wt),Et=e=>it.test(e),St=e=>Ht(e,Jt,yt),Pt=e=>Ht(e,Vt,ht),$t=e=>Ht(e,Kt,vt),Ot=e=>Ht(e,Yt,wt),Lt=e=>Ht(e,Bt,wt),Tt=e=>Ht(e,Gt,kt),jt=e=>Ht(e,Qt,xt),Nt=e=>lt.test(e),zt=e=>It(e,Jt),Ft=e=>It(e,Yt),Mt=e=>It(e,Bt),Dt=e=>It(e,qt),At=e=>It(e,Gt),Ut=e=>It(e,Qt,!0),Wt=e=>It(e,Kt,!0),Ht=(e,t,r)=>{const n=it.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},It=(e,t,r=!1)=>{const n=lt.exec(e);return!!n&&(n[1]?t(n[1]):r)},Bt=e=>"position"===e||"percentage"===e,Gt=e=>"image"===e||"url"===e,qt=e=>"length"===e||"size"===e||"bg-size"===e,Jt=e=>"length"===e,Vt=e=>"number"===e,Yt=e=>"family-name"===e,Kt=e=>"number"===e||"weight"===e,Qt=e=>"shadow"===e,Xt=((e,...t)=>{let r,n,o,a;const i=e=>{const t=n(e);if(t)return t;const a=((e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:a}=t,i=[],l=e.trim().split(rt);let s="";for(let u=l.length-1;u>=0;u-=1){const e=l[u],{isExternal:t,modifiers:c,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=r(e);if(t){s=e+(s.length>0?" "+s:s);continue}let m=!!f,h=n(m?p.substring(0,f):p);if(!h){if(!m){s=e+(s.length>0?" "+s:s);continue}if(h=n(p),!h){s=e+(s.length>0?" "+s:s);continue}m=!1}const _=0===c.length?"":1===c.length?c[0]:a(c).join(":"),g=d?_+"!":_,b=g+h;if(i.indexOf(b)>-1)continue;i.push(b);const v=o(h,m);for(let r=0;r<v.length;++r){const e=v[r];i.push(g+e)}s=e+(s.length>0?" "+s:s)}return s})(e,r);return o(e,a),a};return a=l=>{var s;return s=t.reduce((e,t)=>t(e),e()),r={cache:Qe(s.cacheSize),parseClassName:et(s),sortModifiers:tt(s),...Ae(s)},n=r.cache.get,o=r.cache.set,a=i,i(l)},(...e)=>a(((...e)=>{let t,r,n=0,o="";for(;n<e.length;)(t=e[n++])&&(r=nt(t))&&(o&&(o+=" "),o+=r);return o})(...e))})(()=>{const e=at("color"),t=at("font"),r=at("text"),n=at("font-weight"),o=at("tracking"),a=at("leading"),i=at("breakpoint"),l=at("container"),s=at("spacing"),u=at("radius"),c=at("shadow"),d=at("inset-shadow"),p=at("text-shadow"),f=at("drop-shadow"),m=at("blur"),h=at("perspective"),_=at("aspect"),g=at("ease"),b=at("animate"),v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Nt,Et],y=()=>[Nt,Et,s],w=()=>[mt,"full","auto",...y()],x=()=>[_t,"none","subgrid",Nt,Et],k=()=>["auto",{span:["full",_t,Nt,Et]},_t,Nt,Et],C=()=>[_t,"auto",Nt,Et],R=()=>["auto","min","max","fr",Nt,Et],E=()=>["auto",...y()],S=()=>[mt,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],P=()=>[mt,"screen","full","dvw","lvw","svw","min","max","fit",...y()],$=()=>[mt,"screen","full","lh","dvh","lvh","svh","min","max","fit",...y()],O=()=>[e,Nt,Et],L=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Mt,Lt,{position:[Nt,Et]}],T=()=>["auto","cover","contain",Dt,Rt,{size:[Nt,Et]}],j=()=>[gt,zt,St],N=()=>["","none","full",u,Nt,Et],z=()=>["",ht,zt,St],F=()=>[ht,gt,Mt,Lt],M=()=>["","none",m,Nt,Et],D=()=>["none",ht,Nt,Et],A=()=>["none",ht,Nt,Et],U=()=>[ht,Nt,Et],W=()=>[mt,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[bt],breakpoint:[bt],color:[vt],container:[bt],"drop-shadow":[bt],ease:["in","out","in-out"],font:[Ct],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[bt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[bt],shadow:[bt],spacing:["px",ht],text:[bt],"text-shadow":[bt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",mt,Et,Nt,_]}],container:["container"],columns:[{columns:[ht,Et,Nt,l]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:v()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{"inset-s":w(),start:w()}],end:[{"inset-e":w(),end:w()}],"inset-bs":[{"inset-bs":w()}],"inset-be":[{"inset-be":w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[_t,"auto",Nt,Et]}],basis:[{basis:[mt,"full","auto",l,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ht,mt,"auto","initial","none",Et]}],grow:[{grow:["",ht,Nt,Et]}],shrink:[{shrink:["",ht,Nt,Et]}],order:[{order:[_t,"first","last","none",Nt,Et]}],"grid-cols":[{"grid-cols":x()}],"col-start-end":[{col:k()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":x()}],"row-start-end":[{row:k()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":R()}],"auto-rows":[{"auto-rows":R()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pbs:[{pbs:y()}],pbe:[{pbe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mbs:[{mbs:E()}],mbe:[{mbe:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:S()}],"inline-size":[{inline:["auto",...P()]}],"min-inline-size":[{"min-inline":["auto",...P()]}],"max-inline-size":[{"max-inline":["none",...P()]}],"block-size":[{block:["auto",...$()]}],"min-block-size":[{"min-block":["auto",...$()]}],"max-block-size":[{"max-block":["none",...$()]}],w:[{w:[l,"screen",...S()]}],"min-w":[{"min-w":[l,"screen","none",...S()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[i]},...S()]}],h:[{h:["screen","lh",...S()]}],"min-h":[{"min-h":["screen","lh","none",...S()]}],"max-h":[{"max-h":["screen","lh",...S()]}],"font-size":[{text:["base",r,zt,St]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,Wt,$t]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",gt,Et]}],"font-family":[{font:[Ft,Ot,t]}],"font-features":[{"font-features":[Et]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,Nt,Et]}],"line-clamp":[{"line-clamp":[ht,"none",Nt,Pt]}],leading:[{leading:[a,...y()]}],"list-image":[{"list-image":["none",Nt,Et]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Nt,Et]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[ht,"from-font","auto",Nt,St]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[ht,"auto",Nt,Et]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Nt,Et]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Nt,Et]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:L()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:T()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},_t,Nt,Et],radial:["",Nt,Et],conic:[_t,Nt,Et]},At,Tt]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:j()}],"gradient-via-pos":[{via:j()}],"gradient-to-pos":[{to:j()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:N()}],"rounded-s":[{"rounded-s":N()}],"rounded-e":[{"rounded-e":N()}],"rounded-t":[{"rounded-t":N()}],"rounded-r":[{"rounded-r":N()}],"rounded-b":[{"rounded-b":N()}],"rounded-l":[{"rounded-l":N()}],"rounded-ss":[{"rounded-ss":N()}],"rounded-se":[{"rounded-se":N()}],"rounded-ee":[{"rounded-ee":N()}],"rounded-es":[{"rounded-es":N()}],"rounded-tl":[{"rounded-tl":N()}],"rounded-tr":[{"rounded-tr":N()}],"rounded-br":[{"rounded-br":N()}],"rounded-bl":[{"rounded-bl":N()}],"border-w":[{border:z()}],"border-w-x":[{"border-x":z()}],"border-w-y":[{"border-y":z()}],"border-w-s":[{"border-s":z()}],"border-w-e":[{"border-e":z()}],"border-w-bs":[{"border-bs":z()}],"border-w-be":[{"border-be":z()}],"border-w-t":[{"border-t":z()}],"border-w-r":[{"border-r":z()}],"border-w-b":[{"border-b":z()}],"border-w-l":[{"border-l":z()}],"divide-x":[{"divide-x":z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-bs":[{"border-bs":O()}],"border-color-be":[{"border-be":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[ht,Nt,Et]}],"outline-w":[{outline:["",ht,zt,St]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",c,Ut,jt]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",d,Ut,jt]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[ht,St]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":z()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",p,Ut,jt]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[ht,Nt,Et]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ht]}],"mask-image-linear-from-pos":[{"mask-linear-from":F()}],"mask-image-linear-to-pos":[{"mask-linear-to":F()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":F()}],"mask-image-t-to-pos":[{"mask-t-to":F()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":F()}],"mask-image-r-to-pos":[{"mask-r-to":F()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":F()}],"mask-image-b-to-pos":[{"mask-b-to":F()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":F()}],"mask-image-l-to-pos":[{"mask-l-to":F()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":F()}],"mask-image-x-to-pos":[{"mask-x-to":F()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":F()}],"mask-image-y-to-pos":[{"mask-y-to":F()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[Nt,Et]}],"mask-image-radial-from-pos":[{"mask-radial-from":F()}],"mask-image-radial-to-pos":[{"mask-radial-to":F()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[ht]}],"mask-image-conic-from-pos":[{"mask-conic-from":F()}],"mask-image-conic-to-pos":[{"mask-conic-to":F()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:L()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:T()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Nt,Et]}],filter:[{filter:["","none",Nt,Et]}],blur:[{blur:M()}],brightness:[{brightness:[ht,Nt,Et]}],contrast:[{contrast:[ht,Nt,Et]}],"drop-shadow":[{"drop-shadow":["","none",f,Ut,jt]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",ht,Nt,Et]}],"hue-rotate":[{"hue-rotate":[ht,Nt,Et]}],invert:[{invert:["",ht,Nt,Et]}],saturate:[{saturate:[ht,Nt,Et]}],sepia:[{sepia:["",ht,Nt,Et]}],"backdrop-filter":[{"backdrop-filter":["","none",Nt,Et]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[ht,Nt,Et]}],"backdrop-contrast":[{"backdrop-contrast":[ht,Nt,Et]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ht,Nt,Et]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ht,Nt,Et]}],"backdrop-invert":[{"backdrop-invert":["",ht,Nt,Et]}],"backdrop-opacity":[{"backdrop-opacity":[ht,Nt,Et]}],"backdrop-saturate":[{"backdrop-saturate":[ht,Nt,Et]}],"backdrop-sepia":[{"backdrop-sepia":["",ht,Nt,Et]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Nt,Et]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ht,"initial",Nt,Et]}],ease:[{ease:["linear","initial",g,Nt,Et]}],delay:[{delay:[ht,Nt,Et]}],animate:[{animate:["none",b,Nt,Et]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,Nt,Et]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:D()}],"rotate-x":[{"rotate-x":D()}],"rotate-y":[{"rotate-y":D()}],"rotate-z":[{"rotate-z":D()}],scale:[{scale:A()}],"scale-x":[{"scale-x":A()}],"scale-y":[{"scale-y":A()}],"scale-z":[{"scale-z":A()}],"scale-3d":["scale-3d"],skew:[{skew:U()}],"skew-x":[{"skew-x":U()}],"skew-y":[{"skew-y":U()}],transform:[{transform:[Nt,Et,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:W()}],"translate-x":[{"translate-x":W()}],"translate-y":[{"translate-y":W()}],"translate-z":[{"translate-z":W()}],"translate-none":["translate-none"],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Nt,Et]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mbs":[{"scroll-mbs":y()}],"scroll-mbe":[{"scroll-mbe":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pbs":[{"scroll-pbs":y()}],"scroll-pbe":[{"scroll-pbe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Nt,Et]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[ht,zt,St,Pt]}],stroke:[{stroke:["none",...O()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}),Zt=(...e)=>ze(Xt(...e.filter(Boolean))),er=e=>{const t=e.replace(/#/g,"");return(299*parseInt(t.slice(0,2),16)+587*parseInt(t.slice(2,4),16)+114*parseInt(t.slice(4,6),16))/1e3>=128?"#000000":"#FFFFFF"},tr="px",rr=(e,t="light")=>{const r=e?.themeSettings?.colors??{},n=e?.themeSettings?.border,o=e?.themeSettings?.shadow,a=e?.integrationSettings,i="dark"===t,l=(e,t,n,o)=>{const a=i?o:n;return r[i?t:e]||a},s=l("primaryLight","primaryDark","#ff4800","#ff4800");return{"--background":l("backgroundLight","backgroundDark","#fafafa","#0a0a0a"),"--foreground":l("foregroundLight","foregroundDark","#252629","#f5f5f5"),"--muted":l("mutedLight","mutedDark","#e5e5e5","#171717"),"--muted-foreground":l("mutedForegroundLight","mutedForegroundDark","#484848","#b5b8bb"),"--border":l("borderLight","borderDark","#dddddd","#353538"),"--input":l("inputLight","inputDark","#f5f5f5","#171717"),"--primary":s,"--primary-foreground":er(s),"--popover":l("popoverLight","popoverDark","#f5f5f5","#171717"),"--popover-foreground":l("popoverForegroundLight","popoverForegroundDark","#252629","#fafafa"),"--info":l("infoLight","infoDark","#2563eb","#5b8def"),"--warning":l("warningLight","warningDark","#f59e0b","#fbbf24"),"--success":l("successLight","successDark","#10b981","#34d399"),"--destructive":l("destructiveLight","destructiveDark","#ef4444","#f87171"),"--border-width":`${n?.width||"1"}${n?.unit||"px"}`,"--radius":`${n?.radius||"10"}${n?.unit||"px"}`,"--shadow-outer-horizontal-offset":`${o?.outerHorizontalOffset||"0"}${o?.unit||tr}`,"--shadow-outer-vertical-offset":`${o?.outerVerticalOffset||"0"}${o?.unit||tr}`,"--shadow-outer-blur":`${o?.outerBlur||"0"}${o?.unit||tr}`,"--shadow-outer-spread":`${o?.outerSpread||"0"}${o?.unit||tr}`,"--font-family":Te(a)}},nr="popstate";function or(e){return"object"==typeof e&&null!=e&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function ar(e,t){if(!1===e||null==e)throw new Error(t)}function ir(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(ne){}}}function lr(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function sr(e,t,r=null,n,o){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?cr(t):t,state:r,key:t&&t.key||n||Math.random().toString(36).substring(2,10),unstable_mask:o}}function ur({pathname:e="/",search:t="",hash:r=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),r&&"#"!==r&&(e+="#"===r.charAt(0)?r:"#"+r),e}function cr(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function dr(e,t,r="/"){return function(e,t,r){let n=Rr(("string"==typeof t?cr(t):t).pathname||"/",r);if(null==n)return null;let o=pr(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every((e,r)=>e===t[r])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(o);let a=null;for(let i=0;null==a&&i<o.length;++i){let e=Cr(n);a=xr(o[i],e,false)}return a}(e,t,r)}function pr(e,t=[],r=[],n="",o=!1){let a=(e,a,i=o,l)=>{let s={relativePath:void 0===l?e.path||"":l,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};if(s.relativePath.startsWith("/")){if(!s.relativePath.startsWith(n)&&i)return;ar(s.relativePath.startsWith(n),`Absolute route path "${s.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),s.relativePath=s.relativePath.slice(n.length)}let u=Tr([n,s.relativePath]),c=r.concat(s);e.children&&e.children.length>0&&(ar(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),pr(e.children,t,c,u,i)),(null!=e.path||e.index)&&t.push({path:u,score:wr(u,e.index),routesMeta:c})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let r of fr(e.path))a(e,t,!0,r);else a(e,t)}),t}function fr(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,o=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===n.length)return o?[a,""]:[a];let i=fr(n.join("/")),l=[];return l.push(...i.map(e=>""===e?a:[a,e].join("/"))),o&&l.push(...i),l.map(t=>e.startsWith("/")&&""===t?"/":t)}var mr=/^:[\w-]+$/,hr=3,_r=2,gr=1,br=10,vr=-2,yr=e=>"*"===e;function wr(e,t){let r=e.split("/"),n=r.length;return r.some(yr)&&(n+=vr),t&&(n+=_r),r.filter(e=>!yr(e)).reduce((e,t)=>e+(mr.test(t)?hr:""===t?gr:br),n)}function xr(e,t,r=!1){let{routesMeta:n}=e,o={},a="/",i=[];for(let l=0;l<n.length;++l){let e=n[l],s=l===n.length-1,u="/"===a?t:t.slice(a.length)||"/",c=kr({path:e.relativePath,caseSensitive:e.caseSensitive,end:s},u),d=e.route;if(!c&&s&&r&&!n[n.length-1].route.index&&(c=kr({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},u)),!c)return null;Object.assign(o,c.params),i.push({params:o,pathname:Tr([a,c.pathname]),pathnameBase:Nr(Tr([a,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(a=Tr([a,c.pathnameBase]))}return i}function kr(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=function(e,t=!1,r=!0){ir("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,r,o,a)=>{if(n.push({paramName:t,isOptional:null!=r}),r){let t=a.charAt(o+e.length);return t&&"/"!==t?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(n.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:n.reduce((e,{paramName:t,isOptional:r},n)=>{if("*"===t){let e=l[n]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const o=l[n];return e[t]=r&&!o?void 0:(o||"").replace(/%2F/g,"/"),e},{}),pathname:a,pathnameBase:i,pattern:e}}function Cr(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return ir(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Rr(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}var Er=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Sr(e,t){let r=jr(t).split("/");return e.split("/").forEach(e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)}),r.length>1?r.join("/"):"/"}function Pr(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function $r(e){let t=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t.map((e,r)=>r===t.length-1?e.pathname:e.pathnameBase)}function Or(e,t,r,n=!1){let o;"string"==typeof e?o=cr(e):(o={...e},ar(!o.pathname||!o.pathname.includes("?"),Pr("?","pathname","search",o)),ar(!o.pathname||!o.pathname.includes("#"),Pr("#","pathname","hash",o)),ar(!o.search||!o.search.includes("#"),Pr("#","search","hash",o)));let a,i=""===e||""===o.pathname,l=i?"/":o.pathname;if(null==l)a=r;else{let e=t.length-1;if(!n&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let s=function(e,t="/"){let r,{pathname:n,search:o="",hash:a=""}="string"==typeof e?cr(e):e;return n?(n=Lr(n),r=n.startsWith("/")?Sr(n.substring(1),"/"):Sr(n,t)):r=t,{pathname:r,search:zr(o),hash:Fr(a)}}(o,a),u=l&&"/"!==l&&l.endsWith("/"),c=(i||"."===l)&&r.endsWith("/");return s.pathname.endsWith("/")||!u&&!c||(s.pathname+="/"),s}var Lr=e=>e.replace(/\/\/+/g,"/"),Tr=e=>Lr(e.join("/")),jr=e=>e.replace(/\/+$/,""),Nr=e=>jr(e).replace(/^\/*/,"/"),zr=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Fr=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",Mr=class{constructor(e,t,r,n=!1){this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function Dr(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}function Ar(e){return Tr(e.map(e=>e.route.path).filter(Boolean))||"/"}var Ur="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function Wr(e,t){let r=e;if("string"!=typeof r||!Er.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let n=r,o=!1;if(Ur)try{let e=new URL(window.location.href),n=r.startsWith("//")?new URL(e.protocol+r):new URL(r),a=Rr(n.pathname,t);n.origin===e.origin&&null!=a?r=a+n.search+n.hash:o=!0}catch(ne){ir(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:n,isExternal:o,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Hr=["POST","PUT","PATCH","DELETE"],Ir=(new Set(Hr),["GET",...Hr]),Br=(new Set(Ir),t.createContext(null));Br.displayName="DataRouter";var Gr=t.createContext(null);Gr.displayName="DataRouterState";var qr=t.createContext(!1);function Jr(){return t.useContext(qr)}var Vr=t.createContext({isTransitioning:!1});Vr.displayName="ViewTransition",t.createContext(new Map).displayName="Fetchers",t.createContext(null).displayName="Await";var Yr=t.createContext(null);Yr.displayName="Navigation";var Kr=t.createContext(null);Kr.displayName="Location";var Qr=t.createContext({outlet:null,matches:[],isDataRoute:!1});Qr.displayName="Route";var Xr=t.createContext(null);Xr.displayName="RouteError";var Zr="REACT_ROUTER_ERROR";function en(){return null!=t.useContext(Kr)}function tn(){return ar(en(),"useLocation() may be used only in the context of a <Router> component."),t.useContext(Kr).location}var rn="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function nn(e){t.useContext(Yr).static||t.useLayoutEffect(e)}function on(){let{isDataRoute:e}=t.useContext(Qr);return e?function(){let{router:e}=function(){let e=t.useContext(Br);return ar(e,_n("useNavigate")),e}(),r=gn("useNavigate"),n=t.useRef(!1);return nn(()=>{n.current=!0}),t.useCallback(async(t,o={})=>{ir(n.current,rn),n.current&&("number"==typeof t?await e.navigate(t):await e.navigate(t,{fromRouteId:r,...o}))},[e,r])}():function(){ar(en(),"useNavigate() may be used only in the context of a <Router> component.");let e=t.useContext(Br),{basename:r,navigator:n}=t.useContext(Yr),{matches:o}=t.useContext(Qr),{pathname:a}=tn(),i=JSON.stringify($r(o)),l=t.useRef(!1);return nn(()=>{l.current=!0}),t.useCallback((t,o={})=>{if(ir(l.current,rn),!l.current)return;if("number"==typeof t)return void n.go(t);let s=Or(t,JSON.parse(i),a,"path"===o.relative);null==e&&"/"!==r&&(s.pathname="/"===s.pathname?r:Tr([r,s.pathname])),(o.replace?n.replace:n.push)(s,o.state,o)},[r,n,i,a,e])}()}var an=t.createContext(null);function ln(){let{matches:e}=t.useContext(Qr),r=e[e.length-1];return r?r.params:{}}function sn(e,{relative:r}={}){let{matches:n}=t.useContext(Qr),{pathname:o}=tn(),a=JSON.stringify($r(n));return t.useMemo(()=>Or(e,JSON.parse(a),o,"path"===r),[e,a,o,r])}function un(e,r,n){ar(en(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=t.useContext(Yr),{matches:a}=t.useContext(Qr),i=a[a.length-1],l=i?i.params:{},s=i?i.pathname:"/",u=i?i.pathnameBase:"/",c=i&&i.route;{let e=c&&c.path||"";vn(s,!c||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let d,p=tn();if(r){let e="string"==typeof r?cr(r):r;ar("/"===u||e.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=p;let f=d.pathname||"/",m=f;if("/"!==u){let e=u.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(e.length).join("/")}let h=dr(e,{pathname:m});ir(c||null!=h,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),ir(null==h||void 0!==h[h.length-1].route.element||void 0!==h[h.length-1].route.Component||void 0!==h[h.length-1].route.lazy,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let _=function(e,r=[],n){let o=n?.state;if(null==e){if(!o)return null;if(o.errors)e=o.matches;else{if(0!==r.length||o.initialized||!(o.matches.length>0))return null;e=o.matches}}let a=e,i=o?.errors;if(null!=i){let e=a.findIndex(e=>e.route.id&&void 0!==i?.[e.route.id]);ar(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),a=a.slice(0,Math.min(a.length,e+1))}let l=!1,s=-1;if(n&&o){l=o.renderFallback;for(let e=0;e<a.length;e++){let t=a[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:r}=o,i=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!r||void 0===r[t.route.id]);if(t.route.lazy||i){n.isStatic&&(l=!0),a=s>=0?a.slice(0,s+1):[a[0]];break}}}}let u=n?.onError,c=o&&u?(e,t)=>{u(e,{location:o.location,params:o.matches?.[0]?.params??{},unstable_pattern:Ar(o.matches),errorInfo:t})}:void 0;return a.reduceRight((e,n,u)=>{let d,p=!1,f=null,m=null;o&&(d=i&&n.route.id?i[n.route.id]:void 0,f=n.route.errorElement||dn,l&&(s<0&&0===u?(vn("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),p=!0,m=null):s===u&&(p=!0,m=n.route.hydrateFallbackElement||null)));let h=r.concat(a.slice(0,u+1)),_=()=>{let r;return r=d?f:p?m:n.route.Component?t.createElement(n.route.Component,null):n.route.element?n.route.element:e,t.createElement(hn,{match:n,routeContext:{outlet:e,matches:h,isDataRoute:null!=o},children:r})};return o&&(n.route.ErrorBoundary||n.route.errorElement||0===u)?t.createElement(pn,{location:o.location,revalidation:o.revalidation,component:f,error:d,children:_(),routeContext:{outlet:null,matches:h,isDataRoute:!0},onError:c}):_()},null)}(h&&h.map(e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:Tr([u,o.encodeLocation?o.encodeLocation(e.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:Tr([u,o.encodeLocation?o.encodeLocation(e.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),a,n);return r&&_?t.createElement(Kr.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...d},navigationType:"POP"}},_):_}function cn(){let e=function(){let e=t.useContext(Xr),r=function(e){let r=t.useContext(Gr);return ar(r,_n(e)),r}("useRouteError"),n=gn("useRouteError");return void 0!==e?e:r.errors?.[n]}(),r=Dr(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:o},i={padding:"2px 4px",backgroundColor:o},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=t.createElement(t.Fragment,null,t.createElement("p",null,"💿 Hey developer 👋"),t.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",t.createElement("code",{style:i},"ErrorBoundary")," or"," ",t.createElement("code",{style:i},"errorElement")," prop on your route.")),t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},r),n?t.createElement("pre",{style:a},n):null,l)}var dn=t.createElement(cn,null),pn=class extends t.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&"object"==typeof e&&e&&"digest"in e&&"string"==typeof e.digest){const t=function(e){if(e.startsWith(`${Zr}:ROUTE_ERROR_RESPONSE:{`))try{let t=JSON.parse(e.slice(40));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText)return new Mr(t.status,t.statusText,t.data)}catch{}}(e.digest);t&&(e=t)}let r=void 0!==e?t.createElement(Qr.Provider,{value:this.props.routeContext},t.createElement(Xr.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?t.createElement(mn,{error:e},r):r}};pn.contextType=qr;var fn=new WeakMap;function mn({children:e,error:r}){let{basename:n}=t.useContext(Yr);if("object"==typeof r&&r&&"digest"in r&&"string"==typeof r.digest){let e=function(e){if(e.startsWith(`${Zr}:REDIRECT:{`))try{let t=JSON.parse(e.slice(28));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"string"==typeof t.location&&"boolean"==typeof t.reloadDocument&&"boolean"==typeof t.replace)return t}catch{}}(r.digest);if(e){let o=fn.get(r);if(o)throw o;let a=Wr(e.location,n);if(Ur&&!fn.get(r)){if(!a.isExternal&&!e.reloadDocument){const t=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:e.replace}));throw fn.set(r,t),t}window.location.href=a.absoluteURL||a.to}return t.createElement("meta",{httpEquiv:"refresh",content:`0;url=${a.absoluteURL||a.to}`})}}return e}function hn({routeContext:e,match:r,children:n}){let o=t.useContext(Br);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),t.createElement(Qr.Provider,{value:e},n)}function _n(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function gn(e){let r=function(e){let r=t.useContext(Qr);return ar(r,_n(e)),r}(e),n=r.matches[r.matches.length-1];return ar(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}var bn={};function vn(e,t,r){t||bn[e]||(bn[e]=!0,ir(!1,r))}function yn({basename:e,children:r,initialEntries:n,initialIndex:o,unstable_useTransitions:a}){let i=t.useRef();null==i.current&&(i.current=function(e={}){let t,{initialEntries:r=["/"],initialIndex:n,v5Compat:o=!1}=e;t=r.map((e,t)=>c(e,"string"==typeof e?null:e.state,0===t?"default":void 0,"string"==typeof e?void 0:e.unstable_mask));let a=s(null==n?t.length-1:n),i="POP",l=null;function s(e){return Math.min(Math.max(e,0),t.length-1)}function u(){return t[a]}function c(e,r=null,n,o){let a=sr(t?u().pathname:"/",e,r,n,o);return ir("/"===a.pathname.charAt(0),`relative pathnames are not supported in memory history: ${JSON.stringify(e)}`),a}function d(e){return"string"==typeof e?e:ur(e)}return{get index(){return a},get action(){return i},get location(){return u()},createHref:d,createURL:e=>new URL(d(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?cr(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,r){i="PUSH";let n=or(e)?e:c(e,r);a+=1,t.splice(a,t.length,n),o&&l&&l({action:i,location:n,delta:1})},replace(e,r){i="REPLACE";let n=or(e)?e:c(e,r);t[a]=n,o&&l&&l({action:i,location:n,delta:0})},go(e){i="POP";let r=s(a+e),n=t[r];a=r,l&&l({action:i,location:n,delta:e})},listen:e=>(l=e,()=>{l=null})}}({initialEntries:n,initialIndex:o,v5Compat:!0}));let l=i.current,[s,u]=t.useState({action:l.action,location:l.location}),c=t.useCallback(e=>{!1===a?u(e):t.startTransition(()=>u(e))},[a]);return t.useLayoutEffect(()=>l.listen(c),[l,c]),t.createElement(Cn,{basename:e,children:r,location:s.location,navigationType:s.action,navigator:l,unstable_useTransitions:a})}function wn({to:e,replace:r,state:n,relative:o}){ar(en(),"<Navigate> may be used only in the context of a <Router> component.");let{static:a}=t.useContext(Yr);ir(!a,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:i}=t.useContext(Qr),{pathname:l}=tn(),s=on(),u=Or(e,$r(i),l,"path"===o),c=JSON.stringify(u);return t.useEffect(()=>{s(JSON.parse(c),{replace:r,state:n,relative:o})},[s,c,o,r,n]),null}function xn(e){return function(e){let r=t.useContext(Qr).outlet;return t.useMemo(()=>r&&t.createElement(an.Provider,{value:e},r),[r,e])}(e.context)}function kn(e){ar(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Cn({basename:e="/",children:r=null,location:n,navigationType:o="POP",navigator:a,static:i=!1,unstable_useTransitions:l}){ar(!en(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),u=t.useMemo(()=>({basename:s,navigator:a,static:i,unstable_useTransitions:l,future:{}}),[s,a,i,l]);"string"==typeof n&&(n=cr(n));let{pathname:c="/",search:d="",hash:p="",state:f=null,key:m="default",unstable_mask:h}=n,_=t.useMemo(()=>{let e=Rr(c,s);return null==e?null:{location:{pathname:e,search:d,hash:p,state:f,key:m,unstable_mask:h},navigationType:o}},[s,c,d,p,f,m,o,h]);return ir(null!=_,`<Router basename="${s}"> is not able to match the URL "${c}${d}${p}" because it does not start with the basename, so the <Router> won't render anything.`),null==_?null:t.createElement(Yr.Provider,{value:u},t.createElement(Kr.Provider,{children:r,value:_}))}function Rn({children:e,location:t}){return un(En(e),t)}function En(e,r=[]){let n=[];return t.Children.forEach(e,(e,o)=>{if(!t.isValidElement(e))return;let a=[...r,o];if(e.type===t.Fragment)return void n.push.apply(n,En(e.props.children,a));ar(e.type===kn,`[${"string"==typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),ar(!e.props.index||!e.props.children,"An index route cannot have child routes.");let i={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=En(e.props.children,a)),n.push(i)}),n}t.memo(function({routes:e,future:t,state:r,isStatic:n,onError:o}){return un(e,void 0,{state:r,isStatic:n,onError:o,future:t})}),t.Component;var Sn="get",Pn="application/x-www-form-urlencoded";function $n(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement}var On=null,Ln=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Tn(e){return null==e||Ln.has(e)?e:(ir(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Pn}"`),null)}function jn(e,t){if(!1===e||null==e)throw new Error(t)}function Nn(e,t,r,n){let o="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return r?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${n}`:o.pathname=`${o.pathname}.${n}`:"/"===o.pathname?o.pathname=`_root.${n}`:t&&"/"===Rr(o.pathname,t)?o.pathname=`${jr(t)}/_root.${n}`:o.pathname=`${jr(o.pathname)}.${n}`,o}function zn(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function Fn(e,t,r,n,o,a){let i=(e,t)=>!r[t]||e.route.id!==r[t].route.id,l=(e,t)=>r[t].pathname!==e.pathname||r[t].route.path?.endsWith("*")&&r[t].params["*"]!==e.params["*"];return"assets"===a?t.filter((e,t)=>i(e,t)||l(e,t)):"data"===a?t.filter((t,a)=>{let s=n.routes[t.route.id];if(!s||!s.hasLoader)return!1;if(i(t,a)||l(t,a))return!0;if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof n)return n}return!0}):[]}function Mn(e,t,{includeHydrateFallback:r}={}){return n=e.map(e=>{let n=t.routes[e.route.id];if(!n)return[];let o=[n.module];return n.clientActionModule&&(o=o.concat(n.clientActionModule)),n.clientLoaderModule&&(o=o.concat(n.clientLoaderModule)),r&&n.hydrateFallbackModule&&(o=o.concat(n.hydrateFallbackModule)),n.imports&&(o=o.concat(n.imports)),o}).flat(1),[...new Set(n)];var n}function Dn(){let e=t.useContext(Br);return jn(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function An(){let e=t.useContext(Gr);return jn(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Un=t.createContext(void 0);function Wn(){let e=t.useContext(Un);return jn(e,"You must render this element inside a <HydratedRouter> element"),e}function Hn(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function In({page:e,...r}){let n=Jr(),{router:o}=Dn(),a=t.useMemo(()=>dr(o.routes,e,o.basename),[o.routes,e,o.basename]);return a?n?t.createElement(Bn,{page:e,matches:a,...r}):t.createElement(Gn,{page:e,matches:a,...r}):null}function Bn({page:e,matches:r,...n}){let o=tn(),{future:a}=Wn(),{basename:i}=Dn(),l=t.useMemo(()=>{if(e===o.pathname+o.search+o.hash)return[];let t=Nn(e,i,a.unstable_trailingSlashAwareDataRequests,"rsc"),n=!1,l=[];for(let e of r)"function"==typeof e.route.shouldRevalidate?n=!0:l.push(e.route.id);return n&&l.length>0&&t.searchParams.set("_routes",l.join(",")),[t.pathname+t.search]},[i,a.unstable_trailingSlashAwareDataRequests,e,o,r]);return t.createElement(t.Fragment,null,l.map(e=>t.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n})))}function Gn({page:e,matches:r,...n}){let o=tn(),{future:a,manifest:i,routeModules:l}=Wn(),{basename:s}=Dn(),{loaderData:u,matches:c}=An(),d=t.useMemo(()=>Fn(e,r,c,i,o,"data"),[e,r,c,i,o]),p=t.useMemo(()=>Fn(e,r,c,i,o,"assets"),[e,r,c,i,o]),f=t.useMemo(()=>{if(e===o.pathname+o.search+o.hash)return[];let t=new Set,n=!1;if(r.forEach(e=>{let r=i.routes[e.route.id];r&&r.hasLoader&&(!d.some(t=>t.route.id===e.route.id)&&e.route.id in u&&l[e.route.id]?.shouldRevalidate||r.hasClientLoader?n=!0:t.add(e.route.id))}),0===t.size)return[];let c=Nn(e,s,a.unstable_trailingSlashAwareDataRequests,"data");return n&&t.size>0&&c.searchParams.set("_routes",r.filter(e=>t.has(e.route.id)).map(e=>e.route.id).join(",")),[c.pathname+c.search]},[s,a.unstable_trailingSlashAwareDataRequests,u,o,i,d,r,e,l]),m=t.useMemo(()=>Mn(p,i),[p,i]),h=function(e){let{manifest:r,routeModules:n}=Wn(),[o,a]=t.useState([]);return t.useEffect(()=>{let t=!1;return async function(e,t,r){return function(e,t){let r=new Set;return new Set(t),e.reduce((e,t)=>{let n=JSON.stringify(function(e){let t={},r=Object.keys(e).sort();for(let n of r)t[n]=e[n];return t}(t));return r.has(n)||(r.add(n),e.push({key:n,link:t})),e},[])}((await Promise.all(e.map(async e=>{let n=t.routes[e.route.id];if(n){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}(n,r);return e.links?e.links():[]}return[]}))).flat(1).filter(zn).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"}))}(e,r,n).then(e=>{t||a(e)}),()=>{t=!0}},[e,r,n]),o}(p);return t.createElement(t.Fragment,null,f.map(e=>t.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n})),m.map(e=>t.createElement("link",{key:e,rel:"modulepreload",href:e,...n})),h.map(({key:e,link:r})=>t.createElement("link",{key:e,nonce:n.nonce,...r,crossOrigin:r.crossOrigin??n.crossOrigin})))}Un.displayName="FrameworkContext";function qn(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}t.Component;var Jn="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{Jn&&(window.__reactRouterVersion="7.14.1")}catch(ne){}function Vn({basename:e,children:r,unstable_useTransitions:n,window:o}){let a=t.useRef();null==a.current&&(a.current=function(e={}){return function(e,t,r,n={}){let{window:o=document.defaultView,v5Compat:a=!1}=n,i=o.history,l="POP",s=null,u=c();function c(){return(i.state||{idx:null}).idx}function d(){l="POP";let e=c(),t=null==e?null:e-u;u=e,s&&s({action:l,location:f.location,delta:t})}function p(e){return function(e,t=!1){let r="http://localhost";"undefined"!=typeof window&&(r="null"!==window.location.origin?window.location.origin:window.location.href),ar(r,"No window.location.(origin|href) available to create URL");let n="string"==typeof e?e:ur(e);return n=n.replace(/ $/,"%20"),!t&&n.startsWith("//")&&(n=r+n),new URL(n,r)}(e)}null==u&&(u=0,i.replaceState({...i.state,idx:u},""));let f={get action(){return l},get location(){return e(o,i)},listen(e){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(nr,d),s=e,()=>{o.removeEventListener(nr,d),s=null}},createHref:e=>t(o,e),createURL:p,encodeLocation(e){let t=p(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){l="PUSH";let n=or(e)?e:sr(f.location,e,t);r&&r(n,e),u=c()+1;let d=lr(n,u),p=f.createHref(n.unstable_mask||n);try{i.pushState(d,"",p)}catch(m){if(m instanceof DOMException&&"DataCloneError"===m.name)throw m;o.location.assign(p)}a&&s&&s({action:l,location:f.location,delta:1})},replace:function(e,t){l="REPLACE";let n=or(e)?e:sr(f.location,e,t);r&&r(n,e),u=c();let o=lr(n,u),d=f.createHref(n.unstable_mask||n);i.replaceState(o,"",d),a&&s&&s({action:l,location:f.location,delta:0})},go:e=>i.go(e)};return f}(function(e,t){let{pathname:r="/",search:n="",hash:o=""}=cr(e.location.hash.substring(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),sr("",{pathname:r,search:n,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:ur(t))},function(e,t){ir("/"===e.pathname.charAt(0),`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)},e)}({window:o,v5Compat:!0}));let i=a.current,[l,s]=t.useState({action:i.action,location:i.location}),u=t.useCallback(e=>{!1===n?s(e):t.startTransition(()=>s(e))},[n]);return t.useLayoutEffect(()=>i.listen(u),[i,u]),t.createElement(Cn,{basename:e,children:r,location:l.location,navigationType:l.action,navigator:i,unstable_useTransitions:n})}var Yn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Kn=t.forwardRef(function({onClick:e,discover:r="render",prefetch:n="none",relative:o,reloadDocument:a,replace:i,unstable_mask:l,state:s,target:u,to:c,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:f,...m},h){let{basename:_,navigator:g,unstable_useTransitions:b}=t.useContext(Yr),v="string"==typeof c&&Yn.test(c),y=Wr(c,_),w=function(e,{relative:r}={}){ar(en(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:o}=t.useContext(Yr),{hash:a,pathname:i,search:l}=sn(e,{relative:r}),s=i;return"/"!==n&&(s="/"===i?n:Tr([n,i])),o.createHref({pathname:s,search:l,hash:a})}(c=y.to,{relative:o}),x=tn(),k=null;if(l){let e=Or(l,[],x.unstable_mask?x.unstable_mask.pathname:"/",!0);"/"!==_&&(e.pathname="/"===e.pathname?_:Tr([_,e.pathname])),k=g.createHref(e)}let[C,R,E]=function(e,r){let n=t.useContext(Un),[o,a]=t.useState(!1),[i,l]=t.useState(!1),{onFocus:s,onBlur:u,onMouseEnter:c,onMouseLeave:d,onTouchStart:p}=r,f=t.useRef(null);t.useEffect(()=>{if("render"===e&&l(!0),"viewport"===e){let e=new IntersectionObserver(e=>{e.forEach(e=>{l(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),t.useEffect(()=>{if(o){let e=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(e)}}},[o]);let m=()=>{a(!0)},h=()=>{a(!1),l(!1)};return n?"intent"!==e?[i,f,{}]:[i,f,{onFocus:Hn(s,m),onBlur:Hn(u,h),onMouseEnter:Hn(c,m),onMouseLeave:Hn(d,h),onTouchStart:Hn(p,m)}]:[!1,f,{}]}(n,m),S=function(e,{target:r,replace:n,unstable_mask:o,state:a,preventScrollReset:i,relative:l,viewTransition:s,unstable_defaultShouldRevalidate:u,unstable_useTransitions:c}={}){let d=on(),p=tn(),f=sn(e,{relative:l});return t.useCallback(m=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(m,r)){m.preventDefault();let r=void 0!==n?n:ur(p)===ur(f),h=()=>d(e,{replace:r,unstable_mask:o,state:a,preventScrollReset:i,relative:l,viewTransition:s,unstable_defaultShouldRevalidate:u});c?t.startTransition(()=>h()):h()}},[p,d,f,n,o,a,r,e,i,l,s,u,c])}(c,{replace:i,unstable_mask:l,state:s,target:u,preventScrollReset:d,relative:o,viewTransition:p,unstable_defaultShouldRevalidate:f,unstable_useTransitions:b}),P=!(y.isExternal||a),$=t.createElement("a",{...m,...E,href:(P?k:void 0)||y.absoluteURL||w,onClick:P?function(t){e&&e(t),t.defaultPrevented||S(t)}:e,ref:qn(h,R),target:u,"data-discover":v||"render"!==r?void 0:"true"});return C&&!v?t.createElement(t.Fragment,null,$,t.createElement(In,{page:w})):$});Kn.displayName="Link";var Qn=t.forwardRef(function({"aria-current":e="page",caseSensitive:r=!1,className:n="",end:o=!1,style:a,to:i,viewTransition:l,children:s,...u},c){let d=sn(i,{relative:u.relative}),p=tn(),f=t.useContext(Gr),{navigator:m,basename:h}=t.useContext(Yr),_=null!=f&&function(e,{relative:r}={}){let n=t.useContext(Vr);ar(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=Zn("useViewTransitionState"),a=sn(e,{relative:r});if(!n.isTransitioning)return!1;let i=Rr(n.currentLocation.pathname,o)||n.currentLocation.pathname,l=Rr(n.nextLocation.pathname,o)||n.nextLocation.pathname;return null!=kr(a.pathname,l)||null!=kr(a.pathname,i)}(d)&&!0===l,g=m.encodeLocation?m.encodeLocation(d).pathname:d.pathname,b=p.pathname,v=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;r||(b=b.toLowerCase(),v=v?v.toLowerCase():null,g=g.toLowerCase()),v&&h&&(v=Rr(v,h)||v);const y="/"!==g&&g.endsWith("/")?g.length-1:g.length;let w,x=b===g||!o&&b.startsWith(g)&&"/"===b.charAt(y),k=null!=v&&(v===g||!o&&v.startsWith(g)&&"/"===v.charAt(g.length)),C={isActive:x,isPending:k,isTransitioning:_},R=x?e:void 0;w="function"==typeof n?n(C):[n,x?"active":null,k?"pending":null,_?"transitioning":null].filter(Boolean).join(" ");let E="function"==typeof a?a(C):a;return t.createElement(Kn,{...u,"aria-current":R,className:w,ref:c,style:E,to:i,viewTransition:l},"function"==typeof s?s(C):s)});Qn.displayName="NavLink";var Xn=t.forwardRef(({discover:e="render",fetcherKey:r,navigate:n,reloadDocument:o,replace:a,state:i,method:l=Sn,action:s,onSubmit:u,relative:c,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:f,...m},h)=>{let{unstable_useTransitions:_}=t.useContext(Yr),g=function(){let{router:e}=Zn("useSubmit"),{basename:r}=t.useContext(Yr),n=gn("useRouteId"),o=e.fetch,a=e.navigate;return t.useCallback(async(e,t={})=>{let{action:i,method:l,encType:s,formData:u,body:c}=function(e,t){let r,n,o,a,i;if($n(l=e)&&"form"===l.tagName.toLowerCase()){let i=e.getAttribute("action");n=i?Rr(i,t):null,r=e.getAttribute("method")||Sn,o=Tn(e.getAttribute("enctype"))||Pn,a=new FormData(e)}else if(function(e){return $n(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return $n(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||i.getAttribute("action");if(n=l?Rr(l,t):null,r=e.getAttribute("formmethod")||i.getAttribute("method")||Sn,o=Tn(e.getAttribute("formenctype"))||Tn(i.getAttribute("enctype"))||Pn,a=new FormData(i,e),!function(){if(null===On)try{new FormData(document.createElement("form"),0),On=!1}catch(ne){On=!0}return On}()){let{name:t,type:r,value:n}=e;if("image"===r){let e=t?`${t}.`:"";a.append(`${e}x`,"0"),a.append(`${e}y`,"0")}else t&&a.append(t,n)}}else{if($n(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Sn,n=null,o=Pn,i=e}var l;return a&&"text/plain"===o&&(i=a,a=void 0),{action:n,method:r.toLowerCase(),encType:o,formData:a,body:i}}(e,r);!1===t.navigate?await o(t.fetcherKey||to(),n,t.action||i,{unstable_defaultShouldRevalidate:t.unstable_defaultShouldRevalidate,preventScrollReset:t.preventScrollReset,formData:u,body:c,formMethod:t.method||l,formEncType:t.encType||s,flushSync:t.flushSync}):await a(t.action||i,{unstable_defaultShouldRevalidate:t.unstable_defaultShouldRevalidate,preventScrollReset:t.preventScrollReset,formData:u,body:c,formMethod:t.method||l,formEncType:t.encType||s,replace:t.replace,state:t.state,fromRouteId:n,flushSync:t.flushSync,viewTransition:t.viewTransition})},[o,a,r,n])}(),b=function(e,{relative:r}={}){let{basename:n}=t.useContext(Yr),o=t.useContext(Qr);ar(o,"useFormAction must be used inside a RouteContext");let[a]=o.matches.slice(-1),i={...sn(e||".",{relative:r})},l=tn();if(null==e){i.search=l.search;let e=new URLSearchParams(i.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let r=e.toString();i.search=r?`?${r}`:""}}return e&&"."!==e||!a.route.index||(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),"/"!==n&&(i.pathname="/"===i.pathname?n:Tr([n,i.pathname])),ur(i)}(s,{relative:c}),v="get"===l.toLowerCase()?"get":"post",y="string"==typeof s&&Yn.test(s);return t.createElement("form",{ref:h,method:v,action:b,onSubmit:o?u:e=>{if(u&&u(e),e.defaultPrevented)return;e.preventDefault();let o=e.nativeEvent.submitter,s=o?.getAttribute("formmethod")||l,m=()=>g(o||e.currentTarget,{fetcherKey:r,method:s,navigate:n,replace:a,state:i,relative:c,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:f});_&&!1!==n?t.startTransition(()=>m()):m()},...m,"data-discover":y||"render"!==e?void 0:"true"})});function Zn(e){let r=t.useContext(Br);return ar(r,function(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),r}Xn.displayName="Form";var eo=0,to=()=>`__${String(++eo)}__`;Object.defineProperty(exports,"A",{enumerable:!0,get:function(){return fe}}),Object.defineProperty(exports,"C",{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,"F",{enumerable:!0,get:function(){return N}}),Object.defineProperty(exports,"HashRouter",{enumerable:!0,get:function(){return Vn}}),Object.defineProperty(exports,"Link",{enumerable:!0,get:function(){return Kn}}),Object.defineProperty(exports,"MemoryRouter",{enumerable:!0,get:function(){return yn}}),Object.defineProperty(exports,"NavLink",{enumerable:!0,get:function(){return Qn}}),Object.defineProperty(exports,"Navigate",{enumerable:!0,get:function(){return wn}}),Object.defineProperty(exports,"Outlet",{enumerable:!0,get:function(){return xn}}),Object.defineProperty(exports,"R",{enumerable:!0,get:function(){return J}}),Object.defineProperty(exports,"Route",{enumerable:!0,get:function(){return kn}}),Object.defineProperty(exports,"Routes",{enumerable:!0,get:function(){return Rn}}),Object.defineProperty(exports,"S",{enumerable:!0,get:function(){return R}}),Object.defineProperty(exports,"T",{enumerable:!0,get:function(){return me}}),Object.defineProperty(exports,"W",{enumerable:!0,get:function(){return V}}),Object.defineProperty(exports,"X",{enumerable:!0,get:function(){return Y}}),Object.defineProperty(exports,"_",{enumerable:!0,get:function(){return pe}}),Object.defineProperty(exports,"buildCustomFontProxyUrl",{enumerable:!0,get:function(){return Oe}}),Object.defineProperty(exports,"buildGoogleFontStylesheetProxyUrl",{enumerable:!0,get:function(){return Le}}),Object.defineProperty(exports,"clsx",{enumerable:!0,get:function(){return ze}}),Object.defineProperty(exports,"cn",{enumerable:!0,get:function(){return Zt}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return ce}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return ge}}),Object.defineProperty(exports,"getFontCss",{enumerable:!0,get:function(){return je}}),Object.defineProperty(exports,"getStyleObject",{enumerable:!0,get:function(){return rr}}),Object.defineProperty(exports,"k",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"q",{enumerable:!0,get:function(){return he}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return Ee}}),Object.defineProperty(exports,"useLocation",{enumerable:!0,get:function(){return tn}}),Object.defineProperty(exports,"useNavigate",{enumerable:!0,get:function(){return on}}),Object.defineProperty(exports,"useParams",{enumerable:!0,get:function(){return ln}}),Object.defineProperty(exports,"x",{enumerable:!0,get:function(){return _e}}),Object.defineProperty(exports,"y",{enumerable:!0,get:function(){return de}});