@qratilabs/qrati-connect 2.7.3 → 2.8.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.
- package/CHANGELOG.md +7 -0
- package/element/{B8jogRzT.js → 5CiAlCjU.js} +4 -4
- package/element/BDQCQkX_.js +1 -0
- package/element/BPMOttLj.js +1 -0
- package/element/BVN_VOhG.js +1 -0
- package/element/Bajer8z8.js +17 -0
- package/element/Bf4EqlE2.js +1 -0
- package/element/C8NFfssj.js +8 -0
- package/element/DQu7AGsF.js +1 -0
- package/element/Dqtdp5CD.js +2 -0
- package/element/EgsEX4Mk.js +5 -0
- package/element/ZsvY3_BP.js +32 -0
- package/element/hkAPI6mV.js +1 -0
- package/element/nSrWCryV.js +5 -0
- package/element/web.es.js +419 -419
- package/package.json +1 -1
- package/{element/BjbDXTeP.js → react/-Gc1XJZE.js} +4 -4
- package/react/2j0Uva3f.js +2 -0
- package/react/5Kn_YMsi.js +5 -0
- package/react/BHul_-9n.js +1 -0
- package/react/BMpF19BV.js +1 -0
- package/react/BOcElY6J.js +1 -0
- package/react/BW8JB9yA.js +1 -0
- package/react/B_X6sOg3.js +1 -0
- package/react/BfMBYO4b.js +1 -0
- package/react/C72dPYhQ.js +5 -0
- package/react/C83WiqkM.js +1 -0
- package/react/CIEA9OWd.js +1 -0
- package/react/COOPnhZa.js +1 -0
- package/react/CX7kEcm7.js +1 -0
- package/react/CYLiwpjD.js +32 -0
- package/react/{DSAOtDOg.js → CYZuQpl9.js} +4 -4
- package/react/Ca2GW-tU.js +1 -0
- package/react/CbCxF_PL.js +1 -0
- package/react/CjSSZsql.js +1 -0
- package/react/{CDAGXOJa.js → CrKuU6G6.js} +1 -1
- package/react/CzkP4JdG.js +1 -0
- package/react/D3gIYCSb.js +1 -0
- package/react/DEk8rfah.js +1 -0
- package/react/DFgDBn6O.js +17 -0
- package/react/{B57jvRJw.js → T39bw9GN.js} +1 -1
- package/react/index.cjs +1 -1
- package/react/index.mjs +381 -381
- package/react/u07nHbMK.js +1 -0
- package/umd/web.umd.js +1 -1
- package/element/BiQECCnr.js +0 -1
- package/element/COUnPxHl.js +0 -6
- package/element/CkfXzc1_.js +0 -1
- package/element/DGeYAYfl.js +0 -3
- package/element/DXPR6JWg.js +0 -1
- package/element/DqOnDVHH.js +0 -1
- package/element/KwvjdBxj.js +0 -17
- package/element/ThtSVXLE.js +0 -32
- package/element/gajcOMzQ.js +0 -1
- package/element/ojjN3KY4.js +0 -1
- package/react/B0pbGxj0.js +0 -1
- package/react/BBaYBpSS.js +0 -1
- package/react/BUm8-ZtV.js +0 -1
- package/react/Bran9aUe.js +0 -32
- package/react/BzMDry65.js +0 -1
- package/react/CMUYyO6F.js +0 -1
- package/react/CPs8NoX7.js +0 -1
- package/react/CdZcv5CJ.js +0 -1
- package/react/Ce4GGag_.js +0 -1
- package/react/CzNVO0Zz.js +0 -1
- package/react/D6h9tRAZ.js +0 -1
- package/react/DCjmEjZr.js +0 -1
- package/react/DJ-3Sziz.js +0 -1
- package/react/DKvJBrWM.js +0 -8
- package/react/DaQR1Bft.js +0 -1
- package/react/Dbq_PyC6.js +0 -3
- package/react/DdmNkEML.js +0 -1
- package/react/buiUjKpV.js +0 -6
- package/react/dLaHt9rf.js +0 -1
- package/react/mNvBH-um.js +0 -17
- package/react/zrUJi_8F.js +0 -1
- /package/element/{C2ydm0ZD.js → Ccwm5LwS.js} +0 -0
- /package/element/{DUlbZyIi.js → DD-DUfz5.js} +0 -0
- /package/element/{BppxGns9.js → DMDEuqn7.js} +0 -0
- /package/element/{CjmNvKgB.js → DSjmSa7l.js} +0 -0
- /package/element/{CziefUVo.js → ZShDCNL_.js} +0 -0
- /package/react/{DtvJNH06.js → BqRDSbh4.js} +0 -0
- /package/react/{CO70kETi.js → Bqe_56Ho.js} +0 -0
- /package/react/{CvLw8owR.js → BxS4S1Bm.js} +0 -0
- /package/react/{BT55gXKs.js → CCCbXwws.js} +0 -0
- /package/react/{Bxitmzur.js → CEEUMvOM.js} +0 -0
- /package/react/{CR2MwRBM.js → CssqM9iA.js} +0 -0
- /package/react/{CtCRzhKd.js → DV8H8PH6.js} +0 -0
- /package/react/{zyOknCLQ.js → DYyT8DeU.js} +0 -0
- /package/react/{LDusNFdQ.js → DvZVbBR7.js} +0 -0
- /package/react/{D5puLxf7.js → bYucjLbl.js} +0 -0
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{
|
|
2
|
-
return t("div",{class:"w relative mt-3 h-screen sm:mt-6",children:
|
|
1
|
+
import{u as e,v as t}from"./5Kn_YMsi.js";import{N as r,P as o,T as s,n as l}from"./CYLiwpjD.js";var i=o(()=>import("./D3gIYCSb.js")),n=o(()=>import("./BHul_-9n.js")),a=o(()=>import("./u07nHbMK.js")),c=o(()=>import("./CbCxF_PL.js")),p=({events:o,isLoading:p=!1})=>{const{organization:d}=l(),m=e(),g=d?.integrationSettings??{},x=g.mapProvider??"openstreetmap",u=g.mapTilerApiKey??"",f=g.googleMapsApiKey??"",h=g.mapboxApiKey??"",v=o.filter(e=>"number"==typeof e.location?.x&&"number"==typeof e.location?.y),y="openstreetmap"===x&&!u||"google"===x&&!f||"mapbox"===x&&!h,w=e=>{m(s.GALLERY(e))};/* @__PURE__ */
|
|
2
|
+
return t("div",{class:"w relative mt-3 h-screen sm:mt-6",children:p?/* @__PURE__ */t("div",{class:"flex h-full items-center justify-center",children:/* @__PURE__ */t("div",{class:"border-primary bt-transparent size-8 animate-spin rounded-full"})}):y?/* @__PURE__ */t("div",{class:"flex h-full items-center justify-center",children:/* @__PURE__ */t("div",{class:"text-center",children:[
|
|
3
3
|
/* @__PURE__ */t("svg",{xmlns:"http://www.w3.org/2000/svg",class:"text-muted-foreground mx-auto mb-3 size-10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5",children:[/* @__PURE__ */t("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z"}),/* @__PURE__ */t("circle",{cx:"12",cy:"9",r:"2.5"})]}),
|
|
4
4
|
/* @__PURE__ */t("p",{class:"text-foreground",children:"Map API Key Required"}),
|
|
5
|
-
/* @__PURE__ */t("p",{class:"text-muted-foreground mt-1 text-xs",children:"Configure your map provider API key in the integration settings."})]})}):0===
|
|
5
|
+
/* @__PURE__ */t("p",{class:"text-muted-foreground mt-1 text-xs",children:"Configure your map provider API key in the integration settings."})]})}):0===v.length?/* @__PURE__ */t("div",{class:"flex h-full items-center justify-center",children:/* @__PURE__ */t("div",{class:"text-center",children:[
|
|
6
6
|
/* @__PURE__ */t("svg",{xmlns:"http://www.w3.org/2000/svg",class:"text-muted-foreground mx-auto mb-3 size-10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5",children:[/* @__PURE__ */t("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z"}),/* @__PURE__ */t("circle",{cx:"12",cy:"9",r:"2.5"})]}),
|
|
7
7
|
/* @__PURE__ */t("p",{class:"text-foreground tex",children:"No events with location data"}),
|
|
8
|
-
/* @__PURE__ */t("p",{class:"text-muted-foreground mt-1 text-xs",children:"Events need a location to appear on the map."})]})}):/* @__PURE__ */t(
|
|
8
|
+
/* @__PURE__ */t("p",{class:"text-muted-foreground mt-1 text-xs",children:"Events need a location to appear on the map."})]})}):/* @__PURE__ */t(r,{fallback:/* @__PURE__ */t("div",{class:"flex h-full items-center justify-center",children:/* @__PURE__ */t("div",{class:"border-primary rounde size-8 animate-spin border-t-transparent"})}),children:["openstreetmap_free"===x&&/* @__PURE__ */t(i,{events:v,onExplore:w,logoUrl:d?.logoUrl}),"openstreetmap"===x&&/* @__PURE__ */t(n,{is3D:!0,events:v,apiKey:u,onExplore:w,logoUrl:d?.logoUrl}),"mapbox"===x&&/* @__PURE__ */t(c,{events:v,onExplore:w,apiKey:h,is3D:!1,logoUrl:d?.logoUrl}),"google"===x&&/* @__PURE__ */t(a,{events:v,apiKey:f,onExplore:w,logoUrl:d?.logoUrl})]})})};export{p as default};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{E as t,S as e,f as r,v as o,y as n}from"./5Kn_YMsi.js";import*as a from"react";var s=({as:e="div",className:r,threshold:a=.5,rootMargin:s="0px",triggerOnce:l,onChange:i,onClick:h,children:c})=>{const u=n(null),p=n(!1);return t(()=>{const t=u.current;if(!t)return;const e=new IntersectionObserver(t=>{t.forEach(t=>{l&&p.current||(t.isIntersecting&&(p.current=!0),i?.(t.isIntersecting))})},{threshold:a,rootMargin:s});return e.observe(t),()=>e.disconnect()},[a,s,i,l]),/* @__PURE__ */o(e,{ref:u,className:r,onClick:h,children:c})},l=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],i=t=>{let e=0;for(let r=0;r<t.length;r++){let o=t[r];e=83*e+l.indexOf(o)}return e},h=t=>{let e=t/255;return e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},c=t=>{let e=Math.max(0,Math.min(1,t));return e<=.0031308?Math.trunc(12.92*e*255+.5):Math.trunc(255*(1.055*Math.pow(e,.4166666666666667)-.055)+.5)},u=(t,e)=>(t=>t<0?-1:1)(t)*Math.pow(Math.abs(t),e),p=class extends Error{constructor(t){super(t),this.name="ValidationError",this.message=t}},d=t=>{let e=t>>8&255,r=255&t;return[h(t>>16),h(e),h(r)]},f=(t,e)=>{let r=Math.floor(t/361),o=Math.floor(t/19)%19,n=t%19;return[u((r-9)/9,2)*e,u((o-9)/9,2)*e,u((n-9)/9,2)*e]},g=(t,e,r,o)=>{(t=>{if(!t||t.length<6)throw new p("The blurhash string must be at least 6 characters");let e=i(t[0]),r=Math.floor(e/9)+1,o=e%9+1;if(t.length!==4+2*o*r)throw new p(`blurhash length mismatch: length is ${t.length} but it should be ${4+2*o*r}`)})(t),o|=1;let n=i(t[0]),a=Math.floor(n/9)+1,s=n%9+1,l=(i(t[1])+1)/166,h=new Array(s*a);for(let c=0;c<h.length;c++)h[c]=0===c?d(i(t.substring(2,6))):f(i(t.substring(4+2*c,6+2*c)),l*o);let u=4*e,g=new Uint8ClampedArray(u*r);for(let i=0;i<r;i++)for(let t=0;t<e;t++){let o=0,n=0,l=0;for(let c=0;c<a;c++)for(let a=0;a<s;a++){let u=Math.cos(Math.PI*t*a/e)*Math.cos(Math.PI*i*c/r),p=h[a+c*s];o+=p[0]*u,n+=p[1]*u,l+=p[2]*u}let p=c(o),d=c(n),f=c(l);g[4*t+0+i*u]=p,g[4*t+1+i*u]=d,g[4*t+2+i*u]=f,g[4*t+3+i*u]=255}return g},m=Object.defineProperty,b=Object.defineProperties,w=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,j=(t,e,r)=>e in t?m(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,C=(t,e)=>{for(var r in e||(e={}))y.call(e,r)&&j(t,r,e[r]);if(v)for(var r of v(e))M.call(e,r)&&j(t,r,e[r]);return t},O=(t,e)=>b(t,w(e)),x=(t,e)=>{var r={};for(var o in t)y.call(t,o)&&e.indexOf(o)<0&&(r[o]=t[o]);if(null!=t&&v)for(var o of v(t))e.indexOf(o)<0&&M.call(t,o)&&(r[o]=t[o]);return r},E=class extends a.PureComponent{constructor(){super(...arguments),this.canvas=null,this.handleRef=t=>{this.canvas=t,this.draw()},this.draw=()=>{let{hash:t,height:e,punch:r,width:o}=this.props;if(this.canvas){let n=g(t,o,e,r),a=this.canvas.getContext("2d"),s=a.createImageData(o,e);s.data.set(n),a.putImageData(s,0,0)}}}componentDidUpdate(){this.draw()}render(){let t=this.props,{hash:e,height:r,width:o}=t,n=x(t,["hash","height","width"]);return a.createElement("canvas",O(C({},n),{height:r,width:o,ref:this.handleRef}))}};E.defaultProps={height:128,width:128};var P={position:"absolute",top:0,bottom:0,left:0,right:0,width:"100%",height:"100%"},I=class extends a.PureComponent{componentDidUpdate(){if(this.props.resolutionX<=0)throw new Error("resolutionX must be larger than zero");if(this.props.resolutionY<=0)throw new Error("resolutionY must be larger than zero")}render(){let t=this.props,{hash:e,height:r,width:o,punch:n,resolutionX:s,resolutionY:l,style:i}=t,h=x(t,["hash","height","width","punch","resolutionX","resolutionY","style"]);return a.createElement("div",O(C({},h),{style:O(C({display:"inline-block",height:r,width:o},i),{position:"relative"})}),a.createElement(E,{hash:e,height:l,width:s,punch:n,style:P}))}};I.defaultProps={height:128,width:128,resolutionX:32,resolutionY:32};var N=E,k=({src:a,alt:l,threshold:i=.1,rootMargin:h="200px 0px",blurhash:c,containerClassName:u="size-full",wrapperClassName:p,imgClassName:d="",sizeMode:f="cover",position:g="center",delayMs:m=100,delayTime:b,onClick:w})=>{const v=c&&c.length>=6?c:"LEHV6nWB2yk8pyo0adR*.7kCMdnj",[y,M]=e(!1),[j,C]=e(!1),[O,x]=e(!1),E=n(null),P="number"==typeof b?b:m,I=p??u;t(()=>{if(!y)return O?E.current=window.setTimeout(()=>{C(!0)},P):E.current&&(clearTimeout(E.current),E.current=null),()=>{E.current&&clearTimeout(E.current)}},[O,y,P]);const k=j&&O||y;/* @__PURE__ */
|
|
2
|
+
return o(s,{as:"div",className:r(I,"relative overflow-hidden"),threshold:i,rootMargin:h,onChange:t=>x(t),children:[!y&&/* @__PURE__ */o(N,{className:"size-full blur-2xl",hash:v}),k&&a&&/* @__PURE__ */o("img",{alt:l,src:a,onLoad:()=>M(!0),className:r("absolute top-0 left-0 size-full object-center transition-all duration-300",y?"scale-100 opacity-100":"scale-95 opacity-0","contain"===f?"object-contain":"object-cover","top"===g?"object-top":"bottom"===g?"object-bottom":"object-center",d),onClick:t=>w?.(t)})]})};export{g as n,s as r,k as t};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import*as e from"react";var t,n,r,o,a,l,i,s,u,c,d,p,f={},m=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,_=Array.isArray;function g(e,t){for(var n in t)e[n]=t[n];return e}function b(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function v(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 y(e,i,o,a,null)}function y(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 w(e){return e.children}function x(e,t){this.props=e,this.context=t}function k(e,t){if(null==t)return e.__?k(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?k(e):null}function C(e){if(e.__P&&e.__d){var t=e.__v,r=t.__e,o=[],a=[],l=g({},t);l.__v=t.__v+1,n.vnode&&n.vnode(l),M(e.__P,l,t,e.__n,e.__P.namespaceURI,32&t.__u?[r]:null,o,null==r?k(t):r,!!(32&t.__u),a),l.__v=t.__v,l.__.__k[l.__i]=l,D(o,l,a),t.__e=t.__=null,l.__e!=r&&E(l)}}function E(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(e)}function R(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!S.__r++||a!=n.debounceRendering)&&((a=n.debounceRendering)||l)(S)}function S(){try{for(var e,t=1;o.length;)o.length>t&&o.sort(i),e=o.shift(),t=o.length,C(e)}finally{o.length=S.__r=0}}function $(e,t,n,r,o,a,l,i,s,u,c){var d,p,h,g,b,v,x,C=r&&r.__k||m,E=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]=y(null,l,null,null,null):_(l)?l=e.__k[a]=y(w,{children:l},null,null,null):void 0===l.constructor&&l.__b>0?l=e.__k[a]=y(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=L(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=k(i)),W(i,i));return r}(n,t,C,s,E),d=0;d<E;d++)null!=(h=n.__k[d])&&(p=-1!=h.__i&&C[h.__i]||f,h.__i=d,v=M(e,h,p,o,a,l,i,s,u,c),g=h.__e,h.ref&&p.ref!=h.ref&&(p.ref&&j(p.ref,null,h),c.push(h.ref,h.__c||g,h)),null==b&&null!=g&&(b=g),(x=!!(4&h.__u))||p.__k===h.__k?s=P(h,s,e,x):"function"==typeof h.type&&void 0!==v?s=v:g&&(s=g.nextSibling),h.__u&=-7);return n.__e=b,s}function P(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=P(o[a],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=k(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function T(e,t){return t=t||[],null==e||"boolean"==typeof e||(_(e)?e.some(function(e){T(e,t)}):t.push(e)),t}function L(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 N(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||h.test(t)?n:n+"px"}function z(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||N(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||N(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])a=t!=(t=t.replace(s,"$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.u=r.u:(n.u=u,e.addEventListener(t,a?d:c,a)):e.removeEventListener(t,a?d:c,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 F(e){return function(t){if(this.l){var r=this.l[t.type+e];if(null==t.t)t.t=u++;else if(t.t<r.u)return;return r(n.event?n.event(t):t)}}}function M(e,t,r,o,a,l,i,s,u,c){var d,p,f,h,v,y,k,C,E,R,S,P,T,L,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(C=t.props,E=z.prototype&&z.prototype.render,R=(d=z.contextType)&&o[d.__c],S=d?R?R.props.value:d.__:o,r.__c?k=(p=t.__c=r.__c).__=p.__E:(E?t.__c=p=new z(C,S):(t.__c=p=new x(C,S),p.constructor=z,p.render=H),R&&R.sub(p),p.state||(p.state={}),p.__n=o,f=p.__d=!0,p.__h=[],p._sb=[]),E&&null==p.__s&&(p.__s=p.state),E&&null!=z.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=g({},p.__s)),g(p.__s,z.getDerivedStateFromProps(C,p.__s))),h=p.props,v=p.state,p.__v=t,f)E&&null==z.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),E&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(E&&null==z.getDerivedStateFromProps&&C!==h&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(C,S),t.__v==r.__v||!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(C,p.__s,S)){t.__v!=r.__v&&(p.props=C,p.state=p.__s,p.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(e){e&&(e.__=t)}),m.push.apply(p.__h,p._sb),p._sb=[],p.__h.length&&i.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(C,p.__s,S),E&&null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(h,v,y)})}if(p.context=S,p.props=C,p.__P=e,p.__e=!1,P=n.__r,T=0,E)p.state=p.__s,p.__d=!1,P&&P(t),d=p.render(p.props,p.state,p.context),m.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&&++T<25);p.state=p.__s,null!=p.getChildContext&&(o=g(g({},o),p.getChildContext())),E&&!f&&null!=p.getSnapshotBeforeUpdate&&(y=p.getSnapshotBeforeUpdate(h,v)),L=null!=d&&d.type===w&&null==d.key?A(d.props.children):d,s=$(e,_(L)?L:[L],t,r,o,a,l,i,s,u,c),p.base=t.__e,t.__u&=-161,p.__h.length&&i.push(p),k&&(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--;)b(l[N]);O(t)}else t.__e=r.__e,t.__k=r.__k,e.then||O(t);n.__e(e,t,r)}else null==l&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):s=t.__e=U(r.__e,t,r,o,a,l,i,u,c);return(d=n.diffed)&&d(t),128&t.__u?void 0:s}function O(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(O))}function D(e,t,r){for(var o=0;o<r.length;o++)j(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 A(e){return"object"!=typeof e||null==e||e.__b>0?e:_(e)?e.map(A):g({},e)}function U(e,r,o,a,l,i,s,u,c){var d,p,m,h,g,v,y,w=o.props||f,x=r.props,C=r.type;if("svg"==C?l="http://www.w3.org/2000/svg":"math"==C?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((g=i[d])&&"setAttribute"in g==!!C&&(C?g.localName==C:3==g.nodeType)){e=g,i[d]=null;break}if(null==e){if(null==C)return document.createTextNode(x);e=document.createElementNS(l,C,x.is&&x),u&&(n.__m&&n.__m(r,i),u=!1),i=null}if(null==C)w===x||u&&e.data==x||(e.data=x);else{if(i=i&&t.call(e.childNodes),!u&&null!=i)for(w={},d=0;d<e.attributes.length;d++)w[(g=e.attributes[d]).name]=g.value;for(d in w)g=w[d],"dangerouslySetInnerHTML"==d?m=g:"children"==d||d in x||"value"==d&&"defaultValue"in x||"checked"==d&&"defaultChecked"in x||z(e,d,null,g,l);for(d in x)g=x[d],"children"==d?h=g:"dangerouslySetInnerHTML"==d?p=g:"value"==d?v=g:"checked"==d?y=g:u&&"function"!=typeof g||w[d]===g||z(e,d,g,w[d],l);if(p)u||m&&(p.__html==m.__html||p.__html==e.innerHTML)||(e.innerHTML=p.__html),r.__k=[];else if(m&&(e.innerHTML=""),$("template"==r.type?e.content:e,_(h)?h:[h],r,o,a,"foreignObject"==C?"http://www.w3.org/1999/xhtml":l,i,s,i?i[0]:o.__k&&k(o,0),u,c),null!=i)for(d=i.length;d--;)b(i[d]);u||(d="value","progress"==C&&null==v?e.removeAttribute("value"):null!=v&&(v!==e[d]||"progress"==C&&!v||"option"==C&&v!=w[d])&&z(e,d,v,w[d],l),d="checked",null!=y&&y!=e[d]&&z(e,d,y,w[d],l))}return e}function j(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 W(e,t,r){var o,a;if(n.unmount&&n.unmount(e),(o=e.ref)&&(o.current&&o.current!=e.__e||j(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]&&W(o[a],t,r||"function"!=typeof e.type);r||b(e.__e),e.__c=e.__=e.__e=void 0}function H(e,t,n){return this.constructor(e,n)}function I(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=[],M(r,e=(!a&&o||r).__k=v(w,null,[e]),l||f,f,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),D(i,e,s)}function B(e,n,r){var o,a,l,i,s=g({},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),y(e.type,s,o||e.key,a||e.ref,null)}function G(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,R(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"+p++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}t=m.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,x.prototype.setState=function(e,t){var n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=g({},this.state);"function"==typeof e&&(e=e(g({},n),this.props)),e&&g(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),R(this))},x.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),R(this))},x.prototype.render=w,o=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,i=function(e,t){return e.__v.__b-t.__v.__b},S.__r=0,s=/(PointerCapture)$|Capture$/i,u=0,c=F(!1),d=F(!0),p=0;var J,q,V,Y,K=0,Q=[],X=n,Z=X.__b,ee=X.__r,te=X.diffed,ne=X.__c,re=X.unmount,oe=X.__;function ae(e,t){X.__h&&X.__h(q,e,K||t),K=0;var n=q.__H||(q.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function le(e){return K=1,function(e,t){var n=ae(J++,2);if(n.t=e,!n.__c&&(n.__=[ye(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=q,!q.__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};q.__f=!0;var o=q.shouldComponentUpdate,a=q.componentWillUpdate;q.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)},q.shouldComponentUpdate=r}return n.__N||n.__}(ye,e)}function ie(e,t){var n=ae(J++,3);!X.__s&&ve(n.__H,t)&&(n.__=e,n.u=t,q.__H.__h.push(n))}function se(e,t){var n=ae(J++,4);!X.__s&&ve(n.__H,t)&&(n.__=e,n.u=t,q.__h.push(n))}function ue(e){return K=5,ce(function(){return{current:e}},[])}function ce(e,t){var n=ae(J++,7);return ve(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function de(e,t){return K=8,ce(function(){return e},t)}function pe(e){var t=q.context[e.__c],n=ae(J++,9);return n.c=e,t?(n.__??(n.__=!0,t.sub(q)),t.props.value):e.__}function fe(){var e=ae(J++,11);if(!e.__){for(var t=q.__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 me(){for(var e;e=Q.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(ge),t.__h.some(be),t.__h=[]}catch(Te){t.__h=[],X.__e(Te,e.__v)}}}X.__b=function(e){q=null,Z&&Z(e)},X.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),oe&&oe(e,t)},X.__r=function(e){ee&&ee(e),J=0;var t=(q=e.__c).__H;t&&(V===q?(t.__h=[],q.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(ge),t.__h.some(be),t.__h=[],J=0)),V=q},X.diffed=function(e){te&&te(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Q.push(t)&&Y===X.requestAnimationFrame||((Y=X.requestAnimationFrame)||_e)(me)),t.__H.__.some(function(e){e.u&&(e.__H=e.u),e.u=void 0})),V=q=null},X.__c=function(e,t){t.some(function(e){try{e.__h.some(ge),e.__h=e.__h.filter(function(e){return!e.__||be(e)})}catch(Te){t.some(function(e){e.__h&&(e.__h=[])}),t=[],X.__e(Te,e.__v)}}),ne&&ne(e,t)},X.unmount=function(e){re&&re(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(e){try{ge(e)}catch(e){t=e}}),n.__H=void 0,t&&X.__e(t,n.__v))};var he="function"==typeof requestAnimationFrame;function _e(e){var t,n=function(){clearTimeout(r),he&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);he&&(t=requestAnimationFrame(n))}function ge(e){var t=q,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),q=t}function be(e){var t=q;e.__c=e.__(),q=t}function ve(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function ye(e,t){return"function"==typeof t?t(e):t}var we=0;function xe(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:--we,__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 ke='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',Ce=e=>e.trim().replace(/\s+/g," "),Ee=e=>e?.replace(/\/+$/,"")||"",Re=(e,t)=>{const n=Ee(e);return n&&t?`${n}/api/connect/organization/custom-font?organizationId=${encodeURIComponent(t)}`:null},Se=(e,t)=>{const n=Ee(e),r=t?Ce(t):"";return n&&r?`${n}/api/connect/organization/google-font?family=${encodeURIComponent(r)}`:null},$e=e=>{if(!e)return ke;const t=Ce("string"==typeof e?e:e.fontFamily||""),n="string"==typeof e?void 0:e.customFontName;return t&&"system"!==t?"custom"===t?`"${n||"QratiCustomFont"}", ${ke}`:`"${t}", ${ke}`:ke},Pe=(e,t,n)=>{if(!e?.fontFamily||"system"===e.fontFamily)return"";const r=Ce(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=Ce(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 Te(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=Te(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Le(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Te(e))&&(r&&(r+=" "),r+=t);return r}var Ne=(e=/* @__PURE__ */new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),ze="-",Fe=[],Me=e=>{const t=Ae(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return De(e);const n=e.split(ze);return Oe(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||Fe}return n[e]||Fe}}},Oe=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const r=e[t],o=n.nextPart.get(r);if(o){const n=Oe(e,t+1,o);if(n)return n}const a=n.validators;if(null===a)return;const l=0===t?e.join(ze):e.slice(t).join(ze),i=a.length;for(let s=0;s<i;s++){const e=a[s];if(e.validator(l))return e.classGroupId}},De=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})(),Ae=e=>{const{theme:t,classGroups:n}=e;return Ue(n,t)},Ue=(e,t)=>{const n=Ne();for(const r in e){const o=e[r];je(o,n,r,t)}return n},je=(e,t,n,r)=>{const o=e.length;for(let a=0;a<o;a++){const o=e[a];We(o,t,n,r)}},We=(e,t,n,r)=>{"string"!=typeof e?"function"!=typeof e?Be(e,t,n,r):Ie(e,t,n,r):He(e,t,n)},He=(e,t,n)=>{(""===e?t:Ge(t,e)).classGroupId=n},Ie=(e,t,n,r)=>{Je(e)?je(e(r),t,n,r):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(n,e)))},Be=(e,t,n,r)=>{const o=Object.entries(e),a=o.length;for(let l=0;l<a;l++){const[e,a]=o[l];je(a,Ge(t,e),n,r)}},Ge=(e,t)=>{let n=e;const r=t.split(ze),o=r.length;for(let a=0;a<o;a++){const e=r[a];let t=n.nextPart.get(e);t||(t=Ne(),n.nextPart.set(e,t)),n=t}return n},Je=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,qe=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)}}},Ve=[],Ye=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),Ke=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),Ye(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)):Ye(Ve,!1,t,void 0,!0)}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},Qe=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}},Xe=/\s+/,Ze=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Ze(e[r]))&&(n&&(n+=" "),n+=t);return n},et=[],tt=e=>{const t=t=>t[e]||et;return t.isThemeGetter=!0,t},nt=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,rt=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ot=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,at=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lt=/\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$/,it=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,st=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ut=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ct=e=>ot.test(e),dt=e=>!!e&&!Number.isNaN(Number(e)),pt=e=>!!e&&Number.isInteger(Number(e)),ft=e=>e.endsWith("%")&&dt(e.slice(0,-1)),mt=e=>at.test(e),ht=()=>!0,_t=e=>lt.test(e)&&!it.test(e),gt=()=>!1,bt=e=>st.test(e),vt=e=>ut.test(e),yt=e=>!xt(e)&&!Tt(e),wt=e=>At(e,Ht,gt),xt=e=>nt.test(e),kt=e=>At(e,It,_t),Ct=e=>At(e,Bt,dt),Et=e=>At(e,Jt,ht),Rt=e=>At(e,Gt,gt),St=e=>At(e,jt,gt),$t=e=>At(e,Wt,vt),Pt=e=>At(e,qt,bt),Tt=e=>rt.test(e),Lt=e=>Ut(e,It),Nt=e=>Ut(e,Gt),zt=e=>Ut(e,jt),Ft=e=>Ut(e,Ht),Mt=e=>Ut(e,Wt),Ot=e=>Ut(e,qt,!0),Dt=e=>Ut(e,Jt,!0),At=(e,t,n)=>{const r=nt.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Ut=(e,t,n=!1)=>{const r=rt.exec(e);return!!r&&(r[1]?t(r[1]):n)},jt=e=>"position"===e||"percentage"===e,Wt=e=>"image"===e||"url"===e,Ht=e=>"length"===e||"size"===e||"bg-size"===e,It=e=>"length"===e,Bt=e=>"number"===e,Gt=e=>"family-name"===e,Jt=e=>"number"===e||"weight"===e,qt=e=>"shadow"===e,Vt=/* @__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(Xe);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:qe(s.cacheSize),parseClassName:Ke(s),sortModifiers:Qe(s),...Me(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=Ze(t))&&(o&&(o+=" "),o+=n);return o})(...e))})(()=>{const e=tt("color"),t=tt("font"),n=tt("text"),r=tt("font-weight"),o=tt("tracking"),a=tt("leading"),l=tt("breakpoint"),i=tt("container"),s=tt("spacing"),u=tt("radius"),c=tt("shadow"),d=tt("inset-shadow"),p=tt("text-shadow"),f=tt("drop-shadow"),m=tt("blur"),h=tt("perspective"),_=tt("aspect"),g=tt("ease"),b=tt("animate"),v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Tt,xt],y=()=>[Tt,xt,s],w=()=>[ct,"full","auto",...y()],x=()=>[pt,"none","subgrid",Tt,xt],k=()=>["auto",{span:["full",pt,Tt,xt]},pt,Tt,xt],C=()=>[pt,"auto",Tt,xt],E=()=>["auto","min","max","fr",Tt,xt],R=()=>["auto",...y()],S=()=>[ct,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],$=()=>[ct,"screen","full","dvw","lvw","svw","min","max","fit",...y()],P=()=>[ct,"screen","full","lh","dvh","lvh","svh","min","max","fit",...y()],T=()=>[e,Tt,xt],L=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",zt,St,{position:[Tt,xt]}],N=()=>["auto","cover","contain",Ft,wt,{size:[Tt,xt]}],z=()=>[ft,Lt,kt],F=()=>["","none","full",u,Tt,xt],M=()=>["",dt,Lt,kt],O=()=>[dt,ft,zt,St],D=()=>["","none",m,Tt,xt],A=()=>["none",dt,Tt,xt],U=()=>["none",dt,Tt,xt],j=()=>[dt,Tt,xt],W=()=>[ct,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[mt],breakpoint:[mt],color:[ht],container:[mt],"drop-shadow":[mt],ease:["in","out","in-out"],font:[yt],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[mt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[mt],shadow:[mt],spacing:["px",dt],text:[mt],"text-shadow":[mt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ct,xt,Tt,_]}],container:["container"],columns:[{columns:[dt,xt,Tt,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:[pt,"auto",Tt,xt]}],basis:[{basis:[ct,"full","auto",i,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[dt,ct,"auto","initial","none",xt]}],grow:[{grow:["",dt,Tt,xt]}],shrink:[{shrink:["",dt,Tt,xt]}],order:[{order:[pt,"first","last","none",Tt,xt]}],"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,Lt,kt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Dt,Et]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ft,xt]}],"font-family":[{font:[Nt,Rt,t]}],"font-features":[{"font-features":[xt]}],"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,Tt,xt]}],"line-clamp":[{"line-clamp":[dt,"none",Tt,Ct]}],leading:[{leading:[a,...y()]}],"list-image":[{"list-image":["none",Tt,xt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Tt,xt]}],"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:[dt,"from-font","auto",Tt,kt]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[dt,"auto",Tt,xt]}],"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",Tt,xt]}],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",Tt,xt]}],"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"]},pt,Tt,xt],radial:["",Tt,xt],conic:[pt,Tt,xt]},Mt,$t]}],"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":[dt,Tt,xt]}],"outline-w":[{outline:["",dt,Lt,kt]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",c,Ot,Pt]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,Ot,Pt]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[dt,kt]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":M()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",p,Ot,Pt]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[dt,Tt,xt]}],"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":[dt]}],"mask-image-linear-from-pos":[{"mask-linear-from":O()}],"mask-image-linear-to-pos":[{"mask-linear-to":O()}],"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":O()}],"mask-image-t-to-pos":[{"mask-t-to":O()}],"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":O()}],"mask-image-r-to-pos":[{"mask-r-to":O()}],"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":O()}],"mask-image-b-to-pos":[{"mask-b-to":O()}],"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":O()}],"mask-image-l-to-pos":[{"mask-l-to":O()}],"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":O()}],"mask-image-x-to-pos":[{"mask-x-to":O()}],"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":O()}],"mask-image-y-to-pos":[{"mask-y-to":O()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[Tt,xt]}],"mask-image-radial-from-pos":[{"mask-radial-from":O()}],"mask-image-radial-to-pos":[{"mask-radial-to":O()}],"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":[dt]}],"mask-image-conic-from-pos":[{"mask-conic-from":O()}],"mask-image-conic-to-pos":[{"mask-conic-to":O()}],"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",Tt,xt]}],filter:[{filter:["","none",Tt,xt]}],blur:[{blur:D()}],brightness:[{brightness:[dt,Tt,xt]}],contrast:[{contrast:[dt,Tt,xt]}],"drop-shadow":[{"drop-shadow":["","none",f,Ot,Pt]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",dt,Tt,xt]}],"hue-rotate":[{"hue-rotate":[dt,Tt,xt]}],invert:[{invert:["",dt,Tt,xt]}],saturate:[{saturate:[dt,Tt,xt]}],sepia:[{sepia:["",dt,Tt,xt]}],"backdrop-filter":[{"backdrop-filter":["","none",Tt,xt]}],"backdrop-blur":[{"backdrop-blur":D()}],"backdrop-brightness":[{"backdrop-brightness":[dt,Tt,xt]}],"backdrop-contrast":[{"backdrop-contrast":[dt,Tt,xt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",dt,Tt,xt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[dt,Tt,xt]}],"backdrop-invert":[{"backdrop-invert":["",dt,Tt,xt]}],"backdrop-opacity":[{"backdrop-opacity":[dt,Tt,xt]}],"backdrop-saturate":[{"backdrop-saturate":[dt,Tt,xt]}],"backdrop-sepia":[{"backdrop-sepia":["",dt,Tt,xt]}],"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",Tt,xt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[dt,"initial",Tt,xt]}],ease:[{ease:["linear","initial",g,Tt,xt]}],delay:[{delay:[dt,Tt,xt]}],animate:[{animate:["none",b,Tt,xt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,Tt,xt]}],"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:[Tt,xt,"","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",Tt,xt]}],"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",Tt,xt]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[dt,Lt,kt,Ct]}],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"]}}),Yt=(...e)=>Le(Vt(...e.filter(Boolean))),Kt=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"},Qt="px",Xt=(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":Kt(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||Qt}`,"--shadow-outer-vertical-offset":`${o?.outerVerticalOffset||"0"}${o?.unit||Qt}`,"--shadow-outer-blur":`${o?.outerBlur||"0"}${o?.unit||Qt}`,"--shadow-outer-spread":`${o?.outerSpread||"0"}${o?.unit||Qt}`,"--font-family":$e(a)}},Zt="popstate";function en(e){return"object"==typeof e&&null!=e&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function tn(e,t){if(!1===e||null==e)throw new Error(t)}function nn(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(Z){}}}function rn(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 on(e,t,n=null,r,o){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?ln(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10),unstable_mask:o}}function an({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 ln(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 sn(e,t,n="/"){return function(e,t,n){let r=xn(("string"==typeof t?ln(t):t).pathname||"/",n);if(null==r)return null;let o=un(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=wn(r);a=vn(o[l],e,false)}return a}(e,t,n)}function un(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;tn(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=$n([r,s.relativePath]),c=n.concat(s);e.children&&e.children.length>0&&(tn(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),un(e.children,t,c,u,l)),(null!=e.path||e.index)&&t.push({path:u,score:bn(u,e.index),routesMeta:c})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of cn(e.path))a(e,t,!0,n);else a(e,t)}),t}function cn(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=cn(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 dn=/^:[\w-]+$/,pn=3,fn=2,mn=1,hn=10,_n=-2,gn=e=>"*"===e;function bn(e,t){let n=e.split("/"),r=n.length;return n.some(gn)&&(r+=_n),t&&(r+=fn),n.filter(e=>!gn(e)).reduce((e,t)=>e+(dn.test(t)?pn:""===t?mn:hn),r)}function vn(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=yn({path:e.relativePath,caseSensitive:e.caseSensitive,end:s},u),d=e.route;if(!c&&s&&n&&!r[r.length-1].route.index&&(c=yn({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},u)),!c)return null;Object.assign(o,c.params),l.push({params:o,pathname:$n([a,c.pathname]),pathnameBase:Pn($n([a,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(a=$n([a,c.pathnameBase]))}return l}function yn(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t=!1,n=!0){nn("*"===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 wn(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return nn(!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 xn(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 kn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Cn(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}function En(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 Rn(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 Sn(e,t,n,r=!1){let o;"string"==typeof e?o=ln(e):(o={...e},tn(!o.pathname||!o.pathname.includes("?"),En("?","pathname","search",o)),tn(!o.pathname||!o.pathname.includes("#"),En("#","pathname","hash",o)),tn(!o.search||!o.search.includes("#"),En("#","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?ln(e):e;return r?(r=r.replace(/\/\/+/g,"/"),n=r.startsWith("/")?Cn(r.substring(1),"/"):Cn(r,t)):n=t,{pathname:n,search:Tn(o),hash:Ln(a)}}(o,a),u=i&&"/"!==i&&i.endsWith("/"),c=(l||"."===i)&&n.endsWith("/");return s.pathname.endsWith("/")||!u&&!c||(s.pathname+="/"),s}var $n=e=>e.join("/").replace(/\/\/+/g,"/"),Pn=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Tn=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Ln=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",Nn=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 zn(e){return e.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Fn="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function Mn(e,t){let n=e;if("string"!=typeof n||!kn.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,o=!1;if(Fn)try{let e=new URL(window.location.href),r=n.startsWith("//")?new URL(e.protocol+n):new URL(n),a=xn(r.pathname,t);r.origin===e.origin&&null!=a?n=a+r.search+r.hash:o=!0}catch(Z){nn(!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 On=["POST","PUT","PATCH","DELETE"],Dn=(new Set(On),["GET",...On]),An=(new Set(Dn),e.createContext(null));An.displayName="DataRouter";var Un=e.createContext(null);Un.displayName="DataRouterState";var jn=e.createContext(!1),Wn=e.createContext({isTransitioning:!1});Wn.displayName="ViewTransition",e.createContext(/* @__PURE__ */new Map).displayName="Fetchers",e.createContext(null).displayName="Await";var Hn=e.createContext(null);Hn.displayName="Navigation";var In=e.createContext(null);In.displayName="Location";var Bn=e.createContext({outlet:null,matches:[],isDataRoute:!1});Bn.displayName="Route";var Gn=e.createContext(null);Gn.displayName="RouteError";var Jn="REACT_ROUTER_ERROR";function qn(){return null!=e.useContext(In)}function Vn(){return tn(qn(),"useLocation() may be used only in the context of a <Router> component."),e.useContext(In).location}var Yn="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Kn(t){e.useContext(Hn).static||e.useLayoutEffect(t)}function Qn(){let{isDataRoute:t}=e.useContext(Bn);return t?function(){let{router:t}=function(){let t=e.useContext(An);return tn(t,sr("useNavigate")),t}(),n=ur("useNavigate"),r=e.useRef(!1);return Kn(()=>{r.current=!0}),e.useCallback(async(e,o={})=>{nn(r.current,Yn),r.current&&("number"==typeof e?await t.navigate(e):await t.navigate(e,{fromRouteId:n,...o}))},[t,n])}():function(){tn(qn(),"useNavigate() may be used only in the context of a <Router> component.");let t=e.useContext(An),{basename:n,navigator:r}=e.useContext(Hn),{matches:o}=e.useContext(Bn),{pathname:a}=Vn(),l=JSON.stringify(Rn(o)),i=e.useRef(!1);return Kn(()=>{i.current=!0}),e.useCallback((e,o={})=>{if(nn(i.current,Yn),!i.current)return;if("number"==typeof e)return void r.go(e);let s=Sn(e,JSON.parse(l),a,"path"===o.relative);null==t&&"/"!==n&&(s.pathname="/"===s.pathname?n:$n([n,s.pathname])),(o.replace?r.replace:r.push)(s,o.state,o)},[n,r,l,a,t])}()}var Xn=e.createContext(null);function Zn(){let{matches:t}=e.useContext(Bn),n=t[t.length-1];return n?n.params:{}}function er(t,{relative:n}={}){let{matches:r}=e.useContext(Bn),{pathname:o}=Vn(),a=JSON.stringify(Rn(r));return e.useMemo(()=>Sn(t,JSON.parse(a),o,"path"===n),[t,a,o,n])}function tr(t,n,r){tn(qn(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=e.useContext(Hn),{matches:a}=e.useContext(Bn),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||"";dr(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=Vn();if(n){let e="string"==typeof n?ln(n):n;tn("/"===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=sn(t,{pathname:m});nn(c||null!=h,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),nn(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]);tn(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:zn(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||rr,i&&(s<0&&0===u?(dr("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(ir,{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(or,{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:$n([u,o.encodeLocation?o.encodeLocation(e.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:$n([u,o.encodeLocation?o.encodeLocation(e.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),a,r);return n&&_?/* @__PURE__ */e.createElement(In.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...d},navigationType:"POP"}},_):_}function nr(){let t=function(){let t=e.useContext(Gn),n=function(t){let n=e.useContext(Un);return tn(n,sr(t)),n}("useRouteError"),r=ur("useRouteError");return void 0!==t?t:n.errors?.[r]}(),n=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(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 rr=/* @__PURE__ */e.createElement(nr,null),or=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(`${Jn}: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 Nn(t.status,t.statusText,t.data)}catch{}}(t.digest);e&&(t=e)}let n=void 0!==t?/* @__PURE__ */e.createElement(Bn.Provider,{value:this.props.routeContext},/* @__PURE__ */e.createElement(Gn.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?/* @__PURE__ */e.createElement(lr,{error:t},n):n}};or.contextType=jn;var ar=/* @__PURE__ */new WeakMap;function lr({children:t,error:n}){let{basename:r}=e.useContext(Hn);if("object"==typeof n&&n&&"digest"in n&&"string"==typeof n.digest){let t=function(e){if(e.startsWith(`${Jn}: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=ar.get(n);if(o)throw o;let a=Mn(t.location,r);if(Fn&&!ar.get(n)){if(!a.isExternal&&!t.reloadDocument){const e=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:t.replace}));throw ar.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 ir({routeContext:t,match:n,children:r}){let o=e.useContext(An);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),/* @__PURE__ */e.createElement(Bn.Provider,{value:t},r)}function sr(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function ur(t){let n=function(t){let n=e.useContext(Bn);return tn(n,sr(t)),n}(t),r=n.matches[n.matches.length-1];return tn(r.route.id,`${t} can only be used on routes that contain a unique "id"`),r.route.id}var cr={};function dr(e,t,n){t||cr[e]||(cr[e]=!0,nn(!1,n))}function pr({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=on(t?u().pathname:"/",e,n,r,o);return nn("/"===a.pathname.charAt(0),`relative pathnames are not supported in memory history: ${JSON.stringify(e)}`),a}function d(e){return"string"==typeof e?e:an(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?ln(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,n){l="PUSH";let r=en(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=en(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(_r,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i,unstable_useTransitions:a})}function fr({to:t,replace:n,state:r,relative:o}){tn(qn(),"<Navigate> may be used only in the context of a <Router> component.");let{static:a}=e.useContext(Hn);nn(!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(Bn),{pathname:i}=Vn(),s=Qn(),u=Sn(t,Rn(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 mr(t){return function(t){let n=e.useContext(Bn).outlet;return e.useMemo(()=>n&&/* @__PURE__ */e.createElement(Xn.Provider,{value:t},n),[n,t])}(t.context)}function hr(e){tn(!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 _r({basename:t="/",children:n=null,location:r,navigationType:o="POP",navigator:a,static:l=!1,unstable_useTransitions:i}){tn(!qn(),"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=ln(r));let{pathname:c="/",search:d="",hash:p="",state:f=null,key:m="default",unstable_mask:h}=r,_=e.useMemo(()=>{let e=xn(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 nn(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(Hn.Provider,{value:u},/* @__PURE__ */e.createElement(In.Provider,{children:n,value:_}))}function gr({children:e,location:t}){return tr(br(e),t)}function br(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,br(t.props.children,a));tn(t.type===hr,`[${"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>`),tn(!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=br(t.props.children,a)),r.push(l)}),r}e.useOptimistic,e.memo(function({routes:e,future:t,state:n,isStatic:r,onError:o}){return tr(e,void 0,{state:n,isStatic:r,onError:o,future:t})});var vr="get",yr="application/x-www-form-urlencoded";function wr(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement}var xr=null,kr=/* @__PURE__ */new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Cr(e){return null==e||kr.has(e)?e:(nn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${yr}"`),null)}function Er(e,t){if(!1===e||null==e)throw new Error(t)}function Rr(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 Sr(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 $r(){let t=e.useContext(An);return Er(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Pr=e.createContext(void 0);function Tr(){let t=e.useContext(Pr);return Er(t,"You must render this element inside a <HydratedRouter> element"),t}function Lr(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Nr({page:t,...n}){let{router:r}=$r(),o=e.useMemo(()=>sn(r.routes,t,r.basename),[r.routes,t,r.basename]);return o?/* @__PURE__ */e.createElement(zr,{page:t,matches:o,...n}):null}function zr({page:t,matches:n,...r}){let o=Vn(),{future:a,manifest:l,routeModules:i}=Tr(),{basename:s}=$r(),{loaderData:u,matches:c}=function(){let t=e.useContext(Un);return Er(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}(),d=e.useMemo(()=>Sr(t,n,c,l,o,"data"),[t,n,c,l,o]),p=e.useMemo(()=>Sr(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=function(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&&"/"===xn(o.pathname,t)?o.pathname=`${t.replace(/\/$/,"")}/_root.${r}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${r}`,o}(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(()=>function(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}(p,l),[p,l]),h=function(t){let{manifest:n,routeModules:r}=Tr(),[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(Rr).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__ */
|
|
3
|
+
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})))}function Fr(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}Pr.displayName="FrameworkContext";var Mr="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{Mr&&(window.__reactRouterVersion="7.13.1")}catch(Z){}function Or({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),tn(n,"No window.location.(origin|href) available to create URL");let r="string"==typeof e?e:an(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(Zt,d),s=e,()=>{o.removeEventListener(Zt,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=en(e)?e:on(f.location,e,t);n&&n(r,e),u=c()+1;let d=rn(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=en(e)?e:on(f.location,e,t);n&&n(r,e),u=c();let o=rn(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=""}=ln(e.location.hash.substring(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),on("",{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:an(t))},function(e,t){nn("/"===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(_r,{basename:t,children:n,location:i.location,navigationType:i.action,navigator:l,unstable_useTransitions:r})}var Dr=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ar=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(Hn),v="string"==typeof c&&Dr.test(c),y=Mn(c,_),w=function(t,{relative:n}={}){tn(qn(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:o}=e.useContext(Hn),{hash:a,pathname:l,search:i}=er(t,{relative:n}),s=l;return"/"!==r&&(s="/"===l?r:$n([r,l])),o.createHref({pathname:s,search:i,hash:a})}(c=y.to,{relative:o}),x=Vn(),k=null;if(i){let e=Sn(i,[],x.unstable_mask?x.unstable_mask.pathname:"/",!0);"/"!==_&&(e.pathname="/"===e.pathname?_:$n([_,e.pathname])),k=g.createHref(e)}let[C,E,R]=function(t,n){let r=e.useContext(Pr),[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:Lr(s,m),onBlur:Lr(u,h),onMouseEnter:Lr(c,m),onMouseLeave:Lr(d,h),onTouchStart:Lr(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=Qn(),p=Vn(),f=er(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:an(p)===an(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:Fr(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(Nr,{page:w})):P});Ar.displayName="Link";var Ur=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=er(l,{relative:u.relative}),p=Vn(),f=e.useContext(Un),{navigator:m,basename:h}=e.useContext(Hn),_=null!=f&&function(t,{relative:n}={}){let r=e.useContext(Wn);tn(null!=r,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=Wr("useViewTransitionState"),a=er(t,{relative:n});if(!r.isTransitioning)return!1;let l=xn(r.currentLocation.pathname,o)||r.currentLocation.pathname,i=xn(r.nextLocation.pathname,o)||r.nextLocation.pathname;return null!=yn(a.pathname,i)||null!=yn(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=xn(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__ */
|
|
4
|
+
return e.createElement(Ar,{...u,"aria-current":E,className:w,ref:c,style:R,to:l,viewTransition:i},"function"==typeof s?s(C):s)});Ur.displayName="NavLink";var jr=e.forwardRef(({discover:t="render",fetcherKey:n,navigate:r,reloadDocument:o,replace:a,state:l,method:i=vr,action:s,onSubmit:u,relative:c,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:f,...m},h)=>{let{unstable_useTransitions:_}=e.useContext(Hn),g=function(){let{router:t}=Wr("useSubmit"),{basename:n}=e.useContext(Hn),r=ur("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(wr(i=e)&&"form"===i.tagName.toLowerCase()){let l=e.getAttribute("action");r=l?xn(l,t):null,n=e.getAttribute("method")||vr,o=Cr(e.getAttribute("enctype"))||yr,a=new FormData(e)}else if(function(e){return wr(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return wr(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?xn(i,t):null,n=e.getAttribute("formmethod")||l.getAttribute("method")||vr,o=Cr(e.getAttribute("formenctype"))||Cr(l.getAttribute("enctype"))||yr,a=new FormData(l,e),!function(){if(null===xr)try{new FormData(document.createElement("form"),0),xr=!1}catch(Z){xr=!0}return xr}()){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(wr(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=vr,r=null,o=yr,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||Ir(),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(Hn),o=e.useContext(Bn);tn(o,"useFormAction must be used inside a RouteContext");let[a]=o.matches.slice(-1),l={...er(t||".",{relative:n})},i=Vn();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:$n([r,l.pathname])),an(l)}(s,{relative:c}),v="get"===i.toLowerCase()?"get":"post",y="string"==typeof s&&Dr.test(s);/* @__PURE__ */
|
|
5
|
+
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 Wr(t){let n=e.useContext(An);return tn(n,function(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}(t)),n}jr.displayName="Form";var Hr=0,Ir=()=>`__${String(++Hr)}__`;export{G as A,fe as C,I as D,ie as E,w as M,n as N,T as O,x as P,le as S,pe as T,Pe as _,fr as a,ce as b,gr as c,Zn as d,Yt as f,Se as g,Re as h,Ur as i,v as j,B as k,Vn as l,Le as m,Ar as n,mr as o,Xt as p,pr as r,hr as s,Or as t,Qn as u,xe as v,de as w,se as x,ue as y};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./DqRj45SJ.js";import{D as t,E as r,r as n,v as o,y as i}from"./5Kn_YMsi.js";import{t as s}from"./BOcElY6J.js";import{t as a}from"./B_X6sOg3.js";import"./2j0Uva3f.js";import{t as l}from"./C72dPYhQ.js";var c=new a,u=(e,r,i)=>{t(/* @__PURE__ */o(s,{client:c,children:/* @__PURE__ */o(n,{children:/* @__PURE__ */o(l,{event:e,onExplore:i})})}),r)},d=({events:t,apiKey:n,is3D:s,onExplore:a,logoUrl:l})=>{const c=i(null),d=i(null),p=i(s);return r(()=>{if(!c.current||d.current)return;let r;return(async()=>{const o=(await import("./DvZVbBR7.js").then(t=>/* @__PURE__ */e(t.default,1))).default;if(await Promise.resolve({ }),!c.current)return;const i=new o.Map({container:c.current,style:`https://api.maptiler.com/maps/streets-v2/style.json?key=${n}`,center:[0,20],zoom:4,minZoom:2,pitch:0,bearing:0,projection:p.current?{type:"globe"}:{type:"mercator"},canvasContextAttributes:{antialias:!0}});d.current=i,i.on("load",()=>{const e=i.getStyle()?.layers??[];let r,n;for(const t of e){const e=t;"symbol"===e.type&&e.layout?.["text-field"]&&!r&&(r=t.id),"building"!==e["source-layer"]||n||(n=e.source)}n&&!i.getLayer("3d-buildings")&&i.addLayer({id:"3d-buildings",source:n,"source-layer":"building",filter:["has","render_height"],type:"fill-extrusion",minzoom:14,paint:{"fill-extrusion-color":["interpolate",["linear"],["get","render_height"],0,"lightgray",200,"royalblue",400,"lightblue"],"fill-extrusion-height":["interpolate",["linear"],["zoom"],14,0,15,["get","render_height"]],"fill-extrusion-base":["case",["has","render_min_height"],["get","render_min_height"],0],"fill-extrusion-opacity":.6}},r);const s=t.filter(e=>"number"==typeof e.location?.x&&"number"==typeof e.location?.y);if(0===s.length)return;const c=new o.LngLatBounds;for(const t of s){const e=t.location.x,r=t.location.y;c.extend([e,r]);const n=document.createElement("div");if(n.className="qrati-map-marker",n.style.cssText="\n width: 36px; height: 36px; cursor: pointer;\n background: var(--primary, #ff4800);\n border-radius: 50% 50% 50% 0;\n transform: rotate(-45deg);\n border: 2px solid white;\n box-shadow: 0 2px 8px rgba(0,0,0,0.3);\n display: flex; align-items: center; justify-content: center; overflow: hidden;\n ",l){const e=document.createElement("img");e.src=l,e.style.cssText="width: 24px; height: 24px; border-radius: 50%; object-fit: cover; transform: rotate(45deg);",n.appendChild(e)}const s=document.createElement("div");u(t,s,a);const d=new o.Popup({closeButton:!0,closeOnClick:!1,maxWidth:"none",offset:[0,-34]}).setDOMContent(s);new o.Marker({element:n}).setLngLat([e,r]).setPopup(d).addTo(i)}c.isEmpty()||i.fitBounds(c,{padding:{top:60,bottom:60,left:60,right:60},maxZoom:14,animate:!0,duration:1200})}),r=()=>{i.remove(),d.current=null}})(),()=>{r?.()}},[n]),r(()=>{d.current&&(p.current=s,d.current.setProjection(s?{type:"globe"}:{type:"mercator"}),d.current.easeTo({pitch:0,bearing:0,duration:600}))},[s]),/* @__PURE__ */o("div",{ref:c,class:"size-full"})};export{d as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./D4geS7mP.js");let t=require("react");t=e.__toESM(t);var r,n,o,a,i,l,s,u,c,d,p,f,m={},h=[],_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,b=Array.isArray;function g(e,t){for(var r in t)e[r]=t[r];return e}function v(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function y(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 w(e,l,o,a,null)}function w(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 x(e){return e.children}function k(e,t){this.props=e,this.context=t}function C(e,t){if(null==t)return e.__?C(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?C(e):null}function R(e){if(e.__P&&e.__d){var t=e.__v,r=t.__e,o=[],a=[],i=g({},t);i.__v=t.__v+1,n.vnode&&n.vnode(i),F(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[r]:null,o,null==r?C(t):r,!!(32&t.__u),a),i.__v=t.__v,i.__.__k[i.__i]=i,D(o,i,a),t.__e=t.__=null,i.__e!=r&&E(i)}}function E(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(e)}function S(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!P.__r++||i!=n.debounceRendering)&&((i=n.debounceRendering)||l)(P)}function P(){try{for(var e,t=1;a.length;)a.length>t&&a.sort(s),e=a.shift(),t=a.length,R(e)}finally{a.length=P.__r=0}}function $(e,t,r,n,o,a,i,l,s,u,c){var d,p,f,_,g,v,y,k=n&&n.__k||h,R=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]=w(null,i,null,null,null):b(i)?i=e.__k[a]=w(x,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?i=e.__k[a]=w(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=T(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=C(l)),H(l,l));return n}(r,t,k,s,R),d=0;d<R;d++)null!=(f=r.__k[d])&&(p=-1!=f.__i&&k[f.__i]||m,f.__i=d,v=F(e,f,p,o,a,i,l,s,u,c),_=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&W(p.ref,null,f),c.push(f.ref,f.__c||_,f)),null==g&&null!=_&&(g=_),(y=!!(4&f.__u))||p.__k===f.__k?s=O(f,s,e,y):"function"==typeof f.type&&void 0!==v?s=v:_&&(s=_.nextSibling),f.__u&=-7);return r.__e=g,s}function O(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=O(o[a],t,r,n));return t}e.__e!=t&&(n&&(t&&e.type&&!t.parentNode&&(t=C(e)),r.insertBefore(e.__e,t||null)),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function L(e,t){return t=t||[],null==e||"boolean"==typeof e||(b(e)?e.some(function(e){L(e,t)}):t.push(e)),t}function T(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 j(e,t,r){"-"==t[0]?e.setProperty(t,null==r?"":r):e[t]=null==r?"":"number"!=typeof r||_.test(t)?r:r+"px"}function N(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||j(e.style,t,"");if(r)for(t in r)n&&r[t]==n[t]||j(e.style,t,r[t])}else if("o"==t[0]&&"n"==t[1])a=t!=(t=t.replace(u,"$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.u=n.u:(r.u=c,e.addEventListener(t,a?p:d,a)):e.removeEventListener(t,a?p:d,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 z(e){return function(t){if(this.l){var r=this.l[t.type+e];if(null==t.t)t.t=c++;else if(t.t<r.u)return;return r(n.event?n.event(t):t)}}}function F(e,t,r,o,a,i,l,s,u,c){var d,p,f,m,_,y,w,C,R,E,S,P,O,L,T,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(C=t.props,R=j.prototype&&j.prototype.render,E=(d=j.contextType)&&o[d.__c],S=d?E?E.props.value:d.__:o,r.__c?w=(p=t.__c=r.__c).__=p.__E:(R?t.__c=p=new j(C,S):(t.__c=p=new k(C,S),p.constructor=j,p.render=I),E&&E.sub(p),p.state||(p.state={}),p.__n=o,f=p.__d=!0,p.__h=[],p._sb=[]),R&&null==p.__s&&(p.__s=p.state),R&&null!=j.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=g({},p.__s)),g(p.__s,j.getDerivedStateFromProps(C,p.__s))),m=p.props,_=p.state,p.__v=t,f)R&&null==j.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),R&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(R&&null==j.getDerivedStateFromProps&&C!==m&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(C,S),t.__v==r.__v||!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(C,p.__s,S)){t.__v!=r.__v&&(p.props=C,p.state=p.__s,p.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(e){e&&(e.__=t)}),h.push.apply(p.__h,p._sb),p._sb=[],p.__h.length&&l.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(C,p.__s,S),R&&null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(m,_,y)})}if(p.context=S,p.props=C,p.__P=e,p.__e=!1,P=n.__r,O=0,R)p.state=p.__s,p.__d=!1,P&&P(t),d=p.render(p.props,p.state,p.context),h.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&&++O<25);p.state=p.__s,null!=p.getChildContext&&(o=g(g({},o),p.getChildContext())),R&&!f&&null!=p.getSnapshotBeforeUpdate&&(y=p.getSnapshotBeforeUpdate(m,_)),L=null!=d&&d.type===x&&null==d.key?U(d.props.children):d,s=$(e,b(L)?L:[L],t,r,o,a,i,l,s,u,c),p.base=t.__e,t.__u&=-161,p.__h.length&&l.push(p),w&&(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(T=i.length;T--;)v(i[T]);M(t)}else t.__e=r.__e,t.__k=r.__k,e.then||M(t);n.__e(e,t,r)}else null==i&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):s=t.__e=A(r.__e,t,r,o,a,i,l,u,c);return(d=n.diffed)&&d(t),128&t.__u?void 0:s}function M(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(M))}function D(e,t,r){for(var o=0;o<r.length;o++)W(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 U(e){return"object"!=typeof e||null==e||e.__b>0?e:b(e)?e.map(U):g({},e)}function A(e,t,o,a,i,l,s,u,c){var d,p,f,h,_,g,y,w=o.props||m,x=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((_=l[d])&&"setAttribute"in _==!!k&&(k?_.localName==k:3==_.nodeType)){e=_,l[d]=null;break}if(null==e){if(null==k)return document.createTextNode(x);e=document.createElementNS(i,k,x.is&&x),u&&(n.__m&&n.__m(t,l),u=!1),l=null}if(null==k)w===x||u&&e.data==x||(e.data=x);else{if(l=l&&r.call(e.childNodes),!u&&null!=l)for(w={},d=0;d<e.attributes.length;d++)w[(_=e.attributes[d]).name]=_.value;for(d in w)_=w[d],"dangerouslySetInnerHTML"==d?f=_:"children"==d||d in x||"value"==d&&"defaultValue"in x||"checked"==d&&"defaultChecked"in x||N(e,d,null,_,i);for(d in x)_=x[d],"children"==d?h=_:"dangerouslySetInnerHTML"==d?p=_:"value"==d?g=_:"checked"==d?y=_:u&&"function"!=typeof _||w[d]===_||N(e,d,_,w[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=""),$("template"==t.type?e.content:e,b(h)?h:[h],t,o,a,"foreignObject"==k?"http://www.w3.org/1999/xhtml":i,l,s,l?l[0]:o.__k&&C(o,0),u,c),null!=l)for(d=l.length;d--;)v(l[d]);u||(d="value","progress"==k&&null==g?e.removeAttribute("value"):null!=g&&(g!==e[d]||"progress"==k&&!g||"option"==k&&g!=w[d])&&N(e,d,g,w[d],i),d="checked",null!=y&&y!=e[d]&&N(e,d,y,w[d],i))}return e}function W(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 H(e,t,r){var o,a;if(n.unmount&&n.unmount(e),(o=e.ref)&&(o.current&&o.current!=e.__e||W(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]&&H(o[a],t,r||"function"!=typeof e.type);r||v(e.__e),e.__c=e.__=e.__e=void 0}function I(e,t,r){return this.constructor(e,r)}function B(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=[],F(t,e=(!a&&o||t).__k=y(x,null,[e]),i||m,m,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),D(l,e,s)}function G(e,t,n){var o,a,i,l,s=g({},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),w(e.type,s,o||e.key,a||e.ref,null)}function q(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,S(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"+f++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}r=h.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,k.prototype.setState=function(e,t){var r=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=g({},this.state);"function"==typeof e&&(e=e(g({},r),this.props)),e&&g(r,e),null!=e&&this.__v&&(t&&this._sb.push(t),S(this))},k.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},k.prototype.render=x,a=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=function(e,t){return e.__v.__b-t.__v.__b},P.__r=0,u=/(PointerCapture)$|Capture$/i,c=0,d=z(!1),p=z(!0),f=0;var J,V,Y,K,Q=0,X=[],Z=n,ee=Z.__b,te=Z.__r,re=Z.diffed,ne=Z.__c,oe=Z.unmount,ae=Z.__;function ie(e,t){Z.__h&&Z.__h(V,e,Q||t),Q=0;var r=V.__H||(V.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function le(e){return Q=1,function(e,t){var r=ie(J++,2);if(r.t=e,!r.__c&&(r.__=[we(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=V,!V.__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};V.__f=!0;var o=V.shouldComponentUpdate,a=V.componentWillUpdate;V.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)},V.shouldComponentUpdate=n}return r.__N||r.__}(we,e)}function se(e,t){var r=ie(J++,3);!Z.__s&&ye(r.__H,t)&&(r.__=e,r.u=t,V.__H.__h.push(r))}function ue(e,t){var r=ie(J++,4);!Z.__s&&ye(r.__H,t)&&(r.__=e,r.u=t,V.__h.push(r))}function ce(e){return Q=5,de(function(){return{current:e}},[])}function de(e,t){var r=ie(J++,7);return ye(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function pe(e,t){return Q=8,de(function(){return e},t)}function fe(e){var t=V.context[e.__c],r=ie(J++,9);return r.c=e,t?(r.__??(r.__=!0,t.sub(V)),t.props.value):e.__}function me(){var e=ie(J++,11);if(!e.__){for(var t=V.__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 he(){for(var e;e=X.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(ge),t.__h.some(ve),t.__h=[]}catch(Le){t.__h=[],Z.__e(Le,e.__v)}}}Z.__b=function(e){V=null,ee&&ee(e)},Z.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ae&&ae(e,t)},Z.__r=function(e){te&&te(e),J=0;var t=(V=e.__c).__H;t&&(Y===V?(t.__h=[],V.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(ge),t.__h.some(ve),t.__h=[],J=0)),Y=V},Z.diffed=function(e){re&&re(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==X.push(t)&&K===Z.requestAnimationFrame||((K=Z.requestAnimationFrame)||be)(he)),t.__H.__.some(function(e){e.u&&(e.__H=e.u),e.u=void 0})),Y=V=null},Z.__c=function(e,t){t.some(function(e){try{e.__h.some(ge),e.__h=e.__h.filter(function(e){return!e.__||ve(e)})}catch(Le){t.some(function(e){e.__h&&(e.__h=[])}),t=[],Z.__e(Le,e.__v)}}),ne&&ne(e,t)},Z.unmount=function(e){oe&&oe(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.some(function(e){try{ge(e)}catch(e){t=e}}),r.__H=void 0,t&&Z.__e(t,r.__v))};var _e="function"==typeof requestAnimationFrame;function be(e){var t,r=function(){clearTimeout(n),_e&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,35);_e&&(t=requestAnimationFrame(r))}function ge(e){var t=V,r=e.__c;"function"==typeof r&&(e.__c=void 0,r()),V=t}function ve(e){var t=V;e.__c=e.__(),V=t}function ye(e,t){return!e||e.length!==t.length||t.some(function(t,r){return t!==e[r]})}function we(e,t){return"function"==typeof t?t(e):t}var xe=0;function ke(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:--xe,__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 Ce='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',Re=e=>e.trim().replace(/\s+/g," "),Ee=e=>e?.replace(/\/+$/,"")||"",Se=(e,t)=>{const r=Ee(e);return r&&t?`${r}/api/connect/organization/custom-font?organizationId=${encodeURIComponent(t)}`:null},Pe=(e,t)=>{const r=Ee(e),n=t?Re(t):"";return r&&n?`${r}/api/connect/organization/google-font?family=${encodeURIComponent(n)}`:null},$e=e=>{if(!e)return Ce;const t=Re("string"==typeof e?e:e.fontFamily||""),r="string"==typeof e?void 0:e.customFontName;return t&&"system"!==t?"custom"===t?`"${r||"QratiCustomFont"}", ${Ce}`:`"${t}", ${Ce}`:Ce},Oe=(e,t,r)=>{if(!e?.fontFamily||"system"===e.fontFamily)return"";const n=Re(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=Re(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 Le(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=Le(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Te(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Le(e))&&(n&&(n+=" "),n+=t);return n}var je=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),Ne="-",ze=[],Fe=e=>{const t=Ue(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return De(e);const r=e.split(Ne);return Me(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||ze}return r[e]||ze}}},Me=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const n=e[t],o=r.nextPart.get(n);if(o){const r=Me(e,t+1,o);if(r)return r}const a=r.validators;if(null===a)return;const i=0===t?e.join(Ne):e.slice(t).join(Ne),l=a.length;for(let s=0;s<l;s++){const e=a[s];if(e.validator(i))return e.classGroupId}},De=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})(),Ue=e=>{const{theme:t,classGroups:r}=e;return Ae(r,t)},Ae=(e,t)=>{const r=je();for(const n in e){const o=e[n];We(o,r,n,t)}return r},We=(e,t,r,n)=>{const o=e.length;for(let a=0;a<o;a++){const o=e[a];He(o,t,r,n)}},He=(e,t,r,n)=>{"string"!=typeof e?"function"!=typeof e?Ge(e,t,r,n):Be(e,t,r,n):Ie(e,t,r)},Ie=(e,t,r)=>{(""===e?t:qe(t,e)).classGroupId=r},Be=(e,t,r,n)=>{Je(e)?We(e(n),t,r,n):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(r,e)))},Ge=(e,t,r,n)=>{const o=Object.entries(e),a=o.length;for(let i=0;i<a;i++){const[e,a]=o[i];We(a,qe(t,e),r,n)}},qe=(e,t)=>{let r=e;const n=t.split(Ne),o=n.length;for(let a=0;a<o;a++){const e=n[a];let t=r.nextPart.get(e);t||(t=je(),r.nextPart.set(e,t)),r=t}return r},Je=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,Ve=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)}}},Ye=[],Ke=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),Qe=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),Ke(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)):Ke(Ye,!1,t,void 0,!0)}if(r){const e=n;n=t=>r({className:t,parseClassName:e})}return n},Xe=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}},Ze=/\s+/,et=e=>{if("string"==typeof e)return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=et(e[n]))&&(r&&(r+=" "),r+=t);return r},tt=[],rt=e=>{const t=t=>t[e]||tt;return t.isThemeGetter=!0,t},nt=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ot=/^\((?:(\w[\w-]*):)?(.+)\)$/i,at=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,it=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lt=/\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$/,st=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ut=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ct=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,dt=e=>at.test(e),pt=e=>!!e&&!Number.isNaN(Number(e)),ft=e=>!!e&&Number.isInteger(Number(e)),mt=e=>e.endsWith("%")&&pt(e.slice(0,-1)),ht=e=>it.test(e),_t=()=>!0,bt=e=>lt.test(e)&&!st.test(e),gt=()=>!1,vt=e=>ut.test(e),yt=e=>ct.test(e),wt=e=>!kt(e)&&!Lt(e),xt=e=>Ut(e,It,gt),kt=e=>nt.test(e),Ct=e=>Ut(e,Bt,bt),Rt=e=>Ut(e,Gt,pt),Et=e=>Ut(e,Jt,_t),St=e=>Ut(e,qt,gt),Pt=e=>Ut(e,Wt,gt),$t=e=>Ut(e,Ht,yt),Ot=e=>Ut(e,Vt,vt),Lt=e=>ot.test(e),Tt=e=>At(e,Bt),jt=e=>At(e,qt),Nt=e=>At(e,Wt),zt=e=>At(e,It),Ft=e=>At(e,Ht),Mt=e=>At(e,Vt,!0),Dt=e=>At(e,Jt,!0),Ut=(e,t,r)=>{const n=nt.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},At=(e,t,r=!1)=>{const n=ot.exec(e);return!!n&&(n[1]?t(n[1]):r)},Wt=e=>"position"===e||"percentage"===e,Ht=e=>"image"===e||"url"===e,It=e=>"length"===e||"size"===e||"bg-size"===e,Bt=e=>"length"===e,Gt=e=>"number"===e,qt=e=>"family-name"===e,Jt=e=>"number"===e||"weight"===e,Vt=e=>"shadow"===e,Yt=((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(Ze);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(":"),b=d?_+"!":_,g=b+h;if(i.indexOf(g)>-1)continue;i.push(g);const v=o(h,m);for(let r=0;r<v.length;++r){const e=v[r];i.push(b+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:Ve(s.cacheSize),parseClassName:Qe(s),sortModifiers:Xe(s),...Fe(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=et(t))&&(o&&(o+=" "),o+=r);return o})(...e))})(()=>{const e=rt("color"),t=rt("font"),r=rt("text"),n=rt("font-weight"),o=rt("tracking"),a=rt("leading"),i=rt("breakpoint"),l=rt("container"),s=rt("spacing"),u=rt("radius"),c=rt("shadow"),d=rt("inset-shadow"),p=rt("text-shadow"),f=rt("drop-shadow"),m=rt("blur"),h=rt("perspective"),_=rt("aspect"),b=rt("ease"),g=rt("animate"),v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Lt,kt],y=()=>[Lt,kt,s],w=()=>[dt,"full","auto",...y()],x=()=>[ft,"none","subgrid",Lt,kt],k=()=>["auto",{span:["full",ft,Lt,kt]},ft,Lt,kt],C=()=>[ft,"auto",Lt,kt],R=()=>["auto","min","max","fr",Lt,kt],E=()=>["auto",...y()],S=()=>[dt,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],P=()=>[dt,"screen","full","dvw","lvw","svw","min","max","fit",...y()],$=()=>[dt,"screen","full","lh","dvh","lvh","svh","min","max","fit",...y()],O=()=>[e,Lt,kt],L=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Nt,Pt,{position:[Lt,kt]}],T=()=>["auto","cover","contain",zt,xt,{size:[Lt,kt]}],j=()=>[mt,Tt,Ct],N=()=>["","none","full",u,Lt,kt],z=()=>["",pt,Tt,Ct],F=()=>[pt,mt,Nt,Pt],M=()=>["","none",m,Lt,kt],D=()=>["none",pt,Lt,kt],U=()=>["none",pt,Lt,kt],A=()=>[pt,Lt,kt],W=()=>[dt,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ht],breakpoint:[ht],color:[_t],container:[ht],"drop-shadow":[ht],ease:["in","out","in-out"],font:[wt],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ht],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ht],shadow:[ht],spacing:["px",pt],text:[ht],"text-shadow":[ht],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",dt,kt,Lt,_]}],container:["container"],columns:[{columns:[pt,kt,Lt,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:[ft,"auto",Lt,kt]}],basis:[{basis:[dt,"full","auto",l,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[pt,dt,"auto","initial","none",kt]}],grow:[{grow:["",pt,Lt,kt]}],shrink:[{shrink:["",pt,Lt,kt]}],order:[{order:[ft,"first","last","none",Lt,kt]}],"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,Tt,Ct]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,Dt,Et]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",mt,kt]}],"font-family":[{font:[jt,St,t]}],"font-features":[{"font-features":[kt]}],"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,Lt,kt]}],"line-clamp":[{"line-clamp":[pt,"none",Lt,Rt]}],leading:[{leading:[a,...y()]}],"list-image":[{"list-image":["none",Lt,kt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Lt,kt]}],"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:[pt,"from-font","auto",Lt,Ct]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[pt,"auto",Lt,kt]}],"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",Lt,kt]}],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",Lt,kt]}],"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"]},ft,Lt,kt],radial:["",Lt,kt],conic:[ft,Lt,kt]},Ft,$t]}],"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":[pt,Lt,kt]}],"outline-w":[{outline:["",pt,Tt,Ct]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",c,Mt,Ot]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",d,Mt,Ot]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[pt,Ct]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":z()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",p,Mt,Ot]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[pt,Lt,kt]}],"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":[pt]}],"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":[Lt,kt]}],"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":[pt]}],"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",Lt,kt]}],filter:[{filter:["","none",Lt,kt]}],blur:[{blur:M()}],brightness:[{brightness:[pt,Lt,kt]}],contrast:[{contrast:[pt,Lt,kt]}],"drop-shadow":[{"drop-shadow":["","none",f,Mt,Ot]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",pt,Lt,kt]}],"hue-rotate":[{"hue-rotate":[pt,Lt,kt]}],invert:[{invert:["",pt,Lt,kt]}],saturate:[{saturate:[pt,Lt,kt]}],sepia:[{sepia:["",pt,Lt,kt]}],"backdrop-filter":[{"backdrop-filter":["","none",Lt,kt]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[pt,Lt,kt]}],"backdrop-contrast":[{"backdrop-contrast":[pt,Lt,kt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",pt,Lt,kt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[pt,Lt,kt]}],"backdrop-invert":[{"backdrop-invert":["",pt,Lt,kt]}],"backdrop-opacity":[{"backdrop-opacity":[pt,Lt,kt]}],"backdrop-saturate":[{"backdrop-saturate":[pt,Lt,kt]}],"backdrop-sepia":[{"backdrop-sepia":["",pt,Lt,kt]}],"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",Lt,kt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[pt,"initial",Lt,kt]}],ease:[{ease:["linear","initial",b,Lt,kt]}],delay:[{delay:[pt,Lt,kt]}],animate:[{animate:["none",g,Lt,kt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,Lt,kt]}],"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:U()}],"scale-x":[{"scale-x":U()}],"scale-y":[{"scale-y":U()}],"scale-z":[{"scale-z":U()}],"scale-3d":["scale-3d"],skew:[{skew:A()}],"skew-x":[{"skew-x":A()}],"skew-y":[{"skew-y":A()}],transform:[{transform:[Lt,kt,"","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",Lt,kt]}],"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",Lt,kt]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[pt,Tt,Ct,Rt]}],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"]}}),Kt=(...e)=>Te(Yt(...e.filter(Boolean))),Qt=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"},Xt="px",Zt=(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":Qt(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||Xt}`,"--shadow-outer-vertical-offset":`${o?.outerVerticalOffset||"0"}${o?.unit||Xt}`,"--shadow-outer-blur":`${o?.outerBlur||"0"}${o?.unit||Xt}`,"--shadow-outer-spread":`${o?.outerSpread||"0"}${o?.unit||Xt}`,"--font-family":$e(a)}},er="popstate";function tr(e){return"object"==typeof e&&null!=e&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function rr(e,t){if(!1===e||null==e)throw new Error(t)}function nr(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(ee){}}}function or(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 ar(e,t,r=null,n,o){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?lr(t):t,state:r,key:t&&t.key||n||Math.random().toString(36).substring(2,10),unstable_mask:o}}function ir({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 lr(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 sr(e,t,r="/"){return function(e,t,r){let n=xr(("string"==typeof t?lr(t):t).pathname||"/",r);if(null==n)return null;let o=ur(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=wr(n);a=vr(o[i],e,false)}return a}(e,t,r)}function ur(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;rr(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=Pr([n,s.relativePath]),c=r.concat(s);e.children&&e.children.length>0&&(rr(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),ur(e.children,t,c,u,i)),(null!=e.path||e.index)&&t.push({path:u,score:gr(u,e.index),routesMeta:c})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let r of cr(e.path))a(e,t,!0,r);else a(e,t)}),t}function cr(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=cr(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 dr=/^:[\w-]+$/,pr=3,fr=2,mr=1,hr=10,_r=-2,br=e=>"*"===e;function gr(e,t){let r=e.split("/"),n=r.length;return r.some(br)&&(n+=_r),t&&(n+=fr),r.filter(e=>!br(e)).reduce((e,t)=>e+(dr.test(t)?pr:""===t?mr:hr),n)}function vr(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=yr({path:e.relativePath,caseSensitive:e.caseSensitive,end:s},u),d=e.route;if(!c&&s&&r&&!n[n.length-1].route.index&&(c=yr({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},u)),!c)return null;Object.assign(o,c.params),i.push({params:o,pathname:Pr([a,c.pathname]),pathnameBase:$r(Pr([a,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(a=Pr([a,c.pathnameBase]))}return i}function yr(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=function(e,t=!1,r=!0){nr("*"===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 wr(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return nr(!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 xr(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 kr=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Cr(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)}),r.length>1?r.join("/"):"/"}function Rr(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 Er(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 Sr(e,t,r,n=!1){let o;"string"==typeof e?o=lr(e):(o={...e},rr(!o.pathname||!o.pathname.includes("?"),Rr("?","pathname","search",o)),rr(!o.pathname||!o.pathname.includes("#"),Rr("#","pathname","hash",o)),rr(!o.search||!o.search.includes("#"),Rr("#","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?lr(e):e;return n?(n=n.replace(/\/\/+/g,"/"),r=n.startsWith("/")?Cr(n.substring(1),"/"):Cr(n,t)):r=t,{pathname:r,search:Or(o),hash:Lr(a)}}(o,a),u=l&&"/"!==l&&l.endsWith("/"),c=(i||"."===l)&&r.endsWith("/");return s.pathname.endsWith("/")||!u&&!c||(s.pathname+="/"),s}var Pr=e=>e.join("/").replace(/\/\/+/g,"/"),$r=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Or=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Lr=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",Tr=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 jr(e){return e.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Nr="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function zr(e,t){let r=e;if("string"!=typeof r||!kr.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let n=r,o=!1;if(Nr)try{let e=new URL(window.location.href),n=r.startsWith("//")?new URL(e.protocol+r):new URL(r),a=xr(n.pathname,t);n.origin===e.origin&&null!=a?r=a+n.search+n.hash:o=!0}catch(ee){nr(!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 Fr=["POST","PUT","PATCH","DELETE"],Mr=(new Set(Fr),["GET",...Fr]),Dr=(new Set(Mr),t.createContext(null));Dr.displayName="DataRouter";var Ur=t.createContext(null);Ur.displayName="DataRouterState";var Ar=t.createContext(!1),Wr=t.createContext({isTransitioning:!1});Wr.displayName="ViewTransition",t.createContext(new Map).displayName="Fetchers",t.createContext(null).displayName="Await";var Hr=t.createContext(null);Hr.displayName="Navigation";var Ir=t.createContext(null);Ir.displayName="Location";var Br=t.createContext({outlet:null,matches:[],isDataRoute:!1});Br.displayName="Route";var Gr=t.createContext(null);Gr.displayName="RouteError";var qr="REACT_ROUTER_ERROR";function Jr(){return null!=t.useContext(Ir)}function Vr(){return rr(Jr(),"useLocation() may be used only in the context of a <Router> component."),t.useContext(Ir).location}var Yr="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Kr(e){t.useContext(Hr).static||t.useLayoutEffect(e)}function Qr(){let{isDataRoute:e}=t.useContext(Br);return e?function(){let{router:e}=function(){let e=t.useContext(Dr);return rr(e,un("useNavigate")),e}(),r=cn("useNavigate"),n=t.useRef(!1);return Kr(()=>{n.current=!0}),t.useCallback(async(t,o={})=>{nr(n.current,Yr),n.current&&("number"==typeof t?await e.navigate(t):await e.navigate(t,{fromRouteId:r,...o}))},[e,r])}():function(){rr(Jr(),"useNavigate() may be used only in the context of a <Router> component.");let e=t.useContext(Dr),{basename:r,navigator:n}=t.useContext(Hr),{matches:o}=t.useContext(Br),{pathname:a}=Vr(),i=JSON.stringify(Er(o)),l=t.useRef(!1);return Kr(()=>{l.current=!0}),t.useCallback((t,o={})=>{if(nr(l.current,Yr),!l.current)return;if("number"==typeof t)return void n.go(t);let s=Sr(t,JSON.parse(i),a,"path"===o.relative);null==e&&"/"!==r&&(s.pathname="/"===s.pathname?r:Pr([r,s.pathname])),(o.replace?n.replace:n.push)(s,o.state,o)},[r,n,i,a,e])}()}var Xr=t.createContext(null);function Zr(){let{matches:e}=t.useContext(Br),r=e[e.length-1];return r?r.params:{}}function en(e,{relative:r}={}){let{matches:n}=t.useContext(Br),{pathname:o}=Vr(),a=JSON.stringify(Er(n));return t.useMemo(()=>Sr(e,JSON.parse(a),o,"path"===r),[e,a,o,r])}function tn(e,r,n){rr(Jr(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=t.useContext(Hr),{matches:a}=t.useContext(Br),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||"";pn(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=Vr();if(r){let e="string"==typeof r?lr(r):r;rr("/"===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=sr(e,{pathname:m});nr(c||null!=h,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),nr(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]);rr(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:jr(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||nn,l&&(s<0&&0===u?(pn("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(sn,{match:n,routeContext:{outlet:e,matches:h,isDataRoute:null!=o},children:r})};return o&&(n.route.ErrorBoundary||n.route.errorElement||0===u)?t.createElement(on,{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:Pr([u,o.encodeLocation?o.encodeLocation(e.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:Pr([u,o.encodeLocation?o.encodeLocation(e.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),a,n);return r&&_?t.createElement(Ir.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...d},navigationType:"POP"}},_):_}function rn(){let e=function(){let e=t.useContext(Gr),r=function(e){let r=t.useContext(Ur);return rr(r,un(e)),r}("useRouteError"),n=cn("useRouteError");return void 0!==e?e:r.errors?.[n]}(),r=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(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 nn=t.createElement(rn,null),on=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(`${qr}: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 Tr(t.status,t.statusText,t.data)}catch{}}(e.digest);t&&(e=t)}let r=void 0!==e?t.createElement(Br.Provider,{value:this.props.routeContext},t.createElement(Gr.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?t.createElement(ln,{error:e},r):r}};on.contextType=Ar;var an=new WeakMap;function ln({children:e,error:r}){let{basename:n}=t.useContext(Hr);if("object"==typeof r&&r&&"digest"in r&&"string"==typeof r.digest){let e=function(e){if(e.startsWith(`${qr}: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=an.get(r);if(o)throw o;let a=zr(e.location,n);if(Nr&&!an.get(r)){if(!a.isExternal&&!e.reloadDocument){const t=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:e.replace}));throw an.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 sn({routeContext:e,match:r,children:n}){let o=t.useContext(Dr);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),t.createElement(Br.Provider,{value:e},n)}function un(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function cn(e){let r=function(e){let r=t.useContext(Br);return rr(r,un(e)),r}(e),n=r.matches[r.matches.length-1];return rr(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}var dn={};function pn(e,t,r){t||dn[e]||(dn[e]=!0,nr(!1,r))}function fn({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=ar(t?u().pathname:"/",e,r,n,o);return nr("/"===a.pathname.charAt(0),`relative pathnames are not supported in memory history: ${JSON.stringify(e)}`),a}function d(e){return"string"==typeof e?e:ir(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?lr(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,r){i="PUSH";let n=tr(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=tr(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(bn,{basename:e,children:r,location:s.location,navigationType:s.action,navigator:l,unstable_useTransitions:a})}function mn({to:e,replace:r,state:n,relative:o}){rr(Jr(),"<Navigate> may be used only in the context of a <Router> component.");let{static:a}=t.useContext(Hr);nr(!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(Br),{pathname:l}=Vr(),s=Qr(),u=Sr(e,Er(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 hn(e){return function(e){let r=t.useContext(Br).outlet;return t.useMemo(()=>r&&t.createElement(Xr.Provider,{value:e},r),[r,e])}(e.context)}function _n(e){rr(!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 bn({basename:e="/",children:r=null,location:n,navigationType:o="POP",navigator:a,static:i=!1,unstable_useTransitions:l}){rr(!Jr(),"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=lr(n));let{pathname:c="/",search:d="",hash:p="",state:f=null,key:m="default",unstable_mask:h}=n,_=t.useMemo(()=>{let e=xr(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 nr(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(Hr.Provider,{value:u},t.createElement(Ir.Provider,{children:r,value:_}))}function gn({children:e,location:t}){return tn(vn(e),t)}function vn(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,vn(e.props.children,a));rr(e.type===_n,`[${"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>`),rr(!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=vn(e.props.children,a)),n.push(i)}),n}t.useOptimistic,t.memo(function({routes:e,future:t,state:r,isStatic:n,onError:o}){return tn(e,void 0,{state:r,isStatic:n,onError:o,future:t})});var yn="get",wn="application/x-www-form-urlencoded";function xn(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement}var kn=null,Cn=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Rn(e){return null==e||Cn.has(e)?e:(nr(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${wn}"`),null)}function En(e,t){if(!1===e||null==e)throw new Error(t)}function Sn(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 Pn(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 $n(){let e=t.useContext(Dr);return En(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var On=t.createContext(void 0);function Ln(){let e=t.useContext(On);return En(e,"You must render this element inside a <HydratedRouter> element"),e}function Tn(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function jn({page:e,...r}){let{router:n}=$n(),o=t.useMemo(()=>sr(n.routes,e,n.basename),[n.routes,e,n.basename]);return o?t.createElement(Nn,{page:e,matches:o,...r}):null}function Nn({page:e,matches:r,...n}){let o=Vr(),{future:a,manifest:i,routeModules:l}=Ln(),{basename:s}=$n(),{loaderData:u,matches:c}=function(){let e=t.useContext(Ur);return En(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}(),d=t.useMemo(()=>Pn(e,r,c,i,o,"data"),[e,r,c,i,o]),p=t.useMemo(()=>Pn(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=function(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&&"/"===xr(o.pathname,t)?o.pathname=`${t.replace(/\/$/,"")}/_root.${n}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${n}`,o}(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(()=>function(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}(p,i),[p,i]),h=function(e){let{manifest:r,routeModules:n}=Ln(),[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(Sn).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})))}function zn(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}On.displayName="FrameworkContext";var Fn="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{Fn&&(window.__reactRouterVersion="7.13.1")}catch(ee){}function Mn({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),rr(r,"No window.location.(origin|href) available to create URL");let n="string"==typeof e?e:ir(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(er,d),s=e,()=>{o.removeEventListener(er,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=tr(e)?e:ar(f.location,e,t);r&&r(n,e),u=c()+1;let d=or(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=tr(e)?e:ar(f.location,e,t);r&&r(n,e),u=c();let o=or(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=""}=lr(e.location.hash.substring(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),ar("",{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:ir(t))},function(e,t){nr("/"===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(bn,{basename:e,children:r,location:l.location,navigationType:l.action,navigator:i,unstable_useTransitions:n})}var Dn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Un=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:b,unstable_useTransitions:g}=t.useContext(Hr),v="string"==typeof c&&Dn.test(c),y=zr(c,_),w=function(e,{relative:r}={}){rr(Jr(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:o}=t.useContext(Hr),{hash:a,pathname:i,search:l}=en(e,{relative:r}),s=i;return"/"!==n&&(s="/"===i?n:Pr([n,i])),o.createHref({pathname:s,search:l,hash:a})}(c=y.to,{relative:o}),x=Vr(),k=null;if(l){let e=Sr(l,[],x.unstable_mask?x.unstable_mask.pathname:"/",!0);"/"!==_&&(e.pathname="/"===e.pathname?_:Pr([_,e.pathname])),k=b.createHref(e)}let[C,R,E]=function(e,r){let n=t.useContext(On),[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:Tn(s,m),onBlur:Tn(u,h),onMouseEnter:Tn(c,m),onMouseLeave:Tn(d,h),onTouchStart:Tn(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=Qr(),p=Vr(),f=en(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:ir(p)===ir(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:g}),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:zn(h,R),target:u,"data-discover":v||"render"!==r?void 0:"true"});return C&&!v?t.createElement(t.Fragment,null,$,t.createElement(jn,{page:w})):$});Un.displayName="Link";var An=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=en(i,{relative:u.relative}),p=Vr(),f=t.useContext(Ur),{navigator:m,basename:h}=t.useContext(Hr),_=null!=f&&function(e,{relative:r}={}){let n=t.useContext(Wr);rr(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=Hn("useViewTransitionState"),a=en(e,{relative:r});if(!n.isTransitioning)return!1;let i=xr(n.currentLocation.pathname,o)||n.currentLocation.pathname,l=xr(n.nextLocation.pathname,o)||n.nextLocation.pathname;return null!=yr(a.pathname,l)||null!=yr(a.pathname,i)}(d)&&!0===l,b=m.encodeLocation?m.encodeLocation(d).pathname:d.pathname,g=p.pathname,v=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;r||(g=g.toLowerCase(),v=v?v.toLowerCase():null,b=b.toLowerCase()),v&&h&&(v=xr(v,h)||v);const y="/"!==b&&b.endsWith("/")?b.length-1:b.length;let w,x=g===b||!o&&g.startsWith(b)&&"/"===g.charAt(y),k=null!=v&&(v===b||!o&&v.startsWith(b)&&"/"===v.charAt(b.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(Un,{...u,"aria-current":R,className:w,ref:c,style:E,to:i,viewTransition:l},"function"==typeof s?s(C):s)});An.displayName="NavLink";var Wn=t.forwardRef(({discover:e="render",fetcherKey:r,navigate:n,reloadDocument:o,replace:a,state:i,method:l=yn,action:s,onSubmit:u,relative:c,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:f,...m},h)=>{let{unstable_useTransitions:_}=t.useContext(Hr),b=function(){let{router:e}=Hn("useSubmit"),{basename:r}=t.useContext(Hr),n=cn("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(xn(l=e)&&"form"===l.tagName.toLowerCase()){let i=e.getAttribute("action");n=i?xr(i,t):null,r=e.getAttribute("method")||yn,o=Rn(e.getAttribute("enctype"))||wn,a=new FormData(e)}else if(function(e){return xn(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return xn(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?xr(l,t):null,r=e.getAttribute("formmethod")||i.getAttribute("method")||yn,o=Rn(e.getAttribute("formenctype"))||Rn(i.getAttribute("enctype"))||wn,a=new FormData(i,e),!function(){if(null===kn)try{new FormData(document.createElement("form"),0),kn=!1}catch(ee){kn=!0}return kn}()){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(xn(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=yn,n=null,o=wn,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||Bn(),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])}(),g=function(e,{relative:r}={}){let{basename:n}=t.useContext(Hr),o=t.useContext(Br);rr(o,"useFormAction must be used inside a RouteContext");let[a]=o.matches.slice(-1),i={...en(e||".",{relative:r})},l=Vr();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:Pr([n,i.pathname])),ir(i)}(s,{relative:c}),v="get"===l.toLowerCase()?"get":"post",y="string"==typeof s&&Dn.test(s);return t.createElement("form",{ref:h,method:v,action:g,onSubmit:o?u:e=>{if(u&&u(e),e.defaultPrevented)return;e.preventDefault();let o=e.nativeEvent.submitter,s=o?.getAttribute("formmethod")||l,m=()=>b(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 Hn(e){let r=t.useContext(Dr);return rr(r,function(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),r}Wn.displayName="Form";var In=0,Bn=()=>`__${String(++In)}__`;Object.defineProperty(exports,"A",{enumerable:!0,get:function(){return ce}}),Object.defineProperty(exports,"HashRouter",{enumerable:!0,get:function(){return Mn}}),Object.defineProperty(exports,"J",{enumerable:!0,get:function(){return B}}),Object.defineProperty(exports,"L",{enumerable:!0,get:function(){return L}}),Object.defineProperty(exports,"Link",{enumerable:!0,get:function(){return Un}}),Object.defineProperty(exports,"MemoryRouter",{enumerable:!0,get:function(){return fn}}),Object.defineProperty(exports,"NavLink",{enumerable:!0,get:function(){return An}}),Object.defineProperty(exports,"Navigate",{enumerable:!0,get:function(){return mn}}),Object.defineProperty(exports,"Outlet",{enumerable:!0,get:function(){return hn}}),Object.defineProperty(exports,"Q",{enumerable:!0,get:function(){return G}}),Object.defineProperty(exports,"R",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"Route",{enumerable:!0,get:function(){return _n}}),Object.defineProperty(exports,"Routes",{enumerable:!0,get:function(){return gn}}),Object.defineProperty(exports,"T",{enumerable:!0,get:function(){return de}}),Object.defineProperty(exports,"_",{enumerable:!0,get:function(){return ue}}),Object.defineProperty(exports,"_$1",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"buildCustomFontProxyUrl",{enumerable:!0,get:function(){return Se}}),Object.defineProperty(exports,"buildGoogleFontStylesheetProxyUrl",{enumerable:!0,get:function(){return Pe}}),Object.defineProperty(exports,"clsx",{enumerable:!0,get:function(){return Te}}),Object.defineProperty(exports,"cn",{enumerable:!0,get:function(){return Kt}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return le}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return me}}),Object.defineProperty(exports,"getFontCss",{enumerable:!0,get:function(){return Oe}}),Object.defineProperty(exports,"getStyleObject",{enumerable:!0,get:function(){return Zt}}),Object.defineProperty(exports,"k",{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"q",{enumerable:!0,get:function(){return pe}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return ke}}),Object.defineProperty(exports,"useLocation",{enumerable:!0,get:function(){return Vr}}),Object.defineProperty(exports,"useNavigate",{enumerable:!0,get:function(){return Qr}}),Object.defineProperty(exports,"useParams",{enumerable:!0,get:function(){return Zr}}),Object.defineProperty(exports,"x",{enumerable:!0,get:function(){return fe}}),Object.defineProperty(exports,"x$1",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"y",{enumerable:!0,get:function(){return se}});
|