@powerhousedao/connect 1.0.0-dev.134 → 1.0.0-dev.135
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{browser-BEEirMuO.js → browser-Bl9M96KQ.js} +4 -4
- package/dist/assets/{content-BA89BGTU.js.map → browser-Bl9M96KQ.js.map} +1 -1
- package/dist/assets/{ccip-6rlDGLkL-DLquEPm3-DsHnVs3R.js → ccip-6rlDGLkL-DLquEPm3-BAx7HjfJ.js} +2 -2
- package/dist/assets/ccip-6rlDGLkL-DLquEPm3-BAx7HjfJ.js.map +1 -0
- package/dist/assets/{ccip-D7jGecEM-BZhoTqQe.js → ccip-D7jGecEM-DVDlOqoI.js} +2 -2
- package/dist/assets/ccip-D7jGecEM-DVDlOqoI.js.map +1 -0
- package/dist/assets/{ccip-C90evIJH.js → ccip-bk1IJr0a.js} +2 -2
- package/dist/assets/ccip-bk1IJr0a.js.map +1 -0
- package/dist/assets/{content-BA89BGTU.js → content-TdogUNEo.js} +3 -3
- package/dist/assets/{browser-BEEirMuO.js.map → content-TdogUNEo.js.map} +1 -1
- package/dist/assets/{cssMode-DVq3LtHT-T-7Kj20A.js → cssMode-DVq3LtHT-CoUgr_4L.js} +2 -2
- package/dist/assets/cssMode-DVq3LtHT-CoUgr_4L.js.map +1 -0
- package/dist/assets/{editor-B8aF84QX.js → editor-Bat08LEU.js} +2 -2
- package/dist/assets/editor-Bat08LEU.js.map +1 -0
- package/dist/assets/{editor-D1liwP8t.js → editor-CIbZp8-c.js} +4 -4
- package/dist/assets/{editor-D1liwP8t.js.map → editor-CIbZp8-c.js.map} +1 -1
- package/dist/assets/{editor-C6Um7TKF.js → editor-Cxi1Bi4m.js} +2 -2
- package/dist/assets/editor-Cxi1Bi4m.js.map +1 -0
- package/dist/assets/{editor-ZZR7pxvt.js → editor-NPbexOjM.js} +2 -2
- package/dist/assets/editor-NPbexOjM.js.map +1 -0
- package/dist/assets/{editors-BvDPqtae.js → editors-DVrDEp-F.js} +7 -7
- package/dist/assets/{editors-BvDPqtae.js.map → editors-DVrDEp-F.js.map} +1 -1
- package/dist/assets/{freemarker2-B12auKfc-CV2bI2LT.js → freemarker2-B12auKfc-CY1f5BH_.js} +2 -2
- package/dist/assets/freemarker2-B12auKfc-CY1f5BH_.js.map +1 -0
- package/dist/assets/{handlebars-fup3rJ3C-CxSp7nNU.js → handlebars-fup3rJ3C-DIrFum2b.js} +2 -2
- package/dist/assets/handlebars-fup3rJ3C-DIrFum2b.js.map +1 -0
- package/dist/assets/{html-Bd7p9h1P-VHQCRfyo.js → html-Bd7p9h1P-DH0yLc_S.js} +2 -2
- package/dist/assets/html-Bd7p9h1P-DH0yLc_S.js.map +1 -0
- package/dist/assets/{htmlMode-D_EcT_ua-DeobOP5l.js → htmlMode-D_EcT_ua-BUl6Pr_e.js} +2 -2
- package/dist/assets/htmlMode-D_EcT_ua-BUl6Pr_e.js.map +1 -0
- package/dist/assets/{index-8PbnK2go-D-EdohcU.js → index-8PbnK2go-BoR1WEku.js} +2 -2
- package/dist/assets/index-8PbnK2go-BoR1WEku.js.map +1 -0
- package/dist/assets/{index-Dsh5c9Wv.js → index-CMnBdWsa.js} +2 -2
- package/dist/assets/{index-Dsh5c9Wv.js.map → index-CMnBdWsa.js.map} +1 -1
- package/dist/assets/{index-CnxM4IIa-CvFEW5IC.js → index-CnxM4IIa-CoekJPsT.js} +18 -18
- package/dist/assets/index-CnxM4IIa-CoekJPsT.js.map +1 -0
- package/dist/assets/{index-Dc3srWFp-Dj58lFaD.js → index-Dc3srWFp-DVPU56zP.js} +2 -2
- package/dist/assets/index-Dc3srWFp-DVPU56zP.js.map +1 -0
- package/dist/assets/{index-T6Et30Eh-Bk15VVSB.js → index-T6Et30Eh-B1ytNt1O.js} +2 -2
- package/dist/assets/index-T6Et30Eh-B1ytNt1O.js.map +1 -0
- package/dist/assets/{javascript-egJvx3xR-D5qg5jV7.js → javascript-egJvx3xR-CXu0MlTd.js} +2 -2
- package/dist/assets/javascript-egJvx3xR-CXu0MlTd.js.map +1 -0
- package/dist/assets/{jsonMode-CmFhZ-nO-Ct78-OTz.js → jsonMode-CmFhZ-nO-BJHj7Aq3.js} +2 -2
- package/dist/assets/jsonMode-CmFhZ-nO-BJHj7Aq3.js.map +1 -0
- package/dist/assets/{liquid-Bn94NRXM-D3xTeo2T.js → liquid-Bn94NRXM-DXR9Xdil.js} +2 -2
- package/dist/assets/liquid-Bn94NRXM-DXR9Xdil.js.map +1 -0
- package/dist/assets/{main.DHxrtmJK.js → main.9ezbfd1a.js} +5 -5
- package/dist/assets/{main.DHxrtmJK.js.map → main.9ezbfd1a.js.map} +1 -1
- package/dist/assets/{mdx-CUs5ly0Y-DxijAFif.js → mdx-CUs5ly0Y-PFSuKGqp.js} +2 -2
- package/dist/assets/mdx-CUs5ly0Y-PFSuKGqp.js.map +1 -0
- package/dist/assets/{python-CvQNUgbY-DBYmw6_9.js → python-CvQNUgbY-DKU7Nn90.js} +2 -2
- package/dist/assets/python-CvQNUgbY-DKU7Nn90.js.map +1 -0
- package/dist/assets/{razor-COKLAES4-BPYm69MZ.js → razor-COKLAES4-DVH5NG6J.js} +2 -2
- package/dist/assets/razor-COKLAES4-DVH5NG6J.js.map +1 -0
- package/dist/assets/{root-0NIp6wBQ.js → root-D5vIE4mi.js} +2 -2
- package/dist/assets/root-D5vIE4mi.js.map +1 -0
- package/dist/assets/{router-j5rEsdZ1.js → router-BLZPRKeS.js} +4 -4
- package/dist/assets/{router-j5rEsdZ1.js.map → router-BLZPRKeS.js.map} +1 -1
- package/dist/assets/{tsMode-Dj44YKby-CWl_rxwS.js → tsMode-Dj44YKby-BecbNaDB.js} +2 -2
- package/dist/assets/tsMode-Dj44YKby-BecbNaDB.js.map +1 -0
- package/dist/assets/{typescript-BGB8OuQj-CojMjzn1.js → typescript-BGB8OuQj-q21L76s7.js} +2 -2
- package/dist/assets/typescript-BGB8OuQj-q21L76s7.js.map +1 -0
- package/dist/assets/{typescript-e2Impz-Y-ZFE3ath_.js → typescript-e2Impz-Y-eyfqYqVi.js} +2 -2
- package/dist/assets/{typescript-e2Impz-Y-ZFE3ath_.js.map → typescript-e2Impz-Y-eyfqYqVi.js.map} +1 -1
- package/dist/assets/{useUiNodes-CFkBr3IB.js → useUiNodes-BpMMwQ0y.js} +2 -2
- package/dist/assets/{useUiNodes-CFkBr3IB.js.map → useUiNodes-BpMMwQ0y.js.map} +1 -1
- package/dist/assets/{visitor-jgO2GXVr-CpK_hqN0.js → visitor-jgO2GXVr-DtE61rfq.js} +2 -2
- package/dist/assets/visitor-jgO2GXVr-DtE61rfq.js.map +1 -0
- package/dist/assets/{xml-C95L75A3-DKw4cO1a.js → xml-C95L75A3-CktYugFs.js} +2 -2
- package/dist/assets/xml-C95L75A3-CktYugFs.js.map +1 -0
- package/dist/assets/{yaml-CBgf5N3D-Chtc7gtl.js → yaml-CBgf5N3D-DNYfpm9a.js} +2 -2
- package/dist/assets/yaml-CBgf5N3D-DNYfpm9a.js.map +1 -0
- package/dist/index.html +3 -3
- package/dist/service-worker.js +1 -1
- package/dist/swEnv.js +2 -2
- package/dist/vite-envs.sh +5 -5
- package/package/index.js +46 -8
- package/package.json +1 -1
- package/dist/assets/ccip-6rlDGLkL-DLquEPm3-DsHnVs3R.js.map +0 -1
- package/dist/assets/ccip-C90evIJH.js.map +0 -1
- package/dist/assets/ccip-D7jGecEM-BZhoTqQe.js.map +0 -1
- package/dist/assets/cssMode-DVq3LtHT-T-7Kj20A.js.map +0 -1
- package/dist/assets/editor-B8aF84QX.js.map +0 -1
- package/dist/assets/editor-C6Um7TKF.js.map +0 -1
- package/dist/assets/editor-ZZR7pxvt.js.map +0 -1
- package/dist/assets/freemarker2-B12auKfc-CV2bI2LT.js.map +0 -1
- package/dist/assets/handlebars-fup3rJ3C-CxSp7nNU.js.map +0 -1
- package/dist/assets/html-Bd7p9h1P-VHQCRfyo.js.map +0 -1
- package/dist/assets/htmlMode-D_EcT_ua-DeobOP5l.js.map +0 -1
- package/dist/assets/index-8PbnK2go-D-EdohcU.js.map +0 -1
- package/dist/assets/index-CnxM4IIa-CvFEW5IC.js.map +0 -1
- package/dist/assets/index-Dc3srWFp-Dj58lFaD.js.map +0 -1
- package/dist/assets/index-T6Et30Eh-Bk15VVSB.js.map +0 -1
- package/dist/assets/javascript-egJvx3xR-D5qg5jV7.js.map +0 -1
- package/dist/assets/jsonMode-CmFhZ-nO-Ct78-OTz.js.map +0 -1
- package/dist/assets/liquid-Bn94NRXM-D3xTeo2T.js.map +0 -1
- package/dist/assets/mdx-CUs5ly0Y-DxijAFif.js.map +0 -1
- package/dist/assets/python-CvQNUgbY-DBYmw6_9.js.map +0 -1
- package/dist/assets/razor-COKLAES4-BPYm69MZ.js.map +0 -1
- package/dist/assets/root-0NIp6wBQ.js.map +0 -1
- package/dist/assets/tsMode-Dj44YKby-CWl_rxwS.js.map +0 -1
- package/dist/assets/typescript-BGB8OuQj-CojMjzn1.js.map +0 -1
- package/dist/assets/visitor-jgO2GXVr-CpK_hqN0.js.map +0 -1
- package/dist/assets/xml-C95L75A3-DKw4cO1a.js.map +0 -1
- package/dist/assets/yaml-CBgf5N3D-Chtc7gtl.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-6rlDGLkL-DLquEPm3-
|
|
2
|
-
import{r as g,d,e as o2,_ as i2,J as Q,f as la,B as fu,T as Er,D as ln,H as Fe,i as Ze,g as a2,h as s2,F as pu,k as hu,l as mu,o as l2,C as c2,q as u2,I as d2,s as f2,t as p2}from"./main.DHxrtmJK.js";var zd=e=>{throw TypeError(e)},Fl=(e,t,n)=>t.has(e)||zd("Cannot "+n),k=(e,t,n)=>(Fl(e,t,"read from private field"),n?n.call(e):t.get(e)),ae=(e,t,n)=>t.has(e)?zd("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,r)=>(Fl(e,t,"write to private field"),t.set(e,n),n),ue=(e,t,n)=>(Fl(e,t,"access private method"),n),Vs=(e,t,n,r)=>({set _(o){K(e,t,o)},get _(){return k(e,t,r)}});function h2(e){return d.jsx("svg",{...e,viewBox:"0 0 9 12",fill:"currentcolor",children:d.jsx("path",{d:"M8.31744 6.36794C8.56085 6.17515 8.56085 5.82482 8.31744 5.63203L1.3527 0.115704C1.01647 -0.150574 0.499999 0.072258 0.499999 0.483647L0.5 11.5163C0.5 11.9277 1.01647 12.1506 1.3527 11.8843L8.31744 6.36794Z"})})}function m2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"none",stroke:"currentcolor",children:d.jsx("path",{d:"M8 1L0.999998 8M0.999998 8L8 15M0.999998 8L15 8",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function g2(e){return d.jsx("svg",{...e,viewBox:"0 0 20 21",fill:"currentcolor",children:d.jsx("path",{d:"M9.98893 18.8223C14.5914 18.8223 18.3223 15.0913 18.3223 10.4889C18.3223 5.88642 14.5914 2.15559 9.98893 2.15559C5.38643 2.15559 1.6556 5.88642 1.6556 10.4889C1.6556 15.0913 5.38643 18.8223 9.98893 18.8223ZM9.98893 14.6556C9.52893 14.6556 9.1556 14.2825 9.1556 13.8223L9.1556 9.65559L6.6556 9.65559L9.98893 6.32226L13.3223 9.65559L10.8223 9.65559L10.8223 13.8223C10.8223 14.2825 10.4489 14.6556 9.98893 14.6556Z"})})}function v2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M12.0104 2.66602C11.2738 2.66602 10.6771 3.26268 10.6771 3.99935V11.9993C10.6771 12.736 11.2738 13.3327 12.0104 13.3327H13.3438C14.0804 13.3327 14.6771 12.736 14.6771 11.9993V3.99935C14.6771 3.26268 14.0804 2.66602 13.3438 2.66602H12.0104ZM7.34375 5.33268C6.60708 5.33268 6.01042 5.92935 6.01042 6.66602V11.9993C6.01042 12.736 6.60708 13.3327 7.34375 13.3327H8.67708C9.41375 13.3327 10.0104 12.736 10.0104 11.9993V6.66602C10.0104 5.92935 9.41375 5.33268 8.67708 5.33268H7.34375ZM2.67708 7.99935C1.94042 7.99935 1.34375 8.59602 1.34375 9.33268V11.9993C1.34375 12.736 1.94042 13.3327 2.67708 13.3327H4.01042C4.74708 13.3327 5.34375 12.736 5.34375 11.9993V9.33268C5.34375 8.59602 4.74708 7.99935 4.01042 7.99935H2.67708Z"})})}function b2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M16.1557 6.42331C16.6148 5.98332 16.6148 5.26997 16.1557 4.82999C15.6967 4.39 14.9525 4.39 14.4935 4.82999L7.84438 11.2033C7.83003 11.217 7.81614 11.231 7.80268 11.2453C7.79259 11.256 7.78275 11.2669 7.77314 11.2779C7.38661 11.7205 7.41032 12.3808 7.84427 12.7967L14.4933 19.17C14.9524 19.61 15.6966 19.61 16.1556 19.17C16.6146 18.7301 16.6146 18.0167 16.1556 17.5767L10.3377 12.0001L16.1557 6.42331Z"})})}function y2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M7.84427 17.5767C7.38524 18.0167 7.38524 18.73 7.84427 19.17C8.30329 19.61 9.04752 19.61 9.50653 19.17L16.1556 12.7967C16.17 12.783 16.1839 12.769 16.1973 12.7547C16.2074 12.744 16.2173 12.7331 16.2269 12.7221C16.6134 12.2795 16.5897 11.6192 16.1557 11.2033L9.50665 4.82997C9.04762 4.39001 8.3034 4.39001 7.84438 4.82997C7.38535 5.26992 7.38535 5.98332 7.84438 6.42328L13.6623 11.9999L7.84427 17.5767Z"})})}function x2(e){return d.jsx("svg",{...e,width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M4.67064 1.99414C3.19797 1.99414 2.00397 3.18814 2.00397 4.66081V11.3275C2.00397 12.8001 3.19797 13.9941 4.67064 13.9941H11.3373C12.81 13.9941 14.004 12.8001 14.004 11.3275V4.66081C14.004 3.18814 12.81 1.99414 11.3373 1.99414H4.67064ZM6.64997 3.32747C7.01797 3.32147 7.33131 3.60547 7.33731 3.97347C7.34331 4.34147 7.05931 4.65481 6.69131 4.66081C6.30331 4.66747 6.00864 4.94547 6.00397 5.32747C6.00264 5.42081 6.0053 5.42681 6.00397 5.51481C5.99464 6.23681 5.98063 6.49414 5.89997 6.82747C5.82863 7.11947 5.6493 7.48214 5.39997 7.99414C5.65197 8.51147 5.82797 8.87081 5.89997 9.16081C5.98663 9.51147 5.9993 9.77014 6.00397 10.5775C6.00397 10.6215 6.00397 10.6155 6.00397 10.6608C6.00664 11.0635 6.2673 11.3275 6.67064 11.3275C7.03864 11.3275 7.33731 11.6261 7.33731 11.9941C7.33731 12.3621 7.03864 12.6608 6.67064 12.6608C5.52464 12.6601 4.6773 11.7881 4.67064 10.6608C4.67064 10.6155 4.67064 10.6215 4.67064 10.5775C4.66664 9.88414 4.65997 9.70281 4.60797 9.49414C4.55197 9.26814 4.44797 9.0488 4.06663 8.28613C3.97263 8.09813 3.97263 7.89015 4.06663 7.70215C4.4393 6.95748 4.55264 6.72281 4.60797 6.49414C4.65664 6.29481 4.66264 6.11081 4.67064 5.49414C4.67197 5.40681 4.6693 5.42147 4.67064 5.32747C4.68464 4.22481 5.53997 3.34614 6.64997 3.32747ZM9.33731 3.32747C10.4606 3.33747 11.3466 4.21947 11.3373 5.32747C11.3306 6.07347 11.3446 6.27614 11.4 6.49414C11.456 6.71481 11.5366 6.89282 11.9413 7.70215C12.0353 7.89015 12.0353 8.09813 11.9413 8.28613C11.5466 9.07547 11.456 9.27147 11.4 9.49414C11.3453 9.71147 11.3353 9.89814 11.3373 10.6608C11.3406 11.7935 10.4746 12.6655 9.33731 12.6608C8.96931 12.6595 8.66931 12.3621 8.67064 11.9941C8.67197 11.6261 8.96931 11.3261 9.33731 11.3275C9.73264 11.3288 10.0053 11.0555 10.004 10.6608C10.0013 9.77481 10.0153 9.52881 10.108 9.16081C10.18 8.87414 10.3513 8.51947 10.608 7.99414C10.3473 7.46281 10.1806 7.11214 10.108 6.82747C10.0133 6.45547 9.99664 6.19747 10.004 5.32747C10.0073 4.95814 9.72731 4.66414 9.33731 4.66081C8.96931 4.65747 8.66731 4.36214 8.67064 3.99414C8.67397 3.62614 8.96931 3.32414 9.33731 3.32747Z"})})}function w2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M12.0283 1.99805C10.3713 1.99805 9.02832 3.34105 9.02832 4.99805C9.02832 6.26605 9.86732 7.40607 11.0263 7.82507L11.0283 10.998H7.02832C6.47632 10.998 6.02832 11.446 6.02832 11.998L6.02731 16.173C4.87631 16.569 4.02832 17.73 4.02832 18.998C4.02832 20.655 5.37132 21.998 7.02832 21.998C8.68532 21.998 10.0283 20.655 10.0283 18.998C10.0283 17.73 9.23332 16.612 8.03932 16.16L8.02832 12.998H12.0283H16.0283L16.0353 16.175C14.8343 16.592 14.0283 17.73 14.0283 18.998C14.0283 20.655 15.3713 21.998 17.0283 21.998C18.6853 21.998 20.0283 20.655 20.0283 18.998C20.0283 17.73 19.2093 16.614 18.0363 16.17L18.0283 11.998C18.0283 11.446 17.5803 10.998 17.0283 10.998H13.0283L13.0253 7.82104C14.1893 7.41004 15.0283 6.26605 15.0283 4.99805C15.0283 3.34105 13.6853 1.99805 12.0283 1.99805Z"})})}function C2(e){return d.jsx("svg",{...e,viewBox:"0 0 18 19",fill:"currentcolor",children:d.jsx("path",{d:"M8.27293 3.26461C8.46408 3.26461 8.61903 3.10949 8.61904 2.91815L8.6191 0.500008C6.2185 0.599662 4.06088 1.64036 2.50446 3.26475L8.27293 3.26461ZM10.6957 6.82116C10.6957 7.0125 10.5407 7.16762 10.3496 7.16762L0.304562 7.16782C0.613333 6.01248 1.14583 4.94828 1.85198 4.02532L10.3496 4.02518C10.5408 4.02518 10.6957 4.1803 10.6957 4.37166L10.6957 6.82116ZM15.4943 15.7353C13.9385 17.3591 11.7809 18.3997 9.37968 18.5L9.37974 16.0819C9.37974 15.8905 9.5347 15.7354 9.72585 15.7354L15.4943 15.7353ZM8.61928 18.4994C6.21868 18.3999 4.06051 17.3587 2.50477 15.735L8.2732 15.7348C8.46437 15.7348 8.61934 15.89 8.61933 16.0813L8.61928 18.4994ZM13.196 12.1777C13.196 11.9864 13.3509 11.8313 13.5421 11.8312L17.6942 11.831C17.3854 12.9863 16.8536 14.0499 16.1468 14.9735L13.5421 14.9737C13.3509 14.9737 13.1959 14.8186 13.1959 14.6272L13.196 12.1777ZM6.63574 8.26583C6.64045 8.07793 6.79397 7.92806 6.98174 7.92805L17.8631 7.92797C17.953 8.43803 18 8.96317 18 9.49919C18 10.0352 17.9529 10.5604 17.8631 11.0704L6.98317 11.07C6.79504 11.0699 6.64138 10.9195 6.63718 10.7312L6.6074 9.39625L6.63574 8.26583ZM12.5542 14.6279C12.5542 14.8192 12.3992 14.9743 12.2081 14.9743L1.85233 14.9744C1.14562 14.0509 0.613778 12.9873 0.305062 11.832L12.2081 11.8319C12.3993 11.8319 12.5543 11.987 12.5543 12.1784L12.5542 14.6279ZM0.136912 7.92839L5.5227 7.92809C5.71386 7.92809 5.86883 8.08321 5.86883 8.27457L5.86877 10.7241C5.86877 10.9154 5.71381 11.0705 5.52266 11.0706L0.136834 11.0708C0.046996 10.5608 -1.44252e-05 10.0356 -1.12058e-06 9.49961C1.02767e-05 8.9636 0.0470512 8.43845 0.136912 7.92839ZM11.4567 4.3716C11.4567 4.18026 11.6117 4.02515 11.8028 4.02514L16.1471 4.02498C16.8538 4.94851 17.3856 6.01207 17.6943 7.1674L11.8028 7.1676C11.6116 7.1676 11.4567 7.01248 11.4567 6.82112L11.4567 4.3716ZM9.3801 0.500001C11.7807 0.599542 13.9389 1.64073 15.4946 3.26444L9.72617 3.26457C9.53501 3.26458 9.38004 3.10945 9.38004 2.9181L9.3801 0.500001Z"})})}function S2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M7.33203 1.99414C5.85936 1.99414 4.66536 3.18814 4.66536 4.66081H3.9987C2.61203 4.66081 1.50204 5.72481 1.37337 7.07747C1.71071 7.19281 6.22803 8.70282 6.22803 8.70215C7.18469 9.02148 8.8127 9.02148 9.76937 8.70215C9.76937 8.70215 13.224 7.54881 14.6447 7.07747C14.5214 5.71947 13.3887 4.66081 11.9987 4.66081H11.332C11.332 3.18814 10.138 1.99414 8.66536 1.99414H7.33203ZM7.33203 3.32747H8.66536C9.40203 3.32747 9.9987 3.92414 9.9987 4.66081H5.9987C5.9987 3.92414 6.59536 3.32747 7.33203 3.32747ZM1.33203 8.47347V11.3275C1.33203 12.8001 2.52603 13.9941 3.9987 13.9941H11.9987C13.4714 13.9941 14.6654 12.8001 14.6654 11.3275V8.47347L10.186 9.97347C8.95603 10.3835 7.04136 10.3835 5.81136 9.97347L1.33203 8.47347Z"})})}function I2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M8.00586 2.01367C7.45356 2.01367 7.00586 2.46167 7.00586 3.01367C4.79676 3.01367 3.00576 4.80467 3.00586 7.01367V8.07568L21.0059 8.01367V7.01367C21.0059 4.80467 19.215 3.01367 17.0059 3.01367C17.0059 2.46167 16.5582 2.01367 16.0059 2.01367C15.4536 2.01367 15.0059 2.46167 15.0059 3.01367H9.00586C9.00586 2.46167 8.55816 2.01367 8.00586 2.01367ZM3.00586 10.0137V17.0137C3.00586 19.2227 4.79676 21.0137 7.00586 21.0137H17.0059C19.215 21.0137 21.006 19.2227 21.0059 17.0137V10.0137H3.00586ZM8.00586 12.0137C8.55816 12.0137 9.00586 12.4617 9.00586 13.0137C9.00586 13.5657 8.55816 14.0137 8.00586 14.0137C7.45356 14.0137 7.00586 13.5657 7.00586 13.0137C7.00586 12.4617 7.45356 12.0137 8.00586 12.0137ZM12.0059 12.0137C12.5582 12.0137 13.0059 12.4617 13.0059 13.0137C13.0059 13.5657 12.5582 14.0137 12.0059 14.0137C11.4536 14.0137 11.0059 13.5657 11.0059 13.0137C11.0059 12.4617 11.4536 12.0137 12.0059 12.0137ZM16.0059 12.0137C16.5582 12.0137 17.0059 12.4617 17.0059 13.0137C17.0059 13.5657 16.5582 14.0137 16.0059 14.0137C15.4536 14.0137 15.0059 13.5657 15.0059 13.0137C15.0059 12.4617 15.4536 12.0137 16.0059 12.0137ZM8.00586 15.0137C8.55816 15.0137 9.00586 15.4617 9.00586 16.0137C9.00586 16.5657 8.55816 17.0137 8.00586 17.0137C7.45356 17.0137 7.00586 16.5657 7.00586 16.0137C7.00586 15.4617 7.45356 15.0137 8.00586 15.0137ZM12.0059 15.0137C12.5582 15.0137 13.0059 15.4617 13.0059 16.0137C13.0059 16.5657 12.5582 17.0137 12.0059 17.0137C11.4536 17.0137 11.0059 16.5657 11.0059 16.0137C11.0059 15.4617 11.4536 15.0137 12.0059 15.0137ZM16.0059 15.0137C16.5582 15.0137 17.0059 15.4617 17.0059 16.0137C17.0059 16.5657 16.5582 17.0137 16.0059 17.0137C15.4536 17.0137 15.0059 16.5657 15.0059 16.0137C15.0059 15.4617 15.4536 15.0137 16.0059 15.0137Z"})})}function M2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.28221 5.22951C3.98888 4.9235 3.51331 4.9235 3.21999 5.22951C2.92667 5.53552 2.92667 6.03168 3.21999 6.33769L7.46885 10.7704C7.47802 10.78 7.48736 10.7892 7.49688 10.7982C7.50402 10.8049 7.51125 10.8115 7.51858 10.8179C7.81368 11.0756 8.25385 11.0598 8.53115 10.7705L12.78 6.33777C13.0733 6.03175 13.0733 5.5356 12.78 5.22958C12.4867 4.92357 12.0111 4.92357 11.7178 5.22958L8.00004 9.10822L4.28221 5.22951Z"})})}function E2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M10 16L10 12.8L10 11.2L10 8L14 12L10 16Z"})})}function P2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M12 3C7.0293 3 3 7.0293 3 12C3 16.9707 7.0293 21 12 21C16.9707 21 21 16.9707 21 12C21 7.0293 16.9707 3 12 3ZM15.6 9.3C15.8304 9.3 16.0707 9.37741 16.2471 9.55291C16.5981 9.90481 16.5981 10.4952 16.2471 10.8471L12.8721 14.1942C11.8362 15.2292 10.2531 15.0744 9.4404 13.8558L8.54041 12.5058C8.26501 12.0927 8.38019 11.5167 8.79419 11.2404C9.20729 10.965 9.78329 11.0802 10.0596 11.4942L10.9596 12.8442C11.1414 13.1169 11.3745 13.1601 11.6058 12.9279L14.9529 9.55291C15.1293 9.37741 15.3696 9.3 15.6 9.3Z"})})}function O2(e){return d.jsxs("svg",{...e,viewBox:"0 0 24 24",fill:"none",children:[d.jsx("circle",{cx:"12",cy:"12",r:"10",fill:"none"}),d.jsx("path",{d:"M10.1575 16.8849C10.5032 16.8849 10.8257 16.7467 11.0562 16.5162L18.3142 9.25817L16.517 7.46094L10.1575 13.8204L7.48473 11.1476L5.6875 12.9448L9.25893 16.5162C9.48934 16.7467 9.81192 16.8849 10.1575 16.8849Z",fill:"currentcolor"}),d.jsx("path",{d:"M2.51367 12C2.51367 6.75314 6.76701 2.5 12.0137 2.5C17.2603 2.5 21.5137 6.75314 21.5137 12C21.5137 17.2468 17.2603 21.5 12.0137 21.5C6.76701 21.5 2.51367 17.2468 2.51367 12Z",stroke:"currentcolor"})]})}function j2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M10.1575 16.8849C10.5032 16.8849 10.8257 16.7467 11.0562 16.5162L18.3142 9.25817L16.517 7.46094L10.1575 13.8204L7.48473 11.1476L5.6875 12.9448L9.25893 16.5162C9.48934 16.7467 9.81192 16.8849 10.1575 16.8849Z"})})}function k2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"none",stroke:"currentcolor",children:d.jsx("path",{d:"M6 9L12 15L18 9",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function N2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("circle",{cx:"8",cy:"8",r:"6.665"})})}function A2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M12 3C7.02948 3 3 7.0293 3 12C3 16.9707 7.02948 21 12 21C16.9705 21 21 16.9707 21 12C21 7.0293 16.9705 3 12 3ZM12 6.6C12.4971 6.6 12.9 7.0032 12.9 7.5V11.6058L15.3469 14.0529C15.6984 14.4048 15.6984 14.9952 15.3469 15.3471C14.9954 15.6981 14.4046 15.6981 14.0531 15.3471L11.3531 12.6471C11.1843 12.4779 11.1 12.2385 11.1 12V7.5C11.1 7.0032 11.5029 6.6 12 6.6Z"})})}function T2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M12.0137 3.99043C10.8277 4.00043 9.59167 4.33942 8.51367 4.95942C8.03467 5.23442 7.86367 5.85542 8.13867 6.33442C8.41367 6.81342 9.03467 6.95347 9.51367 6.67847C10.2927 6.23047 11.1717 5.99742 12.0137 5.99042C14.6947 5.96942 17.0347 8.27742 17.0137 10.9904C17.0137 11.0504 17.0137 11.8534 17.0137 12.0844C17.0137 12.5504 17.3097 12.9794 17.7637 13.0844C19.0797 13.3884 20.0137 14.3904 20.0137 15.4904C20.0137 15.8464 19.9357 16.2034 19.7637 16.5224C19.5017 17.0074 19.6837 17.6034 20.1697 17.8654C20.6557 18.1284 21.2517 17.9454 21.5137 17.4594C21.8417 16.8524 22.0137 16.1824 22.0137 15.4904C22.0137 13.6764 20.8217 12.1095 19.0097 11.3765C19.0117 11.1985 19.0137 11.0174 19.0137 10.9904C19.0437 7.15542 15.8047 3.96143 12.0137 3.99043ZM5.01367 5.99042C4.75767 5.99042 4.48968 6.07647 4.29468 6.27247C3.90468 6.66247 3.90468 7.31941 4.29468 7.70941L5.40268 8.80542C5.29468 9.03042 5.24667 9.28445 5.19067 9.54345C3.28667 10.3735 2.01367 12.2084 2.01367 14.3654C2.01367 17.3754 4.38968 19.9904 7.32568 19.9904H16.5757L17.2947 20.7094C17.6857 21.1004 18.3417 21.1004 18.7327 20.7094C19.1227 20.3194 19.1227 19.6624 18.7327 19.2724L17.7327 18.2724L5.73267 6.27247C5.53667 6.07647 5.26967 5.99042 5.01367 5.99042ZM7.04169 10.4495L14.5757 17.9904H7.32568C5.53868 17.9904 4.01367 16.3124 4.01367 14.3654C4.01367 12.8734 4.94767 11.6624 6.35767 11.2404C6.71567 11.1334 6.99369 10.8025 7.04169 10.4495Z"})})}function D2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M13.3351 1.99414C13.1645 1.99414 12.9858 2.05148 12.8558 2.18148L10.1891 4.84814L8.66847 3.32747V7.32747H12.6685L11.1478 5.8068L13.8145 3.14014C14.0745 2.87947 14.0745 2.44214 13.8145 2.18148C13.6845 2.05148 13.5058 1.99414 13.3351 1.99414ZM3.33514 8.66081L4.85581 10.1815L2.18914 12.8481C1.92914 13.1088 1.92914 13.5461 2.18914 13.8068C2.31914 13.9368 2.4978 13.9941 2.66847 13.9941C2.83914 13.9941 3.0178 13.9368 3.1478 13.8068L5.81446 11.1401L7.33513 12.6608V8.66081H3.33514Z"})})}function F2(e){return d.jsxs("svg",{...e,viewBox:"0 0 242 62",fill:"currentcolor",children:[d.jsx("path",{d:"M29.2499 16.0724C29.526 16.0724 29.7499 15.8485 29.7499 15.5724L29.75 9.45358C23.9969 9.69217 18.8261 12.1837 15.0961 16.0727L29.2499 16.0724ZM21.6271 24.9167C21.6271 25.1928 21.4033 25.4167 21.1271 25.4167L9.82394 25.4172C10.5639 22.6511 11.8401 20.1033 13.5324 17.8936L21.1272 17.8933C21.4034 17.8933 21.6272 18.1171 21.6272 18.3933L21.6271 24.9167ZM46.2267 45.9287C42.4981 49.8163 37.3274 52.3078 31.5728 52.5478L31.5729 46.4291C31.5729 46.1529 31.7968 45.9291 32.0729 45.9291L46.2267 45.9287ZM29.7504 52.5464C23.9973 52.3081 18.8252 49.8154 15.0968 45.928L29.2506 45.9277C29.5267 45.9277 29.7506 46.1516 29.7506 46.4277L29.7504 52.5464ZM24.1289 37.082C24.1289 36.8059 24.3527 36.582 24.6289 36.582L51.4988 36.5814C50.7589 39.3474 49.4842 41.8938 47.7904 44.1049L24.6287 44.1055C24.3526 44.1055 24.1287 43.8816 24.1287 43.6054L24.1289 37.082ZM41.5947 27.7247C41.6015 27.4536 41.8233 27.2373 42.0945 27.2373L51.9037 27.2371C52.119 28.4582 52.2317 29.7155 52.2317 30.9988C52.2316 32.282 52.1189 33.5393 51.9035 34.7605L42.0971 34.7593C41.8253 34.7593 41.6033 34.5422 41.5973 34.2705L41.5187 30.7523L41.5947 27.7247ZM22.5908 43.607C22.5908 43.8831 22.3669 44.107 22.0908 44.107L13.5332 44.1071C11.8396 41.8961 10.565 39.3498 9.82514 36.5838L22.0909 36.5835C22.3671 36.5835 22.591 36.8074 22.5909 37.0835L22.5908 43.607ZM9.42216 27.2381L39.2487 27.2373C39.5249 27.2373 39.7487 27.4612 39.7487 27.7374L39.7486 34.2608C39.7486 34.5369 39.5247 34.7608 39.2486 34.7608L9.42197 34.7615C9.20667 33.5404 9.094 32.2831 9.09403 30.9998C9.09406 29.7165 9.2068 28.4592 9.42216 27.2381ZM23.451 18.3932C23.451 18.1171 23.6749 17.8932 23.951 17.8932L47.791 17.8928C49.4847 20.1039 50.7593 22.6502 51.4991 25.4162L23.9509 25.4166C23.6747 25.4167 23.4509 25.1928 23.4509 24.9166L23.451 18.3932ZM31.5738 9.45357C37.3269 9.69188 42.499 12.1846 46.2274 16.072L32.0737 16.0723C31.7975 16.0723 31.5736 15.8484 31.5736 15.5723L31.5738 9.45357Z"}),d.jsx("path",{d:"M66.6074 31.1806C66.6074 28.1869 67.2536 25.5242 68.5459 23.1925C69.8382 20.8321 71.6331 19.0042 73.9306 17.7089C76.2568 16.3847 78.8845 15.7227 81.8138 15.7227C85.4036 15.7227 88.4765 16.6726 91.0324 18.5724C93.5884 20.4723 95.2971 23.063 96.1587 26.3446H88.0601C87.457 25.078 86.5954 24.1137 85.4754 23.4516C84.3841 22.7895 83.1349 22.4585 81.7277 22.4585C79.4589 22.4585 77.6209 23.2501 76.2137 24.8333C74.8065 26.4165 74.1029 28.5323 74.1029 31.1806C74.1029 33.8289 74.8065 35.9446 76.2137 37.5278C77.6209 39.111 79.4589 39.9027 81.7277 39.9027C83.1349 39.9027 84.3841 39.5716 85.4754 38.9095C86.5954 38.2475 87.457 37.2832 88.0601 36.0166H96.1587C95.2971 39.2982 93.5884 41.8889 91.0324 43.7887C88.4765 45.6598 85.4036 46.5953 81.8138 46.5953C78.8845 46.5953 76.2568 45.9477 73.9306 44.6523C71.6331 43.3282 69.8382 41.5003 68.5459 39.1686C67.2536 36.837 66.6074 34.1743 66.6074 31.1806Z"}),d.jsx("path",{d:"M109.888 46.7249C107.533 46.7249 105.408 46.2211 103.513 45.2136C101.646 44.2061 100.167 42.7668 99.0758 40.8958C98.0132 39.0247 97.4819 36.837 97.4819 34.3326C97.4819 31.857 98.0276 29.6837 99.1189 27.8127C100.21 25.9128 101.704 24.4591 103.599 23.4516C105.494 22.4441 107.62 21.9404 109.974 21.9404C112.329 21.9404 114.455 22.4441 116.35 23.4516C118.245 24.4591 119.739 25.9128 120.83 27.8127C121.921 29.6837 122.467 31.857 122.467 34.3326C122.467 36.8082 121.907 38.9959 120.787 40.8958C119.696 42.7668 118.188 44.2061 116.264 45.2136C114.368 46.2211 112.243 46.7249 109.888 46.7249ZM109.888 40.3344C111.295 40.3344 112.487 39.8163 113.464 38.78C114.469 37.7437 114.971 36.2613 114.971 34.3326C114.971 32.404 114.483 30.9215 113.507 29.8852C112.559 28.8489 111.382 28.3308 109.974 28.3308C108.539 28.3308 107.347 28.8489 106.399 29.8852C105.451 30.8927 104.977 32.3752 104.977 34.3326C104.977 36.2613 105.437 37.7437 106.356 38.78C107.304 39.8163 108.481 40.3344 109.888 40.3344Z"}),d.jsx("path",{d:"M139.298 22.0267C142.113 22.0267 144.353 22.9479 146.018 24.7902C147.713 26.6037 148.56 29.108 148.56 32.3032V46.3794H141.237V33.2963C141.237 31.6843 140.82 30.4322 139.987 29.5398C139.155 28.6474 138.035 28.2013 136.627 28.2013C135.22 28.2013 134.1 28.6474 133.267 29.5398C132.434 30.4322 132.018 31.6843 132.018 33.2963V46.3794H124.652V22.2858H132.018V25.481C132.765 24.4159 133.77 23.5812 135.033 22.9767C136.297 22.3434 137.719 22.0267 139.298 22.0267Z"}),d.jsx("path",{d:"M166.602 22.0267C169.416 22.0267 171.656 22.9479 173.322 24.7902C175.016 26.6037 175.864 29.108 175.864 32.3032V46.3794H168.54V33.2963C168.54 31.6843 168.124 30.4322 167.291 29.5398C166.458 28.6474 165.338 28.2013 163.931 28.2013C162.524 28.2013 161.404 28.6474 160.571 29.5398C159.738 30.4322 159.322 31.6843 159.322 33.2963V46.3794H151.956V22.2858H159.322V25.481C160.069 24.4159 161.074 23.5812 162.337 22.9767C163.601 22.3434 165.022 22.0267 166.602 22.0267Z"}),d.jsx("path",{d:"M201.918 33.944C201.918 34.6349 201.875 35.3545 201.789 36.1029H185.118C185.233 37.5998 185.707 38.7512 186.539 39.5572C187.401 40.3344 188.449 40.723 189.684 40.723C191.522 40.723 192.8 39.9458 193.518 38.3914H201.358C200.956 39.9746 200.224 41.3995 199.161 42.6661C198.127 43.9327 196.821 44.9258 195.241 45.6454C193.662 46.365 191.895 46.7249 189.943 46.7249C187.588 46.7249 185.491 46.2211 183.653 45.2136C181.815 44.2061 180.379 42.7668 179.346 40.8958C178.312 39.0247 177.795 36.837 177.795 34.3326C177.795 31.8283 178.297 29.6405 179.302 27.7695C180.336 25.8984 181.772 24.4591 183.61 23.4516C185.448 22.4441 187.559 21.9404 189.943 21.9404C192.269 21.9404 194.337 22.4297 196.146 23.4084C197.955 24.3872 199.362 25.7833 200.367 27.5968C201.401 29.4103 201.918 31.526 201.918 33.944ZM194.38 32.001C194.38 30.7344 193.949 29.7269 193.087 28.9785C192.226 28.23 191.149 27.8558 189.856 27.8558C188.622 27.8558 187.573 28.2157 186.712 28.9353C185.879 29.6549 185.362 30.6768 185.161 32.001H194.38Z"}),d.jsx("path",{d:"M202.617 34.3326C202.617 31.8283 203.119 29.6405 204.124 27.7695C205.158 25.8984 206.58 24.4591 208.389 23.4516C210.227 22.4441 212.323 21.9404 214.678 21.9404C217.694 21.9404 220.207 22.732 222.217 24.3152C224.256 25.8984 225.591 28.1293 226.223 31.0079H218.383C217.722 29.1656 216.444 28.2444 214.549 28.2444C213.199 28.2444 212.122 28.777 211.318 29.842C210.514 30.8783 210.112 32.3752 210.112 34.3326C210.112 36.29 210.514 37.8013 211.318 38.8664C212.122 39.9027 213.199 40.4208 214.549 40.4208C216.444 40.4208 217.722 39.4997 218.383 37.6574H226.223C225.591 40.4784 224.256 42.6949 222.217 44.3069C220.178 45.9189 217.665 46.7249 214.678 46.7249C212.323 46.7249 210.227 46.2211 208.389 45.2136C206.58 44.2061 205.158 42.7668 204.124 40.8958C203.119 39.0247 202.617 36.837 202.617 34.3326Z"}),d.jsx("path",{d:"M241.837 40.1185V46.3794H238.09C235.419 46.3794 233.337 45.7318 231.843 44.4364C230.35 43.1123 229.603 40.9677 229.603 38.0028V28.4172H226.674V22.2858H229.603V16.4135H236.97V22.2858H241.794V28.4172H236.97V38.0892C236.97 38.8088 237.142 39.3269 237.486 39.6436C237.831 39.9602 238.405 40.1185 239.21 40.1185H241.837Z"})]})}function R2(e){return d.jsx("svg",{...e,viewBox:"0 0 20 16",fill:"currentcolor",children:d.jsx("path",{d:"M20 1.84472C20 1.46377 19.7836 1.11591 19.4418 0.94761L18.088 0.28089C17.7399 0.109485 17.3242 0.154861 17.0213 0.397305L10.9046 5.29345L13.3938 7.26606L16.9338 4.43246V11.5763L2.94616 0.468456C2.64307 0.227771 2.22832 0.183587 1.88133 0.355019L0.557054 1.00929C0.215927 1.17782 0 1.52534 0 1.90583V14.1546C0 14.5354 0.216328 14.8832 0.557941 15.0516L1.9119 15.7189C2.26 15.8904 2.67592 15.8451 2.97888 15.6026L9.05159 10.7415L6.56234 8.76886L3.06621 11.5675V4.48484L17.0477 15.5957C17.3508 15.8366 17.7658 15.8809 18.1129 15.7093L19.4431 15.0519C19.7841 14.8833 20 14.5358 20 14.1554V1.84472Z"})})}function L2(e){return d.jsx("svg",{...e,viewBox:"0 0 10 2",fill:"currentcolor",children:d.jsx("path",{d:"M1 0C1.552 0 2 0.448 2 1C2 1.552 1.552 2 1 2C0.448 2 0 1.552 0 1C0 0.448 0.448 0 1 0ZM5 0C5.552 0 6 0.448 6 1C6 1.552 5.552 2 5 2C4.448 2 4 1.552 4 1C4 0.448 4.448 0 5 0ZM9 0C9.552 0 10 0.448 10 1C10 1.552 9.552 2 9 2C8.448 2 8 1.552 8 1C8 0.448 8.448 0 9 0Z"})})}function V2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M8.00846 1.33203C4.32646 1.33203 1.3418 4.3167 1.3418 7.9987C1.3418 11.6807 4.32646 14.6654 8.00846 14.6654C11.6905 14.6654 14.6751 11.6807 14.6751 7.9987C14.6751 4.3167 11.6905 1.33203 8.00846 1.33203ZM8.00846 4.66536C8.37646 4.66536 8.67513 4.96403 8.67513 5.33203V8.66536C8.67513 9.03336 8.37646 9.33203 8.00846 9.33203C7.64046 9.33203 7.3418 9.03336 7.3418 8.66536V5.33203C7.3418 4.96403 7.64046 4.66536 8.00846 4.66536ZM8.00846 9.9987C8.37646 9.9987 8.67513 10.2974 8.67513 10.6654C8.67513 11.0334 8.37646 11.332 8.00846 11.332C7.64046 11.332 7.3418 11.0334 7.3418 10.6654C7.3418 10.2974 7.64046 9.9987 8.00846 9.9987Z"})})}function _2(e){return d.jsxs("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:[d.jsx("path",{d:"M9 4C9 3.448 8.552 3 8 3C7.448 3 7 3.448 7 4V9C7 9.552 7.448 10 8 10C8.552 10 9 9.552 9 9V4Z"}),d.jsx("path",{d:"M9 12C9 11.448 8.552 11 8 11C7.448 11 7 11.448 7 12C7 12.552 7.448 13 8 13C8.552 13 9 12.552 9 12Z"})]})}function H2(e){return d.jsx("svg",{...e,viewBox:"0 0 20 20",fill:"currentcolor",children:d.jsx("path",{d:"M8.33139 1.67773C5.36388 1.67773 2.49805 4.5159 2.49805 7.48507C2.49805 7.49365 2.49805 7.5024 2.49805 7.51107C2.49805 9.56107 2.49805 12.008 2.49805 12.2246C2.49805 13.7777 3.84056 15.0111 5.46639 15.0111H5.83139V15.5579C5.83139 17.1111 7.1739 18.3444 8.79973 18.3444H14.5297C16.1556 18.3444 17.4981 17.1111 17.4981 15.5579V7.79757C17.4981 6.2444 16.1556 5.01107 14.5297 5.01107H14.1647V4.46423C14.1647 2.91107 12.8222 1.67773 11.1964 1.67773C11.0181 1.67773 11.0097 1.67773 8.33139 1.67773ZM7.49805 3.55273V5.5579C7.49805 6.15257 6.93638 6.67773 6.19638 6.67773H4.34721C4.72971 5.20507 6.02139 3.94473 7.49805 3.55273ZM14.1647 6.67773H14.5297C15.2697 6.67773 15.8314 7.2029 15.8314 7.79757V15.5579C15.8314 16.1526 15.2697 16.6777 14.5297 16.6777H8.79973C8.05973 16.6777 7.49805 16.1526 7.49805 15.5579V15.0111H11.1964C12.8222 15.0111 14.1647 13.7777 14.1647 12.2246V6.67773Z"})})}function z2(e){return d.jsx("svg",{...e,viewBox:"0 0 18 19",fill:"currentcolor",children:d.jsx("path",{d:"M2.99829 0.682129C1.24429 0.683129 0.008291 1.90913 -0.00170898 3.68213V5.68213C-0.000708986 5.72213 -0.00170898 14.6821 -0.00170898 14.6821C-0.00170898 16.8911 1.78929 18.6821 3.99828 18.6821H13.9983C16.2073 18.6821 17.9983 16.8911 17.9983 14.6821V8.68213C17.9973 8.59713 17.9983 6.84013 17.9983 6.71313C18.0053 4.97213 16.7203 3.68913 14.9983 3.68213C14.7263 3.68113 14.0513 3.68113 14.0613 3.68213C13.1383 3.67913 12.9253 3.49513 12.3423 2.62013C11.4253 1.24513 10.6533 0.682129 8.99828 0.682129H2.99829ZM2.99829 2.68213H8.99828C9.84328 2.68213 10.0713 2.86913 10.6543 3.74413C11.5713 5.11913 12.3433 5.68213 13.9983 5.68213C13.9723 5.68313 14.7223 5.68113 14.9983 5.68213C15.6223 5.68513 16.0013 6.08313 15.9983 6.71313C15.9983 6.77713 15.9973 7.21813 15.9983 7.68213C15.3583 7.68213 15.1983 7.68213 11.9983 7.68213C11.1533 7.68213 10.9253 7.49513 10.3423 6.62013C9.42527 5.24513 8.65328 4.68213 6.99828 4.68213C6.11328 4.68213 3.43429 4.68213 1.99829 4.68213V3.68213C2.00229 3.01813 2.34029 2.68213 2.99829 2.68213Z",fill:"#6C7275"})})}function U2(e){return d.jsx("svg",{...e,viewBox:"0 0 20 19",fill:"currentcolor",children:d.jsx("path",{d:"M2.99829 0.68213C1.38729 0.68213 0.0122901 1.96913 -0.00170994 3.68213V14.6821C-0.00170994 15.7961 0.45129 16.8001 1.18629 17.5261C1.54429 17.8791 1.96529 18.1711 2.43629 18.3701C2.91929 18.5731 3.45429 18.6821 3.99829 18.6821H5.99829H12.9983C14.0523 18.6821 15.0383 18.2771 15.7793 17.5571C16.1773 17.1711 16.6333 16.0351 17.4363 13.6821C17.5003 13.4921 18.9473 9.0291 18.9673 8.9631C19.1653 8.3201 18.6713 7.6821 17.9983 7.6821C17.8733 7.6821 17.2123 7.6821 16.9983 7.6821V6.68213C16.9983 5.02513 15.6553 3.68213 13.9983 3.68213H11.9983C11.1533 3.68213 10.9253 3.49513 10.3423 2.62013C9.4253 1.24513 8.6533 0.68213 6.99829 0.68213C6.12329 0.68213 3.87329 0.68213 2.99829 0.68213ZM2.99829 2.68213C3.87329 2.68213 6.12329 2.68213 6.99829 2.68213C7.8433 2.68213 8.0713 2.86913 8.6543 3.74413C9.5713 5.11913 10.3433 5.68213 11.9983 5.68213H13.9983C14.5503 5.68213 14.9983 6.13013 14.9983 6.68213V7.6821C11.5293 7.6821 6.24829 7.6821 4.99829 7.6821C4.58429 7.6821 4.20929 7.9511 4.06029 8.3381C4.06029 8.3381 2.90229 11.3631 1.99829 13.7131V3.68213C2.00329 3.10513 2.45829 2.68213 2.99829 2.68213Z"})})}function B2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M5.99804 2.99023C4.34104 2.99023 2.99805 4.33333 2.99805 5.99023V7.99023V16.9902C2.99805 19.1992 4.78904 20.9902 6.99804 20.9902H16.998C19.207 20.9902 20.998 19.1992 20.998 16.9902V7.99023C20.998 7.43793 20.55 6.99023 19.998 6.99023C19.998 6.99023 17.095 6.99023 14.998 6.99023C14.243 6.99023 14 6.74533 13.404 5.55273C12.501 3.74533 11.743 2.99023 9.99804 2.99023H5.99804ZM5.99804 4.99023H9.99804C10.753 4.99023 10.996 5.23513 11.592 6.42773C11.722 6.68883 11.776 6.77213 11.904 6.99023C8.45804 6.99023 5.98304 6.99023 4.99804 6.99023V5.99023C4.99804 5.43793 5.44604 4.99023 5.99804 4.99023ZM11.998 10.9902C12.55 10.9902 12.998 11.4382 12.998 11.9902V12.9902H13.998C14.55 12.9902 14.998 13.4382 14.998 13.9902C14.998 14.5422 14.55 14.9902 13.998 14.9902H12.998V15.9902C12.998 16.5422 12.55 16.9902 11.998 16.9902C11.446 16.9902 10.998 16.5422 10.998 15.9902V14.9902H9.99804C9.44604 14.9902 8.99804 14.5422 8.99804 13.9902C8.99804 13.4382 9.44604 12.9902 9.99804 12.9902H10.998V11.9902C10.998 11.4382 11.446 10.9902 11.998 10.9902Z"})})}function $2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M5.97803 1.63718C5.03269 1.93652 4.21736 2.42652 3.4987 3.09519C3.2767 3.30252 3.2087 3.64052 3.3527 3.90785C3.8867 4.89519 3.32802 5.95119 2.12402 6.01186C1.82869 6.02719 1.56803 6.24518 1.4987 6.53252C1.37936 7.02918 1.33203 7.44519 1.33203 7.99118C1.33203 8.44918 1.38136 8.96719 1.47803 9.42852C1.53803 9.71652 1.7887 9.92385 2.08203 9.94985C3.29403 10.0545 3.89404 10.9785 3.3527 12.1578C3.2327 12.4198 3.28736 12.7332 3.4987 12.9285C4.2067 13.5839 5.02003 14.0452 5.97803 14.3452C6.25136 14.4312 6.56003 14.3279 6.72803 14.0952C7.46936 13.0699 8.5447 13.0659 9.2487 14.0952C9.4147 14.3379 9.7187 14.4545 9.9987 14.3658C10.9234 14.0752 11.7847 13.5799 12.4987 12.9285C12.7187 12.7285 12.7767 12.4038 12.6447 12.1372C12.09 11.0178 12.728 9.98985 13.8734 9.97051C14.1774 9.96518 14.448 9.76518 14.5194 9.47051C14.6347 8.99251 14.6654 8.57585 14.6654 7.99118C14.6654 7.48852 14.606 6.99319 14.4987 6.51186C14.4307 6.20786 14.1647 5.99185 13.8527 5.99119C12.7254 5.98919 12.0934 4.88119 12.6447 3.90785C12.798 3.63652 12.75 3.30452 12.5194 3.09519C11.7927 2.43519 10.9067 1.91985 9.97803 1.63718C9.69269 1.55052 9.38936 1.65719 9.22803 1.90785C8.58403 2.90785 7.38136 2.92586 6.7487 1.92853C6.5867 1.67319 6.26603 1.54518 5.97803 1.63718ZM7.9987 5.32452C9.47136 5.32452 10.6654 6.51852 10.6654 7.99118C10.6654 9.46385 9.47136 10.6579 7.9987 10.6579C6.52603 10.6579 5.33203 9.46385 5.33203 7.99118C5.33203 6.51852 6.52603 5.32452 7.9987 5.32452Z"})})}function W2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M7.9987 1.34375C4.31683 1.34375 1.33203 4.32842 1.33203 8.01042C1.33203 9.08775 1.5899 10.1018 2.04343 11.0024C3.14036 13.1804 5.32943 14.6764 7.9987 14.6771C11.6806 14.6777 14.6654 11.6924 14.6654 8.01042C14.6654 4.32842 11.6806 1.34375 7.9987 1.34375ZM7.9987 2.67708C8.61997 2.67708 9.33403 3.73641 9.68937 5.29441C9.14997 5.32908 8.5851 5.34375 7.9987 5.34375C7.40983 5.34375 6.8449 5.32175 6.30477 5.28575C6.65983 3.78575 7.37743 2.67708 7.9987 2.67708ZM5.6419 3.22575C5.33797 3.78508 5.11463 4.49575 4.96296 5.16575C4.46976 5.09908 4.0233 5.00242 3.64763 4.90708C4.16463 4.19975 4.85216 3.60308 5.6419 3.22575ZM10.365 3.22174C11.0894 3.59641 11.82 4.19109 12.3484 4.91909C11.9732 5.01309 11.5143 5.09643 11.0237 5.16109C10.872 4.49109 10.6166 3.74641 10.365 3.22174ZM3.01483 6.11041C3.52043 6.26441 4.04203 6.37908 4.74337 6.47308C4.68583 6.98042 4.66536 7.46708 4.66536 8.01042C4.66536 8.55375 4.6907 9.04908 4.74823 9.55642C4.03343 9.65242 3.5151 9.74575 3.00183 9.90175C2.7663 9.29975 2.66536 8.69575 2.66536 8.01042C2.66536 7.32508 2.7793 6.71241 3.01483 6.11041ZM12.9766 6.11375C13.2122 6.71575 13.332 7.32508 13.332 8.01042C13.332 8.69575 13.2171 9.30175 12.9816 9.90375C12.4697 9.74775 11.9517 9.64308 11.2396 9.54775C11.2957 9.04575 11.332 8.54642 11.332 8.01042C11.332 7.46708 11.2956 6.97107 11.238 6.46307C11.9378 6.36641 12.4709 6.26708 12.9766 6.11375ZM6.08396 6.60175C6.7019 6.64641 7.3245 6.67708 7.9987 6.67708C8.6691 6.67708 9.30243 6.64642 9.9175 6.59975C9.97377 7.06842 9.9987 7.49575 9.9987 8.01042C9.9987 8.52508 9.98077 8.94108 9.92457 9.40908C9.30743 9.36374 8.67077 9.34375 7.9987 9.34375C7.3249 9.34375 6.69417 9.36776 6.07457 9.41376C6.01677 8.93976 5.9987 8.53308 5.9987 8.01042C5.9987 7.49575 6.0277 7.06975 6.08396 6.60175ZM7.9987 10.6771C8.58423 10.6771 9.1457 10.6991 9.6849 10.7337C9.30983 12.2944 8.62263 13.3437 7.9987 13.3437C7.37743 13.3437 6.67576 12.2438 6.2909 10.7324C6.83176 10.6964 7.4089 10.6771 7.9987 10.6771ZM4.96603 10.8624C5.11763 11.5324 5.3815 12.2678 5.6331 12.7931C4.89496 12.4424 4.18623 11.8384 3.6459 11.1144C4.0279 11.0178 4.46037 10.9298 4.96603 10.8624ZM11.0257 10.8611C11.5274 10.9264 11.9618 11.0211 12.3431 11.1164C11.86 11.7657 11.1508 12.4084 10.3716 12.7844C10.6558 12.2044 10.874 11.5311 11.0257 10.8611Z"})})}function Z2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 25",fill:"currentcolor",children:d.jsx("path",{d:"M7.24956 4.68945C5.17156 4.68945 3.27058 6.40045 2.93758 8.53345L1.99956 15.5645C1.98756 15.6545 2.05058 15.7285 2.06258 15.8145C2.04858 15.9415 1.99956 16.0585 1.99956 16.1895V17.1895C1.99956 19.1225 3.56656 20.6895 5.49956 20.6895H18.4996C20.4326 20.6895 21.9996 19.1225 21.9996 17.1895V16.1895C21.9996 16.0585 21.9516 15.9415 21.9376 15.8145C21.9496 15.7285 22.0126 15.6545 21.9996 15.5645L20.9996 8.56445C20.6646 6.41545 18.7966 4.68945 16.7186 4.68945H7.24956ZM5.49956 14.6895H18.4996C19.3286 14.6895 19.9996 15.3615 19.9996 16.1895V17.1895C19.9996 18.0175 19.3286 18.6895 18.4996 18.6895H5.49956C4.67156 18.6895 3.99956 18.0175 3.99956 17.1895V16.1895C3.99956 15.3615 4.67156 14.6895 5.49956 14.6895ZM5.99956 15.6895C5.44756 15.6895 4.99956 16.1375 4.99956 16.6895C4.99956 17.2415 5.44756 17.6895 5.99956 17.6895C6.55256 17.6895 6.99956 17.2415 6.99956 16.6895C6.99956 16.1375 6.55256 15.6895 5.99956 15.6895ZM8.99956 15.6895C8.44756 15.6895 7.99956 16.1375 7.99956 16.6895C7.99956 17.2415 8.44756 17.6895 8.99956 17.6895C9.55256 17.6895 9.99956 17.2415 9.99956 16.6895C9.99956 16.1375 9.55256 15.6895 8.99956 15.6895Z"})})}function q2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M8.02812 1.33301C4.33612 1.33301 1.34277 4.317 1.34277 7.99833C1.34277 11.6797 4.33612 14.6643 8.02812 14.6643C9.83012 14.6643 11.5248 13.9537 12.7708 12.7063C13.0314 12.445 13.0328 12.0283 12.7708 11.769C12.5094 11.509 12.0914 11.5077 11.8308 11.769C10.8334 12.7677 9.47078 13.331 8.02812 13.331C5.07478 13.331 2.68011 10.9437 2.68011 7.99833C2.68011 5.05366 5.07478 2.66634 8.02812 2.66634C8.39745 2.66634 8.69678 2.36767 8.69678 1.99967C8.69678 1.63167 8.39745 1.33301 8.02812 1.33301ZM10.4728 1.93701C10.3108 1.99035 10.1781 2.10501 10.0968 2.27034C9.93412 2.60101 10.0581 3.00367 10.3894 3.16634C10.5674 3.25301 10.7241 3.35102 10.8908 3.45768C11.2014 3.65568 11.6321 3.55967 11.8308 3.24967C12.0294 2.93901 11.9328 2.53101 11.6221 2.33301C11.4128 2.19967 11.1968 2.08767 10.9741 1.979C10.8088 1.89767 10.6354 1.88434 10.4728 1.93701ZM12.8334 3.58236C12.6641 3.56236 12.4774 3.61502 12.3321 3.72835C12.0421 3.95569 11.9994 4.37636 12.2281 4.66569C12.3501 4.82102 12.4781 4.97702 12.5828 5.14502C12.7774 5.45769 13.1888 5.54703 13.5021 5.35303C13.8161 5.15903 13.9054 4.77035 13.7114 4.45768C13.5808 4.24768 13.4254 4.02702 13.2721 3.83236C13.1581 3.68769 13.0034 3.60302 12.8334 3.58236ZM8.02812 3.99902C7.65945 3.99902 7.36011 4.29769 7.36011 4.66569V7.99833C7.36011 8.17566 7.44343 8.35233 7.56877 8.47766L9.5741 10.477C9.83543 10.7377 10.2534 10.7377 10.5148 10.477C10.7754 10.217 10.7754 9.77967 10.5148 9.519L8.69678 7.70699V4.66569C8.69678 4.29769 8.39745 3.99902 8.02812 3.99902ZM13.7528 6.01969C13.3921 6.09903 13.1714 6.45166 13.2514 6.81099C13.2941 7.00366 13.3354 7.19766 13.3561 7.39433C13.3948 7.76033 13.7201 8.01633 14.0874 7.97766C14.4541 7.93899 14.7114 7.61502 14.6721 7.24902C14.6461 7.00236 14.6214 6.76036 14.5674 6.51969C14.4881 6.16036 14.1134 5.94036 13.7528 6.01969ZM14.0454 8.72766C13.6868 8.64099 13.3174 8.86966 13.2308 9.22766C13.1841 9.42033 13.1101 9.60501 13.0428 9.78967C12.9161 10.1357 13.1134 10.497 13.4608 10.623C13.8074 10.749 14.1701 10.5943 14.2961 10.2483C14.3808 10.0163 14.4674 9.78101 14.5261 9.53967C14.6128 9.18234 14.4041 8.81433 14.0454 8.72766Z"})})}function G2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M4.66557 1.99414C3.1929 1.99414 1.9989 3.18815 1.9989 4.66082V11.3275C1.9989 12.8002 3.1929 13.9942 4.66557 13.9942H11.3322C12.8049 13.9942 13.9989 12.8002 13.9989 11.3275V4.66082C13.9989 3.18815 12.8049 1.99414 11.3322 1.99414H4.66557ZM7.9989 4.66082C8.3669 4.66082 8.66556 4.95949 8.66556 5.32749C8.66556 5.6955 8.3669 5.99416 7.9989 5.99416C7.6309 5.99416 7.33223 5.6955 7.33223 5.32749C7.33223 4.95949 7.6309 4.66082 7.9989 4.66082ZM7.9989 6.66083C8.3669 6.66083 8.66556 6.9595 8.66556 7.32751V10.6609C8.66556 11.0289 8.3669 11.3275 7.9989 11.3275C7.6309 11.3275 7.33223 11.0289 7.33223 10.6609V7.32751C7.33223 6.9595 7.6309 6.66083 7.9989 6.66083Z"})})}function Y2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.7562 4.74381C17.0977 3.0854 14.4088 3.0854 12.7503 4.74381L9.74749 7.74664C8.08906 9.40505 8.08941 12.0937 9.74786 13.7521C10.1625 14.1667 10.8347 14.1667 11.2493 13.7521C11.6639 13.3375 11.6639 12.6653 11.2493 12.2507L11.2322 12.2339C10.4197 11.4035 10.4253 10.0716 11.2489 9.24805L14.2518 6.24522C15.0811 5.41601 16.4255 5.41603 17.2547 6.24522C18.0839 7.07443 18.0839 8.41884 17.2547 9.24805L16.1917 10.3111C16.5282 11.17 16.6325 12.099 16.5043 13.0012L18.7562 10.7495C20.4146 9.09106 20.4146 6.40223 18.7562 4.74381ZM5.24383 18.2562C6.90228 19.9146 9.59115 19.9146 11.2496 18.2562L14.2525 15.2534C15.911 13.595 15.911 10.9061 14.2525 9.24768C13.8378 8.83308 13.1657 8.83308 12.7511 9.24768C12.3364 9.66229 12.3364 10.3345 12.7511 10.7491C13.5803 11.5783 13.5803 12.9227 12.7511 13.7519L9.74815 16.7548C8.91894 17.5839 7.5745 17.5839 6.74528 16.7548C5.91605 15.9255 5.91605 14.5811 6.74528 13.7519L7.80833 12.6888C7.47174 11.83 7.36751 10.901 7.49563 9.99875L5.24383 12.2505C3.58539 13.9089 3.58539 16.5978 5.24383 18.2562Z"})})}function X2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M11.998 1.95312C9.23705 1.95312 6.99805 4.19213 6.99805 6.95312V8.95312C5.34105 8.95312 3.99805 10.2961 3.99805 11.9531V18.9531C3.99805 20.6101 5.34105 21.9531 6.99805 21.9531H16.998C18.655 21.9531 19.998 20.6101 19.998 18.9531V11.9531C19.998 10.2961 18.655 8.95312 16.998 8.95312V6.95312C16.998 4.19213 14.759 1.95312 11.998 1.95312ZM11.998 3.95312C13.655 3.95312 14.998 5.29612 14.998 6.95312V8.95312H8.99805V6.95312C8.99805 5.29612 10.341 3.95312 11.998 3.95312ZM11.998 11.9531C13.103 11.9531 13.998 12.8481 13.998 13.9531C13.998 14.6631 13.555 15.1611 12.998 15.5151V17.9531C12.998 18.5051 12.55 18.9531 11.998 18.9531C11.446 18.9531 10.998 18.5051 10.998 17.9531V15.5151C10.441 15.1601 9.99805 14.6631 9.99805 13.9531C9.99805 12.8481 10.893 11.9531 11.998 11.9531Z"})})}function K2(e){return d.jsxs("svg",{...e,viewBox:"0 0 24 24",fill:"none",children:[d.jsx("path",{d:"M1.88134 8.65644V18.3251H0V7.09336C0 6.19326 1.03474 5.68003 1.75748 6.22134L10.6938 12.912C10.9698 13.1179 11.1313 13.4409 11.1313 13.784V18.3235H9.24992V14.174L1.88134 8.65644Z",fill:"currentcolor"}),d.jsx("path",{d:"M22.0605 18.3251V8.65599L14.4616 14.1738V18.3251H12.5215V13.7854C12.5215 13.4422 12.688 13.1193 12.9726 12.9133L22.1882 6.22233C22.9335 5.67944 24.0006 6.19269 24.0006 7.09283V18.3251H22.0605Z",fill:"currentcolor"})]})}function Q2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M16.9951 1.95312C16.7301 1.95312 16.4641 2.04713 16.2761 2.23413C15.7201 2.79013 13.7191 4.79115 13.2751 5.23615L4.26978 14.2412L3.26928 15.2412C3.12958 15.3812 3.05788 15.5792 3.01918 15.7732L2.01858 20.7762C1.87858 21.4762 2.47538 22.0721 3.17548 21.9331C3.80078 21.8071 7.55288 21.0572 8.17818 20.9322C8.37188 20.8932 8.57008 20.8212 8.70968 20.6822L9.71027 19.6812L18.7151 10.6762C19.1601 10.2322 21.1611 8.23012 21.7171 7.67512C21.9041 7.48712 21.9981 7.22113 21.9981 6.95613C21.9981 5.31912 21.5811 4.14912 20.7161 3.26612C19.8431 2.37511 18.6771 1.95312 16.9951 1.95312ZM17.3891 3.97211C18.2921 4.02511 18.8771 4.23216 19.2781 4.64216C19.6881 5.06016 19.9471 5.64015 20.0031 6.52516C19.4551 7.07216 18.6531 7.86212 17.9961 8.51912C17.2031 7.72612 16.2251 6.74815 15.4321 5.95515C16.0901 5.29815 16.8421 4.51911 17.3891 3.97211ZM4.98898 16.3982L7.55288 18.9621L7.45908 19.0562C6.79908 19.1882 5.46628 19.4672 4.23858 19.7132L4.89518 16.4922L4.98898 16.3982Z"})})}function J2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M15.498 2.92969C13.0127 2.92969 10.998 4.94469 10.998 7.42969C10.998 9.91469 13.0127 11.9297 15.498 11.9297C17.9833 11.9297 19.998 9.91469 19.998 7.42969C19.998 4.94469 17.9833 2.92969 15.498 2.92969ZM7.99805 3.92969C5.78895 3.92969 3.99805 5.72069 3.99805 7.92969C3.99805 10.1387 5.78895 11.9297 7.99805 11.9297C8.82745 11.9297 9.58455 11.7017 10.2508 11.2357C8.54205 8.69572 8.78425 6.26369 9.71555 4.30469C9.18365 4.05269 8.59945 3.92969 7.99805 3.92969ZM5.06055 13.2737C3.22645 14.0307 1.99805 15.8857 1.99805 17.9297V19.9297C1.99805 20.4817 2.44575 20.9297 2.99805 20.9297L7.15085 20.9317C6.91685 20.1717 6.98565 18.9397 7.00105 17.9427C7.03355 15.8257 7.90905 14.3157 8.25195 13.9177C7.62175 13.9127 6.86545 13.7597 6.31055 13.5237C6.17655 13.4667 6.09875 13.4217 5.84185 13.3047C5.58995 13.1897 5.31635 13.1677 5.06055 13.2737ZM12.0605 13.2737C10.2264 14.0307 8.99805 15.8857 8.99805 17.9297V19.9297C8.99805 20.4817 9.44575 20.9297 9.99805 20.9297H20.998C21.5503 20.9297 21.998 20.4817 21.998 19.9297V17.9297C21.998 15.9337 20.7628 14.1237 18.9355 13.3357C18.6783 13.2247 18.3786 13.2217 18.123 13.3357C17.2382 13.7327 16.3762 13.9297 15.498 13.9297C14.6228 13.9297 13.7578 13.7217 12.8418 13.3047C12.5899 13.1897 12.3163 13.1677 12.0605 13.2737Z"})})}function e3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M7.9974 1.30273C6.15646 1.30273 4.66406 2.79513 4.66406 4.63607C4.66406 6.477 6.15646 7.9694 7.9974 7.9694C9.83833 7.9694 11.3307 6.477 11.3307 4.63607C11.3307 2.79513 9.83833 1.30273 7.9974 1.30273ZM5.64326 8.8444C3.9004 9.32073 2.66406 10.8362 2.66406 12.6361V13.9694C2.66406 14.3376 2.96253 14.6361 3.33073 14.6361H12.6641C13.0323 14.6361 13.3307 14.3376 13.3307 13.9694V12.6361C13.3307 10.8362 12.0944 9.32073 10.3515 8.8444C10.2021 8.80353 10.0553 8.8224 9.91406 8.88607C9.30373 9.16113 8.654 9.30273 7.9974 9.30273C7.3408 9.30273 6.69106 9.16113 6.08073 8.88607C5.93946 8.8224 5.79266 8.80353 5.64326 8.8444Z"})})}function t3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M8.00846 1.30273C4.3266 1.30273 1.3418 4.2874 1.3418 7.9694C1.3418 11.6514 4.3266 14.6361 8.00846 14.6361C11.6903 14.6361 14.6751 11.6514 14.6751 7.9694C14.6751 4.2874 11.6903 1.30273 8.00846 1.30273ZM8.00846 4.63607C8.37667 4.63607 8.67513 4.93473 8.67513 5.30273V7.30273H10.6751C11.0433 7.30273 11.3418 7.6014 11.3418 7.9694C11.3418 8.3374 11.0433 8.63606 10.6751 8.63606H8.67513V10.6361C8.67513 11.0041 8.37667 11.3027 8.00846 11.3027C7.64026 11.3027 7.3418 11.0041 7.3418 10.6361V8.63606H5.3418C4.9736 8.63606 4.67513 8.3374 4.67513 7.9694C4.67513 7.6014 4.9736 7.30273 5.3418 7.30273H7.3418V5.30273C7.3418 4.93473 7.64026 4.63607 8.00846 4.63607Z"})})}function n3(e){return d.jsx("svg",{...e,viewBox:"0 0 18 19",fill:"currentcolor",children:d.jsx("path",{d:"M8.99072 0.929749C8.43872 0.929749 7.99072 1.37775 7.99072 1.92975V8.92975H0.990723C0.438723 8.92975 -0.00927734 9.37775 -0.00927734 9.92975C-0.00927734 10.4817 0.438723 10.9297 0.990723 10.9297H7.99072V17.9297C7.99072 18.4817 8.43872 18.9297 8.99072 18.9297C9.54272 18.9297 9.99072 18.4817 9.99072 17.9297V10.9297H16.9907C17.5427 10.9297 17.9907 10.4817 17.9907 9.92975C17.9907 9.37775 17.5427 8.92975 16.9907 8.92975H9.99072V1.92975C9.99072 1.37775 9.54272 0.929749 8.99072 0.929749Z"})})}function r3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.0059 0L3.41636 5.45646C2.44979 6.25682 2.3795 7.71452 3.26456 8.60418L5.54425 10.8957C6.21311 11.568 6.35783 12.6012 5.89944 13.4314L4.48126 16H2.13333C0.955126 16 0 15.0449 0 13.8667V2.13333C0 0.955126 0.955126 0 2.13333 0H10.0059ZM11.2436 0L10.0128 2.24221C9.55899 3.06891 9.70183 4.09549 10.3641 4.7669L12.7825 7.21868C13.6656 8.11402 13.5866 9.57512 12.612 10.37L5.70922 16H13.8667C15.0449 16 16 15.0449 16 13.8667V2.13333C16 0.955126 15.0449 0 13.8667 0H11.2436Z"})})}function o3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M11.4561 1.95312C12.8734 1.95312 13.998 3.15579 13.998 4.61979V11.2865C13.998 12.7505 12.8734 13.9531 11.4561 13.9531H11.3314V1.95312H11.4561ZM9.99805 1.95312V13.9531H4.53939C3.12272 13.9531 1.99805 12.7505 1.99805 11.2865V4.61979C1.99805 3.15579 3.12272 1.95312 4.53939 1.95312H9.99805ZM7.33138 4.61979H4.66471C4.29671 4.61979 3.99805 4.91846 3.99805 5.28646C3.99805 5.65446 4.29671 5.95312 4.66471 5.95312H7.33138C7.69938 5.95312 7.99805 5.65446 7.99805 5.28646C7.99805 4.91846 7.69938 4.61979 7.33138 4.61979ZM7.33138 7.28646H4.66471C4.29671 7.28646 3.99805 7.58512 3.99805 7.95312C3.99805 8.32112 4.29671 8.61979 4.66471 8.61979H7.33138C7.69938 8.61979 7.99805 8.32112 7.99805 7.95312C7.99805 7.58512 7.69938 7.28646 7.33138 7.28646ZM7.33138 9.95312H4.66471C4.29671 9.95312 3.99805 10.2518 3.99805 10.6198C3.99805 10.9878 4.29671 11.2865 4.66471 11.2865H7.33138C7.69938 11.2865 7.99805 10.9878 7.99805 10.6198C7.99805 10.2518 7.69938 9.95312 7.33138 9.95312Z"})})}function i3(e){return d.jsx("svg",{...e,viewBox:"0 0 21 17",fill:"currentcolor",children:d.jsx("path",{d:"M10.9863 4.90607C10.6036 4.90607 8.3471 4.87807 7.9863 4.90607C2.04289 5.36307 0.986294 9.90607 0.986294 14.9061V15.9061C2.85309 13.9911 3.9863 12.9061 7.9863 12.9061C8.7319 12.9061 10.0809 12.9061 10.9863 12.9061L11.0166 15.4801C11.0166 16.9001 11.8933 17.3321 12.9747 16.4451L20.1554 10.5521C21.2633 9.64306 21.2633 8.16907 20.1554 7.26007L12.9747 1.36707C11.8933 0.480072 11.0166 0.912068 11.0166 2.33207L10.9863 4.90607Z"})})}function a3(e){return d.jsxs("svg",{...e,viewBox:"0 0 71 19",fill:"currentcolor",children:[d.jsx("path",{d:"M53.6211 18.4887V9.0342H56.435V10.8096H56.4923C56.7377 10.181 57.1085 9.70244 57.6047 9.37398C58.101 9.03986 58.6981 8.8728 59.3962 8.8728C60.4105 8.8728 61.2039 9.1871 61.7765 9.8157C62.3546 10.4443 62.6436 11.3164 62.6436 12.432V18.4887H59.7397V13.0776C59.7397 12.5283 59.6007 12.1007 59.3225 11.7949C59.0499 11.4835 58.6654 11.3277 58.1692 11.3277C57.6784 11.3277 57.2803 11.4976 56.9749 11.8374C56.6695 12.1772 56.5168 12.6161 56.5168 13.1541V18.4887H53.6211Z"}),d.jsx("path",{d:"M53.097 9.03394L50.7412 18.4884H47.6164L46.1522 12.075H46.0949L44.6389 18.4884H41.5632L39.1992 9.03394H42.1195L43.3056 15.7532H43.3628L44.7861 9.03394H47.551L48.9906 15.7532H49.0479L50.234 9.03394H53.097Z"}),d.jsx("path",{d:"M37.8661 17.3926C37.0427 18.2591 35.9084 18.6923 34.4632 18.6923C33.0181 18.6923 31.8838 18.2591 31.0604 17.3926C30.2369 16.5205 29.8252 15.3086 29.8252 13.7569C29.8252 12.2336 30.2424 11.033 31.0767 10.1552C31.9111 9.2718 33.0399 8.83008 34.4632 8.83008C35.892 8.83008 37.0208 9.26896 37.8497 10.1467C38.6841 11.0188 39.1013 12.2222 39.1013 13.7569C39.1013 15.3143 38.6896 16.5262 37.8661 17.3926ZM33.2117 15.7702C33.5116 16.2402 33.9288 16.4752 34.4632 16.4752C34.9977 16.4752 35.4148 16.2402 35.7148 15.7702C36.0147 15.2945 36.1647 14.6234 36.1647 13.7569C36.1647 12.9131 36.012 12.2506 35.7066 11.7692C35.4012 11.2878 34.9868 11.0472 34.4632 11.0472C33.9343 11.0472 33.5171 11.2878 33.2117 11.7692C32.9118 12.2449 32.7618 12.9075 32.7618 13.7569C32.7618 14.6234 32.9118 15.2945 33.2117 15.7702Z"}),d.jsx("path",{d:"M20.0088 18.4887V9.0342H22.8227V10.8096H22.88C23.1254 10.181 23.4962 9.70244 23.9924 9.37398C24.4887 9.03986 25.0858 8.8728 25.7838 8.8728C26.7982 8.8728 27.5916 9.1871 28.1642 9.8157C28.7423 10.4443 29.0313 11.3164 29.0313 12.432V18.4887H26.1274V13.0776C26.1274 12.5283 25.9883 12.1007 25.7102 11.7949C25.4376 11.4835 25.0531 11.3277 24.5569 11.3277C24.0661 11.3277 23.668 11.4976 23.3626 11.8374C23.0572 12.1772 22.9045 12.6161 22.9045 13.1541V18.4887H20.0088Z"}),d.jsx("path",{d:"M14.7486 10.9707C14.2851 10.9707 13.8952 11.1321 13.5789 11.4549C13.2626 11.7777 13.0854 12.1911 13.0472 12.6951H16.4337C16.4064 12.1741 16.2374 11.7579 15.9265 11.4464C15.6212 11.1293 15.2285 10.9707 14.7486 10.9707ZM16.4991 15.5153H19.1167C18.9749 16.4837 18.5141 17.2567 17.7343 17.8343C16.9599 18.4063 15.9838 18.6923 14.8059 18.6923C13.3662 18.6923 12.2374 18.2591 11.4194 17.3926C10.6014 16.5262 10.1924 15.3313 10.1924 13.8079C10.1924 12.2845 10.5987 11.0755 11.4112 10.1807C12.2237 9.28029 13.3226 8.83008 14.7077 8.83008C16.0656 8.83008 17.1481 9.26047 17.9552 10.1213C18.7677 10.9764 19.174 12.1231 19.174 13.5616V14.4195H13.0145V14.6064C13.0145 15.184 13.1835 15.6541 13.5216 16.0165C13.8597 16.3733 14.3015 16.5517 14.8468 16.5517C15.2503 16.5517 15.5993 16.461 15.8938 16.2798C16.1883 16.0929 16.3901 15.8381 16.4991 15.5153Z"}),d.jsx("path",{d:"M3.00205 8.58396V12.0667H4.7771C5.32789 12.0667 5.7587 11.911 6.06954 11.5995C6.38038 11.2881 6.5358 10.8662 6.5358 10.3338C6.5358 9.80718 6.37492 9.38528 6.05318 9.06815C5.73143 8.74535 5.30335 8.58396 4.76892 8.58396H3.00205ZM3.00205 14.1989V18.4886H0V6.23096H5.07158C6.53307 6.23096 7.65373 6.5849 8.43355 7.29278C9.21337 8.00066 9.60328 8.99453 9.60328 10.2744C9.60328 11.0446 9.42605 11.7439 9.07159 12.3725C8.71712 12.9955 8.2236 13.4514 7.59101 13.7402L9.94684 18.4886H6.5767L4.55624 14.1989H3.00205Z"}),d.jsx("path",{d:"M65.7255 0.211478C65.0841 2.46724 63.3737 4.2455 61.2041 4.90969C60.932 4.99366 60.932 5.39096 61.2041 5.47492C63.3725 6.13912 65.0841 7.91738 65.7255 10.1731C65.8056 10.4551 66.1932 10.4551 66.2745 10.1731C66.9159 7.91738 68.6263 6.13912 70.7959 5.47492C71.068 5.39096 71.068 4.99366 70.7959 4.90969C68.6276 4.2455 66.9159 2.46724 66.2745 0.211478C66.1944 -0.0704925 65.8068 -0.0704925 65.7255 0.211478Z",fill:"#21FFB4"})]})}function s3(e){return d.jsxs("svg",{...e,viewBox:"0 0 71 19",fill:"currentcolor",children:[d.jsx("path",{d:"M53.6211 18.4887V9.0342H56.435V10.8096H56.4923C56.7377 10.181 57.1085 9.70244 57.6047 9.37398C58.101 9.03986 58.6981 8.8728 59.3962 8.8728C60.4105 8.8728 61.2039 9.1871 61.7765 9.8157C62.3546 10.4443 62.6436 11.3164 62.6436 12.432V18.4887H59.7397V13.0776C59.7397 12.5283 59.6007 12.1007 59.3225 11.7949C59.0499 11.4835 58.6654 11.3277 58.1692 11.3277C57.6784 11.3277 57.2803 11.4976 56.9749 11.8374C56.6695 12.1772 56.5168 12.6161 56.5168 13.1541V18.4887H53.6211Z"}),d.jsx("path",{d:"M53.097 9.03394L50.7412 18.4884H47.6164L46.1522 12.075H46.0949L44.6389 18.4884H41.5632L39.1992 9.03394H42.1195L43.3056 15.7532H43.3628L44.7861 9.03394H47.551L48.9906 15.7532H49.0479L50.234 9.03394H53.097Z"}),d.jsx("path",{d:"M37.8661 17.3926C37.0427 18.2591 35.9084 18.6923 34.4632 18.6923C33.0181 18.6923 31.8838 18.2591 31.0604 17.3926C30.2369 16.5205 29.8252 15.3086 29.8252 13.7569C29.8252 12.2336 30.2424 11.033 31.0767 10.1552C31.9111 9.2718 33.0399 8.83008 34.4632 8.83008C35.892 8.83008 37.0208 9.26896 37.8497 10.1467C38.6841 11.0188 39.1013 12.2222 39.1013 13.7569C39.1013 15.3143 38.6896 16.5262 37.8661 17.3926ZM33.2117 15.7702C33.5116 16.2402 33.9288 16.4752 34.4632 16.4752C34.9977 16.4752 35.4148 16.2402 35.7148 15.7702C36.0147 15.2945 36.1647 14.6234 36.1647 13.7569C36.1647 12.9131 36.012 12.2506 35.7066 11.7692C35.4012 11.2878 34.9868 11.0472 34.4632 11.0472C33.9343 11.0472 33.5171 11.2878 33.2117 11.7692C32.9118 12.2449 32.7618 12.9075 32.7618 13.7569C32.7618 14.6234 32.9118 15.2945 33.2117 15.7702Z"}),d.jsx("path",{d:"M20.0088 18.4887V9.0342H22.8227V10.8096H22.88C23.1254 10.181 23.4962 9.70244 23.9924 9.37398C24.4887 9.03986 25.0858 8.8728 25.7838 8.8728C26.7982 8.8728 27.5916 9.1871 28.1642 9.8157C28.7423 10.4443 29.0313 11.3164 29.0313 12.432V18.4887H26.1274V13.0776C26.1274 12.5283 25.9883 12.1007 25.7102 11.7949C25.4376 11.4835 25.0531 11.3277 24.5569 11.3277C24.0661 11.3277 23.668 11.4976 23.3626 11.8374C23.0572 12.1772 22.9045 12.6161 22.9045 13.1541V18.4887H20.0088Z"}),d.jsx("path",{d:"M14.7486 10.9707C14.2851 10.9707 13.8952 11.1321 13.5789 11.4549C13.2626 11.7777 13.0854 12.1911 13.0472 12.6951H16.4337C16.4064 12.1741 16.2374 11.7579 15.9265 11.4464C15.6212 11.1293 15.2285 10.9707 14.7486 10.9707ZM16.4991 15.5153H19.1167C18.9749 16.4837 18.5141 17.2567 17.7343 17.8343C16.9599 18.4063 15.9838 18.6923 14.8059 18.6923C13.3662 18.6923 12.2374 18.2591 11.4194 17.3926C10.6014 16.5262 10.1924 15.3313 10.1924 13.8079C10.1924 12.2845 10.5987 11.0755 11.4112 10.1807C12.2237 9.28029 13.3226 8.83008 14.7077 8.83008C16.0656 8.83008 17.1481 9.26047 17.9552 10.1213C18.7677 10.9764 19.174 12.1231 19.174 13.5616V14.4195H13.0145V14.6064C13.0145 15.184 13.1835 15.6541 13.5216 16.0165C13.8597 16.3733 14.3015 16.5517 14.8468 16.5517C15.2503 16.5517 15.5993 16.461 15.8938 16.2798C16.1883 16.0929 16.3901 15.8381 16.4991 15.5153Z"}),d.jsx("path",{d:"M3.00205 8.58396V12.0667H4.7771C5.32789 12.0667 5.7587 11.911 6.06954 11.5995C6.38038 11.2881 6.5358 10.8662 6.5358 10.3338C6.5358 9.80718 6.37492 9.38528 6.05318 9.06815C5.73143 8.74535 5.30335 8.58396 4.76892 8.58396H3.00205ZM3.00205 14.1989V18.4886H0V6.23096H5.07158C6.53307 6.23096 7.65373 6.5849 8.43355 7.29278C9.21337 8.00066 9.60328 8.99453 9.60328 10.2744C9.60328 11.0446 9.42605 11.7439 9.07159 12.3725C8.71712 12.9955 8.2236 13.4514 7.59101 13.7402L9.94684 18.4886H6.5767L4.55624 14.1989H3.00205Z"}),d.jsx("path",{d:"M65.7255 0.211478C65.0841 2.46724 63.3737 4.2455 61.2041 4.90969C60.932 4.99366 60.932 5.39096 61.2041 5.47492C63.3725 6.13912 65.0841 7.91738 65.7255 10.1731C65.8056 10.4551 66.1932 10.4551 66.2745 10.1731C66.9159 7.91738 68.6263 6.13912 70.7959 5.47492C71.068 5.39096 71.068 4.99366 70.7959 4.90969C68.6276 4.2455 66.9159 2.46724 66.2745 0.211478C66.1944 -0.0704925 65.8068 -0.0704925 65.7255 0.211478Z"})]})}function l3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M7.99853 2.60352C5.0532 2.60352 2.66519 4.99152 2.66519 7.93685C2.66519 10.8822 5.0532 13.2702 7.99853 13.2702C10.9439 13.2702 13.3319 10.8822 13.3319 7.93685C13.3319 4.99152 10.9439 2.60352 7.99853 2.60352ZM7.99853 3.93685C10.2079 3.93685 11.9985 5.72752 11.9985 7.93685C11.9985 10.1462 10.2079 11.9368 7.99853 11.9368C5.7892 11.9368 3.99853 10.1462 3.99853 7.93685C3.99853 5.72752 5.7892 3.93685 7.99853 3.93685Z"})})}function c3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M2 4.66667C2 3.194 3.194 2 4.66667 2H8.08333C7.64666 2.564 7.33333 3.23133 7.33333 4V8.66667H5.33333L8 11.3333L10.6667 8.66667H8.66666V4C8.66666 2.89533 9.562 2 10.6667 2H11.3333C12.806 2 14 3.194 14 4.66667V11.3333C14 12.806 12.806 14 11.3333 14H4.66667C3.194 14 2 12.806 2 11.3333V4.66667Z"})})}function u3(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M10.0137 1.95312C5.59537 1.95312 2.01367 5.53513 2.01367 9.95314C2.01367 14.3712 5.59537 17.9532 10.0137 17.9532C11.8504 17.9532 13.5913 17.3222 14.9416 16.2822L19.2949 20.6722C19.6855 21.0622 20.3419 21.0622 20.7325 20.6722C21.123 20.2812 21.123 19.6252 20.7325 19.2342L16.349 14.8741C17.3898 13.5241 18.0137 11.7901 18.0137 9.95314C18.0137 5.53513 14.432 1.95312 10.0137 1.95312ZM10.0137 3.95313C13.3274 3.95313 16.0137 6.63914 16.0137 9.95314C16.0137 13.2672 13.3274 15.9532 10.0137 15.9532C6.69997 15.9532 4.01367 13.2672 4.01367 9.95314C4.01367 6.63914 6.69997 3.95313 10.0137 3.95313Z"})})}function d3(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M11.998 1.95312C7.63605 1.95312 3.99805 3.51213 3.99805 5.95312C3.99805 8.39412 7.63605 9.95312 11.998 9.95312C16.36 9.95312 19.998 8.39412 19.998 5.95312C19.998 3.51213 16.36 1.95312 11.998 1.95312ZM3.99805 9.57812V11.9531C3.99805 14.3941 7.63605 15.9531 11.998 15.9531C16.36 15.9531 19.998 14.3941 19.998 11.9531V9.57812C18.184 11.0681 15.356 11.9531 11.998 11.9531C8.64005 11.9531 5.81205 11.0681 3.99805 9.57812ZM3.99805 15.5781V17.9531C3.99805 20.3941 7.63605 21.9531 11.998 21.9531C16.36 21.9531 19.998 20.3941 19.998 17.9531V15.5781C18.184 17.0681 15.356 17.9531 11.998 17.9531C8.64005 17.9531 5.81205 17.0681 3.99805 15.5781Z"})})}function f3(e){return d.jsxs("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:[d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 2C13.1894 2 13.8136 2.27905 14.2659 2.73036C14.2834 2.74784 14.3007 2.76559 14.3177 2.78358C14.7174 3.20678 14.971 3.76953 14.9977 4.39107L14.9985 4.41205C14.9995 4.44124 15 4.47056 15 4.5L15 4.51426C15 4.55491 15.0247 4.59145 15.0623 4.60702C15.0998 4.62261 15.1431 4.61423 15.1719 4.58546L15.182 4.57538C15.2028 4.55456 15.2239 4.53419 15.2452 4.51426L15.2607 4.5C15.719 4.07934 16.2962 3.86073 16.8782 3.84417C16.9029 3.84346 16.9277 3.84312 16.9524 3.84315C17.5913 3.84382 18.23 4.0879 18.7175 4.57538L19.4246 5.28249C19.9121 5.76997 20.1562 6.40868 20.1569 7.0476C20.1569 7.07234 20.1565 7.09709 20.1558 7.12182C20.1393 7.70375 19.9207 8.281 19.5 8.73935L19.4857 8.75476C19.4658 8.77611 19.4454 8.7972 19.4246 8.81802L19.4145 8.82811C19.3858 8.85687 19.3774 8.90017 19.393 8.93775C19.4085 8.97529 19.4451 9 19.4857 9L19.5 9C19.5294 9 19.5588 9.00051 19.5879 9.00152L19.6089 9.00233C20.2305 9.02898 20.7932 9.28257 21.2164 9.68233C21.2344 9.69933 21.2522 9.71659 21.2696 9.73411C21.721 10.1864 22 10.8106 22 11.5L22 12.5C22 13.1894 21.721 13.8136 21.2696 14.2659C21.2522 14.2834 21.2344 14.3007 21.2164 14.3177C20.7932 14.7174 20.2305 14.971 19.6089 14.9977L19.5879 14.9985C19.5588 14.9995 19.5294 15 19.5 15L19.4857 15C19.4451 15 19.4085 15.0247 19.393 15.0623C19.3774 15.0998 19.3858 15.1431 19.4145 15.1719L19.4246 15.182C19.4454 15.2028 19.4658 15.2239 19.4857 15.2452L19.5 15.2607C19.9207 15.719 20.1393 16.2962 20.1558 16.8782C20.1565 16.9029 20.1569 16.9277 20.1569 16.9524C20.1562 17.5913 19.9121 18.23 19.4246 18.7175L18.7175 19.4246C18.23 19.9121 17.5913 20.1562 16.9524 20.1568C16.9277 20.1569 16.9029 20.1565 16.8782 20.1558C16.2963 20.1393 15.719 19.9207 15.2607 19.5L15.2452 19.4857C15.2239 19.4658 15.2028 19.4454 15.182 19.4246L15.1719 19.4145C15.1431 19.3858 15.0998 19.3774 15.0623 19.393C15.0247 19.4085 15 19.4451 15 19.4857L15 19.5C15 19.5294 14.9995 19.5588 14.9985 19.5879L14.9977 19.6089C14.971 20.2305 14.7174 20.7932 14.3177 21.2164C14.3007 21.2344 14.2834 21.2522 14.2659 21.2696C13.8136 21.7209 13.1894 22 12.5 22L11.5 22C10.8106 22 10.1864 21.7209 9.73411 21.2696C9.71659 21.2522 9.69933 21.2344 9.68233 21.2164C9.28257 20.7932 9.02898 20.2305 9.00233 19.6089L9.00152 19.5879C9.00051 19.5588 9 19.5294 9 19.5L9 19.4857C9 19.4451 8.97529 19.4085 8.93774 19.393C8.90017 19.3774 8.85687 19.3858 8.8281 19.4145L8.81802 19.4246C8.7972 19.4454 8.77611 19.4658 8.75475 19.4857L8.73934 19.5C8.281 19.9207 7.70375 20.1393 7.12182 20.1558C7.09708 20.1565 7.07234 20.1569 7.0476 20.1568C6.40868 20.1562 5.76997 19.9121 5.28249 19.4246L4.57538 18.7175C4.0879 18.23 3.84382 17.5913 3.84315 16.9524C3.84312 16.9277 3.84346 16.9029 3.84417 16.8782C3.86073 16.2962 4.07934 15.719 4.5 15.2607L4.51426 15.2452C4.53419 15.2239 4.55456 15.2028 4.57538 15.182L4.58546 15.1719C4.61423 15.1431 4.62261 15.0998 4.60702 15.0623C4.59145 15.0247 4.55491 15 4.51426 15L4.5 15C4.47056 15 4.44125 14.9995 4.41205 14.9985L4.39107 14.9977C3.76953 14.971 3.20678 14.7174 2.78358 14.3177C2.76558 14.3007 2.74784 14.2834 2.73036 14.2659C2.27905 13.8136 2 13.1894 2 12.5L2 11.5C2 10.8106 2.27905 10.1864 2.73036 9.73411C2.74784 9.71659 2.76558 9.69933 2.78358 9.68233C3.20678 9.28257 3.76953 9.02898 4.39107 9.00233L4.41205 9.00152C4.44125 9.00051 4.47056 9 4.5 9L4.51426 9C4.55491 9 4.59145 8.97529 4.60702 8.93775C4.62261 8.90017 4.61423 8.85687 4.58546 8.82811L4.57538 8.81802C4.55456 8.7972 4.53419 8.77611 4.51426 8.75476L4.5 8.73935C4.07934 8.281 3.86073 7.70375 3.84417 7.12182C3.84346 7.09709 3.84312 7.07234 3.84315 7.0476C3.84382 6.40868 4.0879 5.76997 4.57538 5.28249L5.28249 4.57538C5.76997 4.0879 6.40868 3.84382 7.0476 3.84315C7.07234 3.84312 7.09709 3.84346 7.12182 3.84417C7.70375 3.86073 8.281 4.07934 8.73934 4.5L8.75476 4.51426C8.77611 4.53419 8.7972 4.55456 8.81802 4.57538L8.8281 4.58546C8.85687 4.61423 8.90017 4.62261 8.93775 4.60702C8.97529 4.59145 9 4.55491 9 4.51426L9 4.5C9 4.47056 9.00051 4.44124 9.00152 4.41205L9.00233 4.39107C9.02898 3.76953 9.28257 3.20678 9.68233 2.78358C9.69933 2.76559 9.71659 2.74784 9.73411 2.73036C10.1864 2.27905 10.8106 2 11.5 2L12.5 2ZM11 19.5C11 19.7761 11.2239 20 11.5 20L12.5 20C12.7761 20 13 19.7761 13 19.5L13 19.4857C13 18.6262 13.5212 17.8669 14.2962 17.5455C15.0727 17.2235 15.9787 17.3929 16.5861 18.0003L16.5962 18.0104C16.7915 18.2057 17.108 18.2057 17.3033 18.0104L18.0104 17.3033C18.2057 17.108 18.2057 16.7915 18.0104 16.5962L18.0003 16.5861C17.3929 15.9787 17.2235 15.0727 17.5455 14.2961C17.8669 13.5212 18.6262 13 19.4857 13L19.5 13C19.7761 13 20 12.7761 20 12.5L20 11.5C20 11.2239 19.7761 11 19.5 11L19.4857 11C18.6262 11 17.8669 10.4788 17.5455 9.70385C17.2235 8.92727 17.3929 8.02132 18.0003 7.41389L18.0104 7.40381C18.2057 7.20854 18.2057 6.89196 18.0104 6.6967L17.3033 5.98959C17.108 5.79433 16.7915 5.79433 16.5962 5.98959L16.5861 5.99968C15.9787 6.60711 15.0727 6.77651 14.2962 6.45448C13.5212 6.13311 13 5.37381 13 4.51426L13 4.5C13 4.22386 12.7761 4 12.5 4L11.5 4C11.2239 4 11 4.22386 11 4.5L11 4.51426C11 5.37381 10.4788 6.13311 9.70384 6.45448C8.92725 6.77651 8.02132 6.60711 7.41389 5.99968L7.40381 5.98959C7.20854 5.79433 6.89196 5.79433 6.6967 5.98959L5.98959 6.6967C5.79433 6.89196 5.79433 7.20854 5.98959 7.40381L5.99967 7.41389C6.60711 8.02132 6.77651 8.92727 6.45448 9.70385C6.13311 10.4788 5.37382 11 4.51426 11L4.5 11C4.22386 11 4 11.2239 4 11.5L4 12.5C4 12.7761 4.22386 13 4.5 13L4.51426 13C5.37382 13 6.13311 13.5212 6.45447 14.2961C6.77651 15.0727 6.60711 15.9787 5.99968 16.5861L5.98959 16.5962C5.79433 16.7915 5.79433 17.108 5.98959 17.3033L6.6967 18.0104C6.89196 18.2057 7.20854 18.2057 7.4038 18.0104L7.41389 18.0003C8.02132 17.3929 8.92726 17.2235 9.70384 17.5455C10.4788 17.8669 11 18.6262 11 19.4857L11 19.5Z"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 14C13.1046 14 14 13.1046 14 12C14 10.8954 13.1046 10 12 10C10.8954 10 10 10.8954 10 12C10 13.1046 10.8954 14 12 14ZM12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z"})]})}function p3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M8.01042 1.3418C4.32842 1.3418 1.34375 4.3266 1.34375 8.00847C1.34375 11.6905 4.32842 14.6751 8.01042 14.6751C11.6924 14.6751 14.6771 11.6905 14.6771 8.00847C14.6771 4.3266 11.6924 1.3418 8.01042 1.3418ZM8.01042 4.67513C8.37842 4.67513 8.67708 4.9736 8.67708 5.3418V8.67514H10.6771L8.01042 11.3418L5.34375 8.67514H7.34375V5.3418C7.34375 4.9736 7.64242 4.67513 8.01042 4.67513Z"})})}function h3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M7.81333 1.33662C6.07787 1.38545 4.42992 2.10935 3.21991 3.35437C2.0099 4.59939 1.3333 6.26732 1.33398 8.00346C1.33478 9.7711 2.03752 11.4661 3.28771 12.7157C4.5379 13.9653 6.23319 14.6673 8.00083 14.6673C9.76847 14.6673 11.4638 13.9653 12.714 12.7157C13.9641 11.4661 14.6669 9.7711 14.6677 8.00346C14.668 7.11195 14.4896 6.22943 14.1429 5.4081C13.7962 4.58678 13.2883 3.84332 12.6492 3.22173C12.0101 2.60015 11.2529 2.11306 10.4222 1.78926C9.59161 1.46547 8.70448 1.31155 7.81333 1.33662ZM8.00083 4.67003C8.92086 4.67003 9.75038 5.00753 10.3551 5.60755L11.3343 4.67003V7.33679H11.2718H10.2093H8.66755L9.62591 6.33676C9.21457 5.93674 8.64705 5.67005 8.0217 5.67005C6.98901 5.67005 6.13082 6.4034 5.83414 7.33679H4.72995C5.04062 5.80341 6.39012 4.67003 8.00083 4.67003ZM4.66741 8.67016H4.72988H5.79241H7.33412L6.37576 9.60768C6.7871 10.0077 7.35461 10.2744 7.97997 10.2744C9.01266 10.2744 9.87085 9.60351 10.1675 8.67016H11.2717C10.961 10.1368 9.61151 11.3369 8.0008 11.3369C7.08078 11.3369 6.25125 10.9369 5.64657 10.3369L4.66738 11.3369L4.66741 8.67016Z"})})}function m3(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M11.9981 4.46484C11.1693 4.46484 10.4981 5.13609 10.4981 5.96484H6.74805C6.33405 5.96484 5.99805 6.30084 5.99805 6.71484C5.99805 7.12884 6.33405 7.46483 6.74805 7.46483H17.2481C17.6621 7.46483 17.9981 7.12884 17.9981 6.71484C17.9981 6.30084 17.6621 5.96484 17.2481 5.96484H13.4981C13.4981 5.13609 12.8268 4.46484 11.9981 4.46484ZM6.74805 8.96483V16.4648C6.74805 18.1073 8.1018 19.4415 9.74805 19.4415L14.2713 19.4648C15.9176 19.4648 17.2481 18.1111 17.2481 16.4648V8.96483H6.74805ZM10.4981 11.2148C10.9121 11.2148 11.2481 11.5508 11.2481 11.9648V16.4648C11.2481 16.8788 10.9121 17.2148 10.4981 17.2148C10.0841 17.2148 9.74805 16.8788 9.74805 16.4648V11.9648C9.74805 11.5508 10.0841 11.2148 10.4981 11.2148ZM13.4981 11.2148C13.9121 11.2148 14.2481 11.5508 14.2481 11.9648V16.4648C14.2481 16.8788 13.9121 17.2148 13.4981 17.2148C13.0841 17.2148 12.7481 16.8788 12.7481 16.4648V11.9648C12.7481 11.5508 13.0841 11.2148 13.4981 11.2148Z"})})}function g3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M7.99935 1.30273C7.26269 1.30273 6.66602 1.8994 6.66602 2.63606H3.33268C2.96468 2.63606 2.66602 2.93473 2.66602 3.30273C2.66602 3.67073 2.96468 3.96939 3.33268 3.96939H12.666C13.034 3.96939 13.3327 3.67073 13.3327 3.30273C13.3327 2.93473 13.034 2.63606 12.666 2.63606H9.33269C9.33269 1.8994 8.73602 1.30273 7.99935 1.30273ZM3.33268 5.30272V11.9694C3.33268 13.4294 4.53602 14.6154 5.99935 14.6154L10.02 14.636C11.4834 14.636 12.666 13.4327 12.666 11.9694V5.30272H3.33268ZM6.66602 7.30272C7.03402 7.30272 7.33269 7.60138 7.33269 7.96938V11.9694C7.33269 12.3374 7.03402 12.636 6.66602 12.636C6.29802 12.636 5.99935 12.3374 5.99935 11.9694V7.96938C5.99935 7.60138 6.29802 7.30272 6.66602 7.30272ZM9.33269 7.30272C9.70069 7.30272 9.99936 7.60138 9.99936 7.96938V11.9694C9.99936 12.3374 9.70069 12.636 9.33269 12.636C8.96469 12.636 8.66602 12.3374 8.66602 11.9694V7.96938C8.66602 7.60138 8.96469 7.30272 9.33269 7.30272Z"})})}function v3(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M4.09245 12.0893L4 11.9998L4.09245 11.9103L4.66414 11.3568L4.66493 11.356L9.81374 6.37154C10.1808 6.01623 10.7758 6.01623 11.1428 6.37154C11.5098 6.72685 11.5098 7.30291 11.1428 7.65822L7.59798 11.09L19.0602 11.09C19.5792 11.09 20 11.4973 20 11.9998C20 12.5023 19.5792 12.9096 19.0602 12.9096L7.59798 12.9096L11.1428 16.3413C11.5098 16.6967 11.5098 17.2727 11.1428 17.628C10.7758 17.9834 10.1808 17.9834 9.81375 17.628L4.66493 12.6435L4.66414 12.6427L4.09245 12.0893Z"})})}function b3(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M14.0098 3.95312C14.0098 2.84812 13.1144 1.95312 12.0098 1.95312C10.9052 1.95312 10.0098 2.84812 10.0098 3.95312C10.0098 5.05812 10.9052 5.95311 12.0098 5.95311C13.1144 5.95311 14.0098 5.05812 14.0098 3.95312ZM14.0098 11.9531C14.0098 10.8481 13.1144 9.9531 12.0098 9.9531C10.9052 9.9531 10.0098 10.8481 10.0098 11.9531C10.0098 13.0581 10.9052 13.9531 12.0098 13.9531C13.1144 13.9531 14.0098 13.0581 14.0098 11.9531ZM14.0098 19.9531C14.0098 18.8481 13.1144 17.9531 12.0098 17.9531C10.9052 17.9531 10.0098 18.8481 10.0098 19.9531C10.0098 21.0581 10.9052 21.9531 12.0098 21.9531C13.1144 21.9531 14.0098 21.0581 14.0098 19.9531Z"})})}function y3(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M12 3C7.0293 3 3 7.0293 3 12C3 16.9707 7.0293 21 12 21C16.9707 21 21 16.9707 21 12C21 7.0293 16.9707 3 12 3ZM12 7.5C12.4968 7.5 12.9 7.9032 12.9 8.4V12.9C12.9 13.3968 12.4968 13.8 12 13.8C11.5032 13.8 11.1 13.3968 11.1 12.9V8.4C11.1 7.9032 11.5032 7.5 12 7.5ZM12 14.7C12.4968 14.7 12.9 15.1032 12.9 15.6C12.9 16.0968 12.4968 16.5 12 16.5C11.5032 16.5 11.1 16.0968 11.1 15.6C11.1 15.1032 11.5032 14.7 12 14.7Z"})})}function x3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M3.32875 2.60352C3.15815 2.60352 2.97975 2.66085 2.84955 2.79085C2.58921 3.05152 2.58921 3.48884 2.84955 3.74951L7.03708 7.93685L2.84955 12.1242C2.58921 12.3849 2.58921 12.8222 2.84955 13.0828C3.10995 13.3428 3.54755 13.3428 3.80795 13.0828L7.99541 8.89552L12.1829 13.0828C12.4433 13.3428 12.8809 13.3428 13.1413 13.0828C13.4016 12.8222 13.4016 12.3849 13.1413 12.1242L8.95375 7.93685L13.1413 3.74951C13.4016 3.48884 13.4016 3.05152 13.1413 2.79085C13.0111 2.66085 12.8326 2.60352 12.6621 2.60352C12.4915 2.60352 12.3131 2.66085 12.1829 2.79085L7.99541 6.97818L3.80795 2.79085C3.67775 2.66085 3.49935 2.60352 3.32875 2.60352Z"})})}function w3(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.9993 8.51506L15.4844 7L11.9994 10.4852L8.51497 7.00057L7 8.51562L10.4844 12.0003L7.00056 15.4843L8.51552 16.9994L11.9994 13.5153L15.4838 17L16.9988 15.4849L13.5144 12.0003L16.9993 8.51506Z"})})}const C3={ArrowFilledRight:h2,ArrowLeft:m2,ArrowUp:g2,BarChart:v2,BaseArrowLeft:b2,BaseArrowRight:y2,Braces:x2,Branch:w2,BrickGlobe:C2,Briefcase:S2,Calendar:I2,CaretDown:M2,Caret:E2,CheckCircleFill:P2,CheckCircle:O2,Check:j2,ChevronDown:k2,Circle:N2,ClockFill:A2,CloudSlash:T2,Collapse:D2,Connect:F2,Drive:R2,Ellipsis:L2,Error:V2,Exclamation:_2,FilesEarmark:H2,FolderClose:z2,FolderOpen:U2,FolderPlus:B2,Gear:$2,Globe:W2,Hdd:Z2,History:q2,InfoSquare:G2,Link:Y2,Lock:X2,M:K2,Pencil:Q2,People:J2,Person:e3,PlusCircle:t3,Plus:n3,PowerhouseLogoSmall:r3,Project:o3,RedoArrow:i3,RenownHover:a3,Renown:s3,Ring:l3,Save:c3,Search:u3,Server:d3,Settings:f3,Synced:p3,Syncing:h3,TrashFill:m3,Trash:g3,VariantArrowLeft:v3,VerticalDots:b3,WarningFill:y3,XmarkLight:x3,Xmark:w3},Rl="-";function S3(e){const t=M3(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function o(a){const s=a.split(Rl);return s[0]===""&&s.length!==1&&s.shift(),Ud(s,t)||I3(a)}function i(a,s){const l=n[a]||[];return s&&r[a]?[...l,...r[a]]:l}return{getClassGroupId:o,getConflictingClassGroupIds:i}}function Ud(e,t){var n;if(e.length===0)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),i=o?Ud(e.slice(1),o):void 0;if(i)return i;if(t.validators.length===0)return;const a=e.join(Rl);return(n=t.validators.find(({validator:s})=>s(a)))==null?void 0:n.classGroupId}const gu=/^\[(.+)\]$/;function I3(e){if(gu.test(e)){const t=gu.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function M3(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return P3(Object.entries(e.classGroups),n).forEach(([o,i])=>{_s(i,r,o,t)}),r}function _s(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:vu(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(E3(o)){_s(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,a])=>{_s(a,vu(t,i),n,r)})})}function vu(e,t){let n=e;return t.split(Rl).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function E3(e){return e.isThemeGetter}function P3(e,t){return t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([a,s])=>[t+a,s])):i);return[n,o]}):e}function O3(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(i,a){n.set(i,a),t++,t>e&&(t=0,r=n,n=new Map)}return{get(i){let a=n.get(i);if(a!==void 0)return a;if((a=r.get(i))!==void 0)return o(i,a),a},set(i,a){n.has(i)?n.set(i,a):o(i,a)}}}const Bd="!";function j3(e){const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length;function a(s){const l=[];let u=0,c=0,f;for(let b=0;b<s.length;b++){let y=s[b];if(u===0){if(y===o&&(r||s.slice(b,b+i)===t)){l.push(s.slice(c,b)),c=b+i;continue}if(y==="/"){f=b;continue}}y==="["?u++:y==="]"&&u--}const p=l.length===0?s:s.substring(c),v=p.startsWith(Bd),h=v?p.substring(1):p,m=f&&f>c?f-c:void 0;return{modifiers:l,hasImportantModifier:v,baseClassName:h,maybePostfixModifierPosition:m}}return n?function(s){return n({className:s,parseClassName:a})}:a}function k3(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function N3(e){return{cache:O3(e.cacheSize),parseClassName:j3(e),...S3(e)}}const A3=/\s+/;function T3(e,t){const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=new Set;return e.trim().split(A3).map(a=>{const{modifiers:s,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:c}=n(a);let f=!!c,p=r(f?u.substring(0,c):u);if(!p){if(!f)return{isTailwindClass:!1,originalClassName:a};if(p=r(u),!p)return{isTailwindClass:!1,originalClassName:a};f=!1}const v=k3(s).join(":");return{isTailwindClass:!0,modifierId:l?v+Bd:v,classGroupId:p,originalClassName:a,hasPostfixModifier:f}}).reverse().filter(a=>{if(!a.isTailwindClass)return!0;const{modifierId:s,classGroupId:l,hasPostfixModifier:u}=a,c=s+l;return i.has(c)?!1:(i.add(c),o(l,u).forEach(f=>i.add(s+f)),!0)}).reverse().map(a=>a.originalClassName).join(" ")}function Go(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=$d(t))&&(r&&(r+=" "),r+=n);return r}function $d(e){if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=$d(e[r]))&&(n&&(n+=" "),n+=t);return n}function D3(e,...t){let n,r,o,i=a;function a(l){const u=t.reduce((c,f)=>f(c),e());return n=N3(u),r=n.cache.get,o=n.cache.set,i=s,s(l)}function s(l){const u=r(l);if(u)return u;const c=T3(l,n);return o(l,c),c}return function(){return i(Go.apply(null,arguments))}}function we(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Wd=/^\[(?:([a-z-]+):)?(.+)\]$/i,F3=/^\d+\/\d+$/,R3=new Set(["px","full","screen"]),L3=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,V3=/\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$/,_3=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,H3=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,z3=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Vt(e){return jn(e)||R3.has(e)||F3.test(e)}function Qt(e){return Pr(e,"length",Y3)}function jn(e){return!!e&&!Number.isNaN(Number(e))}function ni(e){return Pr(e,"number",jn)}function _r(e){return!!e&&Number.isInteger(Number(e))}function U3(e){return e.endsWith("%")&&jn(e.slice(0,-1))}function se(e){return Wd.test(e)}function Jt(e){return L3.test(e)}const B3=new Set(["length","size","percentage"]);function $3(e){return Pr(e,B3,Zd)}function W3(e){return Pr(e,"position",Zd)}const Z3=new Set(["image","url"]);function q3(e){return Pr(e,Z3,K3)}function G3(e){return Pr(e,"",X3)}function Hr(){return!0}function Pr(e,t,n){const r=Wd.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function Y3(e){return V3.test(e)&&!_3.test(e)}function Zd(){return!1}function X3(e){return H3.test(e)}function K3(e){return z3.test(e)}function Q3(){const e=we("colors"),t=we("spacing"),n=we("blur"),r=we("brightness"),o=we("borderColor"),i=we("borderRadius"),a=we("borderSpacing"),s=we("borderWidth"),l=we("contrast"),u=we("grayscale"),c=we("hueRotate"),f=we("invert"),p=we("gap"),v=we("gradientColorStops"),h=we("gradientColorStopPositions"),m=we("inset"),b=we("margin"),y=we("opacity"),x=we("padding"),S=we("saturate"),M=we("scale"),w=we("sepia"),I=we("skew"),C=we("space"),P=we("translate"),T=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto",se,t],R=()=>[se,t],B=()=>["",Vt,Qt],E=()=>["auto",jn,se],N=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],A=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",se],W=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>[jn,ni],te=()=>[jn,se];return{cacheSize:500,separator:":",theme:{colors:[Hr],spacing:[Vt,Qt],blur:["none","",Jt,se],brightness:Z(),borderColor:[e],borderRadius:["none","","full",Jt,se],borderSpacing:R(),borderWidth:B(),contrast:Z(),grayscale:L(),hueRotate:te(),invert:L(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[U3,Qt],inset:H(),margin:H(),opacity:Z(),padding:R(),saturate:Z(),scale:Z(),sepia:L(),skew:te(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",se]}],container:["container"],columns:[{columns:[Jt]}],"break-after":[{"break-after":W()}],"break-before":[{"break-before":W()}],"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"],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:[...N(),se]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_r,se]}],basis:[{basis:H()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",se]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",_r,se]}],"grid-cols":[{"grid-cols":[Hr]}],"col-start-end":[{col:["auto",{span:["full",_r,se]},se]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[Hr]}],"row-start-end":[{row:["auto",{span:[_r,se]},se]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",se]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",se]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...$()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...$(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...$(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[C]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",se,t]}],"min-w":[{"min-w":[se,t,"min","max","fit"]}],"max-w":[{"max-w":[se,t,"none","full","min","max","fit","prose",{screen:[Jt]},Jt]}],h:[{h:[se,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[se,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[se,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[se,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Jt,Qt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ni]}],"font-family":[{font:[Hr]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",se]}],"line-clamp":[{"line-clamp":["none",jn,ni]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Vt,se]}],"list-image":[{"list-image":["none",se]}],"list-style-type":[{list:["none","disc","decimal",se]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...A(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Vt,Qt]}],"underline-offset":[{"underline-offset":["auto",Vt,se]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",se]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",se]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...N(),W3]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$3]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},q3]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...A(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:A()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[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:["",...A()]}],"outline-offset":[{"outline-offset":[Vt,se]}],"outline-w":[{outline:[Vt,Qt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Vt,Qt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Jt,G3]}],"shadow-color":[{shadow:[Hr]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Jt,se]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[S]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",se]}],duration:[{duration:te()}],ease:[{ease:["linear","in","out","in-out",se]}],delay:[{delay:te()}],animate:[{animate:["none","spin","ping","pulse","bounce",se]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[_r,se]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[I]}],"skew-y":[{"skew-y":[I]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",se]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",se]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"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",se]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Vt,Qt,ni]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-s","border-w-e","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-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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-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"]}}}const de=D3(Q3),qd=g.forwardRef(function(e,t){const{color:n="dark",size:r="medium",className:o="",children:i,icon:a,iconPosition:s="left",...l}=e,u={small:"px-2 py-1.5 text-xs rounded-md font-medium",medium:"px-6 py-3 text-base rounded-xl font-semibold tracking-wide"},c=Go({light:"bg-gray-200 text-gray-600 hover:text-gray-700 hover:border-gray-300 active:border-slate-100 active:text-gray-600 disabled:text-gray-400",dark:"bg-gray-800 text-slate-50 hover:bg-slate-800 active:border-slate-700 disabled:bg-gray-300 disabled:text-slate-100",red:"bg-red-900 text-slate-50 hover:opacity-80 active:border-red-800 disabled:text-red-400 disabled:opacity-100",blue:"bg-blue-900 text-slate-50 hover:opacity-80 active:border-blue-800 disabled:text-blue-400 disabled:opacity-100"}[n],u[r]),f=de("flex items-center justify-center gap-2 border border-none outline-none transition disabled:cursor-not-allowed",c,o);return d.jsxs("button",{ref:t,className:f,...l,children:[s==="left"&&a,i,s==="right"&&a]})});function ie(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function J3(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function ca(...e){return t=>e.forEach(n=>J3(n,t))}function Te(...e){return g.useCallback(ca(...e),e)}function e9(e,t){const n=g.createContext(t);function r(i){const{children:a,...s}=i,l=g.useMemo(()=>s,Object.values(s));return d.jsx(n.Provider,{value:l,children:a})}function o(i){const a=g.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",[r,o]}function vn(e,t=[]){let n=[];function r(i,a){const s=g.createContext(a),l=n.length;n=[...n,a];function u(f){const{scope:p,children:v,...h}=f,m=(p==null?void 0:p[e][l])||s,b=g.useMemo(()=>h,Object.values(h));return d.jsx(m.Provider,{value:b,children:v})}function c(f,p){const v=(p==null?void 0:p[e][l])||s,h=g.useContext(v);if(h)return h;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,c]}const o=()=>{const i=n.map(a=>g.createContext(a));return function(a){const s=(a==null?void 0:a[e])||i;return g.useMemo(()=>({[`__scope${e}`]:{...a,[e]:s}}),[a,s])}};return o.scopeName=e,[r,t9(o,...t)]}function t9(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(o){const i=r.reduce((a,{useScope:s,scopeName:l})=>{const u=s(o)[`__scope${l}`];return{...a,...u}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Dt(e){const t=g.useRef(e);return g.useEffect(()=>{t.current=e}),g.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function ua({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=n9({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=Dt(n),l=g.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function n9({defaultProp:e,onChange:t}){const n=g.useState(e),[r]=n,o=g.useRef(r),i=Dt(t);return g.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var br=g.forwardRef((e,t)=>{const{children:n,...r}=e,o=g.Children.toArray(n),i=o.find(r9);if(i){const a=i.props.children,s=o.map(l=>l===i?g.Children.count(a)>1?g.Children.only(null):g.isValidElement(a)?a.props.children:null:l);return d.jsx(Hs,{...r,ref:t,children:g.isValidElement(a)?g.cloneElement(a,void 0,s):null})}return d.jsx(Hs,{...r,ref:t,children:n})});br.displayName="Slot";var Hs=g.forwardRef((e,t)=>{const{children:n,...r}=e;if(g.isValidElement(n)){const o=i9(n);return g.cloneElement(n,{...o9(r,n.props),ref:t?ca(t,o):o})}return g.Children.count(n)>1?g.Children.only(null):null});Hs.displayName="SlotClone";var Gd=({children:e})=>d.jsx(d.Fragment,{children:e});function r9(e){return g.isValidElement(e)&&e.type===Gd}function o9(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{i(...a),o(...a)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function i9(e){var t,n;let r=(t=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(r=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var a9=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],xe=a9.reduce((e,t)=>{const n=g.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?br:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(s,{...a,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Yd(e,t){e&&la.flushSync(()=>e.dispatchEvent(t))}function Xd(e){const t=e+"CollectionProvider",[n,r]=vn(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=v=>{const{scope:h,children:m}=v,b=Q.useRef(null),y=Q.useRef(new Map).current;return d.jsx(o,{scope:h,itemMap:y,collectionRef:b,children:m})};a.displayName=t;const s=e+"CollectionSlot",l=Q.forwardRef((v,h)=>{const{scope:m,children:b}=v,y=i(s,m),x=Te(h,y.collectionRef);return d.jsx(br,{ref:x,children:b})});l.displayName=s;const u=e+"CollectionItemSlot",c="data-radix-collection-item",f=Q.forwardRef((v,h)=>{const{scope:m,children:b,...y}=v,x=Q.useRef(null),S=Te(h,x),M=i(u,m);return Q.useEffect(()=>(M.itemMap.set(x,{ref:x,...y}),()=>void M.itemMap.delete(x))),d.jsx(br,{[c]:"",ref:S,children:b})});f.displayName=u;function p(v){const h=i(e+"CollectionConsumer",v);return Q.useCallback(()=>{const m=h.collectionRef.current;if(!m)return[];const b=Array.from(m.querySelectorAll(`[${c}]`));return Array.from(h.itemMap.values()).sort((y,x)=>b.indexOf(y.ref.current)-b.indexOf(x.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:a,Slot:l,ItemSlot:f},p,r]}var s9=g.createContext(void 0);function Kd(e){const t=g.useContext(s9);return e||t||"ltr"}function l9(e,t=globalThis==null?void 0:globalThis.document){const n=Dt(e);g.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var c9="DismissableLayer",zs="dismissableLayer.update",u9="dismissableLayer.pointerDownOutside",d9="dismissableLayer.focusOutside",bu,Qd=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),da=g.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=g.useContext(Qd),[c,f]=g.useState(null),p=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,v]=g.useState({}),h=Te(t,C=>f(C)),m=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=m.indexOf(b),x=c?m.indexOf(c):-1,S=u.layersWithOutsidePointerEventsDisabled.size>0,M=x>=y,w=h9(C=>{const P=C.target,T=[...u.branches].some(F=>F.contains(P));!M||T||(o==null||o(C),a==null||a(C),C.defaultPrevented||s==null||s())},p),I=m9(C=>{const P=C.target;[...u.branches].some(T=>T.contains(P))||(i==null||i(C),a==null||a(C),C.defaultPrevented||s==null||s())},p);return l9(C=>{x===u.layers.size-1&&(r==null||r(C),!C.defaultPrevented&&s&&(C.preventDefault(),s()))},p),g.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(bu=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),yu(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=bu)}},[c,p,n,u]),g.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),yu())},[c,u]),g.useEffect(()=>{const C=()=>v({});return document.addEventListener(zs,C),()=>document.removeEventListener(zs,C)},[]),d.jsx(xe.div,{...l,ref:h,style:{pointerEvents:S?M?"auto":"none":void 0,...e.style},onFocusCapture:ie(e.onFocusCapture,I.onFocusCapture),onBlurCapture:ie(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:ie(e.onPointerDownCapture,w.onPointerDownCapture)})});da.displayName=c9;var f9="DismissableLayerBranch",p9=g.forwardRef((e,t)=>{const n=g.useContext(Qd),r=g.useRef(null),o=Te(t,r);return g.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),d.jsx(xe.div,{...e,ref:o})});p9.displayName=f9;function h9(e,t=globalThis==null?void 0:globalThis.document){const n=Dt(e),r=g.useRef(!1),o=g.useRef(()=>{});return g.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){Jd(u9,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function m9(e,t=globalThis==null?void 0:globalThis.document){const n=Dt(e),r=g.useRef(!1);return g.useEffect(()=>{const o=i=>{i.target&&!r.current&&Jd(d9,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function yu(){const e=new CustomEvent(zs);document.dispatchEvent(e)}function Jd(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Yd(o,i):o.dispatchEvent(i)}var La=0;function e0(){g.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??xu()),document.body.insertAdjacentElement("beforeend",e[1]??xu()),La++,()=>{La===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),La--}},[])}function xu(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Va="focusScope.autoFocusOnMount",_a="focusScope.autoFocusOnUnmount",wu={bubbles:!1,cancelable:!0},g9="FocusScope",Ll=g.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=g.useState(null),u=Dt(o),c=Dt(i),f=g.useRef(null),p=Te(t,m=>l(m)),v=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(r){let m=function(S){if(v.paused||!s)return;const M=S.target;s.contains(M)?f.current=M:rn(f.current,{select:!0})},b=function(S){if(v.paused||!s)return;const M=S.relatedTarget;M!==null&&(s.contains(M)||rn(f.current,{select:!0}))},y=function(S){if(document.activeElement===document.body)for(const M of S)M.removedNodes.length>0&&rn(s)};document.addEventListener("focusin",m),document.addEventListener("focusout",b);const x=new MutationObserver(y);return s&&x.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",b),x.disconnect()}}},[r,s,v.paused]),g.useEffect(()=>{if(s){Su.add(v);const m=document.activeElement;if(!s.contains(m)){const b=new CustomEvent(Va,wu);s.addEventListener(Va,u),s.dispatchEvent(b),b.defaultPrevented||(v9(C9(t0(s)),{select:!0}),document.activeElement===m&&rn(s))}return()=>{s.removeEventListener(Va,u),setTimeout(()=>{const b=new CustomEvent(_a,wu);s.addEventListener(_a,c),s.dispatchEvent(b),b.defaultPrevented||rn(m??document.body,{select:!0}),s.removeEventListener(_a,c),Su.remove(v)},0)}}},[s,u,c,v]);const h=g.useCallback(m=>{if(!n&&!r||v.paused)return;const b=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,y=document.activeElement;if(b&&y){const x=m.currentTarget,[S,M]=b9(x);S&&M?!m.shiftKey&&y===M?(m.preventDefault(),n&&rn(S,{select:!0})):m.shiftKey&&y===S&&(m.preventDefault(),n&&rn(M,{select:!0})):y===x&&m.preventDefault()}},[n,r,v.paused]);return d.jsx(xe.div,{tabIndex:-1,...a,ref:p,onKeyDown:h})});Ll.displayName=g9;function v9(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(rn(r,{select:t}),document.activeElement!==n)return}function b9(e){const t=t0(e),n=Cu(t,e),r=Cu(t.reverse(),e);return[n,r]}function t0(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Cu(e,t){for(const n of e)if(!y9(n,{upTo:t}))return n}function y9(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function x9(e){return e instanceof HTMLInputElement&&"select"in e}function rn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&x9(e)&&t&&e.select()}}var Su=w9();function w9(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Iu(e,t),e.unshift(t)},remove(t){var n;e=Iu(e,t),(n=e[0])==null||n.resume()}}}function Iu(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function C9(e){return e.filter(t=>t.tagName!=="A")}var Dn=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},S9=g.useId||(()=>{}),I9=0;function ur(e){const[t,n]=g.useState(S9());return Dn(()=>{n(r=>r??String(I9++))},[e]),t?`radix-${t}`:""}const M9=["top","right","bottom","left"],Nt=Math.min,rt=Math.max,Ri=Math.round,ri=Math.floor,pn=e=>({x:e,y:e}),E9={left:"right",right:"left",bottom:"top",top:"bottom"},P9={start:"end",end:"start"};function Us(e,t,n){return rt(e,Nt(t,n))}function Gt(e,t){return typeof e=="function"?e(t):e}function Yt(e){return e.split("-")[0]}function Or(e){return e.split("-")[1]}function Vl(e){return e==="x"?"y":"x"}function _l(e){return e==="y"?"height":"width"}function hn(e){return["top","bottom"].includes(Yt(e))?"y":"x"}function Hl(e){return Vl(hn(e))}function O9(e,t,n){n===void 0&&(n=!1);const r=Or(e),o=Hl(e),i=_l(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Li(a)),[a,Li(a)]}function j9(e){const t=Li(e);return[Bs(e),t,Bs(t)]}function Bs(e){return e.replace(/start|end/g,t=>P9[t])}function k9(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function N9(e,t,n,r){const o=Or(e);let i=k9(Yt(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Bs)))),i}function Li(e){return e.replace(/left|right|bottom|top/g,t=>E9[t])}function A9(e){return{top:0,right:0,bottom:0,left:0,...e}}function n0(e){return typeof e!="number"?A9(e):{top:e,right:e,bottom:e,left:e}}function Vi(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Mu(e,t,n){let{reference:r,floating:o}=e;const i=hn(t),a=Hl(t),s=_l(a),l=Yt(t),u=i==="y",c=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let v;switch(l){case"top":v={x:c,y:r.y-o.height};break;case"bottom":v={x:c,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:f};break;case"left":v={x:r.x-o.width,y:f};break;default:v={x:r.x,y:r.y}}switch(Or(t)){case"start":v[a]-=p*(n&&u?-1:1);break;case"end":v[a]+=p*(n&&u?-1:1);break}return v}const T9=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=Mu(u,r,l),p=r,v={},h=0;for(let m=0;m<s.length;m++){const{name:b,fn:y}=s[m],{x,y:S,data:M,reset:w}=await y({x:c,y:f,initialPlacement:r,placement:p,strategy:o,middlewareData:v,rects:u,platform:a,elements:{reference:e,floating:t}});c=x??c,f=S??f,v={...v,[b]:{...v[b],...M}},w&&h<=50&&(h++,typeof w=="object"&&(w.placement&&(p=w.placement),w.rects&&(u=w.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:c,y:f}=Mu(u,p,l)),m=-1)}return{x:c,y:f,placement:p,strategy:o,middlewareData:v}};async function bo(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:v=0}=Gt(t,e),h=n0(v),m=s[p?f==="floating"?"reference":"floating":f],b=Vi(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),y=f==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),S=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},M=Vi(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:x,strategy:l}):y);return{top:(b.top-M.top+h.top)/S.y,bottom:(M.bottom-b.bottom+h.bottom)/S.y,left:(b.left-M.left+h.left)/S.x,right:(M.right-b.right+h.right)/S.x}}const D9=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=Gt(e,t)||{};if(u==null)return{};const f=n0(c),p={x:n,y:r},v=Hl(o),h=_l(v),m=await a.getDimensions(u),b=v==="y",y=b?"top":"left",x=b?"bottom":"right",S=b?"clientHeight":"clientWidth",M=i.reference[h]+i.reference[v]-p[v]-i.floating[h],w=p[v]-i.reference[v],I=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let C=I?I[S]:0;(!C||!await(a.isElement==null?void 0:a.isElement(I)))&&(C=s.floating[S]||i.floating[h]);const P=M/2-w/2,T=C/2-m[h]/2-1,F=Nt(f[y],T),H=Nt(f[x],T),R=F,B=C-m[h]-H,E=C/2-m[h]/2+P,N=Us(R,E,B),A=!l.arrow&&Or(o)!=null&&E!==N&&i.reference[h]/2-(E<R?F:H)-m[h]/2<0,V=A?E<R?E-R:E-B:0;return{[v]:p[v]+V,data:{[v]:N,centerOffset:E-N-V,...A&&{alignmentOffset:V}},reset:A}}}),F9=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...b}=Gt(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=Yt(o),x=hn(s),S=Yt(s)===s,M=await(l.isRTL==null?void 0:l.isRTL(u.floating)),w=p||(S||!m?[Li(s)]:j9(s)),I=h!=="none";!p&&I&&w.push(...N9(s,m,h,M));const C=[s,...w],P=await bo(t,b),T=[];let F=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&T.push(P[y]),f){const E=O9(o,a,M);T.push(P[E[0]],P[E[1]])}if(F=[...F,{placement:o,overflows:T}],!T.every(E=>E<=0)){var H,R;const E=(((H=i.flip)==null?void 0:H.index)||0)+1,N=C[E];if(N)return{data:{index:E,overflows:F},reset:{placement:N}};let A=(R=F.filter(V=>V.overflows[0]<=0).sort((V,$)=>V.overflows[1]-$.overflows[1])[0])==null?void 0:R.placement;if(!A)switch(v){case"bestFit":{var B;const V=(B=F.filter($=>{if(I){const L=hn($.placement);return L===x||L==="y"}return!0}).map($=>[$.placement,$.overflows.filter(L=>L>0).reduce((L,W)=>L+W,0)]).sort(($,L)=>$[1]-L[1])[0])==null?void 0:B[0];V&&(A=V);break}case"initialPlacement":A=s;break}if(o!==A)return{reset:{placement:A}}}return{}}}};function Eu(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Pu(e){return M9.some(t=>e[t]>=0)}const R9=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Gt(e,t);switch(r){case"referenceHidden":{const i=await bo(t,{...o,elementContext:"reference"}),a=Eu(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Pu(a)}}}case"escaped":{const i=await bo(t,{...o,altBoundary:!0}),a=Eu(i,n.floating);return{data:{escapedOffsets:a,escaped:Pu(a)}}}default:return{}}}}};async function L9(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Yt(n),s=Or(n),l=hn(n)==="y",u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,f=Gt(t,e);let{mainAxis:p,crossAxis:v,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&typeof h=="number"&&(v=s==="end"?h*-1:h),l?{x:v*c,y:p*u}:{x:p*u,y:v*c}}const V9=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await L9(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},_9=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:b=>{let{x:y,y:x}=b;return{x:y,y:x}}},...l}=Gt(e,t),u={x:n,y:r},c=await bo(t,l),f=hn(Yt(o)),p=Vl(f);let v=u[p],h=u[f];if(i){const b=p==="y"?"top":"left",y=p==="y"?"bottom":"right",x=v+c[b],S=v-c[y];v=Us(x,v,S)}if(a){const b=f==="y"?"top":"left",y=f==="y"?"bottom":"right",x=h+c[b],S=h-c[y];h=Us(x,h,S)}const m=s.fn({...t,[p]:v,[f]:h});return{...m,data:{x:m.x-n,y:m.y-r}}}}},H9=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=Gt(e,t),c={x:n,y:r},f=hn(o),p=Vl(f);let v=c[p],h=c[f];const m=Gt(s,t),b=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const S=p==="y"?"height":"width",M=i.reference[p]-i.floating[S]+b.mainAxis,w=i.reference[p]+i.reference[S]-b.mainAxis;v<M?v=M:v>w&&(v=w)}if(u){var y,x;const S=p==="y"?"width":"height",M=["top","left"].includes(Yt(o)),w=i.reference[f]-i.floating[S]+(M&&((y=a.offset)==null?void 0:y[f])||0)+(M?0:b.crossAxis),I=i.reference[f]+i.reference[S]+(M?0:((x=a.offset)==null?void 0:x[f])||0)-(M?b.crossAxis:0);h<w?h=w:h>I&&(h=I)}return{[p]:v,[f]:h}}}},z9=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...s}=Gt(e,t),l=await bo(t,s),u=Yt(n),c=Or(n),f=hn(n)==="y",{width:p,height:v}=r.floating;let h,m;u==="top"||u==="bottom"?(h=u,m=c===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(m=u,h=c==="end"?"top":"bottom");const b=v-l.top-l.bottom,y=p-l.left-l.right,x=Nt(v-l[h],b),S=Nt(p-l[m],y),M=!t.middlewareData.shift;let w=x,I=S;if(f?I=c||M?Nt(S,y):y:w=c||M?Nt(x,b):b,M&&!c){const P=rt(l.left,0),T=rt(l.right,0),F=rt(l.top,0),H=rt(l.bottom,0);f?I=p-2*(P!==0||T!==0?P+T:rt(l.left,l.right)):w=v-2*(F!==0||H!==0?F+H:rt(l.top,l.bottom))}await a({...t,availableWidth:I,availableHeight:w});const C=await o.getDimensions(i.floating);return p!==C.width||v!==C.height?{reset:{rects:!0}}:{}}}};function jr(e){return r0(e)?(e.nodeName||"").toLowerCase():"#document"}function ot(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Xt(e){var t;return(t=(r0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function r0(e){return e instanceof Node||e instanceof ot(e).Node}function vt(e){return e instanceof Element||e instanceof ot(e).Element}function Ft(e){return e instanceof HTMLElement||e instanceof ot(e).HTMLElement}function Ou(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ot(e).ShadowRoot}function Yo(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function U9(e){return["table","td","th"].includes(jr(e))}function fa(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function zl(e){const t=Ul(),n=vt(e)?bt(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function B9(e){let t=mn(e);for(;Ft(t)&&!yr(t);){if(zl(t))return t;if(fa(t))return null;t=mn(t)}return null}function Ul(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function yr(e){return["html","body","#document"].includes(jr(e))}function bt(e){return ot(e).getComputedStyle(e)}function pa(e){return vt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function mn(e){if(jr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ou(e)&&e.host||Xt(e);return Ou(t)?t.host:t}function o0(e){const t=mn(e);return yr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ft(t)&&Yo(t)?t:o0(t)}function yo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=o0(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=ot(o);if(i){const s=$s(a);return t.concat(a,a.visualViewport||[],Yo(o)?o:[],s&&n?yo(s):[])}return t.concat(o,yo(o,[],n))}function $s(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function i0(e){const t=bt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ft(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Ri(n)!==i||Ri(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Bl(e){return vt(e)?e:e.contextElement}function dr(e){const t=Bl(e);if(!Ft(t))return pn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=i0(t);let a=(i?Ri(n.width):n.width)/r,s=(i?Ri(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const $9=pn(0);function a0(e){const t=ot(e);return!Ul()||!t.visualViewport?$9:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function W9(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ot(e)?!1:t}function Fn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Bl(e);let a=pn(1);t&&(r?vt(r)&&(a=dr(r)):a=dr(e));const s=W9(i,n,r)?a0(i):pn(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,c=o.width/a.x,f=o.height/a.y;if(i){const p=ot(i),v=r&&vt(r)?ot(r):r;let h=p,m=$s(h);for(;m&&r&&v!==h;){const b=dr(m),y=m.getBoundingClientRect(),x=bt(m),S=y.left+(m.clientLeft+parseFloat(x.paddingLeft))*b.x,M=y.top+(m.clientTop+parseFloat(x.paddingTop))*b.y;l*=b.x,u*=b.y,c*=b.x,f*=b.y,l+=S,u+=M,h=ot(m),m=$s(h)}}return Vi({width:c,height:f,x:l,y:u})}function Z9(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=Xt(r),s=t?fa(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=pn(1);const c=pn(0),f=Ft(r);if((f||!f&&!i)&&((jr(r)!=="body"||Yo(a))&&(l=pa(r)),Ft(r))){const p=Fn(r);u=dr(r),c.x=p.x+r.clientLeft,c.y=p.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x,y:n.y*u.y-l.scrollTop*u.y+c.y}}function q9(e){return Array.from(e.getClientRects())}function s0(e){return Fn(Xt(e)).left+pa(e).scrollLeft}function G9(e){const t=Xt(e),n=pa(e),r=e.ownerDocument.body,o=rt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=rt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+s0(e);const s=-n.scrollTop;return bt(r).direction==="rtl"&&(a+=rt(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function Y9(e,t){const n=ot(e),r=Xt(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=Ul();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function X9(e,t){const n=Fn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ft(e)?dr(e):pn(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:a,height:s,x:l,y:u}}function ju(e,t,n){let r;if(t==="viewport")r=Y9(e,n);else if(t==="document")r=G9(Xt(e));else if(vt(t))r=X9(t,n);else{const o=a0(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Vi(r)}function l0(e,t){const n=mn(e);return n===t||!vt(n)||yr(n)?!1:bt(n).position==="fixed"||l0(n,t)}function K9(e,t){const n=t.get(e);if(n)return n;let r=yo(e,[],!1).filter(s=>vt(s)&&jr(s)!=="body"),o=null;const i=bt(e).position==="fixed";let a=i?mn(e):e;for(;vt(a)&&!yr(a);){const s=bt(a),l=zl(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&o&&["absolute","fixed"].includes(o.position)||Yo(a)&&!l&&l0(e,a))?r=r.filter(u=>u!==a):o=s,a=mn(a)}return t.set(e,r),r}function Q9(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?fa(t)?[]:K9(t,this._c):[].concat(n),r],a=i[0],s=i.reduce((l,u)=>{const c=ju(t,u,o);return l.top=rt(c.top,l.top),l.right=Nt(c.right,l.right),l.bottom=Nt(c.bottom,l.bottom),l.left=rt(c.left,l.left),l},ju(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function J9(e){const{width:t,height:n}=i0(e);return{width:t,height:n}}function e6(e,t,n){const r=Ft(t),o=Xt(t),i=n==="fixed",a=Fn(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=pn(0);if(r||!r&&!i)if((jr(t)!=="body"||Yo(o))&&(s=pa(t)),r){const f=Fn(t,!0,i,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}else o&&(l.x=s0(o));const u=a.left+s.scrollLeft-l.x,c=a.top+s.scrollTop-l.y;return{x:u,y:c,width:a.width,height:a.height}}function Ha(e){return bt(e).position==="static"}function ku(e,t){return!Ft(e)||bt(e).position==="fixed"?null:t?t(e):e.offsetParent}function c0(e,t){const n=ot(e);if(fa(e))return n;if(!Ft(e)){let o=mn(e);for(;o&&!yr(o);){if(vt(o)&&!Ha(o))return o;o=mn(o)}return n}let r=ku(e,t);for(;r&&U9(r)&&Ha(r);)r=ku(r,t);return r&&yr(r)&&Ha(r)&&!zl(r)?n:r||B9(e)||n}const t6=async function(e){const t=this.getOffsetParent||c0,n=this.getDimensions,r=await n(e.floating);return{reference:e6(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function n6(e){return bt(e).direction==="rtl"}const r6={convertOffsetParentRelativeRectToViewportRelativeRect:Z9,getDocumentElement:Xt,getClippingRect:Q9,getOffsetParent:c0,getElementRects:t6,getClientRects:q9,getDimensions:J9,getScale:dr,isElement:vt,isRTL:n6};function o6(e,t){let n=null,r;const o=Xt(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const{left:u,top:c,width:f,height:p}=e.getBoundingClientRect();if(s||t(),!f||!p)return;const v=ri(c),h=ri(o.clientWidth-(u+f)),m=ri(o.clientHeight-(c+p)),b=ri(u),y={rootMargin:-v+"px "+-h+"px "+-m+"px "+-b+"px",threshold:rt(0,Nt(1,l))||1};let x=!0;function S(M){const w=M[0].intersectionRatio;if(w!==l){if(!x)return a();w?a(!1,w):r=setTimeout(()=>{a(!1,1e-7)},1e3)}x=!1}try{n=new IntersectionObserver(S,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,y)}n.observe(e)}return a(!0),i}function u0(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Bl(e),c=o||i?[...u?yo(u):[],...yo(t)]:[];c.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const f=u&&s?o6(u,n):null;let p=-1,v=null;a&&(v=new ResizeObserver(y=>{let[x]=y;x&&x.target===u&&v&&(v.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var S;(S=v)==null||S.observe(t)})),n()}),u&&!l&&v.observe(u),v.observe(t));let h,m=l?Fn(e):null;l&&b();function b(){const y=Fn(e);m&&(y.x!==m.x||y.y!==m.y||y.width!==m.width||y.height!==m.height)&&n(),m=y,h=requestAnimationFrame(b)}return n(),()=>{var y;c.forEach(x=>{o&&x.removeEventListener("scroll",n),i&&x.removeEventListener("resize",n)}),f==null||f(),(y=v)==null||y.disconnect(),v=null,l&&cancelAnimationFrame(h)}}const i6=V9,a6=_9,s6=F9,l6=z9,c6=R9,Nu=D9,u6=H9,d6=(e,t,n)=>{const r=new Map,o={platform:r6,...n},i={...o.platform,_c:r};return T9(e,t,{...o,platform:i})};var Ei=typeof document<"u"?g.useLayoutEffect:g.useEffect;function _i(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!_i(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!_i(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function d0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Au(e,t){const n=d0(e);return Math.round(t*n)/n}function Tu(e){const t=g.useRef(e);return Ei(()=>{t.current=e}),t}function f6(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[c,f]=g.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,v]=g.useState(r);_i(p,r)||v(r);const[h,m]=g.useState(null),[b,y]=g.useState(null),x=g.useCallback(V=>{V!==I.current&&(I.current=V,m(V))},[]),S=g.useCallback(V=>{V!==C.current&&(C.current=V,y(V))},[]),M=i||h,w=a||b,I=g.useRef(null),C=g.useRef(null),P=g.useRef(c),T=l!=null,F=Tu(l),H=Tu(o),R=g.useCallback(()=>{if(!I.current||!C.current)return;const V={placement:t,strategy:n,middleware:p};H.current&&(V.platform=H.current),d6(I.current,C.current,V).then($=>{const L={...$,isPositioned:!0};B.current&&!_i(P.current,L)&&(P.current=L,la.flushSync(()=>{f(L)}))})},[p,t,n,H]);Ei(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,f(V=>({...V,isPositioned:!1})))},[u]);const B=g.useRef(!1);Ei(()=>(B.current=!0,()=>{B.current=!1}),[]),Ei(()=>{if(M&&(I.current=M),w&&(C.current=w),M&&w){if(F.current)return F.current(M,w,R);R()}},[M,w,R,F,T]);const E=g.useMemo(()=>({reference:I,floating:C,setReference:x,setFloating:S}),[x,S]),N=g.useMemo(()=>({reference:M,floating:w}),[M,w]),A=g.useMemo(()=>{const V={position:n,left:0,top:0};if(!N.floating)return V;const $=Au(N.floating,c.x),L=Au(N.floating,c.y);return s?{...V,transform:"translate("+$+"px, "+L+"px)",...d0(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:$,top:L}},[n,s,N.floating,c.x,c.y]);return g.useMemo(()=>({...c,update:R,refs:E,elements:N,floatingStyles:A}),[c,R,E,N,A])}const p6=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Nu({element:r.current,padding:o}).fn(n):{}:r?Nu({element:r,padding:o}).fn(n):{}}}},h6=(e,t)=>({...i6(e),options:[e,t]}),m6=(e,t)=>({...a6(e),options:[e,t]}),g6=(e,t)=>({...u6(e),options:[e,t]}),v6=(e,t)=>({...s6(e),options:[e,t]}),b6=(e,t)=>({...l6(e),options:[e,t]}),y6=(e,t)=>({...c6(e),options:[e,t]}),x6=(e,t)=>({...p6(e),options:[e,t]});var w6="Arrow",f0=g.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return d.jsx(xe.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:d.jsx("polygon",{points:"0,0 30,0 15,10"})})});f0.displayName=w6;var C6=f0;function S6(e){const[t,n]=g.useState(void 0);return Dn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var $l="Popper",[p0,ha]=vn($l),[I6,h0]=p0($l),m0=e=>{const{__scopePopper:t,children:n}=e,[r,o]=g.useState(null);return d.jsx(I6,{scope:t,anchor:r,onAnchorChange:o,children:n})};m0.displayName=$l;var g0="PopperAnchor",v0=g.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=h0(g0,n),a=g.useRef(null),s=Te(t,a);return g.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:d.jsx(xe.div,{...o,ref:s})});v0.displayName=g0;var Wl="PopperContent",[M6,E6]=p0(Wl),b0=g.forwardRef((e,t)=>{var n,r,o,i,a,s;const{__scopePopper:l,side:u="bottom",sideOffset:c=0,align:f="center",alignOffset:p=0,arrowPadding:v=0,avoidCollisions:h=!0,collisionBoundary:m=[],collisionPadding:b=0,sticky:y="partial",hideWhenDetached:x=!1,updatePositionStrategy:S="optimized",onPlaced:M,...w}=e,I=h0(Wl,l),[C,P]=g.useState(null),T=Te(t,Ge=>P(Ge)),[F,H]=g.useState(null),R=S6(F),B=(R==null?void 0:R.width)??0,E=(R==null?void 0:R.height)??0,N=u+(f!=="center"?"-"+f:""),A=typeof b=="number"?b:{top:0,right:0,bottom:0,left:0,...b},V=Array.isArray(m)?m:[m],$=V.length>0,L={padding:A,boundary:V.filter(O6),altBoundary:$},{refs:W,floatingStyles:Z,placement:te,isPositioned:fe,middlewareData:X}=f6({strategy:"fixed",placement:N,whileElementsMounted:(...Ge)=>u0(...Ge,{animationFrame:S==="always"}),elements:{reference:I.anchor},middleware:[h6({mainAxis:c+E,alignmentAxis:p}),h&&m6({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?g6():void 0,...L}),h&&v6({...L}),b6({...L,apply:({elements:Ge,rects:Lt,availableWidth:O,availableHeight:D})=>{const{width:j,height:_}=Lt.reference,z=Ge.floating.style;z.setProperty("--radix-popper-available-width",`${O}px`),z.setProperty("--radix-popper-available-height",`${D}px`),z.setProperty("--radix-popper-anchor-width",`${j}px`),z.setProperty("--radix-popper-anchor-height",`${_}px`)}}),F&&x6({element:F,padding:v}),j6({arrowWidth:B,arrowHeight:E}),x&&y6({strategy:"referenceHidden",...L})]}),[le,Se]=w0(te),je=Dt(M);Dn(()=>{fe&&(je==null||je())},[fe,je]);const Ve=(n=X.arrow)==null?void 0:n.x,Ee=(r=X.arrow)==null?void 0:r.y,tt=((o=X.arrow)==null?void 0:o.centerOffset)!==0,[Ct,St]=g.useState();return Dn(()=>{C&&St(window.getComputedStyle(C).zIndex)},[C]),d.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...Z,transform:fe?Z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ct,"--radix-popper-transform-origin":[(i=X.transformOrigin)==null?void 0:i.x,(a=X.transformOrigin)==null?void 0:a.y].join(" "),...((s=X.hide)==null?void 0:s.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:d.jsx(M6,{scope:l,placedSide:le,onArrowChange:H,arrowX:Ve,arrowY:Ee,shouldHideArrow:tt,children:d.jsx(xe.div,{"data-side":le,"data-align":Se,...w,ref:T,style:{...w.style,animation:fe?void 0:"none"}})})})});b0.displayName=Wl;var y0="PopperArrow",P6={top:"bottom",right:"left",bottom:"top",left:"right"},x0=g.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,o=E6(y0,n),i=P6[o.placedSide];return d.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:d.jsx(C6,{...r,ref:t,style:{...r.style,display:"block"}})})});x0.displayName=y0;function O6(e){return e!==null}var j6=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o;const{placement:i,rects:a,middlewareData:s}=t,l=((n=s.arrow)==null?void 0:n.centerOffset)!==0,u=l?0:e.arrowWidth,c=l?0:e.arrowHeight,[f,p]=w0(i),v={start:"0%",center:"50%",end:"100%"}[p],h=(((r=s.arrow)==null?void 0:r.x)??0)+u/2,m=(((o=s.arrow)==null?void 0:o.y)??0)+c/2;let b="",y="";return f==="bottom"?(b=l?v:`${h}px`,y=`${-c}px`):f==="top"?(b=l?v:`${h}px`,y=`${a.floating.height+c}px`):f==="right"?(b=`${-c}px`,y=l?v:`${m}px`):f==="left"&&(b=`${a.floating.width+c}px`,y=l?v:`${m}px`),{data:{x:b,y}}}});function w0(e){const[t,n="center"]=e.split("-");return[t,n]}var k6=m0,C0=v0,S0=b0,I0=x0,N6="Portal",ma=g.forwardRef((e,t)=>{var n;const{container:r,...o}=e,[i,a]=g.useState(!1);Dn(()=>a(!0),[]);const s=r||i&&((n=globalThis==null?void 0:globalThis.document)==null?void 0:n.body);return s?o2.createPortal(d.jsx(xe.div,{...o,ref:t}),s):null});ma.displayName=N6;function A6(e,t){return g.useReducer((n,r)=>t[n][r]??n,e)}var yt=e=>{const{present:t,children:n}=e,r=T6(t),o=typeof n=="function"?n({present:r.isPresent}):g.Children.only(n),i=Te(r.ref,D6(o));return typeof n=="function"||r.isPresent?g.cloneElement(o,{ref:i}):null};yt.displayName="Presence";function T6(e){const[t,n]=g.useState(),r=g.useRef({}),o=g.useRef(e),i=g.useRef("none"),a=e?"mounted":"unmounted",[s,l]=A6(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const u=oi(r.current);i.current=s==="mounted"?u:"none"},[s]),Dn(()=>{const u=r.current,c=o.current;if(c!==e){const f=i.current,p=oi(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Dn(()=>{if(t){const u=f=>{const p=oi(r.current).includes(f.animationName);f.target===t&&p&&la.flushSync(()=>l("ANIMATION_END"))},c=f=>{f.target===t&&(i.current=oi(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:g.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function oi(e){return(e==null?void 0:e.animationName)||"none"}function D6(e){var t,n;let r=(t=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(r=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var za="rovingFocusGroup.onEntryFocus",F6={bubbles:!1,cancelable:!0},ga="RovingFocusGroup",[Ws,M0,R6]=Xd(ga),[L6,va]=vn(ga,[R6]),[V6,_6]=L6(ga),E0=g.forwardRef((e,t)=>d.jsx(Ws.Provider,{scope:e.__scopeRovingFocusGroup,children:d.jsx(Ws.Slot,{scope:e.__scopeRovingFocusGroup,children:d.jsx(H6,{...e,ref:t})})}));E0.displayName=ga;var H6=g.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:c=!1,...f}=e,p=g.useRef(null),v=Te(t,p),h=Kd(i),[m=null,b]=ua({prop:a,defaultProp:s,onChange:l}),[y,x]=g.useState(!1),S=Dt(u),M=M0(n),w=g.useRef(!1),[I,C]=g.useState(0);return g.useEffect(()=>{const P=p.current;if(P)return P.addEventListener(za,S),()=>P.removeEventListener(za,S)},[S]),d.jsx(V6,{scope:n,orientation:r,dir:h,loop:o,currentTabStopId:m,onItemFocus:g.useCallback(P=>b(P),[b]),onItemShiftTab:g.useCallback(()=>x(!0),[]),onFocusableItemAdd:g.useCallback(()=>C(P=>P+1),[]),onFocusableItemRemove:g.useCallback(()=>C(P=>P-1),[]),children:d.jsx(xe.div,{tabIndex:y||I===0?-1:0,"data-orientation":r,...f,ref:v,style:{outline:"none",...e.style},onMouseDown:ie(e.onMouseDown,()=>{w.current=!0}),onFocus:ie(e.onFocus,P=>{const T=!w.current;if(P.target===P.currentTarget&&T&&!y){const F=new CustomEvent(za,F6);if(P.currentTarget.dispatchEvent(F),!F.defaultPrevented){const H=M().filter(N=>N.focusable),R=H.find(N=>N.active),B=H.find(N=>N.id===m),E=[R,B,...H].filter(Boolean).map(N=>N.ref.current);j0(E,c)}}w.current=!1}),onBlur:ie(e.onBlur,()=>x(!1))})})}),P0="RovingFocusGroupItem",O0=g.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,s=ur(),l=i||s,u=_6(P0,n),c=u.currentTabStopId===l,f=M0(n),{onFocusableItemAdd:p,onFocusableItemRemove:v}=u;return g.useEffect(()=>{if(r)return p(),()=>v()},[r,p,v]),d.jsx(Ws.ItemSlot,{scope:n,id:l,focusable:r,active:o,children:d.jsx(xe.span,{tabIndex:c?0:-1,"data-orientation":u.orientation,...a,ref:t,onMouseDown:ie(e.onMouseDown,h=>{r?u.onItemFocus(l):h.preventDefault()}),onFocus:ie(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:ie(e.onKeyDown,h=>{if(h.key==="Tab"&&h.shiftKey){u.onItemShiftTab();return}if(h.target!==h.currentTarget)return;const m=B6(h,u.orientation,u.dir);if(m!==void 0){if(h.metaKey||h.ctrlKey||h.altKey||h.shiftKey)return;h.preventDefault();let b=f().filter(y=>y.focusable).map(y=>y.ref.current);if(m==="last")b.reverse();else if(m==="prev"||m==="next"){m==="prev"&&b.reverse();const y=b.indexOf(h.currentTarget);b=u.loop?$6(b,y+1):b.slice(y+1)}setTimeout(()=>j0(b))}})})})});O0.displayName=P0;var z6={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function U6(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function B6(e,t,n){const r=U6(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return z6[r]}function j0(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function $6(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var k0=E0,N0=O0,W6=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Zn=new WeakMap,ii=new WeakMap,ai={},Ua=0,A0=function(e){return e&&(e.host||A0(e.parentNode))},Z6=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=A0(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},q6=function(e,t,n,r){var o=Z6(t,Array.isArray(e)?e:[e]);ai[n]||(ai[n]=new WeakMap);var i=ai[n],a=[],s=new Set,l=new Set(o),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};o.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))c(p);else try{var v=p.getAttribute(r),h=v!==null&&v!=="false",m=(Zn.get(p)||0)+1,b=(i.get(p)||0)+1;Zn.set(p,m),i.set(p,b),a.push(p),m===1&&h&&ii.set(p,!0),b===1&&p.setAttribute(n,"true"),h||p.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",p,y)}})};return c(t),s.clear(),Ua++,function(){a.forEach(function(f){var p=Zn.get(f)-1,v=i.get(f)-1;Zn.set(f,p),i.set(f,v),p||(ii.has(f)||f.removeAttribute(r),ii.delete(f)),v||f.removeAttribute(n)}),Ua--,Ua||(Zn=new WeakMap,Zn=new WeakMap,ii=new WeakMap,ai={})}},T0=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=W6(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),q6(r,o,n,"aria-hidden")):function(){return null}},Ot=function(){return Ot=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Ot.apply(this,arguments)};function D0(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function G6(e,t,n){for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Pi="right-scroll-bar-position",Oi="width-before-scroll-bar",Y6="with-scroll-bars-hidden",X6="--removed-body-scroll-bar-size";function Ba(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function K6(e,t){var n=g.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Q6=typeof window<"u"?g.useLayoutEffect:g.useEffect,Du=new WeakMap;function J6(e,t){var n=K6(null,function(r){return e.forEach(function(o){return Ba(o,r)})});return Q6(function(){var r=Du.get(n);if(r){var o=new Set(r),i=new Set(e),a=n.current;o.forEach(function(s){i.has(s)||Ba(s,null)}),i.forEach(function(s){o.has(s)||Ba(s,a)})}Du.set(n,e)},[e]),n}function e5(e){return e}function t5(e,t){t===void 0&&(t=e5);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var c=a;a=[],c.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){a.push(c),u()},filter:function(c){return a=a.filter(c),n}}}};return o}function n5(e){e===void 0&&(e={});var t=t5(null);return t.options=Ot({async:!0,ssr:!1},e),t}var F0=function(e){var t=e.sideCar,n=D0(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return g.createElement(r,Ot({},n))};F0.isSideCarExport=!0;function r5(e,t){return e.useMedium(t),F0}var R0=n5(),$a=function(){},ba=g.forwardRef(function(e,t){var n=g.useRef(null),r=g.useState({onScrollCapture:$a,onWheelCapture:$a,onTouchMoveCapture:$a}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,p=e.sideCar,v=e.noIsolation,h=e.inert,m=e.allowPinchZoom,b=e.as,y=b===void 0?"div":b,x=e.gapMode,S=D0(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),M=p,w=J6([n,t]),I=Ot(Ot({},S),o);return g.createElement(g.Fragment,null,c&&g.createElement(M,{sideCar:R0,removeScrollBar:u,shards:f,noIsolation:v,inert:h,setCallbacks:i,allowPinchZoom:!!m,lockRef:n,gapMode:x}),a?g.cloneElement(g.Children.only(s),Ot(Ot({},I),{ref:w})):g.createElement(y,Ot({},I,{className:l,ref:w}),s))});ba.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ba.classNames={fullWidth:Oi,zeroRight:Pi};var o5=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function i5(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o5();return t&&e.setAttribute("nonce",t),e}function a5(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function s5(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var l5=function(){var e=0,t=null;return{add:function(n){e==0&&(t=i5())&&(a5(t,n),s5(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},c5=function(){var e=l5();return function(t,n){g.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},L0=function(){var e=c5(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},u5={left:0,top:0,right:0,gap:0},Wa=function(e){return parseInt(e||"",10)||0},d5=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Wa(n),Wa(r),Wa(o)]},f5=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return u5;var t=d5(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},p5=L0(),fr="data-scroll-locked",h5=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-6rlDGLkL-DLquEPm3-BAx7HjfJ.js","assets/main.9ezbfd1a.js","assets/main-Bfrdc6YH.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as g,d,e as o2,_ as i2,J as Q,f as la,B as fu,T as Er,D as ln,H as Fe,i as Ze,g as a2,h as s2,F as pu,k as hu,l as mu,o as l2,C as c2,q as u2,I as d2,s as f2,t as p2}from"./main.9ezbfd1a.js";var zd=e=>{throw TypeError(e)},Fl=(e,t,n)=>t.has(e)||zd("Cannot "+n),k=(e,t,n)=>(Fl(e,t,"read from private field"),n?n.call(e):t.get(e)),ae=(e,t,n)=>t.has(e)?zd("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,r)=>(Fl(e,t,"write to private field"),t.set(e,n),n),ue=(e,t,n)=>(Fl(e,t,"access private method"),n),Vs=(e,t,n,r)=>({set _(o){K(e,t,o)},get _(){return k(e,t,r)}});function h2(e){return d.jsx("svg",{...e,viewBox:"0 0 9 12",fill:"currentcolor",children:d.jsx("path",{d:"M8.31744 6.36794C8.56085 6.17515 8.56085 5.82482 8.31744 5.63203L1.3527 0.115704C1.01647 -0.150574 0.499999 0.072258 0.499999 0.483647L0.5 11.5163C0.5 11.9277 1.01647 12.1506 1.3527 11.8843L8.31744 6.36794Z"})})}function m2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"none",stroke:"currentcolor",children:d.jsx("path",{d:"M8 1L0.999998 8M0.999998 8L8 15M0.999998 8L15 8",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function g2(e){return d.jsx("svg",{...e,viewBox:"0 0 20 21",fill:"currentcolor",children:d.jsx("path",{d:"M9.98893 18.8223C14.5914 18.8223 18.3223 15.0913 18.3223 10.4889C18.3223 5.88642 14.5914 2.15559 9.98893 2.15559C5.38643 2.15559 1.6556 5.88642 1.6556 10.4889C1.6556 15.0913 5.38643 18.8223 9.98893 18.8223ZM9.98893 14.6556C9.52893 14.6556 9.1556 14.2825 9.1556 13.8223L9.1556 9.65559L6.6556 9.65559L9.98893 6.32226L13.3223 9.65559L10.8223 9.65559L10.8223 13.8223C10.8223 14.2825 10.4489 14.6556 9.98893 14.6556Z"})})}function v2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M12.0104 2.66602C11.2738 2.66602 10.6771 3.26268 10.6771 3.99935V11.9993C10.6771 12.736 11.2738 13.3327 12.0104 13.3327H13.3438C14.0804 13.3327 14.6771 12.736 14.6771 11.9993V3.99935C14.6771 3.26268 14.0804 2.66602 13.3438 2.66602H12.0104ZM7.34375 5.33268C6.60708 5.33268 6.01042 5.92935 6.01042 6.66602V11.9993C6.01042 12.736 6.60708 13.3327 7.34375 13.3327H8.67708C9.41375 13.3327 10.0104 12.736 10.0104 11.9993V6.66602C10.0104 5.92935 9.41375 5.33268 8.67708 5.33268H7.34375ZM2.67708 7.99935C1.94042 7.99935 1.34375 8.59602 1.34375 9.33268V11.9993C1.34375 12.736 1.94042 13.3327 2.67708 13.3327H4.01042C4.74708 13.3327 5.34375 12.736 5.34375 11.9993V9.33268C5.34375 8.59602 4.74708 7.99935 4.01042 7.99935H2.67708Z"})})}function b2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M16.1557 6.42331C16.6148 5.98332 16.6148 5.26997 16.1557 4.82999C15.6967 4.39 14.9525 4.39 14.4935 4.82999L7.84438 11.2033C7.83003 11.217 7.81614 11.231 7.80268 11.2453C7.79259 11.256 7.78275 11.2669 7.77314 11.2779C7.38661 11.7205 7.41032 12.3808 7.84427 12.7967L14.4933 19.17C14.9524 19.61 15.6966 19.61 16.1556 19.17C16.6146 18.7301 16.6146 18.0167 16.1556 17.5767L10.3377 12.0001L16.1557 6.42331Z"})})}function y2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M7.84427 17.5767C7.38524 18.0167 7.38524 18.73 7.84427 19.17C8.30329 19.61 9.04752 19.61 9.50653 19.17L16.1556 12.7967C16.17 12.783 16.1839 12.769 16.1973 12.7547C16.2074 12.744 16.2173 12.7331 16.2269 12.7221C16.6134 12.2795 16.5897 11.6192 16.1557 11.2033L9.50665 4.82997C9.04762 4.39001 8.3034 4.39001 7.84438 4.82997C7.38535 5.26992 7.38535 5.98332 7.84438 6.42328L13.6623 11.9999L7.84427 17.5767Z"})})}function x2(e){return d.jsx("svg",{...e,width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M4.67064 1.99414C3.19797 1.99414 2.00397 3.18814 2.00397 4.66081V11.3275C2.00397 12.8001 3.19797 13.9941 4.67064 13.9941H11.3373C12.81 13.9941 14.004 12.8001 14.004 11.3275V4.66081C14.004 3.18814 12.81 1.99414 11.3373 1.99414H4.67064ZM6.64997 3.32747C7.01797 3.32147 7.33131 3.60547 7.33731 3.97347C7.34331 4.34147 7.05931 4.65481 6.69131 4.66081C6.30331 4.66747 6.00864 4.94547 6.00397 5.32747C6.00264 5.42081 6.0053 5.42681 6.00397 5.51481C5.99464 6.23681 5.98063 6.49414 5.89997 6.82747C5.82863 7.11947 5.6493 7.48214 5.39997 7.99414C5.65197 8.51147 5.82797 8.87081 5.89997 9.16081C5.98663 9.51147 5.9993 9.77014 6.00397 10.5775C6.00397 10.6215 6.00397 10.6155 6.00397 10.6608C6.00664 11.0635 6.2673 11.3275 6.67064 11.3275C7.03864 11.3275 7.33731 11.6261 7.33731 11.9941C7.33731 12.3621 7.03864 12.6608 6.67064 12.6608C5.52464 12.6601 4.6773 11.7881 4.67064 10.6608C4.67064 10.6155 4.67064 10.6215 4.67064 10.5775C4.66664 9.88414 4.65997 9.70281 4.60797 9.49414C4.55197 9.26814 4.44797 9.0488 4.06663 8.28613C3.97263 8.09813 3.97263 7.89015 4.06663 7.70215C4.4393 6.95748 4.55264 6.72281 4.60797 6.49414C4.65664 6.29481 4.66264 6.11081 4.67064 5.49414C4.67197 5.40681 4.6693 5.42147 4.67064 5.32747C4.68464 4.22481 5.53997 3.34614 6.64997 3.32747ZM9.33731 3.32747C10.4606 3.33747 11.3466 4.21947 11.3373 5.32747C11.3306 6.07347 11.3446 6.27614 11.4 6.49414C11.456 6.71481 11.5366 6.89282 11.9413 7.70215C12.0353 7.89015 12.0353 8.09813 11.9413 8.28613C11.5466 9.07547 11.456 9.27147 11.4 9.49414C11.3453 9.71147 11.3353 9.89814 11.3373 10.6608C11.3406 11.7935 10.4746 12.6655 9.33731 12.6608C8.96931 12.6595 8.66931 12.3621 8.67064 11.9941C8.67197 11.6261 8.96931 11.3261 9.33731 11.3275C9.73264 11.3288 10.0053 11.0555 10.004 10.6608C10.0013 9.77481 10.0153 9.52881 10.108 9.16081C10.18 8.87414 10.3513 8.51947 10.608 7.99414C10.3473 7.46281 10.1806 7.11214 10.108 6.82747C10.0133 6.45547 9.99664 6.19747 10.004 5.32747C10.0073 4.95814 9.72731 4.66414 9.33731 4.66081C8.96931 4.65747 8.66731 4.36214 8.67064 3.99414C8.67397 3.62614 8.96931 3.32414 9.33731 3.32747Z"})})}function w2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M12.0283 1.99805C10.3713 1.99805 9.02832 3.34105 9.02832 4.99805C9.02832 6.26605 9.86732 7.40607 11.0263 7.82507L11.0283 10.998H7.02832C6.47632 10.998 6.02832 11.446 6.02832 11.998L6.02731 16.173C4.87631 16.569 4.02832 17.73 4.02832 18.998C4.02832 20.655 5.37132 21.998 7.02832 21.998C8.68532 21.998 10.0283 20.655 10.0283 18.998C10.0283 17.73 9.23332 16.612 8.03932 16.16L8.02832 12.998H12.0283H16.0283L16.0353 16.175C14.8343 16.592 14.0283 17.73 14.0283 18.998C14.0283 20.655 15.3713 21.998 17.0283 21.998C18.6853 21.998 20.0283 20.655 20.0283 18.998C20.0283 17.73 19.2093 16.614 18.0363 16.17L18.0283 11.998C18.0283 11.446 17.5803 10.998 17.0283 10.998H13.0283L13.0253 7.82104C14.1893 7.41004 15.0283 6.26605 15.0283 4.99805C15.0283 3.34105 13.6853 1.99805 12.0283 1.99805Z"})})}function C2(e){return d.jsx("svg",{...e,viewBox:"0 0 18 19",fill:"currentcolor",children:d.jsx("path",{d:"M8.27293 3.26461C8.46408 3.26461 8.61903 3.10949 8.61904 2.91815L8.6191 0.500008C6.2185 0.599662 4.06088 1.64036 2.50446 3.26475L8.27293 3.26461ZM10.6957 6.82116C10.6957 7.0125 10.5407 7.16762 10.3496 7.16762L0.304562 7.16782C0.613333 6.01248 1.14583 4.94828 1.85198 4.02532L10.3496 4.02518C10.5408 4.02518 10.6957 4.1803 10.6957 4.37166L10.6957 6.82116ZM15.4943 15.7353C13.9385 17.3591 11.7809 18.3997 9.37968 18.5L9.37974 16.0819C9.37974 15.8905 9.5347 15.7354 9.72585 15.7354L15.4943 15.7353ZM8.61928 18.4994C6.21868 18.3999 4.06051 17.3587 2.50477 15.735L8.2732 15.7348C8.46437 15.7348 8.61934 15.89 8.61933 16.0813L8.61928 18.4994ZM13.196 12.1777C13.196 11.9864 13.3509 11.8313 13.5421 11.8312L17.6942 11.831C17.3854 12.9863 16.8536 14.0499 16.1468 14.9735L13.5421 14.9737C13.3509 14.9737 13.1959 14.8186 13.1959 14.6272L13.196 12.1777ZM6.63574 8.26583C6.64045 8.07793 6.79397 7.92806 6.98174 7.92805L17.8631 7.92797C17.953 8.43803 18 8.96317 18 9.49919C18 10.0352 17.9529 10.5604 17.8631 11.0704L6.98317 11.07C6.79504 11.0699 6.64138 10.9195 6.63718 10.7312L6.6074 9.39625L6.63574 8.26583ZM12.5542 14.6279C12.5542 14.8192 12.3992 14.9743 12.2081 14.9743L1.85233 14.9744C1.14562 14.0509 0.613778 12.9873 0.305062 11.832L12.2081 11.8319C12.3993 11.8319 12.5543 11.987 12.5543 12.1784L12.5542 14.6279ZM0.136912 7.92839L5.5227 7.92809C5.71386 7.92809 5.86883 8.08321 5.86883 8.27457L5.86877 10.7241C5.86877 10.9154 5.71381 11.0705 5.52266 11.0706L0.136834 11.0708C0.046996 10.5608 -1.44252e-05 10.0356 -1.12058e-06 9.49961C1.02767e-05 8.9636 0.0470512 8.43845 0.136912 7.92839ZM11.4567 4.3716C11.4567 4.18026 11.6117 4.02515 11.8028 4.02514L16.1471 4.02498C16.8538 4.94851 17.3856 6.01207 17.6943 7.1674L11.8028 7.1676C11.6116 7.1676 11.4567 7.01248 11.4567 6.82112L11.4567 4.3716ZM9.3801 0.500001C11.7807 0.599542 13.9389 1.64073 15.4946 3.26444L9.72617 3.26457C9.53501 3.26458 9.38004 3.10945 9.38004 2.9181L9.3801 0.500001Z"})})}function S2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M7.33203 1.99414C5.85936 1.99414 4.66536 3.18814 4.66536 4.66081H3.9987C2.61203 4.66081 1.50204 5.72481 1.37337 7.07747C1.71071 7.19281 6.22803 8.70282 6.22803 8.70215C7.18469 9.02148 8.8127 9.02148 9.76937 8.70215C9.76937 8.70215 13.224 7.54881 14.6447 7.07747C14.5214 5.71947 13.3887 4.66081 11.9987 4.66081H11.332C11.332 3.18814 10.138 1.99414 8.66536 1.99414H7.33203ZM7.33203 3.32747H8.66536C9.40203 3.32747 9.9987 3.92414 9.9987 4.66081H5.9987C5.9987 3.92414 6.59536 3.32747 7.33203 3.32747ZM1.33203 8.47347V11.3275C1.33203 12.8001 2.52603 13.9941 3.9987 13.9941H11.9987C13.4714 13.9941 14.6654 12.8001 14.6654 11.3275V8.47347L10.186 9.97347C8.95603 10.3835 7.04136 10.3835 5.81136 9.97347L1.33203 8.47347Z"})})}function I2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M8.00586 2.01367C7.45356 2.01367 7.00586 2.46167 7.00586 3.01367C4.79676 3.01367 3.00576 4.80467 3.00586 7.01367V8.07568L21.0059 8.01367V7.01367C21.0059 4.80467 19.215 3.01367 17.0059 3.01367C17.0059 2.46167 16.5582 2.01367 16.0059 2.01367C15.4536 2.01367 15.0059 2.46167 15.0059 3.01367H9.00586C9.00586 2.46167 8.55816 2.01367 8.00586 2.01367ZM3.00586 10.0137V17.0137C3.00586 19.2227 4.79676 21.0137 7.00586 21.0137H17.0059C19.215 21.0137 21.006 19.2227 21.0059 17.0137V10.0137H3.00586ZM8.00586 12.0137C8.55816 12.0137 9.00586 12.4617 9.00586 13.0137C9.00586 13.5657 8.55816 14.0137 8.00586 14.0137C7.45356 14.0137 7.00586 13.5657 7.00586 13.0137C7.00586 12.4617 7.45356 12.0137 8.00586 12.0137ZM12.0059 12.0137C12.5582 12.0137 13.0059 12.4617 13.0059 13.0137C13.0059 13.5657 12.5582 14.0137 12.0059 14.0137C11.4536 14.0137 11.0059 13.5657 11.0059 13.0137C11.0059 12.4617 11.4536 12.0137 12.0059 12.0137ZM16.0059 12.0137C16.5582 12.0137 17.0059 12.4617 17.0059 13.0137C17.0059 13.5657 16.5582 14.0137 16.0059 14.0137C15.4536 14.0137 15.0059 13.5657 15.0059 13.0137C15.0059 12.4617 15.4536 12.0137 16.0059 12.0137ZM8.00586 15.0137C8.55816 15.0137 9.00586 15.4617 9.00586 16.0137C9.00586 16.5657 8.55816 17.0137 8.00586 17.0137C7.45356 17.0137 7.00586 16.5657 7.00586 16.0137C7.00586 15.4617 7.45356 15.0137 8.00586 15.0137ZM12.0059 15.0137C12.5582 15.0137 13.0059 15.4617 13.0059 16.0137C13.0059 16.5657 12.5582 17.0137 12.0059 17.0137C11.4536 17.0137 11.0059 16.5657 11.0059 16.0137C11.0059 15.4617 11.4536 15.0137 12.0059 15.0137ZM16.0059 15.0137C16.5582 15.0137 17.0059 15.4617 17.0059 16.0137C17.0059 16.5657 16.5582 17.0137 16.0059 17.0137C15.4536 17.0137 15.0059 16.5657 15.0059 16.0137C15.0059 15.4617 15.4536 15.0137 16.0059 15.0137Z"})})}function M2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.28221 5.22951C3.98888 4.9235 3.51331 4.9235 3.21999 5.22951C2.92667 5.53552 2.92667 6.03168 3.21999 6.33769L7.46885 10.7704C7.47802 10.78 7.48736 10.7892 7.49688 10.7982C7.50402 10.8049 7.51125 10.8115 7.51858 10.8179C7.81368 11.0756 8.25385 11.0598 8.53115 10.7705L12.78 6.33777C13.0733 6.03175 13.0733 5.5356 12.78 5.22958C12.4867 4.92357 12.0111 4.92357 11.7178 5.22958L8.00004 9.10822L4.28221 5.22951Z"})})}function E2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M10 16L10 12.8L10 11.2L10 8L14 12L10 16Z"})})}function P2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M12 3C7.0293 3 3 7.0293 3 12C3 16.9707 7.0293 21 12 21C16.9707 21 21 16.9707 21 12C21 7.0293 16.9707 3 12 3ZM15.6 9.3C15.8304 9.3 16.0707 9.37741 16.2471 9.55291C16.5981 9.90481 16.5981 10.4952 16.2471 10.8471L12.8721 14.1942C11.8362 15.2292 10.2531 15.0744 9.4404 13.8558L8.54041 12.5058C8.26501 12.0927 8.38019 11.5167 8.79419 11.2404C9.20729 10.965 9.78329 11.0802 10.0596 11.4942L10.9596 12.8442C11.1414 13.1169 11.3745 13.1601 11.6058 12.9279L14.9529 9.55291C15.1293 9.37741 15.3696 9.3 15.6 9.3Z"})})}function O2(e){return d.jsxs("svg",{...e,viewBox:"0 0 24 24",fill:"none",children:[d.jsx("circle",{cx:"12",cy:"12",r:"10",fill:"none"}),d.jsx("path",{d:"M10.1575 16.8849C10.5032 16.8849 10.8257 16.7467 11.0562 16.5162L18.3142 9.25817L16.517 7.46094L10.1575 13.8204L7.48473 11.1476L5.6875 12.9448L9.25893 16.5162C9.48934 16.7467 9.81192 16.8849 10.1575 16.8849Z",fill:"currentcolor"}),d.jsx("path",{d:"M2.51367 12C2.51367 6.75314 6.76701 2.5 12.0137 2.5C17.2603 2.5 21.5137 6.75314 21.5137 12C21.5137 17.2468 17.2603 21.5 12.0137 21.5C6.76701 21.5 2.51367 17.2468 2.51367 12Z",stroke:"currentcolor"})]})}function j2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M10.1575 16.8849C10.5032 16.8849 10.8257 16.7467 11.0562 16.5162L18.3142 9.25817L16.517 7.46094L10.1575 13.8204L7.48473 11.1476L5.6875 12.9448L9.25893 16.5162C9.48934 16.7467 9.81192 16.8849 10.1575 16.8849Z"})})}function k2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"none",stroke:"currentcolor",children:d.jsx("path",{d:"M6 9L12 15L18 9",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function N2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("circle",{cx:"8",cy:"8",r:"6.665"})})}function A2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M12 3C7.02948 3 3 7.0293 3 12C3 16.9707 7.02948 21 12 21C16.9705 21 21 16.9707 21 12C21 7.0293 16.9705 3 12 3ZM12 6.6C12.4971 6.6 12.9 7.0032 12.9 7.5V11.6058L15.3469 14.0529C15.6984 14.4048 15.6984 14.9952 15.3469 15.3471C14.9954 15.6981 14.4046 15.6981 14.0531 15.3471L11.3531 12.6471C11.1843 12.4779 11.1 12.2385 11.1 12V7.5C11.1 7.0032 11.5029 6.6 12 6.6Z"})})}function T2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M12.0137 3.99043C10.8277 4.00043 9.59167 4.33942 8.51367 4.95942C8.03467 5.23442 7.86367 5.85542 8.13867 6.33442C8.41367 6.81342 9.03467 6.95347 9.51367 6.67847C10.2927 6.23047 11.1717 5.99742 12.0137 5.99042C14.6947 5.96942 17.0347 8.27742 17.0137 10.9904C17.0137 11.0504 17.0137 11.8534 17.0137 12.0844C17.0137 12.5504 17.3097 12.9794 17.7637 13.0844C19.0797 13.3884 20.0137 14.3904 20.0137 15.4904C20.0137 15.8464 19.9357 16.2034 19.7637 16.5224C19.5017 17.0074 19.6837 17.6034 20.1697 17.8654C20.6557 18.1284 21.2517 17.9454 21.5137 17.4594C21.8417 16.8524 22.0137 16.1824 22.0137 15.4904C22.0137 13.6764 20.8217 12.1095 19.0097 11.3765C19.0117 11.1985 19.0137 11.0174 19.0137 10.9904C19.0437 7.15542 15.8047 3.96143 12.0137 3.99043ZM5.01367 5.99042C4.75767 5.99042 4.48968 6.07647 4.29468 6.27247C3.90468 6.66247 3.90468 7.31941 4.29468 7.70941L5.40268 8.80542C5.29468 9.03042 5.24667 9.28445 5.19067 9.54345C3.28667 10.3735 2.01367 12.2084 2.01367 14.3654C2.01367 17.3754 4.38968 19.9904 7.32568 19.9904H16.5757L17.2947 20.7094C17.6857 21.1004 18.3417 21.1004 18.7327 20.7094C19.1227 20.3194 19.1227 19.6624 18.7327 19.2724L17.7327 18.2724L5.73267 6.27247C5.53667 6.07647 5.26967 5.99042 5.01367 5.99042ZM7.04169 10.4495L14.5757 17.9904H7.32568C5.53868 17.9904 4.01367 16.3124 4.01367 14.3654C4.01367 12.8734 4.94767 11.6624 6.35767 11.2404C6.71567 11.1334 6.99369 10.8025 7.04169 10.4495Z"})})}function D2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M13.3351 1.99414C13.1645 1.99414 12.9858 2.05148 12.8558 2.18148L10.1891 4.84814L8.66847 3.32747V7.32747H12.6685L11.1478 5.8068L13.8145 3.14014C14.0745 2.87947 14.0745 2.44214 13.8145 2.18148C13.6845 2.05148 13.5058 1.99414 13.3351 1.99414ZM3.33514 8.66081L4.85581 10.1815L2.18914 12.8481C1.92914 13.1088 1.92914 13.5461 2.18914 13.8068C2.31914 13.9368 2.4978 13.9941 2.66847 13.9941C2.83914 13.9941 3.0178 13.9368 3.1478 13.8068L5.81446 11.1401L7.33513 12.6608V8.66081H3.33514Z"})})}function F2(e){return d.jsxs("svg",{...e,viewBox:"0 0 242 62",fill:"currentcolor",children:[d.jsx("path",{d:"M29.2499 16.0724C29.526 16.0724 29.7499 15.8485 29.7499 15.5724L29.75 9.45358C23.9969 9.69217 18.8261 12.1837 15.0961 16.0727L29.2499 16.0724ZM21.6271 24.9167C21.6271 25.1928 21.4033 25.4167 21.1271 25.4167L9.82394 25.4172C10.5639 22.6511 11.8401 20.1033 13.5324 17.8936L21.1272 17.8933C21.4034 17.8933 21.6272 18.1171 21.6272 18.3933L21.6271 24.9167ZM46.2267 45.9287C42.4981 49.8163 37.3274 52.3078 31.5728 52.5478L31.5729 46.4291C31.5729 46.1529 31.7968 45.9291 32.0729 45.9291L46.2267 45.9287ZM29.7504 52.5464C23.9973 52.3081 18.8252 49.8154 15.0968 45.928L29.2506 45.9277C29.5267 45.9277 29.7506 46.1516 29.7506 46.4277L29.7504 52.5464ZM24.1289 37.082C24.1289 36.8059 24.3527 36.582 24.6289 36.582L51.4988 36.5814C50.7589 39.3474 49.4842 41.8938 47.7904 44.1049L24.6287 44.1055C24.3526 44.1055 24.1287 43.8816 24.1287 43.6054L24.1289 37.082ZM41.5947 27.7247C41.6015 27.4536 41.8233 27.2373 42.0945 27.2373L51.9037 27.2371C52.119 28.4582 52.2317 29.7155 52.2317 30.9988C52.2316 32.282 52.1189 33.5393 51.9035 34.7605L42.0971 34.7593C41.8253 34.7593 41.6033 34.5422 41.5973 34.2705L41.5187 30.7523L41.5947 27.7247ZM22.5908 43.607C22.5908 43.8831 22.3669 44.107 22.0908 44.107L13.5332 44.1071C11.8396 41.8961 10.565 39.3498 9.82514 36.5838L22.0909 36.5835C22.3671 36.5835 22.591 36.8074 22.5909 37.0835L22.5908 43.607ZM9.42216 27.2381L39.2487 27.2373C39.5249 27.2373 39.7487 27.4612 39.7487 27.7374L39.7486 34.2608C39.7486 34.5369 39.5247 34.7608 39.2486 34.7608L9.42197 34.7615C9.20667 33.5404 9.094 32.2831 9.09403 30.9998C9.09406 29.7165 9.2068 28.4592 9.42216 27.2381ZM23.451 18.3932C23.451 18.1171 23.6749 17.8932 23.951 17.8932L47.791 17.8928C49.4847 20.1039 50.7593 22.6502 51.4991 25.4162L23.9509 25.4166C23.6747 25.4167 23.4509 25.1928 23.4509 24.9166L23.451 18.3932ZM31.5738 9.45357C37.3269 9.69188 42.499 12.1846 46.2274 16.072L32.0737 16.0723C31.7975 16.0723 31.5736 15.8484 31.5736 15.5723L31.5738 9.45357Z"}),d.jsx("path",{d:"M66.6074 31.1806C66.6074 28.1869 67.2536 25.5242 68.5459 23.1925C69.8382 20.8321 71.6331 19.0042 73.9306 17.7089C76.2568 16.3847 78.8845 15.7227 81.8138 15.7227C85.4036 15.7227 88.4765 16.6726 91.0324 18.5724C93.5884 20.4723 95.2971 23.063 96.1587 26.3446H88.0601C87.457 25.078 86.5954 24.1137 85.4754 23.4516C84.3841 22.7895 83.1349 22.4585 81.7277 22.4585C79.4589 22.4585 77.6209 23.2501 76.2137 24.8333C74.8065 26.4165 74.1029 28.5323 74.1029 31.1806C74.1029 33.8289 74.8065 35.9446 76.2137 37.5278C77.6209 39.111 79.4589 39.9027 81.7277 39.9027C83.1349 39.9027 84.3841 39.5716 85.4754 38.9095C86.5954 38.2475 87.457 37.2832 88.0601 36.0166H96.1587C95.2971 39.2982 93.5884 41.8889 91.0324 43.7887C88.4765 45.6598 85.4036 46.5953 81.8138 46.5953C78.8845 46.5953 76.2568 45.9477 73.9306 44.6523C71.6331 43.3282 69.8382 41.5003 68.5459 39.1686C67.2536 36.837 66.6074 34.1743 66.6074 31.1806Z"}),d.jsx("path",{d:"M109.888 46.7249C107.533 46.7249 105.408 46.2211 103.513 45.2136C101.646 44.2061 100.167 42.7668 99.0758 40.8958C98.0132 39.0247 97.4819 36.837 97.4819 34.3326C97.4819 31.857 98.0276 29.6837 99.1189 27.8127C100.21 25.9128 101.704 24.4591 103.599 23.4516C105.494 22.4441 107.62 21.9404 109.974 21.9404C112.329 21.9404 114.455 22.4441 116.35 23.4516C118.245 24.4591 119.739 25.9128 120.83 27.8127C121.921 29.6837 122.467 31.857 122.467 34.3326C122.467 36.8082 121.907 38.9959 120.787 40.8958C119.696 42.7668 118.188 44.2061 116.264 45.2136C114.368 46.2211 112.243 46.7249 109.888 46.7249ZM109.888 40.3344C111.295 40.3344 112.487 39.8163 113.464 38.78C114.469 37.7437 114.971 36.2613 114.971 34.3326C114.971 32.404 114.483 30.9215 113.507 29.8852C112.559 28.8489 111.382 28.3308 109.974 28.3308C108.539 28.3308 107.347 28.8489 106.399 29.8852C105.451 30.8927 104.977 32.3752 104.977 34.3326C104.977 36.2613 105.437 37.7437 106.356 38.78C107.304 39.8163 108.481 40.3344 109.888 40.3344Z"}),d.jsx("path",{d:"M139.298 22.0267C142.113 22.0267 144.353 22.9479 146.018 24.7902C147.713 26.6037 148.56 29.108 148.56 32.3032V46.3794H141.237V33.2963C141.237 31.6843 140.82 30.4322 139.987 29.5398C139.155 28.6474 138.035 28.2013 136.627 28.2013C135.22 28.2013 134.1 28.6474 133.267 29.5398C132.434 30.4322 132.018 31.6843 132.018 33.2963V46.3794H124.652V22.2858H132.018V25.481C132.765 24.4159 133.77 23.5812 135.033 22.9767C136.297 22.3434 137.719 22.0267 139.298 22.0267Z"}),d.jsx("path",{d:"M166.602 22.0267C169.416 22.0267 171.656 22.9479 173.322 24.7902C175.016 26.6037 175.864 29.108 175.864 32.3032V46.3794H168.54V33.2963C168.54 31.6843 168.124 30.4322 167.291 29.5398C166.458 28.6474 165.338 28.2013 163.931 28.2013C162.524 28.2013 161.404 28.6474 160.571 29.5398C159.738 30.4322 159.322 31.6843 159.322 33.2963V46.3794H151.956V22.2858H159.322V25.481C160.069 24.4159 161.074 23.5812 162.337 22.9767C163.601 22.3434 165.022 22.0267 166.602 22.0267Z"}),d.jsx("path",{d:"M201.918 33.944C201.918 34.6349 201.875 35.3545 201.789 36.1029H185.118C185.233 37.5998 185.707 38.7512 186.539 39.5572C187.401 40.3344 188.449 40.723 189.684 40.723C191.522 40.723 192.8 39.9458 193.518 38.3914H201.358C200.956 39.9746 200.224 41.3995 199.161 42.6661C198.127 43.9327 196.821 44.9258 195.241 45.6454C193.662 46.365 191.895 46.7249 189.943 46.7249C187.588 46.7249 185.491 46.2211 183.653 45.2136C181.815 44.2061 180.379 42.7668 179.346 40.8958C178.312 39.0247 177.795 36.837 177.795 34.3326C177.795 31.8283 178.297 29.6405 179.302 27.7695C180.336 25.8984 181.772 24.4591 183.61 23.4516C185.448 22.4441 187.559 21.9404 189.943 21.9404C192.269 21.9404 194.337 22.4297 196.146 23.4084C197.955 24.3872 199.362 25.7833 200.367 27.5968C201.401 29.4103 201.918 31.526 201.918 33.944ZM194.38 32.001C194.38 30.7344 193.949 29.7269 193.087 28.9785C192.226 28.23 191.149 27.8558 189.856 27.8558C188.622 27.8558 187.573 28.2157 186.712 28.9353C185.879 29.6549 185.362 30.6768 185.161 32.001H194.38Z"}),d.jsx("path",{d:"M202.617 34.3326C202.617 31.8283 203.119 29.6405 204.124 27.7695C205.158 25.8984 206.58 24.4591 208.389 23.4516C210.227 22.4441 212.323 21.9404 214.678 21.9404C217.694 21.9404 220.207 22.732 222.217 24.3152C224.256 25.8984 225.591 28.1293 226.223 31.0079H218.383C217.722 29.1656 216.444 28.2444 214.549 28.2444C213.199 28.2444 212.122 28.777 211.318 29.842C210.514 30.8783 210.112 32.3752 210.112 34.3326C210.112 36.29 210.514 37.8013 211.318 38.8664C212.122 39.9027 213.199 40.4208 214.549 40.4208C216.444 40.4208 217.722 39.4997 218.383 37.6574H226.223C225.591 40.4784 224.256 42.6949 222.217 44.3069C220.178 45.9189 217.665 46.7249 214.678 46.7249C212.323 46.7249 210.227 46.2211 208.389 45.2136C206.58 44.2061 205.158 42.7668 204.124 40.8958C203.119 39.0247 202.617 36.837 202.617 34.3326Z"}),d.jsx("path",{d:"M241.837 40.1185V46.3794H238.09C235.419 46.3794 233.337 45.7318 231.843 44.4364C230.35 43.1123 229.603 40.9677 229.603 38.0028V28.4172H226.674V22.2858H229.603V16.4135H236.97V22.2858H241.794V28.4172H236.97V38.0892C236.97 38.8088 237.142 39.3269 237.486 39.6436C237.831 39.9602 238.405 40.1185 239.21 40.1185H241.837Z"})]})}function R2(e){return d.jsx("svg",{...e,viewBox:"0 0 20 16",fill:"currentcolor",children:d.jsx("path",{d:"M20 1.84472C20 1.46377 19.7836 1.11591 19.4418 0.94761L18.088 0.28089C17.7399 0.109485 17.3242 0.154861 17.0213 0.397305L10.9046 5.29345L13.3938 7.26606L16.9338 4.43246V11.5763L2.94616 0.468456C2.64307 0.227771 2.22832 0.183587 1.88133 0.355019L0.557054 1.00929C0.215927 1.17782 0 1.52534 0 1.90583V14.1546C0 14.5354 0.216328 14.8832 0.557941 15.0516L1.9119 15.7189C2.26 15.8904 2.67592 15.8451 2.97888 15.6026L9.05159 10.7415L6.56234 8.76886L3.06621 11.5675V4.48484L17.0477 15.5957C17.3508 15.8366 17.7658 15.8809 18.1129 15.7093L19.4431 15.0519C19.7841 14.8833 20 14.5358 20 14.1554V1.84472Z"})})}function L2(e){return d.jsx("svg",{...e,viewBox:"0 0 10 2",fill:"currentcolor",children:d.jsx("path",{d:"M1 0C1.552 0 2 0.448 2 1C2 1.552 1.552 2 1 2C0.448 2 0 1.552 0 1C0 0.448 0.448 0 1 0ZM5 0C5.552 0 6 0.448 6 1C6 1.552 5.552 2 5 2C4.448 2 4 1.552 4 1C4 0.448 4.448 0 5 0ZM9 0C9.552 0 10 0.448 10 1C10 1.552 9.552 2 9 2C8.448 2 8 1.552 8 1C8 0.448 8.448 0 9 0Z"})})}function V2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M8.00846 1.33203C4.32646 1.33203 1.3418 4.3167 1.3418 7.9987C1.3418 11.6807 4.32646 14.6654 8.00846 14.6654C11.6905 14.6654 14.6751 11.6807 14.6751 7.9987C14.6751 4.3167 11.6905 1.33203 8.00846 1.33203ZM8.00846 4.66536C8.37646 4.66536 8.67513 4.96403 8.67513 5.33203V8.66536C8.67513 9.03336 8.37646 9.33203 8.00846 9.33203C7.64046 9.33203 7.3418 9.03336 7.3418 8.66536V5.33203C7.3418 4.96403 7.64046 4.66536 8.00846 4.66536ZM8.00846 9.9987C8.37646 9.9987 8.67513 10.2974 8.67513 10.6654C8.67513 11.0334 8.37646 11.332 8.00846 11.332C7.64046 11.332 7.3418 11.0334 7.3418 10.6654C7.3418 10.2974 7.64046 9.9987 8.00846 9.9987Z"})})}function _2(e){return d.jsxs("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:[d.jsx("path",{d:"M9 4C9 3.448 8.552 3 8 3C7.448 3 7 3.448 7 4V9C7 9.552 7.448 10 8 10C8.552 10 9 9.552 9 9V4Z"}),d.jsx("path",{d:"M9 12C9 11.448 8.552 11 8 11C7.448 11 7 11.448 7 12C7 12.552 7.448 13 8 13C8.552 13 9 12.552 9 12Z"})]})}function H2(e){return d.jsx("svg",{...e,viewBox:"0 0 20 20",fill:"currentcolor",children:d.jsx("path",{d:"M8.33139 1.67773C5.36388 1.67773 2.49805 4.5159 2.49805 7.48507C2.49805 7.49365 2.49805 7.5024 2.49805 7.51107C2.49805 9.56107 2.49805 12.008 2.49805 12.2246C2.49805 13.7777 3.84056 15.0111 5.46639 15.0111H5.83139V15.5579C5.83139 17.1111 7.1739 18.3444 8.79973 18.3444H14.5297C16.1556 18.3444 17.4981 17.1111 17.4981 15.5579V7.79757C17.4981 6.2444 16.1556 5.01107 14.5297 5.01107H14.1647V4.46423C14.1647 2.91107 12.8222 1.67773 11.1964 1.67773C11.0181 1.67773 11.0097 1.67773 8.33139 1.67773ZM7.49805 3.55273V5.5579C7.49805 6.15257 6.93638 6.67773 6.19638 6.67773H4.34721C4.72971 5.20507 6.02139 3.94473 7.49805 3.55273ZM14.1647 6.67773H14.5297C15.2697 6.67773 15.8314 7.2029 15.8314 7.79757V15.5579C15.8314 16.1526 15.2697 16.6777 14.5297 16.6777H8.79973C8.05973 16.6777 7.49805 16.1526 7.49805 15.5579V15.0111H11.1964C12.8222 15.0111 14.1647 13.7777 14.1647 12.2246V6.67773Z"})})}function z2(e){return d.jsx("svg",{...e,viewBox:"0 0 18 19",fill:"currentcolor",children:d.jsx("path",{d:"M2.99829 0.682129C1.24429 0.683129 0.008291 1.90913 -0.00170898 3.68213V5.68213C-0.000708986 5.72213 -0.00170898 14.6821 -0.00170898 14.6821C-0.00170898 16.8911 1.78929 18.6821 3.99828 18.6821H13.9983C16.2073 18.6821 17.9983 16.8911 17.9983 14.6821V8.68213C17.9973 8.59713 17.9983 6.84013 17.9983 6.71313C18.0053 4.97213 16.7203 3.68913 14.9983 3.68213C14.7263 3.68113 14.0513 3.68113 14.0613 3.68213C13.1383 3.67913 12.9253 3.49513 12.3423 2.62013C11.4253 1.24513 10.6533 0.682129 8.99828 0.682129H2.99829ZM2.99829 2.68213H8.99828C9.84328 2.68213 10.0713 2.86913 10.6543 3.74413C11.5713 5.11913 12.3433 5.68213 13.9983 5.68213C13.9723 5.68313 14.7223 5.68113 14.9983 5.68213C15.6223 5.68513 16.0013 6.08313 15.9983 6.71313C15.9983 6.77713 15.9973 7.21813 15.9983 7.68213C15.3583 7.68213 15.1983 7.68213 11.9983 7.68213C11.1533 7.68213 10.9253 7.49513 10.3423 6.62013C9.42527 5.24513 8.65328 4.68213 6.99828 4.68213C6.11328 4.68213 3.43429 4.68213 1.99829 4.68213V3.68213C2.00229 3.01813 2.34029 2.68213 2.99829 2.68213Z",fill:"#6C7275"})})}function U2(e){return d.jsx("svg",{...e,viewBox:"0 0 20 19",fill:"currentcolor",children:d.jsx("path",{d:"M2.99829 0.68213C1.38729 0.68213 0.0122901 1.96913 -0.00170994 3.68213V14.6821C-0.00170994 15.7961 0.45129 16.8001 1.18629 17.5261C1.54429 17.8791 1.96529 18.1711 2.43629 18.3701C2.91929 18.5731 3.45429 18.6821 3.99829 18.6821H5.99829H12.9983C14.0523 18.6821 15.0383 18.2771 15.7793 17.5571C16.1773 17.1711 16.6333 16.0351 17.4363 13.6821C17.5003 13.4921 18.9473 9.0291 18.9673 8.9631C19.1653 8.3201 18.6713 7.6821 17.9983 7.6821C17.8733 7.6821 17.2123 7.6821 16.9983 7.6821V6.68213C16.9983 5.02513 15.6553 3.68213 13.9983 3.68213H11.9983C11.1533 3.68213 10.9253 3.49513 10.3423 2.62013C9.4253 1.24513 8.6533 0.68213 6.99829 0.68213C6.12329 0.68213 3.87329 0.68213 2.99829 0.68213ZM2.99829 2.68213C3.87329 2.68213 6.12329 2.68213 6.99829 2.68213C7.8433 2.68213 8.0713 2.86913 8.6543 3.74413C9.5713 5.11913 10.3433 5.68213 11.9983 5.68213H13.9983C14.5503 5.68213 14.9983 6.13013 14.9983 6.68213V7.6821C11.5293 7.6821 6.24829 7.6821 4.99829 7.6821C4.58429 7.6821 4.20929 7.9511 4.06029 8.3381C4.06029 8.3381 2.90229 11.3631 1.99829 13.7131V3.68213C2.00329 3.10513 2.45829 2.68213 2.99829 2.68213Z"})})}function B2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M5.99804 2.99023C4.34104 2.99023 2.99805 4.33333 2.99805 5.99023V7.99023V16.9902C2.99805 19.1992 4.78904 20.9902 6.99804 20.9902H16.998C19.207 20.9902 20.998 19.1992 20.998 16.9902V7.99023C20.998 7.43793 20.55 6.99023 19.998 6.99023C19.998 6.99023 17.095 6.99023 14.998 6.99023C14.243 6.99023 14 6.74533 13.404 5.55273C12.501 3.74533 11.743 2.99023 9.99804 2.99023H5.99804ZM5.99804 4.99023H9.99804C10.753 4.99023 10.996 5.23513 11.592 6.42773C11.722 6.68883 11.776 6.77213 11.904 6.99023C8.45804 6.99023 5.98304 6.99023 4.99804 6.99023V5.99023C4.99804 5.43793 5.44604 4.99023 5.99804 4.99023ZM11.998 10.9902C12.55 10.9902 12.998 11.4382 12.998 11.9902V12.9902H13.998C14.55 12.9902 14.998 13.4382 14.998 13.9902C14.998 14.5422 14.55 14.9902 13.998 14.9902H12.998V15.9902C12.998 16.5422 12.55 16.9902 11.998 16.9902C11.446 16.9902 10.998 16.5422 10.998 15.9902V14.9902H9.99804C9.44604 14.9902 8.99804 14.5422 8.99804 13.9902C8.99804 13.4382 9.44604 12.9902 9.99804 12.9902H10.998V11.9902C10.998 11.4382 11.446 10.9902 11.998 10.9902Z"})})}function $2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M5.97803 1.63718C5.03269 1.93652 4.21736 2.42652 3.4987 3.09519C3.2767 3.30252 3.2087 3.64052 3.3527 3.90785C3.8867 4.89519 3.32802 5.95119 2.12402 6.01186C1.82869 6.02719 1.56803 6.24518 1.4987 6.53252C1.37936 7.02918 1.33203 7.44519 1.33203 7.99118C1.33203 8.44918 1.38136 8.96719 1.47803 9.42852C1.53803 9.71652 1.7887 9.92385 2.08203 9.94985C3.29403 10.0545 3.89404 10.9785 3.3527 12.1578C3.2327 12.4198 3.28736 12.7332 3.4987 12.9285C4.2067 13.5839 5.02003 14.0452 5.97803 14.3452C6.25136 14.4312 6.56003 14.3279 6.72803 14.0952C7.46936 13.0699 8.5447 13.0659 9.2487 14.0952C9.4147 14.3379 9.7187 14.4545 9.9987 14.3658C10.9234 14.0752 11.7847 13.5799 12.4987 12.9285C12.7187 12.7285 12.7767 12.4038 12.6447 12.1372C12.09 11.0178 12.728 9.98985 13.8734 9.97051C14.1774 9.96518 14.448 9.76518 14.5194 9.47051C14.6347 8.99251 14.6654 8.57585 14.6654 7.99118C14.6654 7.48852 14.606 6.99319 14.4987 6.51186C14.4307 6.20786 14.1647 5.99185 13.8527 5.99119C12.7254 5.98919 12.0934 4.88119 12.6447 3.90785C12.798 3.63652 12.75 3.30452 12.5194 3.09519C11.7927 2.43519 10.9067 1.91985 9.97803 1.63718C9.69269 1.55052 9.38936 1.65719 9.22803 1.90785C8.58403 2.90785 7.38136 2.92586 6.7487 1.92853C6.5867 1.67319 6.26603 1.54518 5.97803 1.63718ZM7.9987 5.32452C9.47136 5.32452 10.6654 6.51852 10.6654 7.99118C10.6654 9.46385 9.47136 10.6579 7.9987 10.6579C6.52603 10.6579 5.33203 9.46385 5.33203 7.99118C5.33203 6.51852 6.52603 5.32452 7.9987 5.32452Z"})})}function W2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M7.9987 1.34375C4.31683 1.34375 1.33203 4.32842 1.33203 8.01042C1.33203 9.08775 1.5899 10.1018 2.04343 11.0024C3.14036 13.1804 5.32943 14.6764 7.9987 14.6771C11.6806 14.6777 14.6654 11.6924 14.6654 8.01042C14.6654 4.32842 11.6806 1.34375 7.9987 1.34375ZM7.9987 2.67708C8.61997 2.67708 9.33403 3.73641 9.68937 5.29441C9.14997 5.32908 8.5851 5.34375 7.9987 5.34375C7.40983 5.34375 6.8449 5.32175 6.30477 5.28575C6.65983 3.78575 7.37743 2.67708 7.9987 2.67708ZM5.6419 3.22575C5.33797 3.78508 5.11463 4.49575 4.96296 5.16575C4.46976 5.09908 4.0233 5.00242 3.64763 4.90708C4.16463 4.19975 4.85216 3.60308 5.6419 3.22575ZM10.365 3.22174C11.0894 3.59641 11.82 4.19109 12.3484 4.91909C11.9732 5.01309 11.5143 5.09643 11.0237 5.16109C10.872 4.49109 10.6166 3.74641 10.365 3.22174ZM3.01483 6.11041C3.52043 6.26441 4.04203 6.37908 4.74337 6.47308C4.68583 6.98042 4.66536 7.46708 4.66536 8.01042C4.66536 8.55375 4.6907 9.04908 4.74823 9.55642C4.03343 9.65242 3.5151 9.74575 3.00183 9.90175C2.7663 9.29975 2.66536 8.69575 2.66536 8.01042C2.66536 7.32508 2.7793 6.71241 3.01483 6.11041ZM12.9766 6.11375C13.2122 6.71575 13.332 7.32508 13.332 8.01042C13.332 8.69575 13.2171 9.30175 12.9816 9.90375C12.4697 9.74775 11.9517 9.64308 11.2396 9.54775C11.2957 9.04575 11.332 8.54642 11.332 8.01042C11.332 7.46708 11.2956 6.97107 11.238 6.46307C11.9378 6.36641 12.4709 6.26708 12.9766 6.11375ZM6.08396 6.60175C6.7019 6.64641 7.3245 6.67708 7.9987 6.67708C8.6691 6.67708 9.30243 6.64642 9.9175 6.59975C9.97377 7.06842 9.9987 7.49575 9.9987 8.01042C9.9987 8.52508 9.98077 8.94108 9.92457 9.40908C9.30743 9.36374 8.67077 9.34375 7.9987 9.34375C7.3249 9.34375 6.69417 9.36776 6.07457 9.41376C6.01677 8.93976 5.9987 8.53308 5.9987 8.01042C5.9987 7.49575 6.0277 7.06975 6.08396 6.60175ZM7.9987 10.6771C8.58423 10.6771 9.1457 10.6991 9.6849 10.7337C9.30983 12.2944 8.62263 13.3437 7.9987 13.3437C7.37743 13.3437 6.67576 12.2438 6.2909 10.7324C6.83176 10.6964 7.4089 10.6771 7.9987 10.6771ZM4.96603 10.8624C5.11763 11.5324 5.3815 12.2678 5.6331 12.7931C4.89496 12.4424 4.18623 11.8384 3.6459 11.1144C4.0279 11.0178 4.46037 10.9298 4.96603 10.8624ZM11.0257 10.8611C11.5274 10.9264 11.9618 11.0211 12.3431 11.1164C11.86 11.7657 11.1508 12.4084 10.3716 12.7844C10.6558 12.2044 10.874 11.5311 11.0257 10.8611Z"})})}function Z2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 25",fill:"currentcolor",children:d.jsx("path",{d:"M7.24956 4.68945C5.17156 4.68945 3.27058 6.40045 2.93758 8.53345L1.99956 15.5645C1.98756 15.6545 2.05058 15.7285 2.06258 15.8145C2.04858 15.9415 1.99956 16.0585 1.99956 16.1895V17.1895C1.99956 19.1225 3.56656 20.6895 5.49956 20.6895H18.4996C20.4326 20.6895 21.9996 19.1225 21.9996 17.1895V16.1895C21.9996 16.0585 21.9516 15.9415 21.9376 15.8145C21.9496 15.7285 22.0126 15.6545 21.9996 15.5645L20.9996 8.56445C20.6646 6.41545 18.7966 4.68945 16.7186 4.68945H7.24956ZM5.49956 14.6895H18.4996C19.3286 14.6895 19.9996 15.3615 19.9996 16.1895V17.1895C19.9996 18.0175 19.3286 18.6895 18.4996 18.6895H5.49956C4.67156 18.6895 3.99956 18.0175 3.99956 17.1895V16.1895C3.99956 15.3615 4.67156 14.6895 5.49956 14.6895ZM5.99956 15.6895C5.44756 15.6895 4.99956 16.1375 4.99956 16.6895C4.99956 17.2415 5.44756 17.6895 5.99956 17.6895C6.55256 17.6895 6.99956 17.2415 6.99956 16.6895C6.99956 16.1375 6.55256 15.6895 5.99956 15.6895ZM8.99956 15.6895C8.44756 15.6895 7.99956 16.1375 7.99956 16.6895C7.99956 17.2415 8.44756 17.6895 8.99956 17.6895C9.55256 17.6895 9.99956 17.2415 9.99956 16.6895C9.99956 16.1375 9.55256 15.6895 8.99956 15.6895Z"})})}function q2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M8.02812 1.33301C4.33612 1.33301 1.34277 4.317 1.34277 7.99833C1.34277 11.6797 4.33612 14.6643 8.02812 14.6643C9.83012 14.6643 11.5248 13.9537 12.7708 12.7063C13.0314 12.445 13.0328 12.0283 12.7708 11.769C12.5094 11.509 12.0914 11.5077 11.8308 11.769C10.8334 12.7677 9.47078 13.331 8.02812 13.331C5.07478 13.331 2.68011 10.9437 2.68011 7.99833C2.68011 5.05366 5.07478 2.66634 8.02812 2.66634C8.39745 2.66634 8.69678 2.36767 8.69678 1.99967C8.69678 1.63167 8.39745 1.33301 8.02812 1.33301ZM10.4728 1.93701C10.3108 1.99035 10.1781 2.10501 10.0968 2.27034C9.93412 2.60101 10.0581 3.00367 10.3894 3.16634C10.5674 3.25301 10.7241 3.35102 10.8908 3.45768C11.2014 3.65568 11.6321 3.55967 11.8308 3.24967C12.0294 2.93901 11.9328 2.53101 11.6221 2.33301C11.4128 2.19967 11.1968 2.08767 10.9741 1.979C10.8088 1.89767 10.6354 1.88434 10.4728 1.93701ZM12.8334 3.58236C12.6641 3.56236 12.4774 3.61502 12.3321 3.72835C12.0421 3.95569 11.9994 4.37636 12.2281 4.66569C12.3501 4.82102 12.4781 4.97702 12.5828 5.14502C12.7774 5.45769 13.1888 5.54703 13.5021 5.35303C13.8161 5.15903 13.9054 4.77035 13.7114 4.45768C13.5808 4.24768 13.4254 4.02702 13.2721 3.83236C13.1581 3.68769 13.0034 3.60302 12.8334 3.58236ZM8.02812 3.99902C7.65945 3.99902 7.36011 4.29769 7.36011 4.66569V7.99833C7.36011 8.17566 7.44343 8.35233 7.56877 8.47766L9.5741 10.477C9.83543 10.7377 10.2534 10.7377 10.5148 10.477C10.7754 10.217 10.7754 9.77967 10.5148 9.519L8.69678 7.70699V4.66569C8.69678 4.29769 8.39745 3.99902 8.02812 3.99902ZM13.7528 6.01969C13.3921 6.09903 13.1714 6.45166 13.2514 6.81099C13.2941 7.00366 13.3354 7.19766 13.3561 7.39433C13.3948 7.76033 13.7201 8.01633 14.0874 7.97766C14.4541 7.93899 14.7114 7.61502 14.6721 7.24902C14.6461 7.00236 14.6214 6.76036 14.5674 6.51969C14.4881 6.16036 14.1134 5.94036 13.7528 6.01969ZM14.0454 8.72766C13.6868 8.64099 13.3174 8.86966 13.2308 9.22766C13.1841 9.42033 13.1101 9.60501 13.0428 9.78967C12.9161 10.1357 13.1134 10.497 13.4608 10.623C13.8074 10.749 14.1701 10.5943 14.2961 10.2483C14.3808 10.0163 14.4674 9.78101 14.5261 9.53967C14.6128 9.18234 14.4041 8.81433 14.0454 8.72766Z"})})}function G2(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M4.66557 1.99414C3.1929 1.99414 1.9989 3.18815 1.9989 4.66082V11.3275C1.9989 12.8002 3.1929 13.9942 4.66557 13.9942H11.3322C12.8049 13.9942 13.9989 12.8002 13.9989 11.3275V4.66082C13.9989 3.18815 12.8049 1.99414 11.3322 1.99414H4.66557ZM7.9989 4.66082C8.3669 4.66082 8.66556 4.95949 8.66556 5.32749C8.66556 5.6955 8.3669 5.99416 7.9989 5.99416C7.6309 5.99416 7.33223 5.6955 7.33223 5.32749C7.33223 4.95949 7.6309 4.66082 7.9989 4.66082ZM7.9989 6.66083C8.3669 6.66083 8.66556 6.9595 8.66556 7.32751V10.6609C8.66556 11.0289 8.3669 11.3275 7.9989 11.3275C7.6309 11.3275 7.33223 11.0289 7.33223 10.6609V7.32751C7.33223 6.9595 7.6309 6.66083 7.9989 6.66083Z"})})}function Y2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.7562 4.74381C17.0977 3.0854 14.4088 3.0854 12.7503 4.74381L9.74749 7.74664C8.08906 9.40505 8.08941 12.0937 9.74786 13.7521C10.1625 14.1667 10.8347 14.1667 11.2493 13.7521C11.6639 13.3375 11.6639 12.6653 11.2493 12.2507L11.2322 12.2339C10.4197 11.4035 10.4253 10.0716 11.2489 9.24805L14.2518 6.24522C15.0811 5.41601 16.4255 5.41603 17.2547 6.24522C18.0839 7.07443 18.0839 8.41884 17.2547 9.24805L16.1917 10.3111C16.5282 11.17 16.6325 12.099 16.5043 13.0012L18.7562 10.7495C20.4146 9.09106 20.4146 6.40223 18.7562 4.74381ZM5.24383 18.2562C6.90228 19.9146 9.59115 19.9146 11.2496 18.2562L14.2525 15.2534C15.911 13.595 15.911 10.9061 14.2525 9.24768C13.8378 8.83308 13.1657 8.83308 12.7511 9.24768C12.3364 9.66229 12.3364 10.3345 12.7511 10.7491C13.5803 11.5783 13.5803 12.9227 12.7511 13.7519L9.74815 16.7548C8.91894 17.5839 7.5745 17.5839 6.74528 16.7548C5.91605 15.9255 5.91605 14.5811 6.74528 13.7519L7.80833 12.6888C7.47174 11.83 7.36751 10.901 7.49563 9.99875L5.24383 12.2505C3.58539 13.9089 3.58539 16.5978 5.24383 18.2562Z"})})}function X2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M11.998 1.95312C9.23705 1.95312 6.99805 4.19213 6.99805 6.95312V8.95312C5.34105 8.95312 3.99805 10.2961 3.99805 11.9531V18.9531C3.99805 20.6101 5.34105 21.9531 6.99805 21.9531H16.998C18.655 21.9531 19.998 20.6101 19.998 18.9531V11.9531C19.998 10.2961 18.655 8.95312 16.998 8.95312V6.95312C16.998 4.19213 14.759 1.95312 11.998 1.95312ZM11.998 3.95312C13.655 3.95312 14.998 5.29612 14.998 6.95312V8.95312H8.99805V6.95312C8.99805 5.29612 10.341 3.95312 11.998 3.95312ZM11.998 11.9531C13.103 11.9531 13.998 12.8481 13.998 13.9531C13.998 14.6631 13.555 15.1611 12.998 15.5151V17.9531C12.998 18.5051 12.55 18.9531 11.998 18.9531C11.446 18.9531 10.998 18.5051 10.998 17.9531V15.5151C10.441 15.1601 9.99805 14.6631 9.99805 13.9531C9.99805 12.8481 10.893 11.9531 11.998 11.9531Z"})})}function K2(e){return d.jsxs("svg",{...e,viewBox:"0 0 24 24",fill:"none",children:[d.jsx("path",{d:"M1.88134 8.65644V18.3251H0V7.09336C0 6.19326 1.03474 5.68003 1.75748 6.22134L10.6938 12.912C10.9698 13.1179 11.1313 13.4409 11.1313 13.784V18.3235H9.24992V14.174L1.88134 8.65644Z",fill:"currentcolor"}),d.jsx("path",{d:"M22.0605 18.3251V8.65599L14.4616 14.1738V18.3251H12.5215V13.7854C12.5215 13.4422 12.688 13.1193 12.9726 12.9133L22.1882 6.22233C22.9335 5.67944 24.0006 6.19269 24.0006 7.09283V18.3251H22.0605Z",fill:"currentcolor"})]})}function Q2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M16.9951 1.95312C16.7301 1.95312 16.4641 2.04713 16.2761 2.23413C15.7201 2.79013 13.7191 4.79115 13.2751 5.23615L4.26978 14.2412L3.26928 15.2412C3.12958 15.3812 3.05788 15.5792 3.01918 15.7732L2.01858 20.7762C1.87858 21.4762 2.47538 22.0721 3.17548 21.9331C3.80078 21.8071 7.55288 21.0572 8.17818 20.9322C8.37188 20.8932 8.57008 20.8212 8.70968 20.6822L9.71027 19.6812L18.7151 10.6762C19.1601 10.2322 21.1611 8.23012 21.7171 7.67512C21.9041 7.48712 21.9981 7.22113 21.9981 6.95613C21.9981 5.31912 21.5811 4.14912 20.7161 3.26612C19.8431 2.37511 18.6771 1.95312 16.9951 1.95312ZM17.3891 3.97211C18.2921 4.02511 18.8771 4.23216 19.2781 4.64216C19.6881 5.06016 19.9471 5.64015 20.0031 6.52516C19.4551 7.07216 18.6531 7.86212 17.9961 8.51912C17.2031 7.72612 16.2251 6.74815 15.4321 5.95515C16.0901 5.29815 16.8421 4.51911 17.3891 3.97211ZM4.98898 16.3982L7.55288 18.9621L7.45908 19.0562C6.79908 19.1882 5.46628 19.4672 4.23858 19.7132L4.89518 16.4922L4.98898 16.3982Z"})})}function J2(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M15.498 2.92969C13.0127 2.92969 10.998 4.94469 10.998 7.42969C10.998 9.91469 13.0127 11.9297 15.498 11.9297C17.9833 11.9297 19.998 9.91469 19.998 7.42969C19.998 4.94469 17.9833 2.92969 15.498 2.92969ZM7.99805 3.92969C5.78895 3.92969 3.99805 5.72069 3.99805 7.92969C3.99805 10.1387 5.78895 11.9297 7.99805 11.9297C8.82745 11.9297 9.58455 11.7017 10.2508 11.2357C8.54205 8.69572 8.78425 6.26369 9.71555 4.30469C9.18365 4.05269 8.59945 3.92969 7.99805 3.92969ZM5.06055 13.2737C3.22645 14.0307 1.99805 15.8857 1.99805 17.9297V19.9297C1.99805 20.4817 2.44575 20.9297 2.99805 20.9297L7.15085 20.9317C6.91685 20.1717 6.98565 18.9397 7.00105 17.9427C7.03355 15.8257 7.90905 14.3157 8.25195 13.9177C7.62175 13.9127 6.86545 13.7597 6.31055 13.5237C6.17655 13.4667 6.09875 13.4217 5.84185 13.3047C5.58995 13.1897 5.31635 13.1677 5.06055 13.2737ZM12.0605 13.2737C10.2264 14.0307 8.99805 15.8857 8.99805 17.9297V19.9297C8.99805 20.4817 9.44575 20.9297 9.99805 20.9297H20.998C21.5503 20.9297 21.998 20.4817 21.998 19.9297V17.9297C21.998 15.9337 20.7628 14.1237 18.9355 13.3357C18.6783 13.2247 18.3786 13.2217 18.123 13.3357C17.2382 13.7327 16.3762 13.9297 15.498 13.9297C14.6228 13.9297 13.7578 13.7217 12.8418 13.3047C12.5899 13.1897 12.3163 13.1677 12.0605 13.2737Z"})})}function e3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M7.9974 1.30273C6.15646 1.30273 4.66406 2.79513 4.66406 4.63607C4.66406 6.477 6.15646 7.9694 7.9974 7.9694C9.83833 7.9694 11.3307 6.477 11.3307 4.63607C11.3307 2.79513 9.83833 1.30273 7.9974 1.30273ZM5.64326 8.8444C3.9004 9.32073 2.66406 10.8362 2.66406 12.6361V13.9694C2.66406 14.3376 2.96253 14.6361 3.33073 14.6361H12.6641C13.0323 14.6361 13.3307 14.3376 13.3307 13.9694V12.6361C13.3307 10.8362 12.0944 9.32073 10.3515 8.8444C10.2021 8.80353 10.0553 8.8224 9.91406 8.88607C9.30373 9.16113 8.654 9.30273 7.9974 9.30273C7.3408 9.30273 6.69106 9.16113 6.08073 8.88607C5.93946 8.8224 5.79266 8.80353 5.64326 8.8444Z"})})}function t3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M8.00846 1.30273C4.3266 1.30273 1.3418 4.2874 1.3418 7.9694C1.3418 11.6514 4.3266 14.6361 8.00846 14.6361C11.6903 14.6361 14.6751 11.6514 14.6751 7.9694C14.6751 4.2874 11.6903 1.30273 8.00846 1.30273ZM8.00846 4.63607C8.37667 4.63607 8.67513 4.93473 8.67513 5.30273V7.30273H10.6751C11.0433 7.30273 11.3418 7.6014 11.3418 7.9694C11.3418 8.3374 11.0433 8.63606 10.6751 8.63606H8.67513V10.6361C8.67513 11.0041 8.37667 11.3027 8.00846 11.3027C7.64026 11.3027 7.3418 11.0041 7.3418 10.6361V8.63606H5.3418C4.9736 8.63606 4.67513 8.3374 4.67513 7.9694C4.67513 7.6014 4.9736 7.30273 5.3418 7.30273H7.3418V5.30273C7.3418 4.93473 7.64026 4.63607 8.00846 4.63607Z"})})}function n3(e){return d.jsx("svg",{...e,viewBox:"0 0 18 19",fill:"currentcolor",children:d.jsx("path",{d:"M8.99072 0.929749C8.43872 0.929749 7.99072 1.37775 7.99072 1.92975V8.92975H0.990723C0.438723 8.92975 -0.00927734 9.37775 -0.00927734 9.92975C-0.00927734 10.4817 0.438723 10.9297 0.990723 10.9297H7.99072V17.9297C7.99072 18.4817 8.43872 18.9297 8.99072 18.9297C9.54272 18.9297 9.99072 18.4817 9.99072 17.9297V10.9297H16.9907C17.5427 10.9297 17.9907 10.4817 17.9907 9.92975C17.9907 9.37775 17.5427 8.92975 16.9907 8.92975H9.99072V1.92975C9.99072 1.37775 9.54272 0.929749 8.99072 0.929749Z"})})}function r3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.0059 0L3.41636 5.45646C2.44979 6.25682 2.3795 7.71452 3.26456 8.60418L5.54425 10.8957C6.21311 11.568 6.35783 12.6012 5.89944 13.4314L4.48126 16H2.13333C0.955126 16 0 15.0449 0 13.8667V2.13333C0 0.955126 0.955126 0 2.13333 0H10.0059ZM11.2436 0L10.0128 2.24221C9.55899 3.06891 9.70183 4.09549 10.3641 4.7669L12.7825 7.21868C13.6656 8.11402 13.5866 9.57512 12.612 10.37L5.70922 16H13.8667C15.0449 16 16 15.0449 16 13.8667V2.13333C16 0.955126 15.0449 0 13.8667 0H11.2436Z"})})}function o3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M11.4561 1.95312C12.8734 1.95312 13.998 3.15579 13.998 4.61979V11.2865C13.998 12.7505 12.8734 13.9531 11.4561 13.9531H11.3314V1.95312H11.4561ZM9.99805 1.95312V13.9531H4.53939C3.12272 13.9531 1.99805 12.7505 1.99805 11.2865V4.61979C1.99805 3.15579 3.12272 1.95312 4.53939 1.95312H9.99805ZM7.33138 4.61979H4.66471C4.29671 4.61979 3.99805 4.91846 3.99805 5.28646C3.99805 5.65446 4.29671 5.95312 4.66471 5.95312H7.33138C7.69938 5.95312 7.99805 5.65446 7.99805 5.28646C7.99805 4.91846 7.69938 4.61979 7.33138 4.61979ZM7.33138 7.28646H4.66471C4.29671 7.28646 3.99805 7.58512 3.99805 7.95312C3.99805 8.32112 4.29671 8.61979 4.66471 8.61979H7.33138C7.69938 8.61979 7.99805 8.32112 7.99805 7.95312C7.99805 7.58512 7.69938 7.28646 7.33138 7.28646ZM7.33138 9.95312H4.66471C4.29671 9.95312 3.99805 10.2518 3.99805 10.6198C3.99805 10.9878 4.29671 11.2865 4.66471 11.2865H7.33138C7.69938 11.2865 7.99805 10.9878 7.99805 10.6198C7.99805 10.2518 7.69938 9.95312 7.33138 9.95312Z"})})}function i3(e){return d.jsx("svg",{...e,viewBox:"0 0 21 17",fill:"currentcolor",children:d.jsx("path",{d:"M10.9863 4.90607C10.6036 4.90607 8.3471 4.87807 7.9863 4.90607C2.04289 5.36307 0.986294 9.90607 0.986294 14.9061V15.9061C2.85309 13.9911 3.9863 12.9061 7.9863 12.9061C8.7319 12.9061 10.0809 12.9061 10.9863 12.9061L11.0166 15.4801C11.0166 16.9001 11.8933 17.3321 12.9747 16.4451L20.1554 10.5521C21.2633 9.64306 21.2633 8.16907 20.1554 7.26007L12.9747 1.36707C11.8933 0.480072 11.0166 0.912068 11.0166 2.33207L10.9863 4.90607Z"})})}function a3(e){return d.jsxs("svg",{...e,viewBox:"0 0 71 19",fill:"currentcolor",children:[d.jsx("path",{d:"M53.6211 18.4887V9.0342H56.435V10.8096H56.4923C56.7377 10.181 57.1085 9.70244 57.6047 9.37398C58.101 9.03986 58.6981 8.8728 59.3962 8.8728C60.4105 8.8728 61.2039 9.1871 61.7765 9.8157C62.3546 10.4443 62.6436 11.3164 62.6436 12.432V18.4887H59.7397V13.0776C59.7397 12.5283 59.6007 12.1007 59.3225 11.7949C59.0499 11.4835 58.6654 11.3277 58.1692 11.3277C57.6784 11.3277 57.2803 11.4976 56.9749 11.8374C56.6695 12.1772 56.5168 12.6161 56.5168 13.1541V18.4887H53.6211Z"}),d.jsx("path",{d:"M53.097 9.03394L50.7412 18.4884H47.6164L46.1522 12.075H46.0949L44.6389 18.4884H41.5632L39.1992 9.03394H42.1195L43.3056 15.7532H43.3628L44.7861 9.03394H47.551L48.9906 15.7532H49.0479L50.234 9.03394H53.097Z"}),d.jsx("path",{d:"M37.8661 17.3926C37.0427 18.2591 35.9084 18.6923 34.4632 18.6923C33.0181 18.6923 31.8838 18.2591 31.0604 17.3926C30.2369 16.5205 29.8252 15.3086 29.8252 13.7569C29.8252 12.2336 30.2424 11.033 31.0767 10.1552C31.9111 9.2718 33.0399 8.83008 34.4632 8.83008C35.892 8.83008 37.0208 9.26896 37.8497 10.1467C38.6841 11.0188 39.1013 12.2222 39.1013 13.7569C39.1013 15.3143 38.6896 16.5262 37.8661 17.3926ZM33.2117 15.7702C33.5116 16.2402 33.9288 16.4752 34.4632 16.4752C34.9977 16.4752 35.4148 16.2402 35.7148 15.7702C36.0147 15.2945 36.1647 14.6234 36.1647 13.7569C36.1647 12.9131 36.012 12.2506 35.7066 11.7692C35.4012 11.2878 34.9868 11.0472 34.4632 11.0472C33.9343 11.0472 33.5171 11.2878 33.2117 11.7692C32.9118 12.2449 32.7618 12.9075 32.7618 13.7569C32.7618 14.6234 32.9118 15.2945 33.2117 15.7702Z"}),d.jsx("path",{d:"M20.0088 18.4887V9.0342H22.8227V10.8096H22.88C23.1254 10.181 23.4962 9.70244 23.9924 9.37398C24.4887 9.03986 25.0858 8.8728 25.7838 8.8728C26.7982 8.8728 27.5916 9.1871 28.1642 9.8157C28.7423 10.4443 29.0313 11.3164 29.0313 12.432V18.4887H26.1274V13.0776C26.1274 12.5283 25.9883 12.1007 25.7102 11.7949C25.4376 11.4835 25.0531 11.3277 24.5569 11.3277C24.0661 11.3277 23.668 11.4976 23.3626 11.8374C23.0572 12.1772 22.9045 12.6161 22.9045 13.1541V18.4887H20.0088Z"}),d.jsx("path",{d:"M14.7486 10.9707C14.2851 10.9707 13.8952 11.1321 13.5789 11.4549C13.2626 11.7777 13.0854 12.1911 13.0472 12.6951H16.4337C16.4064 12.1741 16.2374 11.7579 15.9265 11.4464C15.6212 11.1293 15.2285 10.9707 14.7486 10.9707ZM16.4991 15.5153H19.1167C18.9749 16.4837 18.5141 17.2567 17.7343 17.8343C16.9599 18.4063 15.9838 18.6923 14.8059 18.6923C13.3662 18.6923 12.2374 18.2591 11.4194 17.3926C10.6014 16.5262 10.1924 15.3313 10.1924 13.8079C10.1924 12.2845 10.5987 11.0755 11.4112 10.1807C12.2237 9.28029 13.3226 8.83008 14.7077 8.83008C16.0656 8.83008 17.1481 9.26047 17.9552 10.1213C18.7677 10.9764 19.174 12.1231 19.174 13.5616V14.4195H13.0145V14.6064C13.0145 15.184 13.1835 15.6541 13.5216 16.0165C13.8597 16.3733 14.3015 16.5517 14.8468 16.5517C15.2503 16.5517 15.5993 16.461 15.8938 16.2798C16.1883 16.0929 16.3901 15.8381 16.4991 15.5153Z"}),d.jsx("path",{d:"M3.00205 8.58396V12.0667H4.7771C5.32789 12.0667 5.7587 11.911 6.06954 11.5995C6.38038 11.2881 6.5358 10.8662 6.5358 10.3338C6.5358 9.80718 6.37492 9.38528 6.05318 9.06815C5.73143 8.74535 5.30335 8.58396 4.76892 8.58396H3.00205ZM3.00205 14.1989V18.4886H0V6.23096H5.07158C6.53307 6.23096 7.65373 6.5849 8.43355 7.29278C9.21337 8.00066 9.60328 8.99453 9.60328 10.2744C9.60328 11.0446 9.42605 11.7439 9.07159 12.3725C8.71712 12.9955 8.2236 13.4514 7.59101 13.7402L9.94684 18.4886H6.5767L4.55624 14.1989H3.00205Z"}),d.jsx("path",{d:"M65.7255 0.211478C65.0841 2.46724 63.3737 4.2455 61.2041 4.90969C60.932 4.99366 60.932 5.39096 61.2041 5.47492C63.3725 6.13912 65.0841 7.91738 65.7255 10.1731C65.8056 10.4551 66.1932 10.4551 66.2745 10.1731C66.9159 7.91738 68.6263 6.13912 70.7959 5.47492C71.068 5.39096 71.068 4.99366 70.7959 4.90969C68.6276 4.2455 66.9159 2.46724 66.2745 0.211478C66.1944 -0.0704925 65.8068 -0.0704925 65.7255 0.211478Z",fill:"#21FFB4"})]})}function s3(e){return d.jsxs("svg",{...e,viewBox:"0 0 71 19",fill:"currentcolor",children:[d.jsx("path",{d:"M53.6211 18.4887V9.0342H56.435V10.8096H56.4923C56.7377 10.181 57.1085 9.70244 57.6047 9.37398C58.101 9.03986 58.6981 8.8728 59.3962 8.8728C60.4105 8.8728 61.2039 9.1871 61.7765 9.8157C62.3546 10.4443 62.6436 11.3164 62.6436 12.432V18.4887H59.7397V13.0776C59.7397 12.5283 59.6007 12.1007 59.3225 11.7949C59.0499 11.4835 58.6654 11.3277 58.1692 11.3277C57.6784 11.3277 57.2803 11.4976 56.9749 11.8374C56.6695 12.1772 56.5168 12.6161 56.5168 13.1541V18.4887H53.6211Z"}),d.jsx("path",{d:"M53.097 9.03394L50.7412 18.4884H47.6164L46.1522 12.075H46.0949L44.6389 18.4884H41.5632L39.1992 9.03394H42.1195L43.3056 15.7532H43.3628L44.7861 9.03394H47.551L48.9906 15.7532H49.0479L50.234 9.03394H53.097Z"}),d.jsx("path",{d:"M37.8661 17.3926C37.0427 18.2591 35.9084 18.6923 34.4632 18.6923C33.0181 18.6923 31.8838 18.2591 31.0604 17.3926C30.2369 16.5205 29.8252 15.3086 29.8252 13.7569C29.8252 12.2336 30.2424 11.033 31.0767 10.1552C31.9111 9.2718 33.0399 8.83008 34.4632 8.83008C35.892 8.83008 37.0208 9.26896 37.8497 10.1467C38.6841 11.0188 39.1013 12.2222 39.1013 13.7569C39.1013 15.3143 38.6896 16.5262 37.8661 17.3926ZM33.2117 15.7702C33.5116 16.2402 33.9288 16.4752 34.4632 16.4752C34.9977 16.4752 35.4148 16.2402 35.7148 15.7702C36.0147 15.2945 36.1647 14.6234 36.1647 13.7569C36.1647 12.9131 36.012 12.2506 35.7066 11.7692C35.4012 11.2878 34.9868 11.0472 34.4632 11.0472C33.9343 11.0472 33.5171 11.2878 33.2117 11.7692C32.9118 12.2449 32.7618 12.9075 32.7618 13.7569C32.7618 14.6234 32.9118 15.2945 33.2117 15.7702Z"}),d.jsx("path",{d:"M20.0088 18.4887V9.0342H22.8227V10.8096H22.88C23.1254 10.181 23.4962 9.70244 23.9924 9.37398C24.4887 9.03986 25.0858 8.8728 25.7838 8.8728C26.7982 8.8728 27.5916 9.1871 28.1642 9.8157C28.7423 10.4443 29.0313 11.3164 29.0313 12.432V18.4887H26.1274V13.0776C26.1274 12.5283 25.9883 12.1007 25.7102 11.7949C25.4376 11.4835 25.0531 11.3277 24.5569 11.3277C24.0661 11.3277 23.668 11.4976 23.3626 11.8374C23.0572 12.1772 22.9045 12.6161 22.9045 13.1541V18.4887H20.0088Z"}),d.jsx("path",{d:"M14.7486 10.9707C14.2851 10.9707 13.8952 11.1321 13.5789 11.4549C13.2626 11.7777 13.0854 12.1911 13.0472 12.6951H16.4337C16.4064 12.1741 16.2374 11.7579 15.9265 11.4464C15.6212 11.1293 15.2285 10.9707 14.7486 10.9707ZM16.4991 15.5153H19.1167C18.9749 16.4837 18.5141 17.2567 17.7343 17.8343C16.9599 18.4063 15.9838 18.6923 14.8059 18.6923C13.3662 18.6923 12.2374 18.2591 11.4194 17.3926C10.6014 16.5262 10.1924 15.3313 10.1924 13.8079C10.1924 12.2845 10.5987 11.0755 11.4112 10.1807C12.2237 9.28029 13.3226 8.83008 14.7077 8.83008C16.0656 8.83008 17.1481 9.26047 17.9552 10.1213C18.7677 10.9764 19.174 12.1231 19.174 13.5616V14.4195H13.0145V14.6064C13.0145 15.184 13.1835 15.6541 13.5216 16.0165C13.8597 16.3733 14.3015 16.5517 14.8468 16.5517C15.2503 16.5517 15.5993 16.461 15.8938 16.2798C16.1883 16.0929 16.3901 15.8381 16.4991 15.5153Z"}),d.jsx("path",{d:"M3.00205 8.58396V12.0667H4.7771C5.32789 12.0667 5.7587 11.911 6.06954 11.5995C6.38038 11.2881 6.5358 10.8662 6.5358 10.3338C6.5358 9.80718 6.37492 9.38528 6.05318 9.06815C5.73143 8.74535 5.30335 8.58396 4.76892 8.58396H3.00205ZM3.00205 14.1989V18.4886H0V6.23096H5.07158C6.53307 6.23096 7.65373 6.5849 8.43355 7.29278C9.21337 8.00066 9.60328 8.99453 9.60328 10.2744C9.60328 11.0446 9.42605 11.7439 9.07159 12.3725C8.71712 12.9955 8.2236 13.4514 7.59101 13.7402L9.94684 18.4886H6.5767L4.55624 14.1989H3.00205Z"}),d.jsx("path",{d:"M65.7255 0.211478C65.0841 2.46724 63.3737 4.2455 61.2041 4.90969C60.932 4.99366 60.932 5.39096 61.2041 5.47492C63.3725 6.13912 65.0841 7.91738 65.7255 10.1731C65.8056 10.4551 66.1932 10.4551 66.2745 10.1731C66.9159 7.91738 68.6263 6.13912 70.7959 5.47492C71.068 5.39096 71.068 4.99366 70.7959 4.90969C68.6276 4.2455 66.9159 2.46724 66.2745 0.211478C66.1944 -0.0704925 65.8068 -0.0704925 65.7255 0.211478Z"})]})}function l3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M7.99853 2.60352C5.0532 2.60352 2.66519 4.99152 2.66519 7.93685C2.66519 10.8822 5.0532 13.2702 7.99853 13.2702C10.9439 13.2702 13.3319 10.8822 13.3319 7.93685C13.3319 4.99152 10.9439 2.60352 7.99853 2.60352ZM7.99853 3.93685C10.2079 3.93685 11.9985 5.72752 11.9985 7.93685C11.9985 10.1462 10.2079 11.9368 7.99853 11.9368C5.7892 11.9368 3.99853 10.1462 3.99853 7.93685C3.99853 5.72752 5.7892 3.93685 7.99853 3.93685Z"})})}function c3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M2 4.66667C2 3.194 3.194 2 4.66667 2H8.08333C7.64666 2.564 7.33333 3.23133 7.33333 4V8.66667H5.33333L8 11.3333L10.6667 8.66667H8.66666V4C8.66666 2.89533 9.562 2 10.6667 2H11.3333C12.806 2 14 3.194 14 4.66667V11.3333C14 12.806 12.806 14 11.3333 14H4.66667C3.194 14 2 12.806 2 11.3333V4.66667Z"})})}function u3(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M10.0137 1.95312C5.59537 1.95312 2.01367 5.53513 2.01367 9.95314C2.01367 14.3712 5.59537 17.9532 10.0137 17.9532C11.8504 17.9532 13.5913 17.3222 14.9416 16.2822L19.2949 20.6722C19.6855 21.0622 20.3419 21.0622 20.7325 20.6722C21.123 20.2812 21.123 19.6252 20.7325 19.2342L16.349 14.8741C17.3898 13.5241 18.0137 11.7901 18.0137 9.95314C18.0137 5.53513 14.432 1.95312 10.0137 1.95312ZM10.0137 3.95313C13.3274 3.95313 16.0137 6.63914 16.0137 9.95314C16.0137 13.2672 13.3274 15.9532 10.0137 15.9532C6.69997 15.9532 4.01367 13.2672 4.01367 9.95314C4.01367 6.63914 6.69997 3.95313 10.0137 3.95313Z"})})}function d3(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M11.998 1.95312C7.63605 1.95312 3.99805 3.51213 3.99805 5.95312C3.99805 8.39412 7.63605 9.95312 11.998 9.95312C16.36 9.95312 19.998 8.39412 19.998 5.95312C19.998 3.51213 16.36 1.95312 11.998 1.95312ZM3.99805 9.57812V11.9531C3.99805 14.3941 7.63605 15.9531 11.998 15.9531C16.36 15.9531 19.998 14.3941 19.998 11.9531V9.57812C18.184 11.0681 15.356 11.9531 11.998 11.9531C8.64005 11.9531 5.81205 11.0681 3.99805 9.57812ZM3.99805 15.5781V17.9531C3.99805 20.3941 7.63605 21.9531 11.998 21.9531C16.36 21.9531 19.998 20.3941 19.998 17.9531V15.5781C18.184 17.0681 15.356 17.9531 11.998 17.9531C8.64005 17.9531 5.81205 17.0681 3.99805 15.5781Z"})})}function f3(e){return d.jsxs("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:[d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 2C13.1894 2 13.8136 2.27905 14.2659 2.73036C14.2834 2.74784 14.3007 2.76559 14.3177 2.78358C14.7174 3.20678 14.971 3.76953 14.9977 4.39107L14.9985 4.41205C14.9995 4.44124 15 4.47056 15 4.5L15 4.51426C15 4.55491 15.0247 4.59145 15.0623 4.60702C15.0998 4.62261 15.1431 4.61423 15.1719 4.58546L15.182 4.57538C15.2028 4.55456 15.2239 4.53419 15.2452 4.51426L15.2607 4.5C15.719 4.07934 16.2962 3.86073 16.8782 3.84417C16.9029 3.84346 16.9277 3.84312 16.9524 3.84315C17.5913 3.84382 18.23 4.0879 18.7175 4.57538L19.4246 5.28249C19.9121 5.76997 20.1562 6.40868 20.1569 7.0476C20.1569 7.07234 20.1565 7.09709 20.1558 7.12182C20.1393 7.70375 19.9207 8.281 19.5 8.73935L19.4857 8.75476C19.4658 8.77611 19.4454 8.7972 19.4246 8.81802L19.4145 8.82811C19.3858 8.85687 19.3774 8.90017 19.393 8.93775C19.4085 8.97529 19.4451 9 19.4857 9L19.5 9C19.5294 9 19.5588 9.00051 19.5879 9.00152L19.6089 9.00233C20.2305 9.02898 20.7932 9.28257 21.2164 9.68233C21.2344 9.69933 21.2522 9.71659 21.2696 9.73411C21.721 10.1864 22 10.8106 22 11.5L22 12.5C22 13.1894 21.721 13.8136 21.2696 14.2659C21.2522 14.2834 21.2344 14.3007 21.2164 14.3177C20.7932 14.7174 20.2305 14.971 19.6089 14.9977L19.5879 14.9985C19.5588 14.9995 19.5294 15 19.5 15L19.4857 15C19.4451 15 19.4085 15.0247 19.393 15.0623C19.3774 15.0998 19.3858 15.1431 19.4145 15.1719L19.4246 15.182C19.4454 15.2028 19.4658 15.2239 19.4857 15.2452L19.5 15.2607C19.9207 15.719 20.1393 16.2962 20.1558 16.8782C20.1565 16.9029 20.1569 16.9277 20.1569 16.9524C20.1562 17.5913 19.9121 18.23 19.4246 18.7175L18.7175 19.4246C18.23 19.9121 17.5913 20.1562 16.9524 20.1568C16.9277 20.1569 16.9029 20.1565 16.8782 20.1558C16.2963 20.1393 15.719 19.9207 15.2607 19.5L15.2452 19.4857C15.2239 19.4658 15.2028 19.4454 15.182 19.4246L15.1719 19.4145C15.1431 19.3858 15.0998 19.3774 15.0623 19.393C15.0247 19.4085 15 19.4451 15 19.4857L15 19.5C15 19.5294 14.9995 19.5588 14.9985 19.5879L14.9977 19.6089C14.971 20.2305 14.7174 20.7932 14.3177 21.2164C14.3007 21.2344 14.2834 21.2522 14.2659 21.2696C13.8136 21.7209 13.1894 22 12.5 22L11.5 22C10.8106 22 10.1864 21.7209 9.73411 21.2696C9.71659 21.2522 9.69933 21.2344 9.68233 21.2164C9.28257 20.7932 9.02898 20.2305 9.00233 19.6089L9.00152 19.5879C9.00051 19.5588 9 19.5294 9 19.5L9 19.4857C9 19.4451 8.97529 19.4085 8.93774 19.393C8.90017 19.3774 8.85687 19.3858 8.8281 19.4145L8.81802 19.4246C8.7972 19.4454 8.77611 19.4658 8.75475 19.4857L8.73934 19.5C8.281 19.9207 7.70375 20.1393 7.12182 20.1558C7.09708 20.1565 7.07234 20.1569 7.0476 20.1568C6.40868 20.1562 5.76997 19.9121 5.28249 19.4246L4.57538 18.7175C4.0879 18.23 3.84382 17.5913 3.84315 16.9524C3.84312 16.9277 3.84346 16.9029 3.84417 16.8782C3.86073 16.2962 4.07934 15.719 4.5 15.2607L4.51426 15.2452C4.53419 15.2239 4.55456 15.2028 4.57538 15.182L4.58546 15.1719C4.61423 15.1431 4.62261 15.0998 4.60702 15.0623C4.59145 15.0247 4.55491 15 4.51426 15L4.5 15C4.47056 15 4.44125 14.9995 4.41205 14.9985L4.39107 14.9977C3.76953 14.971 3.20678 14.7174 2.78358 14.3177C2.76558 14.3007 2.74784 14.2834 2.73036 14.2659C2.27905 13.8136 2 13.1894 2 12.5L2 11.5C2 10.8106 2.27905 10.1864 2.73036 9.73411C2.74784 9.71659 2.76558 9.69933 2.78358 9.68233C3.20678 9.28257 3.76953 9.02898 4.39107 9.00233L4.41205 9.00152C4.44125 9.00051 4.47056 9 4.5 9L4.51426 9C4.55491 9 4.59145 8.97529 4.60702 8.93775C4.62261 8.90017 4.61423 8.85687 4.58546 8.82811L4.57538 8.81802C4.55456 8.7972 4.53419 8.77611 4.51426 8.75476L4.5 8.73935C4.07934 8.281 3.86073 7.70375 3.84417 7.12182C3.84346 7.09709 3.84312 7.07234 3.84315 7.0476C3.84382 6.40868 4.0879 5.76997 4.57538 5.28249L5.28249 4.57538C5.76997 4.0879 6.40868 3.84382 7.0476 3.84315C7.07234 3.84312 7.09709 3.84346 7.12182 3.84417C7.70375 3.86073 8.281 4.07934 8.73934 4.5L8.75476 4.51426C8.77611 4.53419 8.7972 4.55456 8.81802 4.57538L8.8281 4.58546C8.85687 4.61423 8.90017 4.62261 8.93775 4.60702C8.97529 4.59145 9 4.55491 9 4.51426L9 4.5C9 4.47056 9.00051 4.44124 9.00152 4.41205L9.00233 4.39107C9.02898 3.76953 9.28257 3.20678 9.68233 2.78358C9.69933 2.76559 9.71659 2.74784 9.73411 2.73036C10.1864 2.27905 10.8106 2 11.5 2L12.5 2ZM11 19.5C11 19.7761 11.2239 20 11.5 20L12.5 20C12.7761 20 13 19.7761 13 19.5L13 19.4857C13 18.6262 13.5212 17.8669 14.2962 17.5455C15.0727 17.2235 15.9787 17.3929 16.5861 18.0003L16.5962 18.0104C16.7915 18.2057 17.108 18.2057 17.3033 18.0104L18.0104 17.3033C18.2057 17.108 18.2057 16.7915 18.0104 16.5962L18.0003 16.5861C17.3929 15.9787 17.2235 15.0727 17.5455 14.2961C17.8669 13.5212 18.6262 13 19.4857 13L19.5 13C19.7761 13 20 12.7761 20 12.5L20 11.5C20 11.2239 19.7761 11 19.5 11L19.4857 11C18.6262 11 17.8669 10.4788 17.5455 9.70385C17.2235 8.92727 17.3929 8.02132 18.0003 7.41389L18.0104 7.40381C18.2057 7.20854 18.2057 6.89196 18.0104 6.6967L17.3033 5.98959C17.108 5.79433 16.7915 5.79433 16.5962 5.98959L16.5861 5.99968C15.9787 6.60711 15.0727 6.77651 14.2962 6.45448C13.5212 6.13311 13 5.37381 13 4.51426L13 4.5C13 4.22386 12.7761 4 12.5 4L11.5 4C11.2239 4 11 4.22386 11 4.5L11 4.51426C11 5.37381 10.4788 6.13311 9.70384 6.45448C8.92725 6.77651 8.02132 6.60711 7.41389 5.99968L7.40381 5.98959C7.20854 5.79433 6.89196 5.79433 6.6967 5.98959L5.98959 6.6967C5.79433 6.89196 5.79433 7.20854 5.98959 7.40381L5.99967 7.41389C6.60711 8.02132 6.77651 8.92727 6.45448 9.70385C6.13311 10.4788 5.37382 11 4.51426 11L4.5 11C4.22386 11 4 11.2239 4 11.5L4 12.5C4 12.7761 4.22386 13 4.5 13L4.51426 13C5.37382 13 6.13311 13.5212 6.45447 14.2961C6.77651 15.0727 6.60711 15.9787 5.99968 16.5861L5.98959 16.5962C5.79433 16.7915 5.79433 17.108 5.98959 17.3033L6.6967 18.0104C6.89196 18.2057 7.20854 18.2057 7.4038 18.0104L7.41389 18.0003C8.02132 17.3929 8.92726 17.2235 9.70384 17.5455C10.4788 17.8669 11 18.6262 11 19.4857L11 19.5Z"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 14C13.1046 14 14 13.1046 14 12C14 10.8954 13.1046 10 12 10C10.8954 10 10 10.8954 10 12C10 13.1046 10.8954 14 12 14ZM12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z"})]})}function p3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M8.01042 1.3418C4.32842 1.3418 1.34375 4.3266 1.34375 8.00847C1.34375 11.6905 4.32842 14.6751 8.01042 14.6751C11.6924 14.6751 14.6771 11.6905 14.6771 8.00847C14.6771 4.3266 11.6924 1.3418 8.01042 1.3418ZM8.01042 4.67513C8.37842 4.67513 8.67708 4.9736 8.67708 5.3418V8.67514H10.6771L8.01042 11.3418L5.34375 8.67514H7.34375V5.3418C7.34375 4.9736 7.64242 4.67513 8.01042 4.67513Z"})})}function h3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M7.81333 1.33662C6.07787 1.38545 4.42992 2.10935 3.21991 3.35437C2.0099 4.59939 1.3333 6.26732 1.33398 8.00346C1.33478 9.7711 2.03752 11.4661 3.28771 12.7157C4.5379 13.9653 6.23319 14.6673 8.00083 14.6673C9.76847 14.6673 11.4638 13.9653 12.714 12.7157C13.9641 11.4661 14.6669 9.7711 14.6677 8.00346C14.668 7.11195 14.4896 6.22943 14.1429 5.4081C13.7962 4.58678 13.2883 3.84332 12.6492 3.22173C12.0101 2.60015 11.2529 2.11306 10.4222 1.78926C9.59161 1.46547 8.70448 1.31155 7.81333 1.33662ZM8.00083 4.67003C8.92086 4.67003 9.75038 5.00753 10.3551 5.60755L11.3343 4.67003V7.33679H11.2718H10.2093H8.66755L9.62591 6.33676C9.21457 5.93674 8.64705 5.67005 8.0217 5.67005C6.98901 5.67005 6.13082 6.4034 5.83414 7.33679H4.72995C5.04062 5.80341 6.39012 4.67003 8.00083 4.67003ZM4.66741 8.67016H4.72988H5.79241H7.33412L6.37576 9.60768C6.7871 10.0077 7.35461 10.2744 7.97997 10.2744C9.01266 10.2744 9.87085 9.60351 10.1675 8.67016H11.2717C10.961 10.1368 9.61151 11.3369 8.0008 11.3369C7.08078 11.3369 6.25125 10.9369 5.64657 10.3369L4.66738 11.3369L4.66741 8.67016Z"})})}function m3(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M11.9981 4.46484C11.1693 4.46484 10.4981 5.13609 10.4981 5.96484H6.74805C6.33405 5.96484 5.99805 6.30084 5.99805 6.71484C5.99805 7.12884 6.33405 7.46483 6.74805 7.46483H17.2481C17.6621 7.46483 17.9981 7.12884 17.9981 6.71484C17.9981 6.30084 17.6621 5.96484 17.2481 5.96484H13.4981C13.4981 5.13609 12.8268 4.46484 11.9981 4.46484ZM6.74805 8.96483V16.4648C6.74805 18.1073 8.1018 19.4415 9.74805 19.4415L14.2713 19.4648C15.9176 19.4648 17.2481 18.1111 17.2481 16.4648V8.96483H6.74805ZM10.4981 11.2148C10.9121 11.2148 11.2481 11.5508 11.2481 11.9648V16.4648C11.2481 16.8788 10.9121 17.2148 10.4981 17.2148C10.0841 17.2148 9.74805 16.8788 9.74805 16.4648V11.9648C9.74805 11.5508 10.0841 11.2148 10.4981 11.2148ZM13.4981 11.2148C13.9121 11.2148 14.2481 11.5508 14.2481 11.9648V16.4648C14.2481 16.8788 13.9121 17.2148 13.4981 17.2148C13.0841 17.2148 12.7481 16.8788 12.7481 16.4648V11.9648C12.7481 11.5508 13.0841 11.2148 13.4981 11.2148Z"})})}function g3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M7.99935 1.30273C7.26269 1.30273 6.66602 1.8994 6.66602 2.63606H3.33268C2.96468 2.63606 2.66602 2.93473 2.66602 3.30273C2.66602 3.67073 2.96468 3.96939 3.33268 3.96939H12.666C13.034 3.96939 13.3327 3.67073 13.3327 3.30273C13.3327 2.93473 13.034 2.63606 12.666 2.63606H9.33269C9.33269 1.8994 8.73602 1.30273 7.99935 1.30273ZM3.33268 5.30272V11.9694C3.33268 13.4294 4.53602 14.6154 5.99935 14.6154L10.02 14.636C11.4834 14.636 12.666 13.4327 12.666 11.9694V5.30272H3.33268ZM6.66602 7.30272C7.03402 7.30272 7.33269 7.60138 7.33269 7.96938V11.9694C7.33269 12.3374 7.03402 12.636 6.66602 12.636C6.29802 12.636 5.99935 12.3374 5.99935 11.9694V7.96938C5.99935 7.60138 6.29802 7.30272 6.66602 7.30272ZM9.33269 7.30272C9.70069 7.30272 9.99936 7.60138 9.99936 7.96938V11.9694C9.99936 12.3374 9.70069 12.636 9.33269 12.636C8.96469 12.636 8.66602 12.3374 8.66602 11.9694V7.96938C8.66602 7.60138 8.96469 7.30272 9.33269 7.30272Z"})})}function v3(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M4.09245 12.0893L4 11.9998L4.09245 11.9103L4.66414 11.3568L4.66493 11.356L9.81374 6.37154C10.1808 6.01623 10.7758 6.01623 11.1428 6.37154C11.5098 6.72685 11.5098 7.30291 11.1428 7.65822L7.59798 11.09L19.0602 11.09C19.5792 11.09 20 11.4973 20 11.9998C20 12.5023 19.5792 12.9096 19.0602 12.9096L7.59798 12.9096L11.1428 16.3413C11.5098 16.6967 11.5098 17.2727 11.1428 17.628C10.7758 17.9834 10.1808 17.9834 9.81375 17.628L4.66493 12.6435L4.66414 12.6427L4.09245 12.0893Z"})})}function b3(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M14.0098 3.95312C14.0098 2.84812 13.1144 1.95312 12.0098 1.95312C10.9052 1.95312 10.0098 2.84812 10.0098 3.95312C10.0098 5.05812 10.9052 5.95311 12.0098 5.95311C13.1144 5.95311 14.0098 5.05812 14.0098 3.95312ZM14.0098 11.9531C14.0098 10.8481 13.1144 9.9531 12.0098 9.9531C10.9052 9.9531 10.0098 10.8481 10.0098 11.9531C10.0098 13.0581 10.9052 13.9531 12.0098 13.9531C13.1144 13.9531 14.0098 13.0581 14.0098 11.9531ZM14.0098 19.9531C14.0098 18.8481 13.1144 17.9531 12.0098 17.9531C10.9052 17.9531 10.0098 18.8481 10.0098 19.9531C10.0098 21.0581 10.9052 21.9531 12.0098 21.9531C13.1144 21.9531 14.0098 21.0581 14.0098 19.9531Z"})})}function y3(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{d:"M12 3C7.0293 3 3 7.0293 3 12C3 16.9707 7.0293 21 12 21C16.9707 21 21 16.9707 21 12C21 7.0293 16.9707 3 12 3ZM12 7.5C12.4968 7.5 12.9 7.9032 12.9 8.4V12.9C12.9 13.3968 12.4968 13.8 12 13.8C11.5032 13.8 11.1 13.3968 11.1 12.9V8.4C11.1 7.9032 11.5032 7.5 12 7.5ZM12 14.7C12.4968 14.7 12.9 15.1032 12.9 15.6C12.9 16.0968 12.4968 16.5 12 16.5C11.5032 16.5 11.1 16.0968 11.1 15.6C11.1 15.1032 11.5032 14.7 12 14.7Z"})})}function x3(e){return d.jsx("svg",{...e,viewBox:"0 0 16 16",fill:"currentcolor",children:d.jsx("path",{d:"M3.32875 2.60352C3.15815 2.60352 2.97975 2.66085 2.84955 2.79085C2.58921 3.05152 2.58921 3.48884 2.84955 3.74951L7.03708 7.93685L2.84955 12.1242C2.58921 12.3849 2.58921 12.8222 2.84955 13.0828C3.10995 13.3428 3.54755 13.3428 3.80795 13.0828L7.99541 8.89552L12.1829 13.0828C12.4433 13.3428 12.8809 13.3428 13.1413 13.0828C13.4016 12.8222 13.4016 12.3849 13.1413 12.1242L8.95375 7.93685L13.1413 3.74951C13.4016 3.48884 13.4016 3.05152 13.1413 2.79085C13.0111 2.66085 12.8326 2.60352 12.6621 2.60352C12.4915 2.60352 12.3131 2.66085 12.1829 2.79085L7.99541 6.97818L3.80795 2.79085C3.67775 2.66085 3.49935 2.60352 3.32875 2.60352Z"})})}function w3(e){return d.jsx("svg",{...e,viewBox:"0 0 24 24",fill:"currentcolor",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.9993 8.51506L15.4844 7L11.9994 10.4852L8.51497 7.00057L7 8.51562L10.4844 12.0003L7.00056 15.4843L8.51552 16.9994L11.9994 13.5153L15.4838 17L16.9988 15.4849L13.5144 12.0003L16.9993 8.51506Z"})})}const C3={ArrowFilledRight:h2,ArrowLeft:m2,ArrowUp:g2,BarChart:v2,BaseArrowLeft:b2,BaseArrowRight:y2,Braces:x2,Branch:w2,BrickGlobe:C2,Briefcase:S2,Calendar:I2,CaretDown:M2,Caret:E2,CheckCircleFill:P2,CheckCircle:O2,Check:j2,ChevronDown:k2,Circle:N2,ClockFill:A2,CloudSlash:T2,Collapse:D2,Connect:F2,Drive:R2,Ellipsis:L2,Error:V2,Exclamation:_2,FilesEarmark:H2,FolderClose:z2,FolderOpen:U2,FolderPlus:B2,Gear:$2,Globe:W2,Hdd:Z2,History:q2,InfoSquare:G2,Link:Y2,Lock:X2,M:K2,Pencil:Q2,People:J2,Person:e3,PlusCircle:t3,Plus:n3,PowerhouseLogoSmall:r3,Project:o3,RedoArrow:i3,RenownHover:a3,Renown:s3,Ring:l3,Save:c3,Search:u3,Server:d3,Settings:f3,Synced:p3,Syncing:h3,TrashFill:m3,Trash:g3,VariantArrowLeft:v3,VerticalDots:b3,WarningFill:y3,XmarkLight:x3,Xmark:w3},Rl="-";function S3(e){const t=M3(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function o(a){const s=a.split(Rl);return s[0]===""&&s.length!==1&&s.shift(),Ud(s,t)||I3(a)}function i(a,s){const l=n[a]||[];return s&&r[a]?[...l,...r[a]]:l}return{getClassGroupId:o,getConflictingClassGroupIds:i}}function Ud(e,t){var n;if(e.length===0)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),i=o?Ud(e.slice(1),o):void 0;if(i)return i;if(t.validators.length===0)return;const a=e.join(Rl);return(n=t.validators.find(({validator:s})=>s(a)))==null?void 0:n.classGroupId}const gu=/^\[(.+)\]$/;function I3(e){if(gu.test(e)){const t=gu.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function M3(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return P3(Object.entries(e.classGroups),n).forEach(([o,i])=>{_s(i,r,o,t)}),r}function _s(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:vu(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(E3(o)){_s(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,a])=>{_s(a,vu(t,i),n,r)})})}function vu(e,t){let n=e;return t.split(Rl).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function E3(e){return e.isThemeGetter}function P3(e,t){return t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([a,s])=>[t+a,s])):i);return[n,o]}):e}function O3(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(i,a){n.set(i,a),t++,t>e&&(t=0,r=n,n=new Map)}return{get(i){let a=n.get(i);if(a!==void 0)return a;if((a=r.get(i))!==void 0)return o(i,a),a},set(i,a){n.has(i)?n.set(i,a):o(i,a)}}}const Bd="!";function j3(e){const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length;function a(s){const l=[];let u=0,c=0,f;for(let b=0;b<s.length;b++){let y=s[b];if(u===0){if(y===o&&(r||s.slice(b,b+i)===t)){l.push(s.slice(c,b)),c=b+i;continue}if(y==="/"){f=b;continue}}y==="["?u++:y==="]"&&u--}const p=l.length===0?s:s.substring(c),v=p.startsWith(Bd),h=v?p.substring(1):p,m=f&&f>c?f-c:void 0;return{modifiers:l,hasImportantModifier:v,baseClassName:h,maybePostfixModifierPosition:m}}return n?function(s){return n({className:s,parseClassName:a})}:a}function k3(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function N3(e){return{cache:O3(e.cacheSize),parseClassName:j3(e),...S3(e)}}const A3=/\s+/;function T3(e,t){const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=new Set;return e.trim().split(A3).map(a=>{const{modifiers:s,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:c}=n(a);let f=!!c,p=r(f?u.substring(0,c):u);if(!p){if(!f)return{isTailwindClass:!1,originalClassName:a};if(p=r(u),!p)return{isTailwindClass:!1,originalClassName:a};f=!1}const v=k3(s).join(":");return{isTailwindClass:!0,modifierId:l?v+Bd:v,classGroupId:p,originalClassName:a,hasPostfixModifier:f}}).reverse().filter(a=>{if(!a.isTailwindClass)return!0;const{modifierId:s,classGroupId:l,hasPostfixModifier:u}=a,c=s+l;return i.has(c)?!1:(i.add(c),o(l,u).forEach(f=>i.add(s+f)),!0)}).reverse().map(a=>a.originalClassName).join(" ")}function Go(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=$d(t))&&(r&&(r+=" "),r+=n);return r}function $d(e){if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=$d(e[r]))&&(n&&(n+=" "),n+=t);return n}function D3(e,...t){let n,r,o,i=a;function a(l){const u=t.reduce((c,f)=>f(c),e());return n=N3(u),r=n.cache.get,o=n.cache.set,i=s,s(l)}function s(l){const u=r(l);if(u)return u;const c=T3(l,n);return o(l,c),c}return function(){return i(Go.apply(null,arguments))}}function we(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Wd=/^\[(?:([a-z-]+):)?(.+)\]$/i,F3=/^\d+\/\d+$/,R3=new Set(["px","full","screen"]),L3=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,V3=/\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$/,_3=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,H3=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,z3=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Vt(e){return jn(e)||R3.has(e)||F3.test(e)}function Qt(e){return Pr(e,"length",Y3)}function jn(e){return!!e&&!Number.isNaN(Number(e))}function ni(e){return Pr(e,"number",jn)}function _r(e){return!!e&&Number.isInteger(Number(e))}function U3(e){return e.endsWith("%")&&jn(e.slice(0,-1))}function se(e){return Wd.test(e)}function Jt(e){return L3.test(e)}const B3=new Set(["length","size","percentage"]);function $3(e){return Pr(e,B3,Zd)}function W3(e){return Pr(e,"position",Zd)}const Z3=new Set(["image","url"]);function q3(e){return Pr(e,Z3,K3)}function G3(e){return Pr(e,"",X3)}function Hr(){return!0}function Pr(e,t,n){const r=Wd.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function Y3(e){return V3.test(e)&&!_3.test(e)}function Zd(){return!1}function X3(e){return H3.test(e)}function K3(e){return z3.test(e)}function Q3(){const e=we("colors"),t=we("spacing"),n=we("blur"),r=we("brightness"),o=we("borderColor"),i=we("borderRadius"),a=we("borderSpacing"),s=we("borderWidth"),l=we("contrast"),u=we("grayscale"),c=we("hueRotate"),f=we("invert"),p=we("gap"),v=we("gradientColorStops"),h=we("gradientColorStopPositions"),m=we("inset"),b=we("margin"),y=we("opacity"),x=we("padding"),S=we("saturate"),M=we("scale"),w=we("sepia"),I=we("skew"),C=we("space"),P=we("translate"),T=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto",se,t],R=()=>[se,t],B=()=>["",Vt,Qt],E=()=>["auto",jn,se],N=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],A=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",se],W=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>[jn,ni],te=()=>[jn,se];return{cacheSize:500,separator:":",theme:{colors:[Hr],spacing:[Vt,Qt],blur:["none","",Jt,se],brightness:Z(),borderColor:[e],borderRadius:["none","","full",Jt,se],borderSpacing:R(),borderWidth:B(),contrast:Z(),grayscale:L(),hueRotate:te(),invert:L(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[U3,Qt],inset:H(),margin:H(),opacity:Z(),padding:R(),saturate:Z(),scale:Z(),sepia:L(),skew:te(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",se]}],container:["container"],columns:[{columns:[Jt]}],"break-after":[{"break-after":W()}],"break-before":[{"break-before":W()}],"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"],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:[...N(),se]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_r,se]}],basis:[{basis:H()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",se]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",_r,se]}],"grid-cols":[{"grid-cols":[Hr]}],"col-start-end":[{col:["auto",{span:["full",_r,se]},se]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[Hr]}],"row-start-end":[{row:["auto",{span:[_r,se]},se]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",se]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",se]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...$()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...$(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...$(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[C]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",se,t]}],"min-w":[{"min-w":[se,t,"min","max","fit"]}],"max-w":[{"max-w":[se,t,"none","full","min","max","fit","prose",{screen:[Jt]},Jt]}],h:[{h:[se,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[se,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[se,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[se,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Jt,Qt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ni]}],"font-family":[{font:[Hr]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",se]}],"line-clamp":[{"line-clamp":["none",jn,ni]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Vt,se]}],"list-image":[{"list-image":["none",se]}],"list-style-type":[{list:["none","disc","decimal",se]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...A(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Vt,Qt]}],"underline-offset":[{"underline-offset":["auto",Vt,se]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",se]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",se]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...N(),W3]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$3]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},q3]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...A(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:A()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[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:["",...A()]}],"outline-offset":[{"outline-offset":[Vt,se]}],"outline-w":[{outline:[Vt,Qt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Vt,Qt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Jt,G3]}],"shadow-color":[{shadow:[Hr]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Jt,se]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[S]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",se]}],duration:[{duration:te()}],ease:[{ease:["linear","in","out","in-out",se]}],delay:[{delay:te()}],animate:[{animate:["none","spin","ping","pulse","bounce",se]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[_r,se]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[I]}],"skew-y":[{"skew-y":[I]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",se]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",se]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"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",se]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Vt,Qt,ni]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-s","border-w-e","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-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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-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"]}}}const de=D3(Q3),qd=g.forwardRef(function(e,t){const{color:n="dark",size:r="medium",className:o="",children:i,icon:a,iconPosition:s="left",...l}=e,u={small:"px-2 py-1.5 text-xs rounded-md font-medium",medium:"px-6 py-3 text-base rounded-xl font-semibold tracking-wide"},c=Go({light:"bg-gray-200 text-gray-600 hover:text-gray-700 hover:border-gray-300 active:border-slate-100 active:text-gray-600 disabled:text-gray-400",dark:"bg-gray-800 text-slate-50 hover:bg-slate-800 active:border-slate-700 disabled:bg-gray-300 disabled:text-slate-100",red:"bg-red-900 text-slate-50 hover:opacity-80 active:border-red-800 disabled:text-red-400 disabled:opacity-100",blue:"bg-blue-900 text-slate-50 hover:opacity-80 active:border-blue-800 disabled:text-blue-400 disabled:opacity-100"}[n],u[r]),f=de("flex items-center justify-center gap-2 border border-none outline-none transition disabled:cursor-not-allowed",c,o);return d.jsxs("button",{ref:t,className:f,...l,children:[s==="left"&&a,i,s==="right"&&a]})});function ie(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function J3(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function ca(...e){return t=>e.forEach(n=>J3(n,t))}function Te(...e){return g.useCallback(ca(...e),e)}function e9(e,t){const n=g.createContext(t);function r(i){const{children:a,...s}=i,l=g.useMemo(()=>s,Object.values(s));return d.jsx(n.Provider,{value:l,children:a})}function o(i){const a=g.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",[r,o]}function vn(e,t=[]){let n=[];function r(i,a){const s=g.createContext(a),l=n.length;n=[...n,a];function u(f){const{scope:p,children:v,...h}=f,m=(p==null?void 0:p[e][l])||s,b=g.useMemo(()=>h,Object.values(h));return d.jsx(m.Provider,{value:b,children:v})}function c(f,p){const v=(p==null?void 0:p[e][l])||s,h=g.useContext(v);if(h)return h;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,c]}const o=()=>{const i=n.map(a=>g.createContext(a));return function(a){const s=(a==null?void 0:a[e])||i;return g.useMemo(()=>({[`__scope${e}`]:{...a,[e]:s}}),[a,s])}};return o.scopeName=e,[r,t9(o,...t)]}function t9(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(o){const i=r.reduce((a,{useScope:s,scopeName:l})=>{const u=s(o)[`__scope${l}`];return{...a,...u}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Dt(e){const t=g.useRef(e);return g.useEffect(()=>{t.current=e}),g.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function ua({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=n9({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=Dt(n),l=g.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function n9({defaultProp:e,onChange:t}){const n=g.useState(e),[r]=n,o=g.useRef(r),i=Dt(t);return g.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var br=g.forwardRef((e,t)=>{const{children:n,...r}=e,o=g.Children.toArray(n),i=o.find(r9);if(i){const a=i.props.children,s=o.map(l=>l===i?g.Children.count(a)>1?g.Children.only(null):g.isValidElement(a)?a.props.children:null:l);return d.jsx(Hs,{...r,ref:t,children:g.isValidElement(a)?g.cloneElement(a,void 0,s):null})}return d.jsx(Hs,{...r,ref:t,children:n})});br.displayName="Slot";var Hs=g.forwardRef((e,t)=>{const{children:n,...r}=e;if(g.isValidElement(n)){const o=i9(n);return g.cloneElement(n,{...o9(r,n.props),ref:t?ca(t,o):o})}return g.Children.count(n)>1?g.Children.only(null):null});Hs.displayName="SlotClone";var Gd=({children:e})=>d.jsx(d.Fragment,{children:e});function r9(e){return g.isValidElement(e)&&e.type===Gd}function o9(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{i(...a),o(...a)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function i9(e){var t,n;let r=(t=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(r=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var a9=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],xe=a9.reduce((e,t)=>{const n=g.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?br:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(s,{...a,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Yd(e,t){e&&la.flushSync(()=>e.dispatchEvent(t))}function Xd(e){const t=e+"CollectionProvider",[n,r]=vn(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=v=>{const{scope:h,children:m}=v,b=Q.useRef(null),y=Q.useRef(new Map).current;return d.jsx(o,{scope:h,itemMap:y,collectionRef:b,children:m})};a.displayName=t;const s=e+"CollectionSlot",l=Q.forwardRef((v,h)=>{const{scope:m,children:b}=v,y=i(s,m),x=Te(h,y.collectionRef);return d.jsx(br,{ref:x,children:b})});l.displayName=s;const u=e+"CollectionItemSlot",c="data-radix-collection-item",f=Q.forwardRef((v,h)=>{const{scope:m,children:b,...y}=v,x=Q.useRef(null),S=Te(h,x),M=i(u,m);return Q.useEffect(()=>(M.itemMap.set(x,{ref:x,...y}),()=>void M.itemMap.delete(x))),d.jsx(br,{[c]:"",ref:S,children:b})});f.displayName=u;function p(v){const h=i(e+"CollectionConsumer",v);return Q.useCallback(()=>{const m=h.collectionRef.current;if(!m)return[];const b=Array.from(m.querySelectorAll(`[${c}]`));return Array.from(h.itemMap.values()).sort((y,x)=>b.indexOf(y.ref.current)-b.indexOf(x.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:a,Slot:l,ItemSlot:f},p,r]}var s9=g.createContext(void 0);function Kd(e){const t=g.useContext(s9);return e||t||"ltr"}function l9(e,t=globalThis==null?void 0:globalThis.document){const n=Dt(e);g.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var c9="DismissableLayer",zs="dismissableLayer.update",u9="dismissableLayer.pointerDownOutside",d9="dismissableLayer.focusOutside",bu,Qd=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),da=g.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=g.useContext(Qd),[c,f]=g.useState(null),p=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,v]=g.useState({}),h=Te(t,C=>f(C)),m=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=m.indexOf(b),x=c?m.indexOf(c):-1,S=u.layersWithOutsidePointerEventsDisabled.size>0,M=x>=y,w=h9(C=>{const P=C.target,T=[...u.branches].some(F=>F.contains(P));!M||T||(o==null||o(C),a==null||a(C),C.defaultPrevented||s==null||s())},p),I=m9(C=>{const P=C.target;[...u.branches].some(T=>T.contains(P))||(i==null||i(C),a==null||a(C),C.defaultPrevented||s==null||s())},p);return l9(C=>{x===u.layers.size-1&&(r==null||r(C),!C.defaultPrevented&&s&&(C.preventDefault(),s()))},p),g.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(bu=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),yu(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=bu)}},[c,p,n,u]),g.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),yu())},[c,u]),g.useEffect(()=>{const C=()=>v({});return document.addEventListener(zs,C),()=>document.removeEventListener(zs,C)},[]),d.jsx(xe.div,{...l,ref:h,style:{pointerEvents:S?M?"auto":"none":void 0,...e.style},onFocusCapture:ie(e.onFocusCapture,I.onFocusCapture),onBlurCapture:ie(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:ie(e.onPointerDownCapture,w.onPointerDownCapture)})});da.displayName=c9;var f9="DismissableLayerBranch",p9=g.forwardRef((e,t)=>{const n=g.useContext(Qd),r=g.useRef(null),o=Te(t,r);return g.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),d.jsx(xe.div,{...e,ref:o})});p9.displayName=f9;function h9(e,t=globalThis==null?void 0:globalThis.document){const n=Dt(e),r=g.useRef(!1),o=g.useRef(()=>{});return g.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){Jd(u9,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function m9(e,t=globalThis==null?void 0:globalThis.document){const n=Dt(e),r=g.useRef(!1);return g.useEffect(()=>{const o=i=>{i.target&&!r.current&&Jd(d9,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function yu(){const e=new CustomEvent(zs);document.dispatchEvent(e)}function Jd(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Yd(o,i):o.dispatchEvent(i)}var La=0;function e0(){g.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??xu()),document.body.insertAdjacentElement("beforeend",e[1]??xu()),La++,()=>{La===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),La--}},[])}function xu(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Va="focusScope.autoFocusOnMount",_a="focusScope.autoFocusOnUnmount",wu={bubbles:!1,cancelable:!0},g9="FocusScope",Ll=g.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=g.useState(null),u=Dt(o),c=Dt(i),f=g.useRef(null),p=Te(t,m=>l(m)),v=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(r){let m=function(S){if(v.paused||!s)return;const M=S.target;s.contains(M)?f.current=M:rn(f.current,{select:!0})},b=function(S){if(v.paused||!s)return;const M=S.relatedTarget;M!==null&&(s.contains(M)||rn(f.current,{select:!0}))},y=function(S){if(document.activeElement===document.body)for(const M of S)M.removedNodes.length>0&&rn(s)};document.addEventListener("focusin",m),document.addEventListener("focusout",b);const x=new MutationObserver(y);return s&&x.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",b),x.disconnect()}}},[r,s,v.paused]),g.useEffect(()=>{if(s){Su.add(v);const m=document.activeElement;if(!s.contains(m)){const b=new CustomEvent(Va,wu);s.addEventListener(Va,u),s.dispatchEvent(b),b.defaultPrevented||(v9(C9(t0(s)),{select:!0}),document.activeElement===m&&rn(s))}return()=>{s.removeEventListener(Va,u),setTimeout(()=>{const b=new CustomEvent(_a,wu);s.addEventListener(_a,c),s.dispatchEvent(b),b.defaultPrevented||rn(m??document.body,{select:!0}),s.removeEventListener(_a,c),Su.remove(v)},0)}}},[s,u,c,v]);const h=g.useCallback(m=>{if(!n&&!r||v.paused)return;const b=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,y=document.activeElement;if(b&&y){const x=m.currentTarget,[S,M]=b9(x);S&&M?!m.shiftKey&&y===M?(m.preventDefault(),n&&rn(S,{select:!0})):m.shiftKey&&y===S&&(m.preventDefault(),n&&rn(M,{select:!0})):y===x&&m.preventDefault()}},[n,r,v.paused]);return d.jsx(xe.div,{tabIndex:-1,...a,ref:p,onKeyDown:h})});Ll.displayName=g9;function v9(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(rn(r,{select:t}),document.activeElement!==n)return}function b9(e){const t=t0(e),n=Cu(t,e),r=Cu(t.reverse(),e);return[n,r]}function t0(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Cu(e,t){for(const n of e)if(!y9(n,{upTo:t}))return n}function y9(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function x9(e){return e instanceof HTMLInputElement&&"select"in e}function rn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&x9(e)&&t&&e.select()}}var Su=w9();function w9(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Iu(e,t),e.unshift(t)},remove(t){var n;e=Iu(e,t),(n=e[0])==null||n.resume()}}}function Iu(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function C9(e){return e.filter(t=>t.tagName!=="A")}var Dn=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},S9=g.useId||(()=>{}),I9=0;function ur(e){const[t,n]=g.useState(S9());return Dn(()=>{n(r=>r??String(I9++))},[e]),t?`radix-${t}`:""}const M9=["top","right","bottom","left"],Nt=Math.min,rt=Math.max,Ri=Math.round,ri=Math.floor,pn=e=>({x:e,y:e}),E9={left:"right",right:"left",bottom:"top",top:"bottom"},P9={start:"end",end:"start"};function Us(e,t,n){return rt(e,Nt(t,n))}function Gt(e,t){return typeof e=="function"?e(t):e}function Yt(e){return e.split("-")[0]}function Or(e){return e.split("-")[1]}function Vl(e){return e==="x"?"y":"x"}function _l(e){return e==="y"?"height":"width"}function hn(e){return["top","bottom"].includes(Yt(e))?"y":"x"}function Hl(e){return Vl(hn(e))}function O9(e,t,n){n===void 0&&(n=!1);const r=Or(e),o=Hl(e),i=_l(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Li(a)),[a,Li(a)]}function j9(e){const t=Li(e);return[Bs(e),t,Bs(t)]}function Bs(e){return e.replace(/start|end/g,t=>P9[t])}function k9(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function N9(e,t,n,r){const o=Or(e);let i=k9(Yt(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Bs)))),i}function Li(e){return e.replace(/left|right|bottom|top/g,t=>E9[t])}function A9(e){return{top:0,right:0,bottom:0,left:0,...e}}function n0(e){return typeof e!="number"?A9(e):{top:e,right:e,bottom:e,left:e}}function Vi(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Mu(e,t,n){let{reference:r,floating:o}=e;const i=hn(t),a=Hl(t),s=_l(a),l=Yt(t),u=i==="y",c=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let v;switch(l){case"top":v={x:c,y:r.y-o.height};break;case"bottom":v={x:c,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:f};break;case"left":v={x:r.x-o.width,y:f};break;default:v={x:r.x,y:r.y}}switch(Or(t)){case"start":v[a]-=p*(n&&u?-1:1);break;case"end":v[a]+=p*(n&&u?-1:1);break}return v}const T9=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=Mu(u,r,l),p=r,v={},h=0;for(let m=0;m<s.length;m++){const{name:b,fn:y}=s[m],{x,y:S,data:M,reset:w}=await y({x:c,y:f,initialPlacement:r,placement:p,strategy:o,middlewareData:v,rects:u,platform:a,elements:{reference:e,floating:t}});c=x??c,f=S??f,v={...v,[b]:{...v[b],...M}},w&&h<=50&&(h++,typeof w=="object"&&(w.placement&&(p=w.placement),w.rects&&(u=w.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:c,y:f}=Mu(u,p,l)),m=-1)}return{x:c,y:f,placement:p,strategy:o,middlewareData:v}};async function bo(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:v=0}=Gt(t,e),h=n0(v),m=s[p?f==="floating"?"reference":"floating":f],b=Vi(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),y=f==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),S=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},M=Vi(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:x,strategy:l}):y);return{top:(b.top-M.top+h.top)/S.y,bottom:(M.bottom-b.bottom+h.bottom)/S.y,left:(b.left-M.left+h.left)/S.x,right:(M.right-b.right+h.right)/S.x}}const D9=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=Gt(e,t)||{};if(u==null)return{};const f=n0(c),p={x:n,y:r},v=Hl(o),h=_l(v),m=await a.getDimensions(u),b=v==="y",y=b?"top":"left",x=b?"bottom":"right",S=b?"clientHeight":"clientWidth",M=i.reference[h]+i.reference[v]-p[v]-i.floating[h],w=p[v]-i.reference[v],I=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let C=I?I[S]:0;(!C||!await(a.isElement==null?void 0:a.isElement(I)))&&(C=s.floating[S]||i.floating[h]);const P=M/2-w/2,T=C/2-m[h]/2-1,F=Nt(f[y],T),H=Nt(f[x],T),R=F,B=C-m[h]-H,E=C/2-m[h]/2+P,N=Us(R,E,B),A=!l.arrow&&Or(o)!=null&&E!==N&&i.reference[h]/2-(E<R?F:H)-m[h]/2<0,V=A?E<R?E-R:E-B:0;return{[v]:p[v]+V,data:{[v]:N,centerOffset:E-N-V,...A&&{alignmentOffset:V}},reset:A}}}),F9=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...b}=Gt(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=Yt(o),x=hn(s),S=Yt(s)===s,M=await(l.isRTL==null?void 0:l.isRTL(u.floating)),w=p||(S||!m?[Li(s)]:j9(s)),I=h!=="none";!p&&I&&w.push(...N9(s,m,h,M));const C=[s,...w],P=await bo(t,b),T=[];let F=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&T.push(P[y]),f){const E=O9(o,a,M);T.push(P[E[0]],P[E[1]])}if(F=[...F,{placement:o,overflows:T}],!T.every(E=>E<=0)){var H,R;const E=(((H=i.flip)==null?void 0:H.index)||0)+1,N=C[E];if(N)return{data:{index:E,overflows:F},reset:{placement:N}};let A=(R=F.filter(V=>V.overflows[0]<=0).sort((V,$)=>V.overflows[1]-$.overflows[1])[0])==null?void 0:R.placement;if(!A)switch(v){case"bestFit":{var B;const V=(B=F.filter($=>{if(I){const L=hn($.placement);return L===x||L==="y"}return!0}).map($=>[$.placement,$.overflows.filter(L=>L>0).reduce((L,W)=>L+W,0)]).sort(($,L)=>$[1]-L[1])[0])==null?void 0:B[0];V&&(A=V);break}case"initialPlacement":A=s;break}if(o!==A)return{reset:{placement:A}}}return{}}}};function Eu(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Pu(e){return M9.some(t=>e[t]>=0)}const R9=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Gt(e,t);switch(r){case"referenceHidden":{const i=await bo(t,{...o,elementContext:"reference"}),a=Eu(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Pu(a)}}}case"escaped":{const i=await bo(t,{...o,altBoundary:!0}),a=Eu(i,n.floating);return{data:{escapedOffsets:a,escaped:Pu(a)}}}default:return{}}}}};async function L9(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Yt(n),s=Or(n),l=hn(n)==="y",u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,f=Gt(t,e);let{mainAxis:p,crossAxis:v,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&typeof h=="number"&&(v=s==="end"?h*-1:h),l?{x:v*c,y:p*u}:{x:p*u,y:v*c}}const V9=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await L9(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},_9=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:b=>{let{x:y,y:x}=b;return{x:y,y:x}}},...l}=Gt(e,t),u={x:n,y:r},c=await bo(t,l),f=hn(Yt(o)),p=Vl(f);let v=u[p],h=u[f];if(i){const b=p==="y"?"top":"left",y=p==="y"?"bottom":"right",x=v+c[b],S=v-c[y];v=Us(x,v,S)}if(a){const b=f==="y"?"top":"left",y=f==="y"?"bottom":"right",x=h+c[b],S=h-c[y];h=Us(x,h,S)}const m=s.fn({...t,[p]:v,[f]:h});return{...m,data:{x:m.x-n,y:m.y-r}}}}},H9=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=Gt(e,t),c={x:n,y:r},f=hn(o),p=Vl(f);let v=c[p],h=c[f];const m=Gt(s,t),b=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const S=p==="y"?"height":"width",M=i.reference[p]-i.floating[S]+b.mainAxis,w=i.reference[p]+i.reference[S]-b.mainAxis;v<M?v=M:v>w&&(v=w)}if(u){var y,x;const S=p==="y"?"width":"height",M=["top","left"].includes(Yt(o)),w=i.reference[f]-i.floating[S]+(M&&((y=a.offset)==null?void 0:y[f])||0)+(M?0:b.crossAxis),I=i.reference[f]+i.reference[S]+(M?0:((x=a.offset)==null?void 0:x[f])||0)-(M?b.crossAxis:0);h<w?h=w:h>I&&(h=I)}return{[p]:v,[f]:h}}}},z9=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...s}=Gt(e,t),l=await bo(t,s),u=Yt(n),c=Or(n),f=hn(n)==="y",{width:p,height:v}=r.floating;let h,m;u==="top"||u==="bottom"?(h=u,m=c===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(m=u,h=c==="end"?"top":"bottom");const b=v-l.top-l.bottom,y=p-l.left-l.right,x=Nt(v-l[h],b),S=Nt(p-l[m],y),M=!t.middlewareData.shift;let w=x,I=S;if(f?I=c||M?Nt(S,y):y:w=c||M?Nt(x,b):b,M&&!c){const P=rt(l.left,0),T=rt(l.right,0),F=rt(l.top,0),H=rt(l.bottom,0);f?I=p-2*(P!==0||T!==0?P+T:rt(l.left,l.right)):w=v-2*(F!==0||H!==0?F+H:rt(l.top,l.bottom))}await a({...t,availableWidth:I,availableHeight:w});const C=await o.getDimensions(i.floating);return p!==C.width||v!==C.height?{reset:{rects:!0}}:{}}}};function jr(e){return r0(e)?(e.nodeName||"").toLowerCase():"#document"}function ot(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Xt(e){var t;return(t=(r0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function r0(e){return e instanceof Node||e instanceof ot(e).Node}function vt(e){return e instanceof Element||e instanceof ot(e).Element}function Ft(e){return e instanceof HTMLElement||e instanceof ot(e).HTMLElement}function Ou(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ot(e).ShadowRoot}function Yo(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function U9(e){return["table","td","th"].includes(jr(e))}function fa(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function zl(e){const t=Ul(),n=vt(e)?bt(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function B9(e){let t=mn(e);for(;Ft(t)&&!yr(t);){if(zl(t))return t;if(fa(t))return null;t=mn(t)}return null}function Ul(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function yr(e){return["html","body","#document"].includes(jr(e))}function bt(e){return ot(e).getComputedStyle(e)}function pa(e){return vt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function mn(e){if(jr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ou(e)&&e.host||Xt(e);return Ou(t)?t.host:t}function o0(e){const t=mn(e);return yr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ft(t)&&Yo(t)?t:o0(t)}function yo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=o0(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=ot(o);if(i){const s=$s(a);return t.concat(a,a.visualViewport||[],Yo(o)?o:[],s&&n?yo(s):[])}return t.concat(o,yo(o,[],n))}function $s(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function i0(e){const t=bt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ft(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Ri(n)!==i||Ri(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Bl(e){return vt(e)?e:e.contextElement}function dr(e){const t=Bl(e);if(!Ft(t))return pn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=i0(t);let a=(i?Ri(n.width):n.width)/r,s=(i?Ri(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const $9=pn(0);function a0(e){const t=ot(e);return!Ul()||!t.visualViewport?$9:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function W9(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ot(e)?!1:t}function Fn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Bl(e);let a=pn(1);t&&(r?vt(r)&&(a=dr(r)):a=dr(e));const s=W9(i,n,r)?a0(i):pn(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,c=o.width/a.x,f=o.height/a.y;if(i){const p=ot(i),v=r&&vt(r)?ot(r):r;let h=p,m=$s(h);for(;m&&r&&v!==h;){const b=dr(m),y=m.getBoundingClientRect(),x=bt(m),S=y.left+(m.clientLeft+parseFloat(x.paddingLeft))*b.x,M=y.top+(m.clientTop+parseFloat(x.paddingTop))*b.y;l*=b.x,u*=b.y,c*=b.x,f*=b.y,l+=S,u+=M,h=ot(m),m=$s(h)}}return Vi({width:c,height:f,x:l,y:u})}function Z9(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=Xt(r),s=t?fa(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=pn(1);const c=pn(0),f=Ft(r);if((f||!f&&!i)&&((jr(r)!=="body"||Yo(a))&&(l=pa(r)),Ft(r))){const p=Fn(r);u=dr(r),c.x=p.x+r.clientLeft,c.y=p.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x,y:n.y*u.y-l.scrollTop*u.y+c.y}}function q9(e){return Array.from(e.getClientRects())}function s0(e){return Fn(Xt(e)).left+pa(e).scrollLeft}function G9(e){const t=Xt(e),n=pa(e),r=e.ownerDocument.body,o=rt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=rt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+s0(e);const s=-n.scrollTop;return bt(r).direction==="rtl"&&(a+=rt(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function Y9(e,t){const n=ot(e),r=Xt(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=Ul();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function X9(e,t){const n=Fn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ft(e)?dr(e):pn(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:a,height:s,x:l,y:u}}function ju(e,t,n){let r;if(t==="viewport")r=Y9(e,n);else if(t==="document")r=G9(Xt(e));else if(vt(t))r=X9(t,n);else{const o=a0(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Vi(r)}function l0(e,t){const n=mn(e);return n===t||!vt(n)||yr(n)?!1:bt(n).position==="fixed"||l0(n,t)}function K9(e,t){const n=t.get(e);if(n)return n;let r=yo(e,[],!1).filter(s=>vt(s)&&jr(s)!=="body"),o=null;const i=bt(e).position==="fixed";let a=i?mn(e):e;for(;vt(a)&&!yr(a);){const s=bt(a),l=zl(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&o&&["absolute","fixed"].includes(o.position)||Yo(a)&&!l&&l0(e,a))?r=r.filter(u=>u!==a):o=s,a=mn(a)}return t.set(e,r),r}function Q9(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?fa(t)?[]:K9(t,this._c):[].concat(n),r],a=i[0],s=i.reduce((l,u)=>{const c=ju(t,u,o);return l.top=rt(c.top,l.top),l.right=Nt(c.right,l.right),l.bottom=Nt(c.bottom,l.bottom),l.left=rt(c.left,l.left),l},ju(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function J9(e){const{width:t,height:n}=i0(e);return{width:t,height:n}}function e6(e,t,n){const r=Ft(t),o=Xt(t),i=n==="fixed",a=Fn(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=pn(0);if(r||!r&&!i)if((jr(t)!=="body"||Yo(o))&&(s=pa(t)),r){const f=Fn(t,!0,i,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}else o&&(l.x=s0(o));const u=a.left+s.scrollLeft-l.x,c=a.top+s.scrollTop-l.y;return{x:u,y:c,width:a.width,height:a.height}}function Ha(e){return bt(e).position==="static"}function ku(e,t){return!Ft(e)||bt(e).position==="fixed"?null:t?t(e):e.offsetParent}function c0(e,t){const n=ot(e);if(fa(e))return n;if(!Ft(e)){let o=mn(e);for(;o&&!yr(o);){if(vt(o)&&!Ha(o))return o;o=mn(o)}return n}let r=ku(e,t);for(;r&&U9(r)&&Ha(r);)r=ku(r,t);return r&&yr(r)&&Ha(r)&&!zl(r)?n:r||B9(e)||n}const t6=async function(e){const t=this.getOffsetParent||c0,n=this.getDimensions,r=await n(e.floating);return{reference:e6(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function n6(e){return bt(e).direction==="rtl"}const r6={convertOffsetParentRelativeRectToViewportRelativeRect:Z9,getDocumentElement:Xt,getClippingRect:Q9,getOffsetParent:c0,getElementRects:t6,getClientRects:q9,getDimensions:J9,getScale:dr,isElement:vt,isRTL:n6};function o6(e,t){let n=null,r;const o=Xt(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const{left:u,top:c,width:f,height:p}=e.getBoundingClientRect();if(s||t(),!f||!p)return;const v=ri(c),h=ri(o.clientWidth-(u+f)),m=ri(o.clientHeight-(c+p)),b=ri(u),y={rootMargin:-v+"px "+-h+"px "+-m+"px "+-b+"px",threshold:rt(0,Nt(1,l))||1};let x=!0;function S(M){const w=M[0].intersectionRatio;if(w!==l){if(!x)return a();w?a(!1,w):r=setTimeout(()=>{a(!1,1e-7)},1e3)}x=!1}try{n=new IntersectionObserver(S,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,y)}n.observe(e)}return a(!0),i}function u0(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Bl(e),c=o||i?[...u?yo(u):[],...yo(t)]:[];c.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const f=u&&s?o6(u,n):null;let p=-1,v=null;a&&(v=new ResizeObserver(y=>{let[x]=y;x&&x.target===u&&v&&(v.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var S;(S=v)==null||S.observe(t)})),n()}),u&&!l&&v.observe(u),v.observe(t));let h,m=l?Fn(e):null;l&&b();function b(){const y=Fn(e);m&&(y.x!==m.x||y.y!==m.y||y.width!==m.width||y.height!==m.height)&&n(),m=y,h=requestAnimationFrame(b)}return n(),()=>{var y;c.forEach(x=>{o&&x.removeEventListener("scroll",n),i&&x.removeEventListener("resize",n)}),f==null||f(),(y=v)==null||y.disconnect(),v=null,l&&cancelAnimationFrame(h)}}const i6=V9,a6=_9,s6=F9,l6=z9,c6=R9,Nu=D9,u6=H9,d6=(e,t,n)=>{const r=new Map,o={platform:r6,...n},i={...o.platform,_c:r};return T9(e,t,{...o,platform:i})};var Ei=typeof document<"u"?g.useLayoutEffect:g.useEffect;function _i(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!_i(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!_i(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function d0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Au(e,t){const n=d0(e);return Math.round(t*n)/n}function Tu(e){const t=g.useRef(e);return Ei(()=>{t.current=e}),t}function f6(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[c,f]=g.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,v]=g.useState(r);_i(p,r)||v(r);const[h,m]=g.useState(null),[b,y]=g.useState(null),x=g.useCallback(V=>{V!==I.current&&(I.current=V,m(V))},[]),S=g.useCallback(V=>{V!==C.current&&(C.current=V,y(V))},[]),M=i||h,w=a||b,I=g.useRef(null),C=g.useRef(null),P=g.useRef(c),T=l!=null,F=Tu(l),H=Tu(o),R=g.useCallback(()=>{if(!I.current||!C.current)return;const V={placement:t,strategy:n,middleware:p};H.current&&(V.platform=H.current),d6(I.current,C.current,V).then($=>{const L={...$,isPositioned:!0};B.current&&!_i(P.current,L)&&(P.current=L,la.flushSync(()=>{f(L)}))})},[p,t,n,H]);Ei(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,f(V=>({...V,isPositioned:!1})))},[u]);const B=g.useRef(!1);Ei(()=>(B.current=!0,()=>{B.current=!1}),[]),Ei(()=>{if(M&&(I.current=M),w&&(C.current=w),M&&w){if(F.current)return F.current(M,w,R);R()}},[M,w,R,F,T]);const E=g.useMemo(()=>({reference:I,floating:C,setReference:x,setFloating:S}),[x,S]),N=g.useMemo(()=>({reference:M,floating:w}),[M,w]),A=g.useMemo(()=>{const V={position:n,left:0,top:0};if(!N.floating)return V;const $=Au(N.floating,c.x),L=Au(N.floating,c.y);return s?{...V,transform:"translate("+$+"px, "+L+"px)",...d0(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:$,top:L}},[n,s,N.floating,c.x,c.y]);return g.useMemo(()=>({...c,update:R,refs:E,elements:N,floatingStyles:A}),[c,R,E,N,A])}const p6=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Nu({element:r.current,padding:o}).fn(n):{}:r?Nu({element:r,padding:o}).fn(n):{}}}},h6=(e,t)=>({...i6(e),options:[e,t]}),m6=(e,t)=>({...a6(e),options:[e,t]}),g6=(e,t)=>({...u6(e),options:[e,t]}),v6=(e,t)=>({...s6(e),options:[e,t]}),b6=(e,t)=>({...l6(e),options:[e,t]}),y6=(e,t)=>({...c6(e),options:[e,t]}),x6=(e,t)=>({...p6(e),options:[e,t]});var w6="Arrow",f0=g.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return d.jsx(xe.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:d.jsx("polygon",{points:"0,0 30,0 15,10"})})});f0.displayName=w6;var C6=f0;function S6(e){const[t,n]=g.useState(void 0);return Dn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var $l="Popper",[p0,ha]=vn($l),[I6,h0]=p0($l),m0=e=>{const{__scopePopper:t,children:n}=e,[r,o]=g.useState(null);return d.jsx(I6,{scope:t,anchor:r,onAnchorChange:o,children:n})};m0.displayName=$l;var g0="PopperAnchor",v0=g.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=h0(g0,n),a=g.useRef(null),s=Te(t,a);return g.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:d.jsx(xe.div,{...o,ref:s})});v0.displayName=g0;var Wl="PopperContent",[M6,E6]=p0(Wl),b0=g.forwardRef((e,t)=>{var n,r,o,i,a,s;const{__scopePopper:l,side:u="bottom",sideOffset:c=0,align:f="center",alignOffset:p=0,arrowPadding:v=0,avoidCollisions:h=!0,collisionBoundary:m=[],collisionPadding:b=0,sticky:y="partial",hideWhenDetached:x=!1,updatePositionStrategy:S="optimized",onPlaced:M,...w}=e,I=h0(Wl,l),[C,P]=g.useState(null),T=Te(t,Ge=>P(Ge)),[F,H]=g.useState(null),R=S6(F),B=(R==null?void 0:R.width)??0,E=(R==null?void 0:R.height)??0,N=u+(f!=="center"?"-"+f:""),A=typeof b=="number"?b:{top:0,right:0,bottom:0,left:0,...b},V=Array.isArray(m)?m:[m],$=V.length>0,L={padding:A,boundary:V.filter(O6),altBoundary:$},{refs:W,floatingStyles:Z,placement:te,isPositioned:fe,middlewareData:X}=f6({strategy:"fixed",placement:N,whileElementsMounted:(...Ge)=>u0(...Ge,{animationFrame:S==="always"}),elements:{reference:I.anchor},middleware:[h6({mainAxis:c+E,alignmentAxis:p}),h&&m6({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?g6():void 0,...L}),h&&v6({...L}),b6({...L,apply:({elements:Ge,rects:Lt,availableWidth:O,availableHeight:D})=>{const{width:j,height:_}=Lt.reference,z=Ge.floating.style;z.setProperty("--radix-popper-available-width",`${O}px`),z.setProperty("--radix-popper-available-height",`${D}px`),z.setProperty("--radix-popper-anchor-width",`${j}px`),z.setProperty("--radix-popper-anchor-height",`${_}px`)}}),F&&x6({element:F,padding:v}),j6({arrowWidth:B,arrowHeight:E}),x&&y6({strategy:"referenceHidden",...L})]}),[le,Se]=w0(te),je=Dt(M);Dn(()=>{fe&&(je==null||je())},[fe,je]);const Ve=(n=X.arrow)==null?void 0:n.x,Ee=(r=X.arrow)==null?void 0:r.y,tt=((o=X.arrow)==null?void 0:o.centerOffset)!==0,[Ct,St]=g.useState();return Dn(()=>{C&&St(window.getComputedStyle(C).zIndex)},[C]),d.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...Z,transform:fe?Z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ct,"--radix-popper-transform-origin":[(i=X.transformOrigin)==null?void 0:i.x,(a=X.transformOrigin)==null?void 0:a.y].join(" "),...((s=X.hide)==null?void 0:s.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:d.jsx(M6,{scope:l,placedSide:le,onArrowChange:H,arrowX:Ve,arrowY:Ee,shouldHideArrow:tt,children:d.jsx(xe.div,{"data-side":le,"data-align":Se,...w,ref:T,style:{...w.style,animation:fe?void 0:"none"}})})})});b0.displayName=Wl;var y0="PopperArrow",P6={top:"bottom",right:"left",bottom:"top",left:"right"},x0=g.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,o=E6(y0,n),i=P6[o.placedSide];return d.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:d.jsx(C6,{...r,ref:t,style:{...r.style,display:"block"}})})});x0.displayName=y0;function O6(e){return e!==null}var j6=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o;const{placement:i,rects:a,middlewareData:s}=t,l=((n=s.arrow)==null?void 0:n.centerOffset)!==0,u=l?0:e.arrowWidth,c=l?0:e.arrowHeight,[f,p]=w0(i),v={start:"0%",center:"50%",end:"100%"}[p],h=(((r=s.arrow)==null?void 0:r.x)??0)+u/2,m=(((o=s.arrow)==null?void 0:o.y)??0)+c/2;let b="",y="";return f==="bottom"?(b=l?v:`${h}px`,y=`${-c}px`):f==="top"?(b=l?v:`${h}px`,y=`${a.floating.height+c}px`):f==="right"?(b=`${-c}px`,y=l?v:`${m}px`):f==="left"&&(b=`${a.floating.width+c}px`,y=l?v:`${m}px`),{data:{x:b,y}}}});function w0(e){const[t,n="center"]=e.split("-");return[t,n]}var k6=m0,C0=v0,S0=b0,I0=x0,N6="Portal",ma=g.forwardRef((e,t)=>{var n;const{container:r,...o}=e,[i,a]=g.useState(!1);Dn(()=>a(!0),[]);const s=r||i&&((n=globalThis==null?void 0:globalThis.document)==null?void 0:n.body);return s?o2.createPortal(d.jsx(xe.div,{...o,ref:t}),s):null});ma.displayName=N6;function A6(e,t){return g.useReducer((n,r)=>t[n][r]??n,e)}var yt=e=>{const{present:t,children:n}=e,r=T6(t),o=typeof n=="function"?n({present:r.isPresent}):g.Children.only(n),i=Te(r.ref,D6(o));return typeof n=="function"||r.isPresent?g.cloneElement(o,{ref:i}):null};yt.displayName="Presence";function T6(e){const[t,n]=g.useState(),r=g.useRef({}),o=g.useRef(e),i=g.useRef("none"),a=e?"mounted":"unmounted",[s,l]=A6(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const u=oi(r.current);i.current=s==="mounted"?u:"none"},[s]),Dn(()=>{const u=r.current,c=o.current;if(c!==e){const f=i.current,p=oi(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Dn(()=>{if(t){const u=f=>{const p=oi(r.current).includes(f.animationName);f.target===t&&p&&la.flushSync(()=>l("ANIMATION_END"))},c=f=>{f.target===t&&(i.current=oi(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:g.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function oi(e){return(e==null?void 0:e.animationName)||"none"}function D6(e){var t,n;let r=(t=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(r=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var za="rovingFocusGroup.onEntryFocus",F6={bubbles:!1,cancelable:!0},ga="RovingFocusGroup",[Ws,M0,R6]=Xd(ga),[L6,va]=vn(ga,[R6]),[V6,_6]=L6(ga),E0=g.forwardRef((e,t)=>d.jsx(Ws.Provider,{scope:e.__scopeRovingFocusGroup,children:d.jsx(Ws.Slot,{scope:e.__scopeRovingFocusGroup,children:d.jsx(H6,{...e,ref:t})})}));E0.displayName=ga;var H6=g.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:c=!1,...f}=e,p=g.useRef(null),v=Te(t,p),h=Kd(i),[m=null,b]=ua({prop:a,defaultProp:s,onChange:l}),[y,x]=g.useState(!1),S=Dt(u),M=M0(n),w=g.useRef(!1),[I,C]=g.useState(0);return g.useEffect(()=>{const P=p.current;if(P)return P.addEventListener(za,S),()=>P.removeEventListener(za,S)},[S]),d.jsx(V6,{scope:n,orientation:r,dir:h,loop:o,currentTabStopId:m,onItemFocus:g.useCallback(P=>b(P),[b]),onItemShiftTab:g.useCallback(()=>x(!0),[]),onFocusableItemAdd:g.useCallback(()=>C(P=>P+1),[]),onFocusableItemRemove:g.useCallback(()=>C(P=>P-1),[]),children:d.jsx(xe.div,{tabIndex:y||I===0?-1:0,"data-orientation":r,...f,ref:v,style:{outline:"none",...e.style},onMouseDown:ie(e.onMouseDown,()=>{w.current=!0}),onFocus:ie(e.onFocus,P=>{const T=!w.current;if(P.target===P.currentTarget&&T&&!y){const F=new CustomEvent(za,F6);if(P.currentTarget.dispatchEvent(F),!F.defaultPrevented){const H=M().filter(N=>N.focusable),R=H.find(N=>N.active),B=H.find(N=>N.id===m),E=[R,B,...H].filter(Boolean).map(N=>N.ref.current);j0(E,c)}}w.current=!1}),onBlur:ie(e.onBlur,()=>x(!1))})})}),P0="RovingFocusGroupItem",O0=g.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,s=ur(),l=i||s,u=_6(P0,n),c=u.currentTabStopId===l,f=M0(n),{onFocusableItemAdd:p,onFocusableItemRemove:v}=u;return g.useEffect(()=>{if(r)return p(),()=>v()},[r,p,v]),d.jsx(Ws.ItemSlot,{scope:n,id:l,focusable:r,active:o,children:d.jsx(xe.span,{tabIndex:c?0:-1,"data-orientation":u.orientation,...a,ref:t,onMouseDown:ie(e.onMouseDown,h=>{r?u.onItemFocus(l):h.preventDefault()}),onFocus:ie(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:ie(e.onKeyDown,h=>{if(h.key==="Tab"&&h.shiftKey){u.onItemShiftTab();return}if(h.target!==h.currentTarget)return;const m=B6(h,u.orientation,u.dir);if(m!==void 0){if(h.metaKey||h.ctrlKey||h.altKey||h.shiftKey)return;h.preventDefault();let b=f().filter(y=>y.focusable).map(y=>y.ref.current);if(m==="last")b.reverse();else if(m==="prev"||m==="next"){m==="prev"&&b.reverse();const y=b.indexOf(h.currentTarget);b=u.loop?$6(b,y+1):b.slice(y+1)}setTimeout(()=>j0(b))}})})})});O0.displayName=P0;var z6={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function U6(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function B6(e,t,n){const r=U6(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return z6[r]}function j0(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function $6(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var k0=E0,N0=O0,W6=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Zn=new WeakMap,ii=new WeakMap,ai={},Ua=0,A0=function(e){return e&&(e.host||A0(e.parentNode))},Z6=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=A0(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},q6=function(e,t,n,r){var o=Z6(t,Array.isArray(e)?e:[e]);ai[n]||(ai[n]=new WeakMap);var i=ai[n],a=[],s=new Set,l=new Set(o),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};o.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))c(p);else try{var v=p.getAttribute(r),h=v!==null&&v!=="false",m=(Zn.get(p)||0)+1,b=(i.get(p)||0)+1;Zn.set(p,m),i.set(p,b),a.push(p),m===1&&h&&ii.set(p,!0),b===1&&p.setAttribute(n,"true"),h||p.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",p,y)}})};return c(t),s.clear(),Ua++,function(){a.forEach(function(f){var p=Zn.get(f)-1,v=i.get(f)-1;Zn.set(f,p),i.set(f,v),p||(ii.has(f)||f.removeAttribute(r),ii.delete(f)),v||f.removeAttribute(n)}),Ua--,Ua||(Zn=new WeakMap,Zn=new WeakMap,ii=new WeakMap,ai={})}},T0=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=W6(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),q6(r,o,n,"aria-hidden")):function(){return null}},Ot=function(){return Ot=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Ot.apply(this,arguments)};function D0(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function G6(e,t,n){for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Pi="right-scroll-bar-position",Oi="width-before-scroll-bar",Y6="with-scroll-bars-hidden",X6="--removed-body-scroll-bar-size";function Ba(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function K6(e,t){var n=g.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Q6=typeof window<"u"?g.useLayoutEffect:g.useEffect,Du=new WeakMap;function J6(e,t){var n=K6(null,function(r){return e.forEach(function(o){return Ba(o,r)})});return Q6(function(){var r=Du.get(n);if(r){var o=new Set(r),i=new Set(e),a=n.current;o.forEach(function(s){i.has(s)||Ba(s,null)}),i.forEach(function(s){o.has(s)||Ba(s,a)})}Du.set(n,e)},[e]),n}function e5(e){return e}function t5(e,t){t===void 0&&(t=e5);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var c=a;a=[],c.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){a.push(c),u()},filter:function(c){return a=a.filter(c),n}}}};return o}function n5(e){e===void 0&&(e={});var t=t5(null);return t.options=Ot({async:!0,ssr:!1},e),t}var F0=function(e){var t=e.sideCar,n=D0(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return g.createElement(r,Ot({},n))};F0.isSideCarExport=!0;function r5(e,t){return e.useMedium(t),F0}var R0=n5(),$a=function(){},ba=g.forwardRef(function(e,t){var n=g.useRef(null),r=g.useState({onScrollCapture:$a,onWheelCapture:$a,onTouchMoveCapture:$a}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,p=e.sideCar,v=e.noIsolation,h=e.inert,m=e.allowPinchZoom,b=e.as,y=b===void 0?"div":b,x=e.gapMode,S=D0(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),M=p,w=J6([n,t]),I=Ot(Ot({},S),o);return g.createElement(g.Fragment,null,c&&g.createElement(M,{sideCar:R0,removeScrollBar:u,shards:f,noIsolation:v,inert:h,setCallbacks:i,allowPinchZoom:!!m,lockRef:n,gapMode:x}),a?g.cloneElement(g.Children.only(s),Ot(Ot({},I),{ref:w})):g.createElement(y,Ot({},I,{className:l,ref:w}),s))});ba.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ba.classNames={fullWidth:Oi,zeroRight:Pi};var o5=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function i5(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o5();return t&&e.setAttribute("nonce",t),e}function a5(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function s5(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var l5=function(){var e=0,t=null;return{add:function(n){e==0&&(t=i5())&&(a5(t,n),s5(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},c5=function(){var e=l5();return function(t,n){g.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},L0=function(){var e=c5(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},u5={left:0,top:0,right:0,gap:0},Wa=function(e){return parseInt(e||"",10)||0},d5=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Wa(n),Wa(r),Wa(o)]},f5=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return u5;var t=d5(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},p5=L0(),fr="data-scroll-locked",h5=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
3
3
|
.`.concat(Y6,` {
|
|
4
4
|
overflow: hidden `).concat(r,`;
|
|
5
5
|
padding-right: `).concat(s,"px ").concat(r,`;
|
|
@@ -86,7 +86,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
86
86
|
`).slice(0,-1)}function M1(e){if(!(!e||e.length===0))return e.reduce((t,{slot:n,value:r})=>{if(n.length!==66)throw new f1({size:n.length,targetSize:66,type:"hex"});if(r.length!==66)throw new f1({size:r.length,targetSize:66,type:"hex"});return t[n]=r,t},{})}function py(e){const{balance:t,nonce:n,state:r,stateDiff:o,code:i}=e,a={};if(i!==void 0&&(a.code=i),t!==void 0&&(a.balance=Ce(t)),n!==void 0&&(a.nonce=Ce(n)),r!==void 0&&(a.state=M1(r)),o!==void 0){if(a.state)throw new dy;a.stateDiff=M1(o)}return a}function hy(e){if(!e)return;const t={};for(const{address:n,...r}of e){if(!gn(n,{strict:!1}))throw new Mo({address:n});if(t[n])throw new uy({address:n});t[n]=py(r)}return t}const E1=[{inputs:[{components:[{name:"target",type:"address"},{name:"allowFailure",type:"bool"},{name:"callData",type:"bytes"}],name:"calls",type:"tuple[]"}],name:"aggregate3",outputs:[{components:[{name:"success",type:"bool"},{name:"returnData",type:"bytes"}],name:"returnData",type:"tuple[]"}],stateMutability:"view",type:"function"}],Hp=[{inputs:[],name:"ResolverNotFound",type:"error"},{inputs:[],name:"ResolverWildcardNotSupported",type:"error"},{inputs:[],name:"ResolverNotContract",type:"error"},{inputs:[{name:"returnData",type:"bytes"}],name:"ResolverError",type:"error"},{inputs:[{components:[{name:"status",type:"uint16"},{name:"message",type:"string"}],name:"errors",type:"tuple[]"}],name:"HttpError",type:"error"}],my=[...Hp,{name:"resolve",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]},{name:"resolve",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes"},{name:"data",type:"bytes"},{name:"gateways",type:"string[]"}],outputs:[{name:"",type:"bytes"},{name:"address",type:"address"}]}],gy=[...Hp,{name:"reverse",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolvedAddress"},{type:"address",name:"reverseResolver"},{type:"address",name:"resolver"}]},{name:"reverse",type:"function",stateMutability:"view",inputs:[{type:"bytes",name:"reverseName"},{type:"string[]",name:"gateways"}],outputs:[{type:"string",name:"resolvedName"},{type:"address",name:"resolvedAddress"},{type:"address",name:"reverseResolver"},{type:"address",name:"resolver"}]}],P1=[{name:"text",type:"function",stateMutability:"view",inputs:[{name:"name",type:"bytes32"},{name:"key",type:"string"}],outputs:[{name:"",type:"string"}]}];function vy(e,t={}){typeof t.size<"u"&&Rt(e,{size:t.size});const n=dt(e,t);return Sp(n,t)}function by(e,t={}){let n=e;if(typeof t.size<"u"&&(Rt(n,{size:t.size}),n=hc(n)),n.length>1||n[0]>1)throw new Zv(n);return!!n[0]}function qt(e,t={}){typeof t.size<"u"&&Rt(e,{size:t.size});const n=dt(e,t);return Qv(n,t)}function yy(e,t={}){let n=e;return typeof t.size<"u"&&(Rt(n,{size:t.size}),n=hc(n,{dir:"right"})),new TextDecoder().decode(n)}function zp(e,t){const n=typeof t=="string"?gc(t):t,r=Xb(n);if(He(n)===0&&e.length>0)throw new xc;if(He(t)&&He(t)<32)throw new rb({data:typeof t=="string"?t:dt(t),params:e,size:He(t)});let o=0;const i=[];for(let a=0;a<e.length;++a){const s=e[a];r.setPosition(o);const[l,u]=hr(r,s,{staticPosition:0});o+=u,i.push(l)}return i}function hr(e,t,{staticPosition:n}){const r=Oc(t.type);if(r){const[o,i]=r;return wy(e,{...t,type:i},{length:o,staticPosition:n})}if(t.type==="tuple")return My(e,t,{staticPosition:n});if(t.type==="address")return xy(e);if(t.type==="bool")return Cy(e);if(t.type.startsWith("bytes"))return Sy(e,t,{staticPosition:n});if(t.type.startsWith("uint")||t.type.startsWith("int"))return Iy(e,t);if(t.type==="string")return Ey(e,{staticPosition:n});throw new ub(t.type,{docsPath:"/docs/contract/decodeAbiParameters"})}const O1=32,fl=32;function xy(e){const t=e.readBytes(32);return[Mc(dt(Ap(t,-20))),32]}function wy(e,t,{length:n,staticPosition:r}){if(!n){const a=qt(e.readBytes(fl)),s=r+a,l=s+O1;e.setPosition(s);const u=qt(e.readBytes(O1)),c=_o(t);let f=0;const p=[];for(let v=0;v<u;++v){e.setPosition(l+(c?v*32:f));const[h,m]=hr(e,t,{staticPosition:l});f+=m,p.push(h)}return e.setPosition(r+32),[p,32]}if(_o(t)){const a=qt(e.readBytes(fl)),s=r+a,l=[];for(let u=0;u<n;++u){e.setPosition(s+u*32);const[c]=hr(e,t,{staticPosition:s});l.push(c)}return e.setPosition(r+32),[l,32]}let o=0;const i=[];for(let a=0;a<n;++a){const[s,l]=hr(e,t,{staticPosition:r+o});o+=l,i.push(s)}return[i,o]}function Cy(e){return[by(e.readBytes(32),{size:32}),32]}function Sy(e,t,{staticPosition:n}){const[r,o]=t.type.split("bytes");if(!o){const i=qt(e.readBytes(32));e.setPosition(n+i);const a=qt(e.readBytes(32));if(a===0)return e.setPosition(n+32),["0x",32];const s=e.readBytes(a);return e.setPosition(n+32),[dt(s),32]}return[dt(e.readBytes(Number.parseInt(o),32)),32]}function Iy(e,t){const n=t.type.startsWith("int"),r=Number.parseInt(t.type.split("int")[1]||"256"),o=e.readBytes(32);return[r>48?vy(o,{signed:n}):qt(o,{signed:n}),32]}function My(e,t,{staticPosition:n}){const r=t.components.length===0||t.components.some(({name:a})=>!a),o=r?[]:{};let i=0;if(_o(t)){const a=qt(e.readBytes(fl)),s=n+a;for(let l=0;l<t.components.length;++l){const u=t.components[l];e.setPosition(s+i);const[c,f]=hr(e,u,{staticPosition:s});i+=f,o[r?l:u==null?void 0:u.name]=c}return e.setPosition(n+32),[o,32]}for(let a=0;a<t.components.length;++a){const s=t.components[a],[l,u]=hr(e,s,{staticPosition:n});o[r?a:s==null?void 0:s.name]=l,i+=u}return[o,i]}function Ey(e,{staticPosition:t}){const n=qt(e.readBytes(32)),r=t+n;e.setPosition(r);const o=qt(e.readBytes(32));if(o===0)return e.setPosition(t+32),["",32];const i=e.readBytes(o,32),a=yy(hc(i));return e.setPosition(t+32),[a,32]}function _o(e){var t;const{type:n}=e;if(n==="string"||n==="bytes"||n.endsWith("[]"))return!0;if(n==="tuple")return(t=e.components)==null?void 0:t.some(_o);const r=Oc(e.type);return!!(r&&_o({...e,type:r[1]}))}const Py=e=>Cr(mc(e));function Oy(e){return Py(e)}const jy="1.0.5";let ft=class pl extends Error{constructor(t,n={}){var r;const o=n.cause instanceof pl?n.cause.details:(r=n.cause)!=null&&r.message?n.cause.message:n.details,i=n.cause instanceof pl&&n.cause.docsPath||n.docsPath,a=[t||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...i?[`Docs: https://abitype.dev${i}`]:[],...o?[`Details: ${o}`]:[],`Version: abitype@${jy}`].join(`
|
|
87
87
|
`);super(a),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiTypeError"}),n.cause&&(this.cause=n.cause),this.details=o,this.docsPath=i,this.metaMessages=n.metaMessages,this.shortMessage=t}};function bn(e,t){const n=e.exec(t);return n==null?void 0:n.groups}const Up=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,Bp=/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,$p=/^\(.+?\).*?$/,j1=/^tuple(?<array>(\[(\d*)\])*)$/;function hl(e){let t=e.type;if(j1.test(e.type)&&"components"in e){t="(";const n=e.components.length;for(let o=0;o<n;o++){const i=e.components[o];t+=hl(i),o<n-1&&(t+=", ")}const r=bn(j1,e.type);return t+=`)${(r==null?void 0:r.array)??""}`,hl({...e,type:t})}return"indexed"in e&&e.indexed&&(t=`${t} indexed`),e.name?`${t} ${e.name}`:t}function Wr(e){let t="";const n=e.length;for(let r=0;r<n;r++){const o=e[r];t+=hl(o),r!==n-1&&(t+=", ")}return t}function ky(e){return e.type==="function"?`function ${e.name}(${Wr(e.inputs)})${e.stateMutability&&e.stateMutability!=="nonpayable"?` ${e.stateMutability}`:""}${e.outputs.length?` returns (${Wr(e.outputs)})`:""}`:e.type==="event"?`event ${e.name}(${Wr(e.inputs)})`:e.type==="error"?`error ${e.name}(${Wr(e.inputs)})`:e.type==="constructor"?`constructor(${Wr(e.inputs)})${e.stateMutability==="payable"?" payable":""}`:e.type==="fallback"?"fallback()":"receive() external payable"}const Wp=/^error (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;function Ny(e){return Wp.test(e)}function Ay(e){return bn(Wp,e)}const Zp=/^event (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)$/;function Ty(e){return Zp.test(e)}function Dy(e){return bn(Zp,e)}const qp=/^function (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*)\((?<parameters>.*?)\)(?: (?<scope>external|public{1}))?(?: (?<stateMutability>pure|view|nonpayable|payable{1}))?(?: returns\s?\((?<returns>.*?)\))?$/;function Fy(e){return qp.test(e)}function Ry(e){return bn(qp,e)}const Gp=/^struct (?<name>[a-zA-Z$_][a-zA-Z0-9$_]*) \{(?<properties>.*?)\}$/;function Yp(e){return Gp.test(e)}function Ly(e){return bn(Gp,e)}const Xp=/^constructor\((?<parameters>.*?)\)(?:\s(?<stateMutability>payable{1}))?$/;function Vy(e){return Xp.test(e)}function _y(e){return bn(Xp,e)}const Hy=/^fallback\(\) external(?:\s(?<stateMutability>payable{1}))?$/;function zy(e){return Hy.test(e)}const Uy=/^receive\(\) external payable$/;function By(e){return Uy.test(e)}const $y=new Set(["indexed"]),ml=new Set(["calldata","memory","storage"]);class Wy extends ft{constructor({type:t}){super("Unknown type.",{metaMessages:[`Type "${t}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownTypeError"})}}class Zy extends ft{constructor({type:t}){super("Unknown type.",{metaMessages:[`Type "${t}" is not a valid ABI type.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSolidityTypeError"})}}class qy extends ft{constructor({param:t}){super("Invalid ABI parameter.",{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParameterError"})}}class Gy extends ft{constructor({param:t,name:n}){super("Invalid ABI parameter.",{details:t,metaMessages:[`"${n}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"SolidityProtectedKeywordError"})}}class Yy extends ft{constructor({param:t,type:n,modifier:r}){super("Invalid ABI parameter.",{details:t,metaMessages:[`Modifier "${r}" not allowed${n?` in "${n}" type`:""}.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidModifierError"})}}class Xy extends ft{constructor({param:t,type:n,modifier:r}){super("Invalid ABI parameter.",{details:t,metaMessages:[`Modifier "${r}" not allowed${n?` in "${n}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${r}" was given.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidFunctionModifierError"})}}class Ky extends ft{constructor({abiParameter:t}){super("Invalid ABI parameter.",{details:JSON.stringify(t,null,2),metaMessages:["ABI parameter type is invalid."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiTypeParameterError"})}}class mo extends ft{constructor({signature:t,type:n}){super(`Invalid ${n} signature.`,{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidSignatureError"})}}class Qy extends ft{constructor({signature:t}){super("Unknown signature.",{details:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"UnknownSignatureError"})}}class Jy extends ft{constructor({signature:t}){super("Invalid struct signature.",{details:t,metaMessages:["No properties exist."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidStructSignatureError"})}}class ex extends ft{constructor({type:t}){super("Circular reference detected.",{metaMessages:[`Struct "${t}" is a circular reference.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"CircularReferenceError"})}}class tx extends ft{constructor({current:t,depth:n}){super("Unbalanced parentheses.",{metaMessages:[`"${t.trim()}" has too many ${n>0?"opening":"closing"} parentheses.`],details:`Depth "${n}"`}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidParenthesisError"})}}function nx(e,t){return t?`${t}:${e}`:e}const rs=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]);function rx(e,t={}){if(Fy(e)){const n=Ry(e);if(!n)throw new mo({signature:e,type:"function"});const r=mt(n.parameters),o=[],i=r.length;for(let s=0;s<i;s++)o.push(Pn(r[s],{modifiers:ml,structs:t,type:"function"}));const a=[];if(n.returns){const s=mt(n.returns),l=s.length;for(let u=0;u<l;u++)a.push(Pn(s[u],{modifiers:ml,structs:t,type:"function"}))}return{name:n.name,type:"function",stateMutability:n.stateMutability??"nonpayable",inputs:o,outputs:a}}if(Ty(e)){const n=Dy(e);if(!n)throw new mo({signature:e,type:"event"});const r=mt(n.parameters),o=[],i=r.length;for(let a=0;a<i;a++)o.push(Pn(r[a],{modifiers:$y,structs:t,type:"event"}));return{name:n.name,type:"event",inputs:o}}if(Ny(e)){const n=Ay(e);if(!n)throw new mo({signature:e,type:"error"});const r=mt(n.parameters),o=[],i=r.length;for(let a=0;a<i;a++)o.push(Pn(r[a],{structs:t,type:"error"}));return{name:n.name,type:"error",inputs:o}}if(Vy(e)){const n=_y(e);if(!n)throw new mo({signature:e,type:"constructor"});const r=mt(n.parameters),o=[],i=r.length;for(let a=0;a<i;a++)o.push(Pn(r[a],{structs:t,type:"constructor"}));return{type:"constructor",stateMutability:n.stateMutability??"nonpayable",inputs:o}}if(zy(e))return{type:"fallback"};if(By(e))return{type:"receive",stateMutability:"payable"};throw new Qy({signature:e})}const ox=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,ix=/^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z$_][a-zA-Z0-9$_]*))?$/,ax=/^u?int$/;function Pn(e,t){var n,r;const o=nx(e,t==null?void 0:t.type);if(rs.has(o))return rs.get(o);const i=$p.test(e),a=bn(i?ix:ox,e);if(!a)throw new qy({param:e});if(a.name&&lx(a.name))throw new Gy({param:e,name:a.name});const s=a.name?{name:a.name}:{},l=a.modifier==="indexed"?{indexed:!0}:{},u=(t==null?void 0:t.structs)??{};let c,f={};if(i){c="tuple";const v=mt(a.type),h=[],m=v.length;for(let b=0;b<m;b++)h.push(Pn(v[b],{structs:u}));f={components:h}}else if(a.type in u)c="tuple",f={components:u[a.type]};else if(ax.test(a.type))c=`${a.type}256`;else if(c=a.type,(t==null?void 0:t.type)!=="struct"&&!Kp(c))throw new Zy({type:c});if(a.modifier){if(!((r=(n=t==null?void 0:t.modifiers)==null?void 0:n.has)!=null&&r.call(n,a.modifier)))throw new Yy({param:e,type:t==null?void 0:t.type,modifier:a.modifier});if(ml.has(a.modifier)&&!cx(c,!!a.array))throw new Xy({param:e,type:t==null?void 0:t.type,modifier:a.modifier})}const p={type:`${c}${a.array??""}`,...s,...l,...f};return rs.set(o,p),p}function mt(e,t=[],n="",r=0){const o=e.trim().length;for(let i=0;i<o;i++){const a=e[i],s=e.slice(i+1);switch(a){case",":return r===0?mt(s,[...t,n.trim()]):mt(s,t,`${n}${a}`,r);case"(":return mt(s,t,`${n}${a}`,r+1);case")":return mt(s,t,`${n}${a}`,r-1);default:return mt(s,t,`${n}${a}`,r)}}if(n==="")return t;if(r!==0)throw new tx({current:n,depth:r});return t.push(n.trim()),t}function Kp(e){return e==="address"||e==="bool"||e==="function"||e==="string"||Up.test(e)||Bp.test(e)}const sx=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;function lx(e){return e==="address"||e==="bool"||e==="function"||e==="string"||e==="tuple"||Up.test(e)||Bp.test(e)||sx.test(e)}function cx(e,t){return t||e==="bytes"||e==="string"||e==="tuple"}function ux(e){const t={},n=e.length;for(let a=0;a<n;a++){const s=e[a];if(!Yp(s))continue;const l=Ly(s);if(!l)throw new mo({signature:s,type:"struct"});const u=l.properties.split(";"),c=[],f=u.length;for(let p=0;p<f;p++){const v=u[p].trim();if(!v)continue;const h=Pn(v,{type:"struct"});c.push(h)}if(!c.length)throw new Jy({signature:s});t[l.name]=c}const r={},o=Object.entries(t),i=o.length;for(let a=0;a<i;a++){const[s,l]=o[a];r[s]=Qp(l,t)}return r}const dx=/^(?<type>[a-zA-Z$_][a-zA-Z0-9$_]*)(?<array>(?:\[\d*?\])+?)?$/;function Qp(e,t,n=new Set){const r=[],o=e.length;for(let i=0;i<o;i++){const a=e[i];if($p.test(a.type))r.push(a);else{const s=bn(dx,a.type);if(!(s!=null&&s.type))throw new Ky({abiParameter:a});const{array:l,type:u}=s;if(u in t){if(n.has(u))throw new ex({type:u});r.push({...a,type:`tuple${l??""}`,components:Qp(t[u]??[],t,new Set([...n,u]))})}else if(Kp(u))r.push(a);else throw new Wy({type:u})}}return r}function Jp(e){const t=ux(e),n=[],r=e.length;for(let o=0;o<r;o++){const i=e[o];Yp(i)||n.push(rx(i,t))}return n}function fx(e){let t=!0,n="",r=0,o="",i=!1;for(let a=0;a<e.length;a++){const s=e[a];if(["(",")",","].includes(s)&&(t=!0),s==="("&&r++,s===")"&&r--,!!t){if(r===0){if(s===" "&&["event","function",""].includes(o))o="";else if(o+=s,s===")"){i=!0;break}continue}if(s===" "){e[a-1]!==","&&n!==","&&n!==",("&&(n="",t=!1);continue}o+=s,n+=s}}if(!i)throw new Y("Unable to normalize signature.");return o}const px=e=>{const t=typeof e=="string"?e:ky(e);return fx(t)};function eh(e){return Oy(px(e))}const hx=eh,kc=e=>Yi(eh(e),0,4);function Nc(e){const{abi:t,args:n=[],name:r}=e,o=Ar(r,{strict:!1}),i=t.filter(s=>o?s.type==="function"?kc(s)===r:s.type==="event"?hx(s)===r:!1:"name"in s&&s.name===r);if(i.length===0)return;if(i.length===1)return i[0];let a;for(const s of i)if("inputs"in s){if(!n||n.length===0){if(!s.inputs||s.inputs.length===0)return s;continue}if(!(!s.inputs||s.inputs.length===0||s.inputs.length!==n.length)&&n.every((l,u)=>{const c="inputs"in s&&s.inputs[u];return c?gl(l,c):!1})){if(a&&"inputs"in a&&a.inputs){const l=th(s.inputs,a.inputs,n);if(l)throw new lb({abiItem:s,type:l[0]},{abiItem:a,type:l[1]})}a=s}}return a||i[0]}function gl(e,t){const n=typeof e,r=t.type;switch(r){case"address":return gn(e,{strict:!1});case"bool":return n==="boolean";case"function":return n==="string";case"string":return n==="string";default:return r==="tuple"&&"components"in t?Object.values(t.components).every((o,i)=>gl(Object.values(e)[i],o)):/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(r)?n==="number"||n==="bigint":/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(r)?n==="string"||e instanceof Uint8Array:/[a-z]+[1-9]{0,3}(\[[0-9]{0,}\])+$/.test(r)?Array.isArray(e)&&e.every(o=>gl(o,{...t,type:r.replace(/(\[[0-9]{0,}\])$/,"")})):!1}}function th(e,t,n){for(const r in e){const o=e[r],i=t[r];if(o.type==="tuple"&&i.type==="tuple"&&"components"in o&&"components"in i)return th(o.components,i.components,n[r]);const a=[o.type,i.type];if(a.includes("address")&&a.includes("bytes20")||(a.includes("address")&&a.includes("string")?gn(n[r],{strict:!1}):a.includes("address")&&a.includes("bytes")&&gn(n[r],{strict:!1})))return a}}const os="/docs/contract/decodeFunctionResult";function Ac(e){const{abi:t,args:n,functionName:r,data:o}=e;let i=t[0];if(r){const s=Nc({abi:t,args:n,name:r});if(!s)throw new Gi(r,{docsPath:os});i=s}if(i.type!=="function")throw new Gi(void 0,{docsPath:os});if(!i.outputs)throw new sb(i.name,{docsPath:os});const a=zp(i.outputs,o);if(a&&a.length>1)return a;if(a&&a.length===1)return a[0]}const k1="/docs/contract/encodeFunctionData";function mx(e){const{abi:t,args:n,functionName:r}=e;let o=t[0];if(r){const i=Nc({abi:t,args:n,name:r});if(!i)throw new Gi(r,{docsPath:k1});o=i}if(o.type!=="function")throw new Gi(void 0,{docsPath:k1});return{abi:[o],functionName:kc(wr(o))}}function Tc(e){const{args:t}=e,{abi:n,functionName:r}=(()=>{var s;return e.abi.length===1&&(s=e.functionName)!=null&&s.startsWith("0x")?e:mx(e)})(),o=n[0],i=r,a="inputs"in o&&o.inputs?Tp(o.inputs,t??[]):void 0;return wc([i,a??"0x"])}function Dc({blockNumber:e,chain:t,contract:n}){var r;const o=(r=t==null?void 0:t.contracts)==null?void 0:r[n];if(!o)throw new rl({chain:t,contract:{name:n}});if(e&&o.blockCreated&&o.blockCreated>e)throw new rl({blockNumber:e,chain:t,contract:{name:n,blockCreated:o.blockCreated}});return o.address}const nh={1:"An `assert` condition failed.",17:"Arithmetic operation resulted in underflow or overflow.",18:"Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).",33:"Attempted to convert to an invalid type.",34:"Attempted to access a storage byte array that is incorrectly encoded.",49:"Performed `.pop()` on an empty array",50:"Array index is out of bounds.",65:"Allocated too much memory or created an array which is too large.",81:"Attempted to call a zero-initialized variable of internal function type."},gx={inputs:[{name:"message",type:"string"}],name:"Error",type:"error"},vx={inputs:[{name:"reason",type:"uint256"}],name:"Panic",type:"error"};function bx(e){const{abi:t,data:n}=e,r=Yi(n,0,4);if(r==="0x")throw new xc;const o=[...t||[],gx,vx].find(i=>i.type==="error"&&r===kc(wr(i)));if(!o)throw new Mp(r,{docsPath:"/docs/contract/decodeErrorResult"});return{abiItem:o,args:"inputs"in o&&o.inputs&&o.inputs.length>0?zp(o.inputs,Yi(n,4)):void 0,errorName:o.name}}function rh({abiItem:e,args:t,includeFunctionName:n=!0,includeName:r=!1}){if("name"in e&&"inputs"in e&&e.inputs)return`${n?e.name:""}(${e.inputs.map((o,i)=>`${r&&o.name?`${o.name}: `:""}${typeof t[i]=="object"?un(t[i]):t[i]}`).join(", ")})`}class yx extends Y{constructor(t,{account:n,docsPath:r,chain:o,data:i,gas:a,gasPrice:s,maxFeePerGas:l,maxPriorityFeePerGas:u,nonce:c,to:f,value:p,stateOverride:v}){var h;const m=n?Ea(n):void 0;let b=Vp({from:m==null?void 0:m.address,to:f,value:typeof p<"u"&&`${Jb(p)} ${((h=o==null?void 0:o.nativeCurrency)==null?void 0:h.symbol)||"ETH"}`,data:i,gas:a,gasPrice:typeof s<"u"&&`${An(s)} gwei`,maxFeePerGas:typeof l<"u"&&`${An(l)} gwei`,maxPriorityFeePerGas:typeof u<"u"&&`${An(u)} gwei`,nonce:c});v&&(b+=`
|
|
88
88
|
${fy(v)}`),super(t.shortMessage,{cause:t,docsPath:r,metaMessages:[...t.metaMessages?[...t.metaMessages," "]:[],"Raw Call Arguments:",b].filter(Boolean),name:"CallExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=t}}class xx extends Y{constructor(t,{abi:n,args:r,contractAddress:o,docsPath:i,functionName:a,sender:s}){const l=Nc({abi:n,args:r,name:a}),u=l?rh({abiItem:l,args:r,includeFunctionName:!1,includeName:!1}):void 0,c=l?wr(l,{includeName:!0}):void 0,f=Vp({address:o&&ty(o),function:c,args:u&&u!=="()"&&`${[...Array((a==null?void 0:a.length)??0).keys()].map(()=>" ").join("")}${u}`,sender:s});super(t.shortMessage||`An unknown error occurred while executing the contract function "${a}".`,{cause:t,docsPath:i,metaMessages:[...t.metaMessages?[...t.metaMessages," "]:[],f&&"Contract Call:",f].filter(Boolean),name:"ContractFunctionExecutionError"}),Object.defineProperty(this,"abi",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"args",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"contractAddress",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"formattedArgs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"functionName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sender",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abi=n,this.args=r,this.cause=t,this.contractAddress=o,this.functionName=a,this.sender=s}}class vl extends Y{constructor({abi:t,data:n,functionName:r,message:o}){let i,a,s,l;if(n&&n!=="0x")try{a=bx({abi:t,data:n});const{abiItem:c,errorName:f,args:p}=a;if(f==="Error")l=p[0];else if(f==="Panic"){const[v]=p;l=nh[v]}else{const v=c?wr(c,{includeName:!0}):void 0,h=c&&p?rh({abiItem:c,args:p,includeFunctionName:!1,includeName:!1}):void 0;s=[v?`Error: ${v}`:"",h&&h!=="()"?` ${[...Array((f==null?void 0:f.length)??0).keys()].map(()=>" ").join("")}${h}`:""]}}catch(c){i=c}else o&&(l=o);let u;i instanceof Mp&&(u=i.signature,s=[`Unable to decode signature "${u}" as it was not found on the provided ABI.`,"Make sure you are using the correct ABI and that the error exists on it.",`You can look up the decoded signature here: https://openchain.xyz/signatures?query=${u}.`]),super(l&&l!=="execution reverted"||u?[`The contract function "${r}" reverted with the following ${u?"signature":"reason"}:`,l||u].join(`
|
|
89
|
-
`):`The contract function "${r}" reverted.`,{cause:i,metaMessages:s,name:"ContractFunctionRevertedError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"reason",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=a,this.reason=l,this.signature=u}}class wx extends Y{constructor({functionName:t}){super(`The contract function "${t}" returned no data ("0x").`,{metaMessages:["This could be due to any of the following:",` - The contract does not have the function "${t}",`," - The parameters passed to the contract function may be invalid, or"," - The address is not a contract."],name:"ContractFunctionZeroDataError"})}}class Cx extends Y{constructor({factory:t}){super(`Deployment for counterfactual contract call failed${t?` for factory "${t}".`:""}`,{metaMessages:["Please ensure:","- The `factory` is a valid contract deployment factory (ie. Create2 Factory, ERC-4337 Factory, etc).","- The `factoryData` is a valid encoded function call for contract deployment function on the factory."],name:"CounterfactualDeploymentFailedError"})}}class oh extends Y{constructor({data:t,message:n}){super(n||"",{name:"RawContractError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t}}function ih(e,t){var n,r,o,i,a,s;if(!(e instanceof Y))return!1;const l=e.walk(u=>u instanceof vl);return l instanceof vl?!!(((n=l.data)==null?void 0:n.errorName)==="ResolverNotFound"||((r=l.data)==null?void 0:r.errorName)==="ResolverWildcardNotSupported"||((o=l.data)==null?void 0:o.errorName)==="ResolverNotContract"||((i=l.data)==null?void 0:i.errorName)==="ResolverError"||((a=l.data)==null?void 0:a.errorName)==="HttpError"||(s=l.reason)!=null&&s.includes("Wildcard on non-extended resolvers is not supported")||t==="reverse"&&l.reason===nh[50]):!1}function ah(e){if(e.length!==66||e.indexOf("[")!==0||e.indexOf("]")!==65)return null;const t=`0x${e.slice(1,65)}`;return Ar(t)?t:null}function Sx(e){let t=new Uint8Array(32).fill(0);if(!e)return dt(t);const n=e.split(".");for(let r=n.length-1;r>=0;r-=1){const o=ah(n[r]),i=o?mc(o):Cr(Nn(n[r]),"bytes");t=Cr(Vn([t,i]),"bytes")}return dt(t)}function Ix(e){return`[${e.slice(2)}]`}function Mx(e){const t=new Uint8Array(32).fill(0);return e?ah(e)||Cr(Nn(e)):dt(t)}function sh(e){const t=e.replace(/^\.|\.$/gm,"");if(t.length===0)return new Uint8Array(1);const n=new Uint8Array(Nn(t).byteLength+2);let r=0;const o=t.split(".");for(let i=0;i<o.length;i++){let a=Nn(o[i]);a.byteLength>255&&(a=Nn(Ix(Mx(o[i])))),n[r]=a.length,n.set(a,r+1),r+=a.length+1}return n.byteLength!==r+1?n.slice(0,r+1):n}const Ex=3;function Px(e,{abi:t,address:n,args:r,docsPath:o,functionName:i,sender:a}){const{code:s,data:l,message:u,shortMessage:c}=e instanceof oh?e:e instanceof Y?e.walk(p=>"data"in p)||e.walk():{},f=e instanceof xc?new wx({functionName:i}):[Ex,_n.code].includes(s)&&(l||u||c)?new vl({abi:t,data:typeof l=="object"?l.data:l,functionName:i,message:c??u}):e;return new xx(f,{abi:t,args:r,contractAddress:n,docsPath:o,functionName:i,sender:a})}const Ox="0x82ad56cb",jx="0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe",kx="0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe";function Nx(e,{docsPath:t,...n}){const r=(()=>{const o=oy(e,n);return o instanceof Lp?e:o})();return new yx(r,{docsPath:t,...n})}const is=new Map;function lh({fn:e,id:t,shouldSplitBatch:n,wait:r=0,sort:o}){const i=async()=>{const c=l();a();const f=c.map(({args:p})=>p);f.length!==0&&e(f).then(p=>{var v;o&&Array.isArray(p)&&p.sort(o);for(let h=0;h<c.length;h++){const{pendingPromise:m}=c[h];(v=m.resolve)==null||v.call(m,[p[h],p])}}).catch(p=>{var v;for(let h=0;h<c.length;h++){const{pendingPromise:m}=c[h];(v=m.reject)==null||v.call(m,p)}})},a=()=>is.delete(t),s=()=>l().map(({args:c})=>c),l=()=>is.get(t)||[],u=c=>is.set(t,[...l(),c]);return{flush:a,async schedule(c){const f={},p=new Promise((v,h)=>{f.resolve=v,f.reject=h});return n!=null&&n([...s(),c])&&i(),l().length>0?(u({args:c,pendingPromise:f}),p):(u({args:c,pendingPromise:f}),setTimeout(i,r),p)}}}async function Ax(e,t){var n,r,o,i;const{account:a=e.account,batch:s=!!((n=e.batch)!=null&&n.multicall),blockNumber:l,blockTag:u="latest",accessList:c,blobs:f,code:p,data:v,factory:h,factoryData:m,gas:b,gasPrice:y,maxFeePerBlobGas:x,maxFeePerGas:S,maxPriorityFeePerGas:M,nonce:w,to:I,value:C,stateOverride:P,...T}=t,F=a?Ea(a):void 0;if(p&&(h||m))throw new Y("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(p&&I)throw new Y("Cannot provide both `code` & `to` as parameters.");const H=p&&v,R=h&&m&&I&&v,B=H||R,E=H?Fx({code:p,data:v}):R?Rx({data:v,factory:h,factoryData:m,to:I}):v;try{cy(t);const N=(l?Ce(l):void 0)||u,A=hy(P),V=(i=(o=(r=e.chain)==null?void 0:r.formatters)==null?void 0:o.transactionRequest)==null?void 0:i.format,$=(V||sy)({...iy(T,{format:V}),from:F==null?void 0:F.address,accessList:c,blobs:f,data:E,gas:b,gasPrice:y,maxFeePerBlobGas:x,maxFeePerGas:S,maxPriorityFeePerGas:M,nonce:w,to:B?void 0:I,value:C});if(s&&Tx({request:$})&&!A)try{return await Dx(e,{...$,blockNumber:l,blockTag:u})}catch(W){if(!(W instanceof Fp)&&!(W instanceof rl))throw W}const L=await e.request({method:"eth_call",params:A?[$,N,A]:[$,N]});return L==="0x"?{data:void 0}:{data:L}}catch(N){const A=Lx(N),{offchainLookup:V,offchainLookupSignature:$}=await i2(async()=>{const{offchainLookup:L,offchainLookupSignature:W}=await import("./ccip-6rlDGLkL-DLquEPm3-DsHnVs3R.js");return{offchainLookup:L,offchainLookupSignature:W}},__vite__mapDeps([0,1,2]));if(e.ccipRead!==!1&&(A==null?void 0:A.slice(0,10))===$&&I)return{data:await V(e,{data:A,to:I})};throw B&&(A==null?void 0:A.slice(0,10))==="0x101bb98d"?new Cx({factory:h}):Nx(N,{...t,account:F,chain:e.chain})}}function Tx({request:e}){const{data:t,to:n,...r}=e;return!(!t||t.startsWith(Ox)||!n||Object.values(r).filter(o=>typeof o<"u").length>0)}async function Dx(e,t){var n;const{batchSize:r=1024,wait:o=0}=typeof((n=e.batch)==null?void 0:n.multicall)=="object"?e.batch.multicall:{},{blockNumber:i,blockTag:a="latest",data:s,multicallAddress:l,to:u}=t;let c=l;if(!c){if(!e.chain)throw new Fp;c=Dc({blockNumber:i,chain:e.chain,contract:"multicall3"})}const f=(i?Ce(i):void 0)||a,{schedule:p}=lh({id:`${e.uid}.${f}`,wait:o,shouldSplitBatch(m){return m.reduce((b,{data:y})=>b+(y.length-2),0)>r*2},fn:async m=>{const b=m.map(S=>({allowFailure:!0,callData:S.data,target:S.to})),y=Tc({abi:E1,args:[b],functionName:"aggregate3"}),x=await e.request({method:"eth_call",params:[{data:y,to:c},f]});return Ac({abi:E1,args:[b],functionName:"aggregate3",data:x||"0x"})}}),[{returnData:v,success:h}]=await p({data:s,to:u});if(!h)throw new oh({data:v});return v==="0x"?{data:void 0}:{data:v}}function Fx(e){const{code:t,data:n}=e;return Dp({abi:Jp(["constructor(bytes, bytes)"]),bytecode:jx,args:[t,n]})}function Rx(e){const{data:t,factory:n,factoryData:r,to:o}=e;return Dp({abi:Jp(["constructor(address, bytes, address, bytes)"]),bytecode:kx,args:[o,t,n,r]})}function Lx(e){var t;if(!(e instanceof Y))return;const n=e.walk();return typeof(n==null?void 0:n.data)=="object"?(t=n.data)==null?void 0:t.data:n.data}async function Qi(e,t){const{abi:n,address:r,args:o,functionName:i,...a}=t,s=Tc({abi:n,args:o,functionName:i});try{const{data:l}=await Pa(e,Ax,"call")({...a,data:s,to:r});return Ac({abi:n,args:o,functionName:i,data:l||"0x"})}catch(l){throw Px(l,{abi:n,address:r,args:o,docsPath:"/docs/contract/readContract",functionName:i})}}class Vx extends Y{constructor({data:t}){super("Unable to extract image from metadata. The metadata may be malformed or invalid.",{metaMessages:["- Metadata must be a JSON object with at least an `image`, `image_url` or `image_data` property.","",`Provided data: ${JSON.stringify(t)}`],name:"EnsAvatarInvalidMetadataError"})}}class Zr extends Y{constructor({reason:t}){super(`ENS NFT avatar URI is invalid. ${t}`,{name:"EnsAvatarInvalidNftUriError"})}}class Fc extends Y{constructor({uri:t}){super(`Unable to resolve ENS avatar URI "${t}". The URI may be malformed, invalid, or does not respond with a valid image.`,{name:"EnsAvatarUriResolutionError"})}}class _x extends Y{constructor({namespace:t}){super(`ENS NFT avatar namespace "${t}" is not supported. Must be "erc721" or "erc1155".`,{name:"EnsAvatarUnsupportedNamespaceError"})}}const Hx=/(?<protocol>https?:\/\/[^\/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/,zx=/^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?<target>[\w\-.]+))?(?<subtarget>\/.*)?$/,Ux=/^data:([a-zA-Z\-/+]*);base64,([^"].*)/,Bx=/^data:([a-zA-Z\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;async function $x(e){try{const t=await fetch(e,{method:"HEAD"});if(t.status===200){const n=t.headers.get("content-type");return n==null?void 0:n.startsWith("image/")}return!1}catch(t){return typeof t=="object"&&typeof t.response<"u"||!globalThis.hasOwnProperty("Image")?!1:new Promise(n=>{const r=new Image;r.onload=()=>{n(!0)},r.onerror=()=>{n(!1)},r.src=e})}}function N1(e,t){return e?e.endsWith("/")?e.slice(0,-1):e:t}function ch({uri:e,gatewayUrls:t}){const n=Ux.test(e);if(n)return{uri:e,isOnChain:!0,isEncoded:n};const r=N1(t==null?void 0:t.ipfs,"https://ipfs.io"),o=N1(t==null?void 0:t.arweave,"https://arweave.net"),i=e.match(Hx),{protocol:a,subpath:s,target:l,subtarget:u=""}=(i==null?void 0:i.groups)||{},c=a==="ipns:/"||s==="ipns/",f=a==="ipfs:/"||s==="ipfs/"||zx.test(e);if(e.startsWith("http")&&!c&&!f){let v=e;return t!=null&&t.arweave&&(v=e.replace(/https:\/\/arweave.net/g,t==null?void 0:t.arweave)),{uri:v,isOnChain:!1,isEncoded:!1}}if((c||f)&&l)return{uri:`${r}/${c?"ipns":"ipfs"}/${l}${u}`,isOnChain:!1,isEncoded:!1};if(a==="ar:/"&&l)return{uri:`${o}/${l}${u||""}`,isOnChain:!1,isEncoded:!1};let p=e.replace(Bx,"");if(p.startsWith("<svg")&&(p=`data:image/svg+xml;base64,${btoa(p)}`),p.startsWith("data:")||p.startsWith("{"))return{uri:p,isOnChain:!0,isEncoded:!1};throw new Fc({uri:e})}function uh(e){if(typeof e!="object"||!("image"in e)&&!("image_url"in e)&&!("image_data"in e))throw new Vx({data:e});return e.image||e.image_url||e.image_data}async function Wx({gatewayUrls:e,uri:t}){try{const n=await fetch(t).then(r=>r.json());return await Rc({gatewayUrls:e,uri:uh(n)})}catch{throw new Fc({uri:t})}}async function Rc({gatewayUrls:e,uri:t}){const{uri:n,isOnChain:r}=ch({uri:t,gatewayUrls:e});if(r||await $x(n))return n;throw new Fc({uri:t})}function Zx(e){let t=e;t.startsWith("did:nft:")&&(t=t.replace("did:nft:","").replace(/_/g,"/"));const[n,r,o]=t.split("/"),[i,a]=n.split(":"),[s,l]=r.split(":");if(!i||i.toLowerCase()!=="eip155")throw new Zr({reason:"Only EIP-155 supported"});if(!a)throw new Zr({reason:"Chain ID not found"});if(!l)throw new Zr({reason:"Contract address not found"});if(!o)throw new Zr({reason:"Token ID not found"});if(!s)throw new Zr({reason:"ERC namespace not found"});return{chainID:Number.parseInt(a),namespace:s.toLowerCase(),contractAddress:l,tokenID:o}}async function qx(e,{nft:t}){if(t.namespace==="erc721")return Qi(e,{address:t.contractAddress,abi:[{name:"tokenURI",type:"function",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"tokenURI",args:[BigInt(t.tokenID)]});if(t.namespace==="erc1155")return Qi(e,{address:t.contractAddress,abi:[{name:"uri",type:"function",stateMutability:"view",inputs:[{name:"_id",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"uri",args:[BigInt(t.tokenID)]});throw new _x({namespace:t.namespace})}async function Gx(e,{gatewayUrls:t,record:n}){return/eip155:/i.test(n)?Yx(e,{gatewayUrls:t,record:n}):Rc({uri:n,gatewayUrls:t})}async function Yx(e,{gatewayUrls:t,record:n}){const r=Zx(n),o=await qx(e,{nft:r}),{uri:i,isOnChain:a,isEncoded:s}=ch({uri:o,gatewayUrls:t});if(a&&(i.includes("data:application/json;base64,")||i.startsWith("{"))){const u=s?atob(i.replace("data:application/json;base64,","")):i,c=JSON.parse(u);return Rc({uri:uh(c),gatewayUrls:t})}let l=r.tokenID;return r.namespace==="erc1155"&&(l=l.replace("0x","").padStart(64,"0")),Wx({gatewayUrls:t,uri:i.replace(/(?:0x)?{id}/,l)})}async function Xx(e,{blockNumber:t,blockTag:n,name:r,key:o,gatewayUrls:i,strict:a,universalResolverAddress:s}){let l=s;if(!l){if(!e.chain)throw new Error("client chain not configured. universalResolverAddress is required.");l=Dc({blockNumber:t,chain:e.chain,contract:"ensUniversalResolver"})}try{const u={address:l,abi:my,functionName:"resolve",args:[vc(sh(r)),Tc({abi:P1,functionName:"text",args:[Sx(r),o]})],blockNumber:t,blockTag:n},c=Pa(e,Qi,"readContract"),f=i?await c({...u,args:[...u.args,i]}):await c(u);if(f[0]==="0x")return null;const p=Ac({abi:P1,functionName:"text",data:f[0]});return p===""?null:p}catch(u){if(a)throw u;if(ih(u,"resolve"))return null;throw u}}async function Kx(e,{blockNumber:t,blockTag:n,assetGatewayUrls:r,name:o,gatewayUrls:i,strict:a,universalResolverAddress:s}){const l=await Pa(e,Xx,"getEnsText")({blockNumber:t,blockTag:n,key:"avatar",name:o,universalResolverAddress:s,gatewayUrls:i,strict:a});if(!l)return null;try{return await Gx(e,{record:l,gatewayUrls:r})}catch{return null}}async function Qx(e,{address:t,blockNumber:n,blockTag:r,gatewayUrls:o,strict:i,universalResolverAddress:a}){let s=a;if(!s){if(!e.chain)throw new Error("client chain not configured. universalResolverAddress is required.");s=Dc({blockNumber:n,chain:e.chain,contract:"ensUniversalResolver"})}const l=`${t.toLowerCase().substring(2)}.addr.reverse`;try{const u={address:s,abi:gy,functionName:"reverse",args:[vc(sh(l))],blockNumber:n,blockTag:r},c=Pa(e,Qi,"readContract"),[f,p]=o?await c({...u,args:[...u.args,o]}):await c(u);return t.toLowerCase()!==p.toLowerCase()?null:f}catch(u){if(i)throw u;if(ih(u,"reverse"))return null;throw u}}async function Jx(e){return new Promise(t=>setTimeout(t,e))}const mi=new Cc(8192);function ew(e,{enabled:t=!0,id:n}){if(!t||!n)return e();if(mi.get(n))return mi.get(n);const r=e().finally(()=>mi.delete(n));return mi.set(n,r),r}function dh(e,{delay:t=100,retryCount:n=2,shouldRetry:r=()=>!0}={}){return new Promise((o,i)=>{const a=async({count:s=0}={})=>{const l=async({error:u})=>{const c=typeof t=="function"?t({count:s,error:u}):t;c&&await Jx(c),a({count:s+1})};try{const u=await e();o(u)}catch(u){if(s<n&&await r({count:s,error:u}))return l({error:u});i(u)}};a()})}function tw(e,t={}){return async(n,r={})=>{const{dedupe:o=!1,retryDelay:i=150,retryCount:a=3,uid:s}={...t,...r},l=o?Cr(bc(`${s}.${un(n)}`)):void 0;return ew(()=>dh(async()=>{try{return await e(n)}catch(u){const c=u;switch(c.code){case Eo.code:throw new Eo(c);case Po.code:throw new Po(c);case Oo.code:throw new Oo(c,{method:n.method});case jo.code:throw new jo(c);case _n.code:throw new _n(c);case ko.code:throw new ko(c);case No.code:throw new No(c);case dn.code:throw new dn(c);case Ao.code:throw new Ao(c);case To.code:throw new To(c,{method:n.method});case Sr.code:throw new Sr(c);case Do.code:throw new Do(c);case $e.code:throw new $e(c);case Fo.code:throw new Fo(c);case Ro.code:throw new Ro(c);case Lo.code:throw new Lo(c);case Vo.code:throw new Vo(c);case Hn.code:throw new Hn(c);case 5e3:throw new $e(c);default:throw u instanceof Y?u:new ry(c)}}},{delay:({count:u,error:c})=>{var f;if(c&&c instanceof go){const p=(f=c==null?void 0:c.headers)==null?void 0:f.get("Retry-After");if(p!=null&&p.match(/\d/))return Number.parseInt(p)*1e3}return~~(1<<u)*i},retryCount:a,shouldRetry:({error:u})=>nw(u)}),{enabled:o,id:l})}}function nw(e){return"code"in e&&typeof e.code=="number"?e.code===-1||e.code===Sr.code||e.code===_n.code:e instanceof go&&e.status?e.status===403||e.status===408||e.status===413||e.status===429||e.status===500||e.status===502||e.status===503||e.status===504:!0}function rw(e){return{formatters:void 0,fees:void 0,serializers:void 0,...e}}function fh(e,{errorInstance:t=new Error("timed out"),timeout:n,signal:r}){return new Promise((o,i)=>{(async()=>{let a;try{const s=new AbortController;n>0&&(a=setTimeout(()=>{r?s.abort():i(t)},n)),o(await e({signal:(s==null?void 0:s.signal)||null}))}catch(s){(s==null?void 0:s.name)==="AbortError"&&i(t),i(s)}finally{clearTimeout(a)}})()})}function ow(){return{current:0,take(){return this.current++},reset(){this.current=0}}}const A1=ow();function iw(e,t={}){return{async request(n){var r;const{body:o,onRequest:i=t.onRequest,onResponse:a=t.onResponse,timeout:s=t.timeout??1e4}=n,l={...t.fetchOptions??{},...n.fetchOptions??{}},{headers:u,method:c,signal:f}=l;try{const p=await fh(async({signal:h})=>{const m={...l,body:Array.isArray(o)?un(o.map(y=>({jsonrpc:"2.0",id:y.id??A1.take(),...y}))):un({jsonrpc:"2.0",id:o.id??A1.take(),...o}),headers:{"Content-Type":"application/json",...u},method:c||"POST",signal:f||(s>0?h:null)},b=new Request(e,m);return i&&await i(b),await fetch(e,m)},{errorInstance:new S1({body:o,url:e}),timeout:s,signal:!0});a&&await a(p);let v;if((r=p.headers.get("Content-Type"))!=null&&r.startsWith("application/json")?v=await p.json():(v=await p.text(),v=JSON.parse(v||"{}")),!p.ok)throw new go({body:o,details:un(v.error)||p.statusText,headers:p.headers,status:p.status,url:e});return v}catch(p){throw p instanceof go||p instanceof S1?p:new go({body:o,cause:p,url:e})}}}}function ph(e,t,n){const r=e[t.name];if(typeof r=="function")return r;const o=e[n];return typeof o=="function"?o:i=>t(e,i)}const Ti="2.13.3",aw=()=>`@wagmi/core@${Ti}`;var hh=function(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)},Ji,mh;let Lc=class bl extends Error{get docsBaseUrl(){return"https://wagmi.sh/core"}get version(){return aw()}constructor(t,n={}){var r;super(),Ji.add(this),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiCoreError"});const o=n.cause instanceof bl?n.cause.details:(r=n.cause)!=null&&r.message?n.cause.message:n.details,i=n.cause instanceof bl&&n.cause.docsPath||n.docsPath;this.message=[t||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...i?[`Docs: ${this.docsBaseUrl}${i}.html${n.docsSlug?`#${n.docsSlug}`:""}`]:[],...o?[`Details: ${o}`]:[],`Version: ${this.version}`].join(`
|
|
89
|
+
`):`The contract function "${r}" reverted.`,{cause:i,metaMessages:s,name:"ContractFunctionRevertedError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"reason",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=a,this.reason=l,this.signature=u}}class wx extends Y{constructor({functionName:t}){super(`The contract function "${t}" returned no data ("0x").`,{metaMessages:["This could be due to any of the following:",` - The contract does not have the function "${t}",`," - The parameters passed to the contract function may be invalid, or"," - The address is not a contract."],name:"ContractFunctionZeroDataError"})}}class Cx extends Y{constructor({factory:t}){super(`Deployment for counterfactual contract call failed${t?` for factory "${t}".`:""}`,{metaMessages:["Please ensure:","- The `factory` is a valid contract deployment factory (ie. Create2 Factory, ERC-4337 Factory, etc).","- The `factoryData` is a valid encoded function call for contract deployment function on the factory."],name:"CounterfactualDeploymentFailedError"})}}class oh extends Y{constructor({data:t,message:n}){super(n||"",{name:"RawContractError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:3}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t}}function ih(e,t){var n,r,o,i,a,s;if(!(e instanceof Y))return!1;const l=e.walk(u=>u instanceof vl);return l instanceof vl?!!(((n=l.data)==null?void 0:n.errorName)==="ResolverNotFound"||((r=l.data)==null?void 0:r.errorName)==="ResolverWildcardNotSupported"||((o=l.data)==null?void 0:o.errorName)==="ResolverNotContract"||((i=l.data)==null?void 0:i.errorName)==="ResolverError"||((a=l.data)==null?void 0:a.errorName)==="HttpError"||(s=l.reason)!=null&&s.includes("Wildcard on non-extended resolvers is not supported")||t==="reverse"&&l.reason===nh[50]):!1}function ah(e){if(e.length!==66||e.indexOf("[")!==0||e.indexOf("]")!==65)return null;const t=`0x${e.slice(1,65)}`;return Ar(t)?t:null}function Sx(e){let t=new Uint8Array(32).fill(0);if(!e)return dt(t);const n=e.split(".");for(let r=n.length-1;r>=0;r-=1){const o=ah(n[r]),i=o?mc(o):Cr(Nn(n[r]),"bytes");t=Cr(Vn([t,i]),"bytes")}return dt(t)}function Ix(e){return`[${e.slice(2)}]`}function Mx(e){const t=new Uint8Array(32).fill(0);return e?ah(e)||Cr(Nn(e)):dt(t)}function sh(e){const t=e.replace(/^\.|\.$/gm,"");if(t.length===0)return new Uint8Array(1);const n=new Uint8Array(Nn(t).byteLength+2);let r=0;const o=t.split(".");for(let i=0;i<o.length;i++){let a=Nn(o[i]);a.byteLength>255&&(a=Nn(Ix(Mx(o[i])))),n[r]=a.length,n.set(a,r+1),r+=a.length+1}return n.byteLength!==r+1?n.slice(0,r+1):n}const Ex=3;function Px(e,{abi:t,address:n,args:r,docsPath:o,functionName:i,sender:a}){const{code:s,data:l,message:u,shortMessage:c}=e instanceof oh?e:e instanceof Y?e.walk(p=>"data"in p)||e.walk():{},f=e instanceof xc?new wx({functionName:i}):[Ex,_n.code].includes(s)&&(l||u||c)?new vl({abi:t,data:typeof l=="object"?l.data:l,functionName:i,message:c??u}):e;return new xx(f,{abi:t,args:r,contractAddress:n,docsPath:o,functionName:i,sender:a})}const Ox="0x82ad56cb",jx="0x608060405234801561001057600080fd5b5060405161018e38038061018e83398101604081905261002f91610124565b6000808351602085016000f59050803b61004857600080fd5b6000808351602085016000855af16040513d6000823e81610067573d81fd5b3d81f35b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009257600080fd5b81516001600160401b038111156100ab576100ab61006b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d9576100d961006b565b6040528181528382016020018510156100f157600080fd5b60005b82811015610110576020818601810151838301820152016100f4565b506000918101602001919091529392505050565b6000806040838503121561013757600080fd5b82516001600160401b0381111561014d57600080fd5b61015985828601610081565b602085015190935090506001600160401b0381111561017757600080fd5b61018385828601610081565b915050925092905056fe",kx="0x608060405234801561001057600080fd5b506040516102c03803806102c083398101604081905261002f916101e6565b836001600160a01b03163b6000036100e457600080836001600160a01b03168360405161005c9190610270565b6000604051808303816000865af19150503d8060008114610099576040519150601f19603f3d011682016040523d82523d6000602084013e61009e565b606091505b50915091508115806100b857506001600160a01b0386163b155b156100e1578060405163101bb98d60e01b81526004016100d8919061028c565b60405180910390fd5b50505b6000808451602086016000885af16040513d6000823e81610103573d81fd5b3d81f35b80516001600160a01b038116811461011e57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561015457818101518382015260200161013c565b50506000910152565b600082601f83011261016e57600080fd5b81516001600160401b0381111561018757610187610123565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101b5576101b5610123565b6040528181528382016020018510156101cd57600080fd5b6101de826020830160208701610139565b949350505050565b600080600080608085870312156101fc57600080fd5b61020585610107565b60208601519094506001600160401b0381111561022157600080fd5b61022d8782880161015d565b93505061023c60408601610107565b60608601519092506001600160401b0381111561025857600080fd5b6102648782880161015d565b91505092959194509250565b60008251610282818460208701610139565b9190910192915050565b60208152600082518060208401526102ab816040850160208701610139565b601f01601f1916919091016040019291505056fe";function Nx(e,{docsPath:t,...n}){const r=(()=>{const o=oy(e,n);return o instanceof Lp?e:o})();return new yx(r,{docsPath:t,...n})}const is=new Map;function lh({fn:e,id:t,shouldSplitBatch:n,wait:r=0,sort:o}){const i=async()=>{const c=l();a();const f=c.map(({args:p})=>p);f.length!==0&&e(f).then(p=>{var v;o&&Array.isArray(p)&&p.sort(o);for(let h=0;h<c.length;h++){const{pendingPromise:m}=c[h];(v=m.resolve)==null||v.call(m,[p[h],p])}}).catch(p=>{var v;for(let h=0;h<c.length;h++){const{pendingPromise:m}=c[h];(v=m.reject)==null||v.call(m,p)}})},a=()=>is.delete(t),s=()=>l().map(({args:c})=>c),l=()=>is.get(t)||[],u=c=>is.set(t,[...l(),c]);return{flush:a,async schedule(c){const f={},p=new Promise((v,h)=>{f.resolve=v,f.reject=h});return n!=null&&n([...s(),c])&&i(),l().length>0?(u({args:c,pendingPromise:f}),p):(u({args:c,pendingPromise:f}),setTimeout(i,r),p)}}}async function Ax(e,t){var n,r,o,i;const{account:a=e.account,batch:s=!!((n=e.batch)!=null&&n.multicall),blockNumber:l,blockTag:u="latest",accessList:c,blobs:f,code:p,data:v,factory:h,factoryData:m,gas:b,gasPrice:y,maxFeePerBlobGas:x,maxFeePerGas:S,maxPriorityFeePerGas:M,nonce:w,to:I,value:C,stateOverride:P,...T}=t,F=a?Ea(a):void 0;if(p&&(h||m))throw new Y("Cannot provide both `code` & `factory`/`factoryData` as parameters.");if(p&&I)throw new Y("Cannot provide both `code` & `to` as parameters.");const H=p&&v,R=h&&m&&I&&v,B=H||R,E=H?Fx({code:p,data:v}):R?Rx({data:v,factory:h,factoryData:m,to:I}):v;try{cy(t);const N=(l?Ce(l):void 0)||u,A=hy(P),V=(i=(o=(r=e.chain)==null?void 0:r.formatters)==null?void 0:o.transactionRequest)==null?void 0:i.format,$=(V||sy)({...iy(T,{format:V}),from:F==null?void 0:F.address,accessList:c,blobs:f,data:E,gas:b,gasPrice:y,maxFeePerBlobGas:x,maxFeePerGas:S,maxPriorityFeePerGas:M,nonce:w,to:B?void 0:I,value:C});if(s&&Tx({request:$})&&!A)try{return await Dx(e,{...$,blockNumber:l,blockTag:u})}catch(W){if(!(W instanceof Fp)&&!(W instanceof rl))throw W}const L=await e.request({method:"eth_call",params:A?[$,N,A]:[$,N]});return L==="0x"?{data:void 0}:{data:L}}catch(N){const A=Lx(N),{offchainLookup:V,offchainLookupSignature:$}=await i2(async()=>{const{offchainLookup:L,offchainLookupSignature:W}=await import("./ccip-6rlDGLkL-DLquEPm3-BAx7HjfJ.js");return{offchainLookup:L,offchainLookupSignature:W}},__vite__mapDeps([0,1,2]));if(e.ccipRead!==!1&&(A==null?void 0:A.slice(0,10))===$&&I)return{data:await V(e,{data:A,to:I})};throw B&&(A==null?void 0:A.slice(0,10))==="0x101bb98d"?new Cx({factory:h}):Nx(N,{...t,account:F,chain:e.chain})}}function Tx({request:e}){const{data:t,to:n,...r}=e;return!(!t||t.startsWith(Ox)||!n||Object.values(r).filter(o=>typeof o<"u").length>0)}async function Dx(e,t){var n;const{batchSize:r=1024,wait:o=0}=typeof((n=e.batch)==null?void 0:n.multicall)=="object"?e.batch.multicall:{},{blockNumber:i,blockTag:a="latest",data:s,multicallAddress:l,to:u}=t;let c=l;if(!c){if(!e.chain)throw new Fp;c=Dc({blockNumber:i,chain:e.chain,contract:"multicall3"})}const f=(i?Ce(i):void 0)||a,{schedule:p}=lh({id:`${e.uid}.${f}`,wait:o,shouldSplitBatch(m){return m.reduce((b,{data:y})=>b+(y.length-2),0)>r*2},fn:async m=>{const b=m.map(S=>({allowFailure:!0,callData:S.data,target:S.to})),y=Tc({abi:E1,args:[b],functionName:"aggregate3"}),x=await e.request({method:"eth_call",params:[{data:y,to:c},f]});return Ac({abi:E1,args:[b],functionName:"aggregate3",data:x||"0x"})}}),[{returnData:v,success:h}]=await p({data:s,to:u});if(!h)throw new oh({data:v});return v==="0x"?{data:void 0}:{data:v}}function Fx(e){const{code:t,data:n}=e;return Dp({abi:Jp(["constructor(bytes, bytes)"]),bytecode:jx,args:[t,n]})}function Rx(e){const{data:t,factory:n,factoryData:r,to:o}=e;return Dp({abi:Jp(["constructor(address, bytes, address, bytes)"]),bytecode:kx,args:[o,t,n,r]})}function Lx(e){var t;if(!(e instanceof Y))return;const n=e.walk();return typeof(n==null?void 0:n.data)=="object"?(t=n.data)==null?void 0:t.data:n.data}async function Qi(e,t){const{abi:n,address:r,args:o,functionName:i,...a}=t,s=Tc({abi:n,args:o,functionName:i});try{const{data:l}=await Pa(e,Ax,"call")({...a,data:s,to:r});return Ac({abi:n,args:o,functionName:i,data:l||"0x"})}catch(l){throw Px(l,{abi:n,address:r,args:o,docsPath:"/docs/contract/readContract",functionName:i})}}class Vx extends Y{constructor({data:t}){super("Unable to extract image from metadata. The metadata may be malformed or invalid.",{metaMessages:["- Metadata must be a JSON object with at least an `image`, `image_url` or `image_data` property.","",`Provided data: ${JSON.stringify(t)}`],name:"EnsAvatarInvalidMetadataError"})}}class Zr extends Y{constructor({reason:t}){super(`ENS NFT avatar URI is invalid. ${t}`,{name:"EnsAvatarInvalidNftUriError"})}}class Fc extends Y{constructor({uri:t}){super(`Unable to resolve ENS avatar URI "${t}". The URI may be malformed, invalid, or does not respond with a valid image.`,{name:"EnsAvatarUriResolutionError"})}}class _x extends Y{constructor({namespace:t}){super(`ENS NFT avatar namespace "${t}" is not supported. Must be "erc721" or "erc1155".`,{name:"EnsAvatarUnsupportedNamespaceError"})}}const Hx=/(?<protocol>https?:\/\/[^\/]*|ipfs:\/|ipns:\/|ar:\/)?(?<root>\/)?(?<subpath>ipfs\/|ipns\/)?(?<target>[\w\-.]+)(?<subtarget>\/.*)?/,zx=/^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\/(?<target>[\w\-.]+))?(?<subtarget>\/.*)?$/,Ux=/^data:([a-zA-Z\-/+]*);base64,([^"].*)/,Bx=/^data:([a-zA-Z\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;async function $x(e){try{const t=await fetch(e,{method:"HEAD"});if(t.status===200){const n=t.headers.get("content-type");return n==null?void 0:n.startsWith("image/")}return!1}catch(t){return typeof t=="object"&&typeof t.response<"u"||!globalThis.hasOwnProperty("Image")?!1:new Promise(n=>{const r=new Image;r.onload=()=>{n(!0)},r.onerror=()=>{n(!1)},r.src=e})}}function N1(e,t){return e?e.endsWith("/")?e.slice(0,-1):e:t}function ch({uri:e,gatewayUrls:t}){const n=Ux.test(e);if(n)return{uri:e,isOnChain:!0,isEncoded:n};const r=N1(t==null?void 0:t.ipfs,"https://ipfs.io"),o=N1(t==null?void 0:t.arweave,"https://arweave.net"),i=e.match(Hx),{protocol:a,subpath:s,target:l,subtarget:u=""}=(i==null?void 0:i.groups)||{},c=a==="ipns:/"||s==="ipns/",f=a==="ipfs:/"||s==="ipfs/"||zx.test(e);if(e.startsWith("http")&&!c&&!f){let v=e;return t!=null&&t.arweave&&(v=e.replace(/https:\/\/arweave.net/g,t==null?void 0:t.arweave)),{uri:v,isOnChain:!1,isEncoded:!1}}if((c||f)&&l)return{uri:`${r}/${c?"ipns":"ipfs"}/${l}${u}`,isOnChain:!1,isEncoded:!1};if(a==="ar:/"&&l)return{uri:`${o}/${l}${u||""}`,isOnChain:!1,isEncoded:!1};let p=e.replace(Bx,"");if(p.startsWith("<svg")&&(p=`data:image/svg+xml;base64,${btoa(p)}`),p.startsWith("data:")||p.startsWith("{"))return{uri:p,isOnChain:!0,isEncoded:!1};throw new Fc({uri:e})}function uh(e){if(typeof e!="object"||!("image"in e)&&!("image_url"in e)&&!("image_data"in e))throw new Vx({data:e});return e.image||e.image_url||e.image_data}async function Wx({gatewayUrls:e,uri:t}){try{const n=await fetch(t).then(r=>r.json());return await Rc({gatewayUrls:e,uri:uh(n)})}catch{throw new Fc({uri:t})}}async function Rc({gatewayUrls:e,uri:t}){const{uri:n,isOnChain:r}=ch({uri:t,gatewayUrls:e});if(r||await $x(n))return n;throw new Fc({uri:t})}function Zx(e){let t=e;t.startsWith("did:nft:")&&(t=t.replace("did:nft:","").replace(/_/g,"/"));const[n,r,o]=t.split("/"),[i,a]=n.split(":"),[s,l]=r.split(":");if(!i||i.toLowerCase()!=="eip155")throw new Zr({reason:"Only EIP-155 supported"});if(!a)throw new Zr({reason:"Chain ID not found"});if(!l)throw new Zr({reason:"Contract address not found"});if(!o)throw new Zr({reason:"Token ID not found"});if(!s)throw new Zr({reason:"ERC namespace not found"});return{chainID:Number.parseInt(a),namespace:s.toLowerCase(),contractAddress:l,tokenID:o}}async function qx(e,{nft:t}){if(t.namespace==="erc721")return Qi(e,{address:t.contractAddress,abi:[{name:"tokenURI",type:"function",stateMutability:"view",inputs:[{name:"tokenId",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"tokenURI",args:[BigInt(t.tokenID)]});if(t.namespace==="erc1155")return Qi(e,{address:t.contractAddress,abi:[{name:"uri",type:"function",stateMutability:"view",inputs:[{name:"_id",type:"uint256"}],outputs:[{name:"",type:"string"}]}],functionName:"uri",args:[BigInt(t.tokenID)]});throw new _x({namespace:t.namespace})}async function Gx(e,{gatewayUrls:t,record:n}){return/eip155:/i.test(n)?Yx(e,{gatewayUrls:t,record:n}):Rc({uri:n,gatewayUrls:t})}async function Yx(e,{gatewayUrls:t,record:n}){const r=Zx(n),o=await qx(e,{nft:r}),{uri:i,isOnChain:a,isEncoded:s}=ch({uri:o,gatewayUrls:t});if(a&&(i.includes("data:application/json;base64,")||i.startsWith("{"))){const u=s?atob(i.replace("data:application/json;base64,","")):i,c=JSON.parse(u);return Rc({uri:uh(c),gatewayUrls:t})}let l=r.tokenID;return r.namespace==="erc1155"&&(l=l.replace("0x","").padStart(64,"0")),Wx({gatewayUrls:t,uri:i.replace(/(?:0x)?{id}/,l)})}async function Xx(e,{blockNumber:t,blockTag:n,name:r,key:o,gatewayUrls:i,strict:a,universalResolverAddress:s}){let l=s;if(!l){if(!e.chain)throw new Error("client chain not configured. universalResolverAddress is required.");l=Dc({blockNumber:t,chain:e.chain,contract:"ensUniversalResolver"})}try{const u={address:l,abi:my,functionName:"resolve",args:[vc(sh(r)),Tc({abi:P1,functionName:"text",args:[Sx(r),o]})],blockNumber:t,blockTag:n},c=Pa(e,Qi,"readContract"),f=i?await c({...u,args:[...u.args,i]}):await c(u);if(f[0]==="0x")return null;const p=Ac({abi:P1,functionName:"text",data:f[0]});return p===""?null:p}catch(u){if(a)throw u;if(ih(u,"resolve"))return null;throw u}}async function Kx(e,{blockNumber:t,blockTag:n,assetGatewayUrls:r,name:o,gatewayUrls:i,strict:a,universalResolverAddress:s}){const l=await Pa(e,Xx,"getEnsText")({blockNumber:t,blockTag:n,key:"avatar",name:o,universalResolverAddress:s,gatewayUrls:i,strict:a});if(!l)return null;try{return await Gx(e,{record:l,gatewayUrls:r})}catch{return null}}async function Qx(e,{address:t,blockNumber:n,blockTag:r,gatewayUrls:o,strict:i,universalResolverAddress:a}){let s=a;if(!s){if(!e.chain)throw new Error("client chain not configured. universalResolverAddress is required.");s=Dc({blockNumber:n,chain:e.chain,contract:"ensUniversalResolver"})}const l=`${t.toLowerCase().substring(2)}.addr.reverse`;try{const u={address:s,abi:gy,functionName:"reverse",args:[vc(sh(l))],blockNumber:n,blockTag:r},c=Pa(e,Qi,"readContract"),[f,p]=o?await c({...u,args:[...u.args,o]}):await c(u);return t.toLowerCase()!==p.toLowerCase()?null:f}catch(u){if(i)throw u;if(ih(u,"reverse"))return null;throw u}}async function Jx(e){return new Promise(t=>setTimeout(t,e))}const mi=new Cc(8192);function ew(e,{enabled:t=!0,id:n}){if(!t||!n)return e();if(mi.get(n))return mi.get(n);const r=e().finally(()=>mi.delete(n));return mi.set(n,r),r}function dh(e,{delay:t=100,retryCount:n=2,shouldRetry:r=()=>!0}={}){return new Promise((o,i)=>{const a=async({count:s=0}={})=>{const l=async({error:u})=>{const c=typeof t=="function"?t({count:s,error:u}):t;c&&await Jx(c),a({count:s+1})};try{const u=await e();o(u)}catch(u){if(s<n&&await r({count:s,error:u}))return l({error:u});i(u)}};a()})}function tw(e,t={}){return async(n,r={})=>{const{dedupe:o=!1,retryDelay:i=150,retryCount:a=3,uid:s}={...t,...r},l=o?Cr(bc(`${s}.${un(n)}`)):void 0;return ew(()=>dh(async()=>{try{return await e(n)}catch(u){const c=u;switch(c.code){case Eo.code:throw new Eo(c);case Po.code:throw new Po(c);case Oo.code:throw new Oo(c,{method:n.method});case jo.code:throw new jo(c);case _n.code:throw new _n(c);case ko.code:throw new ko(c);case No.code:throw new No(c);case dn.code:throw new dn(c);case Ao.code:throw new Ao(c);case To.code:throw new To(c,{method:n.method});case Sr.code:throw new Sr(c);case Do.code:throw new Do(c);case $e.code:throw new $e(c);case Fo.code:throw new Fo(c);case Ro.code:throw new Ro(c);case Lo.code:throw new Lo(c);case Vo.code:throw new Vo(c);case Hn.code:throw new Hn(c);case 5e3:throw new $e(c);default:throw u instanceof Y?u:new ry(c)}}},{delay:({count:u,error:c})=>{var f;if(c&&c instanceof go){const p=(f=c==null?void 0:c.headers)==null?void 0:f.get("Retry-After");if(p!=null&&p.match(/\d/))return Number.parseInt(p)*1e3}return~~(1<<u)*i},retryCount:a,shouldRetry:({error:u})=>nw(u)}),{enabled:o,id:l})}}function nw(e){return"code"in e&&typeof e.code=="number"?e.code===-1||e.code===Sr.code||e.code===_n.code:e instanceof go&&e.status?e.status===403||e.status===408||e.status===413||e.status===429||e.status===500||e.status===502||e.status===503||e.status===504:!0}function rw(e){return{formatters:void 0,fees:void 0,serializers:void 0,...e}}function fh(e,{errorInstance:t=new Error("timed out"),timeout:n,signal:r}){return new Promise((o,i)=>{(async()=>{let a;try{const s=new AbortController;n>0&&(a=setTimeout(()=>{r?s.abort():i(t)},n)),o(await e({signal:(s==null?void 0:s.signal)||null}))}catch(s){(s==null?void 0:s.name)==="AbortError"&&i(t),i(s)}finally{clearTimeout(a)}})()})}function ow(){return{current:0,take(){return this.current++},reset(){this.current=0}}}const A1=ow();function iw(e,t={}){return{async request(n){var r;const{body:o,onRequest:i=t.onRequest,onResponse:a=t.onResponse,timeout:s=t.timeout??1e4}=n,l={...t.fetchOptions??{},...n.fetchOptions??{}},{headers:u,method:c,signal:f}=l;try{const p=await fh(async({signal:h})=>{const m={...l,body:Array.isArray(o)?un(o.map(y=>({jsonrpc:"2.0",id:y.id??A1.take(),...y}))):un({jsonrpc:"2.0",id:o.id??A1.take(),...o}),headers:{"Content-Type":"application/json",...u},method:c||"POST",signal:f||(s>0?h:null)},b=new Request(e,m);return i&&await i(b),await fetch(e,m)},{errorInstance:new S1({body:o,url:e}),timeout:s,signal:!0});a&&await a(p);let v;if((r=p.headers.get("Content-Type"))!=null&&r.startsWith("application/json")?v=await p.json():(v=await p.text(),v=JSON.parse(v||"{}")),!p.ok)throw new go({body:o,details:un(v.error)||p.statusText,headers:p.headers,status:p.status,url:e});return v}catch(p){throw p instanceof go||p instanceof S1?p:new go({body:o,cause:p,url:e})}}}}function ph(e,t,n){const r=e[t.name];if(typeof r=="function")return r;const o=e[n];return typeof o=="function"?o:i=>t(e,i)}const Ti="2.13.3",aw=()=>`@wagmi/core@${Ti}`;var hh=function(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)},Ji,mh;let Lc=class bl extends Error{get docsBaseUrl(){return"https://wagmi.sh/core"}get version(){return aw()}constructor(t,n={}){var r;super(),Ji.add(this),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"metaMessages",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiCoreError"});const o=n.cause instanceof bl?n.cause.details:(r=n.cause)!=null&&r.message?n.cause.message:n.details,i=n.cause instanceof bl&&n.cause.docsPath||n.docsPath;this.message=[t||"An error occurred.","",...n.metaMessages?[...n.metaMessages,""]:[],...i?[`Docs: ${this.docsBaseUrl}${i}.html${n.docsSlug?`#${n.docsSlug}`:""}`]:[],...o?[`Details: ${o}`]:[],`Version: ${this.version}`].join(`
|
|
90
90
|
`),n.cause&&(this.cause=n.cause),this.details=o,this.docsPath=i,this.metaMessages=n.metaMessages,this.shortMessage=t}walk(t){return hh(this,Ji,"m",mh).call(this,this,t)}};Ji=new WeakSet,mh=function e(t,n){return n!=null&&n(t)?t:t.cause?hh(this,Ji,"m",e).call(this,t.cause,n):t};class yl extends Lc{constructor(){super("Chain not configured."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ChainNotConfiguredError"})}}const xl=256;let gi=xl,vi;function gh(e=11){if(!vi||gi+e>xl*2){vi="",gi=0;for(let t=0;t<xl;t++)vi+=(256+Math.random()*256|0).toString(16).substring(1)}return vi.substring(gi,gi+++e)}function sw(e){const{batch:t,cacheTime:n=e.pollingInterval??4e3,ccipRead:r,key:o="base",name:i="Base Client",pollingInterval:a=4e3,type:s="base"}=e,l=e.chain,u=e.account?Ea(e.account):void 0,{config:c,request:f,value:p}=e.transport({chain:l,pollingInterval:a}),v={...c,...p},h={account:u,batch:t,cacheTime:n,ccipRead:r,chain:l,key:o,name:i,pollingInterval:a,request:f,transport:v,type:s,uid:gh()};function m(b){return y=>{const x=y(b);for(const M in h)delete x[M];const S={...b,...x};return Object.assign(S,{extend:m(S)})}}return Object.assign(h,{extend:m(h)})}function lw({key:e,name:t,request:n,retryCount:r=3,retryDelay:o=150,timeout:i,type:a},s){const l=gh();return{config:{key:e,name:t,request:n,retryCount:r,retryDelay:o,timeout:i,type:a},request:tw(n,{retryCount:r,retryDelay:o,uid:l}),value:s}}class cw extends Y{constructor(){super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.",{docsPath:"/docs/clients/intro",name:"UrlRequiredError"})}}function uw(e,t={}){const{batch:n,fetchOptions:r,key:o="http",name:i="HTTP JSON-RPC",onFetchRequest:a,onFetchResponse:s,retryDelay:l}=t;return({chain:u,retryCount:c,timeout:f})=>{const{batchSize:p=1e3,wait:v=0}=typeof n=="object"?n:{},h=t.retryCount??c,m=f??t.timeout??1e4,b=u==null?void 0:u.rpcUrls.default.http[0];if(!b)throw new cw;const y=iw(b,{fetchOptions:r,onRequest:a,onResponse:s,timeout:m});return lw({key:o,name:i,async request({method:x,params:S}){const M={method:x,params:S},{schedule:w}=lh({id:b,wait:v,shouldSplitBatch(T){return T.length>p},fn:T=>y.request({body:T}),sort:(T,F)=>T.id-F.id}),I=async T=>n?w(T):[await y.request({body:T})],[{error:C,result:P}]=await I(M);if(C)throw new _p({body:M,error:C,url:b});return P},retryCount:h,retryDelay:l,timeout:m,type:"http"},{fetchOptions:r,url:b})}}function T1(e){return e.state.chainId}function dw(e,t){const{chainId:n,...r}=t,o=e.getClient({chainId:n});return ph(o,Kx,"getEnsAvatar")(r)}function fw(e,t){const{chainId:n,...r}=t,o=e.getClient({chainId:n});return ph(o,Qx,"getEnsName")(r)}class Xn extends Lc{constructor(){super("Provider not found."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ProviderNotFoundError"})}}function pw(e,t){const{onChange:n}=t;return e.subscribe(r=>r.chainId,n)}const hw=/(rabby|trustwallet)/,mw={coinbaseWallet:{id:"coinbaseWallet",name:"Coinbase Wallet",provider(e){return e!=null&&e.coinbaseWalletExtension?e.coinbaseWalletExtension:Di(e,"isCoinbaseWallet")}},metaMask:{id:"metaMask",name:"MetaMask",provider(e){return Di(e,t=>{if(!t.isMetaMask||t.isBraveWallet&&!t._events&&!t._state)return!1;const n=["isApexWallet","isAvalanche","isBitKeep","isBlockWallet","isKuCoinWallet","isMathWallet","isOkxWallet","isOKExWallet","isOneInchIOSWallet","isOneInchAndroidWallet","isOpera","isPortal","isRabby","isTokenPocket","isTokenary","isZerion"];for(const r of n)if(t[r])return!1;return!0})}},phantom:{id:"phantom",name:"Phantom",provider(e){var t,n;return(t=e==null?void 0:e.phantom)!=null&&t.ethereum?(n=e.phantom)==null?void 0:n.ethereum:Di(e,"isPhantom")}}};Vc.type="injected";function Vc(e={}){const{shimDisconnect:t=!0,unstable_shimAsyncInject:n}=e;function r(){const l=e.target;if(typeof l=="function"){const u=l();if(u)return u}return typeof l=="object"?l:typeof l=="string"?{...mw[l]??{id:l,name:`${l[0].toUpperCase()}${l.slice(1)}`,provider:`is${l[0].toUpperCase()}${l.slice(1)}`}}:{id:"injected",name:"Injected",provider(u){return u==null?void 0:u.ethereum}}}let o,i,a,s;return l=>({get icon(){return r().icon},get id(){return r().id},get name(){return r().name},get supportsSimulation(){return hw.test(this.id.toLowerCase())},type:Vc.type,async setup(){const u=await this.getProvider();u&&e.target&&(a||(a=this.onConnect.bind(this),u.on("connect",a)),o||(o=this.onAccountsChanged.bind(this),u.on("accountsChanged",o)))},async connect({chainId:u,isReconnecting:c}={}){var f,p,v,h,m,b;const y=await this.getProvider();if(!y)throw new Xn;let x=[];if(c)x=await this.getAccounts().catch(()=>[]);else if(t)try{x=(h=(v=(p=(f=(await y.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]}))[0])==null?void 0:f.caveats)==null?void 0:p[0])==null?void 0:v.value)==null?void 0:h.map(S=>hi(S)),x.length>0&&(x=await this.getAccounts())}catch(S){const M=S;if(M.code===$e.code)throw new $e(M);if(M.code===dn.code)throw M}try{!(x!=null&&x.length)&&!c&&(x=(await y.request({method:"eth_requestAccounts"})).map(M=>hi(M))),a&&(y.removeListener("connect",a),a=void 0),o||(o=this.onAccountsChanged.bind(this),y.on("accountsChanged",o)),i||(i=this.onChainChanged.bind(this),y.on("chainChanged",i)),s||(s=this.onDisconnect.bind(this),y.on("disconnect",s));let S=await this.getChainId();if(u&&S!==u){const M=await this.switchChain({chainId:u}).catch(w=>{if(w.code===$e.code)throw w;return{id:S}});S=(M==null?void 0:M.id)??S}return t&&await((m=l.storage)==null?void 0:m.removeItem(`${this.id}.disconnected`)),e.target||await((b=l.storage)==null?void 0:b.setItem("injected.connected",!0)),{accounts:x,chainId:S}}catch(S){const M=S;throw M.code===$e.code?new $e(M):M.code===dn.code?new dn(M):M}},async disconnect(){var u,c;const f=await this.getProvider();if(!f)throw new Xn;i&&(f.removeListener("chainChanged",i),i=void 0),s&&(f.removeListener("disconnect",s),s=void 0),a||(a=this.onConnect.bind(this),f.on("connect",a));try{await fh(()=>f.request({method:"wallet_revokePermissions",params:[{eth_accounts:{}}]}),{timeout:100})}catch{}t&&await((u=l.storage)==null?void 0:u.setItem(`${this.id}.disconnected`,!0)),e.target||await((c=l.storage)==null?void 0:c.removeItem("injected.connected"))},async getAccounts(){const u=await this.getProvider();if(!u)throw new Xn;return(await u.request({method:"eth_accounts"})).map(c=>hi(c))},async getChainId(){const u=await this.getProvider();if(!u)throw new Xn;const c=await u.request({method:"eth_chainId"});return Number(c)},async getProvider(){if(typeof window>"u")return;let u;const c=r();return typeof c.provider=="function"?u=c.provider(window):typeof c.provider=="string"?u=Di(window,c.provider):u=c.provider,u&&!u.removeListener&&("off"in u&&typeof u.off=="function"?u.removeListener=u.off:u.removeListener=()=>{}),u},async isAuthorized(){var u,c;try{if(t&&await((u=l.storage)==null?void 0:u.getItem(`${this.id}.disconnected`))||!e.target&&!await((c=l.storage)==null?void 0:c.getItem("injected.connected")))return!1;if(!await this.getProvider()){if(n!==void 0&&n!==!1){const f=async()=>(typeof window<"u"&&window.removeEventListener("ethereum#initialized",f),!!await this.getProvider()),p=typeof n=="number"?n:1e3;if(await Promise.race([...typeof window<"u"?[new Promise(v=>window.addEventListener("ethereum#initialized",()=>v(f()),{once:!0}))]:[],new Promise(v=>setTimeout(()=>v(f()),p))]))return!0}throw new Xn}return!!(await dh(()=>this.getAccounts())).length}catch{return!1}},async switchChain({addEthereumChainParameter:u,chainId:c}){var f,p,v,h;const m=await this.getProvider();if(!m)throw new Xn;const b=l.chains.find(y=>y.id===c);if(!b)throw new Hn(new yl);try{return await Promise.all([m.request({method:"wallet_switchEthereumChain",params:[{chainId:Ce(c)}]}).then(async()=>{await this.getChainId()===c&&l.emitter.emit("change",{chainId:c})}),new Promise(y=>l.emitter.once("change",({chainId:x})=>{x===c&&y()}))]),b}catch(y){const x=y;if(x.code===4902||((p=(f=x==null?void 0:x.data)==null?void 0:f.originalError)==null?void 0:p.code)===4902)try{const{default:S,...M}=b.blockExplorers??{};let w;u!=null&&u.blockExplorerUrls?w=u.blockExplorerUrls:S&&(w=[S.url,...Object.values(M).map(P=>P.url)]);let I;(v=u==null?void 0:u.rpcUrls)!=null&&v.length?I=u.rpcUrls:I=[((h=b.rpcUrls.default)==null?void 0:h.http[0])??""];const C={blockExplorerUrls:w,chainId:Ce(c),chainName:(u==null?void 0:u.chainName)??b.name,iconUrls:u==null?void 0:u.iconUrls,nativeCurrency:(u==null?void 0:u.nativeCurrency)??b.nativeCurrency,rpcUrls:I};if(await m.request({method:"wallet_addEthereumChain",params:[C]}),await this.getChainId()!==c)throw new $e(new Error("User rejected switch after adding network."));return b}catch(S){throw new $e(S)}throw x.code===$e.code?new $e(x):new Hn(x)}},async onAccountsChanged(u){var c;if(u.length===0)this.onDisconnect();else if(l.emitter.listenerCount("connect")){const f=(await this.getChainId()).toString();this.onConnect({chainId:f}),t&&await((c=l.storage)==null?void 0:c.removeItem(`${this.id}.disconnected`))}else l.emitter.emit("change",{accounts:u.map(f=>hi(f))})},onChainChanged(u){const c=Number(u);l.emitter.emit("change",{chainId:c})},async onConnect(u){const c=await this.getAccounts();if(c.length===0)return;const f=Number(u.chainId);l.emitter.emit("connect",{accounts:c,chainId:f});const p=await this.getProvider();p&&(a&&(p.removeListener("connect",a),a=void 0),o||(o=this.onAccountsChanged.bind(this),p.on("accountsChanged",o)),i||(i=this.onChainChanged.bind(this),p.on("chainChanged",i)),s||(s=this.onDisconnect.bind(this),p.on("disconnect",s)))},async onDisconnect(u){const c=await this.getProvider();u&&u.code===1013&&c&&(await this.getAccounts()).length||(l.emitter.emit("disconnect"),c&&(i&&(c.removeListener("chainChanged",i),i=void 0),s&&(c.removeListener("disconnect",s),s=void 0),a||(a=this.onConnect.bind(this),c.on("connect",a))))}})}function Di(e,t){function n(o){return typeof t=="function"?t(o):typeof t=="string"?o[t]:!0}const r=e.ethereum;if(r!=null&&r.providers)return r.providers.find(o=>n(o));if(r&&n(r))return r}function gw(e){if(typeof window>"u")return;const t=n=>e(n.detail);return window.addEventListener("eip6963:announceProvider",t),window.dispatchEvent(new CustomEvent("eip6963:requestProvider")),()=>window.removeEventListener("eip6963:announceProvider",t)}function vw(){const e=new Set;let t=[];const n=()=>gw(o=>{t.some(({info:i})=>i.uuid===o.info.uuid)||(t=[...t,o],e.forEach(i=>i(t,{added:[o]})))});let r=n();return{_listeners(){return e},clear(){e.forEach(o=>o([],{removed:[...t]})),t=[]},destroy(){this.clear(),e.clear(),r==null||r()},findProvider({rdns:o}){return t.find(i=>i.info.rdns===o)},getProviders(){return t},reset(){this.clear(),r==null||r(),r=n()},subscribe(o,{emitImmediately:i}={}){return e.add(o),i&&o(t,{added:t}),()=>e.delete(o)}}}const bw={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1},yw=e=>(t,n,r)=>{const o=r.subscribe;return r.subscribe=(i,a,s)=>{let l=i;if(a){const u=(s==null?void 0:s.equalityFn)||Object.is;let c=i(r.getState());l=f=>{const p=i(f);if(!u(c,p)){const v=c;a(c=p,v)}},s!=null&&s.fireImmediately&&a(c,c)}return o(l)},e(t,n,r)},xw=yw;function ww(e,t){let n;try{n=e()}catch{return}return{getItem:r=>{var o;const i=s=>s===null?null:JSON.parse(s,void 0),a=(o=n.getItem(r))!=null?o:null;return a instanceof Promise?a.then(i):i(a)},setItem:(r,o)=>n.setItem(r,JSON.stringify(o,void 0)),removeItem:r=>n.removeItem(r)}}const Ho=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return Ho(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return Ho(r)(n)}}}},Cw=(e,t)=>(n,r,o)=>{let i={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:b=>b,version:0,merge:(b,y)=>({...y,...b}),...t},a=!1;const s=new Set,l=new Set;let u;try{u=i.getStorage()}catch{}if(!u)return e((...b)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...b)},r,o);const c=Ho(i.serialize),f=()=>{const b=i.partialize({...r()});let y;const x=c({state:b,version:i.version}).then(S=>u.setItem(i.name,S)).catch(S=>{y=S});if(y)throw y;return x},p=o.setState;o.setState=(b,y)=>{p(b,y),f()};const v=e((...b)=>{n(...b),f()},r,o);let h;const m=()=>{var b;if(!u)return;a=!1,s.forEach(x=>x(r()));const y=((b=i.onRehydrateStorage)==null?void 0:b.call(i,r()))||void 0;return Ho(u.getItem.bind(u))(i.name).then(x=>{if(x)return i.deserialize(x)}).then(x=>{if(x)if(typeof x.version=="number"&&x.version!==i.version){if(i.migrate)return i.migrate(x.state,x.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return x.state}).then(x=>{var S;return h=i.merge(x,(S=r())!=null?S:v),n(h,!0),f()}).then(()=>{y==null||y(h,void 0),a=!0,l.forEach(x=>x(h))}).catch(x=>{y==null||y(void 0,x)})};return o.persist={setOptions:b=>{i={...i,...b},b.getStorage&&(u=b.getStorage())},clearStorage:()=>{u==null||u.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>m(),hasHydrated:()=>a,onHydrate:b=>(s.add(b),()=>{s.delete(b)}),onFinishHydration:b=>(l.add(b),()=>{l.delete(b)})},m(),h||v},Sw=(e,t)=>(n,r,o)=>{let i={storage:ww(()=>localStorage),partialize:m=>m,version:0,merge:(m,b)=>({...b,...m}),...t},a=!1;const s=new Set,l=new Set;let u=i.storage;if(!u)return e((...m)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...m)},r,o);const c=()=>{const m=i.partialize({...r()});return u.setItem(i.name,{state:m,version:i.version})},f=o.setState;o.setState=(m,b)=>{f(m,b),c()};const p=e((...m)=>{n(...m),c()},r,o);let v;const h=()=>{var m,b;if(!u)return;a=!1,s.forEach(x=>{var S;return x((S=r())!=null?S:p)});const y=((b=i.onRehydrateStorage)==null?void 0:b.call(i,(m=r())!=null?m:p))||void 0;return Ho(u.getItem.bind(u))(i.name).then(x=>{if(x)if(typeof x.version=="number"&&x.version!==i.version){if(i.migrate)return i.migrate(x.state,x.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return x.state}).then(x=>{var S;return v=i.merge(x,(S=r())!=null?S:p),n(v,!0),c()}).then(()=>{y==null||y(v,void 0),v=r(),a=!0,l.forEach(x=>x(v))}).catch(x=>{y==null||y(void 0,x)})};return o.persist={setOptions:m=>{i={...i,...m},m.storage&&(u=m.storage)},clearStorage:()=>{u==null||u.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>h(),hasHydrated:()=>a,onHydrate:m=>(s.add(m),()=>{s.delete(m)}),onFinishHydration:m=>(l.add(m),()=>{l.delete(m)})},i.skipHydration||h(),v||p},Iw=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?((bw?"production":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),Cw(e,t)):Sw(e,t),Mw=Iw,Ew={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1},D1=e=>{let t;const n=new Set,r=(a,s)=>{const l=typeof a=="function"?a(t):a;if(!Object.is(l,t)){const u=t;t=s??typeof l!="object"?l:Object.assign({},t,l),n.forEach(c=>c(t,u))}},o=()=>t,i={setState:r,getState:o,subscribe:a=>(n.add(a),()=>n.delete(a)),destroy:()=>{(Ew?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return t=e(r,o,i),i},as=e=>e?D1(e):D1;var vh={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function o(l,u,c){this.fn=l,this.context=u,this.once=c||!1}function i(l,u,c,f,p){if(typeof c!="function")throw new TypeError("The listener must be a function");var v=new o(c,f||l,p),h=n?n+u:u;return l._events[h]?l._events[h].fn?l._events[h]=[l._events[h],v]:l._events[h].push(v):(l._events[h]=v,l._eventsCount++),l}function a(l,u){--l._eventsCount===0?l._events=new r:delete l._events[u]}function s(){this._events=new r,this._eventsCount=0}s.prototype.eventNames=function(){var l=[],u,c;if(this._eventsCount===0)return l;for(c in u=this._events)t.call(u,c)&&l.push(n?c.slice(1):c);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(u)):l},s.prototype.listeners=function(l){var u=n?n+l:l,c=this._events[u];if(!c)return[];if(c.fn)return[c.fn];for(var f=0,p=c.length,v=new Array(p);f<p;f++)v[f]=c[f].fn;return v},s.prototype.listenerCount=function(l){var u=n?n+l:l,c=this._events[u];return c?c.fn?1:c.length:0},s.prototype.emit=function(l,u,c,f,p,v){var h=n?n+l:l;if(!this._events[h])return!1;var m=this._events[h],b=arguments.length,y,x;if(m.fn){switch(m.once&&this.removeListener(l,m.fn,void 0,!0),b){case 1:return m.fn.call(m.context),!0;case 2:return m.fn.call(m.context,u),!0;case 3:return m.fn.call(m.context,u,c),!0;case 4:return m.fn.call(m.context,u,c,f),!0;case 5:return m.fn.call(m.context,u,c,f,p),!0;case 6:return m.fn.call(m.context,u,c,f,p,v),!0}for(x=1,y=new Array(b-1);x<b;x++)y[x-1]=arguments[x];m.fn.apply(m.context,y)}else{var S=m.length,M;for(x=0;x<S;x++)switch(m[x].once&&this.removeListener(l,m[x].fn,void 0,!0),b){case 1:m[x].fn.call(m[x].context);break;case 2:m[x].fn.call(m[x].context,u);break;case 3:m[x].fn.call(m[x].context,u,c);break;case 4:m[x].fn.call(m[x].context,u,c,f);break;default:if(!y)for(M=1,y=new Array(b-1);M<b;M++)y[M-1]=arguments[M];m[x].fn.apply(m[x].context,y)}}return!0},s.prototype.on=function(l,u,c){return i(this,l,u,c,!1)},s.prototype.once=function(l,u,c){return i(this,l,u,c,!0)},s.prototype.removeListener=function(l,u,c,f){var p=n?n+l:l;if(!this._events[p])return this;if(!u)return a(this,p),this;var v=this._events[p];if(v.fn)v.fn===u&&(!f||v.once)&&(!c||v.context===c)&&a(this,p);else{for(var h=0,m=[],b=v.length;h<b;h++)(v[h].fn!==u||f&&!v[h].once||c&&v[h].context!==c)&&m.push(v[h]);m.length?this._events[p]=m.length===1?m[0]:m:a(this,p)}return this},s.prototype.removeAllListeners=function(l){var u;return l?(u=n?n+l:l,this._events[u]&&a(this,u)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s})(vh);var Pw=vh.exports;const Ow=cc(Pw);class jw{constructor(t){Object.defineProperty(this,"uid",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"_emitter",{enumerable:!0,configurable:!0,writable:!0,value:new Ow})}on(t,n){this._emitter.on(t,n)}once(t,n){this._emitter.once(t,n)}off(t,n){this._emitter.off(t,n)}emit(t,...n){const r=n[0];this._emitter.emit(t,{uid:this.uid,...r})}listenerCount(t){return this._emitter.listenerCount(t)}}function kw(e){return new jw(e)}function Nw(e,t){return JSON.parse(e,(n,r)=>{let o=r;return(o==null?void 0:o.__type)==="bigint"&&(o=BigInt(o.value)),(o==null?void 0:o.__type)==="Map"&&(o=new Map(o.value)),(t==null?void 0:t(n,o))??o})}function F1(e,t){return e.slice(0,t).join(".")||"."}function R1(e,t){const{length:n}=e;for(let r=0;r<n;++r)if(e[r]===t)return r+1;return 0}function Aw(e,t){const n=typeof e=="function",r=typeof t=="function",o=[],i=[];return function(a,s){if(typeof s=="object")if(o.length){const l=R1(o,this);l===0?o[o.length]=this:(o.splice(l),i.splice(l)),i[i.length]=a;const u=R1(o,s);if(u!==0)return r?t.call(this,a,s,F1(i,u)):`[ref=${F1(i,u)}]`}else o[0]=s,i[0]=a;return n?e.call(this,a,s):s}}function Tw(e,t,n,r){return JSON.stringify(e,Aw((o,i)=>{let a=i;return typeof a=="bigint"&&(a={__type:"bigint",value:i.toString()}),a instanceof Map&&(a={__type:"Map",value:Array.from(i.entries())}),(t==null?void 0:t(o,a))??a},r),n??void 0)}function Dw(e){const{deserialize:t=Nw,key:n="wagmi",serialize:r=Tw,storage:o=bh}=e;function i(a){return a instanceof Promise?a.then(s=>s).catch(()=>null):a}return{...o,key:n,async getItem(a,s){const l=o.getItem(`${n}.${a}`),u=await i(l);return u?t(u)??null:s??null},async setItem(a,s){const l=`${n}.${a}`;s===null?await i(o.removeItem(l)):await i(o.setItem(l,r(s)))},async removeItem(a){await i(o.removeItem(`${n}.${a}`))}}}const bh={getItem:()=>null,setItem:()=>{},removeItem:()=>{}},wl=256;let bi=wl,yi;function Fw(e=11){if(!yi||bi+e>wl*2){yi="",bi=0;for(let t=0;t<wl;t++)yi+=(256+Math.random()*256|0).toString(16).substring(1)}return yi.substring(bi,bi+++e)}function Rw(e){const{multiInjectedProviderDiscovery:t=!0,storage:n=Dw({storage:typeof window<"u"&&window.localStorage?window.localStorage:bh}),syncConnectedChain:r=!0,ssr:o=!1,...i}=e,a=typeof window<"u"&&t?vw():void 0,s=as(()=>i.chains),l=as(()=>[...i.connectors??[],...o?[]:(a==null?void 0:a.getProviders().map(c))??[]].map(u));function u(w){var I;const C=kw(Fw()),P={...w({emitter:C,chains:s.getState(),storage:n,transports:i.transports}),emitter:C,uid:C.uid};return C.on("connect",S),(I=P.setup)==null||I.call(P),P}function c(w){const{info:I}=w,C=w.provider;return Vc({target:{...I,id:I.rdns,provider:C}})}const f=new Map;function p(w={}){const I=w.chainId??b.getState().chainId,C=s.getState().find(T=>T.id===I);if(w.chainId&&!C)throw new yl;{const T=f.get(b.getState().chainId);if(T&&!C)return T;if(!C)throw new yl}{const T=f.get(I);if(T)return T}let P;if(i.client)P=i.client({chain:C});else{const T=C.id,F=s.getState().map(B=>B.id),H={},R=Object.entries(i);for(const[B,E]of R)if(!(B==="chains"||B==="client"||B==="connectors"||B==="transports"))if(typeof E=="object")if(T in E)H[B]=E[T];else{if(F.some(N=>N in E))continue;H[B]=E}else H[B]=E;P=sw({...H,chain:C,batch:H.batch??{multicall:!0},transport:B=>i.transports[T]({...B,connectors:l})})}return f.set(I,P),P}function v(){return{chainId:s.getState()[0].id,connections:new Map,current:null,status:"disconnected"}}let h;const m="0.0.0-canary-";Ti.startsWith(m)?h=Number.parseInt(Ti.replace(m,"")):h=Number.parseInt(Ti.split(".")[0]??"0");const b=as(xw(n?Mw(v,{migrate(w,I){if(I===h)return w;const C=v(),P=y(w,C.chainId);return{...C,chainId:P}},name:"store",partialize(w){return{connections:{__type:"Map",value:Array.from(w.connections.entries()).map(([I,C])=>{const{id:P,name:T,type:F,uid:H}=C.connector;return[I,{...C,connector:{id:P,name:T,type:F,uid:H}}]})},chainId:w.chainId,current:w.current}},merge(w,I){typeof w=="object"&&w&&"status"in w&&delete w.status;const C=y(w,I.chainId);return{...I,...w,chainId:C}},skipHydration:o,storage:n,version:h}):v));function y(w,I){return w&&typeof w=="object"&&"chainId"in w&&typeof w.chainId=="number"&&s.getState().some(C=>C.id===w.chainId)?w.chainId:I}r&&b.subscribe(({connections:w,current:I})=>{var C;return I?(C=w.get(I))==null?void 0:C.chainId:void 0},w=>{if(s.getState().some(I=>I.id===w))return b.setState(I=>({...I,chainId:w??I.chainId}))}),a==null||a.subscribe(w=>{const I=new Map;for(const P of l.getState())I.set(P.id,!0);const C=[];for(const P of w){const T=u(c(P));I.has(T.id)||C.push(T)}n&&!b.persist.hasHydrated()||l.setState(P=>[...P,...C],!0)});function x(w){b.setState(I=>{const C=I.connections.get(w.uid);return C?{...I,connections:new Map(I.connections).set(w.uid,{accounts:w.accounts??C.accounts,chainId:w.chainId??C.chainId,connector:C.connector})}:I})}function S(w){b.getState().status==="connecting"||b.getState().status==="reconnecting"||b.setState(I=>{const C=l.getState().find(P=>P.uid===w.uid);return C?(C.emitter.listenerCount("connect")&&C.emitter.off("connect",x),C.emitter.listenerCount("change")||C.emitter.on("change",x),C.emitter.listenerCount("disconnect")||C.emitter.on("disconnect",M),{...I,connections:new Map(I.connections).set(w.uid,{accounts:w.accounts,chainId:w.chainId,connector:C}),current:w.uid,status:"connected"}):I})}function M(w){b.setState(I=>{const C=I.connections.get(w.uid);if(C){const T=C.connector;T.emitter.listenerCount("change")&&C.connector.emitter.off("change",x),T.emitter.listenerCount("disconnect")&&C.connector.emitter.off("disconnect",M),T.emitter.listenerCount("connect")||C.connector.emitter.on("connect",S)}if(I.connections.delete(w.uid),I.connections.size===0)return{...I,connections:new Map,current:null,status:"disconnected"};const P=I.connections.values().next().value;return{...I,connections:new Map(I.connections),current:P.connector.uid}})}return{get chains(){return s.getState()},get connectors(){return l.getState()},storage:n,getClient:p,get state(){return b.getState()},setState(w){let I;typeof w=="function"?I=w(b.getState()):I=w;const C=v();typeof I!="object"&&(I=C),Object.keys(C).some(P=>!(P in I))&&(I=C),b.setState(I,!0)},subscribe(w,I,C){return b.subscribe(w,I,C?{...C,fireImmediately:C.emitImmediately}:void 0)},_internal:{mipd:a,store:b,ssr:!!o,syncConnectedChain:r,transports:i.transports,chains:{setState(w){const I=typeof w=="function"?w(s.getState()):w;if(I.length!==0)return s.setState(I,!0)},subscribe(w){return s.subscribe(w)}},connectors:{providerDetailToConnector:c,setup:u,setState(w){return l.setState(typeof w=="function"?w(l.getState()):w,!0)},subscribe(w){return l.subscribe(w)}},events:{change:x,connect:S,disconnect:M}}}}const Lw=g.createContext(void 0),Vw="2.12.4",_w=()=>`wagmi@${Vw}`;class Hw extends Lc{constructor(){super(...arguments),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiError"})}get docsBaseUrl(){return"https://wagmi.sh/react"}get version(){return _w()}}class zw extends Hw{constructor(){super("`useConfig` must be used within `WagmiProvider`.",{docsPath:"/api/WagmiProvider"}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"WagmiProviderNotFoundError"})}}function _c(e={}){const t=e.config??g.useContext(Lw);if(!t)throw new zw;return t}var Qo=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Ir=typeof window>"u"||"Deno"in globalThis;function lt(){}function Uw(e,t){return typeof e=="function"?e(t):e}function Cl(e){return typeof e=="number"&&e>=0&&e!==1/0}function yh(e,t){return Math.max(e+(t||0)-Date.now(),0)}function mr(e,t){return typeof e=="function"?e(t):e}function ht(e,t){return typeof e=="function"?e(t):e}function L1(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(a){if(r){if(t.queryHash!==Hc(a,t.options))return!1}else if(!Uo(t.queryKey,a))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||o&&o!==t.state.fetchStatus||i&&!i(t))}function V1(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(zo(t.options.mutationKey)!==zo(i))return!1}else if(!Uo(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Hc(e,t){return((t==null?void 0:t.queryKeyHashFn)||zo)(e)}function zo(e){return JSON.stringify(e,(t,n)=>Il(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Uo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Uo(e[n],t[n])):!1}function xh(e,t){if(e===t)return e;const n=_1(e)&&_1(t);if(n||Il(e)&&Il(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),a=i.length,s=n?[]:{};let l=0;for(let u=0;u<a;u++){const c=n?u:i[u];(!n&&r.includes(c)||n)&&e[c]===void 0&&t[c]===void 0?(s[c]=void 0,l++):(s[c]=xh(e[c],t[c]),s[c]===e[c]&&e[c]!==void 0&&l++)}return o===a&&l===o?e:s}return t}function Sl(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function _1(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Il(e){if(!H1(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!H1(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function H1(e){return Object.prototype.toString.call(e)==="[object Object]"}function Bw(e){return new Promise(t=>{setTimeout(t,e)})}function Ml(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?xh(e,t):t}function $w(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Ww(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var wh=Symbol();function Ch(e,t){return!e.queryFn&&t!=null&&t.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===wh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Kn,xn,qr,z1,Zw=(z1=class extends Qo{constructor(){super(),ae(this,Kn),ae(this,xn),ae(this,qr),K(this,qr,e=>{if(!Ir&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}onSubscribe(){k(this,xn)||this.setEventListener(k(this,qr))}onUnsubscribe(){var e;this.hasListeners()||((e=k(this,xn))==null||e.call(this),K(this,xn,void 0))}setEventListener(e){var t;K(this,qr,e),(t=k(this,xn))==null||t.call(this),K(this,xn,e(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()}))}setFocused(e){k(this,Kn)!==e&&(K(this,Kn,e),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){var e;return typeof k(this,Kn)=="boolean"?k(this,Kn):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},Kn=new WeakMap,xn=new WeakMap,qr=new WeakMap,z1),zc=new Zw,Gr,wn,Yr,U1,qw=(U1=class extends Qo{constructor(){super(),ae(this,Gr,!0),ae(this,wn),ae(this,Yr),K(this,Yr,e=>{if(!Ir&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}})}onSubscribe(){k(this,wn)||this.setEventListener(k(this,Yr))}onUnsubscribe(){var e;this.hasListeners()||((e=k(this,wn))==null||e.call(this),K(this,wn,void 0))}setEventListener(e){var t;K(this,Yr,e),(t=k(this,wn))==null||t.call(this),K(this,wn,e(this.setOnline.bind(this)))}setOnline(e){k(this,Gr)!==e&&(K(this,Gr,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return k(this,Gr)}},Gr=new WeakMap,wn=new WeakMap,Yr=new WeakMap,U1),ea=new qw;function Gw(e){return Math.min(1e3*2**e,3e4)}function Sh(e){return(e??"online")==="online"?ea.isOnline():!0}var Ih=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function ss(e){return e instanceof Ih}function Mh(e){let t=!1,n=0,r=!1,o,i,a;const s=new Promise((y,x)=>{i=y,a=x}),l=y=>{var x;r||(h(new Ih(y)),(x=e.abort)==null||x.call(e))},u=()=>{t=!0},c=()=>{t=!1},f=()=>zc.isFocused()&&(e.networkMode==="always"||ea.isOnline())&&e.canRun(),p=()=>Sh(e.networkMode)&&e.canRun(),v=y=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,y),o==null||o(),i(y))},h=y=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,y),o==null||o(),a(y))},m=()=>new Promise(y=>{var x;o=S=>{(r||f())&&y(S)},(x=e.onPause)==null||x.call(e)}).then(()=>{var y;o=void 0,r||(y=e.onContinue)==null||y.call(e)}),b=()=>{if(r)return;let y;const x=n===0?e.initialPromise:void 0;try{y=x??e.fn()}catch(S){y=Promise.reject(S)}Promise.resolve(y).then(v).catch(S=>{var M;if(r)return;const w=e.retry??(Ir?0:3),I=e.retryDelay??Gw,C=typeof I=="function"?I(n,S):I,P=w===!0||typeof w=="number"&&n<w||typeof w=="function"&&w(n,S);if(t||!P){h(S);return}n++,(M=e.onFail)==null||M.call(e,n,S),Bw(C).then(()=>f()?void 0:m()).then(()=>{t?h(S):b()})})};return{promise:s,cancel:l,continue:()=>(o==null||o(),s),cancelRetry:u,continueRetry:c,canStart:p,start:()=>(p()?b():m().then(b),s)}}function Yw(){let e=[],t=0,n=c=>{c()},r=c=>{c()},o=c=>setTimeout(c,0);const i=c=>{o=c},a=c=>{let f;t++;try{f=c()}finally{t--,t||u()}return f},s=c=>{t?e.push(c):o(()=>{n(c)})},l=c=>(...f)=>{s(()=>{c(...f)})},u=()=>{const c=e;e=[],c.length&&o(()=>{r(()=>{c.forEach(f=>{n(f)})})})};return{batch:a,batchCalls:l,schedule:s,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c},setScheduler:i}}var Le=Yw(),Qn,B1,Eh=(B1=class{constructor(){ae(this,Qn)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Cl(this.gcTime)&&K(this,Qn,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ir?1/0:5*60*1e3))}clearGcTimeout(){k(this,Qn)&&(clearTimeout(k(this,Qn)),K(this,Qn,void 0))}},Qn=new WeakMap,B1),Xr,Kr,pt,Ue,xi,Jn,Mt,Ht,$1,Xw=($1=class extends Eh{constructor(e){super(),ae(this,Mt),ae(this,Xr),ae(this,Kr),ae(this,pt),ae(this,Ue),ae(this,xi),ae(this,Jn),K(this,Jn,!1),K(this,xi,e.defaultOptions),this.setOptions(e.options),this.observers=[],K(this,pt,e.cache),this.queryKey=e.queryKey,this.queryHash=e.queryHash,K(this,Xr,Kw(this.options)),this.state=e.state??k(this,Xr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=k(this,Ue))==null?void 0:e.promise}setOptions(e){this.options={...k(this,xi),...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&k(this,pt).remove(this)}setData(e,t){const n=Ml(this.state.data,e,this.options);return ue(this,Mt,Ht).call(this,{data:n,type:"success",dataUpdatedAt:t==null?void 0:t.updatedAt,manual:t==null?void 0:t.manual}),n}setState(e,t){ue(this,Mt,Ht).call(this,{type:"setState",state:e,setStateOptions:t})}cancel(e){var t,n;const r=(t=k(this,Ue))==null?void 0:t.promise;return(n=k(this,Ue))==null||n.cancel(e),r?r.then(lt).catch(lt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(k(this,Xr))}isActive(){return this.observers.some(e=>ht(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(e=0){return this.state.isInvalidated||this.state.data===void 0||!yh(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find(n=>n.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(e=k(this,Ue))==null||e.continue()}onOnline(){var e;const t=this.observers.find(n=>n.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(e=k(this,Ue))==null||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),k(this,pt).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(k(this,Ue)&&(k(this,Jn)?k(this,Ue).cancel({revert:!0}):k(this,Ue).cancelRetry()),this.scheduleGc()),k(this,pt).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ue(this,Mt,Ht).call(this,{type:"invalidate"})}fetch(e,t){var n,r,o;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&t!=null&&t.cancelRefetch)this.cancel({silent:!0});else if(k(this,Ue))return k(this,Ue).continueRetry(),k(this,Ue).promise}if(e&&this.setOptions(e),!this.options.queryFn){const c=this.observers.find(f=>f.options.queryFn);c&&this.setOptions(c.options)}const i=new AbortController,a=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(K(this,Jn,!0),i.signal)})},s=()=>{const c=Ch(this.options,t),f={queryKey:this.queryKey,meta:this.meta};return a(f),K(this,Jn,!1),this.options.persister?this.options.persister(c,f,this):c(f)},l={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:s};a(l),(n=this.options.behavior)==null||n.onFetch(l,this),K(this,Kr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((r=l.fetchOptions)==null?void 0:r.meta))&&ue(this,Mt,Ht).call(this,{type:"fetch",meta:(o=l.fetchOptions)==null?void 0:o.meta});const u=c=>{var f,p,v,h;ss(c)&&c.silent||ue(this,Mt,Ht).call(this,{type:"error",error:c}),ss(c)||((p=(f=k(this,pt).config).onError)==null||p.call(f,c,this),(h=(v=k(this,pt).config).onSettled)==null||h.call(v,this.state.data,c,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return K(this,Ue,Mh({initialPromise:t==null?void 0:t.initialPromise,fn:l.fetchFn,abort:i.abort.bind(i),onSuccess:c=>{var f,p,v,h;if(c===void 0){u(new Error(`${this.queryHash} data is undefined`));return}this.setData(c),(p=(f=k(this,pt).config).onSuccess)==null||p.call(f,c,this),(h=(v=k(this,pt).config).onSettled)==null||h.call(v,c,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:u,onFail:(c,f)=>{ue(this,Mt,Ht).call(this,{type:"failed",failureCount:c,error:f})},onPause:()=>{ue(this,Mt,Ht).call(this,{type:"pause"})},onContinue:()=>{ue(this,Mt,Ht).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),k(this,Ue).start()}},Xr=new WeakMap,Kr=new WeakMap,pt=new WeakMap,Ue=new WeakMap,xi=new WeakMap,Jn=new WeakMap,Mt=new WeakSet,Ht=function(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...Ph(n.data,this.options),fetchMeta:e.meta??null};case"success":return{...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const r=e.error;return ss(r)&&r.revert&&k(this,Kr)?{...k(this,Kr),fetchStatus:"idle"}:{...n,error:r,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),Le.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),k(this,pt).notify({query:this,type:"updated",action:e})})},$1);function Ph(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Sh(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Kw(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var zt,W1,Qw=(W1=class extends Qo{constructor(e={}){super(),ae(this,zt),this.config=e,K(this,zt,new Map)}build(e,t,n){const r=t.queryKey,o=t.queryHash??Hc(r,t);let i=this.get(o);return i||(i=new Xw({cache:this,queryKey:r,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(i)),i}add(e){k(this,zt).has(e.queryHash)||(k(this,zt).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=k(this,zt).get(e.queryHash);t&&(e.destroy(),t===e&&k(this,zt).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Le.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return k(this,zt).get(e)}getAll(){return[...k(this,zt).values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>L1(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>L1(e,n)):t}notify(e){Le.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Le.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Le.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},zt=new WeakMap,W1),Ut,Ye,er,Bt,en,Z1,Jw=(Z1=class extends Eh{constructor(e){super(),ae(this,Bt),ae(this,Ut),ae(this,Ye),ae(this,er),this.mutationId=e.mutationId,K(this,Ye,e.mutationCache),K(this,Ut,[]),this.state=e.state||eC(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){k(this,Ut).includes(e)||(k(this,Ut).push(e),this.clearGcTimeout(),k(this,Ye).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){K(this,Ut,k(this,Ut).filter(t=>t!==e)),this.scheduleGc(),k(this,Ye).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){k(this,Ut).length||(this.state.status==="pending"?this.scheduleGc():k(this,Ye).remove(this))}continue(){var e;return((e=k(this,er))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var t,n,r,o,i,a,s,l,u,c,f,p,v,h,m,b,y,x,S,M;K(this,er,Mh({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(C,P)=>{ue(this,Bt,en).call(this,{type:"failed",failureCount:C,error:P})},onPause:()=>{ue(this,Bt,en).call(this,{type:"pause"})},onContinue:()=>{ue(this,Bt,en).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>k(this,Ye).canRun(this)}));const w=this.state.status==="pending",I=!k(this,er).canStart();try{if(!w){ue(this,Bt,en).call(this,{type:"pending",variables:e,isPaused:I}),await((n=(t=k(this,Ye).config).onMutate)==null?void 0:n.call(t,e,this));const P=await((o=(r=this.options).onMutate)==null?void 0:o.call(r,e));P!==this.state.context&&ue(this,Bt,en).call(this,{type:"pending",context:P,variables:e,isPaused:I})}const C=await k(this,er).start();return await((a=(i=k(this,Ye).config).onSuccess)==null?void 0:a.call(i,C,e,this.state.context,this)),await((l=(s=this.options).onSuccess)==null?void 0:l.call(s,C,e,this.state.context)),await((c=(u=k(this,Ye).config).onSettled)==null?void 0:c.call(u,C,null,this.state.variables,this.state.context,this)),await((p=(f=this.options).onSettled)==null?void 0:p.call(f,C,null,e,this.state.context)),ue(this,Bt,en).call(this,{type:"success",data:C}),C}catch(C){try{throw await((h=(v=k(this,Ye).config).onError)==null?void 0:h.call(v,C,e,this.state.context,this)),await((b=(m=this.options).onError)==null?void 0:b.call(m,C,e,this.state.context)),await((x=(y=k(this,Ye).config).onSettled)==null?void 0:x.call(y,void 0,C,this.state.variables,this.state.context,this)),await((M=(S=this.options).onSettled)==null?void 0:M.call(S,void 0,C,e,this.state.context)),C}finally{ue(this,Bt,en).call(this,{type:"error",error:C})}}finally{k(this,Ye).runNext(this)}}},Ut=new WeakMap,Ye=new WeakMap,er=new WeakMap,Bt=new WeakSet,en=function(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),Le.batch(()=>{k(this,Ut).forEach(n=>{n.onMutationUpdate(e)}),k(this,Ye).notify({mutation:this,type:"updated",action:e})})},Z1);function eC(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var at,wi,q1,tC=(q1=class extends Qo{constructor(e={}){super(),ae(this,at),ae(this,wi),this.config=e,K(this,at,new Map),K(this,wi,Date.now())}build(e,t,n){const r=new Jw({mutationCache:this,mutationId:++Vs(this,wi)._,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){const t=Ci(e),n=k(this,at).get(t)??[];n.push(e),k(this,at).set(t,n),this.notify({type:"added",mutation:e})}remove(e){var t;const n=Ci(e);if(k(this,at).has(n)){const r=(t=k(this,at).get(n))==null?void 0:t.filter(o=>o!==e);r&&(r.length===0?k(this,at).delete(n):k(this,at).set(n,r))}this.notify({type:"removed",mutation:e})}canRun(e){var t;const n=(t=k(this,at).get(Ci(e)))==null?void 0:t.find(r=>r.state.status==="pending");return!n||n===e}runNext(e){var t;const n=(t=k(this,at).get(Ci(e)))==null?void 0:t.find(r=>r!==e&&r.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){Le.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...k(this,at).values()].flat()}find(e){const t={exact:!0,...e};return this.getAll().find(n=>V1(t,n))}findAll(e={}){return this.getAll().filter(t=>V1(e,t))}notify(e){Le.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return Le.batch(()=>Promise.all(e.map(t=>t.continue().catch(lt))))}},at=new WeakMap,wi=new WeakMap,q1);function Ci(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function nC(e){return{onFetch:(t,n)=>{const r=async()=>{var o,i,a,s,l;const u=t.options,c=(a=(i=(o=t.fetchOptions)==null?void 0:o.meta)==null?void 0:i.fetchMore)==null?void 0:a.direction,f=((s=t.state.data)==null?void 0:s.pages)||[],p=((l=t.state.data)==null?void 0:l.pageParams)||[],v={pages:[],pageParams:[]};let h=!1;const m=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>(t.signal.aborted?h=!0:t.signal.addEventListener("abort",()=>{h=!0}),t.signal)})},b=Ch(t.options,t.fetchOptions),y=async(S,M,w)=>{if(h)return Promise.reject();if(M==null&&S.pages.length)return Promise.resolve(S);const I={queryKey:t.queryKey,pageParam:M,direction:w?"backward":"forward",meta:t.options.meta};m(I);const C=await b(I),{maxPages:P}=t.options,T=w?Ww:$w;return{pages:T(S.pages,C,P),pageParams:T(S.pageParams,M,P)}};let x;if(c&&f.length){const S=c==="backward",M=S?rC:G1,w={pages:f,pageParams:p},I=M(u,w);x=await y(w,I,S)}else{x=await y(v,p[0]??u.initialPageParam);const S=e??f.length;for(let M=1;M<S;M++){const w=G1(u,x);if(w==null)break;x=await y(x,w)}}return x};t.options.persister?t.fetchFn=()=>{var o,i;return(i=(o=t.options).persister)==null?void 0:i.call(o,r,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=r}}}function G1(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function rC(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Pe,Cn,Sn,Qr,Jr,In,eo,to,Y1,oC=(Y1=class{constructor(e={}){ae(this,Pe),ae(this,Cn),ae(this,Sn),ae(this,Qr),ae(this,Jr),ae(this,In),ae(this,eo),ae(this,to),K(this,Pe,e.queryCache||new Qw),K(this,Cn,e.mutationCache||new tC),K(this,Sn,e.defaultOptions||{}),K(this,Qr,new Map),K(this,Jr,new Map),K(this,In,0)}mount(){Vs(this,In)._++,k(this,In)===1&&(K(this,eo,zc.subscribe(async e=>{e&&(await this.resumePausedMutations(),k(this,Pe).onFocus())})),K(this,to,ea.subscribe(async e=>{e&&(await this.resumePausedMutations(),k(this,Pe).onOnline())})))}unmount(){var e,t;Vs(this,In)._--,k(this,In)===0&&((e=k(this,eo))==null||e.call(this),K(this,eo,void 0),(t=k(this,to))==null||t.call(this),K(this,to,void 0))}isFetching(e){return k(this,Pe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return k(this,Cn).findAll({...e,status:"pending"}).length}getQueryData(e){var t;const n=this.defaultQueryOptions({queryKey:e});return(t=k(this,Pe).get(n.queryHash))==null?void 0:t.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=k(this,Pe).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(mr(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return k(this,Pe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=k(this,Pe).get(r.queryHash),i=o==null?void 0:o.state.data,a=Uw(t,i);if(a!==void 0)return k(this,Pe).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return Le.batch(()=>k(this,Pe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var t;const n=this.defaultQueryOptions({queryKey:e});return(t=k(this,Pe).get(n.queryHash))==null?void 0:t.state}removeQueries(e){const t=k(this,Pe);Le.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=k(this,Pe),r={type:"active",...e};return Le.batch(()=>(n.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=Le.batch(()=>k(this,Pe).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(lt).catch(lt)}invalidateQueries(e={},t={}){return Le.batch(()=>{if(k(this,Pe).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=Le.batch(()=>k(this,Pe).findAll(e).filter(o=>!o.isDisabled()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(lt)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(lt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=k(this,Pe).build(this,t);return n.isStaleByTime(mr(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(lt).catch(lt)}fetchInfiniteQuery(e){return e.behavior=nC(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(lt).catch(lt)}resumePausedMutations(){return ea.isOnline()?k(this,Cn).resumePausedMutations():Promise.resolve()}getQueryCache(){return k(this,Pe)}getMutationCache(){return k(this,Cn)}getDefaultOptions(){return k(this,Sn)}setDefaultOptions(e){K(this,Sn,e)}setQueryDefaults(e,t){k(this,Qr).set(zo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...k(this,Qr).values()];let n={};return t.forEach(r=>{Uo(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){k(this,Jr).set(zo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...k(this,Jr).values()];let n={};return t.forEach(r=>{Uo(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...k(this,Sn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Hc(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===wh&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...k(this,Sn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){k(this,Pe).clear(),k(this,Cn).clear()}},Pe=new WeakMap,Cn=new WeakMap,Sn=new WeakMap,Qr=new WeakMap,Jr=new WeakMap,In=new WeakMap,eo=new WeakMap,to=new WeakMap,Y1),nt,ce,Si,Xe,tr,no,$t,Ii,ro,oo,nr,rr,Mn,io,Oe,ao,ls,cs,us,ds,fs,ps,hs,X1,K1,iC=(K1=class extends Qo{constructor(e,t){super(),ae(this,Oe),ae(this,nt),ae(this,ce),ae(this,Si),ae(this,Xe),ae(this,tr),ae(this,no),ae(this,$t),ae(this,Ii),ae(this,ro),ae(this,oo),ae(this,nr),ae(this,rr),ae(this,Mn),ae(this,io,new Set),this.options=t,K(this,nt,e),K(this,$t,null),this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(k(this,ce).addObserver(this),Q1(k(this,ce),this.options)?ue(this,Oe,ao).call(this):this.updateResult(),ue(this,Oe,ds).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return El(k(this,ce),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return El(k(this,ce),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,ue(this,Oe,fs).call(this),ue(this,Oe,ps).call(this),k(this,ce).removeObserver(this)}setOptions(e,t){const n=this.options,r=k(this,ce);if(this.options=k(this,nt).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof ht(this.options.enabled,k(this,ce))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");ue(this,Oe,hs).call(this),k(this,ce).setOptions(this.options),n._defaulted&&!Sl(this.options,n)&&k(this,nt).getQueryCache().notify({type:"observerOptionsUpdated",query:k(this,ce),observer:this});const o=this.hasListeners();o&&J1(k(this,ce),r,this.options,n)&&ue(this,Oe,ao).call(this),this.updateResult(t),o&&(k(this,ce)!==r||ht(this.options.enabled,k(this,ce))!==ht(n.enabled,k(this,ce))||mr(this.options.staleTime,k(this,ce))!==mr(n.staleTime,k(this,ce)))&&ue(this,Oe,ls).call(this);const i=ue(this,Oe,cs).call(this);o&&(k(this,ce)!==r||ht(this.options.enabled,k(this,ce))!==ht(n.enabled,k(this,ce))||i!==k(this,Mn))&&ue(this,Oe,us).call(this,i)}getOptimisticResult(e){const t=k(this,nt).getQueryCache().build(k(this,nt),e),n=this.createResult(t,e);return sC(this,n)&&(K(this,Xe,n),K(this,no,this.options),K(this,tr,k(this,ce).state)),n}getCurrentResult(){return k(this,Xe)}trackResult(e,t){const n={};return Object.keys(e).forEach(r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(r),t==null||t(r),e[r])})}),n}trackProp(e){k(this,io).add(e)}getCurrentQuery(){return k(this,ce)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=k(this,nt).defaultQueryOptions(e),n=k(this,nt).getQueryCache().build(k(this,nt),t);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,t))}fetch(e){return ue(this,Oe,ao).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),k(this,Xe)))}createResult(e,t){var n;const r=k(this,ce),o=this.options,i=k(this,Xe),a=k(this,tr),s=k(this,no),l=e!==r?e.state:k(this,Si),{state:u}=e;let c={...u},f=!1,p;if(t._optimisticResults){const w=this.hasListeners(),I=!w&&Q1(e,t),C=w&&J1(e,r,t,o);(I||C)&&(c={...c,...Ph(u.data,e.options)}),t._optimisticResults==="isRestoring"&&(c.fetchStatus="idle")}let{error:v,errorUpdatedAt:h,status:m}=c;if(t.select&&c.data!==void 0)if(i&&c.data===(a==null?void 0:a.data)&&t.select===k(this,Ii))p=k(this,ro);else try{K(this,Ii,t.select),p=t.select(c.data),p=Ml(i==null?void 0:i.data,p,t),K(this,ro,p),K(this,$t,null)}catch(w){K(this,$t,w)}else p=c.data;if(t.placeholderData!==void 0&&p===void 0&&m==="pending"){let w;if(i!=null&&i.isPlaceholderData&&t.placeholderData===(s==null?void 0:s.placeholderData))w=i.data;else if(w=typeof t.placeholderData=="function"?t.placeholderData((n=k(this,oo))==null?void 0:n.state.data,k(this,oo)):t.placeholderData,t.select&&w!==void 0)try{w=t.select(w),K(this,$t,null)}catch(I){K(this,$t,I)}w!==void 0&&(m="success",p=Ml(i==null?void 0:i.data,w,t),f=!0)}k(this,$t)&&(v=k(this,$t),p=k(this,ro),h=Date.now(),m="error");const b=c.fetchStatus==="fetching",y=m==="pending",x=m==="error",S=y&&b,M=p!==void 0;return{status:m,fetchStatus:c.fetchStatus,isPending:y,isSuccess:m==="success",isError:x,isInitialLoading:S,isLoading:S,data:p,dataUpdatedAt:c.dataUpdatedAt,error:v,errorUpdatedAt:h,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>l.dataUpdateCount||c.errorUpdateCount>l.errorUpdateCount,isFetching:b,isRefetching:b&&!y,isLoadingError:x&&!M,isPaused:c.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:x&&M,isStale:Uc(e,t),refetch:this.refetch}}updateResult(e){const t=k(this,Xe),n=this.createResult(k(this,ce),this.options);if(K(this,tr,k(this,ce).state),K(this,no,this.options),k(this,tr).data!==void 0&&K(this,oo,k(this,ce)),Sl(n,t))return;K(this,Xe,n);const r={},o=()=>{if(!t)return!0;const{notifyOnChangeProps:i}=this.options,a=typeof i=="function"?i():i;if(a==="all"||!a&&!k(this,io).size)return!0;const s=new Set(a??k(this,io));return this.options.throwOnError&&s.add("error"),Object.keys(k(this,Xe)).some(l=>{const u=l;return k(this,Xe)[u]!==t[u]&&s.has(u)})};(e==null?void 0:e.listeners)!==!1&&o()&&(r.listeners=!0),ue(this,Oe,X1).call(this,{...r,...e})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&ue(this,Oe,ds).call(this)}},nt=new WeakMap,ce=new WeakMap,Si=new WeakMap,Xe=new WeakMap,tr=new WeakMap,no=new WeakMap,$t=new WeakMap,Ii=new WeakMap,ro=new WeakMap,oo=new WeakMap,nr=new WeakMap,rr=new WeakMap,Mn=new WeakMap,io=new WeakMap,Oe=new WeakSet,ao=function(e){ue(this,Oe,hs).call(this);let t=k(this,ce).fetch(this.options,e);return e!=null&&e.throwOnError||(t=t.catch(lt)),t},ls=function(){ue(this,Oe,fs).call(this);const e=mr(this.options.staleTime,k(this,ce));if(Ir||k(this,Xe).isStale||!Cl(e))return;const t=yh(k(this,Xe).dataUpdatedAt,e)+1;K(this,nr,setTimeout(()=>{k(this,Xe).isStale||this.updateResult()},t))},cs=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(k(this,ce)):this.options.refetchInterval)??!1},us=function(e){ue(this,Oe,ps).call(this),K(this,Mn,e),!(Ir||ht(this.options.enabled,k(this,ce))===!1||!Cl(k(this,Mn))||k(this,Mn)===0)&&K(this,rr,setInterval(()=>{(this.options.refetchIntervalInBackground||zc.isFocused())&&ue(this,Oe,ao).call(this)},k(this,Mn)))},ds=function(){ue(this,Oe,ls).call(this),ue(this,Oe,us).call(this,ue(this,Oe,cs).call(this))},fs=function(){k(this,nr)&&(clearTimeout(k(this,nr)),K(this,nr,void 0))},ps=function(){k(this,rr)&&(clearInterval(k(this,rr)),K(this,rr,void 0))},hs=function(){const e=k(this,nt).getQueryCache().build(k(this,nt),this.options);if(e===k(this,ce))return;const t=k(this,ce);K(this,ce,e),K(this,Si,e.state),this.hasListeners()&&(t==null||t.removeObserver(this),e.addObserver(this))},X1=function(e){Le.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(k(this,Xe))}),k(this,nt).getQueryCache().notify({query:k(this,ce),type:"observerResultsUpdated"})})},K1);function aC(e,t){return ht(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Q1(e,t){return aC(e,t)||e.state.data!==void 0&&El(e,t,t.refetchOnMount)}function El(e,t,n){if(ht(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Uc(e,t)}return!1}function J1(e,t,n,r){return(e!==t||ht(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Uc(e,n)}function Uc(e,t){return ht(t.enabled,e)!==!1&&e.isStaleByTime(mr(t.staleTime,e))}function sC(e,t){return!Sl(e.getCurrentResult(),t)}function lC(e){return JSON.stringify(e,(t,n)=>cC(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):typeof n=="bigint"?n.toString():n)}function cC(e){if(!ed(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!ed(n)||!n.hasOwnProperty("isPrototypeOf"))}function ed(e){return Object.prototype.toString.call(e)==="[object Object]"}function Oh(e){const{_defaulted:t,behavior:n,gcTime:r,initialData:o,initialDataUpdatedAt:i,maxPages:a,meta:s,networkMode:l,queryFn:u,queryHash:c,queryKey:f,queryKeyHashFn:p,retry:v,retryDelay:h,structuralSharing:m,getPreviousPageParam:b,getNextPageParam:y,initialPageParam:x,_optimisticResults:S,enabled:M,notifyOnChangeProps:w,placeholderData:I,refetchInterval:C,refetchIntervalInBackground:P,refetchOnMount:T,refetchOnReconnect:F,refetchOnWindowFocus:H,retryOnMount:R,select:B,staleTime:E,suspense:N,throwOnError:A,config:V,connector:$,query:L,...W}=e;return W}function uC(e,t={}){return{async queryFn({queryKey:n}){const{name:r,scopeKey:o,...i}=n[1];if(!r)throw new Error("name is required");return dw(e,{...i,name:r})},queryKey:dC(t)}}function dC(e={}){return["ensAvatar",Oh(e)]}function fC(e,t={}){return{async queryFn({queryKey:n}){const{address:r,scopeKey:o,...i}=n[1];if(!r)throw new Error("address is required");return fw(e,{...i,address:r})},queryKey:pC(t)}}function pC(e={}){return["ensName",Oh(e)]}var hC=g.createContext(void 0),mC=e=>{const t=g.useContext(hC);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},jh=g.createContext(!1),gC=()=>g.useContext(jh);jh.Provider;function vC(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var bC=g.createContext(vC()),yC=()=>g.useContext(bC);function xC(e,t){return typeof e=="function"?e(...t):!!e}var wC=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},CC=e=>{g.useEffect(()=>{e.clearReset()},[e])},SC=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&xC(n,[e.error,r]),IC=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},MC=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,EC=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function PC(e,t,n){var r,o,i,a;const s=mC(),l=gC(),u=yC(),c=s.defaultQueryOptions(e);(o=(r=s.getDefaultOptions().queries)==null?void 0:r._experimental_beforeQuery)==null||o.call(r,c),c._optimisticResults=l?"isRestoring":"optimistic",IC(c),wC(c,u),CC(u);const[f]=g.useState(()=>new t(s,c)),p=f.getOptimisticResult(c);if(g.useSyncExternalStore(g.useCallback(v=>{const h=l?()=>{}:f.subscribe(Le.batchCalls(v));return f.updateResult(),h},[f,l]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),g.useEffect(()=>{f.setOptions(c,{listeners:!1})},[c,f]),MC(c,p))throw EC(c,f,u);if(SC({result:p,errorResetBoundary:u,throwOnError:c.throwOnError,query:s.getQueryCache().get(c.queryHash)}))throw p.error;return(a=(i=s.getDefaultOptions().queries)==null?void 0:i._experimental_afterQuery)==null||a.call(i,c,p),c.notifyOnChangeProps?p:f.trackResult(p)}function OC(e,t){return PC(e,iC)}function kh(e){const t=OC({...e,queryKeyHashFn:lC});return t.queryKey=e.queryKey,t}function Nh(e={}){const t=_c(e);return g.useSyncExternalStore(n=>pw(t,{onChange:n}),()=>T1(t),()=>T1(t))}function jC(e={}){const{name:t,query:n={}}=e,r=_c(e),o=Nh({config:r}),i=uC(r,{...e,chainId:e.chainId??o}),a=!!(t&&(n.enabled??!0));return kh({...n,...i,enabled:a})}function kC(e={}){const{address:t,query:n={}}=e,r=_c(e),o=Nh({config:r}),i=fC(r,{...e,chainId:e.chainId??o}),a=!!(t&&(n.enabled??!0));return kh({...n,...i,enabled:a})}function NC(e){const{address:t,chainId:n=1,size:r="14px"}=e,o={width:r,height:r},i=kC({address:t,chainId:n}),a=i.data??void 0,s=jC({name:a}),l=s.data??$v;return i.isLoading||s.isLoading?d.jsx("div",{style:o,className:"flex-none animate-pulse rounded-full bg-gray-400 fade-out"}):d.jsx("img",{src:l,style:o,className:"flex-none rounded-full object-contain",alt:"ENS Avatar"})}var Jo=e=>e.type==="checkbox",cr=e=>e instanceof Date,We=e=>e==null;const Ah=e=>typeof e=="object";var De=e=>!We(e)&&!Array.isArray(e)&&Ah(e)&&!cr(e),Th=e=>De(e)&&e.target?Jo(e.target)?e.target.checked:e.target.value:e,AC=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Dh=(e,t)=>e.has(AC(t)),TC=e=>{const t=e.constructor&&e.constructor.prototype;return De(t)&&t.hasOwnProperty("isPrototypeOf")},Bc=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Ae(e){let t;const n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(Bc&&(e instanceof Blob||e instanceof FileList))&&(n||De(e)))if(t=n?[]:{},!n&&!TC(e))t=e;else for(const r in e)e.hasOwnProperty(r)&&(t[r]=Ae(e[r]));else return e;return t}var ei=e=>Array.isArray(e)?e.filter(Boolean):[],ye=e=>e===void 0,q=(e,t,n)=>{if(!t||!De(e))return n;const r=ei(t.split(/[,[\].]+?/)).reduce((o,i)=>We(o)?o:o[i],e);return ye(r)||r===e?ye(e[t])?n:e[t]:r},jt=e=>typeof e=="boolean",$c=e=>/^\w*$/.test(e),Fh=e=>ei(e.replace(/["|']|\]/g,"").split(/\.|\[/)),ve=(e,t,n)=>{let r=-1;const o=$c(t)?[t]:Fh(t),i=o.length,a=i-1;for(;++r<i;){const s=o[r];let l=n;if(r!==a){const u=e[s];l=De(u)||Array.isArray(u)?u:isNaN(+o[r+1])?{}:[]}if(s==="__proto__")return;e[s]=l,e=e[s]}return e};const ta={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},ct={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Wt={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},DC=Q.createContext(null),Oa=()=>Q.useContext(DC);var Rh=(e,t,n,r=!0)=>{const o={defaultValues:t._defaultValues};for(const i in e)Object.defineProperty(o,i,{get:()=>{const a=i;return t._proxyFormState[a]!==ct.all&&(t._proxyFormState[a]=!r||ct.all),n&&(n[a]=!0),e[a]}});return o},Be=e=>De(e)&&!Object.keys(e).length,Lh=(e,t,n,r)=>{n(e);const{name:o,...i}=e;return Be(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(a=>t[a]===(!r||ct.all))},Ke=e=>Array.isArray(e)?e:[e],Vh=(e,t,n)=>!e||!t||e===t||Ke(e).some(r=>r&&(n?r===t:r.startsWith(t)||t.startsWith(r)));function ja(e){const t=Q.useRef(e);t.current=e,Q.useEffect(()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}function FC(e){const t=Oa(),{control:n=t.control,disabled:r,name:o,exact:i}=e||{},[a,s]=Q.useState(n._formState),l=Q.useRef(!0),u=Q.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=Q.useRef(o);return c.current=o,ja({disabled:r,next:f=>l.current&&Vh(c.current,f.name,i)&&Lh(f,u.current,n._updateFormState)&&s({...n._formState,...f}),subject:n._subjects.state}),Q.useEffect(()=>(l.current=!0,u.current.isValid&&n._updateValid(!0),()=>{l.current=!1}),[n]),Rh(a,n,u.current,!1)}var At=e=>typeof e=="string",_h=(e,t,n,r,o)=>At(e)?(r&&t.watch.add(e),q(n,e,o)):Array.isArray(e)?e.map(i=>(r&&t.watch.add(i),q(n,i))):(r&&(t.watchAll=!0),n);function fn(e){const t=Oa(),{control:n=t.control,name:r,defaultValue:o,disabled:i,exact:a}=e||{},s=Q.useRef(r);s.current=r,ja({disabled:i,subject:n._subjects.values,next:c=>{Vh(s.current,c.name,a)&&u(Ae(_h(s.current,n._names,c.values||n._formValues,!1,o)))}});const[l,u]=Q.useState(n._getWatch(r,o));return Q.useEffect(()=>n._removeUnmounted()),l}function RC(e){const t=Oa(),{name:n,disabled:r,control:o=t.control,shouldUnregister:i}=e,a=Dh(o._names.array,n),s=fn({control:o,name:n,defaultValue:q(o._formValues,n,q(o._defaultValues,n,e.defaultValue)),exact:!0}),l=FC({control:o,name:n,exact:!0}),u=Q.useRef(o.register(n,{...e.rules,value:s,...jt(e.disabled)?{disabled:e.disabled}:{}}));return Q.useEffect(()=>{const c=o._options.shouldUnregister||i,f=(p,v)=>{const h=q(o._fields,p);h&&h._f&&(h._f.mount=v)};if(f(n,!0),c){const p=Ae(q(o._options.defaultValues,n));ve(o._defaultValues,n,p),ye(q(o._formValues,n))&&ve(o._formValues,n,p)}return()=>{(a?c&&!o._state.action:c)?o.unregister(n):f(n,!1)}},[n,o,a,i]),Q.useEffect(()=>{q(o._fields,n)&&o._updateDisabledField({disabled:r,fields:o._fields,name:n,value:q(o._fields,n)._f.value})},[r,n,o]),{field:{name:n,value:s,...jt(r)||l.disabled?{disabled:l.disabled||r}:{},onChange:Q.useCallback(c=>u.current.onChange({target:{value:Th(c),name:n},type:ta.CHANGE}),[n]),onBlur:Q.useCallback(()=>u.current.onBlur({target:{value:q(o._formValues,n),name:n},type:ta.BLUR}),[n,o]),ref:Q.useCallback(c=>{const f=q(o._fields,n);f&&c&&(f._f.ref={focus:()=>c.focus(),select:()=>c.select(),setCustomValidity:p=>c.setCustomValidity(p),reportValidity:()=>c.reportValidity()})},[o._fields,n])},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!q(l.errors,n)},isDirty:{enumerable:!0,get:()=>!!q(l.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!q(l.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!q(l.validatingFields,n)},error:{enumerable:!0,get:()=>q(l.errors,n)}})}}const Hh=e=>e.render(RC(e));var LC=(e,t,n,r,o)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:o||!0}}:{},tn=()=>{const e=typeof performance>"u"?Date.now():performance.now()*1e3;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const n=(Math.random()*16+e)%16|0;return(t=="x"?n:n&3|8).toString(16)})},ms=(e,t,n={})=>n.shouldFocus||ye(n.shouldFocus)?n.focusName||`${e}.${ye(n.focusIndex)?t:n.focusIndex}.`:"",vo=e=>({isOnSubmit:!e||e===ct.onSubmit,isOnBlur:e===ct.onBlur,isOnChange:e===ct.onChange,isOnAll:e===ct.all,isOnTouch:e===ct.onTouched}),Pl=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const gr=(e,t,n,r)=>{for(const o of n||Object.keys(e)){const i=q(e,o);if(i){const{_f:a,...s}=i;if(a){if(a.refs&&a.refs[0]&&t(a.refs[0],o)&&!r||a.ref&&t(a.ref,a.name)&&!r)break;gr(s,t)}else De(s)&&gr(s,t)}}};var zh=(e,t,n)=>{const r=Ke(q(e,n));return ve(r,"root",t[n]),ve(e,n,r),e},Wc=e=>e.type==="file",sn=e=>typeof e=="function",na=e=>{if(!Bc)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Fi=e=>At(e),Zc=e=>e.type==="radio",ra=e=>e instanceof RegExp;const td={value:!1,isValid:!1},nd={value:!0,isValid:!0};var Uh=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!ye(e[0].attributes.value)?ye(e[0].value)||e[0].value===""?nd:{value:e[0].value,isValid:!0}:nd:td}return td};const rd={isValid:!1,value:null};var Bh=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,rd):rd;function od(e,t,n="validate"){if(Fi(e)||Array.isArray(e)&&e.every(Fi)||jt(e)&&!e)return{type:n,message:Fi(e)?e:"",ref:t}}var or=e=>De(e)&&!ra(e)?e:{value:e,message:""},Ol=async(e,t,n,r,o)=>{const{ref:i,refs:a,required:s,maxLength:l,minLength:u,min:c,max:f,pattern:p,validate:v,name:h,valueAsNumber:m,mount:b,disabled:y}=e._f,x=q(t,h);if(!b||y)return{};const S=a?a[0]:i,M=R=>{r&&S.reportValidity&&(S.setCustomValidity(jt(R)?"":R||""),S.reportValidity())},w={},I=Zc(i),C=Jo(i),P=I||C,T=(m||Wc(i))&&ye(i.value)&&ye(x)||na(i)&&i.value===""||x===""||Array.isArray(x)&&!x.length,F=LC.bind(null,h,n,w),H=(R,B,E,N=Wt.maxLength,A=Wt.minLength)=>{const V=R?B:E;w[h]={type:R?N:A,message:V,ref:i,...F(R?N:A,V)}};if(o?!Array.isArray(x)||!x.length:s&&(!P&&(T||We(x))||jt(x)&&!x||C&&!Uh(a).isValid||I&&!Bh(a).isValid)){const{value:R,message:B}=Fi(s)?{value:!!s,message:s}:or(s);if(R&&(w[h]={type:Wt.required,message:B,ref:S,...F(Wt.required,B)},!n))return M(B),w}if(!T&&(!We(c)||!We(f))){let R,B;const E=or(f),N=or(c);if(!We(x)&&!isNaN(x)){const A=i.valueAsNumber||x&&+x;We(E.value)||(R=A>E.value),We(N.value)||(B=A<N.value)}else{const A=i.valueAsDate||new Date(x),V=W=>new Date(new Date().toDateString()+" "+W),$=i.type=="time",L=i.type=="week";At(E.value)&&x&&(R=$?V(x)>V(E.value):L?x>E.value:A>new Date(E.value)),At(N.value)&&x&&(B=$?V(x)<V(N.value):L?x<N.value:A<new Date(N.value))}if((R||B)&&(H(!!R,E.message,N.message,Wt.max,Wt.min),!n))return M(w[h].message),w}if((l||u)&&!T&&(At(x)||o&&Array.isArray(x))){const R=or(l),B=or(u),E=!We(R.value)&&x.length>+R.value,N=!We(B.value)&&x.length<+B.value;if((E||N)&&(H(E,R.message,B.message),!n))return M(w[h].message),w}if(p&&!T&&At(x)){const{value:R,message:B}=or(p);if(ra(R)&&!x.match(R)&&(w[h]={type:Wt.pattern,message:B,ref:i,...F(Wt.pattern,B)},!n))return M(B),w}if(v){if(sn(v)){const R=await v(x,t),B=od(R,S);if(B&&(w[h]={...B,...F(Wt.validate,B.message)},!n))return M(B.message),w}else if(De(v)){let R={};for(const B in v){if(!Be(R)&&!n)break;const E=od(await v[B](x,t),S,B);E&&(R={...E,...F(B,E.message)},M(E.message),n&&(w[h]=R))}if(!Be(R)&&(w[h]={ref:S,...R},!n))return w}}return M(!0),w},gs=(e,t)=>[...e,...Ke(t)],vs=e=>Array.isArray(e)?e.map(()=>{}):void 0;function bs(e,t,n){return[...e.slice(0,t),...Ke(n),...e.slice(t)]}var ys=(e,t,n)=>Array.isArray(e)?(ye(e[n])&&(e[n]=void 0),e.splice(n,0,e.splice(t,1)[0]),e):[],xs=(e,t)=>[...Ke(t),...Ke(e)];function VC(e,t){let n=0;const r=[...e];for(const o of t)r.splice(o-n,1),n++;return ei(r).length?r:[]}var ws=(e,t)=>ye(t)?[]:VC(e,Ke(t).sort((n,r)=>n-r)),Cs=(e,t,n)=>{[e[t],e[n]]=[e[n],e[t]]};function _C(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=ye(e)?r++:e[t[r++]];return e}function HC(e){for(const t in e)if(e.hasOwnProperty(t)&&!ye(e[t]))return!1;return!0}function ke(e,t){const n=Array.isArray(t)?t:$c(t)?[t]:Fh(t),r=n.length===1?e:_C(e,n),o=n.length-1,i=n[o];return r&&delete r[i],o!==0&&(De(r)&&Be(r)||Array.isArray(r)&&HC(r))&&ke(e,n.slice(0,-1)),e}var id=(e,t,n)=>(e[t]=n,e);function zC(e){const t=Oa(),{control:n=t.control,name:r,keyName:o="id",shouldUnregister:i}=e,[a,s]=Q.useState(n._getFieldArray(r)),l=Q.useRef(n._getFieldArray(r).map(tn)),u=Q.useRef(a),c=Q.useRef(r),f=Q.useRef(!1);c.current=r,u.current=a,n._names.array.add(r),e.rules&&n.register(r,e.rules),ja({next:({values:w,name:I})=>{if(I===c.current||!I){const C=q(w,c.current);Array.isArray(C)&&(s(C),l.current=C.map(tn))}},subject:n._subjects.array});const p=Q.useCallback(w=>{f.current=!0,n._updateFieldArray(r,w)},[n,r]),v=(w,I)=>{const C=Ke(Ae(w)),P=gs(n._getFieldArray(r),C);n._names.focus=ms(r,P.length-1,I),l.current=gs(l.current,C.map(tn)),p(P),s(P),n._updateFieldArray(r,P,gs,{argA:vs(w)})},h=(w,I)=>{const C=Ke(Ae(w)),P=xs(n._getFieldArray(r),C);n._names.focus=ms(r,0,I),l.current=xs(l.current,C.map(tn)),p(P),s(P),n._updateFieldArray(r,P,xs,{argA:vs(w)})},m=w=>{const I=ws(n._getFieldArray(r),w);l.current=ws(l.current,w),p(I),s(I),n._updateFieldArray(r,I,ws,{argA:w})},b=(w,I,C)=>{const P=Ke(Ae(I)),T=bs(n._getFieldArray(r),w,P);n._names.focus=ms(r,w,C),l.current=bs(l.current,w,P.map(tn)),p(T),s(T),n._updateFieldArray(r,T,bs,{argA:w,argB:vs(I)})},y=(w,I)=>{const C=n._getFieldArray(r);Cs(C,w,I),Cs(l.current,w,I),p(C),s(C),n._updateFieldArray(r,C,Cs,{argA:w,argB:I},!1)},x=(w,I)=>{const C=n._getFieldArray(r);ys(C,w,I),ys(l.current,w,I),p(C),s(C),n._updateFieldArray(r,C,ys,{argA:w,argB:I},!1)},S=(w,I)=>{const C=Ae(I),P=id(n._getFieldArray(r),w,C);l.current=[...P].map((T,F)=>!T||F===w?tn():l.current[F]),p(P),s([...P]),n._updateFieldArray(r,P,id,{argA:w,argB:C},!0,!1)},M=w=>{const I=Ke(Ae(w));l.current=I.map(tn),p([...I]),s([...I]),n._updateFieldArray(r,[...I],C=>C,{},!0,!1)};return Q.useEffect(()=>{if(n._state.action=!1,Pl(r,n._names)&&n._subjects.state.next({...n._formState}),f.current&&(!vo(n._options.mode).isOnSubmit||n._formState.isSubmitted))if(n._options.resolver)n._executeSchema([r]).then(w=>{const I=q(w.errors,r),C=q(n._formState.errors,r);(C?!I&&C.type||I&&(C.type!==I.type||C.message!==I.message):I&&I.type)&&(I?ve(n._formState.errors,r,I):ke(n._formState.errors,r),n._subjects.state.next({errors:n._formState.errors}))});else{const w=q(n._fields,r);w&&w._f&&!(vo(n._options.reValidateMode).isOnSubmit&&vo(n._options.mode).isOnSubmit)&&Ol(w,n._formValues,n._options.criteriaMode===ct.all,n._options.shouldUseNativeValidation,!0).then(I=>!Be(I)&&n._subjects.state.next({errors:zh(n._formState.errors,I,r)}))}n._subjects.values.next({name:r,values:{...n._formValues}}),n._names.focus&&gr(n._fields,(w,I)=>{if(n._names.focus&&I.startsWith(n._names.focus)&&w.focus)return w.focus(),1}),n._names.focus="",n._updateValid(),f.current=!1},[a,r,n]),Q.useEffect(()=>(!q(n._formValues,r)&&n._updateFieldArray(r),()=>{(n._options.shouldUnregister||i)&&n.unregister(r)}),[r,n,o,i]),{swap:Q.useCallback(y,[p,r,n]),move:Q.useCallback(x,[p,r,n]),prepend:Q.useCallback(h,[p,r,n]),append:Q.useCallback(v,[p,r,n]),remove:Q.useCallback(m,[p,r,n]),insert:Q.useCallback(b,[p,r,n]),update:Q.useCallback(S,[p,r,n]),replace:Q.useCallback(M,[p,r,n]),fields:Q.useMemo(()=>a.map((w,I)=>({...w,[o]:l.current[I]||tn()})),[a,o])}}var Ss=()=>{let e=[];return{get observers(){return e},next:t=>{for(const n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(n=>n!==t)}}),unsubscribe:()=>{e=[]}}},oa=e=>We(e)||!Ah(e);function kn(e,t){if(oa(e)||oa(t))return e===t;if(cr(e)&&cr(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const o of n){const i=e[o];if(!r.includes(o))return!1;if(o!=="ref"){const a=t[o];if(cr(i)&&cr(a)||De(i)&&De(a)||Array.isArray(i)&&Array.isArray(a)?!kn(i,a):i!==a)return!1}}return!0}var $h=e=>e.type==="select-multiple",UC=e=>Zc(e)||Jo(e),Is=e=>na(e)&&e.isConnected,Wh=e=>{for(const t in e)if(sn(e[t]))return!0;return!1};function ia(e,t={}){const n=Array.isArray(e);if(De(e)||n)for(const r in e)Array.isArray(e[r])||De(e[r])&&!Wh(e[r])?(t[r]=Array.isArray(e[r])?[]:{},ia(e[r],t[r])):We(e[r])||(t[r]=!0);return t}function Zh(e,t,n){const r=Array.isArray(e);if(De(e)||r)for(const o in e)Array.isArray(e[o])||De(e[o])&&!Wh(e[o])?ye(t)||oa(n[o])?n[o]=Array.isArray(e[o])?ia(e[o],[]):{...ia(e[o])}:Zh(e[o],We(t)?{}:t[o],n[o]):n[o]=!kn(e[o],t[o]);return n}var Mi=(e,t)=>Zh(e,t,ia(t)),qh=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>ye(e)?e:t?e===""?NaN:e&&+e:n&&At(e)?new Date(e):r?r(e):e;function Ms(e){const t=e.ref;if(!(e.refs?e.refs.every(n=>n.disabled):t.disabled))return Wc(t)?t.files:Zc(t)?Bh(e.refs).value:$h(t)?[...t.selectedOptions].map(({value:n})=>n):Jo(t)?Uh(e.refs).value:qh(ye(t.value)?e.ref.value:t.value,e)}var BC=(e,t,n,r)=>{const o={};for(const i of e){const a=q(t,i);a&&ve(o,i,a._f)}return{criteriaMode:n,names:[...e],fields:o,shouldUseNativeValidation:r}},so=e=>ye(e)?e:ra(e)?e.source:De(e)?ra(e.value)?e.value.source:e.value:e,$C=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function ad(e,t,n){const r=q(e,n);if(r||$c(n))return{error:r,name:n};const o=n.split(".");for(;o.length;){const i=o.join("."),a=q(t,i),s=q(e,i);if(a&&!Array.isArray(a)&&n!==i)return{name:n};if(s&&s.type)return{name:i,error:s};o.pop()}return{name:n}}var WC=(e,t,n,r,o)=>o.isOnAll?!1:!n&&o.isOnTouch?!(t||e):(n?r.isOnBlur:o.isOnBlur)?!e:(n?r.isOnChange:o.isOnChange)?e:!0,ZC=(e,t)=>!ei(q(e,t)).length&&ke(e,t);const qC={mode:ct.onSubmit,reValidateMode:ct.onChange,shouldFocusError:!0};function GC(e={}){let t={...qC,...e},n={submitCount:0,isDirty:!1,isLoading:sn(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},o=De(t.defaultValues)||De(t.values)?Ae(t.defaultValues||t.values)||{}:{},i=t.shouldUnregister?{}:Ae(o),a={action:!1,mount:!1,watch:!1},s={mount:new Set,unMount:new Set,array:new Set,watch:new Set},l,u=0;const c={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},f={values:Ss(),array:Ss(),state:Ss()},p=vo(t.mode),v=vo(t.reValidateMode),h=t.criteriaMode===ct.all,m=O=>D=>{clearTimeout(u),u=setTimeout(O,D)},b=async O=>{if(c.isValid||O){const D=t.resolver?Be((await P()).errors):await F(r,!0);D!==n.isValid&&f.state.next({isValid:D})}},y=(O,D)=>{(c.isValidating||c.validatingFields)&&((O||Array.from(s.mount)).forEach(j=>{j&&(D?ve(n.validatingFields,j,D):ke(n.validatingFields,j))}),f.state.next({validatingFields:n.validatingFields,isValidating:!Be(n.validatingFields)}))},x=(O,D=[],j,_,z=!0,U=!0)=>{if(_&&j){if(a.action=!0,U&&Array.isArray(q(r,O))){const G=j(q(r,O),_.argA,_.argB);z&&ve(r,O,G)}if(U&&Array.isArray(q(n.errors,O))){const G=j(q(n.errors,O),_.argA,_.argB);z&&ve(n.errors,O,G),ZC(n.errors,O)}if(c.touchedFields&&U&&Array.isArray(q(n.touchedFields,O))){const G=j(q(n.touchedFields,O),_.argA,_.argB);z&&ve(n.touchedFields,O,G)}c.dirtyFields&&(n.dirtyFields=Mi(o,i)),f.state.next({name:O,isDirty:R(O,D),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else ve(i,O,D)},S=(O,D)=>{ve(n.errors,O,D),f.state.next({errors:n.errors})},M=O=>{n.errors=O,f.state.next({errors:n.errors,isValid:!1})},w=(O,D,j,_)=>{const z=q(r,O);if(z){const U=q(i,O,ye(j)?q(o,O):j);ye(U)||_&&_.defaultChecked||D?ve(i,O,D?U:Ms(z._f)):N(O,U),a.mount&&b()}},I=(O,D,j,_,z)=>{let U=!1,G=!1;const J={name:O},oe=!!(q(r,O)&&q(r,O)._f&&q(r,O)._f.disabled);if(!j||_){c.isDirty&&(G=n.isDirty,n.isDirty=J.isDirty=R(),U=G!==J.isDirty);const Ie=oe||kn(q(o,O),D);G=!!(!oe&&q(n.dirtyFields,O)),Ie||oe?ke(n.dirtyFields,O):ve(n.dirtyFields,O,!0),J.dirtyFields=n.dirtyFields,U=U||c.dirtyFields&&G!==!Ie}if(j){const Ie=q(n.touchedFields,O);Ie||(ve(n.touchedFields,O,j),J.touchedFields=n.touchedFields,U=U||c.touchedFields&&Ie!==j)}return U&&z&&f.state.next(J),U?J:{}},C=(O,D,j,_)=>{const z=q(n.errors,O),U=c.isValid&&jt(D)&&n.isValid!==D;if(e.delayError&&j?(l=m(()=>S(O,j)),l(e.delayError)):(clearTimeout(u),l=null,j?ve(n.errors,O,j):ke(n.errors,O)),(j?!kn(z,j):z)||!Be(_)||U){const G={..._,...U&&jt(D)?{isValid:D}:{},errors:n.errors,name:O};n={...n,...G},f.state.next(G)}},P=async O=>{y(O,!0);const D=await t.resolver(i,t.context,BC(O||s.mount,r,t.criteriaMode,t.shouldUseNativeValidation));return y(O),D},T=async O=>{const{errors:D}=await P(O);if(O)for(const j of O){const _=q(D,j);_?ve(n.errors,j,_):ke(n.errors,j)}else n.errors=D;return D},F=async(O,D,j={valid:!0})=>{for(const _ in O){const z=O[_];if(z){const{_f:U,...G}=z;if(U){const J=s.array.has(U.name);y([_],!0);const oe=await Ol(z,i,h,t.shouldUseNativeValidation&&!D,J);if(y([_]),oe[U.name]&&(j.valid=!1,D))break;!D&&(q(oe,U.name)?J?zh(n.errors,oe,U.name):ve(n.errors,U.name,oe[U.name]):ke(n.errors,U.name))}!Be(G)&&await F(G,D,j)}}return j.valid},H=()=>{for(const O of s.unMount){const D=q(r,O);D&&(D._f.refs?D._f.refs.every(j=>!Is(j)):!Is(D._f.ref))&&Se(O)}s.unMount=new Set},R=(O,D)=>(O&&D&&ve(i,O,D),!kn(Z(),o)),B=(O,D,j)=>_h(O,s,{...a.mount?i:ye(D)?o:At(O)?{[O]:D}:D},j,D),E=O=>ei(q(a.mount?i:o,O,e.shouldUnregister?q(o,O,[]):[])),N=(O,D,j={})=>{const _=q(r,O);let z=D;if(_){const U=_._f;U&&(!U.disabled&&ve(i,O,qh(D,U)),z=na(U.ref)&&We(D)?"":D,$h(U.ref)?[...U.ref.options].forEach(G=>G.selected=z.includes(G.value)):U.refs?Jo(U.ref)?U.refs.length>1?U.refs.forEach(G=>(!G.defaultChecked||!G.disabled)&&(G.checked=Array.isArray(z)?!!z.find(J=>J===G.value):z===G.value)):U.refs[0]&&(U.refs[0].checked=!!z):U.refs.forEach(G=>G.checked=G.value===z):Wc(U.ref)?U.ref.value="":(U.ref.value=z,U.ref.type||f.values.next({name:O,values:{...i}})))}(j.shouldDirty||j.shouldTouch)&&I(O,z,j.shouldTouch,j.shouldDirty,!0),j.shouldValidate&&W(O)},A=(O,D,j)=>{for(const _ in D){const z=D[_],U=`${O}.${_}`,G=q(r,U);(s.array.has(O)||!oa(z)||G&&!G._f)&&!cr(z)?A(U,z,j):N(U,z,j)}},V=(O,D,j={})=>{const _=q(r,O),z=s.array.has(O),U=Ae(D);ve(i,O,U),z?(f.array.next({name:O,values:{...i}}),(c.isDirty||c.dirtyFields)&&j.shouldDirty&&f.state.next({name:O,dirtyFields:Mi(o,i),isDirty:R(O,U)})):_&&!_._f&&!We(U)?A(O,U,j):N(O,U,j),Pl(O,s)&&f.state.next({...n}),f.values.next({name:a.mount?O:void 0,values:{...i}})},$=async O=>{a.mount=!0;const D=O.target;let j=D.name,_=!0;const z=q(r,j),U=()=>D.type?Ms(z._f):Th(O),G=J=>{_=Number.isNaN(J)||J===q(i,j,J)};if(z){let J,oe;const Ie=U(),ze=O.type===ta.BLUR||O.type===ta.FOCUS_OUT,It=!$C(z._f)&&!t.resolver&&!q(n.errors,j)&&!z._f.deps||WC(ze,q(n.touchedFields,j),n.isSubmitted,v,p),yn=Pl(j,s,ze);ve(i,j,Ie),ze?(z._f.onBlur&&z._f.onBlur(O),l&&l(0)):z._f.onChange&&z._f.onChange(O);const Ra=I(j,Ie,ze,!1),n2=!Be(Ra)||yn;if(!ze&&f.values.next({name:j,type:O.type,values:{...i}}),It)return c.isValid&&b(),n2&&f.state.next({name:j,...yn?{}:Ra});if(!ze&&yn&&f.state.next({...n}),t.resolver){const{errors:uu}=await P([j]);if(G(Ie),_){const r2=ad(n.errors,r,j),du=ad(uu,r,r2.name||j);J=du.error,j=du.name,oe=Be(uu)}}else y([j],!0),J=(await Ol(z,i,h,t.shouldUseNativeValidation))[j],y([j]),G(Ie),_&&(J?oe=!1:c.isValid&&(oe=await F(r,!0)));_&&(z._f.deps&&W(z._f.deps),C(j,oe,J,Ra))}},L=(O,D)=>{if(q(n.errors,D)&&O.focus)return O.focus(),1},W=async(O,D={})=>{let j,_;const z=Ke(O);if(t.resolver){const U=await T(ye(O)?O:z);j=Be(U),_=O?!z.some(G=>q(U,G)):j}else O?(_=(await Promise.all(z.map(async U=>{const G=q(r,U);return await F(G&&G._f?{[U]:G}:G)}))).every(Boolean),!(!_&&!n.isValid)&&b()):_=j=await F(r);return f.state.next({...!At(O)||c.isValid&&j!==n.isValid?{}:{name:O},...t.resolver||!O?{isValid:j}:{},errors:n.errors}),D.shouldFocus&&!_&&gr(r,L,O?z:s.mount),_},Z=O=>{const D={...a.mount?i:o};return ye(O)?D:At(O)?q(D,O):O.map(j=>q(D,j))},te=(O,D)=>({invalid:!!q((D||n).errors,O),isDirty:!!q((D||n).dirtyFields,O),error:q((D||n).errors,O),isValidating:!!q(n.validatingFields,O),isTouched:!!q((D||n).touchedFields,O)}),fe=O=>{O&&Ke(O).forEach(D=>ke(n.errors,D)),f.state.next({errors:O?n.errors:{}})},X=(O,D,j)=>{const _=(q(r,O,{_f:{}})._f||{}).ref,z=q(n.errors,O)||{},{ref:U,message:G,type:J,...oe}=z;ve(n.errors,O,{...oe,...D,ref:_}),f.state.next({name:O,errors:n.errors,isValid:!1}),j&&j.shouldFocus&&_&&_.focus&&_.focus()},le=(O,D)=>sn(O)?f.values.subscribe({next:j=>O(B(void 0,D),j)}):B(O,D,!0),Se=(O,D={})=>{for(const j of O?Ke(O):s.mount)s.mount.delete(j),s.array.delete(j),D.keepValue||(ke(r,j),ke(i,j)),!D.keepError&&ke(n.errors,j),!D.keepDirty&&ke(n.dirtyFields,j),!D.keepTouched&&ke(n.touchedFields,j),!D.keepIsValidating&&ke(n.validatingFields,j),!t.shouldUnregister&&!D.keepDefaultValue&&ke(o,j);f.values.next({values:{...i}}),f.state.next({...n,...D.keepDirty?{isDirty:R()}:{}}),!D.keepIsValid&&b()},je=({disabled:O,name:D,field:j,fields:_,value:z})=>{if(jt(O)&&a.mount||O){const U=O?void 0:ye(z)?Ms(j?j._f:q(_,D)._f):z;ve(i,D,U),I(D,U,!1,!1,!0)}},Ve=(O,D={})=>{let j=q(r,O);const _=jt(D.disabled);return ve(r,O,{...j||{},_f:{...j&&j._f?j._f:{ref:{name:O}},name:O,mount:!0,...D}}),s.mount.add(O),j?je({field:j,disabled:D.disabled,name:O,value:D.value}):w(O,!0,D.value),{..._?{disabled:D.disabled}:{},...t.progressive?{required:!!D.required,min:so(D.min),max:so(D.max),minLength:so(D.minLength),maxLength:so(D.maxLength),pattern:so(D.pattern)}:{},name:O,onChange:$,onBlur:$,ref:z=>{if(z){Ve(O,D),j=q(r,O);const U=ye(z.value)&&z.querySelectorAll&&z.querySelectorAll("input,select,textarea")[0]||z,G=UC(U),J=j._f.refs||[];if(G?J.find(oe=>oe===U):U===j._f.ref)return;ve(r,O,{_f:{...j._f,...G?{refs:[...J.filter(Is),U,...Array.isArray(q(o,O))?[{}]:[]],ref:{type:U.type,name:O}}:{ref:U}}}),w(O,!1,void 0,U)}else j=q(r,O,{}),j._f&&(j._f.mount=!1),(t.shouldUnregister||D.shouldUnregister)&&!(Dh(s.array,O)&&a.action)&&s.unMount.add(O)}}},Ee=()=>t.shouldFocusError&&gr(r,L,s.mount),tt=O=>{jt(O)&&(f.state.next({disabled:O}),gr(r,(D,j)=>{const _=q(r,j);_&&(D.disabled=_._f.disabled||O,Array.isArray(_._f.refs)&&_._f.refs.forEach(z=>{z.disabled=_._f.disabled||O}))},0,!1))},Ct=(O,D)=>async j=>{let _;j&&(j.preventDefault&&j.preventDefault(),j.persist&&j.persist());let z=Ae(i);if(f.state.next({isSubmitting:!0}),t.resolver){const{errors:U,values:G}=await P();n.errors=U,z=G}else await F(r);if(ke(n.errors,"root"),Be(n.errors)){f.state.next({errors:{}});try{await O(z,j)}catch(U){_=U}}else D&&await D({...n.errors},j),Ee(),setTimeout(Ee);if(f.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Be(n.errors)&&!_,submitCount:n.submitCount+1,errors:n.errors}),_)throw _},St=(O,D={})=>{q(r,O)&&(ye(D.defaultValue)?V(O,Ae(q(o,O))):(V(O,D.defaultValue),ve(o,O,Ae(D.defaultValue))),D.keepTouched||ke(n.touchedFields,O),D.keepDirty||(ke(n.dirtyFields,O),n.isDirty=D.defaultValue?R(O,Ae(q(o,O))):R()),D.keepError||(ke(n.errors,O),c.isValid&&b()),f.state.next({...n}))},Ge=(O,D={})=>{const j=O?Ae(O):o,_=Ae(j),z=Be(O),U=z?o:_;if(D.keepDefaultValues||(o=j),!D.keepValues){if(D.keepDirtyValues)for(const G of s.mount)q(n.dirtyFields,G)?ve(U,G,q(i,G)):V(G,q(U,G));else{if(Bc&&ye(O))for(const G of s.mount){const J=q(r,G);if(J&&J._f){const oe=Array.isArray(J._f.refs)?J._f.refs[0]:J._f.ref;if(na(oe)){const Ie=oe.closest("form");if(Ie){Ie.reset();break}}}}r={}}i=e.shouldUnregister?D.keepDefaultValues?Ae(o):{}:Ae(U),f.array.next({values:{...U}}),f.values.next({values:{...U}})}s={mount:D.keepDirtyValues?s.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},a.mount=!c.isValid||!!D.keepIsValid||!!D.keepDirtyValues,a.watch=!!e.shouldUnregister,f.state.next({submitCount:D.keepSubmitCount?n.submitCount:0,isDirty:z?!1:D.keepDirty?n.isDirty:!!(D.keepDefaultValues&&!kn(O,o)),isSubmitted:D.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:z?{}:D.keepDirtyValues?D.keepDefaultValues&&i?Mi(o,i):n.dirtyFields:D.keepDefaultValues&&O?Mi(o,O):D.keepDirty?n.dirtyFields:{},touchedFields:D.keepTouched?n.touchedFields:{},errors:D.keepErrors?n.errors:{},isSubmitSuccessful:D.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},Lt=(O,D)=>Ge(sn(O)?O(i):O,D);return{control:{register:Ve,unregister:Se,getFieldState:te,handleSubmit:Ct,setError:X,_executeSchema:P,_getWatch:B,_getDirty:R,_updateValid:b,_removeUnmounted:H,_updateFieldArray:x,_updateDisabledField:je,_getFieldArray:E,_reset:Ge,_resetDefaultValues:()=>sn(t.defaultValues)&&t.defaultValues().then(O=>{Lt(O,t.resetOptions),f.state.next({isLoading:!1})}),_updateFormState:O=>{n={...n,...O}},_disableForm:tt,_subjects:f,_proxyFormState:c,_setErrors:M,get _fields(){return r},get _formValues(){return i},get _state(){return a},set _state(O){a=O},get _defaultValues(){return o},get _names(){return s},set _names(O){s=O},get _formState(){return n},set _formState(O){n=O},get _options(){return t},set _options(O){t={...t,...O}}},trigger:W,register:Ve,handleSubmit:Ct,watch:le,setValue:V,getValues:Z,reset:Lt,resetField:St,clearErrors:fe,unregister:Se,setError:X,setFocus:(O,D={})=>{const j=q(r,O),_=j&&j._f;if(_){const z=_.refs?_.refs[0]:_.ref;z.focus&&(z.focus(),D.shouldSelect&&z.select())}},getFieldState:te}}function YC(e={}){const t=Q.useRef(),n=Q.useRef(),[r,o]=Q.useState({isDirty:!1,isValidating:!1,isLoading:sn(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:sn(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...GC(e),formState:r});const i=t.current.control;return i._options=e,ja({subject:i._subjects.state,next:a=>{Lh(a,i._proxyFormState,i._updateFormState,!0)&&o({...i._formState})}}),Q.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),Q.useEffect(()=>{if(i._proxyFormState.isDirty){const a=i._getDirty();a!==r.isDirty&&i._subjects.state.next({isDirty:a})}},[i,r.isDirty]),Q.useEffect(()=>{e.values&&!kn(e.values,n.current)?(i._reset(e.values,i._options.resetOptions),n.current=e.values,o(a=>({...a}))):i._resetDefaultValues()},[e.values,i]),Q.useEffect(()=>{e.errors&&i._setErrors(e.errors)},[e.errors,i]),Q.useEffect(()=>{i._state.mount||(i._updateValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),Q.useEffect(()=>{e.shouldUnregister&&i._subjects.values.next({values:i._getWatch()})},[e.shouldUnregister,i]),t.current.formState=Rh(r,i),t.current}const XC={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};new Set(Object.keys(XC));var sd;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(sd||(sd={}));var ld;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(ld||(ld={}));var cd;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(cd||(cd={}));var ud;(function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"})(ud||(ud={}));var dd={exports:{}};(function(e,t){var n=typeof self<"u"?self:ho,r=function(){function i(){this.fetch=!1,this.DOMException=n.DOMException}return i.prototype=n,new i}();(function(i){(function(a){var s={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function l(E){return E&&DataView.prototype.isPrototypeOf(E)}if(s.arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(E){return E&&u.indexOf(Object.prototype.toString.call(E))>-1};function f(E){if(typeof E!="string"&&(E=String(E)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(E))throw new TypeError("Invalid character in header field name");return E.toLowerCase()}function p(E){return typeof E!="string"&&(E=String(E)),E}function v(E){var N={next:function(){var A=E.shift();return{done:A===void 0,value:A}}};return s.iterable&&(N[Symbol.iterator]=function(){return N}),N}function h(E){this.map={},E instanceof h?E.forEach(function(N,A){this.append(A,N)},this):Array.isArray(E)?E.forEach(function(N){this.append(N[0],N[1])},this):E&&Object.getOwnPropertyNames(E).forEach(function(N){this.append(N,E[N])},this)}h.prototype.append=function(E,N){E=f(E),N=p(N);var A=this.map[E];this.map[E]=A?A+", "+N:N},h.prototype.delete=function(E){delete this.map[f(E)]},h.prototype.get=function(E){return E=f(E),this.has(E)?this.map[E]:null},h.prototype.has=function(E){return this.map.hasOwnProperty(f(E))},h.prototype.set=function(E,N){this.map[f(E)]=p(N)},h.prototype.forEach=function(E,N){for(var A in this.map)this.map.hasOwnProperty(A)&&E.call(N,this.map[A],A,this)},h.prototype.keys=function(){var E=[];return this.forEach(function(N,A){E.push(A)}),v(E)},h.prototype.values=function(){var E=[];return this.forEach(function(N){E.push(N)}),v(E)},h.prototype.entries=function(){var E=[];return this.forEach(function(N,A){E.push([A,N])}),v(E)},s.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function m(E){if(E.bodyUsed)return Promise.reject(new TypeError("Already read"));E.bodyUsed=!0}function b(E){return new Promise(function(N,A){E.onload=function(){N(E.result)},E.onerror=function(){A(E.error)}})}function y(E){var N=new FileReader,A=b(N);return N.readAsArrayBuffer(E),A}function x(E){var N=new FileReader,A=b(N);return N.readAsText(E),A}function S(E){for(var N=new Uint8Array(E),A=new Array(N.length),V=0;V<N.length;V++)A[V]=String.fromCharCode(N[V]);return A.join("")}function M(E){if(E.slice)return E.slice(0);var N=new Uint8Array(E.byteLength);return N.set(new Uint8Array(E)),N.buffer}function w(){return this.bodyUsed=!1,this._initBody=function(E){this._bodyInit=E,E?typeof E=="string"?this._bodyText=E:s.blob&&Blob.prototype.isPrototypeOf(E)?this._bodyBlob=E:s.formData&&FormData.prototype.isPrototypeOf(E)?this._bodyFormData=E:s.searchParams&&URLSearchParams.prototype.isPrototypeOf(E)?this._bodyText=E.toString():s.arrayBuffer&&s.blob&&l(E)?(this._bodyArrayBuffer=M(E.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(E)||c(E))?this._bodyArrayBuffer=M(E):this._bodyText=E=Object.prototype.toString.call(E):this._bodyText="",this.headers.get("content-type")||(typeof E=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):s.searchParams&&URLSearchParams.prototype.isPrototypeOf(E)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},s.blob&&(this.blob=function(){var E=m(this);if(E)return E;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?m(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(y)}),this.text=function(){var E=m(this);if(E)return E;if(this._bodyBlob)return x(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(S(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s.formData&&(this.formData=function(){return this.text().then(T)}),this.json=function(){return this.text().then(JSON.parse)},this}var I=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function C(E){var N=E.toUpperCase();return I.indexOf(N)>-1?N:E}function P(E,N){N=N||{};var A=N.body;if(E instanceof P){if(E.bodyUsed)throw new TypeError("Already read");this.url=E.url,this.credentials=E.credentials,N.headers||(this.headers=new h(E.headers)),this.method=E.method,this.mode=E.mode,this.signal=E.signal,!A&&E._bodyInit!=null&&(A=E._bodyInit,E.bodyUsed=!0)}else this.url=String(E);if(this.credentials=N.credentials||this.credentials||"same-origin",(N.headers||!this.headers)&&(this.headers=new h(N.headers)),this.method=C(N.method||this.method||"GET"),this.mode=N.mode||this.mode||null,this.signal=N.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&A)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(A)}P.prototype.clone=function(){return new P(this,{body:this._bodyInit})};function T(E){var N=new FormData;return E.trim().split("&").forEach(function(A){if(A){var V=A.split("="),$=V.shift().replace(/\+/g," "),L=V.join("=").replace(/\+/g," ");N.append(decodeURIComponent($),decodeURIComponent(L))}}),N}function F(E){var N=new h,A=E.replace(/\r?\n[\t ]+/g," ");return A.split(/\r?\n/).forEach(function(V){var $=V.split(":"),L=$.shift().trim();if(L){var W=$.join(":").trim();N.append(L,W)}}),N}w.call(P.prototype);function H(E,N){N||(N={}),this.type="default",this.status=N.status===void 0?200:N.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in N?N.statusText:"OK",this.headers=new h(N.headers),this.url=N.url||"",this._initBody(E)}w.call(H.prototype),H.prototype.clone=function(){return new H(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},H.error=function(){var E=new H(null,{status:0,statusText:""});return E.type="error",E};var R=[301,302,303,307,308];H.redirect=function(E,N){if(R.indexOf(N)===-1)throw new RangeError("Invalid status code");return new H(null,{status:N,headers:{location:E}})},a.DOMException=i.DOMException;try{new a.DOMException}catch{a.DOMException=function(E,N){this.message=E,this.name=N;var A=Error(E);this.stack=A.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function B(E,N){return new Promise(function(A,V){var $=new P(E,N);if($.signal&&$.signal.aborted)return V(new a.DOMException("Aborted","AbortError"));var L=new XMLHttpRequest;function W(){L.abort()}L.onload=function(){var Z={status:L.status,statusText:L.statusText,headers:F(L.getAllResponseHeaders()||"")};Z.url="responseURL"in L?L.responseURL:Z.headers.get("X-Request-URL");var te="response"in L?L.response:L.responseText;A(new H(te,Z))},L.onerror=function(){V(new TypeError("Network request failed"))},L.ontimeout=function(){V(new TypeError("Network request failed"))},L.onabort=function(){V(new a.DOMException("Aborted","AbortError"))},L.open($.method,$.url,!0),$.credentials==="include"?L.withCredentials=!0:$.credentials==="omit"&&(L.withCredentials=!1),"responseType"in L&&s.blob&&(L.responseType="blob"),$.headers.forEach(function(Z,te){L.setRequestHeader(te,Z)}),$.signal&&($.signal.addEventListener("abort",W),L.onreadystatechange=function(){L.readyState===4&&$.signal.removeEventListener("abort",W)}),L.send(typeof $._bodyInit>"u"?null:$._bodyInit)})}return B.polyfill=!0,i.fetch||(i.fetch=B,i.Headers=h,i.Request=P,i.Response=H),a.Headers=h,a.Request=P,a.Response=H,a.fetch=B,Object.defineProperty(a,"__esModule",{value:!0}),a})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=r;t=o.fetch,t.default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t})(dd,dd.exports);var KC=typeof ho=="object"&&ho&&ho.Object===Object&&ho,QC=typeof self=="object"&&self&&self.Object===Object&&self;KC||QC||Function("return this")();function Gh(){const[e,t]=g.useState(null),n=g.useCallback(async r=>{if(!(navigator!=null&&navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(r),t(r),!0}catch(o){return console.warn("Copy failed",o),t(null),!1}},[]);return[e,n]}g.forwardRef(function(e,t){return d.jsxs("div",{className:"flex items-center rounded-xl bg-gray-100 p-3 text-slate-200",children:[d.jsxs("div",{className:"flex-1",children:[d.jsx("label",{htmlFor:"availableOffline",className:"font-semibold",children:"Make available offline"}),d.jsxs("p",{className:"text-xs text-gray-500",children:["Check this options if you keep a local backup",d.jsx("br",{}),"available at all times."]})]}),d.jsx(pI,{id:"availableOffline",ref:t,...e})]})});g.forwardRef(function(e,t){return d.jsx(JC,{...e,ref:t,icon:e.icon??d.jsx(be,{name:"Drive"}),id:"driveName",placeholder:"Drive name"})});const JC=g.forwardRef(function(e,t){const{icon:n,errorMessage:r,isDirty:o,containerClassName:i,inputClassName:a,errorMessageClassName:s,hideErrors:l=!1,...u}=e,c=e.type??"text",f=!!r;return d.jsxs("div",{children:[d.jsxs("div",{className:de("mb-1 flex gap-2 rounded-xl border border-transparent bg-gray-100 p-3 text-gray-800 placeholder:text-gray-500",f&&"border-red-900",i),children:[d.jsx("span",{className:Go((!o||f)&&"text-slate-200"),children:n}),d.jsx("input",{...u,type:c,ref:t,className:de("w-full bg-transparent font-semibold outline-none",a)})]}),d.jsx("p",{className:de("hidden min-h-4 text-xs text-red-900",f&&"block",l&&"hidden",s),children:r})]})});function eS(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}eS(`.rmsc{--rmsc-main: #4285f4;--rmsc-hover: #f1f3f5;--rmsc-selected: #e2e6ea;--rmsc-border: #ccc;--rmsc-gray: #aaa;--rmsc-bg: #fff;--rmsc-p: 10px;--rmsc-radius: 4px;--rmsc-h: 38px}.rmsc *{box-sizing:border-box;transition:all .2s ease}.rmsc .gray{color:var(--rmsc-gray)}.rmsc .dropdown-content{position:absolute;z-index:1;top:100%;width:100%;padding-top:8px}.rmsc .dropdown-content .panel-content{overflow:hidden;border-radius:var(--rmsc-radius);background:var(--rmsc-bg);box-shadow:0 0 0 1px #0000001a,0 4px 11px #0000001a}.rmsc .dropdown-container{position:relative;outline:0;background-color:var(--rmsc-bg);border:1px solid var(--rmsc-border);border-radius:var(--rmsc-radius)}.rmsc .dropdown-container[aria-disabled=true]:focus-within{box-shadow:var(--rmsc-gray) 0 0 0 1px;border-color:var(--rmsc-gray)}.rmsc .dropdown-container:focus-within{box-shadow:var(--rmsc-main) 0 0 0 1px;border-color:var(--rmsc-main)}.rmsc .dropdown-heading{position:relative;padding:0 var(--rmsc-p);display:flex;align-items:center;width:100%;height:var(--rmsc-h);cursor:default;outline:0}.rmsc .dropdown-heading .dropdown-heading-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.rmsc .clear-selected-button{cursor:pointer;background:none;border:0;padding:0;display:flex}.rmsc .options{max-height:260px;overflow-y:auto;margin:0;padding-left:0}.rmsc .options li{list-style:none;margin:0}.rmsc .select-item{box-sizing:border-box;cursor:pointer;display:block;padding:var(--rmsc-p);outline-offset:-1px;outline-color:var(--rmsc-primary)}.rmsc .select-item:hover{background:var(--rmsc-hover)}.rmsc .select-item.selected{background:var(--rmsc-selected)}.rmsc .no-options{padding:var(--rmsc-p);text-align:center;color:var(--rmsc-gray)}.rmsc .search{width:100%;position:relative;border-bottom:1px solid var(--rmsc-border)}.rmsc .search input{background:none;height:var(--rmsc-h);padding:0 var(--rmsc-p);width:100%;outline:0;border:0;font-size:1em}.rmsc .search input:focus{background:var(--rmsc-hover)}.rmsc .search-clear-button{cursor:pointer;position:absolute;top:0;right:0;bottom:0;background:none;border:0;padding:0 calc(var(--rmsc-p) / 2)}.rmsc .search-clear-button [hidden]{display:none}.rmsc .item-renderer{display:flex;align-items:baseline}.rmsc .item-renderer input{margin:0 5px 0 0}.rmsc .item-renderer.disabled{opacity:.5}.rmsc .spinner{animation:rotate 2s linear infinite}.rmsc .spinner .path{stroke:var(--rmsc-border);stroke-width:4px;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}
|
|
91
91
|
`);Q.createContext({});Nf(function(e,t){const{items:n,value:r,id:o,onChange:i,containerClassName:a,menuClassName:s,itemClassName:l,absolutePositionMenu:u=!1,borderRadius:c="12px"}=e,[f,p]=g.useState(!1),v=m(r)??n[0];function h(y){y.disabled||(i(y.value),p(!1))}function m(y){return n.find(x=>x.value===y)}const b=n.filter(y=>y.value!==r);return d.jsxs("div",{className:de("bg-gray-100 transition-[border-radius]",u&&"relative",a),ref:t,style:{borderRadius:f?`${c} ${c} 0 0`:c},"data-open":f,children:[d.jsxs("div",{onClick:()=>p(!f),id:o,className:de("flex min-w-[360px] cursor-pointer items-center justify-between pr-3 text-gray-800 outline-none",s),children:[d.jsx(fd,{...v,className:l}),d.jsx(be,{name:"ChevronDown",className:Go("transition",f?"":"-rotate-90")})]}),d.jsx("div",{style:{borderRadius:`0 0 ${c} ${c}`},className:de("max-h-0 w-full overflow-hidden bg-inherit transition-[max-height] ease-in-out",f&&"max-h-screen",u&&"absolute"),children:b.map(y=>d.jsx(fd,{...y,onItemClick:()=>h(y),className:l},y.value))})]})});function fd(e){const{className:t,disabled:n,onItemClick:r,icon:o,displayValue:i,value:a,description:s}=e;return d.jsxs("div",{className:de(n?"cursor-not-allowed text-gray-500":"text-gray-800","flex size-full cursor-pointer items-center gap-2 bg-inherit py-3 pl-3 text-start outline-none",t),onClick:r,children:[o,d.jsxs("div",{children:[d.jsx("p",{className:"capitalize text-inherit",children:i??a.toLowerCase()}),d.jsx("p",{className:"text-xs text-inherit",children:s})]})]})}function tS(e){const{address:t,chainId:n}=e,[,r]=Gh();if(!t)return null;const o=zI(t);function i(s){return()=>{r(s).catch(l=>{console.error("Failed to copy!",l)})}}const a=d.jsxs("button",{onClick:i(t),className:"flex items-center gap-1",children:[t,d.jsx(be,{name:"FilesEarmark",className:"inline-block text-gray-600",size:16})]});return d.jsx($n,{content:a,children:d.jsxs("span",{className:"flex w-fit cursor-pointer items-center gap-1 rounded-lg bg-gray-100 p-1 text-xs text-slate-100",children:[d.jsx(NC,{address:t,chainId:n}),o]})})}function nS(e){const{errors:t}=e,n=!!(t!=null&&t.length),r=n?"text-red-800":"text-green-700",o=n?d.jsx(be,{name:"Exclamation",size:16}):d.jsx(be,{name:"Check",size:16}),i=n?`Error: ${t[0]}`:"No errors",a=d.jsxs("span",{className:de("flex w-fit items-center rounded-lg border border-gray-200 px-2 py-1 text-xs",r,n&&"cursor-pointer"),children:[o,d.jsx("span",{className:de("inline-block max-w-36 truncate"),children:i})]}),s=t==null?void 0:t.map((l,u)=>d.jsxs("p",{className:"text-red-800",children:["Error: ",l]},u));return n?d.jsx($n,{content:s,children:a}):a}function rS(e){const{operationType:t,operationInput:n}=e,r=d.jsx("code",{children:d.jsx("pre",{children:JSON.stringify(n,null,2)})});return d.jsx($n,{content:r,children:d.jsxs("span",{className:"flex cursor-pointer items-center gap-2 text-xs",children:[t,d.jsx(be,{name:"Braces",className:"text-gray-300",size:16})]})})}function oS(e){const{operationIndex:t,eventId:n,stateHash:r}=e,[,o]=Gh(),i=t+1,a=d.jsxs("button",{onClick:s(r),className:"flex items-center gap-1",children:["Revision ",i," - Event ID: ",n," - State Hash:"," ",r,d.jsx(be,{name:"FilesEarmark",className:"inline-block text-gray-600",size:16})]});function s(l){return()=>{o(l).catch(u=>{console.error("Failed to copy!",u)})}}return d.jsx($n,{content:a,children:d.jsxs("span",{className:"flex cursor-pointer items-center gap-2 text-xs text-gray-600",children:["Revision ",i,".",d.jsx("a",{children:d.jsx(be,{name:"Ellipsis",size:14,className:"cursor-pointer text-slate-100"})})]})})}function iS(e){const{signatures:t}=e;if(!(t!=null&&t.length))return null;const n=t.length,r=t.filter(s=>s.isVerified).length,o=n===1?"signature":"signatures";function i(){const s=`${r}/${n} ${o} verified`;return d.jsx("span",{className:`text-xs ${r===0?"text-red-800":r===n?"text-green-700":"text-orange-700"}`,children:s})}const a=d.jsxs("div",{className:"text-xs text-slate-300",children:[d.jsx("h3",{className:"mb-2",children:"Signature details:"}),t.map((s,l)=>d.jsxs("div",{className:"mb-2 last:mb-0",children:[d.jsxs("h4",{children:["Signature #",l+1," -"," ",s.isVerified?"verified":"unverified"]}),d.jsx("code",{children:d.jsx("pre",{children:JSON.stringify(s,null,2)})})]},s.hash))]});return d.jsx($n,{content:a,children:d.jsxs("span",{className:"flex w-fit cursor-pointer items-center gap-1 rounded-lg border border-gray-200 px-2 py-1",children:[d.jsx(i,{})," ",d.jsx(be,{name:"InfoSquare",className:"text-gray-300",size:16})]})})}function wt(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function zn(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const Yh=6048e5,aS=864e5;let sS={};function ka(){return sS}function Bo(e,t){var n,r,o,i;const a=ka(),s=(t==null?void 0:t.weekStartsOn)??((r=(n=t==null?void 0:t.locale)==null?void 0:n.options)==null?void 0:r.weekStartsOn)??a.weekStartsOn??((i=(o=a.locale)==null?void 0:o.options)==null?void 0:i.weekStartsOn)??0,l=wt(e),u=l.getDay(),c=(u<s?7:0)+u-s;return l.setDate(l.getDate()-c),l.setHours(0,0,0,0),l}function aa(e){return Bo(e,{weekStartsOn:1})}function Xh(e){const t=wt(e),n=t.getFullYear(),r=zn(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=aa(r),i=zn(e,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const a=aa(i);return t.getTime()>=o.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function pd(e){const t=wt(e);return t.setHours(0,0,0,0),t}function hd(e){const t=wt(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function lS(e,t){const n=pd(e),r=pd(t),o=+n-hd(n),i=+r-hd(r);return Math.round((o-i)/aS)}function cS(e){const t=Xh(e),n=zn(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),aa(n)}function uS(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function dS(e){if(!uS(e)&&typeof e!="number")return!1;const t=wt(e);return!isNaN(Number(t))}function fS(e){const t=wt(e),n=zn(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}const pS={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},hS=(e,t,n)=>{let r;const o=pS[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Es(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const mS={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},gS={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},vS={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},bS={date:Es({formats:mS,defaultWidth:"full"}),time:Es({formats:gS,defaultWidth:"full"}),dateTime:Es({formats:vS,defaultWidth:"full"})},yS={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},xS=(e,t,n,r)=>yS[e];function lo(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const a=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):a;o=e.formattingValues[s]||e.formattingValues[a]}else{const a=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[s]||e.values[a]}const i=e.argumentCallback?e.argumentCallback(t):t;return o[i]}}const wS={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},CS={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},SS={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},IS={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},MS={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ES={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},PS=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},OS={ordinalNumber:PS,era:lo({values:wS,defaultWidth:"wide"}),quarter:lo({values:CS,defaultWidth:"wide",argumentCallback:e=>e-1}),month:lo({values:SS,defaultWidth:"wide"}),day:lo({values:IS,defaultWidth:"wide"}),dayPeriod:lo({values:MS,defaultWidth:"wide",formattingValues:ES,defaultFormattingWidth:"wide"})};function co(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const a=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?kS(s,f=>f.test(a)):jS(s,f=>f.test(a));let u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;const c=t.slice(a.length);return{value:u,rest:c}}}function jS(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function kS(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function NS(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;const s=t.slice(o.length);return{value:a,rest:s}}}const AS=/^(\d+)(th|st|nd|rd)?/i,TS=/\d+/i,DS={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},FS={any:[/^b/i,/^(a|c)/i]},RS={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},LS={any:[/1/i,/2/i,/3/i,/4/i]},VS={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},_S={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},HS={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},zS={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},US={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},BS={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},$S={ordinalNumber:NS({matchPattern:AS,parsePattern:TS,valueCallback:e=>parseInt(e,10)}),era:co({matchPatterns:DS,defaultMatchWidth:"wide",parsePatterns:FS,defaultParseWidth:"any"}),quarter:co({matchPatterns:RS,defaultMatchWidth:"wide",parsePatterns:LS,defaultParseWidth:"any",valueCallback:e=>e+1}),month:co({matchPatterns:VS,defaultMatchWidth:"wide",parsePatterns:_S,defaultParseWidth:"any"}),day:co({matchPatterns:HS,defaultMatchWidth:"wide",parsePatterns:zS,defaultParseWidth:"any"}),dayPeriod:co({matchPatterns:US,defaultMatchWidth:"any",parsePatterns:BS,defaultParseWidth:"any"})},WS={code:"en-US",formatDistance:hS,formatLong:bS,formatRelative:xS,localize:OS,match:$S,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ZS(e){const t=wt(e);return lS(t,fS(t))+1}function qS(e){const t=wt(e),n=+aa(t)-+cS(t);return Math.round(n/Yh)+1}function Kh(e,t){var n,r,o,i;const a=wt(e),s=a.getFullYear(),l=ka(),u=(t==null?void 0:t.firstWeekContainsDate)??((r=(n=t==null?void 0:t.locale)==null?void 0:n.options)==null?void 0:r.firstWeekContainsDate)??l.firstWeekContainsDate??((i=(o=l.locale)==null?void 0:o.options)==null?void 0:i.firstWeekContainsDate)??1,c=zn(e,0);c.setFullYear(s+1,0,u),c.setHours(0,0,0,0);const f=Bo(c,t),p=zn(e,0);p.setFullYear(s,0,u),p.setHours(0,0,0,0);const v=Bo(p,t);return a.getTime()>=f.getTime()?s+1:a.getTime()>=v.getTime()?s:s-1}function GS(e,t){var n,r,o,i;const a=ka(),s=(t==null?void 0:t.firstWeekContainsDate)??((r=(n=t==null?void 0:t.locale)==null?void 0:n.options)==null?void 0:r.firstWeekContainsDate)??a.firstWeekContainsDate??((i=(o=a.locale)==null?void 0:o.options)==null?void 0:i.firstWeekContainsDate)??1,l=Kh(e,t),u=zn(e,0);return u.setFullYear(l,0,s),u.setHours(0,0,0,0),Bo(u,t)}function YS(e,t){const n=wt(e),r=+Bo(n,t)-+GS(n,t);return Math.round(r/Yh)+1}function ge(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const nn={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return ge(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):ge(n+1,2)},d(e,t){return ge(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return ge(e.getHours()%12||12,t.length)},H(e,t){return ge(e.getHours(),t.length)},m(e,t){return ge(e.getMinutes(),t.length)},s(e,t){return ge(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return ge(o,t.length)}},ir={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},md={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return nn.y(e,t)},Y:function(e,t,n,r){const o=Kh(e,r),i=o>0?o:1-o;if(t==="YY"){const a=i%100;return ge(a,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):ge(i,t.length)},R:function(e,t){const n=Xh(e);return ge(n,t.length)},u:function(e,t){const n=e.getFullYear();return ge(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return ge(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return ge(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return nn.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return ge(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=YS(e,r);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):ge(o,t.length)},I:function(e,t,n){const r=qS(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):ge(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):nn.d(e,t)},D:function(e,t,n){const r=ZS(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):ge(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return ge(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return ge(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=r===0?7:r;switch(t){case"i":return String(o);case"ii":return ge(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(r===12?o=ir.noon:r===0?o=ir.midnight:o=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(r>=17?o=ir.evening:r>=12?o=ir.afternoon:r>=4?o=ir.morning:o=ir.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return nn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):nn.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):ge(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):ge(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):nn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):nn.s(e,t)},S:function(e,t){return nn.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return vd(r);case"XXXX":case"XX":return En(r);case"XXXXX":case"XXX":default:return En(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return vd(r);case"xxxx":case"xx":return En(r);case"xxxxx":case"xxx":default:return En(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+gd(r,":");case"OOOO":default:return"GMT"+En(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+gd(r,":");case"zzzz":default:return"GMT"+En(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return ge(r,t.length)},T:function(e,t,n){const r=e.getTime();return ge(r,t.length)}};function gd(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return i===0?n+String(o):n+String(o)+t+ge(i,2)}function vd(e,t){return e%60===0?(e>0?"-":"+")+ge(Math.abs(e)/60,2):En(e,t)}function En(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=ge(Math.trunc(r/60),2),i=ge(r%60,2);return n+o+t+i}const bd=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Qh=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},XS=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return bd(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",bd(r,t)).replace("{{time}}",Qh(o,t))},KS={p:Qh,P:XS},QS=/^D+$/,JS=/^Y+$/,eI=["D","DD","YY","YYYY"];function tI(e){return QS.test(e)}function nI(e){return JS.test(e)}function rI(e,t,n){const r=oI(e,t,n);if(console.warn(r),eI.includes(e))throw new RangeError(r)}function oI(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const iI=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,aI=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,sI=/^'([^]*?)'?$/,lI=/''/g,cI=/[a-zA-Z]/;function $o(e,t,n){var r,o,i,a,s,l,u,c;const f=ka(),p=(n==null?void 0:n.locale)??f.locale??WS,v=(n==null?void 0:n.firstWeekContainsDate)??((o=(r=n==null?void 0:n.locale)==null?void 0:r.options)==null?void 0:o.firstWeekContainsDate)??f.firstWeekContainsDate??((a=(i=f.locale)==null?void 0:i.options)==null?void 0:a.firstWeekContainsDate)??1,h=(n==null?void 0:n.weekStartsOn)??((l=(s=n==null?void 0:n.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??f.weekStartsOn??((c=(u=f.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,m=wt(e);if(!dS(m))throw new RangeError("Invalid time value");let b=t.match(aI).map(x=>{const S=x[0];if(S==="p"||S==="P"){const M=KS[S];return M(x,p.formatLong)}return x}).join("").match(iI).map(x=>{if(x==="''")return{isToken:!1,value:"'"};const S=x[0];if(S==="'")return{isToken:!1,value:uI(x)};if(md[S])return{isToken:!0,value:x};if(S.match(cI))throw new RangeError("Format string contains an unescaped latin alphabet character `"+S+"`");return{isToken:!1,value:x}});p.localize.preprocessor&&(b=p.localize.preprocessor(m,b));const y={firstWeekContainsDate:v,weekStartsOn:h,locale:p};return b.map(x=>{if(!x.isToken)return x.value;const S=x.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&nI(S)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&tI(S))&&rI(S,t,String(e));const M=md[S[0]];return M(m,S,p.localize,y)}).join("")}function uI(e){const t=e.match(sI);return t?t[1].replace(lI,"'"):e}function dI(e){const{timestamp:t}=e,n=new Date(t),r=$o(n,"HH:mm 'UTC'"),o=$o(n,"eee, dd MMM yyyy HH:mm:ss 'UTC'");return d.jsx($n,{content:d.jsx("div",{children:o}),children:d.jsxs("span",{className:"cursor-pointer text-xs",children:["committed at ",r]})})}function fI(e){return d.jsxs("article",{className:"flex items-center justify-between rounded-xl border border-gray-200 bg-white px-4 py-2",children:[d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx(oS,{...e}),d.jsx(rS,{...e}),d.jsx(tS,{...e}),d.jsx(dI,{...e})]}),d.jsxs("div",{className:"flex items-center gap-1",children:[d.jsx(iS,{...e}),d.jsx(nS,{...e})]})]})}g.memo(fI);const pI=g.forwardRef(function(e,t){return d.jsxs("label",{htmlFor:e.id,className:"relative cursor-pointer items-center",children:[d.jsx("input",{ref:t,type:"checkbox",value:"",className:"peer sr-only",...e}),d.jsx("div",{className:"peer h-6 w-11 rounded-full bg-gray-500 after:absolute after:start-0.5 after:top-0.5 after:size-5 after:rounded-full after:border after:border-none after:bg-gray-50 after:transition-all peer-checked:bg-blue-900 peer-checked:after:translate-x-full peer-focus:outline-none"})]})});var hI="VisuallyHidden",Jh=g.forwardRef((e,t)=>d.jsx(xe.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Jh.displayName=hI;var mI=Jh,[Na,iO]=vn("Tooltip",[ha]),Aa=ha(),em="TooltipProvider",gI=700,jl="tooltip.open",[vI,qc]=Na(em),tm=e=>{const{__scopeTooltip:t,delayDuration:n=gI,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[a,s]=g.useState(!0),l=g.useRef(!1),u=g.useRef(0);return g.useEffect(()=>{const c=u.current;return()=>window.clearTimeout(c)},[]),d.jsx(vI,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:g.useCallback(()=>{window.clearTimeout(u.current),s(!1)},[]),onClose:g.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:g.useCallback(c=>{l.current=c},[]),disableHoverableContent:o,children:i})};tm.displayName=em;var Ta="Tooltip",[bI,ti]=Na(Ta),nm=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:a,delayDuration:s}=e,l=qc(Ta,e.__scopeTooltip),u=Aa(t),[c,f]=g.useState(null),p=ur(),v=g.useRef(0),h=a??l.disableHoverableContent,m=s??l.delayDuration,b=g.useRef(!1),[y=!1,x]=ua({prop:r,defaultProp:o,onChange:C=>{C?(l.onOpen(),document.dispatchEvent(new CustomEvent(jl))):l.onClose(),i==null||i(C)}}),S=g.useMemo(()=>y?b.current?"delayed-open":"instant-open":"closed",[y]),M=g.useCallback(()=>{window.clearTimeout(v.current),b.current=!1,x(!0)},[x]),w=g.useCallback(()=>{window.clearTimeout(v.current),x(!1)},[x]),I=g.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{b.current=!0,x(!0)},m)},[m,x]);return g.useEffect(()=>()=>window.clearTimeout(v.current),[]),d.jsx(k6,{...u,children:d.jsx(bI,{scope:t,contentId:p,open:y,stateAttribute:S,trigger:c,onTriggerChange:f,onTriggerEnter:g.useCallback(()=>{l.isOpenDelayed?I():M()},[l.isOpenDelayed,I,M]),onTriggerLeave:g.useCallback(()=>{h?w():window.clearTimeout(v.current)},[w,h]),onOpen:M,onClose:w,disableHoverableContent:h,children:n})})};nm.displayName=Ta;var kl="TooltipTrigger",rm=g.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=ti(kl,n),i=qc(kl,n),a=Aa(n),s=g.useRef(null),l=Te(t,s,o.onTriggerChange),u=g.useRef(!1),c=g.useRef(!1),f=g.useCallback(()=>u.current=!1,[]);return g.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),d.jsx(C0,{asChild:!0,...a,children:d.jsx(xe.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:ie(e.onPointerMove,p=>{p.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:ie(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:ie(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:ie(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:ie(e.onBlur,o.onClose),onClick:ie(e.onClick,o.onClose)})})});rm.displayName=kl;var Gc="TooltipPortal",[yI,xI]=Na(Gc,{forceMount:void 0}),om=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=ti(Gc,t);return d.jsx(yI,{scope:t,forceMount:n,children:d.jsx(yt,{present:n||i.open,children:d.jsx(ma,{asChild:!0,container:o,children:r})})})};om.displayName=Gc;var Mr="TooltipContent",im=g.forwardRef((e,t)=>{const n=xI(Mr,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,a=ti(Mr,e.__scopeTooltip);return d.jsx(yt,{present:r||a.open,children:a.disableHoverableContent?d.jsx(am,{side:o,...i,ref:t}):d.jsx(wI,{side:o,...i,ref:t})})}),wI=g.forwardRef((e,t)=>{const n=ti(Mr,e.__scopeTooltip),r=qc(Mr,e.__scopeTooltip),o=g.useRef(null),i=Te(t,o),[a,s]=g.useState(null),{trigger:l,onClose:u}=n,c=o.current,{onPointerInTransitChange:f}=r,p=g.useCallback(()=>{s(null),f(!1)},[f]),v=g.useCallback((h,m)=>{const b=h.currentTarget,y={x:h.clientX,y:h.clientY},x=MI(y,b.getBoundingClientRect()),S=EI(y,x),M=PI(m.getBoundingClientRect()),w=jI([...S,...M]);s(w),f(!0)},[f]);return g.useEffect(()=>()=>p(),[p]),g.useEffect(()=>{if(l&&c){const h=b=>v(b,c),m=b=>v(b,l);return l.addEventListener("pointerleave",h),c.addEventListener("pointerleave",m),()=>{l.removeEventListener("pointerleave",h),c.removeEventListener("pointerleave",m)}}},[l,c,v,p]),g.useEffect(()=>{if(a){const h=m=>{const b=m.target,y={x:m.clientX,y:m.clientY},x=(l==null?void 0:l.contains(b))||(c==null?void 0:c.contains(b)),S=!OI(y,a);x?p():S&&(p(),u())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[l,c,a,u,p]),d.jsx(am,{...e,ref:i})}),[CI,SI]=Na(Ta,{isInside:!1}),am=g.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...s}=e,l=ti(Mr,n),u=Aa(n),{onClose:c}=l;return g.useEffect(()=>(document.addEventListener(jl,c),()=>document.removeEventListener(jl,c)),[c]),g.useEffect(()=>{if(l.trigger){const f=p=>{const v=p.target;v!=null&&v.contains(l.trigger)&&c()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,c]),d.jsx(da,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:f=>f.preventDefault(),onDismiss:c,children:d.jsxs(S0,{"data-state":l.stateAttribute,...u,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[d.jsx(Gd,{children:r}),d.jsx(CI,{scope:n,isInside:!0,children:d.jsx(mI,{id:l.contentId,role:"tooltip",children:o||r})})]})})});im.displayName=Mr;var sm="TooltipArrow",II=g.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Aa(n);return SI(sm,n).isInside?null:d.jsx(I0,{...o,...r,ref:t})});II.displayName=sm;function MI(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function EI(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function PI(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function OI(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i].x,l=t[i].y,u=t[a].x,c=t[a].y;l>r!=c>r&&n<(u-s)*(r-l)/(c-l)+s&&(o=!o)}return o}function jI(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),kI(t)}function kI(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],a=n[n.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var NI=tm,AI=nm,TI=rm,DI=om,FI=im;function $n(e){const{children:t,content:n,open:r,defaultOpen:o,onOpenChange:i,className:a,...s}=e;return d.jsxs(AI,{open:r,defaultOpen:o,onOpenChange:i,delayDuration:0,children:[d.jsx(TI,{asChild:!0,children:t}),d.jsx(DI,{children:d.jsx(FI,{...s,className:de("rounded-lg border border-gray-200 bg-white p-2 text-xs shadow-tooltip",a),children:n})})]})}const RI=NI,Yc="LOCAL",LI="CLOUD",VI="PUBLIC",yd="DRIVE",ar="FOLDER",on="FILE",lm="SUCCESS",_I="ERROR",HI={driveNodes:[],selectedNode:null,selectedNodePath:[],selectedDriveNode:null,selectedParentNode:null,setDriveNodes:()=>{},setSelectedNode:()=>{},getNodeById:()=>null,getParentNode:()=>null,getIsSelected:()=>!1,getIsInSelectedNodePath:()=>!1,getSiblings:()=>[]};g.createContext(HI);const xd=rw({id:1,name:"Ethereum",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{default:{http:["https://cloudflare-eth.com"]}},blockExplorers:{default:{name:"Etherscan",url:"https://etherscan.io",apiUrl:"https://api.etherscan.io/api"}},contracts:{ensRegistry:{address:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},ensUniversalResolver:{address:"0xce01f8eee7E479C928F8919abD53E553a36CeF67",blockCreated:19258213},multicall3:{address:"0xca11bde05977b3631167028862be2a173976ca11",blockCreated:14353601}}});Rw({chains:[xd],transports:{[xd.id]:uw()}});new oC;function zI(e){return`${e.slice(0,7)}...${e.slice(-5)}`}const wd="mock-drive-id",UI=e=>[{kind:on,documentType:"makerdao/rwa-portfolio",id:"file-1",name:"Mock file in drive that has a very significantly long name",parentFolder:e,synchronizationUnits:[{syncId:"1"}]},{kind:ar,id:"folder-1",name:"Mock folder in drive 1",parentFolder:e},{kind:ar,id:"folder-2",name:"Mock folder in drive 2",parentFolder:e},{kind:on,documentType:"template",id:"folder-1-file-1",name:"Mock file in folder 1",parentFolder:"folder-1",synchronizationUnits:[{syncId:"1"}]},{kind:on,documentType:"global",id:"folder-2-file-2",name:"Mock file in folder 2",parentFolder:"folder-2",synchronizationUnits:[{syncId:"1"}]},{kind:ar,id:"folder-1-folder-1",name:"Mock folder in folder 1",parentFolder:"folder-1"},{kind:ar,id:"folder-2-folder-1",name:"Mock folder in folder 2",parentFolder:"folder-2"},{kind:on,documentType:"legal",id:"folder-1-folder-1-file-1",name:"Mock file in folder 1 folder 1",parentFolder:"folder-1-folder-1",synchronizationUnits:[{syncId:"1"}]},{kind:on,documentType:"budget",id:"folder-2-folder-1-file-1",name:"Mock file in folder 2 folder 1",parentFolder:"folder-2",synchronizationUnits:[{syncId:"1"}]},{kind:ar,id:"folder-1-folder-1-folder-1",name:"Mock folder in folder 1 folder 1",parentFolder:"folder-1-folder-1"},{kind:ar,id:"folder-2-folder-1-folder-1",name:"Mock folder in folder 2 folder 1",parentFolder:"folder-2-folder-1"}];function Xc(e){var t,n;return{state:{global:{id:((t=e==null?void 0:e.global)==null?void 0:t.id)??wd,slug:"mock-drive",name:"Mock Drive",icon:"",nodes:UI(((n=e==null?void 0:e.global)==null?void 0:n.id)??wd),...e==null?void 0:e.global},local:{sharingType:Yc,availableOffline:!1,...e==null?void 0:e.local}}}}Kc(Xc({global:{id:"local-drive",name:"Local drive"},local:{sharingType:Yc,availableOffline:!1}}));Kc(Xc({global:{id:"public-drive",name:"Public drive"},local:{sharingType:VI,availableOffline:!0}}));Kc(Xc({global:{id:"cloud-drive",name:"Cloud drive"},local:{sharingType:LI,availableOffline:!0}}));function Cd(e,t){if(t!==Yc)try{return lm}catch(n){return console.error(n),_I}}function Kc(e){const{id:t,name:n,icon:r,slug:o}=e.state.global,{sharingType:i,availableOffline:a}=e.state.local,s=Cd(t,i),l={id:t,name:n,slug:o||null,kind:yd,children:[],nodeMap:{},sharingType:i,syncStatus:s,availableOffline:a,icon:r,parentFolder:null,driveId:t},u=e.state.global.nodes.map(c=>{const f={...c,slug:c.name.toLowerCase().replace(/\s/g,"-"),driveId:t,parentFolder:c.parentFolder||t,syncStatus:s,sharingType:i};if(f.kind===yd)throw new Error("Drive nodes should not be nested");return f.kind===on?f:{...f,children:[]}});for(const c of u)l.nodeMap[c.id]=c;for(const c of u){if(c.kind===on&&(c.syncStatus=Cd(c.synchronizationUnits[0].syncId,i)),c.parentFolder===t){l.children.push(c);continue}const f=l.nodeMap[c.parentFolder];if(f.kind===on)throw new Error(`Parent node ${c.parentFolder} is a file, not a folder`);f.children.push(c),c.syncStatus!==lm&&(f.syncStatus=c.syncStatus)}return l}const Ps=e=>d.jsx(qd,{color:"light",size:"small",...Af(e,"border border-solid border-gray-300 bg-white px-3 py-1 text-sm text-gray-900"),children:e.children});function Dr(e){const{inputs:t}=e;return d.jsx("div",{className:"bg-white text-xs font-medium",children:t.map(({label:n,Input:r,inputLabel:o},i)=>d.jsxs("div",{className:Go("grid min-h-11 grid-cols-[208px,380px] items-center px-6 text-gray-600",i%2!==0&&"bg-gray-50"),children:[d.jsx("div",{children:n}),d.jsxs("div",{className:"h-max py-2 text-gray-900",children:[d.jsx(r,{}),o&&d.jsx("div",{className:"text-left text-gray-500",children:o})]},i)]},n))})}function cm(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var Wo;(function(e){e.event="event",e.props="prop"})(Wo||(Wo={}));function an(){}function BI(e){var t,n=void 0;return function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];return t&&r.length===t.length&&r.every(function(i,a){return i===t[a]})||(t=r,n=e.apply(void 0,r)),n}}function Zo(e){return!!(e||"").match(/\d/)}function vr(e){return e==null}function $I(e){return typeof e=="number"&&isNaN(e)}function um(e){return vr(e)||$I(e)||typeof e=="number"&&!isFinite(e)}function dm(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function WI(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function ZI(e,t,n){var r=WI(n),o=e.search(/[1-9]/);return o=o===-1?e.length:o,e.substring(0,o)+e.substring(o,e.length).replace(r,"$1"+t)}function qI(e){var t=g.useRef(e);t.current=e;var n=g.useRef(function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];return t.current.apply(t,r)});return n.current}function Qc(e,t){t===void 0&&(t=!0);var n=e[0]==="-",r=n&&t;e=e.replace("-","");var o=e.split("."),i=o[0],a=o[1]||"";return{beforeDecimal:i,afterDecimal:a,hasNegation:n,addNegation:r}}function GI(e){if(!e)return e;var t=e[0]==="-";t&&(e=e.substring(1,e.length));var n=e.split("."),r=n[0].replace(/^0+/,"")||"0",o=n[1]||"";return(t?"-":"")+r+(o?"."+o:"")}function fm(e,t,n){for(var r="",o=n?"0":"",i=0;i<=t-1;i++)r+=e[i]||o;return r}function Sd(e,t){return Array(t+1).join(e)}function pm(e){var t=e+"",n=t[0]==="-"?"-":"";n&&(t=t.substring(1));var r=t.split(/[eE]/g),o=r[0],i=r[1];if(i=Number(i),!i)return n+o;o=o.replace(".","");var a=1+i,s=o.length;return a<0?o="0."+Sd("0",Math.abs(a))+o:a>=s?o=o+Sd("0",a-s):o=(o.substring(0,a)||"0")+"."+o.substring(a),n+o}function Id(e,t,n){if(["","-"].indexOf(e)!==-1)return e;var r=(e.indexOf(".")!==-1||n)&&t,o=Qc(e),i=o.beforeDecimal,a=o.afterDecimal,s=o.hasNegation,l=parseFloat("0."+(a||"0")),u=a.length<=t?"0."+a:l.toFixed(t),c=u.split("."),f=i;i&&Number(c[0])&&(f=i.split("").reverse().reduce(function(m,b,y){return m.length>y?(Number(m[0])+Number(b)).toString()+m.substring(1,m.length):b+m},c[0]));var p=fm(c[1]||"",t,n),v=s?"-":"",h=r?".":"";return""+v+f+h+p}function On(e,t){if(e.value=e.value,e!==null){if(e.createTextRange){var n=e.createTextRange();return n.move("character",t),n.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}var hm=BI(function(e,t){for(var n=0,r=0,o=e.length,i=t.length;e[n]===t[n]&&n<o;)n++;for(;e[o-1-r]===t[i-1-r]&&i-r>n&&o-r>n;)r++;return{from:{start:n,end:o-r},to:{start:n,end:i-r}}}),YI=function(e,t){var n=Math.min(e.selectionStart,t);return{from:{start:n,end:e.selectionEnd},to:{start:n,end:t}}};function XI(e,t,n){return Math.min(Math.max(e,t),n)}function Os(e){return Math.max(e.selectionStart,e.selectionEnd)}function KI(){return typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function QI(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}function JI(e){var t=e.currentValue,n=e.formattedValue,r=e.currentValueIndex,o=e.formattedValueIndex;return t[r]===n[o]}function eM(e,t,n,r,o,i,a){a===void 0&&(a=JI);var s=o.findIndex(function(M){return M}),l=e.slice(0,s);!t&&!n.startsWith(l)&&(t=l,n=l+n,r=r+l.length);for(var u=n.length,c=e.length,f={},p=new Array(u),v=0;v<u;v++){p[v]=-1;for(var h=0,m=c;h<m;h++){var b=a({currentValue:n,lastValue:t,formattedValue:e,currentValueIndex:v,formattedValueIndex:h});if(b&&f[h]!==!0){p[v]=h,f[h]=!0;break}}}for(var y=r;y<u&&(p[y]===-1||!i(n[y]));)y++;var x=y===u||p[y]===-1?c:p[y];for(y=r-1;y>0&&p[y]===-1;)y--;var S=y===-1||p[y]===-1?0:p[y]+1;return S>x?x:r-S<x-r?S:x}function Md(e,t,n,r){var o=e.length;if(t=XI(t,0,o),r==="left"){for(;t>=0&&!n[t];)t--;t===-1&&(t=n.indexOf(!0))}else{for(;t<=o&&!n[t];)t++;t>o&&(t=n.lastIndexOf(!0))}return t===-1&&(t=o),t}function tM(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),n=0,r=t.length;n<r;n++)t[n]=!!(Zo(e[n])||Zo(e[n-1]));return t}function mm(e,t,n,r,o,i){i===void 0&&(i=an);var a=qI(function(h,m){var b,y;return um(h)?(y="",b=""):typeof h=="number"||m?(y=typeof h=="number"?pm(h):h,b=r(y)):(y=o(h,void 0),b=r(y)),{formattedValue:b,numAsString:y}}),s=g.useState(function(){return a(vr(e)?t:e,n)}),l=s[0],u=s[1],c=function(h,m){h.formattedValue!==l.formattedValue&&u({formattedValue:h.formattedValue,numAsString:h.value}),i(h,m)},f=e,p=n;vr(e)&&(f=l.numAsString,p=!0);var v=a(f,p);return g.useMemo(function(){u(v)},[v.formattedValue]),[l,c]}function nM(e){return e.replace(/[^0-9]/g,"")}function rM(e){return e}function oM(e){var t=e.type;t===void 0&&(t="text");var n=e.displayType;n===void 0&&(n="input");var r=e.customInput,o=e.renderText,i=e.getInputRef,a=e.format;a===void 0&&(a=rM);var s=e.removeFormatting;s===void 0&&(s=nM);var l=e.defaultValue,u=e.valueIsNumericString,c=e.onValueChange,f=e.isAllowed,p=e.onChange;p===void 0&&(p=an);var v=e.onKeyDown;v===void 0&&(v=an);var h=e.onMouseUp;h===void 0&&(h=an);var m=e.onFocus;m===void 0&&(m=an);var b=e.onBlur;b===void 0&&(b=an);var y=e.value,x=e.getCaretBoundary;x===void 0&&(x=tM);var S=e.isValidInputCharacter;S===void 0&&(S=Zo);var M=e.isCharacterSame,w=cm(e,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),I=mm(y,l,!!u,a,s,c),C=I[0],P=C.formattedValue,T=C.numAsString,F=I[1],H=g.useRef(),R=g.useRef({formattedValue:P,numAsString:T}),B=function(j,_){R.current={formattedValue:j.formattedValue,numAsString:j.value},F(j,_)},E=g.useState(!1),N=E[0],A=E[1],V=g.useRef(null),$=g.useRef({setCaretTimeout:null,focusTimeout:null});g.useEffect(function(){return A(!0),function(){clearTimeout($.current.setCaretTimeout),clearTimeout($.current.focusTimeout)}},[]);var L=a,W=function(j,_){var z=parseFloat(_);return{formattedValue:j,value:_,floatValue:isNaN(z)?void 0:z}},Z=function(j,_,z){j.selectionStart===0&&j.selectionEnd===j.value.length||(On(j,_),$.current.setCaretTimeout=setTimeout(function(){j.value===z&&j.selectionStart!==_&&On(j,_)},0))},te=function(j,_,z){return Md(j,_,x(j),z)},fe=function(j,_,z){var U=x(_),G=eM(_,P,j,z,U,S,M);return G=Md(_,G,U),G},X=function(j){var _=j.formattedValue;_===void 0&&(_="");var z=j.input,U=j.source,G=j.event,J=j.numAsString,oe;if(z){var Ie=j.inputValue||z.value,ze=Os(z);z.value=_,oe=fe(Ie,_,ze),oe!==void 0&&Z(z,oe,_)}_!==P&&B(W(_,J),{event:G,source:U})};g.useEffect(function(){var j=R.current,_=j.formattedValue,z=j.numAsString;(P!==_||T!==z)&&B(W(P,T),{event:void 0,source:Wo.props})},[P,T]);var le=V.current?Os(V.current):void 0,Se=typeof window<"u"?g.useLayoutEffect:g.useEffect;Se(function(){var j=V.current;if(P!==R.current.formattedValue&&j){var _=fe(R.current.formattedValue,P,le);j.value=P,Z(j,_,P)}},[P]);var je=function(j,_,z){var U=_.target,G=H.current?YI(H.current,U.selectionEnd):hm(P,j),J=Object.assign(Object.assign({},G),{lastValue:P}),oe=s(j,J),Ie=L(oe);if(oe=s(Ie,void 0),f&&!f(W(Ie,oe))){var ze=_.target,It=Os(ze),yn=fe(j,P,It);return ze.value=P,Z(ze,yn,P),!1}return X({formattedValue:Ie,numAsString:oe,inputValue:j,event:_,source:z,input:_.target}),!0},Ve=function(j,_){_===void 0&&(_=0);var z=j.selectionStart,U=j.selectionEnd;H.current={selectionStart:z,selectionEnd:U+_}},Ee=function(j){var _=j.target,z=_.value,U=je(z,j,Wo.event);U&&p(j),H.current=void 0},tt=function(j){var _=j.target,z=j.key,U=_.selectionStart,G=_.selectionEnd,J=_.value;J===void 0&&(J="");var oe;z==="ArrowLeft"||z==="Backspace"?oe=Math.max(U-1,0):z==="ArrowRight"?oe=Math.min(U+1,J.length):z==="Delete"&&(oe=U);var Ie=0;z==="Delete"&&U===G&&(Ie=1);var ze=z==="ArrowLeft"||z==="ArrowRight";if(oe===void 0||U!==G&&!ze){v(j),Ve(_,Ie);return}var It=oe;if(ze){var yn=z==="ArrowLeft"?"left":"right";It=te(J,oe,yn),It!==oe&&j.preventDefault()}else z==="Delete"&&!S(J[oe])?It=te(J,oe,"right"):z==="Backspace"&&!S(J[oe])&&(It=te(J,oe,"left"));It!==oe&&Z(_,It,J),v(j),Ve(_,Ie)},Ct=function(j){var _=j.target,z=function(){var U=_.selectionStart,G=_.selectionEnd,J=_.value;if(J===void 0&&(J=""),U===G){var oe=te(J,U);oe!==U&&Z(_,oe,J)}};z(),requestAnimationFrame(function(){z()}),h(j),Ve(_)},St=function(j){j.persist&&j.persist();var _=j.target,z=j.currentTarget;V.current=_,$.current.focusTimeout=setTimeout(function(){var U=_.selectionStart,G=_.selectionEnd,J=_.value;J===void 0&&(J="");var oe=te(J,U);oe!==U&&!(U===0&&G===J.length)&&Z(_,oe,J),m(Object.assign(Object.assign({},j),{currentTarget:z}))},0)},Ge=function(j){V.current=null,clearTimeout($.current.focusTimeout),clearTimeout($.current.setCaretTimeout),b(j)},Lt=N&&KI()?"numeric":void 0,O=Object.assign({inputMode:Lt},w,{type:t,value:P,onChange:Ee,onKeyDown:tt,onMouseUp:Ct,onFocus:St,onBlur:Ge});if(n==="text")return o?Q.createElement(Q.Fragment,null,o(P,w)||null):Q.createElement("span",Object.assign({},w,{ref:i}),P);if(r){var D=r;return Q.createElement(D,Object.assign({},O,{ref:i}))}return Q.createElement("input",Object.assign({},O,{ref:i}))}function Ed(e,t){var n=t.decimalScale,r=t.fixedDecimalScale,o=t.prefix;o===void 0&&(o="");var i=t.suffix;i===void 0&&(i="");var a=t.allowNegative,s=t.thousandsGroupStyle;if(s===void 0&&(s="thousand"),e===""||e==="-")return e;var l=Da(t),u=l.thousandSeparator,c=l.decimalSeparator,f=n!==0&&e.indexOf(".")!==-1||n&&r,p=Qc(e,a),v=p.beforeDecimal,h=p.afterDecimal,m=p.addNegation;return n!==void 0&&(h=fm(h,n,!!r)),u&&(v=ZI(v,u,s)),o&&(v=o+v),i&&(h=h+i),m&&(v="-"+v),e=v+(f&&c||"")+h,e}function Da(e){var t=e.decimalSeparator;t===void 0&&(t=".");var n=e.thousandSeparator,r=e.allowedDecimalSeparators;return n===!0&&(n=","),r||(r=[t,"."]),{decimalSeparator:t,thousandSeparator:n,allowedDecimalSeparators:r}}function iM(e,t){e===void 0&&(e="");var n=new RegExp("(-)"),r=new RegExp("(-)(.)*(-)"),o=n.test(e),i=r.test(e);return e=e.replace(/-/g,""),o&&!i&&t&&(e="-"+e),e}function aM(e,t){return new RegExp("(^-)|[0-9]|"+dm(e),"g")}function sM(e,t,n){return e===""?!0:!(t!=null&&t.match(/\d/))&&!(n!=null&&n.match(/\d/))&&typeof e=="string"&&!isNaN(Number(e))}function lM(e,t,n){var r;t===void 0&&(t=QI(e));var o=n.allowNegative,i=n.prefix;i===void 0&&(i="");var a=n.suffix;a===void 0&&(a="");var s=n.decimalScale,l=t.from,u=t.to,c=u.start,f=u.end,p=Da(n),v=p.allowedDecimalSeparators,h=p.decimalSeparator,m=e[f]===h;if(Zo(e)&&(e===i||e===a)&&t.lastValue==="")return e;if(f-c===1&&v.indexOf(e[c])!==-1){var b=s===0?"":h;e=e.substring(0,c)+b+e.substring(c+1,e.length)}var y=function(V,$,L){var W=!1,Z=!1;i.startsWith("-")?W=!1:V.startsWith("--")?(W=!1,Z=!0):a.startsWith("-")&&V.length===a.length?W=!1:V[0]==="-"&&(W=!0);var te=W?1:0;return Z&&(te=2),te&&(V=V.substring(te),$-=te,L-=te),{value:V,start:$,end:L,hasNegation:W}},x=y(e,c,f),S=x.hasNegation;r=x,e=r.value,c=r.start,f=r.end;var M=y(t.lastValue,l.start,l.end),w=M.start,I=M.end,C=M.value,P=e.substring(c,f);e.length&&C.length&&(w>C.length-a.length||I<i.length)&&!(P&&a.startsWith(P))&&(e=C);var T=0;e.startsWith(i)?T+=i.length:c<i.length&&(T=c),e=e.substring(T),f-=T;var F=e.length,H=e.length-a.length;e.endsWith(a)?F=H:(f>H||f>e.length-a.length)&&(F=f),e=e.substring(0,F),e=iM(S?"-"+e:e,o),e=(e.match(aM(h))||[]).join("");var R=e.indexOf(h);e=e.replace(new RegExp(dm(h),"g"),function(V,$){return $===R?".":""});var B=Qc(e,o),E=B.beforeDecimal,N=B.afterDecimal,A=B.addNegation;return u.end-u.start<l.end-l.start&&E===""&&m&&!parseFloat(N)&&(e=A?"-":""),e}function cM(e,t){var n=t.prefix;n===void 0&&(n="");var r=t.suffix;r===void 0&&(r="");var o=Array.from({length:e.length+1}).map(function(){return!0}),i=e[0]==="-";o.fill(!1,0,n.length+(i?1:0));var a=e.length;return o.fill(!1,a-r.length+1,a+1),o}function uM(e){var t=Da(e),n=t.thousandSeparator,r=t.decimalSeparator,o=e.prefix;o===void 0&&(o="");var i=e.allowNegative;if(i===void 0&&(i=!0),n===r)throw new Error(`
|
|
92
92
|
Decimal separator can't be same as thousand separator.
|
|
@@ -106,4 +106,4 @@ ${fy(v)}`),super(t.shortMessage,{cause:t,docsPath:r,metaMessages:[...t.metaMessa
|
|
|
106
106
|
*
|
|
107
107
|
* @license MIT
|
|
108
108
|
*/var jm=function(e,t){return e<t?-1:e>t?1:0},ZM=function(e,t){var n=e.localeCompare(t);return n?n/Math.abs(n):0},qM=/(^0x[\da-fA-F]+$|^([+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?!\.\d+)(?=\D|\s|$))|\d+)/g,km=/^\s+|\s+$/g,GM=/\s+/g,YM=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?$/,XM=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[/-]\d{1,4}[/-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,KM=/^0+[1-9]{1}[0-9]*$/,QM=/[^\x00-\x80]/,Pd=function(e,t){return e<t?-1:e>t?1:0},JM=function(e,t){for(var n=e.length,r=t.length,o=Math.min(n,r),i=0;i<o;i++){var a=e[i],s=t[i];if(a.normalizedString!==s.normalizedString){if(a.normalizedString===""!=(s.normalizedString===""))return a.normalizedString===""?-1:1;if(a.parsedNumber!==void 0&&s.parsedNumber!==void 0){var l=jm(a.parsedNumber,s.parsedNumber);return l===0?Pd(a.normalizedString,s.normalizedString):l}else return a.parsedNumber!==void 0||s.parsedNumber!==void 0?a.parsedNumber!==void 0?-1:1:QM.test(a.normalizedString+s.normalizedString)?ZM(a.normalizedString,s.normalizedString):Pd(a.normalizedString,s.normalizedString)}}return n>o||r>o?n<=o?-1:1:0},eE=function(e,t){return(e.chunks?!t.chunks:t.chunks)?e.chunks?-1:1:(e.isNaN?!t.isNaN:t.isNaN)?e.isNaN?-1:1:(e.isSymbol?!t.isSymbol:t.isSymbol)?e.isSymbol?-1:1:(e.isObject?!t.isObject:t.isObject)?e.isObject?-1:1:(e.isArray?!t.isArray:t.isArray)?e.isArray?-1:1:(e.isFunction?!t.isFunction:t.isFunction)?e.isFunction?-1:1:(e.isNull?!t.isNull:t.isNull)?e.isNull?-1:1:0},tE=function(e,t){return e.value===t.value?0:e.parsedNumber!==void 0&&t.parsedNumber!==void 0?jm(e.parsedNumber,t.parsedNumber):e.chunks&&t.chunks?JM(e.chunks,t.chunks):eE(e,t)},nE=function(e){return e.replace(GM," ").replace(km,"")},Nm=function(e){if(e.length!==0){var t=Number(e);if(!Number.isNaN(t))return t}},rE=function(e,t,n){if(YM.test(e)&&(!KM.test(e)||t===0||n[t-1]!=="."))return Nm(e)||0},oE=function(e,t,n){return{parsedNumber:rE(e,t,n),normalizedString:nE(e)}},iE=function(e){return e.replace(qM,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0")},aE=function(e){var t=iE(e).map(oE);return t},sE=function(e){return typeof e=="function"},Od=function(e){return Number.isNaN(e)||e instanceof Number&&Number.isNaN(e.valueOf())},lE=function(e){return e===null},cE=function(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!(e instanceof Number)&&!(e instanceof String)&&!(e instanceof Boolean)&&!(e instanceof Date)},uE=function(e){return typeof e=="symbol"},dE=function(e){return e===void 0},fE=function(e){try{var t=Date.parse(e);return!Number.isNaN(t)&&XM.test(e)?t:void 0}catch{return}},pE=function(e){var t=Nm(e);return t!==void 0?t:fE(e)},hE=function(e){return typeof e=="boolean"||e instanceof Boolean?Number(e).toString():typeof e=="number"||e instanceof Number?e.toString():e instanceof Date?e.getTime().toString():typeof e=="string"||e instanceof String?e.toLowerCase().replace(km,""):""},mE=function(e){if(typeof e=="string"||e instanceof String||(typeof e=="number"||e instanceof Number)&&!Od(e)||typeof e=="boolean"||e instanceof Boolean||e instanceof Date){var t=hE(e),n=pE(t),r=aE(n?""+n:t);return{parsedNumber:n,chunks:r,value:e}}return{isArray:Array.isArray(e),isFunction:sE(e),isNaN:Od(e),isNull:lE(e),isObject:cE(e),isSymbol:uE(e),isUndefined:dE(e),value:e}},gE=function(e,t,n){for(var r=e.index,o=e.values,i=t.index,a=t.values,s=o.length,l=n.length,u=0;u<s;u++){var c=u<l?n[u]:null;if(c&&typeof c=="function"){var f=c(o[u].value,a[u].value);if(f)return f}else{var p=tE(o[u],a[u]);if(p)return p*(c==="desc"?-1:1)}}return r-i},vE=function(e){return typeof e=="function"?e:function(t){if(Array.isArray(t)){var n=Number(e);if(Number.isInteger(n))return t[n]}else if(t&&typeof t=="object"){var r=Object.getOwnPropertyDescriptor(t,e);return r==null?void 0:r.value}return t}},bE=function(e,t){return e[t]},yE=function(e,t){return t(e)},xE=function(e,t,n){var r=t.length?t.map(vE):[function(i){return i}],o=e.map(function(i,a){var s=r.map(function(l){return yE(i,l)}).map(mE);return{index:a,values:s}});return o.sort(function(i,a){return gE(i,a,n)}),o.map(function(i){return bE(e,i.index)})},wE=function(e){if(!e)return[];var t=Array.isArray(e)?[].concat(e):[e];return t.some(function(n){return typeof n!="string"&&typeof n!="number"&&typeof n!="function"})?[]:t},CE=function(e){if(!e)return[];var t=Array.isArray(e)?[].concat(e):[e];return t.some(function(n){return n!=="asc"&&n!=="desc"&&typeof n!="function"})?[]:t};function SE(e,t,n){if(!e||!Array.isArray(e))return[];var r=wE(t),o=CE(n);return xE(e,r,o)}function IE(e){const[t,n]=g.useState(e),[r,o]=g.useState(),[i,a]=g.useState("asc"),s=g.useCallback((l,u)=>{o(l),a(u)},[]);return g.useEffect(()=>{if(e){if(!r){n(e);return}n(SE(e,[r],[i]))}},[r,i,e,s]),g.useMemo(()=>({sortedItems:t,sortHandler:s}),[t,s])}function ME(e){const{state:t,tableItem:n,operation:r,onSubmitCreate:o,onSubmitEdit:i,onSubmitDelete:a,onSubmitCreateAccount:s}=e,{transactions:l}=t,{inputs:u,submit:c,reset:f,showCreateAccountModal:p,setShowCreateAccountModal:v}=Am({item:n,state:t,operation:r,onSubmitCreate:o,onSubmitEdit:i,onSubmitDelete:a}),h=()=>d.jsx(Dr,{inputs:u}),m=vm({state:t,operation:"create",onSubmitCreate:y=>{s(y),v(!1)}}),b={dependentItemName:"transactions",dependentItemList:l.filter(y=>{var x;return(x=y.fees)==null?void 0:x.some(S=>S.serviceProviderFeeTypeId===(n==null?void 0:n.id))}).map((y,x)=>d.jsxs("div",{children:["Transaction #",x+1]},y.id))};return d.jsxs(d.Fragment,{children:[d.jsx(Rr,{...e,formInputs:h,dependentItemProps:b,submit:c,reset:f,onSubmitCreate:o,onSubmitEdit:i,onSubmitDelete:a}),p&&d.jsx(qo,{...e,...m,open:p,onOpenChange:v,itemName:"Account"})]})}const EE=g.memo(ME),PE=[{key:"name",label:"Name",allowSorting:!0},{key:"feeType",label:"Fee Type",allowSorting:!0},{key:"accountName",label:"Account Name",allowSorting:!0},{key:"accountReference",label:"Account Reference",allowSorting:!0}];function OE(e,t){if(!(e!=null&&e.length)||!(t!=null&&t.length))return[];const n=e.map(r=>{const o=t.find(i=>i.id===r.accountId);return{...r,accountName:o==null?void 0:o.label,accountReference:o==null?void 0:o.reference}});return Wn(n)}function jE(e){const{state:t}=e,{serviceProviderFeeTypes:n,accounts:r}=t,o="Service Provider Fee Type",i=g.useMemo(()=>OE(n,r),[n,r]),[a,s]=g.useState(),{operation:l,setOperation:u,showForm:c,existingState:f}=Vr({state:t});return d.jsxs(d.Fragment,{children:[d.jsx(Lr,{...e,itemName:o,tableData:i,columns:PE,selectedTableItem:a,operation:l,setSelectedTableItem:s,setOperation:u}),c&&d.jsx("div",{className:"mt-4 rounded-md bg-white",children:d.jsx(EE,{...e,itemName:o,state:f,tableItem:a,operation:l,setSelectedTableItem:s,setOperation:u})})]})}function Am(e){var t,n,r;const[o,i]=g.useState(!1),{item:a,state:s,onSubmitCreate:l,onSubmitEdit:u,onSubmitDelete:c,operation:f}=e,{accounts:p}=s,v={name:null,feeType:null,accountId:((t=p[0])==null?void 0:t.id)??null},h=a?{id:a.id,name:a.name,feeType:a.feeType,accountId:a.accountId}:v,{submit:m,reset:b,register:y,control:x,formState:S}=Fr({operation:f,createDefaultValues:v,editDefaultValues:h,onSubmitCreate:l,onSubmitEdit:u,onSubmitDelete:c}),{errors:M}=S;function w(P){return`${P.label} (${P.reference})`}const I=g.useCallback(P=>P.map(T=>({...T,value:T.id,label:w(T)})),[]),C=g.useMemo(()=>[{label:"Service Provider Name",Input:()=>{var P,T;return d.jsx(gt,{...y("name",{disabled:f==="view",required:"Service provider name is required"}),"aria-invalid":((P=M.name)==null?void 0:P.type)==="required"?"true":"false",errorMessage:(T=M.name)==null?void 0:T.message,placeholder:"E.g. My Service Provider"})}},{label:"Fee Type",Input:()=>{var P,T;return d.jsx(gt,{...y("feeType",{disabled:f==="view",required:"Fee type is required"}),"aria-invalid":((P=M.name)==null?void 0:P.type)==="required"?"true":"false",errorMessage:(T=M.name)==null?void 0:T.message,placeholder:"E.g. My Fee Type"})}},{label:"Account",Input:()=>{var P;return d.jsx(Tn,{control:x,name:"accountId",disabled:f==="view",options:I(p),addItemButtonProps:{onClick:()=>i(!0),label:"Create Account"},rules:{required:"Account is required"},"aria-invalid":M.accountId?"true":"false",errorMessage:(P=M.accountId)==null?void 0:P.message})}}],[p,x,M.accountId,(n=M.name)==null?void 0:n.message,(r=M.name)==null?void 0:r.type,I,f,y]);return g.useMemo(()=>({submit:m,reset:b,register:y,control:x,inputs:C,formState:{errors:M},showCreateAccountModal:o,setShowCreateAccountModal:i}),[m,b,y,x,C,M,o])}function kE(e){const{state:t,tableItem:n,operation:r,onSubmitCreate:o,onSubmitEdit:i,onSubmitDelete:a}=e,s=Fa(t),{submit:l,reset:u,inputs:c}=Tm({item:n,state:t,operation:r,onSubmitCreate:o,onSubmitEdit:i,onSubmitDelete:a}),f=()=>d.jsx(Dr,{inputs:c}),p={dependentItemName:"assets",dependentItemList:s.filter(v=>v.spvId===(n==null?void 0:n.id)).map(v=>d.jsx("div",{children:v.name},v.id))};return d.jsx(Rr,{...e,formInputs:f,dependentItemProps:p,submit:l,reset:u})}const NE=[{key:"name",label:"Name",allowSorting:!0}];function AE(e){const{state:t}=e,{spvs:n}=t,r="SPV",o=g.useMemo(()=>Wn(n),[n]),[i,a]=g.useState(),{operation:s,setOperation:l,showForm:u,existingState:c}=Vr({state:t});return d.jsxs(d.Fragment,{children:[d.jsx(Lr,{...e,itemName:r,tableData:o,columns:NE,selectedTableItem:i,operation:s,setSelectedTableItem:a,setOperation:l}),u&&d.jsx("div",{className:"mt-4 rounded-md bg-white",children:d.jsx(kE,{...e,itemName:r,state:c,tableItem:i,operation:s,setSelectedTableItem:a,setOperation:l})})]})}function Tm(e){var t,n;const{item:r,onSubmitCreate:o,onSubmitEdit:i,onSubmitDelete:a,operation:s}=e,l={name:null},u=r?{id:r.id,name:r.name}:l,{submit:c,reset:f,register:p,control:v,formState:h}=Fr({operation:s,createDefaultValues:l,editDefaultValues:u,onSubmitCreate:o,onSubmitEdit:i,onSubmitDelete:a}),{errors:m}=h,b=g.useMemo(()=>[{label:"SPV name",Input:()=>{var y,x;return d.jsx(gt,{...p("name",{disabled:s==="view",required:"SPV name is required"}),"aria-invalid":((y=m.name)==null?void 0:y.type)==="required"?"true":"false",errorMessage:(x=m.name)==null?void 0:x.message,placeholder:"E.g. My SPV name"})}}],[(t=m.name)==null?void 0:t.message,(n=m.name)==null?void 0:n.type,s,p]);return g.useMemo(()=>({submit:c,reset:f,register:p,control:v,inputs:b,formState:h}),[c,f,p,v,b,h])}function TE(e){const t=["Fees","Service Provider","Amount",""];return d.jsxs(d.Fragment,{children:[e.feeInputs.length>0&&d.jsx("div",{className:"bg-gray-50 pl-5 pt-3",children:d.jsxs("table",{className:"w-full border-separate text-xs font-medium",children:[d.jsx("thead",{className:"mb-2",children:d.jsx("tr",{children:t.map(n=>d.jsx("th",{className:de("py-2 text-left font-medium text-gray-600",n==="Amount"&&!e.isViewOnly&&"text-right"),children:n},n))})}),d.jsx("tbody",{children:e.feeInputs.map((n,r)=>{var o,i,a,s;return d.jsxs("tr",{children:[d.jsx("td",{className:"w-52"}),d.jsx("td",{className:"w-96",children:d.jsx(Tn,{rules:{required:"Service provider is required"},control:e.control,name:`fees.${r}.serviceProviderFeeTypeId`,disabled:e.isViewOnly,options:e.serviceProviderFeeTypeOptions,addItemButtonProps:{onClick:()=>e.setShowServiceProviderFeeTypeModal(!0),label:"Add Service Provider"},"aria-invalid":(i=(o=e.errors.fees)==null?void 0:o[r])!=null&&i.serviceProviderFeeTypeId?"true":"false"})}),d.jsx("td",{className:"w-52",children:d.jsx(Nl,{rules:{required:"Amount is required",validate:{positive:l=>!!l&&Number(l)>0||"Fee amount must be greater than zero"}},name:`fees.${r}.amount`,control:e.control,disabled:e.isViewOnly,currency:"USD","aria-invalid":(s=(a=e.errors.fees)==null?void 0:a[r])!=null&&s.amount?"true":"false",placeholder:"E.g. $1,000.00"})}),d.jsx("td",{className:"",children:!e.isViewOnly&&d.jsx("button",{type:"button",onClick:()=>e.remove(r),className:"flex items-center",children:d.jsx(be,{name:"Xmark",className:"text-gray-900"})})})]},n.id)})})]})}),!e.isViewOnly&&d.jsxs("button",{onClick:()=>{var n;return e.append({amount:null,serviceProviderFeeTypeId:(n=e.serviceProviderFeeTypes[0])==null?void 0:n.id})},className:"ml-[234px] mt-1 flex w-fit items-center justify-center gap-x-2 rounded-lg bg-white pb-6 text-sm font-semibold text-gray-900",children:[d.jsx("span",{children:"Add Fee"}),d.jsx(be,{name:"Plus",size:16})]})]})}function DE(e){return FE(e)?e.length===66:!1}function FE(e){return typeof e=="string"&&e.startsWith("0x")}const RE=g.forwardRef(function(e,t){const{control:n,disabled:r}=e,o=fn({control:n,name:"txRef"}),i=46,a=typeof o=="string"&&o.length>=i?`${o.slice(0,i)}...`:o,s=DE(o),l=d.jsxs("div",{children:[d.jsx("p",{children:o}),s&&d.jsx("p",{className:"mt-2 text-center",children:d.jsx("a",{className:"text-blue-900 underline",href:`https://etherscan.io/tx/${o}`,children:"View on Etherscan"})})]});return r?d.jsx(RI,{children:d.jsx($n,{content:l,children:d.jsx("span",{children:a})})}):d.jsx(gt,{...e,ref:t})});function LE(e){const{control:t}=e,n=fn({control:t,name:"cashAmount"}),r=fn({control:t,name:"fixedIncomeAmount"}),o=qE(n,r);return d.jsxs("div",{className:de("mt-1 w-fit",!e.isViewOnly&&"ml-auto"),children:[d.jsx("span",{className:"text-gray-600",children:"Unit Price"})," ",d.jsx("span",{className:"text-gray-900",children:d.jsx(Jc,{value:o,decimalScale:6})})]})}function VE(e){var t,n,r,o;const[i,a]=g.useState(!1),[s,l]=g.useState(!1),{item:u,state:c,onSubmitCreate:f,onSubmitEdit:p,onSubmitDelete:v,operation:h}=e,{serviceProviderFeeTypes:m,accounts:b}=c,y=g.useMemo(()=>Fa(c),[c]),x=Tl.map(X=>({label:iu[X],value:X})),S=y.map(X=>({label:Dm(X),value:X.id})),M={type:Tl[0],entryTime:_d(new Date),cashAmount:null,fixedIncomeId:((t=y[0])==null?void 0:t.id)??null,fixedIncomeAmount:null,serviceProviderFeeTypeId:null,fees:null,txRef:null},w=u?{id:u.id,type:u.type,entryTime:_d(u.entryTime),cashAmount:u.cashTransaction.amount??null,fixedIncomeId:((n=u.fixedIncomeTransaction)==null?void 0:n.assetId)??null,fixedIncomeAmount:((r=u.fixedIncomeTransaction)==null?void 0:r.amount)??null,serviceProviderFeeTypeId:u.serviceProviderFeeTypeId??null,fees:u.fees??null,txRef:u.txRef??null}:M,{submit:I,reset:C,register:P,watch:T,control:F,formState:H}=Fr({operation:h,createDefaultValues:M,editDefaultValues:w,onSubmitCreate:f,onSubmitEdit:p,onSubmitDelete:v,customSubmitHandler:A}),R=fn({control:F,name:"type"}),B=!!R&&ru.includes(R),E=!!R&&ou.includes(R),N=!E;function A(X){if(!h||h==="view")return;const le=X.id,Se=X.type,je=X.entryTime,Ve=X.cashAmount,Ee=B?X.fixedIncomeId:null,tt=X.serviceProviderFeeTypeId??null,Ct=B?X.fixedIncomeAmount:null,St=X.txRef??null,Ge=N?X.fees:null,Lt={create:f,edit:p,delete:v}[h];Lt==null||Lt({id:le,type:Se,entryTime:je,cashAmount:Ve,fixedIncomeId:Ee,fixedIncomeAmount:Ct,serviceProviderFeeTypeId:tt,fees:Ge,txRef:St})}const{errors:V}=H,{fields:$,append:L,remove:W}=zC({control:F,name:"fees"}),Z=g.useMemo(()=>m.map(X=>{var le;return{label:`${X.name} — ${X.feeType} — ${(le=b.find(Se=>Se.id===X.accountId))==null?void 0:le.reference}`,value:X.id}}),[m,b]),te=T("entryTime")||((o=H.defaultValues)==null?void 0:o.entryTime),fe=[{label:"Transaction Type",Input:()=>{var X;return d.jsx(Tn,{control:F,name:"type",disabled:h==="view",options:x,rules:{required:"Transaction type is required"},"aria-invalid":V.type?"true":"false",errorMessage:(X=V.type)==null?void 0:X.message})}},{label:"Entry Time",Input:()=>d.jsx(bp,{...P("entryTime",{required:!0,disabled:h==="view"}),name:"entryTime"}),inputLabel:te?cu(new Date(te)):null},E?{label:"Service Provider",Input:()=>d.jsx(Tn,{control:F,name:"serviceProviderFeeTypeId",disabled:h==="view",options:Z,addItemButtonProps:{onClick:()=>l(!0),label:"Add Service Provider"}})}:null,B?{label:"Asset name",Input:()=>{var X;return d.jsx(Tn,{control:F,name:"fixedIncomeId",disabled:h==="view",options:S,addItemButtonProps:{onClick:()=>a(!0),label:"Create Asset"},rules:{required:"Asset name is required"},"aria-invalid":V.type?"true":"false",errorMessage:(X=V.type)==null?void 0:X.message})}}:void 0,B?{label:"Quantity",Input:()=>{var X;return d.jsx(Nl,{name:"fixedIncomeAmount",rules:{required:"Quantity is required",validate:{positive:le=>!!le&&Number(le)>0||"Asset proceeds must be greater than zero"}},disabled:h==="view",control:F,"aria-invalid":V.fixedIncomeAmount?"true":"false",errorMessage:(X=V.fixedIncomeAmount)==null?void 0:X.message,placeholder:"E.g. 1,000.00"})}}:void 0,{label:B?"Asset Proceeds":"Cash Amount",Input:()=>{var X;return d.jsxs(d.Fragment,{children:[d.jsx(Nl,{name:"cashAmount",rules:{required:"Asset proceeds is required",validate:{positive:le=>!!le&&Number(le)>0||"Asset proceeds must be greater than zero"}},currency:"USD",disabled:h==="view",control:F,"aria-invalid":V.cashAmount?"true":"false",errorMessage:(X=V.cashAmount)==null?void 0:X.message,placeholder:"E.g. $1,000.00"}),B&&d.jsx(LE,{control:F,isViewOnly:h==="view"})]})}},{label:"Transaction reference",Input:()=>{var X;return d.jsx(RE,{...P("txRef",{disabled:h==="view"}),control:F,"aria-invalid":V.txRef?"true":"false",errorMessage:(X=V.txRef)==null?void 0:X.message,placeholder:"E.g. 0x123..."})}}].filter(Boolean);return g.useMemo(()=>({submit:I,reset:C,register:P,append:L,watch:T,fields:$,remove:W,control:F,inputs:fe,formState:H,serviceProviderFeeTypeOptions:Z,showCreateAssetModal:i,setShowCreateAssetModal:a,showCreateServiceProviderFeeTypeModal:s,setShowCreateServiceProviderFeeTypeModal:l,canHaveTransactionFees:N}),[I,C,P,L,T,$,W,F,fe,H,Z,i,s,N])}function _E(e){const{control:t}=e,n=fn({control:t,name:"cashAmount"}),r=fn({control:t,name:"type"}),o=fn({control:t,name:"fees"}),i=GE(r,n,o);return d.jsx(d.Fragment,{children:d.jsxs("div",{className:"flex items-center justify-between border-t border-gray-300 bg-gray-100 p-3 font-semibold text-gray-800",children:[d.jsx("div",{className:"mr-6 text-sm text-gray-600",children:"Cash Balance Change $USD"}),d.jsx("div",{className:"h-px flex-1 border-b border-dashed border-gray-400"}),d.jsx("div",{className:"pl-8 text-sm text-gray-900",children:d.jsx(Jc,{value:i})})]})})}function HE(e){const{state:t,tableItem:n,operation:r,onSubmitCreate:o,onSubmitEdit:i,onSubmitDelete:a,onSubmitCreateAsset:s,onSubmitCreateServiceProviderFeeType:l}=e,{serviceProviderFeeTypes:u}=t,{submit:c,reset:f,formState:p,inputs:v,register:h,control:m,watch:b,append:y,remove:x,fields:S,serviceProviderFeeTypeOptions:M,showCreateAssetModal:w,setShowCreateAssetModal:I,setShowCreateServiceProviderFeeTypeModal:C,showCreateServiceProviderFeeTypeModal:P,canHaveTransactionFees:T}=VE({item:n,state:t,operation:r,onSubmitCreate:o,onSubmitEdit:i,onSubmitDelete:a}),{errors:F}=p,H=bm({state:t,operation:"create",onSubmitCreate:B=>{s(B),I(!1)}}),R=Am({state:t,operation:"create",onSubmitCreate:B=>{l(B),C(!1)}});return d.jsxs(d.Fragment,{children:[d.jsx(Rr,{...e,formInputs:()=>d.jsxs(d.Fragment,{children:[d.jsx(Dr,{inputs:v}),T&&d.jsx(TE,{register:h,feeInputs:S,serviceProviderFeeTypes:u,serviceProviderFeeTypeOptions:M,setShowServiceProviderFeeTypeModal:C,control:m,watch:b,remove:x,append:y,errors:F,isViewOnly:r==="view"}),d.jsx(_E,{control:m})]}),submit:c,reset:f}),w&&d.jsx(qo,{...e,...H,open:w,onOpenChange:I,itemName:"Asset"}),P&&d.jsx(qo,{...e,...R,open:P,onOpenChange:C,itemName:"Service Provider Fee Type"})]})}const zE=g.memo(HE),UE=[{key:"typeLabel",label:"Type",allowSorting:!0},{key:"entryTime",label:"Entry Time",allowSorting:!0},{key:"asset",label:"Asset",allowSorting:!0},{key:"quantity",label:"Quantity",allowSorting:!0,isNumberColumn:!0},{key:"cashAmount",label:"Cash Amount ($)",allowSorting:!0,isNumberColumn:!0},{key:"totalFees",label:"Total Fees ($)",allowSorting:!0,isNumberColumn:!0},{key:"cashBalanceChange",label:"Cash Balance Change ($)",allowSorting:!0,isNumberColumn:!0}];function js(e,t){return e&&e*t}function BE(e,t){if(!(e!=null&&e.length))return[];const n=e.map(r=>{var o,i,a;const s=r.id,l=r.entryTime,u=(o=t==null?void 0:t.find(x=>{var S;return x.id===((S=r.fixedIncomeTransaction)==null?void 0:S.assetId)}))==null?void 0:o.name,c=r.type,f=iu[c],p=Pm[c],v=DP(c)?_M[c]:1,h=js((i=r.fixedIncomeTransaction)==null?void 0:i.amount,v),m=js(r.cashTransaction.amount,p),b=ou.includes(r.type)?js(r.cashTransaction.amount,r.type===nu?-1:1)??0:((a=r.fees)==null?void 0:a.reduce((x,S)=>x+S.amount,0))??0,y=r.cashBalanceChange;return{...r,id:s,type:c,typeLabel:f,entryTime:l,asset:u,quantity:h,cashAmount:m,totalFees:b,cashBalanceChange:y}});return Wn(n)}function $E(e){const t="Group Transaction",{state:n,itemsPerPage:r=20,initialPage:o=0,pageRange:i=3}=e,[a,s]=g.useState(),{transactions:l,portfolio:u}=n,{operation:c,setOperation:f,showForm:p,existingState:v}=Vr({state:n}),h=u.filter(W=>Ym(W)),[m,b]=g.useState(l),[y,x]=g.useState(),[S,M]=g.useState([]);g.useEffect(()=>{if(!y&&!S.length){b(l);return}b(l.filter(W=>{var Z,te;if(y&&S.length)return((Z=W.fixedIncomeTransaction)==null?void 0:Z.assetId)===y&&S.includes(W.type);if(y)return((te=W.fixedIncomeTransaction)==null?void 0:te.assetId)===y;if(S.length)return S.includes(W.type)}))},[y,S,l]);const w=g.useMemo(()=>h.map(W=>({label:Dm(W),value:W.id})),[h]),I=g.useMemo(()=>Tl.map(W=>({label:iu[W],value:W})),[]),C=g.useMemo(()=>Wn(BE(m,h)),[m,h]),{pageItems:P,pages:T,goToPage:F,goToNextPage:H,goToPreviousPage:R,goToFirstPage:B,goToLastPage:E,hiddenNextPages:N,isNextPageAvailable:A,isPreviousPageAvailable:V}=kf(C,{pageRange:i,initialPage:o,itemsPerPage:r});function $(W){if(!W||typeof W!="object"||!("value"in W)){x(void 0);return}const{value:Z}=W;x(Z)}function L(W){if(!W||!Array.isArray(W)){M([]);return}M(W.map(({value:Z})=>Z))}return d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"mb-2 flex gap-2",children:[d.jsx("div",{className:"min-w-72 max-w-96",children:d.jsx(tl,{options:w,onChange:$,isClearable:!0,placeholder:"Filter by Asset"})}),d.jsx("div",{className:"min-w-72 max-w-96",children:d.jsx(tl,{options:I,onChange:L,isClearable:!0,isMulti:!0,placeholder:"Filter by Type"})}),d.jsx("div",{className:"flex w-full justify-end",children:d.jsx(jf,{pages:T,hiddenNextPages:N,goToFirstPage:B,goToLastPage:E,goToNextPage:H,goToPage:F,goToPreviousPage:R,isNextPageAvailable:A,isPreviousPageAvailable:V,nextPageLabel:"Next",previousPageLabel:"Previous"})})]}),d.jsx(Lr,{...e,state:n,itemName:t,tableData:P,columns:UE,selectedTableItem:a,operation:c,setSelectedTableItem:s,setOperation:f}),p&&d.jsx("div",{className:"mt-4 rounded-md bg-white",children:d.jsx(zE,{...e,itemName:t,state:v,tableItem:a,operation:c,setSelectedTableItem:s,setOperation:f})})]})}function Dm(e){let t=e.name;return e.ISIN&&(t+=` - ${e.ISIN}`),e.CUSIP&&(t+=` - ${e.CUSIP}`),t}function WE(e){if(!/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/.test(e))return!1;const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())&&t.toISOString()===e}function ZE(e,t=!0){if(e instanceof Date||WE(e)){const n=e instanceof Date?e.toISOString():e;return cu(n,t)}return e}function kt(e,t=2,n=!0){return e==null?"--":typeof e=="number"?d.jsx(Jc,{value:e,decimalScale:t}):ZE(e,n)}function Wn(e,t){return e.map((n,r)=>({...n,itemNumber:r+1,customTransform:t}))}function qE(e,t){return!e||!t?0:e/t}function GE(e,t,n){if(!t||!e)return 0;const r=Pm[e],o=((n==null?void 0:n.map(i=>i.amount).filter(Boolean))??[]).reduce((i,a)=>i+a,0);return t*r-o}function YE(e){const{otherTableComponents:t}=e;return d.jsx("div",{children:t.map(({Component:n,value:r,label:o,description:i})=>d.jsxs("div",{children:[d.jsx("h2",{className:"mb-2 text-lg font-bold",children:o}),d.jsx("p",{className:"mb-4 text-xs text-gray-600",children:i}),d.jsx(n,{})]},r))})}function Fm(e){const{label:t,description:n,children:r}=e;return d.jsxs("div",{children:[d.jsx("h1",{className:"mb-2 text-lg font-bold",children:t}),d.jsx("p",{className:"mb-4 text-xs text-gray-600",children:n}),r]})}function XE(e){return d.jsx(Fm,{label:"Portfolio",description:"Details on the distribution of assets among different financial institutions or investment vehicles.",children:d.jsx(IM,{...e})})}var au="Tabs",[KE,aO]=vn(au,[va]),Rm=va(),[QE,su]=KE(au),Lm=g.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:s,activationMode:l="automatic",...u}=e,c=Kd(s),[f,p]=ua({prop:r,onChange:o,defaultProp:i});return d.jsx(QE,{scope:n,baseId:ur(),value:f,onValueChange:p,orientation:a,dir:c,activationMode:l,children:d.jsx(xe.div,{dir:c,"data-orientation":a,...u,ref:t})})});Lm.displayName=au;var Vm="TabsList",_m=g.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,i=su(Vm,n),a=Rm(n);return d.jsx(k0,{asChild:!0,...a,orientation:i.orientation,dir:i.dir,loop:r,children:d.jsx(xe.div,{role:"tablist","aria-orientation":i.orientation,...o,ref:t})})});_m.displayName=Vm;var Hm="TabsTrigger",zm=g.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=e,a=su(Hm,n),s=Rm(n),l=$m(a.baseId,r),u=Wm(a.baseId,r),c=r===a.value;return d.jsx(N0,{asChild:!0,...s,focusable:!o,active:c,children:d.jsx(xe.button,{type:"button",role:"tab","aria-selected":c,"aria-controls":u,"data-state":c?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l,...i,ref:t,onMouseDown:ie(e.onMouseDown,f=>{!o&&f.button===0&&f.ctrlKey===!1?a.onValueChange(r):f.preventDefault()}),onKeyDown:ie(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&a.onValueChange(r)}),onFocus:ie(e.onFocus,()=>{const f=a.activationMode!=="manual";!c&&!o&&f&&a.onValueChange(r)})})})});zm.displayName=Hm;var Um="TabsContent",Bm=g.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=e,s=su(Um,n),l=$m(s.baseId,r),u=Wm(s.baseId,r),c=r===s.value,f=g.useRef(c);return g.useEffect(()=>{const p=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(p)},[]),d.jsx(yt,{present:o||c,children:({present:p})=>d.jsx(xe.div,{"data-state":c?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:u,tabIndex:0,...a,ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0},children:p&&i})})});Bm.displayName=Um;function $m(e,t){return`${e}-trigger-${t}`}function Wm(e,t){return`${e}-content-${t}`}var JE=Lm,eP=_m,tP=zm,nP=Bm;function rP(e){const{tabComponents:t}=e;return d.jsxs(JE,{defaultValue:wm,children:[d.jsxs("div",{className:"flex justify-between",children:[d.jsx(eP,{className:"flex gap-x-2 rounded-xl bg-slate-50 p-1 text-sm font-semibold text-gray-600 outline-none",children:t.map(({value:n,label:r,disabled:o})=>d.jsx(tP,{value:n,disabled:o,className:"data-[state='active']:tab-shadow data-disabled:cursor-not-allowed data-disabled:text-gray-400 h-7 w-32 rounded-lg transition duration-300 data-[state='active']:bg-gray-50 data-[state='active']:text-gray-900",children:r},n))}),d.jsx(Bv,{...e})]}),d.jsx("div",{className:"mt-3 rounded-md bg-slate-50 p-8",children:t.map(({value:n,Component:r})=>d.jsx(nP,{value:n,children:d.jsx(r,{})},n))})]})}function oP(e){return d.jsx(Fm,{label:"Transactions",description:"Details on the distribution of assets among different financial institutions or investment vehicles.",children:d.jsx($E,{...e})})}function jd(e,t,n){const r=sP(e,n.timeZone,n.locale);return"formatToParts"in r?iP(r,t):aP(r,t)}function iP(e,t){const n=e.formatToParts(t);for(let r=n.length-1;r>=0;--r)if(n[r].type==="timeZoneName")return n[r].value}function aP(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}function sP(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function lP(e,t){const n=fP(t);return"formatToParts"in n?uP(n,e):dP(n,e)}const cP={year:0,month:1,day:2,hour:3,minute:4,second:5};function uP(e,t){try{const n=e.formatToParts(t),r=[];for(let o=0;o<n.length;o++){const i=cP[n[o].type];i!==void 0&&(r[i]=parseInt(n[o].value,10))}return r}catch(n){if(n instanceof RangeError)return[NaN];throw n}}function dP(e,t){const n=e.format(t),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(r[3],10),parseInt(r[1],10),parseInt(r[2],10),parseInt(r[4],10),parseInt(r[5],10),parseInt(r[6],10)]}const ks={};function fP(e){if(!ks[e]){const t=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n=t==="06/25/2014, 00:00:00"||t==="06/25/2014 00:00:00";ks[e]=n?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return ks[e]}function Zm(e,t,n,r,o,i,a){const s=new Date(0);return s.setUTCFullYear(e,t,n),s.setUTCHours(r,o,i,a),s}const kd=36e5,pP=6e4,Ns={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function lu(e,t,n){if(!e)return 0;let r=Ns.timezoneZ.exec(e);if(r)return 0;let o,i;if(r=Ns.timezoneHH.exec(e),r)return o=parseInt(r[1],10),Nd(o)?-(o*kd):NaN;if(r=Ns.timezoneHHMM.exec(e),r){o=parseInt(r[2],10);const a=parseInt(r[3],10);return Nd(o,a)?(i=Math.abs(o)*kd+a*pP,r[1]==="+"?-i:i):NaN}if(gP(e)){t=new Date(t||Date.now());const a=n?t:hP(t),s=Dl(a,e);return-(n?s:mP(t,s,e))}return NaN}function hP(e){return Zm(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function Dl(e,t){const n=lP(e,t),r=Zm(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime();let o=e.getTime();const i=o%1e3;return o-=i>=0?i:1e3+i,r-o}function mP(e,t,n){let r=e.getTime()-t;const o=Dl(new Date(r),n);if(t===o)return t;r-=o-t;const i=Dl(new Date(r),n);return o===i?o:Math.max(o,i)}function Nd(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}const Ad={};function gP(e){if(Ad[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Ad[e]=!0,!0}catch{return!1}}const vP=60*1e3,bP={X:function(e,t,n){const r=As(n.timeZone,e);if(r===0)return"Z";switch(t){case"X":return Td(r);case"XXXX":case"XX":return sr(r);case"XXXXX":case"XXX":default:return sr(r,":")}},x:function(e,t,n){const r=As(n.timeZone,e);switch(t){case"x":return Td(r);case"xxxx":case"xx":return sr(r);case"xxxxx":case"xxx":default:return sr(r,":")}},O:function(e,t,n){const r=As(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+yP(r,":");case"OOOO":default:return"GMT"+sr(r,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return jd("short",e,n);case"zzzz":default:return jd("long",e,n)}}};function As(e,t){const n=e?lu(e,t,!0)/vP:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function sa(e,t){const n=e<0?"-":"";let r=Math.abs(e).toString();for(;r.length<t;)r="0"+r;return n+r}function sr(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=sa(Math.floor(r/60),2),i=sa(Math.floor(r%60),2);return n+o+t+i}function Td(e,t){return e%60===0?(e>0?"-":"+")+sa(Math.abs(e)/60,2):sr(e,t)}function yP(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=r%60;return i===0?n+String(o):n+String(o)+t+sa(i,2)}function Dd(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}const xP=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Ts=36e5,Fd=6e4,wP=2,qe={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:xP};function qm(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);const n=t.additionalDigits==null?wP:Number(t.additionalDigits);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);const r=CP(e),{year:o,restDateString:i}=SP(r.date,n),a=IP(i,o);if(a===null||isNaN(a.getTime()))return new Date(NaN);if(a){const s=a.getTime();let l=0,u;if(r.time&&(l=MP(r.time),l===null||isNaN(l)))return new Date(NaN);if(r.timeZone||t.timeZone){if(u=lu(r.timeZone||t.timeZone,new Date(s+l)),isNaN(u))return new Date(NaN)}else u=Dd(new Date(s+l)),u=Dd(new Date(s+l+u));return new Date(s+l+u)}else return new Date(NaN)}function CP(e){const t={};let n=qe.dateTimePattern.exec(e),r;if(n?(t.date=n[1],r=n[3]):(n=qe.datePattern.exec(e),n?(t.date=n[1],r=n[2]):(t.date=null,r=e)),r){const o=qe.timeZone.exec(r);o?(t.time=r.replace(o[1],""),t.timeZone=o[1].trim()):t.time=r}return t}function SP(e,t){if(e){const n=qe.YYY[t],r=qe.YYYYY[t];let o=qe.YYYY.exec(e)||r.exec(e);if(o){const i=o[1];return{year:parseInt(i,10),restDateString:e.slice(i.length)}}if(o=qe.YY.exec(e)||n.exec(e),o){const i=o[1];return{year:parseInt(i,10)*100,restDateString:e.slice(i.length)}}}return{year:null}}function IP(e,t){if(t===null)return null;let n,r,o;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let i=qe.MM.exec(e);if(i)return n=new Date(0),r=parseInt(i[1],10)-1,Ld(t,r)?(n.setUTCFullYear(t,r),n):new Date(NaN);if(i=qe.DDD.exec(e),i){n=new Date(0);const a=parseInt(i[1],10);return OP(t,a)?(n.setUTCFullYear(t,0,a),n):new Date(NaN)}if(i=qe.MMDD.exec(e),i){n=new Date(0),r=parseInt(i[1],10)-1;const a=parseInt(i[2],10);return Ld(t,r,a)?(n.setUTCFullYear(t,r,a),n):new Date(NaN)}if(i=qe.Www.exec(e),i)return o=parseInt(i[1],10)-1,Vd(o)?Rd(t,o):new Date(NaN);if(i=qe.WwwD.exec(e),i){o=parseInt(i[1],10)-1;const a=parseInt(i[2],10)-1;return Vd(o,a)?Rd(t,o,a):new Date(NaN)}return null}function MP(e){let t,n,r=qe.HH.exec(e);if(r)return t=parseFloat(r[1].replace(",",".")),Ds(t)?t%24*Ts:NaN;if(r=qe.HHMM.exec(e),r)return t=parseInt(r[1],10),n=parseFloat(r[2].replace(",",".")),Ds(t,n)?t%24*Ts+n*Fd:NaN;if(r=qe.HHMMSS.exec(e),r){t=parseInt(r[1],10),n=parseInt(r[2],10);const o=parseFloat(r[3].replace(",","."));return Ds(t,n,o)?t%24*Ts+n*Fd+o*1e3:NaN}return null}function Rd(e,t,n){t=t||0,n=n||0;const r=new Date(0);r.setUTCFullYear(e,0,4);const o=r.getUTCDay()||7,i=t*7+n+1-o;return r.setUTCDate(r.getUTCDate()+i),r}const EP=[31,28,31,30,31,30,31,31,30,31,30,31],PP=[31,29,31,30,31,30,31,31,30,31,30,31];function Gm(e){return e%400===0||e%4===0&&e%100!==0}function Ld(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;const r=Gm(e);if(r&&n>PP[t]||!r&&n>EP[t])return!1}return!0}function OP(e,t){if(t<1)return!1;const n=Gm(e);return!(n&&t>366||!n&&t>365)}function Vd(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function Ds(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}const jP=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function kP(e,t,n={}){t=String(t);const r=t.match(jP);if(r){const o=qm(n.originalDate||e,n);t=r.reduce(function(i,a){if(a[0]==="'")return i;const s=i.indexOf(a),l=i[s-1]==="'",u=i.replace(a,"'"+bP[a[0]](o,a,n)+"'");return l?u.substring(0,s-1)+u.substring(s+1):u},t)}return $o(e,t,n)}function NP(e,t,n){e=qm(e,n);const r=lu(t,e,!0),o=new Date(e.getTime()-r),i=new Date(0);return i.setFullYear(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()),i.setHours(o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds()),i}function AP(e,t,n,r){return r={...r,timeZone:t,originalDate:e},kP(NP(e,t,{timeZone:r.timeZone}),n,r)}function _d(e=new Date){return $o(e,"yyyy-MM-dd'T'HH:mm")}function TP(e=new Date){return $o(e,"yyyy-MM-dd")}function cu(e,t=!0){return AP(e,"UTC",t?"yyyy/MM/dd, HH:mm:ss zzz":"yyyy/MM/dd")}function DP(e){return ru.includes(e)}function Ym(e){return e?e.type==="FixedIncome"||"fixedIncomeId"in e:!1}function FP(e){return e?e.type==="Cash"||"currency"in e:!1}function Fa(e){return e.portfolio.filter(t=>Ym(t))}function RP(e){return e.portfolio.find(t=>FP(t))}var Xm={},Km={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});function t(r,o){return{handler:r,config:o}}t.withOptions=function(r,o=()=>({})){const i=function(a){return{__options:a,handler:r(a),config:o(a)}};return i.__isOptionsFunction=!0,i.__pluginFunction=r,i.__configFunction=o,i};const n=t})(Km);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});const t=n(Km);function n(o){return o&&o.__esModule?o:{default:o}}const r=t.default})(Xm);let Fs=Xm;var Qm=(Fs.__esModule?Fs:{default:Fs}).default;const LP=cc(Qm),VP=Qm;function Hd(e){return Object.fromEntries(Object.entries(e).filter(([t])=>t!=="DEFAULT"))}VP(({addUtilities:e,matchUtilities:t,theme:n})=>{e({"@keyframes enter":n("keyframes.enter"),"@keyframes exit":n("keyframes.exit"),".animate-in":{animationName:"enter",animationDuration:n("animationDuration.DEFAULT"),"--tw-enter-opacity":"initial","--tw-enter-scale":"initial","--tw-enter-rotate":"initial","--tw-enter-translate-x":"initial","--tw-enter-translate-y":"initial"},".animate-out":{animationName:"exit",animationDuration:n("animationDuration.DEFAULT"),"--tw-exit-opacity":"initial","--tw-exit-scale":"initial","--tw-exit-rotate":"initial","--tw-exit-translate-x":"initial","--tw-exit-translate-y":"initial"}}),t({"fade-in":r=>({"--tw-enter-opacity":r}),"fade-out":r=>({"--tw-exit-opacity":r})},{values:n("animationOpacity")}),t({"zoom-in":r=>({"--tw-enter-scale":r}),"zoom-out":r=>({"--tw-exit-scale":r})},{values:n("animationScale")}),t({"spin-in":r=>({"--tw-enter-rotate":r}),"spin-out":r=>({"--tw-exit-rotate":r})},{values:n("animationRotate")}),t({"slide-in-from-top":r=>({"--tw-enter-translate-y":`-${r}`}),"slide-in-from-bottom":r=>({"--tw-enter-translate-y":r}),"slide-in-from-left":r=>({"--tw-enter-translate-x":`-${r}`}),"slide-in-from-right":r=>({"--tw-enter-translate-x":r}),"slide-out-to-top":r=>({"--tw-exit-translate-y":`-${r}`}),"slide-out-to-bottom":r=>({"--tw-exit-translate-y":r}),"slide-out-to-left":r=>({"--tw-exit-translate-x":`-${r}`}),"slide-out-to-right":r=>({"--tw-exit-translate-x":r})},{values:n("animationTranslate")}),t({duration:r=>({animationDuration:r})},{values:Hd(n("animationDuration"))}),t({delay:r=>({animationDelay:r})},{values:n("animationDelay")}),t({ease:r=>({animationTimingFunction:r})},{values:Hd(n("animationTimingFunction"))}),e({".running":{animationPlayState:"running"},".paused":{animationPlayState:"paused"}}),t({"fill-mode":r=>({animationFillMode:r})},{values:n("animationFillMode")}),t({direction:r=>({animationDirection:r})},{values:n("animationDirection")}),t({repeat:r=>({animationIterationCount:r})},{values:n("animationRepeat")})},{theme:{extend:{animationDelay:({theme:e})=>({...e("transitionDelay")}),animationDuration:({theme:e})=>({0:"0ms",...e("transitionDuration")}),animationTimingFunction:({theme:e})=>({...e("transitionTimingFunction")}),animationFillMode:{none:"none",forwards:"forwards",backwards:"backwards",both:"both"},animationDirection:{normal:"normal",reverse:"reverse",alternate:"alternate","alternate-reverse":"alternate-reverse"},animationOpacity:({theme:e})=>({DEFAULT:0,...e("opacity")}),animationTranslate:({theme:e})=>({DEFAULT:"100%",...e("translate")}),animationScale:({theme:e})=>({DEFAULT:0,...e("scale")}),animationRotate:({theme:e})=>({DEFAULT:"30deg",...e("rotate")}),animationRepeat:{0:"0",1:"1",infinite:"infinite"},keyframes:{enter:{from:{opacity:"var(--tw-enter-opacity, 1)",transform:"translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))"}},exit:{to:{opacity:"var(--tw-exit-opacity, 1)",transform:"translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))"}}}}}});var Jm={},e2={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"cloneDeep",{enumerable:!0,get:function(){return t}});function t(n){return Array.isArray(n)?n.map(r=>t(r)):typeof n=="object"&&n!==null?Object.fromEntries(Object.entries(n).map(([r,o])=>[r,t(o)])):n}})(e2);var _P={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>({...e("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:e})=>e("colors"),colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>({none:"none",...e("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:e})=>({...e("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:t})=>({...e("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(e("screens"))}),minHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:e})=>({...e("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});const t=e2,n=r(_P);function r(i){return i&&i.__esModule?i:{default:i}}const o=(0,t.cloneDeep)(n.default.theme)})(Jm);let Rs=Jm;var HP=(Rs.__esModule?Rs:{default:Rs}).default;const Ls=cc(HP);[...Ls.fontFamily.sans],{...Ls.fontSize},{...Ls.boxShadow};LP(function({addVariant:e}){e("collapsed",":merge(.group).collapsed &"),e("collapsing",":merge(.group).collapsing &"),e("expanded",":merge(.group).expanded &"),e("expanding",":merge(.group).expanding &")});function zP(e){const{dispatch:t,document:n,isAllowedToCreateDocuments:r,isAllowedToEditDocuments:o}=e,i=n.state.global,a=g.useCallback(u=>{const c=i.accounts.find(m=>m.id===u.id);if(!c)return;const f=Er(c),p=u.reference,v=u.label;p&&(f.reference=p),v&&(f.label=v);const h=ln(c,f);Object.values(h).filter(Boolean).length!==0&&t(Fe.editAccount({...h,id:c.id}))},[t,i.accounts]),s=g.useCallback(u=>{const c=Ze.hashKey(),f=u.reference,p=u.label;if(!f)throw new Error("Reference is required");t(Fe.createAccount({id:c,reference:f,label:p}))},[t]),l=g.useCallback(u=>{t(Fe.deleteAccount({id:u}))},[t]);return d.jsx(yM,{isAllowedToCreateDocuments:r,isAllowedToEditDocuments:o,onSubmitCreate:s,onSubmitDelete:l,onSubmitEdit:a,state:i})}function UP(e){const{dispatch:t,document:n,isAllowedToCreateDocuments:r,isAllowedToEditDocuments:o}=e,i=n.state.global,a=g.useCallback(u=>{const c=i.fixedIncomeTypes.find(h=>h.id===u.id);if(!c)return;const f=Er(c),p=u.name;p&&(f.name=p);const v=ln(c,f);Object.values(v).filter(Boolean).length!==0&&t(Fe.editFixedIncomeType({...v,id:c.id}))},[t,i.fixedIncomeTypes]),s=g.useCallback(u=>{const c=Ze.hashKey(),f=u.name;if(!f)throw new Error("Name is required");t(Fe.createFixedIncomeType({id:c,name:f}))},[t]),l=g.useCallback(u=>{t(Fe.deleteFixedIncomeType({id:u}))},[t]);return d.jsx(BM,{isAllowedToCreateDocuments:r,isAllowedToEditDocuments:o,onSubmitCreate:s,onSubmitDelete:l,onSubmitEdit:a,state:i})}function BP(e){const{dispatch:t,document:n,isAllowedToCreateDocuments:r,isAllowedToEditDocuments:o}=e,i=n.state.global,a=g.useCallback(c=>{const f=i.serviceProviderFeeTypes.find(y=>y.id===c.id);if(!f)return;const p=Er(f),v=c.name,h=c.accountId,m=c.feeType;v&&(p.name=v),h&&(p.accountId=h),m&&(p.feeType=m);const b=ln(f,p);Object.values(b).filter(Boolean).length!==0&&t(Fe.editServiceProviderFeeType({...b,id:f.id}))},[t,i.serviceProviderFeeTypes]),s=g.useCallback(c=>{const f=Ze.hashKey(),p=c.name,v=c.accountId,h=c.feeType;if(!p)throw new Error("Name is required");if(!v)throw new Error("Account is required");if(!h)throw new Error("Fee Type is required");t(Fe.createServiceProviderFeeType({id:f,name:p,accountId:v,feeType:h}))},[t]),l=g.useCallback(c=>{t(Fe.deleteServiceProviderFeeType({id:c}))},[t]),u=g.useCallback(c=>{const f=Ze.hashKey(),p=c.reference,v=c.label;if(!p)throw new Error("Reference is required");t(Fe.createAccount({id:f,reference:p,label:v}))},[t]);return d.jsx(jE,{isAllowedToCreateDocuments:r,isAllowedToEditDocuments:o,onSubmitCreate:s,onSubmitCreateAccount:u,onSubmitDelete:l,onSubmitEdit:a,state:i})}function $P(e){const{dispatch:t,document:n,isAllowedToCreateDocuments:r,isAllowedToEditDocuments:o}=e,i=n.state.global,a=g.useCallback(u=>{const c=i.spvs.find(h=>h.id===u.id);if(!c)return;const f=Er(c),p=u.name;p&&(f.name=p);const v=ln(c,f);Object.values(v).filter(Boolean).length!==0&&t(Fe.editSpv({...v,id:c.id}))},[t,i.spvs]),s=g.useCallback(u=>{const c=Ze.hashKey(),f=u.name;if(!f)throw new Error("Name is required");t(Fe.createSpv({id:c,name:f}))},[t]),l=g.useCallback(u=>{t(Fe.deleteSpv({id:u}))},[t]);return d.jsx(AE,{isAllowedToCreateDocuments:r,isAllowedToEditDocuments:o,onSubmitCreate:s,onSubmitDelete:l,onSubmitEdit:a,state:i})}function WP(e){return d.jsx(YE,{otherTableComponents:[{value:kM,label:"Accounts",description:"Add and manage accounts that can be associated with transactions and fees.",Component:()=>d.jsx(zP,{...e})},{value:NM,label:"Fixed Income Types",description:"Add and manage fixed income asset types.",Component:()=>d.jsx(UP,{...e})},{value:TM,label:"Special Purpose Vehicles (SPVs)",description:"Add and manage special purpose vehicles (SPVs).",Component:()=>d.jsx($P,{...e})},{value:AM,label:"Service Provider Fee Types",description:"Add and manage service providers and their associated fee types.",Component:()=>d.jsx(BP,{...e})}]})}const ZP=e=>{const{dispatch:t,document:n,isAllowedToCreateDocuments:r,isAllowedToEditDocuments:o}=e,i=n.state.global,{transactions:a,fixedIncomeTypes:s}=i,l=g.useCallback(h=>{const m=i.portfolio.find(T=>T.id===h.id);if(!m)return;const b=Er(m),y=h.name,x=h.maturity?new Date(h.maturity).toISOString():void 0,S=h.fixedIncomeTypeId,M=h.spvId,w=h.CUSIP,I=h.ISIN,C=h.coupon;y&&(b.name=y),x&&(b.maturity=x),S&&(b.fixedIncomeTypeId=S),M&&(b.spvId=M),w&&(b.CUSIP=w),I&&(b.ISIN=I),C&&(b.coupon=C);const P=ln(m,b);Object.values(P).filter(Boolean).length!==0&&t(Fe.editFixedIncomeAsset({...P,id:m.id}))},[t,i.portfolio]),u=g.useCallback(h=>{const m=Ze.hashKey(),b=h.name,y=h.maturity?new Date(h.maturity).toISOString():void 0,x=h.fixedIncomeTypeId,S=h.spvId,M=h.CUSIP,w=h.ISIN,I=h.coupon;if(!b)throw new Error("Name is required");if(!x)throw new Error("Fixed income type is required");if(!S)throw new Error("SPV is required");t(Fe.createFixedIncomeAsset({id:m,name:b,maturity:y,fixedIncomeTypeId:x,spvId:S,CUSIP:M,ISIN:w,coupon:I}))},[t]),c=g.useCallback(h=>{t(Fe.deleteFixedIncomeAsset({id:h}))},[t]),f=g.useCallback(h=>{const m=Ze.hashKey(),b=h.name;if(!b)throw new Error("Name is required");t(Fe.createFixedIncomeType({id:m,name:b}))},[t]),p=g.useCallback(h=>{const m=Ze.hashKey(),b=h.name;if(!b)throw new Error("Name is required");t(Fe.createSpv({id:m,name:b}))},[t]),v=g.useCallback((h,m)=>a2({asset:h,transactions:a,fixedIncomeTypes:s,currentDate:m}),[s,a]);return d.jsx(XE,{calculateCurrentValueCallback:v,isAllowedToCreateDocuments:r,isAllowedToEditDocuments:o,onSubmitCreate:u,onSubmitCreateFixedIncomeType:f,onSubmitCreateSpv:p,onSubmitDelete:c,onSubmitEdit:l,state:i})},qP={Date:!0,RegExp:!0,String:!0,Number:!0};function t2(e,t,n={cyclesFix:!0},r=[]){var o,i;let a=[];const s=Array.isArray(e);for(const u in e){const c=e[u],f=s?+u:u;if(!(u in t)){a.push({type:"REMOVE",path:[f],oldValue:e[u]});continue}const p=t[u],v=typeof c=="object"&&typeof p=="object"&&Array.isArray(c)===Array.isArray(p);if(c&&p&&v&&!qP[(i=(o=Object.getPrototypeOf(c))==null?void 0:o.constructor)==null?void 0:i.name]&&(!n.cyclesFix||!r.includes(c))){const h=t2(c,p,n,n.cyclesFix?r.concat([c]):[]);a.push.apply(a,h.map(m=>(m.path.unshift(f),m)))}else c!==p&&!(Number.isNaN(c)&&Number.isNaN(p))&&!(v&&(isNaN(c)?c+""==p+"":+c==+p))&&a.push({path:[f],type:"CHANGE",value:p,oldValue:c})}const l=Array.isArray(t);for(const u in t)u in e||a.push({type:"CREATE",path:[l?+u:u],value:t[u]});return a}function GP(e){for(const t of e){if(!t.amount)throw new Error("Transaction fee must have an amount");if(!t.serviceProviderFeeTypeId)throw new Error("Transaction fee must have a service provider fee type")}}const YP=e=>{const{dispatch:t,document:n,isAllowedToCreateDocuments:r,isAllowedToEditDocuments:o}=e,i=n.state.global,a=n.state.global.portfolio.find(s2),s=n.state.global.principalLenderAccountId,l=g.useCallback(m=>{var b;const{cashAmount:y,fixedIncomeId:x,fixedIncomeAmount:S,type:M,txRef:w,serviceProviderFeeTypeId:I}=m;if(!M)throw new Error("Type is required");if(!m.entryTime)throw new Error("Entry time is required");if(!y)throw new Error("Cash amount is required");const C=new Date(m.entryTime).toISOString(),P=(b=m.fees)!=null&&b.length?m.fees.map(H=>({...H,id:Ze.hashKey()})):null;P&&GP(P);const T={id:Ze.hashKey(),assetType:"Cash",assetId:a.id,entryTime:C,counterPartyAccountId:s,amount:y,accountId:null,settlementTime:null,tradeTime:null};if(x&&!S)throw new Error("Fixed income amount is required");if(S&&!x)throw new Error("Fixed income ID is required");const F=x&&S?{id:Ze.hashKey(),assetType:"FixedIncome",assetId:x,amount:S,entryTime:C,accountId:null,counterPartyAccountId:null,settlementTime:null,tradeTime:null}:null;return{id:Ze.hashKey(),type:M,entryTime:C,fees:P,txRef:w,serviceProviderFeeTypeId:I,cashTransaction:T,fixedIncomeTransaction:F,interestTransaction:null,feeTransactions:null}},[s,a.id]),u=g.useCallback((m,b)=>{const y=b.fees;if(!(y!=null&&y.length)&&!(m!=null&&m.length))return;if(y!=null&&y.length&&!(m!=null&&m.length)){t(pu({id:b.id,feeIds:y.map(C=>C.id)}));return}if(!m)throw new Error("Fees are required");const x=m.map(C=>({...C,id:C.id??Ze.hashKey(),amount:Number(C.amount)}));if(!(y!=null&&y.length)){hu(n.state.global,x),t(mu({id:b.id,fees:x}));return}const S=t2(y,m),M=[],w=[],I=[];S.forEach(C=>{C.type==="CREATE"&&!y.find(P=>P.id===x[C.path[0]].id)&&M.push(x[C.path[0]]),C.type==="REMOVE"&&I.push(y[C.path[0]].id),C.type==="CHANGE"&&w.push(x[C.path[0]])}),M.length&&(hu(n.state.global,M),t(mu({id:b.id,fees:M}))),w.length&&t(l2({id:b.id,fees:w})),I.length&&t(pu({id:b.id,feeIds:I}))},[t,n.state.global]),c=g.useCallback(m=>{const b=i.transactions.find(R=>R.id===m.id);if(!b)return;const y=m.entryTime?new Date(m.entryTime).toISOString():void 0,x=m.type,S=m.fixedIncomeId,M=m.fixedIncomeAmount,w=m.cashAmount,I=m.txRef,C=m.serviceProviderFeeTypeId,P=b.cashTransaction,T=b.fixedIncomeTransaction,F=Er(b);if(x&&(F.type=x),y&&(F.entryTime=y),I&&(F.txRef=I),C&&(F.serviceProviderFeeTypeId=C),typeof w=="number"){if(!F.cashTransaction)throw new Error("Cash transaction does not exist");F.cashTransaction.amount=w}if(S){if(!F.fixedIncomeTransaction)throw new Error("Fixed income transaction does not exist");F.fixedIncomeTransaction.assetId=S}if(typeof M=="number"){if(!F.fixedIncomeTransaction)throw new Error("Fixed income transaction does not exist");F.fixedIncomeTransaction.amount=M}let H=ln(b,F);if("fixedIncomeTransaction"in H){if(!T)throw new Error("Fixed income transaction does not exist");const R=ln(T,F.fixedIncomeTransaction);H={...H,fixedIncomeTransaction:{...R,id:T.id}}}if("cashTransaction"in H){if(!P)throw new Error("Cash transaction does not exist");const R=ln(P,F.cashTransaction);H={...H,cashTransaction:{...R,id:P.id}}}m.fees&&u(m.fees,F),Object.keys(H).length!==0&&t(c2({...H,id:b.id}))},[t,u,i.transactions]),f=g.useCallback(m=>{const b=l(m);t(u2(b))},[l,t]),p=g.useCallback(m=>{t(d2({id:m}))},[t]),v=g.useCallback(m=>{const b=Ze.hashKey(),y=m.name,x=m.maturity?new Date(m.maturity).toISOString():void 0,S=m.fixedIncomeTypeId,M=m.spvId,w=m.CUSIP,I=m.ISIN,C=m.coupon;if(!y)throw new Error("Name is required");if(!S)throw new Error("Fixed income type is required");if(!M)throw new Error("SPV is required");t(f2({id:b,name:y,maturity:x,fixedIncomeTypeId:S,spvId:M,CUSIP:w,ISIN:I,coupon:C}))},[t]),h=g.useCallback(m=>{const b=Ze.hashKey(),y=m.name,x=m.accountId,S=m.feeType;if(!y)throw new Error("Name is required");if(!x)throw new Error("Account is required");if(!S)throw new Error("Fee Type is required");t(p2({id:b,name:y,accountId:x,feeType:S}))},[t]);return d.jsx(oP,{isAllowedToCreateDocuments:r,isAllowedToEditDocuments:o,onSubmitCreate:f,onSubmitCreateAsset:v,onSubmitCreateServiceProviderFeeType:h,onSubmitDelete:p,onSubmitEdit:c,state:i})};function XP(e){const{document:{revision:{global:t,local:n},clipboard:r},dispatch:o}=e,i={undo:()=>o(fu.undo()),redo:()=>o(fu.redo()),canUndo:t>0||n>0,canRedo:r.length>0};return d.jsx(rP,{...e,...i,tabComponents:[{value:wm,label:"Portfolio",Component:()=>d.jsx(ZP,{...e})},{value:DM,label:"Transactions",Component:()=>d.jsx(YP,{...e})},{value:FM,label:"Other",Component:()=>d.jsx(WP,{...e})}]})}const sO=Object.freeze(Object.defineProperty({__proto__:null,default:XP},Symbol.toStringTag,{value:"Module"}));export{Tp as A,Ar as F,Vn as I,bx as K,gn as U,Mo as a,jc as b,Ax as d,sO as e,Y as i,un as j,go as l};
|
|
109
|
-
//# sourceMappingURL=editor-
|
|
109
|
+
//# sourceMappingURL=editor-CIbZp8-c.js.map
|