pennywise-ui 1.0.36 → 1.0.37
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/index.js +4 -4
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5305,15 +5305,15 @@ const S2 = "Trigger__qLBhmuc6", w2 = "Content__JrjMmnQL", gi = {
|
|
|
5305
5305
|
}) => {
|
|
5306
5306
|
const { refs: a, floatingStyles: l, context: u } = C2({
|
|
5307
5307
|
open: e,
|
|
5308
|
-
onOpenChange:
|
|
5309
|
-
b && (b.preventDefault(), b.stopPropagation()), t(h);
|
|
5310
|
-
},
|
|
5308
|
+
onOpenChange: t,
|
|
5311
5309
|
middleware: [Qf(4), qf(), Kf()],
|
|
5312
5310
|
placement: r,
|
|
5313
5311
|
whileElementsMounted: Bs
|
|
5314
5312
|
}), f = p2(u, { toggle: i }), m = v2(u, {
|
|
5315
5313
|
escapeKey: !0,
|
|
5316
|
-
|
|
5314
|
+
outsidePress(h) {
|
|
5315
|
+
return h.preventDefault(), h.stopPropagation(), !0;
|
|
5316
|
+
}
|
|
5317
5317
|
}), p = y2(u, { role: "dialog" }), { getReferenceProps: v, getFloatingProps: g } = I2([
|
|
5318
5318
|
f,
|
|
5319
5319
|
m,
|
package/dist/index.umd.cjs
CHANGED
|
@@ -26,7 +26,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
26
26
|
*/var xo;function Va(){return xo||(xo=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",s=0;s<arguments.length;s++){var l=arguments[s];l&&(i=r(i,o(l)))}return i}function o(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var s="";for(var l in i)t.call(i,l)&&i[l]&&(s=r(s,l));return s}function r(i,s){return s?i?i+" "+s:i+s:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()}(rr)),rr.exports}var Da=Va();const G=Ga(Da),xt={left:"JustifyStart",center:"JustifyCenter",right:"JustifyEnd"},or={left:"TextStart",center:"TextCenter",right:"TextEnd"},ja={L:"WidthL",M:"WidthM",S:"WidthS"},pe={Alert:"Alert__rfBMlzqd",WidthL:"WidthL__jUghmLYR",WidthM:"WidthM__SuEkARqv",WidthS:"WidthS__rH5Lpx-g",JustifyStart:"JustifyStart__AX2ppNIY",JustifyCenter:"JustifyCenter__AWazcSfF",JustifyEnd:"JustifyEnd__G2wBeeeN",TextStart:"TextStart__PMAjSOjR",TextCenter:"TextCenter__9RnfQbrk",TextEnd:"TextEnd__GMi5gHXH",CloseButton:"CloseButton__5JOp7scr",ImageContainer:"ImageContainer__gjXXTc8q",TitleContainer:"TitleContainer__L6x83dY2",Title:"Title__QJow3Z2m",Subtitle:"Subtitle__-ErL1NZ-",ContentContainer:"ContentContainer__248HIdRd",ButtonsContainer:"ButtonsContainer__ZfBa7vlJ"},ka=({alignment:e="center",children:t,className:n})=>d.jsx("div",{className:G(pe.ButtonsContainer,pe[xt[e]],n),children:t}),Wa=(e,t)=>d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{d:"M4.69659 9.46959C4.4037 9.17669 3.92882 9.17669 3.63593 9.46959C3.34304 9.76248 3.34304 10.2374 3.63593 10.5302L9.46926 16.3636C9.55266 16.447 9.65081 16.5066 9.75531 16.5425C9.82703 16.5672 9.90368 16.5814 9.98338 16.5831C9.98882 16.5832 9.99426 16.5833 9.9997 16.5833C10.1241 16.5833 10.2415 16.553 10.3448 16.4993C10.3757 16.4833 10.4057 16.465 10.4346 16.4443C10.4715 16.418 10.5059 16.3885 10.5373 16.3562L16.3633 10.5302C16.6562 10.2374 16.6562 9.76248 16.3633 9.46959C16.0704 9.17669 15.5955 9.17669 15.3026 9.46959L10.7497 14.0225V4.16658C10.7497 3.75237 10.4139 3.41658 9.9997 3.41658C9.58548 3.41658 9.2497 3.75237 9.2497 4.16658V14.0227L4.69659 9.46959Z",fill:"currentColor"})}),Ha=v.forwardRef(Wa),Xa=v.memo(Ha),Za=(e,t)=>d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{d:"M10.5299 4.6969C10.8228 4.404 10.8228 3.92913 10.5299 3.63623C10.237 3.34334 9.76216 3.34334 9.46926 3.63623L3.63593 9.46957C3.55253 9.55297 3.49288 9.65112 3.45698 9.75562C3.43227 9.82734 3.41813 9.90398 3.41643 9.98369C3.41632 9.98912 3.41626 9.99456 3.41626 10C3.41626 10.1244 3.44656 10.2418 3.50018 10.3451C3.51622 10.376 3.53456 10.406 3.55519 10.435C3.58146 10.4718 3.61098 10.5062 3.64334 10.5376L9.46926 16.3636C9.76216 16.6565 10.237 16.6565 10.5299 16.3636C10.8228 16.0707 10.8228 15.5958 10.5299 15.3029L5.97702 10.75H15.8329C16.2471 10.75 16.5829 10.4142 16.5829 10C16.5829 9.58579 16.2471 9.25 15.8329 9.25H5.97682L10.5299 4.6969Z",fill:"currentColor"})}),$a=v.forwardRef(Za),Ya=v.memo($a),za=(e,t)=>d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{d:"M9.46922 15.3029C9.17633 15.5958 9.17633 16.0707 9.46922 16.3636C9.76211 16.6565 10.237 16.6565 10.5299 16.3636L16.3632 10.5302C16.4466 10.4469 16.5063 10.3487 16.5422 10.2442C16.5669 10.1725 16.581 10.0958 16.5827 10.0161C16.5828 10.0107 16.5829 10.0053 16.5829 9.99982C16.5829 9.87539 16.5526 9.75805 16.499 9.65475C16.4829 9.62382 16.4646 9.59377 16.444 9.56486C16.4177 9.52802 16.3882 9.49365 16.3558 9.46218L10.5299 3.63625C10.237 3.34336 9.76211 3.34336 9.46922 3.63625C9.17633 3.92915 9.17633 4.40402 9.46922 4.69691L14.0221 9.24982L4.16622 9.24982C3.752 9.24982 3.41622 9.5856 3.41622 9.99982C3.41622 10.414 3.752 10.7498 4.16622 10.7498L14.0223 10.7498L9.46922 15.3029Z",fill:"currentColor"})}),Ja=v.forwardRef(za),Ua=v.memo(Ja),Qa=(e,t)=>d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{d:"M15.3026 10.5302C15.5954 10.8231 16.0703 10.8231 16.3632 10.5302C16.6561 10.2373 16.6561 9.76246 16.3632 9.46957L10.5299 3.63623C10.4465 3.55284 10.3483 3.49319 10.2438 3.45728C10.1721 3.43258 10.0955 3.41844 10.0158 3.41674C10.0103 3.41662 10.0049 3.41656 9.99945 3.41656C9.87503 3.41656 9.75768 3.44686 9.65438 3.50049C9.62346 3.51652 9.59341 3.53486 9.5645 3.5555C9.52765 3.58177 9.49329 3.61129 9.46181 3.64364L3.63589 9.46957C3.34299 9.76246 3.34299 10.2373 3.63589 10.5302C3.92878 10.8231 4.40365 10.8231 4.69655 10.5302L9.24945 5.97733V15.8332C9.24945 16.2474 9.58524 16.5832 9.99945 16.5832C10.4137 16.5832 10.7495 16.2474 10.7495 15.8332V5.97712L15.3026 10.5302Z",fill:"currentColor"})}),Ka=v.forwardRef(Qa),qa=v.memo(Ka),el=(e,t)=>d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.7932 1.24128C9.16021 1.02975 9.57638 0.918396 10 0.918396C10.4236 0.918396 10.8397 1.02974 11.2067 1.24124L11.2083 1.24217L17.0417 4.57549C17.342 4.74891 17.6007 4.98447 17.8011 5.26542C17.8479 5.31157 17.8893 5.36468 17.9238 5.42432C17.9536 5.47583 17.9766 5.5294 17.993 5.584C18.1613 5.91918 18.2496 6.28957 18.25 6.66592V13.3334C18.2496 13.7571 18.1377 14.1741 17.9256 14.5411C17.7135 14.908 17.4087 15.2126 17.0417 15.4245L17.0388 15.4262L11.2083 18.7579L11.2066 18.7589C10.9469 18.9085 10.6626 19.008 10.3685 19.0534C10.2597 19.1149 10.1339 19.15 10 19.15C9.86607 19.15 9.74034 19.1149 9.63152 19.0534C9.33737 19.008 9.05307 18.9085 8.79338 18.7589L8.79167 18.7579L2.96123 15.4262L2.95833 15.4245C2.59132 15.2126 2.28648 14.908 2.07439 14.5411C1.86231 14.1741 1.75044 13.7579 1.75 13.3341L1.75 6.66669C1.75038 6.29178 1.83798 5.92202 2.00502 5.58786C2.02154 5.53193 2.04491 5.47704 2.0754 5.42432C2.11055 5.36357 2.15291 5.30959 2.20078 5.26285C2.40083 4.98303 2.65889 4.74838 2.95833 4.5755L2.96123 4.57383L8.79167 1.24217L8.7932 1.24128ZM10.75 17.2922L16.2917 14.1255L16.2929 14.1248C16.4315 14.0445 16.5467 13.9292 16.627 13.7904C16.7074 13.6512 16.7498 13.4933 16.75 13.3326V6.96978L10.75 10.4406V17.2922ZM9.25 10.441V17.2922L3.70833 14.1255L3.70712 14.1248C3.56845 14.0445 3.45326 13.9292 3.37304 13.7904C3.29265 13.6513 3.25022 13.4935 3.25 13.3329V6.97023L9.25 10.441ZM10.4612 2.54287L15.9677 5.68942L9.99961 9.14176L4.0319 5.68964L9.53877 2.54287L9.54167 2.54121C9.68102 2.46075 9.83909 2.4184 10 2.4184C10.1609 2.4184 10.319 2.46075 10.4583 2.54121L10.4612 2.54287Z",fill:"currentColor"})}),tl=v.forwardRef(el),nl=v.memo(tl),rl=(e,t)=>d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3337 0.916565C13.748 0.916565 14.0837 1.25235 14.0837 1.66656V2.58343H15.8333C17.168 2.58343 18.25 3.66541 18.25 5.0001V16.6668C18.25 18.0015 17.168 19.0834 15.8333 19.0834H4.16667C2.83198 19.0834 1.75 18.0015 1.75 16.6668V5.0001C1.75 3.66541 2.83198 2.58343 4.16667 2.58343H5.91626V1.66656C5.91626 1.25235 6.25205 0.916565 6.66626 0.916565C7.08047 0.916565 7.41626 1.25235 7.41626 1.66656V2.58343H12.5837V1.66656C12.5837 1.25235 12.9195 0.916565 13.3337 0.916565ZM5.91626 4.08343V4.9999C5.91626 5.41411 6.25205 5.7499 6.66626 5.7499C7.08047 5.7499 7.41626 5.41411 7.41626 4.9999V4.08343H12.5837V4.9999C12.5837 5.41411 12.9195 5.7499 13.3337 5.7499C13.748 5.7499 14.0837 5.41411 14.0837 4.9999V4.08343H15.8333C16.3396 4.08343 16.75 4.49384 16.75 5.0001V7.58343H3.25V5.0001C3.25 4.49384 3.66041 4.08343 4.16667 4.08343H5.91626ZM16.75 9.08343V16.6668C16.75 17.173 16.3396 17.5834 15.8333 17.5834H4.16667C3.66041 17.5834 3.25 17.173 3.25 16.6668V9.08343H16.75Z",fill:"currentColor"})}),ol=v.forwardRef(rl),il=v.memo(ol),sl=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsxs("g",{clipPath:"url(#clip0_149_1817)",children:[d.jsx("path",{d:"M14.1628 0.972293C12.8736 0.961091 11.6317 1.45666 10.7044 2.35227L10.6966 2.35987L9.26329 3.78486C8.96955 4.0769 8.96816 4.55177 9.2602 4.84552C9.55224 5.13927 10.0271 5.14065 10.3209 4.84861L11.7501 3.42763C12.3941 2.80751 13.2556 2.46447 14.1497 2.47224C15.0456 2.48002 15.9025 2.83935 16.536 3.47283C17.1695 4.1063 17.5288 4.96325 17.5366 5.85908C17.5443 6.75286 17.2016 7.61401 16.5819 8.25792L14.0867 10.7531C13.7404 11.0996 13.3234 11.3676 12.8644 11.5389C12.4054 11.7101 11.9149 11.7806 11.4262 11.7456C10.9375 11.7106 10.4621 11.5709 10.0321 11.336C9.60217 11.1011 9.22777 10.7765 8.93431 10.3842C8.68621 10.0525 8.21619 9.98473 7.88451 10.2328C7.55282 10.4809 7.48506 10.951 7.73317 11.2826C8.15546 11.8472 8.69423 12.3143 9.31294 12.6524C9.93165 12.9904 10.6158 13.1914 11.319 13.2418C12.0223 13.2921 12.7281 13.1907 13.3887 12.9443C14.0492 12.6979 14.649 12.3123 15.1474 11.8137L17.6474 9.31374L17.6565 9.30444C18.5522 8.37714 19.0477 7.13518 19.0365 5.84605C19.0253 4.55692 18.5082 3.32376 17.5966 2.41217C16.6851 1.50058 15.4519 0.983495 14.1628 0.972293Z",fill:"currentColor"}),d.jsx("path",{d:"M8.68153 6.75829C7.97831 6.70792 7.27248 6.80939 6.61192 7.0558C5.9514 7.30219 5.35159 7.68775 4.85317 8.18632L2.35317 10.6863L2.34403 10.6956C1.44842 11.6229 0.952851 12.8649 0.964053 14.154C0.975255 15.4431 1.49234 16.6763 2.40393 17.5879C3.31552 18.4995 4.54868 19.0166 5.83781 19.0278C7.12694 19.039 8.3689 18.5434 9.2962 17.6478L9.3055 17.6386L10.7305 16.2136C11.0234 15.9208 11.0234 15.4459 10.7305 15.153C10.4376 14.8601 9.96273 14.8601 9.66983 15.153L8.24967 16.5732C7.60576 17.1928 6.74462 17.5356 5.85084 17.5278C4.95501 17.52 4.09806 17.1607 3.46459 16.5272C2.83111 15.8938 2.47178 15.0368 2.464 14.141C2.45623 13.2472 2.79901 12.3861 3.41867 11.7421L5.91383 9.24698C6.2602 8.90048 6.67714 8.63243 7.13617 8.4612C7.59521 8.28997 8.0857 8.21946 8.57438 8.25446C9.06306 8.28945 9.5385 8.42914 9.96845 8.66404C10.3984 8.89894 10.7728 9.22356 11.0663 9.61588C11.3144 9.94757 11.7844 10.0153 12.1161 9.76722C12.4478 9.51912 12.5155 9.0491 12.2674 8.71742C11.8451 8.15286 11.3063 7.68572 10.6876 7.34769C10.0689 7.00966 9.38476 6.80865 8.68153 6.75829Z",fill:"currentColor"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_149_1817",children:d.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),al=v.forwardRef(sl),ll=v.memo(al),cl=(e,t)=>d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{d:"M17.197 5.53033C17.4899 5.23744 17.4899 4.76256 17.197 4.46967C16.9041 4.17678 16.4292 4.17678 16.1363 4.46967L7.49959 13.1064L3.86285 9.46967C3.56996 9.17678 3.09508 9.17678 2.80219 9.46967C2.5093 9.76256 2.5093 10.2374 2.80219 10.5303L6.96886 14.697C7.11541 14.8435 7.30752 14.9168 7.49959 14.9167C7.69167 14.9168 7.88378 14.8435 8.03033 14.697L17.197 5.53033Z",fill:"currentColor"})}),ul=v.forwardRef(cl),dl=v.memo(ul),fl=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsxs("g",{clipPath:"url(#clip0_149_1836)",children:[d.jsx("path",{d:"M10.75 5C10.75 4.58579 10.4142 4.25 10 4.25C9.58579 4.25 9.25 4.58579 9.25 5V10C9.25 10.2841 9.4105 10.5438 9.66459 10.6708L12.9979 12.3375C13.3684 12.5227 13.8189 12.3726 14.0042 12.0021C14.1894 11.6316 14.0392 11.1811 13.6687 10.9958L10.75 9.53647V5Z",fill:"currentColor"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99959 0.916565C4.98301 0.916565 0.91626 4.98331 0.91626 9.9999C0.91626 15.0165 4.98301 19.0832 9.99959 19.0832C15.0162 19.0832 19.0829 15.0165 19.0829 9.9999C19.0829 4.98331 15.0162 0.916565 9.99959 0.916565ZM2.41626 9.9999C2.41626 5.81174 5.81143 2.41656 9.99959 2.41656C14.1878 2.41656 17.5829 5.81174 17.5829 9.9999C17.5829 14.1881 14.1878 17.5832 9.99959 17.5832C5.81143 17.5832 2.41626 14.1881 2.41626 9.9999Z",fill:"currentColor"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_149_1836",children:d.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),gl=v.forwardRef(fl),pl=v.memo(gl),ml=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsxs("g",{clipPath:"url(#clip0_149_1810)",children:[d.jsx("path",{d:"M2.68475 2.68505C2.85665 2.51314 3.08981 2.41656 3.33293 2.41656H10.8329C11.076 2.41656 11.3092 2.51314 11.4811 2.68505C11.653 2.85696 11.7496 3.09012 11.7496 3.33323V4.16656C11.7496 4.58078 12.0854 4.91657 12.4996 4.91657C12.9138 4.91657 13.2496 4.58078 13.2496 4.16656V3.33323C13.2496 2.69229 12.995 2.0776 12.5418 1.62439C12.0886 1.17118 11.4739 0.916565 10.8329 0.916565H3.33293C2.69199 0.916565 2.0773 1.17118 1.62408 1.62439C1.17087 2.0776 0.91626 2.69229 0.91626 3.33323V10.8332C0.91626 11.4742 1.17087 12.0889 1.62408 12.5421C2.0773 12.9953 2.69199 13.2499 3.33293 13.2499H4.16626C4.58047 13.2499 4.91626 12.9141 4.91626 12.4999C4.91626 12.0857 4.58047 11.7499 4.16626 11.7499H3.33293C3.08981 11.7499 2.85665 11.6533 2.68475 11.4814C2.51284 11.3095 2.41626 11.0763 2.41626 10.8332V3.33323C2.41626 3.09012 2.51284 2.85696 2.68475 2.68505Z",fill:"currentColor"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.16667 6.75C7.83198 6.75 6.75 7.83198 6.75 9.16667V16.6667C6.75 18.0014 7.83198 19.0833 9.16667 19.0833H16.6667C18.0014 19.0833 19.0833 18.0014 19.0833 16.6667V9.16667C19.0833 7.83198 18.0014 6.75 16.6667 6.75H9.16667ZM8.25 9.16667C8.25 8.66041 8.66041 8.25 9.16667 8.25H16.6667C17.1729 8.25 17.5833 8.66041 17.5833 9.16667V16.6667C17.5833 17.1729 17.1729 17.5833 16.6667 17.5833H9.16667C8.66041 17.5833 8.25 17.1729 8.25 16.6667V9.16667Z",fill:"currentColor"})]}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_149_1810",children:d.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),hl=v.forwardRef(ml),vl=v.memo(hl),bl=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsx("g",{clipPath:"url(#clip0_5147_234467)",children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8 1.71959C10.8 1.27776 10.4418 0.919586 9.99995 0.919586C9.55812 0.919586 9.19995 1.27776 9.19995 1.71959V10.8289L5.96529 7.59424C5.65287 7.28182 5.14634 7.28182 4.83392 7.59424C4.5215 7.90666 4.5215 8.41319 4.83392 8.72561L9.43414 13.3258C9.61302 13.5047 9.85553 13.5812 10.0888 13.5552C10.2448 13.538 10.3873 13.4759 10.5031 13.3821C10.5273 13.3625 10.5503 13.3415 10.5721 13.3192L15.1657 8.72561C15.4781 8.41319 15.4781 7.90666 15.1657 7.59424C14.8533 7.28182 14.3468 7.28182 14.0343 7.59424L10.8 10.8286V1.71959ZM1.71968 11.9601C2.16151 11.9601 2.51968 12.3183 2.51968 12.7601V16.4403C2.51968 16.7161 2.62926 16.9807 2.82431 17.1757C3.01936 17.3708 3.28391 17.4804 3.55976 17.4804H16.4404C16.7162 17.4804 16.9808 17.3708 17.1758 17.1757C17.3709 16.9807 17.4804 16.7161 17.4804 16.4403V12.7601C17.4804 12.3183 17.8386 11.9601 18.2804 11.9601C18.7223 11.9601 19.0804 12.3183 19.0804 12.7601V16.4403C19.0804 17.1405 18.8023 17.812 18.3072 18.3071C17.8121 18.8022 17.1405 19.0804 16.4404 19.0804H3.55976C2.85957 19.0804 2.18805 18.8022 1.69294 18.3071C1.19783 17.812 0.919678 17.1405 0.919678 16.4403V12.7601C0.919678 12.3183 1.27785 11.9601 1.71968 11.9601Z",fill:"currentColor"})}),d.jsx("defs",{children:d.jsx("clipPath",{id:"clip0_5147_234467",children:d.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),Cl=v.forwardRef(bl),Il=v.memo(Cl),xl=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsx("path",{d:"M7.37945 6.31961C7.08656 6.02672 6.61168 6.02672 6.31879 6.31961C6.0259 6.61251 6.0259 7.08738 6.31879 7.38027L8.93846 9.99995L6.31879 12.6196C6.0259 12.9125 6.0259 13.3874 6.31879 13.6803C6.61168 13.9732 7.08656 13.9732 7.37945 13.6803L9.99912 11.0606L12.6188 13.6803C12.9117 13.9732 13.3866 13.9732 13.6795 13.6803C13.9723 13.3874 13.9723 12.9125 13.6795 12.6196L11.0598 9.99995L13.6795 7.38027C13.9723 7.08738 13.9723 6.61251 13.6795 6.31961C13.3866 6.02672 12.9117 6.02672 12.6188 6.31961L9.99912 8.93929L7.37945 6.31961Z",fill:"currentColor"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 10C19 14.9706 14.9706 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1C14.9706 1 19 5.02944 19 10ZM17.5 10C17.5 14.1421 14.1421 17.5 10 17.5C5.85786 17.5 2.5 14.1421 2.5 10C2.5 5.85786 5.85786 2.5 10 2.5C14.1421 2.5 17.5 5.85786 17.5 10Z",fill:"currentColor"})]}),yl=v.forwardRef(xl),Sl=v.memo(yl),wl=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99999 6.75C8.20506 6.75 6.74999 8.20507 6.74999 10C6.74999 11.7949 8.20506 13.25 9.99999 13.25C11.7949 13.25 13.25 11.7949 13.25 10C13.25 8.20507 11.7949 6.75 9.99999 6.75ZM8.24999 10C8.24999 9.0335 9.03349 8.25 9.99999 8.25C10.9665 8.25 11.75 9.0335 11.75 10C11.75 10.9665 10.9665 11.75 9.99999 11.75C9.03349 11.75 8.24999 10.9665 8.24999 10Z",fill:"currentColor"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.8376 9.66416C19.8378 9.66444 19.8379 9.66469 19.1671 10.0001C19.8379 10.3355 19.8378 10.3358 19.8376 10.336L19.8363 10.3386L19.8336 10.3441L19.8243 10.3621C19.8165 10.3773 19.8055 10.3987 19.7911 10.4258C19.7624 10.4799 19.7207 10.5572 19.6661 10.6543C19.557 10.8482 19.3962 11.1219 19.1851 11.4487C18.764 12.1008 18.138 12.9722 17.3184 13.8464C15.6929 15.5803 13.2167 17.4168 10.0004 17.4168C6.7841 17.4168 4.30792 15.5803 2.68241 13.8464C1.86281 12.9722 1.23684 12.1008 0.815678 11.4487C0.604632 11.1219 0.443789 10.8482 0.334669 10.6543C0.280081 10.5572 0.238353 10.4799 0.209679 10.4258C0.19534 10.3987 0.184257 10.3773 0.176456 10.3621L0.167215 10.3441L0.164444 10.3386L0.163521 10.3367C0.163381 10.3365 0.162908 10.3355 0.833729 10.0001C0.162908 9.66469 0.163036 9.66444 0.163176 9.66416L0.164444 9.66163L0.167215 9.65615L0.176456 9.63806C0.184257 9.62288 0.19534 9.60154 0.209679 9.57444C0.238353 9.52026 0.280081 9.44299 0.334669 9.34595C0.443789 9.15196 0.604632 8.87832 0.815678 8.55154C1.23684 7.89942 1.86281 7.02805 2.68241 6.15381C4.30792 4.41993 6.7841 2.58344 10.0004 2.58344C13.2167 2.58344 15.6929 4.41993 17.3184 6.15381C18.138 7.02805 18.764 7.89942 19.1851 8.55154C19.3962 8.87832 19.557 9.15196 19.6661 9.34595C19.7207 9.44299 19.7624 9.52026 19.7911 9.57444C19.8055 9.60154 19.8165 9.62288 19.8243 9.63806L19.8336 9.65615L19.8363 9.66163L19.8376 9.66416ZM2.07574 10.6349C1.91182 10.3811 1.78228 10.1642 1.68818 10.0001C1.78228 9.83598 1.91182 9.61913 2.07574 9.36533C2.46187 8.76745 3.03381 7.97215 3.77671 7.17972C5.2762 5.58027 7.38336 4.08343 10.0004 4.08343C12.6174 4.08343 14.7246 5.58027 16.2241 7.17972C16.967 7.97215 17.5389 8.76745 17.9251 9.36533C18.089 9.61913 18.2185 9.83598 18.3126 10.0001C18.2185 10.1642 18.089 10.3811 17.9251 10.6349C17.5389 11.2328 16.967 12.028 16.2241 12.8205C14.7246 14.4199 12.6174 15.9168 10.0004 15.9168C7.38336 15.9168 5.2762 14.4199 3.77671 12.8205C3.03381 12.028 2.46187 11.2328 2.07574 10.6349Z",fill:"currentColor"}),d.jsx("path",{d:"M19.1671 10.0001L19.8376 9.66416C19.9432 9.8753 19.9432 10.1249 19.8376 10.336L19.1671 10.0001Z",fill:"currentColor"}),d.jsx("path",{d:"M0.163176 9.66416L0.833729 10.0001L0.162908 10.3355C0.0573353 10.1244 0.0576032 9.8753 0.163176 9.66416Z",fill:"currentColor"})]}),Al=v.forwardRef(wl),El=v.memo(Al),Ml=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsx("path",{d:"M5.91751 7.49998C5.91751 7.08577 6.2533 6.74998 6.66751 6.74998H8.33418C8.74839 6.74998 9.08418 7.08577 9.08418 7.49998C9.08418 7.9142 8.74839 8.24998 8.33418 8.24998H6.66751C6.2533 8.24998 5.91751 7.9142 5.91751 7.49998Z",fill:"currentColor"}),d.jsx("path",{d:"M6.66751 10.0833C6.2533 10.0833 5.91751 10.4191 5.91751 10.8333C5.91751 11.2475 6.2533 11.5833 6.66751 11.5833H13.3342C13.7484 11.5833 14.0842 11.2475 14.0842 10.8333C14.0842 10.4191 13.7484 10.0833 13.3342 10.0833H6.66751Z",fill:"currentColor"}),d.jsx("path",{d:"M5.91751 14.1667C5.91751 13.7524 6.2533 13.4167 6.66751 13.4167H13.3342C13.7484 13.4167 14.0842 13.7524 14.0842 14.1667C14.0842 14.5809 13.7484 14.9167 13.3342 14.9167H6.66751C6.2533 14.9167 5.91751 14.5809 5.91751 14.1667Z",fill:"currentColor"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.99919 0.916672C4.35825 0.916672 3.74356 1.17128 3.29034 1.6245C2.83713 2.07771 2.58252 2.6924 2.58252 3.33334V16.6667C2.58252 17.3076 2.83713 17.9223 3.29034 18.3755C3.74356 18.8287 4.35825 19.0833 4.99919 19.0833H14.9992C15.6401 19.0833 16.2548 18.8287 16.708 18.3755C17.1612 17.9223 17.4159 17.3076 17.4159 16.6667V6.71649C17.4169 6.70002 17.4175 6.68341 17.4175 6.66667C17.4175 6.44457 17.3209 6.24501 17.1675 6.10768L12.2265 1.16662C12.0891 1.01321 11.8896 0.916672 11.6675 0.916672C11.6672 0.916672 11.6678 0.916672 11.6675 0.916672C11.6672 0.916672 11.6661 0.916672 11.6659 0.916672H4.99919ZM10.9175 2.41667H4.99919C4.75607 2.41667 4.52291 2.51325 4.351 2.68516C4.1791 2.85707 4.08252 3.09022 4.08252 3.33334V16.6667C4.08252 16.9098 4.1791 17.1429 4.351 17.3149C4.52291 17.4868 4.75607 17.5833 4.99919 17.5833H14.9992C15.2423 17.5833 15.4755 17.4868 15.6474 17.3149C15.8193 17.1429 15.9159 16.9098 15.9159 16.6667V7.41667H11.6675C11.2533 7.41667 10.9175 7.08088 10.9175 6.66667V2.41667ZM14.8552 5.91667L12.4175 3.47896V5.91667H14.8552Z",fill:"currentColor"})]}),Bl=v.forwardRef(Ml),Tl=v.memo(Bl),Rl=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsx("path",{d:"M4.41014 11.2518C4.19356 10.0759 4.2845 8.85619 4.68489 7.714C5.22841 6.16352 6.30657 4.85742 7.72599 4.02998C9.1454 3.20255 10.8132 2.90791 12.4302 3.19893C14.0472 3.48996 15.5076 4.34759 16.5495 5.618C17.5913 6.8884 18.1464 8.48846 18.1153 10.1311C18.0841 11.7738 17.4686 13.3517 16.3793 14.5816C15.29 15.8116 13.7981 16.6132 12.1712 16.8426C10.8079 17.0349 9.42457 16.8148 8.19594 16.2202L8.18385 16.2145C8.14234 16.1951 8.09984 16.179 8.05673 16.1661C7.69181 16.0566 7.28419 16.1766 7.07588 16.5046C6.84057 16.8752 6.94883 17.37 7.33976 17.5697C7.39406 17.5975 7.44863 17.6246 7.50345 17.6511C7.53726 17.6675 7.57116 17.6836 7.60516 17.6995C9.09084 18.3944 10.7538 18.6479 12.3932 18.4167C14.3943 18.1345 16.2294 17.1485 17.5693 15.6356C18.9092 14.1227 19.6663 12.1819 19.7046 10.1613C19.743 8.14074 19.0601 6.17262 17.7786 4.60997C16.4971 3.04732 14.7007 1.99239 12.7118 1.63442C10.7228 1.27646 8.67134 1.63887 6.92541 2.65665C5.17947 3.67443 3.85329 5.28098 3.18475 7.18813C2.72664 8.49498 2.59787 9.88437 2.79653 11.2361L1.25601 10.1676C0.892959 9.91579 0.394521 10.006 0.142713 10.369C-0.109094 10.7321 -0.0189159 11.2305 0.344132 11.4823L3.6565 13.7797C4.01954 14.0316 4.51798 13.9414 4.76979 13.5783C4.77722 13.5676 4.78435 13.5568 4.79119 13.5458C4.82032 13.5145 4.84733 13.4805 4.87182 13.4438L6.87181 10.4438C7.11689 10.0761 7.01755 9.57944 6.64993 9.33436C6.28231 9.08928 5.78562 9.18862 5.54053 9.55624L4.41014 11.2518Z",fill:"currentColor"}),d.jsx("path",{d:"M11.7064 6.70002C11.7064 6.25819 11.3482 5.90002 10.9064 5.90002C10.4645 5.90002 10.1064 6.25819 10.1064 6.70002V10.391C10.1064 10.8834 10.3846 11.3335 10.825 11.5537L13.5486 12.9155C13.9438 13.1131 14.4243 12.953 14.6219 12.5578C14.8195 12.1626 14.6593 11.6821 14.2641 11.4845L11.7064 10.2056V6.70002Z",fill:"currentColor"})]}),Ll=v.forwardRef(Rl),Ol=v.memo(Ll),Fl=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsx("path",{d:"M10.0001 14.9482C10.4143 14.9482 10.7501 14.6124 10.7501 14.1982V8.19821C10.7501 7.784 10.4143 7.44821 10.0001 7.44821C9.58585 7.44821 9.25006 7.784 9.25006 8.19821V14.1982C9.25006 14.6124 9.58585 14.9482 10.0001 14.9482Z",fill:"currentColor"}),d.jsx("path",{d:"M9.24902 5.5C9.24902 5.91421 9.58481 6.25 9.99902 6.25H10.008C10.4222 6.25 10.758 5.91421 10.758 5.5C10.758 5.08578 10.4222 4.75 10.008 4.75H9.99902C9.58481 4.75 9.24902 5.08578 9.24902 5.5Z",fill:"currentColor"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 19C14.9706 19 19 14.9706 19 10C19 5.02944 14.9706 1 10 1C5.02944 1 1 5.02944 1 10C1 14.9706 5.02944 19 10 19ZM17.5 10C17.5 14.1421 14.1421 17.5 10 17.5C5.85786 17.5 2.5 14.1421 2.5 10C2.5 5.85786 5.85786 2.5 10 2.5C14.1421 2.5 17.5 5.85786 17.5 10Z",fill:"currentColor"})]}),Gl=v.forwardRef(Fl),_l=v.memo(Gl),Nl=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsx("path",{d:"M11.7 2.50001C11.7 2.05818 12.0581 1.70001 12.5 1.70001H17.4999C17.6251 1.70001 17.7438 1.7288 17.8493 1.78013C17.8976 1.80355 17.9439 1.8321 17.9876 1.86578C18.0456 1.9104 18.0972 1.96278 18.141 2.02136C18.164 2.05204 18.1848 2.08443 18.2032 2.11829C18.2649 2.23174 18.3 2.36178 18.3 2.50001V7.50001C18.3 7.94184 17.9418 8.30001 17.5 8.30001C17.0581 8.30001 16.7 7.94184 16.7 7.50001V4.4313L8.89889 12.2324C8.58647 12.5448 8.07994 12.5448 7.76752 12.2324C7.4551 11.9199 7.4551 11.4134 7.76752 11.101L15.5685 3.30001H12.5C12.0581 3.30001 11.7 2.94184 11.7 2.50001Z",fill:"currentColor"}),d.jsx("path",{d:"M4.16662 5.80001C3.93676 5.80001 3.71632 5.89132 3.55379 6.05385C3.39126 6.21638 3.29995 6.43682 3.29995 6.66668V15.8333C3.29995 16.0632 3.39126 16.2836 3.55379 16.4462C3.71632 16.6087 3.93676 16.7 4.16662 16.7H13.3333C13.5631 16.7 13.7836 16.6087 13.9461 16.4462C14.1086 16.2836 14.2 16.0632 14.2 15.8333V10.8333C14.2 10.3915 14.5581 10.0333 15 10.0333C15.4418 10.0333 15.8 10.3915 15.8 10.8333V15.8333C15.8 16.4875 15.5401 17.115 15.0775 17.5775C14.6149 18.0401 13.9875 18.3 13.3333 18.3H4.16662C3.51242 18.3 2.88501 18.0401 2.42242 17.5775C1.95983 17.115 1.69995 16.4875 1.69995 15.8333V6.66668C1.69995 6.01248 1.95983 5.38507 2.42242 4.92248C2.88501 4.45989 3.51242 4.20001 4.16662 4.20001H9.16662C9.60845 4.20001 9.96662 4.55818 9.96662 5.00001C9.96662 5.44184 9.60845 5.80001 9.16662 5.80001H4.16662Z",fill:"currentColor"})]}),Pl=v.forwardRef(Nl),Vl=v.memo(Pl),Dl=(e,t)=>d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.3667 10C3.3667 9.55817 3.72487 9.2 4.1667 9.2H15.8334C16.2752 9.2 16.6334 9.55817 16.6334 10C16.6334 10.4418 16.2752 10.8 15.8334 10.8H4.1667C3.72487 10.8 3.3667 10.4418 3.3667 10Z",fill:"currentColor"})}),jl=v.forwardRef(Dl),kl=v.memo(jl),Wl=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsx("path",{d:"M2.75427 9.99578C2.75427 10.7759 3.38667 11.4083 4.16677 11.4083C4.94687 11.4083 5.57927 10.7759 5.57927 9.99578C5.57927 9.21568 4.94687 8.58328 4.16677 8.58328C3.38667 8.58328 2.75427 9.21568 2.75427 9.99578Z",fill:"currentColor"}),d.jsx("path",{d:"M9.9999 11.4083C9.2198 11.4083 8.5874 10.7759 8.5874 9.99578C8.5874 9.21568 9.2198 8.58328 9.9999 8.58328C10.78 8.58328 11.4124 9.21568 11.4124 9.99578C11.4124 10.7759 10.78 11.4083 9.9999 11.4083Z",fill:"currentColor"}),d.jsx("path",{d:"M15.8333 11.4083C15.0532 11.4083 14.4208 10.7759 14.4208 9.99578C14.4208 9.21568 15.0532 8.58328 15.8333 8.58328C16.6134 8.58328 17.2458 9.21568 17.2458 9.99578C17.2458 10.7759 16.6134 11.4083 15.8333 11.4083Z",fill:"currentColor"})]}),Hl=v.forwardRef(Wl),Xl=v.memo(Hl),Zl=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsx("path",{d:"M10 2.75C9.21992 2.75 8.58752 3.3824 8.58752 4.1625C8.58752 4.9426 9.21992 5.575 10 5.575C10.7801 5.575 11.4125 4.9426 11.4125 4.1625C11.4125 3.3824 10.7801 2.75 10 2.75Z",fill:"currentColor"}),d.jsx("path",{d:"M8.58752 9.99563C8.58752 9.21553 9.21992 8.58313 10 8.58313C10.7801 8.58313 11.4125 9.21553 11.4125 9.99563C11.4125 10.7757 10.7801 11.4081 10 11.4081C9.21992 11.4081 8.58752 10.7757 8.58752 9.99563Z",fill:"currentColor"}),d.jsx("path",{d:"M8.58752 15.8291C8.58752 15.049 9.21992 14.4166 10 14.4166C10.7801 14.4166 11.4125 15.049 11.4125 15.8291C11.4125 16.6092 10.7801 17.2416 10 17.2416C9.21992 17.2416 8.58752 16.6092 8.58752 15.8291Z",fill:"currentColor"})]}),$l=v.forwardRef(Zl),Yl=v.memo($l),zl=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsx("path",{d:"M19 10C19 14.9706 14.9706 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1C14.9706 1 19 5.02944 19 10Z",fill:"#DB1042"}),d.jsx("path",{d:"M7.37945 6.31952C7.08656 6.02663 6.61168 6.02663 6.31879 6.31952C6.0259 6.61242 6.0259 7.08729 6.31879 7.38018L8.93846 9.99986L6.31879 12.6195C6.0259 12.9124 6.0259 13.3873 6.31879 13.6802C6.61168 13.9731 7.08656 13.9731 7.37945 13.6802L9.99912 11.0605L12.6188 13.6802C12.9117 13.9731 13.3866 13.9731 13.6795 13.6802C13.9723 13.3873 13.9723 12.9124 13.6795 12.6195L11.0598 9.99986L13.6795 7.38018C13.9723 7.08729 13.9723 6.61242 13.6795 6.31952C13.3866 6.02663 12.9117 6.02663 12.6188 6.31952L9.99912 8.93919L7.37945 6.31952Z",fill:"white"})]}),Jl=v.forwardRef(zl),Ul=v.memo(Jl),Ql=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsx("path",{d:"M10 1C5.03 1 1 5.03 1 10C1 14.97 5.03 19 10 19C14.97 19 19 14.97 19 10C19 5.03 14.97 1 10 1Z",fill:"#3682F3"}),d.jsx("path",{d:"M10 5.5C9.58579 5.5 9.25 5.83579 9.25 6.25C9.25 6.66421 9.58579 7 10 7C10.4142 7 10.75 6.66421 10.75 6.25C10.75 5.83579 10.4142 5.5 10 5.5Z",fill:"white"}),d.jsx("path",{d:"M9.25 8.5C9.25 8.08579 9.58579 7.75 10 7.75C10.4142 7.75 10.75 8.08579 10.75 8.5V13.5C10.75 13.9142 10.4142 14.25 10 14.25C9.58579 14.25 9.25 13.9142 9.25 13.5V8.5Z",fill:"white"})]}),Kl=v.forwardRef(Ql),ql=v.memo(Kl),ec=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsx("path",{d:"M19 10C19 14.9706 14.9706 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1C14.9706 1 19 5.02944 19 10Z",fill:"#23C779"}),d.jsx("path",{d:"M14.7292 7.78033C15.0221 7.48744 15.0221 7.01256 14.7292 6.71967C14.4363 6.42678 13.9614 6.42678 13.6685 6.71967L8.42383 11.9643L6.32916 9.86967C6.03626 9.57678 5.56139 9.57678 5.2685 9.86967C4.97561 10.1626 4.97561 10.6374 5.2685 10.9303L7.8935 13.5553C8.03415 13.696 8.22492 13.775 8.42383 13.775C8.62274 13.775 8.81351 13.696 8.95416 13.5553L14.7292 7.78033Z",fill:"white"})]}),tc=v.forwardRef(ec),nc=v.memo(tc),rc=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsx("path",{d:"M10 1C5.02944 1 1 5.02944 1 10C1 14.9706 5.02944 19 10 19C14.9706 19 19 14.9706 19 10C19 5.02944 14.9706 1 10 1Z",fill:"#EA7500"}),d.jsx("path",{d:"M9.24991 5.80179C9.24991 5.38757 9.5857 5.05179 9.99991 5.05179C10.4141 5.05179 10.7499 5.38757 10.7499 5.80179L10.7499 11.8018C10.7499 12.216 10.4141 12.5518 9.99991 12.5518C9.5857 12.5518 9.24991 12.216 9.24991 11.8018L9.24991 5.80179Z",fill:"white"}),d.jsx("path",{d:"M10.0009 13.75C10.4152 13.75 10.7509 14.0858 10.7509 14.5C10.7509 14.9142 10.4152 15.25 10.0009 15.25H9.99196C9.57774 15.25 9.24196 14.9142 9.24196 14.5C9.24196 14.0858 9.57774 13.75 9.99196 13.75H10.0009Z",fill:"white"})]}),oc=v.forwardRef(rc),ic=v.memo(oc),sc=(e,t)=>d.jsx("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40 80C62.0914 80 80 62.0914 80 40C80 17.9086 62.0914 0 40 0C17.9086 0 0 17.9086 0 40C0 62.0914 17.9086 80 40 80ZM28.4211 23.295C27.5926 23.295 26.926 23.9617 25.5926 25.295L25.2949 25.5927C23.9616 26.9261 23.2949 27.5927 23.2949 28.4212C23.2949 29.2496 23.9616 29.9163 25.2949 31.2496L34.0454 40.0001L25.2949 48.7506C23.9616 50.084 23.2949 50.7506 23.2949 51.5791C23.2949 52.4075 23.9616 53.0742 25.2949 54.4075L25.5926 54.7052C26.926 56.0386 27.5926 56.7052 28.4211 56.7052C29.2495 56.7052 29.9161 56.0386 31.2495 54.7052L40 45.9547L48.7505 54.7052C50.0839 56.0386 50.7505 56.7052 51.5789 56.7052C52.4074 56.7052 53.074 56.0386 54.4074 54.7052L54.7051 54.4075C56.0384 53.0742 56.7051 52.4075 56.7051 51.5791C56.7051 50.7506 56.0384 50.084 54.7051 48.7506L45.9546 40.0001L54.7051 31.2496C56.0384 29.9163 56.7051 29.2496 56.7051 28.4212C56.7051 27.5927 56.0384 26.9261 54.7051 25.5927L54.4074 25.295C53.074 23.9617 52.4074 23.295 51.579 23.295C50.7505 23.295 50.0839 23.9617 48.7505 25.295L40 34.0455L31.2495 25.295C29.9161 23.9617 29.2495 23.295 28.4211 23.295Z",fill:"#DB1042"})}),ac=v.forwardRef(sc),lc=v.memo(ac),cc=(e,t)=>d.jsx("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40 80C62.0914 80 80 62.0914 80 40C80 17.9086 62.0914 0 40 0C17.9086 0 0 17.9086 0 40C0 62.0914 17.9086 80 40 80ZM61.9154 28.874C61.9079 28.0456 61.2353 27.385 59.89 26.0637L59.5896 25.7687C58.2443 24.4474 57.5717 23.7868 56.7433 23.7942C55.9149 23.8017 55.2542 24.4743 53.933 25.8196L35.0789 45.0165L28.067 37.877C26.7457 36.5317 26.0851 35.8591 25.2567 35.8516C24.4283 35.8442 23.7556 36.5048 22.4104 37.8261L22.11 38.1211C20.7647 39.4424 20.092 40.103 20.0846 40.9314C20.0771 41.7598 20.7377 42.4324 22.059 43.7777L32.2251 54.1287C33.5683 55.4963 34.2399 56.1801 35.0789 56.1801C35.9179 56.1801 36.5895 55.4963 37.9327 54.1287L59.941 31.7203C61.2622 30.375 61.9229 29.7024 61.9154 28.874Z",fill:"#23C779"})}),uc=v.forwardRef(cc),dc=v.memo(uc),fc=(e,t)=>d.jsx("svg",{width:"90",height:"80",viewBox:"0 0 90 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.6465 5.38208C49.7915 -1.253 40.2085 -1.25302 36.3535 5.38207L1.72882 64.9764C-2.14453 71.643 2.66518 80.0001 10.3754 80.0001H79.6246C87.3348 80.0001 92.1445 71.643 88.2711 64.9764L53.6465 5.38208ZM45.2105 24.1036C47.0961 24.1036 48.039 24.1036 48.6247 24.6894C49.2105 25.2752 49.2105 26.218 49.2105 28.1036L49.2105 47.472C49.2105 49.3576 49.2105 50.3004 48.6247 50.8862C48.039 51.472 47.0961 51.472 45.2105 51.472H44.7895C42.9039 51.472 41.9611 51.472 41.3753 50.8862C40.7895 50.3004 40.7895 49.3576 40.7895 47.472V28.1036C40.7895 26.218 40.7895 25.2752 41.3753 24.6894C41.961 24.1036 42.9039 24.1036 44.7895 24.1036H45.2105ZM49.7368 60.4194C49.7368 63.0355 47.6161 65.1562 45 65.1562C42.3839 65.1562 40.2632 63.0355 40.2632 60.4194C40.2632 57.8033 42.3839 55.6825 45 55.6825C47.6161 55.6825 49.7368 57.8033 49.7368 60.4194Z",fill:"#EA7500"})}),gc=v.forwardRef(fc),pc=v.memo(gc),mc=(e,t)=>d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.16667 1.75C3.52573 1.75 2.91104 2.00461 2.45783 2.45783C2.00461 2.91104 1.75 3.52573 1.75 4.16667V15.8333C1.75 16.4743 2.00461 17.089 2.45783 17.5422C2.91104 17.9954 3.52573 18.25 4.16667 18.25H5.82136L5.83374 18.2501L5.84612 18.25H14.1547L14.1671 18.2501L14.1795 18.25H15.8333C16.4743 18.25 17.089 17.9954 17.5422 17.5422C17.9954 17.089 18.25 16.4743 18.25 15.8333V6.66667C18.25 6.46775 18.171 6.27699 18.0303 6.13634L13.8637 1.96967C13.723 1.82902 13.5322 1.75 13.3333 1.75H4.16667ZM4.16667 3.25C3.92355 3.25 3.69039 3.34658 3.51849 3.51849C3.34658 3.69039 3.25 3.92355 3.25 4.16667V15.8333C3.25 16.0764 3.34658 16.3096 3.51849 16.4815C3.69039 16.6534 3.92355 16.75 4.16667 16.75H5.08374V10.8334C5.08374 10.4192 5.41953 10.0834 5.83374 10.0834H14.1671C14.5813 10.0834 14.9171 10.4192 14.9171 10.8334V16.75H15.8333C16.0764 16.75 16.3096 16.6534 16.4815 16.4815C16.6534 16.3096 16.75 16.0764 16.75 15.8333V6.97733L13.0227 3.25H6.58374V5.91667H12.5004C12.9146 5.91667 13.2504 6.25245 13.2504 6.66667C13.2504 7.08088 12.9146 7.41667 12.5004 7.41667H5.83374C5.41953 7.41667 5.08374 7.08088 5.08374 6.66667V3.25H4.16667ZM6.58374 16.75H13.4171V11.5834H6.58374V16.75Z",fill:"currentColor"})}),hc=v.forwardRef(mc),vc=v.memo(hc),bc=(e,t)=>d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.8537 14.9149C12.5761 15.9578 10.9444 16.5833 9.16667 16.5833C5.07055 16.5833 1.75 13.2628 1.75 9.16667C1.75 5.07055 5.07055 1.75 9.16667 1.75C13.2628 1.75 16.5833 5.07055 16.5833 9.16667C16.5833 10.9448 15.9576 12.5767 14.9144 13.8543L18.0298 16.9698C18.3227 17.2627 18.3227 17.7376 18.0298 18.0305C17.7369 18.3233 17.2621 18.3233 16.9692 18.0305L13.8537 14.9149ZM3.25 9.16667C3.25 5.89898 5.89898 3.25 9.16667 3.25C12.4344 3.25 15.0833 5.89898 15.0833 9.16667C15.0833 10.7626 14.4515 12.211 13.4242 13.2752C13.3963 13.2962 13.3696 13.3194 13.3442 13.3448C13.3188 13.3702 13.2956 13.3969 13.2747 13.4248C12.2105 14.4517 10.7623 15.0833 9.16667 15.0833C5.89898 15.0833 3.25 12.4344 3.25 9.16667Z",fill:"currentColor"})}),Cc=v.forwardRef(bc),Ic=v.memo(Cc),xc=(e,t)=>d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.73657 0.964417C9.90636 0.900746 10.0935 0.900746 10.2633 0.964417L16.9299 3.46442C17.2227 3.57419 17.4166 3.85403 17.4166 4.16666V10C17.4166 12.8348 15.5386 15.1086 13.8271 16.6061C12.9556 17.3687 12.0877 17.965 11.4391 18.3704C11.114 18.5735 10.842 18.73 10.6496 18.8365C10.5534 18.8898 10.4769 18.9307 10.4234 18.9587C10.3967 18.9728 10.3757 18.9836 10.3609 18.9912L10.3433 19.0001L10.3381 19.0028L10.3364 19.0036L10.3358 19.0039C10.3355 19.004 10.3353 19.0042 9.99992 18.3333C9.66451 19.0042 9.66428 19.004 9.66404 19.0039L9.66341 19.0036L9.66171 19.0028L9.65649 19.0001L9.63894 18.9912C9.62412 18.9836 9.60315 18.9728 9.57642 18.9587C9.52298 18.9307 9.44648 18.8898 9.35022 18.8365C9.1578 18.73 8.88583 18.5735 8.56075 18.3704C7.91216 17.965 7.0442 17.3687 6.17271 16.6061C4.46123 15.1086 2.58325 12.8348 2.58325 10V4.16666C2.58325 3.85403 2.77718 3.57419 3.06991 3.46442L9.73657 0.964417ZM9.99992 18.3333L9.66451 19.0042C9.87565 19.1097 10.1242 19.1097 10.3353 19.0042L9.99992 18.3333ZM9.99991 17.4813C10.166 17.3879 10.3862 17.2596 10.6441 17.0984C11.2455 16.7225 12.0442 16.173 12.8394 15.4772C14.4612 14.0581 15.9166 12.1652 15.9166 10V4.68641L9.99992 2.46766L4.08325 4.68641V10C4.08325 12.1652 5.53861 14.0581 7.16046 15.4772C7.95563 16.173 8.75434 16.7225 9.35575 17.0984C9.61366 17.2596 9.83382 17.3879 9.99991 17.4813Z",fill:"currentColor"})}),yc=v.forwardRef(xc),Sc=v.memo(yc),wc=(e,t)=>d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.16667 3.25C3.92355 3.25 3.69039 3.34658 3.51849 3.51849C3.34658 3.69039 3.25 3.92355 3.25 4.16667V15.6893L5.303 13.6363C5.44366 13.4957 5.63442 13.4167 5.83333 13.4167H15.8333C16.0764 13.4167 16.3096 13.3201 16.4815 13.1482C16.6534 12.9763 16.75 12.7431 16.75 12.5V4.16667C16.75 3.92355 16.6534 3.69039 16.4815 3.51849C16.3096 3.34658 16.0764 3.25 15.8333 3.25H4.16667ZM2.45783 2.45783C2.91104 2.00461 3.52573 1.75 4.16667 1.75H15.8333C16.4743 1.75 17.089 2.00461 17.5422 2.45783C17.9954 2.91104 18.25 3.52573 18.25 4.16667V12.5C18.25 13.1409 17.9954 13.7556 17.5422 14.2088C17.089 14.6621 16.4743 14.9167 15.8333 14.9167H6.14399L3.03033 18.0303C2.81583 18.2448 2.49324 18.309 2.21299 18.1929C1.93273 18.0768 1.75 17.8033 1.75 17.5V4.16667C1.75 3.52573 2.00461 2.91104 2.45783 2.45783Z",fill:"currentColor"})}),Ac=v.forwardRef(wc),Ec=v.memo(Ac),Mc=(e,t)=>d.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 0.572126C10.2855 0.572126 10.5462 0.734181 10.6726 0.990158L13.3178 6.34923L19.2335 7.21389C19.5159 7.25517 19.7504 7.45317 19.8385 7.72468C19.9265 7.99618 19.8528 8.29412 19.6483 8.49327L15.3684 12.6619L16.3785 18.5511C16.4267 18.8325 16.3111 19.1169 16.0801 19.2847C15.8491 19.4525 15.5429 19.4746 15.2902 19.3417L10 16.5596L4.70986 19.3417C4.45717 19.4746 4.15096 19.4525 3.91997 19.2847C3.68899 19.1169 3.5733 18.8325 3.62157 18.5511L4.63163 12.6619L0.351722 8.49327C0.147259 8.29412 0.0735541 7.99618 0.161587 7.72468C0.249621 7.45317 0.484131 7.25517 0.766551 7.21389L6.6822 6.34923L9.32749 0.990158C9.45385 0.734181 9.71456 0.572126 10 0.572126ZM10 3.01657L7.85293 7.36634C7.74377 7.58748 7.53288 7.74082 7.28887 7.77649L2.48633 8.47845L5.96082 11.8626C6.13773 12.0349 6.21847 12.2833 6.17673 12.5267L5.35691 17.3066L9.65094 15.0484C9.86947 14.9335 10.1306 14.9335 10.3491 15.0484L14.6431 17.3066L13.8233 12.5267C13.7816 12.2833 13.8623 12.0349 14.0392 11.8626L17.5137 8.47845L12.7112 7.77649C12.4672 7.74082 12.2563 7.58748 12.1471 7.36634L10 3.01657Z",fill:"currentColor"})}),Bc=v.forwardRef(Mc),Tc=v.memo(Bc),Rc=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsx("path",{d:"M14.7292 7.78033C15.0221 7.48744 15.0221 7.01256 14.7292 6.71967C14.4363 6.42678 13.9614 6.42678 13.6685 6.71967L8.42383 11.9643L6.32916 9.86967C6.03626 9.57678 5.56139 9.57678 5.2685 9.86967C4.9756 10.1626 4.9756 10.6374 5.2685 10.9303L7.8935 13.5553C8.03415 13.696 8.22492 13.775 8.42383 13.775C8.62274 13.775 8.81351 13.696 8.95416 13.5553L14.7292 7.78033Z",fill:"currentColor"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 10C19 14.9706 14.9706 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1C14.9706 1 19 5.02944 19 10ZM17.5 10C17.5 14.1421 14.1421 17.5 10 17.5C5.85786 17.5 2.5 14.1421 2.5 10C2.5 5.85786 5.85786 2.5 10 2.5C14.1421 2.5 17.5 5.85786 17.5 10Z",fill:"currentColor"})]}),Lc=v.forwardRef(Rc),Oc=v.memo(Lc),Fc=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsx("path",{d:"M10.0001 4.75C10.4143 4.75 10.7501 5.08579 10.7501 5.5L10.7501 11.5C10.7501 11.9142 10.4143 12.25 10.0001 12.25C9.58585 12.25 9.25006 11.9142 9.25006 11.5V5.5C9.25006 5.08579 9.58585 4.75 10.0001 4.75Z",fill:"currentColor"}),d.jsx("path",{d:"M9.06152 14.1982C9.06152 13.6804 9.48126 13.2607 9.99902 13.2607H10.008C10.5258 13.2607 10.9455 13.6804 10.9455 14.1982C10.9455 14.716 10.5258 15.1357 10.008 15.1357H9.99902C9.48126 15.1357 9.06152 14.716 9.06152 14.1982Z",fill:"currentColor"}),d.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 19C14.9706 19 19 14.9706 19 10C19 5.02944 14.9706 1 10 1C5.02944 1 1 5.02944 1 10C1 14.9706 5.02944 19 10 19ZM17.5 10C17.5 14.1421 14.1421 17.5 10 17.5C5.85786 17.5 2.5 14.1421 2.5 10C2.5 5.85786 5.85786 2.5 10 2.5C14.1421 2.5 17.5 5.85786 17.5 10Z",fill:"currentColor"})]}),Gc=v.forwardRef(Fc),_c=v.memo(Gc),Nc=(e,t)=>d.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:[d.jsx("path",{d:"M1.67881 8.06276C3.97717 6.03681 6.93573 4.91901 9.99954 4.91901C13.0633 4.91901 16.0219 6.03681 18.3203 8.06276C18.631 8.33665 19.1049 8.3068 19.3788 7.99607C19.6527 7.68534 19.6229 7.21141 19.3121 6.93751C16.7398 4.67006 13.4286 3.41901 9.99954 3.41901C6.57051 3.41901 3.25927 4.67006 0.686933 6.93751C0.376204 7.21141 0.346348 7.68534 0.620246 7.99607C0.894145 8.3068 1.36808 8.33665 1.67881 8.06276Z",fill:"currentColor"}),d.jsx("path",{d:"M4.64627 11.0348C6.15864 9.77508 8.06466 9.08527 10.0329 9.08527C12.0012 9.08527 13.9072 9.77508 15.4196 11.0348C15.7379 11.2999 16.2108 11.2568 16.4759 10.9385C16.741 10.6202 16.6979 10.1473 16.3796 9.88222C14.5977 8.39802 12.352 7.58527 10.0329 7.58527C7.71388 7.58527 5.46817 8.39802 3.68627 9.88222C3.368 10.1473 3.32489 10.6202 3.58999 10.9385C3.85508 11.2568 4.328 11.2999 4.64627 11.0348Z",fill:"currentColor"}),d.jsx("path",{d:"M10.004 13.2509C9.12189 13.2509 8.26164 13.5254 7.54254 14.0363C7.20487 14.2762 6.73666 14.1969 6.49676 13.8592C6.25686 13.5216 6.33612 13.0534 6.67379 12.8135C7.64669 12.1223 8.81056 11.7509 10.004 11.7509C11.1974 11.7509 12.3613 12.1223 13.3342 12.8135C13.6719 13.0534 13.7511 13.5216 13.5112 13.8592C13.2713 14.1969 12.8031 14.2762 12.4655 14.0363C11.7464 13.5254 10.8861 13.2509 10.004 13.2509Z",fill:"currentColor"}),d.jsx("path",{d:"M10 15.6666C9.44772 15.6666 9.00001 16.1143 9.00001 16.6666C9.00001 17.2189 9.44772 17.6666 10 17.6666H10.0078C10.5601 17.6666 11.0078 17.2189 11.0078 16.6666C11.0078 16.1143 10.5601 15.6666 10.0078 15.6666H10Z",fill:"currentColor"})]}),Pc=v.forwardRef(Nc),Vc=v.memo(Pc),Dc=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",d:"M12 5v14m-7-7h14"})}),jc=v.forwardRef(Dc),kc=v.memo(jc),Wc=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsxs("g",{fill:"none",fillRule:"evenodd",children:[d.jsx("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),d.jsx("path",{fill:"currentColor",d:"m12 13.414l5.657 5.657a1 1 0 0 0 1.414-1.414L13.414 12l5.657-5.657a1 1 0 0 0-1.414-1.414L12 10.586L6.343 4.929A1 1 0 0 0 4.93 6.343L10.586 12l-5.657 5.657a1 1 0 1 0 1.414 1.414z"})]})}),Hc=v.forwardRef(Wc),Xc=v.memo(Hc),Zc=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",d:"M3 8a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm0 2h18M7 15h.01M11 15h2"})}),$c=v.forwardRef(Zc),Yc=v.memo($c),zc=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",d:"m6 9l6 6l6-6"})}),Jc=v.forwardRef(zc),Uc=v.memo(Jc),Qc=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",d:"m15 6l-6 6l6 6"})}),Kc=v.forwardRef(Qc),qc=v.memo(Kc),eu=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",d:"m9 6l6 6l-6 6"})}),tu=v.forwardRef(eu),nu=v.memo(tu),ru=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",d:"m6 15l6-6l6 6"})}),ou=v.forwardRef(ru),iu=v.memo(ou),su=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",d:"M4 7h16m-10 4v6m4-6v6M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2l1-12M9 7V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3"})}),au=v.forwardRef(su),lu=v.memo(au),cu=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",children:[d.jsx("path",{d:"M7 7H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2v-1"}),d.jsx("path",{d:"M20.385 6.585a2.1 2.1 0 0 0-2.97-2.97L9 12v3h3zM16 5l3 3"})]})}),uu=v.forwardRef(cu),du=v.memo(uu),fu=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",d:"M4 10a2 2 0 1 0 4 0a2 2 0 0 0-4 0m2-6v4m0 4v8m4-4a2 2 0 1 0 4 0a2 2 0 0 0-4 0m2-12v10m0 4v2m4-13a2 2 0 1 0 4 0a2 2 0 0 0-4 0m2-3v1m0 4v11"})}),gu=v.forwardRef(fu),pu=v.memo(gu),mu=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",children:[d.jsx("path",{d:"M5 12H3l9-9l9 9h-2M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-7"}),d.jsx("path",{d:"M9 21v-6a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v6"})]})}),hu=v.forwardRef(mu),vu=v.memo(hu),bu=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",children:[d.jsx("path",{d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 0 0-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 0 0-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 0 0-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 0 0-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 0 0 1.066-2.573c-.94-1.543.826-3.31 2.37-2.37c1 .608 2.296.07 2.572-1.065"}),d.jsx("path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0-6 0"})]})}),Cu=v.forwardRef(bu),Iu=v.memo(Cu),xu=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",d:"M4 6h7m-7 6h7m-7 6h9m2-9l3-3l3 3m-3-3v12"})}),yu=v.forwardRef(xu),Su=v.memo(yu),wu=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",d:"M4 6h16M4 12h10M4 18h14"})}),Au=v.forwardRef(wu),Eu=v.memo(Au),Mu=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",d:"M4 6h9m-9 6h7m-7 6h7m4-3l3 3l3-3m-3-9v12"})}),Bu=v.forwardRef(Mu),Tu=v.memo(Bu),Ru=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",d:"M7 3v18m3-15L7 3L4 6m16 12l-3 3l-3-3m3 3V3"})}),Lu=v.forwardRef(Ru),Ou=v.memo(Lu),Fu=(e,t)=>d.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,...e,children:d.jsx("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0-8 0M6 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2"})}),Gu=v.forwardRef(Fu),_u=v.memo(Gu),Nu={ArrowDown:Xa,ArrowLeft:Ya,ArrowRight:Ua,ArrowUp:qa,Box:nl,Calendar:il,Chain:ll,Check:dl,Clock:pl,Copy:vl,Download:Il,Error:Sl,Eye:El,File:Tl,History:Ol,Info:_l,Link:Vl,Minus:kl,MoreHorizontal:Xl,MoreVertical:Yl,Save:vc,Search:Ic,Shield:Sc,Sms:Ec,Star:Tc,Success:Oc,Warning:_c,Wifi:Vc,NotificationInfo:ql,NotificationSuccess:nc,NotificationError:Ul,NotificationWarning:ic,PopupSuccess:dc,PopupError:lc,PopupWarning:pc,Add:kc,Cancel:Xc,Card:Yc,ChevronDown:Uc,ChevronLeft:qc,ChevronRight:nu,ChevronUp:iu,Delete:lu,Edit:du,Filter:pu,Home:vu,Settings:Iu,SortAsc:Su,SortDesc:Tu,SortDefault:Eu,User:_u,UpDown:Ou},fe=({name:e,width:t="20",height:n="20",...o})=>{const r=Nu[e];return d.jsx(r,{width:t,height:n,...o})},Pu={primary:"Primary",secondary:"Secondary",negative:"Negative",ghost:"Ghost",link:"Link"},qt={IconButton:"IconButton__iV38brQG",FullWidth:"FullWidth__i4HN5uum",L:"L__LigMyq6G",M:"M__lFXQSMfm",S:"S__N7Sv-n8u",Round:"Round__YZLvtVzC",Primary:"Primary__O5paGQg9",Negative:"Negative__0bMjvX-L",Ghost:"Ghost__A8EX3R-9",Secondary:"Secondary__lPuMlhA7",Link:"Link__xGxIGwgj"},Te=({variant:e,size:t="M",children:n,className:o,shape:r="square",type:i="button",...s})=>d.jsx("button",{...s,className:G(qt.IconButton,qt[Pu[e]],qt[t],{[qt.Round]:r==="round"},o),type:i,children:n}),Vu=({onClick:e,className:t})=>d.jsx(Te,{variant:"secondary",shape:"round",size:"S",onClick:e,className:G(pe.CloseButton,t),children:d.jsx(fe,{name:"Cancel",width:16,height:16})}),Du={Container:"Container__aR1umlHK"},yt=({children:e,className:t,style:n,height:o,maxHeight:r,width:i,overflowX:s="auto",overflowY:l="auto",...a})=>{const c={height:o,maxHeight:r,width:i,overflowX:s,overflowY:l,...n};return d.jsx("div",{...a,className:G(Du.Container,t),style:c,children:e})},ju=({alignment:e="center",children:t,maxHeight:n=300,className:o})=>d.jsx(yt,{maxHeight:n,className:G(pe.ContentContainer,pe[xt[e]],pe[or[e]],o),children:t}),ku=({alignment:e="center",className:t,children:n})=>d.jsx("div",{className:G(pe.ImageContainer,pe[xt[e]],t),children:n}),Wu={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",text1:"span",text2:"span",caption1:"span",caption2:"span",overline:"span",button1:"span",button2:"span"},Hu={h1:"H1",h2:"H2",h3:"H3",h4:"H4",h5:"H5",h6:"H6",text1:"Text1",text2:"Text2",caption1:"Caption1",caption2:"Caption2",overline:"Overline",button1:"Button1",button2:"Button2"},ie={Typography:"Typography__u3PLs5v2",H1:"H1__8o8zIRfd",H2:"H2__-t991U-M",H3:"H3__v3fAG73u",H4:"H4__HjJ-d85i",H5:"H5__d5YpTjhS",H6:"H6__o6KB3zY3",Text1:"Text1__m3wAf1jf",Text2:"Text2__y4qTA2H8",Caption1:"Caption1__L12e2hkf",Caption2:"Caption2__bD-bE9Kn",Overline:"Overline__SlR2ypl7",Button1:"Button1__6-qgHDFh",Button2:"Button2__OVcRO9ud"},K=({variant:e,component:t,children:n,className:o,...r})=>{const i=t||Wu[e];return d.jsx(i,{...r,className:G(ie.Typography,ie[Hu[e]],o),children:n})},Xu=({alignment:e="center",title:t,subtitle:n,classNames:o})=>d.jsxs("div",{className:G(pe.TitleContainer,o?.titleContainerClassName),children:[d.jsx(K,{variant:"h2",className:G(pe.Title,pe[xt[e]],pe[or[e]],o?.titleClassName),component:"h2",children:t}),n&&d.jsx(K,{variant:"text1",className:G(pe[xt[e]],pe[or[e]],pe.Subtitle,o?.subtitleClassName),component:"p",children:n})]}),rt=({size:e="M",children:t,className:n})=>d.jsx("div",{className:G(pe.Alert,pe[ja[e]],n),children:t});rt.CloseButton=Vu,rt.Image=ku,rt.Title=Xu,rt.Content=ju,rt.Buttons=ka;const Qe={Backdrop:"Backdrop__gq-syLGq",BackdropVisible:"BackdropVisible__HwkjcUuv",Sheet:"Sheet__NCoIxW7h",SheetOpen:"SheetOpen__cnt5hAhA",Handle:"Handle__BQdhBvGd",HandleBar:"HandleBar__mfSZQJbT",Content:"Content__1LqJdFam"},yo=({isOpened:e,onClose:t,size:n,children:o,contentClassName:r,closeByOutsideClick:i=!0})=>{const s=v.useRef(null),l=v.useRef(null),[a,c]=v.useState(!1),[u,f]=v.useState(0),[m,p]=v.useState(0),[b,g]=v.useState(!1),[h,C]=v.useState(window.innerHeight),[y,I]=v.useState(!1);v.useEffect(()=>{const B=window.visualViewport;if(!B)return;const P=()=>{C(B.height)};return B.addEventListener("resize",P),B.addEventListener("scroll",P),()=>{B.removeEventListener("resize",P),B.removeEventListener("scroll",P)}},[]),v.useEffect(()=>{if(e){g(!0);const B=setTimeout(()=>{I(!0)},10);return()=>clearTimeout(B)}else I(!1)},[e]),v.useEffect(()=>{if(e){const B=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=B}}},[e]);const S=v.useCallback(()=>{I(!1),setTimeout(()=>{t(),g(!1),p(0)},300)},[t]),x=v.useCallback(B=>{i&&B.target===B.currentTarget&&(B.stopPropagation(),S())},[i,S]);v.useEffect(()=>{const B=P=>{P.key==="Escape"&&e&&S()};return document.addEventListener("keydown",B),()=>document.removeEventListener("keydown",B)},[e,S]);const M=v.useCallback(B=>{c(!0),f(B)},[]),A=v.useCallback(B=>{if(!a||!s.current)return;const P=B-u;P>0&&p(P)},[a,u]),L=v.useCallback(()=>{if(!a||!s.current)return;const P=s.current.offsetHeight*.2;m>P?S():p(0),c(!1)},[a,m,S]),_=B=>{(B.target===l.current||l.current?.contains(B.target))&&M(B.clientY)},N=v.useCallback(B=>{A(B.clientY)},[A]),Z=v.useCallback(()=>{L()},[L]),H=B=>{(B.target===l.current||l.current?.contains(B.target))&&M(B.touches[0].clientY)},X=v.useCallback(B=>{a&&A(B.touches[0].clientY)},[a,A]),k=v.useCallback(()=>{L()},[L]);if(v.useEffect(()=>{if(a)return document.addEventListener("mousemove",N),document.addEventListener("mouseup",Z),document.addEventListener("touchmove",X),document.addEventListener("touchend",k),()=>{document.removeEventListener("mousemove",N),document.removeEventListener("mouseup",Z),document.removeEventListener("touchmove",X),document.removeEventListener("touchend",k)}},[a,N,Z,X,k]),!b)return null;const F={transform:a?`translateY(${m}px)`:void 0,transition:a?"none":void 0,maxHeight:`${h*.9}px`};return n&&(F.height=n),Qt.createPortal(d.jsx("div",{className:G(Qe.Backdrop,{[Qe.BackdropVisible]:y}),role:"presentation",onClick:x,children:d.jsxs("div",{ref:s,className:G(Qe.Sheet,{[Qe.SheetOpen]:y}),style:F,role:"dialog","aria-modal":"true",onMouseDown:_,onTouchStart:H,onClick:B=>B.stopPropagation(),children:[d.jsx("div",{ref:l,className:Qe.Handle,"aria-label":"Перетащите вниз чтобы закрыть",children:d.jsx("div",{className:Qe.HandleBar})}),d.jsx("div",{className:G(Qe.Content,r),children:o})]})}),document.body)},Zu={primary:"Primary",secondary:"Secondary",negative:"Negative",ghost:"Ghost",link:"Link"},en={Button:"Button__64QXXrHS",FullWidth:"FullWidth__2jglXxzw",L:"L__g3W5-JTM",M:"M__OorM2PnC",S:"S__hFMJmwFz",Primary:"Primary__vHKhG43F",Negative:"Negative__sQ1ZNRRC",Ghost:"Ghost__qIf7tz0m",Secondary:"Secondary__aj0g1-lJ",Link:"Link__yoscryNR"},Ye=({variant:e,size:t="M",children:n,className:o,fullWidth:r,type:i="button",...s})=>d.jsx("button",{...s,className:G(en.Button,en[Zu[e]],en[t],t==="S"?ie.Button2:ie.Button1,{[en.FullWidth]:r},o),type:i,children:n}),tn={Caption:"Caption__dc-vDi3B",Label:"Label__CAe-ufgP",WithTopDivider:"WithTopDivider__eRY2mMGi",WithBottomDivider:"WithBottomDivider__F6KVU8PZ"},$u=({label:e,content:t,className:n,withBottomDivider:o=!1,withTopDivider:r=!1})=>d.jsxs("div",{className:G(tn.Caption,{[tn.WithTopDivider]:r,[tn.WithBottomDivider]:o},n),children:[d.jsx(K,{variant:"overline",className:tn.Label,children:e}),typeof t=="string"?d.jsx(K,{variant:"text1",children:t}):t]}),Le={Container:"Container__9bMORMNw",InputContainer:"InputContainer__FWbFg5um",InputContainerDisabled:"InputContainerDisabled__pgobd1vW",Input:"Input__FXdtsea5",InputSizeM:"InputSizeM__QJZpodkf",InputSizeS:"InputSizeS__-M3ErfOh",InputError:"InputError__Lxyq-a9s",Label:"Label__0BVpFRqY",LabelDisabled:"LabelDisabled__W2GJn5te",ErrorMessage:"ErrorMessage__cMFzGjWa"},nn=({id:e,name:t,disabled:n,readOnly:o,label:r,inputClassName:i,className:s,size:l="M",error:a,...c})=>d.jsxs("label",{htmlFor:e,className:G(Le.Container,s),children:[d.jsxs("div",{className:G(Le.InputContainer,{[Le.InputContainerDisabled]:n||o}),children:[d.jsx("input",{...c,id:e,name:t,type:"checkbox",disabled:n,readOnly:o,className:G(Le.Input,{[Le.InputSizeM]:l==="M",[Le.InputSizeS]:l==="S",[Le.InputError]:!!a},i)}),r&&d.jsx("span",{className:G(Le.Label,{[ie.Text1]:l==="M",[ie.Text2]:l==="S",[Le.LabelDisabled]:n||o}),children:r})]}),typeof a=="string"&&d.jsx(K,{variant:"caption2",className:Le.ErrorMessage,children:a})]}),Yu=e=>{const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=t.length;let o="";for(let r=0;r<e;r++){const i=Math.floor(Math.random()*n);o+=t[i]}return o},So=v.createContext({list:[],addNotification:()=>{},removeNotification:()=>{},clearNotifications:()=>{}}),zu=({children:e,className:t})=>{const[n,o]=v.useState([]),r=v.useCallback(l=>{const{variant:a,title:c,message:u,autoClose:f=!0,delay:m=1e4,renderContent:p}=l,b=Yu(12),g={id:b,variant:a,title:c,message:u,autoClose:f,delay:m,renderContent:p};o(h=>[...h,g]),!(!f||!m)&&setTimeout(()=>{o(h=>h.filter(C=>C.id!==b))},m)},[]),i=v.useCallback(()=>{o([])},[]),s=v.useCallback(l=>{o(a=>a.filter(c=>c.id!==l))},[]);return d.jsxs(So.Provider,{value:{list:n,addNotification:r,removeNotification:s,clearNotifications:i},children:[e,d.jsx(Yi,{list:n,onClose:s,className:t})]})},Ju=()=>v.useContext(So),rn=e=>{const t=()=>window.matchMedia(e).matches,n=o=>{const r=window.matchMedia(e);return r.addEventListener("change",o),()=>r.removeEventListener("change",o)};return v.useSyncExternalStore(n,t)},wo=v.createContext({currentBreakpoint:null,isMobile:!1,isTablet:!1,isDesktop:!1,isDesktopLarge:!1}),ir=()=>v.useContext(wo),on={MOBILE:"(width < 720px)",TABLET:"(width >= 720px) and (width < 1280px)",DESKTOP:"(width >= 1280px) and (width < 1440px)",DESKTOP_LARGE:"(width >= 1440px)"};var ot=(e=>(e.MOBILE="MOBILE",e.TABLET="TABLET",e.DESKTOP="DESKTOP",e.DESKTOP_LARGE="DESKTOP_LARGE",e))(ot||{});const Uu=({children:e})=>{const t=rn(on.MOBILE),n=rn(on.TABLET),o=rn(on.DESKTOP),r=rn(on.DESKTOP_LARGE),i=v.useMemo(()=>t?ot.MOBILE:n?ot.TABLET:o?ot.DESKTOP:r?ot.DESKTOP_LARGE:null,[o,r,t,n]),s=v.useMemo(()=>({currentBreakpoint:i,isMobile:t,isTablet:n,isDesktop:o,isDesktopLarge:r}),[i,o,r,t,n]);return d.jsx(wo.Provider,{value:s,children:e})},Qu=({wrap:e,direction:t,alignItems:n,justifyContent:o,gap:r,rowGap:i,columnGap:s})=>{const l=i?`${i}px`:r?`${r}px`:"var(--gutter-xxs)",a=s?`${s}px`:r?`${r}px`:"var(--gutter-xxs)";return{minWidth:0,display:"flex",flexBasis:"auto",flexGrow:1,flexFlow:`${t||"row"} ${e||"wrap"}`,alignItems:`${n||"stretch"}`,justifyContent:`${o||"stretch"}`,gap:`${l} ${a}`,"--flex-rowGap":l,"--flex-column-gap":a}},sr=12,ar=e=>e===0?"auto":`calc(100% * ${e} / ${sr} - (${sr} - ${e}) * (var(--flex-column-gap) / ${sr}))`,Ku=({isMobile:e,isTablet:t,smallScreen:n,mediumScreen:o,largeScreen:r})=>{let i=ar(r);return t&&(i=ar(o||r)),e&&(i=ar(n||o||r)),{minWidth:0,flexBasis:"auto",flexGrow:0,margin:0,width:i}},qu={Container:"Container__uGYdTju-"},me=({className:e,children:t,container:n=!1,item:o=!1,gap:r,rowGap:i,columnGap:s,alignItems:l,justifyContent:a,direction:c,wrap:u,lg:f=0,md:m=0,sm:p=0,style:b,...g})=>{const{isMobile:h,isTablet:C}=ir(),y=Qu({alignItems:l,justifyContent:a,gap:r,rowGap:i,columnGap:s,direction:c,wrap:u}),I=Ku({isMobile:h,isTablet:C,largeScreen:f,mediumScreen:m,smallScreen:p});return d.jsx("div",{...g,className:G(qu.Container,e),style:{...n&&y,...o&&I,...b},children:t})},Ao="ru-RU",e1=/^(\d{2})\.(\d{2})\.(\d{4})$/,t1=42,sn=12,n1=new Date(1900,0,1),r1=new Date(new Date().getFullYear()+100,0,1),o1=["Пн","Вт","Ср","Чт","Пт","Сб","Вс"],i1=["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"];var de=(e=>(e.DAYS="DAYS",e.MONTHS="MONTHS",e.YEARS="YEARS",e))(de||{});const Eo=({activeDate:e,direction:t,disabledFrom:n,disabledTo:o,display:r,yearsGrid:i})=>{const s=e.getFullYear(),l=e.getMonth(),a=n?.getFullYear(),c=n?.getMonth(),u=o?.getFullYear(),f=o?.getMonth();if(r===de.DAYS&&t==="prev"){const m=s===a&&l===c;return n!==null&&(e<=n||m)}if(r===de.DAYS&&t==="next"){const m=s===u&&l===f;return o!==null&&(e>=o||m)}return r===de.MONTHS&&t==="prev"?!!a&&s<=a:r===de.MONTHS&&t==="next"?!!u&&s>=u:r===de.YEARS&&t==="prev"?n!==null&&i.includes(n.getFullYear()):r===de.YEARS&&t==="next"?o!==null&&i.includes(o.getFullYear()):!1},ze={Button:"Button__a3YKJgbK",Slash:"Slash__xaAwWauM",Icon:"Icon__QtpwOjiK",ChevronIcon:"ChevronIcon__2hUP7UMS"},s1=({activeDate:e,disabledFrom:t,disabledTo:n,display:o,onNext:r,onPrev:i,prevActiveYear:s,setActiveDate:l,setDisplay:a,yearsGrid:c})=>{const u=e.toLocaleDateString(Ao,{year:"numeric"}),f=e.toLocaleDateString(Ao,{month:"long"}),m=`${c[0]} — ${c.at(-1)}`,p=()=>{a(de.YEARS)},b=()=>{a(de.MONTHS)},g=()=>{const h=e.getDate(),C=e.getMonth();l(new Date(s,C,h)),a(de.DAYS)};return d.jsxs(me,{container:!0,gap:"0",children:[o===de.DAYS&&d.jsxs(me,{container:!0,alignItems:"center",justifyContent:"flex-start",gap:"4",children:[d.jsx(Ye,{variant:"link",size:"S",className:ze.Button,onClick:b,children:f}),d.jsx(K,{variant:"text1",className:ze.Slash,children:"/"}),d.jsx(Ye,{variant:"link",size:"S",className:ze.Button,onClick:p,children:u})]}),o===de.MONTHS&&d.jsxs(me,{container:!0,alignItems:"center",justifyContent:"flex-start",gap:"4",children:[d.jsx(Te,{variant:"link",size:"S",onClick:g,children:d.jsx(fe,{name:"ChevronLeft",width:24,height:24,className:ze.Icon})}),d.jsx(Ye,{variant:"link",size:"S",className:ze.Button,onClick:p,children:u})]}),o===de.YEARS&&d.jsxs(me,{container:!0,alignItems:"center",justifyContent:"flex-start",gap:"4",children:[d.jsx(Te,{variant:"link",size:"S",onClick:g,children:d.jsx(fe,{name:"ChevronLeft",width:24,height:24,className:ze.Icon})}),d.jsx(K,{variant:"text1",children:m})]}),d.jsxs(me,{container:!0,gap:"4",justifyContent:"flex-end",children:[d.jsx(Te,{variant:"link",size:"S",disabled:Eo({direction:"prev",activeDate:e,disabledFrom:t,disabledTo:n,display:o,yearsGrid:c}),onClick:i,children:d.jsx(fe,{name:"ChevronUp",width:24,height:24,className:ze.ChevronIcon})}),d.jsx(Te,{variant:"link",size:"S",disabled:Eo({direction:"next",activeDate:e,disabledFrom:t,disabledTo:n,display:o,yearsGrid:c}),onClick:r,children:d.jsx(fe,{name:"ChevronDown",width:24,height:24,className:ze.ChevronIcon})})]})]})},a1=e=>{const t=e.getFullYear(),n=e.getMonth(),o=new Date(t,n+1,0).getDate(),i=(new Date(t,n,1).getDay()+6)%7,s=new Date(t,n-1),l=new Date(s.getFullYear(),s.getMonth()+1,0).getDate(),a=Array.from({length:i},(m,p)=>({day:l-i+p+1,month:n-1})),c=Array.from({length:o},(m,p)=>({day:p+1,month:n})),u=t1-a.length-c.length,f=Array.from({length:u},(m,p)=>({day:p+1,month:n+1}));return[...a,...c,...f]},l1=e=>Array.from({length:sn},(t,n)=>e+n),c1=()=>{const e=new Date;return e.setHours(0),e.setMinutes(0),e.setSeconds(0,0),e},u1=e=>e-(e-5)%sn,an=e=>{if(!e)return null;if(typeof e=="string"){const n=e.match(e1);if(!n)return null;const o=parseInt(n[1],10),r=parseInt(n[2],10),i=parseInt(n[3],10),s=new Date(i,r-1,o);return s.getFullYear()!==i||s.getMonth()!==r-1||s.getDate()!==o?null:s}const t=new Date(e);return t.setHours(0),t.setMinutes(0),t.setSeconds(0,0),isNaN(t.getTime())?null:t},d1=({hoveredDate:e,selectedDate:t,variant:n,currentDateTime:o})=>{const r=t.startDate?.getTime()||null,i=t.endDate?.getTime()||null,s=e?.getTime()||null;if(n!=="range"||!e||i||s===r||!r)return{isCurrentDayInHoveredRange:!1};const l=s&&r>s?{start:s,end:r}:{start:r,end:s};return{isCurrentDayInHoveredRange:!!(e&&l.start&&l.end&&!t.endDate&&r!==s&&o>=l.start&&o<=l.end)}},f1=({currentDateTime:e,selectedDate:t,variant:n})=>{const o=t.startDate?.getTime()||null,r=t.endDate?.getTime()||null,i=o===e||r===e;if(n!=="range"||o===r||!r)return{isSelectedDay:i,isDayInRange:!1};const s=o&&r&&e>=o&&e<=r;return{isSelectedDay:i,isDayInRange:!!s}},g1=({activeDate:e,day:t,disabledFrom:n,disabledTo:o,isCurrentMonth:r})=>{if(!r)return!0;const i=e.getFullYear(),s=e.getMonth(),l=n&&s===n.getMonth(),a=o&&s===o.getMonth(),c=n&&i===n.getFullYear(),u=o&&i===o.getFullYear();return a&&u&&l&&c?t<n.getDate()||t>o.getDate():a&&u?t>o.getDate():l&&c?t<n.getDate():!1},Oe={DaysGrid:"DaysGrid__4uWc0-AR",WeekDay:"WeekDay__eu-2EupQ",WorkingDay:"WorkingDay__RNuicaN2",DayOff:"DayOff__VAr-CU-h",DayButton:"DayButton__sM4u7dqx",DayInRange:"DayInRange__kZ8jJhzb",DayInHoveredRange:"DayInHoveredRange__CwPD1SSr",DaySelected:"DaySelected__w1pssYnA",TodayLine:"TodayLine__VkiDD-Pc",TodayLineSelected:"TodayLineSelected__2Mj9-6zh"},p1=({today:e,activeDate:t,day:n,disabledFrom:o,disabledTo:r,handleMouseEnterDay:i,handleMouseLeaveDay:s,handleSelectDay:l,hoveredDate:a,month:c,selectedDate:u,variant:f})=>{const m=t.getFullYear(),p=t.getMonth(),b=new Date(m,c,n).getTime(),g=p===c,h=n===e.getDate()&&c===e.getMonth()&&m===e.getFullYear(),{isSelectedDay:C,isDayInRange:y}=f1({currentDateTime:b,selectedDate:u,variant:f}),{isCurrentDayInHoveredRange:I}=d1({currentDateTime:b,hoveredDate:a,selectedDate:u,variant:f});return d.jsx(me,{item:!0,lg:12/7,children:d.jsx(me,{container:!0,alignItems:"center",justifyContent:"center",children:d.jsx("button",{disabled:g1({day:n,isCurrentMonth:g,activeDate:t,disabledFrom:o,disabledTo:r}),onClick:()=>l(n),onMouseEnter:()=>i(n),onMouseLeave:()=>s(),className:G(Oe.DayButton,{[Oe.DaySelected]:C,[Oe.DayInRange]:y,[Oe.DayInHoveredRange]:I}),children:d.jsx(K,{variant:"text2",className:G({[Oe.TodayLine]:h,[Oe.TodayLineSelected]:h&&C}),children:n})})})})},m1=()=>d.jsx(me,{container:!0,gap:"4",justifyContent:"space-between",alignItems:"center",children:o1.map((e,t)=>d.jsx(me,{item:!0,lg:12/7,children:d.jsx("div",{className:Oe.WeekDay,children:d.jsx(K,{variant:"text2",className:t===5||t===6?Oe.DayOff:Oe.WorkingDay,children:e})})},e))}),h1=({today:e,activeDate:t,disabledFrom:n,disabledTo:o,handleMouseEnterDay:r,handleMouseLeaveDay:i,handleSelectDay:s,hoveredDate:l,selectedDate:a,variant:c})=>{const u=v.useMemo(()=>a1(t),[t]);return d.jsxs(me,{container:!0,rowGap:"4",columnGap:"24",direction:"column",className:Oe.DaysGrid,children:[d.jsx(m1,{}),d.jsx(me,{container:!0,rowGap:"4",columnGap:"4",alignItems:"center",justifyContent:"space-between",children:u.map(({day:f,month:m},p)=>d.jsx(p1,{today:e,day:f,month:m,activeDate:t,selectedDate:a,hoveredDate:l,disabledFrom:n,disabledTo:o,handleSelectDay:s,handleMouseEnterDay:r,handleMouseLeaveDay:i,variant:c},`${f}_${m}_${p}`))})]})},v1=({hoveredDateTime:e,variant:t,currentMonthYearDateTime:n,startMonthYearDateTime:o,endMonthYearDateTime:r})=>{if(t!=="range"||!e||r||e===o||!o)return{isCurrentMonthInHoveredRange:!1};const i=e&&o>e?{start:e,end:o}:{start:o,end:e};return{isCurrentMonthInHoveredRange:!!(e&&i.start&&i.end&&!r&&o!==e&&n>=i.start&&n<=i.end)}},b1=({variant:e,currentMonthYearDateTime:t,startMonthYearDateTime:n,endMonthYearDateTime:o})=>{const r=n===t||o===t;if(e!=="range"||n===o||!o)return{isSelectedMonth:!!r,isMonthInRange:!1};const i=n&&o&&t>=n&&t<=o;return{isSelectedMonth:!!r,isMonthInRange:!!i}},C1=({month:e,activeDate:t,disabledFrom:n,disabledTo:o})=>{const r=t.getFullYear(),i=n&&r===n.getFullYear(),s=o&&r===o.getFullYear();return i&&s?e<n.getMonth()||e>o.getMonth():i?e<n.getMonth():s?e>o.getMonth():!1},be={DatePicker:"DatePicker__Yebs-SEu",Divider:"Divider__3Ne-zYr6",ActiveSection:"ActiveSection__jIDqTB23",CellButton:"CellButton__KHRMLRWN",CellInRange:"CellInRange__btR9fD3S",CellInHoveredRange:"CellInHoveredRange__Am7AVXnE",CellSelected:"CellSelected__-tGpm5BC",TodayLine:"TodayLine__jqIyyYoA",TodayLineSelected:"TodayLineSelected__5LbzBj-W"},I1=({today:e,activeDate:t,monthString:n,disabledFrom:o,disabledTo:r,handleMouseEnterMonth:i,handleMouseLeaveMonth:s,handleSelectMonth:l,hoveredDate:a,month:c,selectedDate:u,variant:f})=>{const m=new Date(t.getFullYear(),c,1).getTime(),p=u.startDate&&new Date(u.startDate.getFullYear(),u.startDate.getMonth(),1).getTime(),b=u.endDate&&new Date(u.endDate.getFullYear(),u.endDate.getMonth(),1).getTime(),g=a?.getTime()||null,h=c===e.getMonth()&&t.getFullYear()===e.getFullYear(),{isMonthInRange:C,isSelectedMonth:y}=b1({currentMonthYearDateTime:m,endMonthYearDateTime:b,startMonthYearDateTime:p,variant:f}),{isCurrentMonthInHoveredRange:I}=v1({currentMonthYearDateTime:m,endMonthYearDateTime:b,hoveredDateTime:g,startMonthYearDateTime:p,variant:f});return d.jsx(me,{item:!0,lg:4,children:d.jsx("button",{disabled:C1({activeDate:t,disabledFrom:o,disabledTo:r,month:c}),className:G(be.CellButton,{[be.CellSelected]:y,[be.CellInRange]:C,[be.CellInHoveredRange]:I}),onClick:()=>l(c),onMouseEnter:()=>i(c),onMouseLeave:()=>s(),children:d.jsx(K,{variant:"text2",className:G({[be.TodayLine]:h,[be.TodayLineSelected]:h&&y}),children:n})})})},x1=({activeDate:e,disabledFrom:t,disabledTo:n,handleMouseEnterMonth:o,handleMouseLeaveMonth:r,handleSelectMonth:i,hoveredDate:s,selectedDate:l,today:a,variant:c})=>d.jsx(me,{container:!0,rowGap:"16",columnGap:"4",children:i1.map((u,f)=>d.jsx(I1,{monthString:u,month:f,selectedDate:l,activeDate:e,hoveredDate:s,disabledFrom:t,disabledTo:n,handleMouseEnterMonth:o,handleMouseLeaveMonth:r,handleSelectMonth:i,today:a,variant:c},u))}),y1=({hoveredDateTime:e,variant:t,currentYearDateTime:n,startYearDateTime:o,endYearDateTime:r})=>{if(t!=="range"||!e||r||e===o||!o)return{isCurrentInHoveredRange:!1};const i=e&&o>e?{start:e,end:o}:{start:o,end:e};return{isCurrentInHoveredRange:!!(e&&i.start&&i.end&&!r&&o!==e&&n>=i.start&&n<=i.end)}},S1=({variant:e,currentYearDateTime:t,startYearDateTime:n,endYearDateTime:o})=>{const r=n===t||o&&o===t;if(e!=="range"||n===o||!o)return{isSelectedYear:!!r,isYearInRange:!1};const i=o&&n&&t>=n&&t<=o;return{isSelectedYear:!!r,isYearInRange:!!i}},w1=({year:e,disabledFrom:t,disabledTo:n})=>t&&n?e<t.getFullYear()||e>n.getFullYear():t?e<t.getFullYear():n?e>n.getFullYear():!1,A1=({today:e,year:t,disabledFrom:n,disabledTo:o,handleMouseEnterYear:r,handleMouseLeaveYear:i,handleSelectYear:s,hoveredDate:l,selectedDate:a,variant:c})=>{const u=t===e.getFullYear(),f=new Date(t,0,1).getTime(),m=a.startDate&&new Date(a.startDate.getFullYear(),0,1).getTime(),p=a.endDate&&new Date(a.endDate.getFullYear(),0,1).getTime(),b=l?.getTime()||null,{isSelectedYear:g,isYearInRange:h}=S1({currentYearDateTime:f,endYearDateTime:p,startYearDateTime:m,variant:c}),{isCurrentInHoveredRange:C}=y1({currentYearDateTime:f,endYearDateTime:p,hoveredDateTime:b,startYearDateTime:m,variant:c});return d.jsx(me,{item:!0,lg:4,children:d.jsx("button",{disabled:w1({disabledFrom:n,disabledTo:o,year:t}),className:G(be.CellButton,{[be.CellSelected]:g,[be.CellInRange]:h,[be.CellInHoveredRange]:C}),onClick:()=>s(t),onMouseEnter:()=>r(t),onMouseLeave:()=>i(),children:d.jsx(K,{variant:"text2",className:G({[be.TodayLine]:u,[be.TodayLineSelected]:u&&g}),children:t})})})},E1=({yearsGrid:e,disabledFrom:t,disabledTo:n,handleMouseEnterYear:o,handleMouseLeaveYear:r,handleSelectYear:i,hoveredDate:s,selectedDate:l,today:a,variant:c})=>d.jsx(me,{container:!0,rowGap:"16",columnGap:"4",children:e.map(u=>d.jsx(A1,{variant:c,today:a,year:u,selectedDate:l,hoveredDate:s,disabledFrom:t,disabledTo:n,handleMouseEnterYear:o,handleMouseLeaveYear:r,handleSelectYear:i},u))}),M1=({variant:e,title:t,onChange:n,startDate:o=null,endDate:r=null,disabledFrom:i=null,disabledTo:s=null,className:l})=>{const a=c1(),c=an(o),u=an(r),f=c?.getTime(),m=i!==null?an(i):n1,p=s!==null?an(s):r1,b={startDate:c,endDate:u},g=T=>{const R=typeof T=="function"?T(b):T;n?.(R)},[h,C]=v.useState(null),[y,I]=v.useState(b.startDate||a),[S,x]=v.useState(de.DAYS),[M,A]=v.useState(()=>u1(y.getFullYear())),L=v.useMemo(()=>l1(M),[M]),_=v.useRef(a.getFullYear()),N=T=>()=>{if(S===de.YEARS){A(R=>T==="prev"?R-sn:R+sn);return}if(S===de.MONTHS){I(R=>{const V=R.getFullYear(),w=R.getMonth(),O=T==="prev"?V-1:V+1;return new Date(O,w,1)});return}I(R=>{const V=R.getFullYear(),w=R.getMonth(),O=T==="prev"?w-1:w+1;return new Date(V,O,1)})},Z=T=>{const R=y.getMonth(),V=y.getDate();I(new Date(T,R,V)),x(de.MONTHS)},H=T=>{const R=y.getFullYear(),V=y.getDate();I(new Date(R,T,V)),x(de.DAYS)},X=T=>{const R=y.getFullYear(),V=y.getMonth();I(new Date(R,V,T)),_.current=R,g(w=>{const O=new Date(R,V,T);return e==="range"&&w.startDate&&w.endDate===null?w.startDate.getTime()>O.getTime()?{startDate:O,endDate:w.startDate}:{startDate:w.startDate,endDate:O}:{startDate:O,endDate:null}})},k=T=>{if(e!=="range"||b.endDate)return;const R=y.getFullYear(),V=y.getMonth();C(new Date(R,V,T))},F=T=>{if(e!=="range"||b.endDate)return;const R=y.getFullYear();C(new Date(R,T,1))},B=T=>{e!=="range"||b.endDate||C(new Date(T,0,1))},P=()=>{e!=="range"||b.endDate||C(null)};return v.useEffect(()=>{f&&I(new Date(f))},[f]),d.jsxs(me,{container:!0,gap:"16",direction:"column",className:G(be.DatePicker,l),children:[t!==null&&d.jsx(K,{variant:"h5",children:t||(e==="range"?"Выбор периода":"Выбор даты")}),d.jsxs("section",{className:be.ActiveSection,children:[d.jsx(s1,{display:S,yearsGrid:L,activeDate:y,setActiveDate:I,prevActiveYear:_.current,setDisplay:x,disabledFrom:m,disabledTo:p,onNext:N("next"),onPrev:N("prev")}),d.jsx("div",{className:be.Divider}),S===de.DAYS&&d.jsx(h1,{today:a,variant:e,activeDate:y,selectedDate:b,hoveredDate:h,disabledFrom:m,disabledTo:p,handleSelectDay:X,handleMouseEnterDay:k,handleMouseLeaveDay:P}),S===de.MONTHS&&d.jsx(x1,{today:a,variant:e,activeDate:y,selectedDate:b,hoveredDate:h,disabledFrom:m,disabledTo:p,handleSelectMonth:H,handleMouseEnterMonth:F,handleMouseLeaveMonth:P}),S===de.YEARS&&d.jsx(E1,{today:a,yearsGrid:L,variant:e,selectedDate:b,hoveredDate:h,disabledFrom:m,disabledTo:p,handleSelectYear:Z,handleMouseEnterYear:B,handleMouseLeaveYear:P})]})]})};function ln(){return typeof window<"u"}function it(e){return Mo(e)?(e.nodeName||"").toLowerCase():"#document"}function Ae(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Fe(e){var t;return(t=(Mo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Mo(e){return ln()?e instanceof Node||e instanceof Ae(e).Node:!1}function ae(e){return ln()?e instanceof Element||e instanceof Ae(e).Element:!1}function xe(e){return ln()?e instanceof HTMLElement||e instanceof Ae(e).HTMLElement:!1}function lr(e){return!ln()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ae(e).ShadowRoot}function St(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Me(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function B1(e){return["table","td","th"].includes(it(e))}function cn(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function cr(e){const t=un(),n=ae(e)?Me(e):e;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function T1(e){let t=He(e);for(;xe(t)&&!We(t);){if(cr(t))return t;if(cn(t))return null;t=He(t)}return null}function un(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function We(e){return["html","body","#document"].includes(it(e))}function Me(e){return Ae(e).getComputedStyle(e)}function dn(e){return ae(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function He(e){if(it(e)==="html")return e;const t=e.assignedSlot||e.parentNode||lr(e)&&e.host||Fe(e);return lr(t)?t.host:t}function Bo(e){const t=He(e);return We(t)?e.ownerDocument?e.ownerDocument.body:e.body:xe(t)&&St(t)?t:Bo(t)}function Je(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=Bo(e),i=r===((o=e.ownerDocument)==null?void 0:o.body),s=Ae(r);if(i){const l=ur(s);return t.concat(s,s.visualViewport||[],St(r)?r:[],l&&n?Je(l):[])}return t.concat(r,Je(r,[],n))}function ur(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const fn=Math.min,Ke=Math.max,gn=Math.round,pn=Math.floor,Ge=e=>({x:e,y:e}),R1={left:"right",right:"left",bottom:"top",top:"bottom"},L1={start:"end",end:"start"};function To(e,t,n){return Ke(e,fn(t,n))}function mn(e,t){return typeof e=="function"?e(t):e}function qe(e){return e.split("-")[0]}function hn(e){return e.split("-")[1]}function Ro(e){return e==="x"?"y":"x"}function Lo(e){return e==="y"?"height":"width"}function Ue(e){return["top","bottom"].includes(qe(e))?"y":"x"}function Oo(e){return Ro(Ue(e))}function O1(e,t,n){n===void 0&&(n=!1);const o=hn(e),r=Oo(e),i=Lo(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=vn(s)),[s,vn(s)]}function F1(e){const t=vn(e);return[dr(e),t,dr(t)]}function dr(e){return e.replace(/start|end/g,t=>L1[t])}function G1(e,t,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?i:s;default:return[]}}function _1(e,t,n,o){const r=hn(e);let i=G1(qe(e),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),t&&(i=i.concat(i.map(dr)))),i}function vn(e){return e.replace(/left|right|bottom|top/g,t=>R1[t])}function N1(e){return{top:0,right:0,bottom:0,left:0,...e}}function P1(e){return typeof e!="number"?N1(e):{top:e,right:e,bottom:e,left:e}}function bn(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}/*!
|
|
27
27
|
* tabbable 6.2.0
|
|
28
28
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
29
|
-
*/var V1=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],fr=V1.join(","),Fo=typeof Element>"u",wt=Fo?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Cn=!Fo&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},In=function e(t,n){var o;n===void 0&&(n=!0);var r=t==null||(o=t.getAttribute)===null||o===void 0?void 0:o.call(t,"inert"),i=r===""||r==="true",s=i||n&&t&&e(t.parentNode);return s},D1=function(t){var n,o=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return o===""||o==="true"},j1=function(t,n,o){if(In(t))return[];var r=Array.prototype.slice.apply(t.querySelectorAll(fr));return n&&wt.call(t,fr)&&r.unshift(t),r=r.filter(o),r},k1=function e(t,n,o){for(var r=[],i=Array.from(t);i.length;){var s=i.shift();if(!In(s,!1))if(s.tagName==="SLOT"){var l=s.assignedElements(),a=l.length?l:s.children,c=e(a,!0,o);o.flatten?r.push.apply(r,c):r.push({scopeParent:s,candidates:c})}else{var u=wt.call(s,fr);u&&o.filter(s)&&(n||!t.includes(s))&&r.push(s);var f=s.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(s),m=!In(f,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(s));if(f&&m){var p=e(f===!0?s.children:f.children,!0,o);o.flatten?r.push.apply(r,p):r.push({scopeParent:s,candidates:p})}else i.unshift.apply(i,s.children)}}return r},Go=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},_o=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||D1(t))&&!Go(t)?0:t.tabIndex},W1=function(t,n){var o=_o(t);return o<0&&n&&!Go(t)?0:o},H1=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},No=function(t){return t.tagName==="INPUT"},X1=function(t){return No(t)&&t.type==="hidden"},Z1=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(o){return o.tagName==="SUMMARY"});return n},$1=function(t,n){for(var o=0;o<t.length;o++)if(t[o].checked&&t[o].form===n)return t[o]},Y1=function(t){if(!t.name)return!0;var n=t.form||Cn(t),o=function(l){return n.querySelectorAll('input[type="radio"][name="'+l+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=o(window.CSS.escape(t.name));else try{r=o(t.name)}catch(s){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",s.message),!1}var i=$1(r,t.form);return!i||i===t},z1=function(t){return No(t)&&t.type==="radio"},J1=function(t){return z1(t)&&!Y1(t)},U1=function(t){var n,o=t&&Cn(t),r=(n=o)===null||n===void 0?void 0:n.host,i=!1;if(o&&o!==t){var s,l,a;for(i=!!((s=r)!==null&&s!==void 0&&(l=s.ownerDocument)!==null&&l!==void 0&&l.contains(r)||t!=null&&(a=t.ownerDocument)!==null&&a!==void 0&&a.contains(t));!i&&r;){var c,u,f;o=Cn(r),r=(c=o)===null||c===void 0?void 0:c.host,i=!!((u=r)!==null&&u!==void 0&&(f=u.ownerDocument)!==null&&f!==void 0&&f.contains(r))}}return i},Po=function(t){var n=t.getBoundingClientRect(),o=n.width,r=n.height;return o===0&&r===0},Q1=function(t,n){var o=n.displayCheck,r=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var i=wt.call(t,"details>summary:first-of-type"),s=i?t.parentElement:t;if(wt.call(s,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="legacy-full"){if(typeof r=="function"){for(var l=t;t;){var a=t.parentElement,c=Cn(t);if(a&&!a.shadowRoot&&r(a)===!0)return Po(t);t.assignedSlot?t=t.assignedSlot:!a&&c!==t.ownerDocument?t=c.host:t=a}t=l}if(U1(t))return!t.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return Po(t);return!1},K1=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var o=0;o<n.children.length;o++){var r=n.children.item(o);if(r.tagName==="LEGEND")return wt.call(n,"fieldset[disabled] *")?!0:!r.contains(t)}return!0}n=n.parentElement}return!1},q1=function(t,n){return!(n.disabled||In(n)||X1(n)||Q1(n,t)||Z1(n)||K1(n))},Vo=function(t,n){return!(J1(n)||_o(n)<0||!q1(t,n))},ed=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},td=function e(t){var n=[],o=[];return t.forEach(function(r,i){var s=!!r.scopeParent,l=s?r.scopeParent:r,a=W1(l,s),c=s?e(r.candidates):l;a===0?s?n.push.apply(n,c):n.push(l):o.push({documentOrder:i,tabIndex:a,item:r,isScope:s,content:c})}),o.sort(H1).reduce(function(r,i){return i.isScope?r.push.apply(r,i.content):r.push(i.content),r},[]).concat(n)},gr=function(t,n){n=n||{};var o;return n.getShadowRoot?o=k1([t],n.includeContainer,{filter:Vo.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:ed}):o=j1(t,n.includeContainer,Vo.bind(null,n)),td(o)};function nd(){return/apple/i.test(navigator.vendor)}const Do="data-floating-ui-focusable",rd="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function od(e){let t=e.activeElement;for(;((n=t)==null||(n=n.shadowRoot)==null?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function pr(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&lr(n)){let o=t;for(;o;){if(e===o)return!0;o=o.parentNode||o.host}}return!1}function At(e){return"composedPath"in e?e.composedPath()[0]:e.target}function mr(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function id(e){return e.matches("html,body")}function Et(e){return e?.ownerDocument||document}function sd(e){return xe(e)&&e.matches(rd)}function ad(e){return e?e.hasAttribute(Do)?e:e.querySelector("["+Do+"]")||e:null}function hr(e,t){let n=e.filter(r=>{var i;return r.parentId===t&&((i=r.context)==null?void 0:i.open)}),o=n;for(;o.length;)o=e.filter(r=>{var i;return(i=o)==null?void 0:i.some(s=>{var l;return r.parentId===s.id&&((l=r.context)==null?void 0:l.open)})}),n=n.concat(o);return n}function ld(e){return"nativeEvent"in e}function jo(e,t){return["mouse","pen"].includes(e)}var cd=typeof document<"u",ud=function(){},et=cd?v.useLayoutEffect:ud;const dd={...E}.useInsertionEffect||(e=>e());function st(e){const t=E.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return dd(()=>{t.current=e}),E.useCallback(function(){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return t.current==null?void 0:t.current(...o)},[])}const ko=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function Wo(e,t){const n=gr(e,ko()),o=n.length;if(o===0)return;const r=od(Et(e)),i=n.indexOf(r),s=i===-1?t===1?0:o-1:i+t;return n[s]}function fd(e){return Wo(Et(e).body,1)||e}function gd(e){return Wo(Et(e).body,-1)||e}function vr(e,t){const n=t||e.currentTarget,o=e.relatedTarget;return!o||!pr(n,o)}function pd(e){gr(e,ko()).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function Ho(e){e.querySelectorAll("[data-tabindex]").forEach(n=>{const o=n.dataset.tabindex;delete n.dataset.tabindex,o?n.setAttribute("tabindex",o):n.removeAttribute("tabindex")})}function Xo(e,t,n){let{reference:o,floating:r}=e;const i=Ue(t),s=Oo(t),l=Lo(s),a=qe(t),c=i==="y",u=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,m=o[l]/2-r[l]/2;let p;switch(a){case"top":p={x:u,y:o.y-r.height};break;case"bottom":p={x:u,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:f};break;case"left":p={x:o.x-r.width,y:f};break;default:p={x:o.x,y:o.y}}switch(hn(t)){case"start":p[s]-=m*(n&&c?-1:1);break;case"end":p[s]+=m*(n&&c?-1:1);break}return p}const md=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:f}=Xo(c,o,a),m=o,p={},b=0;for(let g=0;g<l.length;g++){const{name:h,fn:C}=l[g],{x:y,y:I,data:S,reset:x}=await C({x:u,y:f,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});u=y??u,f=I??f,p={...p,[h]:{...p[h],...S}},x&&b<=50&&(b++,typeof x=="object"&&(x.placement&&(m=x.placement),x.rects&&(c=x.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:r}):x.rects),{x:u,y:f}=Xo(c,m,a)),g=-1)}return{x:u,y:f,placement:m,strategy:r,middlewareData:p}};async function Zo(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:i,rects:s,elements:l,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:m=!1,padding:p=0}=mn(t,e),b=P1(p),h=l[m?f==="floating"?"reference":"floating":f],C=bn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(h)))==null||n?h:h.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),y=f==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,I=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),S=await(i.isElement==null?void 0:i.isElement(I))?await(i.getScale==null?void 0:i.getScale(I))||{x:1,y:1}:{x:1,y:1},x=bn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:I,strategy:a}):y);return{top:(C.top-x.top+b.top)/S.y,bottom:(x.bottom-C.bottom+b.bottom)/S.y,left:(C.left-x.left+b.left)/S.x,right:(x.right-C.right+b.right)/S.x}}const hd=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:l,platform:a,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:g=!0,...h}=mn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const C=qe(r),y=Ue(l),I=qe(l)===l,S=await(a.isRTL==null?void 0:a.isRTL(c.floating)),x=m||(I||!g?[vn(l)]:F1(l)),M=b!=="none";!m&&M&&x.push(..._1(l,g,b,S));const A=[l,...x],L=await Zo(t,h),_=[];let N=((o=i.flip)==null?void 0:o.overflows)||[];if(u&&_.push(L[C]),f){const k=O1(r,s,S);_.push(L[k[0]],L[k[1]])}if(N=[...N,{placement:r,overflows:_}],!_.every(k=>k<=0)){var Z,H;const k=(((Z=i.flip)==null?void 0:Z.index)||0)+1,F=A[k];if(F&&(!(f==="alignment"?y!==Ue(F):!1)||N.every(T=>T.overflows[0]>0&&Ue(T.placement)===y)))return{data:{index:k,overflows:N},reset:{placement:F}};let B=(H=N.filter(P=>P.overflows[0]<=0).sort((P,T)=>P.overflows[1]-T.overflows[1])[0])==null?void 0:H.placement;if(!B)switch(p){case"bestFit":{var X;const P=(X=N.filter(T=>{if(M){const R=Ue(T.placement);return R===y||R==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(R=>R>0).reduce((R,V)=>R+V,0)]).sort((T,R)=>T[1]-R[1])[0])==null?void 0:X[0];P&&(B=P);break}case"initialPlacement":B=l;break}if(r!==B)return{reset:{placement:B}}}return{}}}};async function vd(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=qe(n),l=hn(n),a=Ue(n)==="y",c=["left","top"].includes(s)?-1:1,u=i&&a?-1:1,f=mn(t,e);let{mainAxis:m,crossAxis:p,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof b=="number"&&(p=l==="end"?b*-1:b),a?{x:p*u,y:m*c}:{x:m*c,y:p*u}}const bd=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:s,middlewareData:l}=t,a=await vd(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:r+a.x,y:i+a.y,data:{...a,placement:s}}}}},Cd=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:h=>{let{x:C,y}=h;return{x:C,y}}},...a}=mn(e,t),c={x:n,y:o},u=await Zo(t,a),f=Ue(qe(r)),m=Ro(f);let p=c[m],b=c[f];if(i){const h=m==="y"?"top":"left",C=m==="y"?"bottom":"right",y=p+u[h],I=p-u[C];p=To(y,p,I)}if(s){const h=f==="y"?"top":"left",C=f==="y"?"bottom":"right",y=b+u[h],I=b-u[C];b=To(y,b,I)}const g=l.fn({...t,[m]:p,[f]:b});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[m]:i,[f]:s}}}}}};function $o(e){const t=Me(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=xe(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,l=gn(n)!==i||gn(o)!==s;return l&&(n=i,o=s),{width:n,height:o,$:l}}function br(e){return ae(e)?e:e.contextElement}function at(e){const t=br(e);if(!xe(t))return Ge(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=$o(t);let s=(i?gn(n.width):n.width)/o,l=(i?gn(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Id=Ge(0);function Yo(e){const t=Ae(e);return!un()||!t.visualViewport?Id:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function xd(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ae(e)?!1:t}function tt(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=br(e);let s=Ge(1);t&&(o?ae(o)&&(s=at(o)):s=at(e));const l=xd(i,n,o)?Yo(i):Ge(0);let a=(r.left+l.x)/s.x,c=(r.top+l.y)/s.y,u=r.width/s.x,f=r.height/s.y;if(i){const m=Ae(i),p=o&&ae(o)?Ae(o):o;let b=m,g=ur(b);for(;g&&o&&p!==b;){const h=at(g),C=g.getBoundingClientRect(),y=Me(g),I=C.left+(g.clientLeft+parseFloat(y.paddingLeft))*h.x,S=C.top+(g.clientTop+parseFloat(y.paddingTop))*h.y;a*=h.x,c*=h.y,u*=h.x,f*=h.y,a+=I,c+=S,b=Ae(g),g=ur(b)}}return bn({width:u,height:f,x:a,y:c})}function Cr(e,t){const n=dn(e).scrollLeft;return t?t.left+n:tt(Fe(e)).left+n}function zo(e,t,n){n===void 0&&(n=!1);const o=e.getBoundingClientRect(),r=o.left+t.scrollLeft-(n?0:Cr(e,o)),i=o.top+t.scrollTop;return{x:r,y:i}}function yd(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i=r==="fixed",s=Fe(o),l=t?cn(t.floating):!1;if(o===s||l&&i)return n;let a={scrollLeft:0,scrollTop:0},c=Ge(1);const u=Ge(0),f=xe(o);if((f||!f&&!i)&&((it(o)!=="body"||St(s))&&(a=dn(o)),xe(o))){const p=tt(o);c=at(o),u.x=p.x+o.clientLeft,u.y=p.y+o.clientTop}const m=s&&!f&&!i?zo(s,a,!0):Ge(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+u.x+m.x,y:n.y*c.y-a.scrollTop*c.y+u.y+m.y}}function Sd(e){return Array.from(e.getClientRects())}function wd(e){const t=Fe(e),n=dn(e),o=e.ownerDocument.body,r=Ke(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=Ke(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Cr(e);const l=-n.scrollTop;return Me(o).direction==="rtl"&&(s+=Ke(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:l}}function Ad(e,t){const n=Ae(e),o=Fe(e),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,l=0,a=0;if(r){i=r.width,s=r.height;const c=un();(!c||c&&t==="fixed")&&(l=r.offsetLeft,a=r.offsetTop)}return{width:i,height:s,x:l,y:a}}function Ed(e,t){const n=tt(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=xe(e)?at(e):Ge(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,a=r*i.x,c=o*i.y;return{width:s,height:l,x:a,y:c}}function Jo(e,t,n){let o;if(t==="viewport")o=Ad(e,n);else if(t==="document")o=wd(Fe(e));else if(ae(t))o=Ed(t,n);else{const r=Yo(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return bn(o)}function Uo(e,t){const n=He(e);return n===t||!ae(n)||We(n)?!1:Me(n).position==="fixed"||Uo(n,t)}function Md(e,t){const n=t.get(e);if(n)return n;let o=Je(e,[],!1).filter(l=>ae(l)&&it(l)!=="body"),r=null;const i=Me(e).position==="fixed";let s=i?He(e):e;for(;ae(s)&&!We(s);){const l=Me(s),a=cr(s);!a&&l.position==="fixed"&&(r=null),(i?!a&&!r:!a&&l.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||St(s)&&!a&&Uo(e,s))?o=o.filter(u=>u!==s):r=l,s=He(s)}return t.set(e,o),o}function Bd(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const s=[...n==="clippingAncestors"?cn(t)?[]:Md(t,this._c):[].concat(n),o],l=s[0],a=s.reduce((c,u)=>{const f=Jo(t,u,r);return c.top=Ke(f.top,c.top),c.right=fn(f.right,c.right),c.bottom=fn(f.bottom,c.bottom),c.left=Ke(f.left,c.left),c},Jo(t,l,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Td(e){const{width:t,height:n}=$o(e);return{width:t,height:n}}function Rd(e,t,n){const o=xe(t),r=Fe(t),i=n==="fixed",s=tt(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const a=Ge(0);function c(){a.x=Cr(r)}if(o||!o&&!i)if((it(t)!=="body"||St(r))&&(l=dn(t)),o){const p=tt(t,!0,i,t);a.x=p.x+t.clientLeft,a.y=p.y+t.clientTop}else r&&c();i&&!o&&r&&c();const u=r&&!o&&!i?zo(r,l):Ge(0),f=s.left+l.scrollLeft-a.x-u.x,m=s.top+l.scrollTop-a.y-u.y;return{x:f,y:m,width:s.width,height:s.height}}function Ir(e){return Me(e).position==="static"}function Qo(e,t){if(!xe(e)||Me(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Fe(e)===n&&(n=n.ownerDocument.body),n}function Ko(e,t){const n=Ae(e);if(cn(e))return n;if(!xe(e)){let r=He(e);for(;r&&!We(r);){if(ae(r)&&!Ir(r))return r;r=He(r)}return n}let o=Qo(e,t);for(;o&&B1(o)&&Ir(o);)o=Qo(o,t);return o&&We(o)&&Ir(o)&&!cr(o)?n:o||T1(e)||n}const Ld=async function(e){const t=this.getOffsetParent||Ko,n=this.getDimensions,o=await n(e.floating);return{reference:Rd(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Od(e){return Me(e).direction==="rtl"}const Fd={convertOffsetParentRelativeRectToViewportRelativeRect:yd,getDocumentElement:Fe,getClippingRect:Bd,getOffsetParent:Ko,getElementRects:Ld,getClientRects:Sd,getDimensions:Td,getScale:at,isElement:ae,isRTL:Od};function qo(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Gd(e,t){let n=null,o;const r=Fe(e);function i(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),i();const c=e.getBoundingClientRect(),{left:u,top:f,width:m,height:p}=c;if(l||t(),!m||!p)return;const b=pn(f),g=pn(r.clientWidth-(u+m)),h=pn(r.clientHeight-(f+p)),C=pn(u),I={rootMargin:-b+"px "+-g+"px "+-h+"px "+-C+"px",threshold:Ke(0,fn(1,a))||1};let S=!0;function x(M){const A=M[0].intersectionRatio;if(A!==a){if(!S)return s();A?s(!1,A):o=setTimeout(()=>{s(!1,1e-7)},1e3)}A===1&&!qo(c,e.getBoundingClientRect())&&s(),S=!1}try{n=new IntersectionObserver(x,{...I,root:r.ownerDocument})}catch{n=new IntersectionObserver(x,I)}n.observe(e)}return s(!0),i}function ei(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=o,c=br(e),u=r||i?[...c?Je(c):[],...Je(t)]:[];u.forEach(C=>{r&&C.addEventListener("scroll",n,{passive:!0}),i&&C.addEventListener("resize",n)});const f=c&&l?Gd(c,n):null;let m=-1,p=null;s&&(p=new ResizeObserver(C=>{let[y]=C;y&&y.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var I;(I=p)==null||I.observe(t)})),n()}),c&&!a&&p.observe(c),p.observe(t));let b,g=a?tt(e):null;a&&h();function h(){const C=tt(e);g&&!qo(g,C)&&n(),g=C,b=requestAnimationFrame(h)}return n(),()=>{var C;u.forEach(y=>{r&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),f?.(),(C=p)==null||C.disconnect(),p=null,a&&cancelAnimationFrame(b)}}const _d=bd,Nd=Cd,Pd=hd,Vd=(e,t,n)=>{const o=new Map,r={platform:Fd,...n},i={...r.platform,_c:o};return md(e,t,{...r,platform:i})};var Dd=typeof document<"u",jd=function(){},xn=Dd?v.useLayoutEffect:jd;function yn(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,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(!yn(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const i=r[o];if(!(i==="_owner"&&e.$$typeof)&&!yn(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function ti(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ni(e,t){const n=ti(e);return Math.round(t*n)/n}function xr(e){const t=E.useRef(e);return xn(()=>{t.current=e}),t}function kd(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:i,floating:s}={},transform:l=!0,whileElementsMounted:a,open:c}=e,[u,f]=E.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,p]=E.useState(o);yn(m,o)||p(o);const[b,g]=E.useState(null),[h,C]=E.useState(null),y=E.useCallback(T=>{T!==M.current&&(M.current=T,g(T))},[]),I=E.useCallback(T=>{T!==A.current&&(A.current=T,C(T))},[]),S=i||b,x=s||h,M=E.useRef(null),A=E.useRef(null),L=E.useRef(u),_=a!=null,N=xr(a),Z=xr(r),H=xr(c),X=E.useCallback(()=>{if(!M.current||!A.current)return;const T={placement:t,strategy:n,middleware:m};Z.current&&(T.platform=Z.current),Vd(M.current,A.current,T).then(R=>{const V={...R,isPositioned:H.current!==!1};k.current&&!yn(L.current,V)&&(L.current=V,vo.flushSync(()=>{f(V)}))})},[m,t,n,Z,H]);xn(()=>{c===!1&&L.current.isPositioned&&(L.current.isPositioned=!1,f(T=>({...T,isPositioned:!1})))},[c]);const k=E.useRef(!1);xn(()=>(k.current=!0,()=>{k.current=!1}),[]),xn(()=>{if(S&&(M.current=S),x&&(A.current=x),S&&x){if(N.current)return N.current(S,x,X);X()}},[S,x,X,N,_]);const F=E.useMemo(()=>({reference:M,floating:A,setReference:y,setFloating:I}),[y,I]),B=E.useMemo(()=>({reference:S,floating:x}),[S,x]),P=E.useMemo(()=>{const T={position:n,left:0,top:0};if(!B.floating)return T;const R=ni(B.floating,u.x),V=ni(B.floating,u.y);return l?{...T,transform:"translate("+R+"px, "+V+"px)",...ti(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:V}},[n,l,B.floating,u.x,u.y]);return E.useMemo(()=>({...u,update:X,refs:F,elements:B,floatingStyles:P}),[u,X,F,B,P])}const Wd=(e,t)=>({..._d(e),options:[e,t]}),Hd=(e,t)=>({...Nd(e),options:[e,t]}),Xd=(e,t)=>({...Pd(e),options:[e,t]}),Zd="data-floating-ui-focusable",ri="active",oi="selected",$d={...E};let ii=!1,Yd=0;const si=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Yd++;function zd(){const[e,t]=E.useState(()=>ii?si():void 0);return et(()=>{e==null&&t(si())},[]),E.useEffect(()=>{ii=!0},[]),e}const yr=$d.useId||zd;let Sr;process.env.NODE_ENV!=="production"&&(Sr=new Set);function Jd(){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];const r="Floating UI: "+n.join(" ");if(!((e=Sr)!=null&&e.has(r))){var i;(i=Sr)==null||i.add(r),console.error(r)}}function Ud(){const e=new Map;return{emit(t,n){var o;(o=e.get(t))==null||o.forEach(r=>r(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var o;(o=e.get(t))==null||o.delete(n)}}}const Qd=E.createContext(null),Kd=E.createContext(null),ai=()=>{var e;return((e=E.useContext(Qd))==null?void 0:e.id)||null},li=()=>E.useContext(Kd);function wr(e){return"data-floating-ui-"+e}function qd(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const ci={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0},ui=E.forwardRef(function(t,n){const[o,r]=E.useState();et(()=>{nd()&&r("button")},[]);const i={ref:n,tabIndex:0,role:o,"aria-hidden":o?void 0:!0,[wr("focus-guard")]:"",style:ci};return d.jsx("span",{...t,...i})}),di=E.createContext(null),fi=wr("portal");function e0(e){e===void 0&&(e={});const{id:t,root:n}=e,o=yr(),r=n0(),[i,s]=E.useState(null),l=E.useRef(null);return et(()=>()=>{i?.remove(),queueMicrotask(()=>{l.current=null})},[i]),et(()=>{if(!o||l.current)return;const a=t?document.getElementById(t):null;if(!a)return;const c=document.createElement("div");c.id=o,c.setAttribute(fi,""),a.appendChild(c),l.current=c,s(c)},[t,o]),et(()=>{if(n===null||!o||l.current)return;let a=n||r?.portalNode;a&&!ae(a)&&(a=a.current),a=a||document.body;let c=null;t&&(c=document.createElement("div"),c.id=t,a.appendChild(c));const u=document.createElement("div");u.id=o,u.setAttribute(fi,""),a=c||a,a.appendChild(u),l.current=u,s(u)},[t,n,o,r]),i}function t0(e){const{children:t,id:n,root:o,preserveTabOrder:r=!0}=e,i=e0({id:n,root:o}),[s,l]=E.useState(null),a=E.useRef(null),c=E.useRef(null),u=E.useRef(null),f=E.useRef(null),m=s?.modal,p=s?.open,b=!!s&&!s.modal&&s.open&&r&&!!(o||i);return E.useEffect(()=>{if(!i||!r||m)return;function g(h){i&&vr(h)&&(h.type==="focusin"?Ho:pd)(i)}return i.addEventListener("focusin",g,!0),i.addEventListener("focusout",g,!0),()=>{i.removeEventListener("focusin",g,!0),i.removeEventListener("focusout",g,!0)}},[i,r,m]),E.useEffect(()=>{i&&(p||Ho(i))},[p,i]),d.jsxs(di.Provider,{value:E.useMemo(()=>({preserveTabOrder:r,beforeOutsideRef:a,afterOutsideRef:c,beforeInsideRef:u,afterInsideRef:f,portalNode:i,setFocusManagerState:l}),[r,i]),children:[b&&i&&d.jsx(ui,{"data-type":"outside",ref:a,onFocus:g=>{if(vr(g,i)){var h;(h=u.current)==null||h.focus()}else{const C=s?s.domReference:null,y=gd(C);y?.focus()}}}),b&&i&&d.jsx("span",{"aria-owns":i.id,style:ci}),i&&vo.createPortal(t,i),b&&i&&d.jsx(ui,{"data-type":"outside",ref:c,onFocus:g=>{if(vr(g,i)){var h;(h=f.current)==null||h.focus()}else{const C=s?s.domReference:null,y=fd(C);y?.focus(),s?.closeOnFocusOut&&s?.onOpenChange(!1,g.nativeEvent,"focus-out")}}})]})}const n0=()=>E.useContext(di);function gi(e){return xe(e.target)&&e.target.tagName==="BUTTON"}function r0(e){return xe(e.target)&&e.target.tagName==="A"}function pi(e){return sd(e)}function o0(e,t){t===void 0&&(t={});const{open:n,onOpenChange:o,dataRef:r,elements:{domReference:i}}=e,{enabled:s=!0,event:l="click",toggle:a=!0,ignoreMouse:c=!1,keyboardHandlers:u=!0,stickIfOpen:f=!0}=t,m=E.useRef(),p=E.useRef(!1),b=E.useMemo(()=>({onPointerDown(g){m.current=g.pointerType},onMouseDown(g){const h=m.current;g.button===0&&l!=="click"&&(jo(h)&&c||(n&&a&&(!(r.current.openEvent&&f)||r.current.openEvent.type==="mousedown")?o(!1,g.nativeEvent,"click"):(g.preventDefault(),o(!0,g.nativeEvent,"click"))))},onClick(g){const h=m.current;if(l==="mousedown"&&m.current){m.current=void 0;return}jo(h)&&c||(n&&a&&(!(r.current.openEvent&&f)||r.current.openEvent.type==="click")?o(!1,g.nativeEvent,"click"):o(!0,g.nativeEvent,"click"))},onKeyDown(g){m.current=void 0,!(g.defaultPrevented||!u||gi(g))&&(g.key===" "&&!pi(i)&&(g.preventDefault(),p.current=!0),!r0(g)&&g.key==="Enter"&&o(!(n&&a),g.nativeEvent,"click"))},onKeyUp(g){g.defaultPrevented||!u||gi(g)||pi(i)||g.key===" "&&p.current&&(p.current=!1,o(!(n&&a),g.nativeEvent,"click"))}}),[r,i,l,c,u,o,n,f,a]);return E.useMemo(()=>s?{reference:b}:{},[s,b])}const i0={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},s0={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},mi=e=>{var t,n;return{escapeKey:typeof e=="boolean"?e:(t=e?.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(n=e?.outsidePress)!=null?n:!0}};function a0(e,t){t===void 0&&(t={});const{open:n,onOpenChange:o,elements:r,dataRef:i}=e,{enabled:s=!0,escapeKey:l=!0,outsidePress:a=!0,outsidePressEvent:c="pointerdown",referencePress:u=!1,referencePressEvent:f="pointerdown",ancestorScroll:m=!1,bubbles:p,capture:b}=t,g=li(),h=st(typeof a=="function"?a:()=>!1),C=typeof a=="function"?h:a,y=E.useRef(!1),{escapeKey:I,outsidePress:S}=mi(p),{escapeKey:x,outsidePress:M}=mi(b),A=E.useRef(!1),L=E.useRef(-1),_=st(F=>{var B;if(!n||!s||!l||F.key!=="Escape"||A.current)return;const P=(B=i.current.floatingContext)==null?void 0:B.nodeId,T=g?hr(g.nodesRef.current,P):[];if(!I&&(F.stopPropagation(),T.length>0)){let R=!0;if(T.forEach(V=>{var w;if((w=V.context)!=null&&w.open&&!V.context.dataRef.current.__escapeKeyBubbles){R=!1;return}}),!R)return}o(!1,ld(F)?F.nativeEvent:F,"escape-key")}),N=st(F=>{var B;const P=()=>{var T;_(F),(T=At(F))==null||T.removeEventListener("keydown",P)};(B=At(F))==null||B.addEventListener("keydown",P)}),Z=st(F=>{var B;const P=i.current.insideReactTree;i.current.insideReactTree=!1;const T=y.current;if(y.current=!1,c==="click"&&T||P||typeof C=="function"&&!C(F))return;const R=At(F),V="["+wr("inert")+"]",w=Et(r.floating).querySelectorAll(V);let O=ae(R)?R:null;for(;O&&!We(O);){const ee=He(O);if(We(ee)||!ae(ee))break;O=ee}if(w.length&&ae(R)&&!id(R)&&!pr(R,r.floating)&&Array.from(w).every(ee=>!pr(O,ee)))return;if(xe(R)&&k){const ee=We(R),Y=Me(R),Q=/auto|scroll/,se=ee||Q.test(Y.overflowX),Ie=ee||Q.test(Y.overflowY),we=se&&R.clientWidth>0&&R.scrollWidth>R.clientWidth,j=Ie&&R.clientHeight>0&&R.scrollHeight>R.clientHeight,ke=Y.direction==="rtl",Be=j&&(ke?F.offsetX<=R.offsetWidth-R.clientWidth:F.offsetX>R.clientWidth),$e=we&&F.offsetY>R.clientHeight;if(Be||$e)return}const W=(B=i.current.floatingContext)==null?void 0:B.nodeId,D=g&&hr(g.nodesRef.current,W).some(ee=>{var Y;return mr(F,(Y=ee.context)==null?void 0:Y.elements.floating)});if(mr(F,r.floating)||mr(F,r.domReference)||D)return;const q=g?hr(g.nodesRef.current,W):[];if(q.length>0){let ee=!0;if(q.forEach(Y=>{var Q;if((Q=Y.context)!=null&&Q.open&&!Y.context.dataRef.current.__outsidePressBubbles){ee=!1;return}}),!ee)return}o(!1,F,"outside-press")}),H=st(F=>{var B;const P=()=>{var T;Z(F),(T=At(F))==null||T.removeEventListener(c,P)};(B=At(F))==null||B.addEventListener(c,P)});E.useEffect(()=>{if(!n||!s)return;i.current.__escapeKeyBubbles=I,i.current.__outsidePressBubbles=S;let F=-1;function B(w){o(!1,w,"ancestor-scroll")}function P(){window.clearTimeout(F),A.current=!0}function T(){F=window.setTimeout(()=>{A.current=!1},un()?5:0)}const R=Et(r.floating);l&&(R.addEventListener("keydown",x?N:_,x),R.addEventListener("compositionstart",P),R.addEventListener("compositionend",T)),C&&R.addEventListener(c,M?H:Z,M);let V=[];return m&&(ae(r.domReference)&&(V=Je(r.domReference)),ae(r.floating)&&(V=V.concat(Je(r.floating))),!ae(r.reference)&&r.reference&&r.reference.contextElement&&(V=V.concat(Je(r.reference.contextElement)))),V=V.filter(w=>{var O;return w!==((O=R.defaultView)==null?void 0:O.visualViewport)}),V.forEach(w=>{w.addEventListener("scroll",B,{passive:!0})}),()=>{l&&(R.removeEventListener("keydown",x?N:_,x),R.removeEventListener("compositionstart",P),R.removeEventListener("compositionend",T)),C&&R.removeEventListener(c,M?H:Z,M),V.forEach(w=>{w.removeEventListener("scroll",B)}),window.clearTimeout(F)}},[i,r,l,C,c,n,o,m,s,I,S,_,x,N,Z,M,H]),E.useEffect(()=>{i.current.insideReactTree=!1},[i,C,c]);const X=E.useMemo(()=>({onKeyDown:_,...u&&{[i0[f]]:F=>{o(!1,F.nativeEvent,"reference-press")},...f!=="click"&&{onClick(F){o(!1,F.nativeEvent,"reference-press")}}}}),[_,o,u,f]),k=E.useMemo(()=>({onKeyDown:_,onMouseDown(){y.current=!0},onMouseUp(){y.current=!0},[s0[c]]:()=>{i.current.insideReactTree=!0},onBlurCapture(){g||(qd(L),i.current.insideReactTree=!0,L.current=window.setTimeout(()=>{i.current.insideReactTree=!1}))}}),[_,c,i,g]);return E.useMemo(()=>s?{reference:X,floating:k}:{},[s,X,k])}function l0(e){const{open:t=!1,onOpenChange:n,elements:o}=e,r=yr(),i=E.useRef({}),[s]=E.useState(()=>Ud()),l=ai()!=null;if(process.env.NODE_ENV!=="production"){const p=o.reference;p&&!ae(p)&&Jd("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[a,c]=E.useState(o.reference),u=st((p,b,g)=>{i.current.openEvent=p?b:void 0,s.emit("openchange",{open:p,event:b,reason:g,nested:l}),n?.(p,b,g)}),f=E.useMemo(()=>({setPositionReference:c}),[]),m=E.useMemo(()=>({reference:a||o.reference||null,floating:o.floating||null,domReference:o.reference}),[a,o.reference,o.floating]);return E.useMemo(()=>({dataRef:i,open:t,onOpenChange:u,elements:m,events:s,floatingId:r,refs:f}),[t,u,m,s,r,f])}function c0(e){e===void 0&&(e={});const{nodeId:t}=e,n=l0({...e,elements:{reference:null,floating:null,...e.elements}}),o=e.rootContext||n,r=o.elements,[i,s]=E.useState(null),[l,a]=E.useState(null),u=r?.domReference||i,f=E.useRef(null),m=li();et(()=>{u&&(f.current=u)},[u]);const p=kd({...e,elements:{...r,...l&&{reference:l}}}),b=E.useCallback(I=>{const S=ae(I)?{getBoundingClientRect:()=>I.getBoundingClientRect(),getClientRects:()=>I.getClientRects(),contextElement:I}:I;a(S),p.refs.setReference(S)},[p.refs]),g=E.useCallback(I=>{(ae(I)||I===null)&&(f.current=I,s(I)),(ae(p.refs.reference.current)||p.refs.reference.current===null||I!==null&&!ae(I))&&p.refs.setReference(I)},[p.refs]),h=E.useMemo(()=>({...p.refs,setReference:g,setPositionReference:b,domReference:f}),[p.refs,g,b]),C=E.useMemo(()=>({...p.elements,domReference:u}),[p.elements,u]),y=E.useMemo(()=>({...p,...o,refs:h,elements:C,nodeId:t}),[p,h,C,t,o]);return et(()=>{o.dataRef.current.floatingContext=y;const I=m?.nodesRef.current.find(S=>S.id===t);I&&(I.context=y)}),E.useMemo(()=>({...p,context:y,refs:h,elements:C}),[p,h,C,y])}function Ar(e,t,n){const o=new Map,r=n==="item";let i=e;if(r&&e){const{[ri]:s,[oi]:l,...a}=e;i=a}return{...n==="floating"&&{tabIndex:-1,[Zd]:""},...i,...t.map(s=>{const l=s?s[n]:null;return typeof l=="function"?e?l(e):null:l}).concat(e).reduce((s,l)=>(l&&Object.entries(l).forEach(a=>{let[c,u]=a;if(!(r&&[ri,oi].includes(c)))if(c.indexOf("on")===0){if(o.has(c)||o.set(c,[]),typeof u=="function"){var f;(f=o.get(c))==null||f.push(u),s[c]=function(){for(var m,p=arguments.length,b=new Array(p),g=0;g<p;g++)b[g]=arguments[g];return(m=o.get(c))==null?void 0:m.map(h=>h(...b)).find(h=>h!==void 0)}}}else s[c]=u}),s),{})}}function u0(e){e===void 0&&(e=[]);const t=e.map(l=>l?.reference),n=e.map(l=>l?.floating),o=e.map(l=>l?.item),r=E.useCallback(l=>Ar(l,e,"reference"),t),i=E.useCallback(l=>Ar(l,e,"floating"),n),s=E.useCallback(l=>Ar(l,e,"item"),o);return E.useMemo(()=>({getReferenceProps:r,getFloatingProps:i,getItemProps:s}),[r,i,s])}const d0=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function f0(e,t){var n,o;t===void 0&&(t={});const{open:r,elements:i,floatingId:s}=e,{enabled:l=!0,role:a="dialog"}=t,c=yr(),u=((n=i.domReference)==null?void 0:n.id)||c,f=E.useMemo(()=>{var y;return((y=ad(i.floating))==null?void 0:y.id)||s},[i.floating,s]),m=(o=d0.get(a))!=null?o:a,b=ai()!=null,g=E.useMemo(()=>m==="tooltip"||a==="label"?{["aria-"+(a==="label"?"labelledby":"describedby")]:r?f:void 0}:{"aria-expanded":r?"true":"false","aria-haspopup":m==="alertdialog"?"dialog":m,"aria-controls":r?f:void 0,...m==="listbox"&&{role:"combobox"},...m==="menu"&&{id:u},...m==="menu"&&b&&{role:"menuitem"},...a==="select"&&{"aria-autocomplete":"none"},...a==="combobox"&&{"aria-autocomplete":"list"}},[m,f,b,r,u,a]),h=E.useMemo(()=>{const y={id:f,...m&&{role:m}};return m==="tooltip"||a==="label"?y:{...y,...m==="menu"&&{"aria-labelledby":u}}},[m,f,u,a]),C=E.useCallback(y=>{let{active:I,selected:S}=y;const x={role:"option",...I&&{id:f+"-fui-option"}};switch(a){case"select":return{...x,"aria-selected":I&&S};case"combobox":return{...x,"aria-selected":S}}return{}},[f,a]);return E.useMemo(()=>l?{reference:g,floating:h,item:C}:{},[l,g,h,C])}const hi={Trigger:"Trigger__qLBhmuc6",Content:"Content__JrjMmnQL"},vi=({isOpen:e,onChange:t,content:n,children:o,placement:r="bottom-start",closeOnTriggerClick:i=!0,triggerClassName:s,contentClassName:l})=>{const{refs:a,floatingStyles:c,context:u}=c0({open:e,onOpenChange:(h,C)=>{C&&(C.preventDefault(),C.stopPropagation()),t(h)},middleware:[Wd(4),Xd(),Hd()],placement:r,whileElementsMounted:ei}),f=o0(u,{toggle:i}),m=a0(u,{escapeKey:!0,outsidePressEvent:"mousedown"}),p=f0(u,{role:"dialog"}),{getReferenceProps:b,getFloatingProps:g}=u0([f,m,p]);return d.jsxs(d.Fragment,{children:[d.jsx("div",{ref:a.setReference,...b(),className:G(hi.Trigger,ie.Text1,s),children:o}),e&&d.jsx(t0,{children:d.jsx("div",{ref:a.setFloating,style:c,...g(),className:G(hi.Content,ie.Text1,l),onClick:h=>{h.stopPropagation()},onMouseDown:h=>{h.stopPropagation()},children:n})})]})},Er={Container:"Container__sgJphdMk",IconContainer:"IconContainer__zAFVbLM6",TextContainer:"TextContainer__zv48g-Ec"},bi=({iconName:e,title:t,subtitle:n,buttonTitle:o,onButtonClick:r,className:i})=>d.jsxs("div",{className:G(Er.Container,i),children:[e&&d.jsx("div",{className:Er.IconContainer,children:d.jsx(fe,{name:e,width:20,height:20})}),d.jsxs("div",{className:Er.TextContainer,children:[d.jsx(K,{variant:"h3",component:"p",children:t}),n&&d.jsx(K,{variant:"h5",component:"p",children:n})]}),o&&d.jsx(Ye,{variant:"primary",size:"M",onClick:r,children:o})]}),Ci=()=>{},Ii=v.createContext({onItemChange:Ci,onAllItemChange:Ci}),xi=()=>v.useContext(Ii),yi=v.createContext([]),Mr=()=>v.useContext(yi),Si="ALL",g0=({children:e,className:t})=>{const n=Mr(),{onAllItemChange:o}=xi(),r=n.length===0,i=()=>{o(n)};return d.jsx("li",{className:t,children:d.jsx(nn,{name:"filterAllItem",id:"filterAllItem",checked:r,onChange:i,label:e,value:Si,"data-all-filter-item":""})})},p0=e=>e.length===0?null:e.reduce((t,n)=>n!==Si?t+1:t,0),Mt={List:"List__F9sJrbXE",Button:"Button__Ppt5Ra33",Content:"Content__D-UEvEAs",Badge:"Badge__xefDY3-u",ButtonSizeL:"ButtonSizeL__yvvJ9G7Y",ButtonSizeM:"ButtonSizeM__zmqhLawH",ButtonSizeS:"ButtonSizeS__m-PnoliN"},m0={S:"ButtonSizeS",M:"ButtonSizeM",L:"ButtonSizeL"},h0=({variant:e="ghost",size:t="S",fullWidth:n=!1,children:o,type:r="button",iconName:i,className:s,onClick:l})=>{const a=Mr(),c=v.useMemo(()=>p0(a),[a]),u=c?d.jsx("span",{className:G(Mt.Badge,ie.Caption1),children:c}):d.jsx(fe,{name:i||"Filter",width:20,height:20});return d.jsxs(Ye,{variant:e,size:t,fullWidth:n,type:r,onClick:l,className:G(Mt.Button,Mt[m0[t]],s),children:[u,o]})},v0=({children:e,value:t,className:n})=>{const o=Mr(),{onItemChange:r}=xi(),i=v.useMemo(()=>!!o.find(l=>l===t),[o,t]),s=()=>{r(t,o)};return d.jsx("li",{className:n,children:d.jsx(nn,{name:"filterItem",id:`filterItem${t}`,checked:i,onChange:s,label:e,value:t,"data-filter-item":""})})},b0=({className:e,children:t})=>d.jsx("ul",{className:G(Mt.List,e),children:t}),Bt=({value:e,onChange:t,placement:n="bottom-start",children:o})=>{const[r,i]=v.useState(!1),[s,l]=v.useState([]),a=e===void 0,c=e!==void 0?e:s,u=v.useRef([]);v.useEffect(()=>{if(!r)return;const g=requestAnimationFrame(()=>{const h=document.querySelectorAll("[data-filter-item]");u.current=Array.from(h).map(C=>C.value)});return()=>cancelAnimationFrame(g)},[r]);const[f,...m]=v.useMemo(()=>v.Children.toArray(o).filter(g=>v.isValidElement(g)),[o]),p=g=>{i(g)},b=v.useMemo(()=>({onItemChange:(g,h)=>{const y=h.includes(g)?h.filter(I=>I!==g):[...h,g];a&&l(y),t&&t(y)},onAllItemChange:g=>{const h=g.length===0?[...u.current]:[];a&&l(h),t&&t(h)}}),[a,t]);return!f||!o?null:d.jsx(Ii.Provider,{value:b,children:d.jsx(yi.Provider,{value:c,children:d.jsx(vi,{isOpen:r,onChange:p,placement:n,content:d.jsx("div",{className:Mt.Content,children:m}),children:f})})})};Bt.List=b0,Bt.AllItem=g0,Bt.Item=v0,Bt.Button=h0;const _e={InputContainer:"InputContainer__crIfoXhZ",Label:"Label__Kyf0Xq1i",M:"M__SMUZVaRF",S:"S__5l8iHiDH",FullWidth:"FullWidth__krak4Lyg",Input:"Input__4NuyvuVR",InputError:"InputError__2gG55TuU",InputWarning:"InputWarning__s3CQtuE-",ErrorMessage:"ErrorMessage__Fq7yQNvS",WarningMessage:"WarningMessage__h9Ja9fM-",SuccessMessage:"SuccessMessage__9p7eZXYa"},Br=({id:e,error:t,warning:n,success:o,label:r,size:i="M",fullWidth:s=!0,inputClassName:l,className:a,ref:c,...u})=>d.jsxs("div",{className:G(_e.InputContainer,{[_e.FullWidth]:!!s},a),children:[r&&d.jsx("label",{htmlFor:e,className:_e.Label,children:r}),d.jsx("input",{...u,ref:c,id:e,className:G(_e.Input,_e[i],{[_e.InputError]:!!t,[_e.InputWarning]:!!n},l)}),typeof t=="string"&&d.jsx(K,{variant:"caption2",className:_e.ErrorMessage,children:t}),!!n&&d.jsx(K,{variant:"caption2",className:_e.WarningMessage,children:n}),!!o&&d.jsx(K,{variant:"caption2",className:_e.SuccessMessage,children:o})]}),Sn={Link:"Link__CKAoo6PA",Disabled:"Disabled__XqpDDhn2",FullWidth:"FullWidth__U8tkQDPF",L:"L__7vCM3z8d",M:"M__nYk210Fl",S:"S__vyGxJkUe"},C0=({component:e,size:t="M",children:n,disabled:o,className:r,fullWidth:i,href:s,onClick:l,to:a,...c})=>{const u=e||"a";return d.jsx(u,{...c,className:G(Sn.Link,Sn[t],t==="S"?ie.Button2:ie.Button1,{[Sn.FullWidth]:i,[Sn.Disabled]:o},r),...!o&&{href:s,onClick:l,to:a},children:n})},I0={16:"Size16",20:"Size20",24:"Size24",32:"Size32",48:"Size48",80:"Size80"},wn={LoaderContainer:"LoaderContainer__DSxCwTe2",Size16:"Size16__jvOQt1S9",Size20:"Size20__qm9zpvCb",Size24:"Size24__eGyVS7CD",Size32:"Size32__cnwmvMVr",Size48:"Size48__XdO5RwKg",Size80:"Size80__8PGG7ZHG",Svg:"Svg__qN8xnXaF",rotate:"rotate__m92dIjZh",Circle:"Circle__cGfYnGVi",dash:"dash__BLpefrKc"},x0=({size:e,className:t})=>d.jsx("div",{className:G(wn.LoaderContainer,wn[I0[e]],t),children:d.jsx("svg",{className:wn.Svg,viewBox:"25 25 50 50",children:d.jsx("circle",{className:wn.Circle,cx:"50",cy:"50",r:"20",fill:"none",strokeWidth:"4"})})});function wi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function y0(e,t,n){return t=En(t),function(o,r){if(r&&(typeof r=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}(o)}(e,Mi()?Reflect.construct(t,n||[],En(e).constructor):t.apply(e,n))}function S0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w0(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Ai(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(a,c){if(a){if(typeof a=="string")return wi(a,c);var u={}.toString.call(a).slice(8,-1);return u==="Object"&&a.constructor&&(u=a.constructor.name),u==="Map"||u==="Set"?Array.from(a):u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?wi(a,c):void 0}}(e))||t){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(a){throw a},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
29
|
+
*/var V1=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],fr=V1.join(","),Fo=typeof Element>"u",wt=Fo?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Cn=!Fo&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},In=function e(t,n){var o;n===void 0&&(n=!0);var r=t==null||(o=t.getAttribute)===null||o===void 0?void 0:o.call(t,"inert"),i=r===""||r==="true",s=i||n&&t&&e(t.parentNode);return s},D1=function(t){var n,o=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return o===""||o==="true"},j1=function(t,n,o){if(In(t))return[];var r=Array.prototype.slice.apply(t.querySelectorAll(fr));return n&&wt.call(t,fr)&&r.unshift(t),r=r.filter(o),r},k1=function e(t,n,o){for(var r=[],i=Array.from(t);i.length;){var s=i.shift();if(!In(s,!1))if(s.tagName==="SLOT"){var l=s.assignedElements(),a=l.length?l:s.children,c=e(a,!0,o);o.flatten?r.push.apply(r,c):r.push({scopeParent:s,candidates:c})}else{var u=wt.call(s,fr);u&&o.filter(s)&&(n||!t.includes(s))&&r.push(s);var f=s.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(s),m=!In(f,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(s));if(f&&m){var p=e(f===!0?s.children:f.children,!0,o);o.flatten?r.push.apply(r,p):r.push({scopeParent:s,candidates:p})}else i.unshift.apply(i,s.children)}}return r},Go=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},_o=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||D1(t))&&!Go(t)?0:t.tabIndex},W1=function(t,n){var o=_o(t);return o<0&&n&&!Go(t)?0:o},H1=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},No=function(t){return t.tagName==="INPUT"},X1=function(t){return No(t)&&t.type==="hidden"},Z1=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(o){return o.tagName==="SUMMARY"});return n},$1=function(t,n){for(var o=0;o<t.length;o++)if(t[o].checked&&t[o].form===n)return t[o]},Y1=function(t){if(!t.name)return!0;var n=t.form||Cn(t),o=function(l){return n.querySelectorAll('input[type="radio"][name="'+l+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=o(window.CSS.escape(t.name));else try{r=o(t.name)}catch(s){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",s.message),!1}var i=$1(r,t.form);return!i||i===t},z1=function(t){return No(t)&&t.type==="radio"},J1=function(t){return z1(t)&&!Y1(t)},U1=function(t){var n,o=t&&Cn(t),r=(n=o)===null||n===void 0?void 0:n.host,i=!1;if(o&&o!==t){var s,l,a;for(i=!!((s=r)!==null&&s!==void 0&&(l=s.ownerDocument)!==null&&l!==void 0&&l.contains(r)||t!=null&&(a=t.ownerDocument)!==null&&a!==void 0&&a.contains(t));!i&&r;){var c,u,f;o=Cn(r),r=(c=o)===null||c===void 0?void 0:c.host,i=!!((u=r)!==null&&u!==void 0&&(f=u.ownerDocument)!==null&&f!==void 0&&f.contains(r))}}return i},Po=function(t){var n=t.getBoundingClientRect(),o=n.width,r=n.height;return o===0&&r===0},Q1=function(t,n){var o=n.displayCheck,r=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var i=wt.call(t,"details>summary:first-of-type"),s=i?t.parentElement:t;if(wt.call(s,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="legacy-full"){if(typeof r=="function"){for(var l=t;t;){var a=t.parentElement,c=Cn(t);if(a&&!a.shadowRoot&&r(a)===!0)return Po(t);t.assignedSlot?t=t.assignedSlot:!a&&c!==t.ownerDocument?t=c.host:t=a}t=l}if(U1(t))return!t.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return Po(t);return!1},K1=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var o=0;o<n.children.length;o++){var r=n.children.item(o);if(r.tagName==="LEGEND")return wt.call(n,"fieldset[disabled] *")?!0:!r.contains(t)}return!0}n=n.parentElement}return!1},q1=function(t,n){return!(n.disabled||In(n)||X1(n)||Q1(n,t)||Z1(n)||K1(n))},Vo=function(t,n){return!(J1(n)||_o(n)<0||!q1(t,n))},ed=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},td=function e(t){var n=[],o=[];return t.forEach(function(r,i){var s=!!r.scopeParent,l=s?r.scopeParent:r,a=W1(l,s),c=s?e(r.candidates):l;a===0?s?n.push.apply(n,c):n.push(l):o.push({documentOrder:i,tabIndex:a,item:r,isScope:s,content:c})}),o.sort(H1).reduce(function(r,i){return i.isScope?r.push.apply(r,i.content):r.push(i.content),r},[]).concat(n)},gr=function(t,n){n=n||{};var o;return n.getShadowRoot?o=k1([t],n.includeContainer,{filter:Vo.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:ed}):o=j1(t,n.includeContainer,Vo.bind(null,n)),td(o)};function nd(){return/apple/i.test(navigator.vendor)}const Do="data-floating-ui-focusable",rd="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function od(e){let t=e.activeElement;for(;((n=t)==null||(n=n.shadowRoot)==null?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function pr(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&lr(n)){let o=t;for(;o;){if(e===o)return!0;o=o.parentNode||o.host}}return!1}function At(e){return"composedPath"in e?e.composedPath()[0]:e.target}function mr(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function id(e){return e.matches("html,body")}function Et(e){return e?.ownerDocument||document}function sd(e){return xe(e)&&e.matches(rd)}function ad(e){return e?e.hasAttribute(Do)?e:e.querySelector("["+Do+"]")||e:null}function hr(e,t){let n=e.filter(r=>{var i;return r.parentId===t&&((i=r.context)==null?void 0:i.open)}),o=n;for(;o.length;)o=e.filter(r=>{var i;return(i=o)==null?void 0:i.some(s=>{var l;return r.parentId===s.id&&((l=r.context)==null?void 0:l.open)})}),n=n.concat(o);return n}function ld(e){return"nativeEvent"in e}function jo(e,t){return["mouse","pen"].includes(e)}var cd=typeof document<"u",ud=function(){},et=cd?v.useLayoutEffect:ud;const dd={...E}.useInsertionEffect||(e=>e());function st(e){const t=E.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return dd(()=>{t.current=e}),E.useCallback(function(){for(var n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return t.current==null?void 0:t.current(...o)},[])}const ko=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function Wo(e,t){const n=gr(e,ko()),o=n.length;if(o===0)return;const r=od(Et(e)),i=n.indexOf(r),s=i===-1?t===1?0:o-1:i+t;return n[s]}function fd(e){return Wo(Et(e).body,1)||e}function gd(e){return Wo(Et(e).body,-1)||e}function vr(e,t){const n=t||e.currentTarget,o=e.relatedTarget;return!o||!pr(n,o)}function pd(e){gr(e,ko()).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function Ho(e){e.querySelectorAll("[data-tabindex]").forEach(n=>{const o=n.dataset.tabindex;delete n.dataset.tabindex,o?n.setAttribute("tabindex",o):n.removeAttribute("tabindex")})}function Xo(e,t,n){let{reference:o,floating:r}=e;const i=Ue(t),s=Oo(t),l=Lo(s),a=qe(t),c=i==="y",u=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,m=o[l]/2-r[l]/2;let p;switch(a){case"top":p={x:u,y:o.y-r.height};break;case"bottom":p={x:u,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:f};break;case"left":p={x:o.x-r.width,y:f};break;default:p={x:o.x,y:o.y}}switch(hn(t)){case"start":p[s]-=m*(n&&c?-1:1);break;case"end":p[s]+=m*(n&&c?-1:1);break}return p}const md=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:f}=Xo(c,o,a),m=o,p={},b=0;for(let g=0;g<l.length;g++){const{name:h,fn:C}=l[g],{x:y,y:I,data:S,reset:x}=await C({x:u,y:f,initialPlacement:o,placement:m,strategy:r,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});u=y??u,f=I??f,p={...p,[h]:{...p[h],...S}},x&&b<=50&&(b++,typeof x=="object"&&(x.placement&&(m=x.placement),x.rects&&(c=x.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:r}):x.rects),{x:u,y:f}=Xo(c,m,a)),g=-1)}return{x:u,y:f,placement:m,strategy:r,middlewareData:p}};async function Zo(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:i,rects:s,elements:l,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:m=!1,padding:p=0}=mn(t,e),b=P1(p),h=l[m?f==="floating"?"reference":"floating":f],C=bn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(h)))==null||n?h:h.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),y=f==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,I=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),S=await(i.isElement==null?void 0:i.isElement(I))?await(i.getScale==null?void 0:i.getScale(I))||{x:1,y:1}:{x:1,y:1},x=bn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:I,strategy:a}):y);return{top:(C.top-x.top+b.top)/S.y,bottom:(x.bottom-C.bottom+b.bottom)/S.y,left:(C.left-x.left+b.left)/S.x,right:(x.right-C.right+b.right)/S.x}}const hd=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:l,platform:a,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:g=!0,...h}=mn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const C=qe(r),y=Ue(l),I=qe(l)===l,S=await(a.isRTL==null?void 0:a.isRTL(c.floating)),x=m||(I||!g?[vn(l)]:F1(l)),M=b!=="none";!m&&M&&x.push(..._1(l,g,b,S));const A=[l,...x],L=await Zo(t,h),_=[];let N=((o=i.flip)==null?void 0:o.overflows)||[];if(u&&_.push(L[C]),f){const k=O1(r,s,S);_.push(L[k[0]],L[k[1]])}if(N=[...N,{placement:r,overflows:_}],!_.every(k=>k<=0)){var Z,H;const k=(((Z=i.flip)==null?void 0:Z.index)||0)+1,F=A[k];if(F&&(!(f==="alignment"?y!==Ue(F):!1)||N.every(T=>T.overflows[0]>0&&Ue(T.placement)===y)))return{data:{index:k,overflows:N},reset:{placement:F}};let B=(H=N.filter(P=>P.overflows[0]<=0).sort((P,T)=>P.overflows[1]-T.overflows[1])[0])==null?void 0:H.placement;if(!B)switch(p){case"bestFit":{var X;const P=(X=N.filter(T=>{if(M){const R=Ue(T.placement);return R===y||R==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(R=>R>0).reduce((R,V)=>R+V,0)]).sort((T,R)=>T[1]-R[1])[0])==null?void 0:X[0];P&&(B=P);break}case"initialPlacement":B=l;break}if(r!==B)return{reset:{placement:B}}}return{}}}};async function vd(e,t){const{placement:n,platform:o,elements:r}=e,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=qe(n),l=hn(n),a=Ue(n)==="y",c=["left","top"].includes(s)?-1:1,u=i&&a?-1:1,f=mn(t,e);let{mainAxis:m,crossAxis:p,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof b=="number"&&(p=l==="end"?b*-1:b),a?{x:p*u,y:m*c}:{x:m*c,y:p*u}}const bd=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:i,placement:s,middlewareData:l}=t,a=await vd(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:r+a.x,y:i+a.y,data:{...a,placement:s}}}}},Cd=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:h=>{let{x:C,y}=h;return{x:C,y}}},...a}=mn(e,t),c={x:n,y:o},u=await Zo(t,a),f=Ue(qe(r)),m=Ro(f);let p=c[m],b=c[f];if(i){const h=m==="y"?"top":"left",C=m==="y"?"bottom":"right",y=p+u[h],I=p-u[C];p=To(y,p,I)}if(s){const h=f==="y"?"top":"left",C=f==="y"?"bottom":"right",y=b+u[h],I=b-u[C];b=To(y,b,I)}const g=l.fn({...t,[m]:p,[f]:b});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[m]:i,[f]:s}}}}}};function $o(e){const t=Me(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=xe(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,l=gn(n)!==i||gn(o)!==s;return l&&(n=i,o=s),{width:n,height:o,$:l}}function br(e){return ae(e)?e:e.contextElement}function at(e){const t=br(e);if(!xe(t))return Ge(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=$o(t);let s=(i?gn(n.width):n.width)/o,l=(i?gn(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Id=Ge(0);function Yo(e){const t=Ae(e);return!un()||!t.visualViewport?Id:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function xd(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ae(e)?!1:t}function tt(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=br(e);let s=Ge(1);t&&(o?ae(o)&&(s=at(o)):s=at(e));const l=xd(i,n,o)?Yo(i):Ge(0);let a=(r.left+l.x)/s.x,c=(r.top+l.y)/s.y,u=r.width/s.x,f=r.height/s.y;if(i){const m=Ae(i),p=o&&ae(o)?Ae(o):o;let b=m,g=ur(b);for(;g&&o&&p!==b;){const h=at(g),C=g.getBoundingClientRect(),y=Me(g),I=C.left+(g.clientLeft+parseFloat(y.paddingLeft))*h.x,S=C.top+(g.clientTop+parseFloat(y.paddingTop))*h.y;a*=h.x,c*=h.y,u*=h.x,f*=h.y,a+=I,c+=S,b=Ae(g),g=ur(b)}}return bn({width:u,height:f,x:a,y:c})}function Cr(e,t){const n=dn(e).scrollLeft;return t?t.left+n:tt(Fe(e)).left+n}function zo(e,t,n){n===void 0&&(n=!1);const o=e.getBoundingClientRect(),r=o.left+t.scrollLeft-(n?0:Cr(e,o)),i=o.top+t.scrollTop;return{x:r,y:i}}function yd(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const i=r==="fixed",s=Fe(o),l=t?cn(t.floating):!1;if(o===s||l&&i)return n;let a={scrollLeft:0,scrollTop:0},c=Ge(1);const u=Ge(0),f=xe(o);if((f||!f&&!i)&&((it(o)!=="body"||St(s))&&(a=dn(o)),xe(o))){const p=tt(o);c=at(o),u.x=p.x+o.clientLeft,u.y=p.y+o.clientTop}const m=s&&!f&&!i?zo(s,a,!0):Ge(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+u.x+m.x,y:n.y*c.y-a.scrollTop*c.y+u.y+m.y}}function Sd(e){return Array.from(e.getClientRects())}function wd(e){const t=Fe(e),n=dn(e),o=e.ownerDocument.body,r=Ke(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=Ke(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Cr(e);const l=-n.scrollTop;return Me(o).direction==="rtl"&&(s+=Ke(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:l}}function Ad(e,t){const n=Ae(e),o=Fe(e),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,l=0,a=0;if(r){i=r.width,s=r.height;const c=un();(!c||c&&t==="fixed")&&(l=r.offsetLeft,a=r.offsetTop)}return{width:i,height:s,x:l,y:a}}function Ed(e,t){const n=tt(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=xe(e)?at(e):Ge(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,a=r*i.x,c=o*i.y;return{width:s,height:l,x:a,y:c}}function Jo(e,t,n){let o;if(t==="viewport")o=Ad(e,n);else if(t==="document")o=wd(Fe(e));else if(ae(t))o=Ed(t,n);else{const r=Yo(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return bn(o)}function Uo(e,t){const n=He(e);return n===t||!ae(n)||We(n)?!1:Me(n).position==="fixed"||Uo(n,t)}function Md(e,t){const n=t.get(e);if(n)return n;let o=Je(e,[],!1).filter(l=>ae(l)&&it(l)!=="body"),r=null;const i=Me(e).position==="fixed";let s=i?He(e):e;for(;ae(s)&&!We(s);){const l=Me(s),a=cr(s);!a&&l.position==="fixed"&&(r=null),(i?!a&&!r:!a&&l.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||St(s)&&!a&&Uo(e,s))?o=o.filter(u=>u!==s):r=l,s=He(s)}return t.set(e,o),o}function Bd(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const s=[...n==="clippingAncestors"?cn(t)?[]:Md(t,this._c):[].concat(n),o],l=s[0],a=s.reduce((c,u)=>{const f=Jo(t,u,r);return c.top=Ke(f.top,c.top),c.right=fn(f.right,c.right),c.bottom=fn(f.bottom,c.bottom),c.left=Ke(f.left,c.left),c},Jo(t,l,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Td(e){const{width:t,height:n}=$o(e);return{width:t,height:n}}function Rd(e,t,n){const o=xe(t),r=Fe(t),i=n==="fixed",s=tt(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const a=Ge(0);function c(){a.x=Cr(r)}if(o||!o&&!i)if((it(t)!=="body"||St(r))&&(l=dn(t)),o){const p=tt(t,!0,i,t);a.x=p.x+t.clientLeft,a.y=p.y+t.clientTop}else r&&c();i&&!o&&r&&c();const u=r&&!o&&!i?zo(r,l):Ge(0),f=s.left+l.scrollLeft-a.x-u.x,m=s.top+l.scrollTop-a.y-u.y;return{x:f,y:m,width:s.width,height:s.height}}function Ir(e){return Me(e).position==="static"}function Qo(e,t){if(!xe(e)||Me(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Fe(e)===n&&(n=n.ownerDocument.body),n}function Ko(e,t){const n=Ae(e);if(cn(e))return n;if(!xe(e)){let r=He(e);for(;r&&!We(r);){if(ae(r)&&!Ir(r))return r;r=He(r)}return n}let o=Qo(e,t);for(;o&&B1(o)&&Ir(o);)o=Qo(o,t);return o&&We(o)&&Ir(o)&&!cr(o)?n:o||T1(e)||n}const Ld=async function(e){const t=this.getOffsetParent||Ko,n=this.getDimensions,o=await n(e.floating);return{reference:Rd(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Od(e){return Me(e).direction==="rtl"}const Fd={convertOffsetParentRelativeRectToViewportRelativeRect:yd,getDocumentElement:Fe,getClippingRect:Bd,getOffsetParent:Ko,getElementRects:Ld,getClientRects:Sd,getDimensions:Td,getScale:at,isElement:ae,isRTL:Od};function qo(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Gd(e,t){let n=null,o;const r=Fe(e);function i(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),i();const c=e.getBoundingClientRect(),{left:u,top:f,width:m,height:p}=c;if(l||t(),!m||!p)return;const b=pn(f),g=pn(r.clientWidth-(u+m)),h=pn(r.clientHeight-(f+p)),C=pn(u),I={rootMargin:-b+"px "+-g+"px "+-h+"px "+-C+"px",threshold:Ke(0,fn(1,a))||1};let S=!0;function x(M){const A=M[0].intersectionRatio;if(A!==a){if(!S)return s();A?s(!1,A):o=setTimeout(()=>{s(!1,1e-7)},1e3)}A===1&&!qo(c,e.getBoundingClientRect())&&s(),S=!1}try{n=new IntersectionObserver(x,{...I,root:r.ownerDocument})}catch{n=new IntersectionObserver(x,I)}n.observe(e)}return s(!0),i}function ei(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=o,c=br(e),u=r||i?[...c?Je(c):[],...Je(t)]:[];u.forEach(C=>{r&&C.addEventListener("scroll",n,{passive:!0}),i&&C.addEventListener("resize",n)});const f=c&&l?Gd(c,n):null;let m=-1,p=null;s&&(p=new ResizeObserver(C=>{let[y]=C;y&&y.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var I;(I=p)==null||I.observe(t)})),n()}),c&&!a&&p.observe(c),p.observe(t));let b,g=a?tt(e):null;a&&h();function h(){const C=tt(e);g&&!qo(g,C)&&n(),g=C,b=requestAnimationFrame(h)}return n(),()=>{var C;u.forEach(y=>{r&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),f?.(),(C=p)==null||C.disconnect(),p=null,a&&cancelAnimationFrame(b)}}const _d=bd,Nd=Cd,Pd=hd,Vd=(e,t,n)=>{const o=new Map,r={platform:Fd,...n},i={...r.platform,_c:o};return md(e,t,{...r,platform:i})};var Dd=typeof document<"u",jd=function(){},xn=Dd?v.useLayoutEffect:jd;function yn(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,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(!yn(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const i=r[o];if(!(i==="_owner"&&e.$$typeof)&&!yn(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function ti(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ni(e,t){const n=ti(e);return Math.round(t*n)/n}function xr(e){const t=E.useRef(e);return xn(()=>{t.current=e}),t}function kd(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:i,floating:s}={},transform:l=!0,whileElementsMounted:a,open:c}=e,[u,f]=E.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,p]=E.useState(o);yn(m,o)||p(o);const[b,g]=E.useState(null),[h,C]=E.useState(null),y=E.useCallback(T=>{T!==M.current&&(M.current=T,g(T))},[]),I=E.useCallback(T=>{T!==A.current&&(A.current=T,C(T))},[]),S=i||b,x=s||h,M=E.useRef(null),A=E.useRef(null),L=E.useRef(u),_=a!=null,N=xr(a),Z=xr(r),H=xr(c),X=E.useCallback(()=>{if(!M.current||!A.current)return;const T={placement:t,strategy:n,middleware:m};Z.current&&(T.platform=Z.current),Vd(M.current,A.current,T).then(R=>{const V={...R,isPositioned:H.current!==!1};k.current&&!yn(L.current,V)&&(L.current=V,vo.flushSync(()=>{f(V)}))})},[m,t,n,Z,H]);xn(()=>{c===!1&&L.current.isPositioned&&(L.current.isPositioned=!1,f(T=>({...T,isPositioned:!1})))},[c]);const k=E.useRef(!1);xn(()=>(k.current=!0,()=>{k.current=!1}),[]),xn(()=>{if(S&&(M.current=S),x&&(A.current=x),S&&x){if(N.current)return N.current(S,x,X);X()}},[S,x,X,N,_]);const F=E.useMemo(()=>({reference:M,floating:A,setReference:y,setFloating:I}),[y,I]),B=E.useMemo(()=>({reference:S,floating:x}),[S,x]),P=E.useMemo(()=>{const T={position:n,left:0,top:0};if(!B.floating)return T;const R=ni(B.floating,u.x),V=ni(B.floating,u.y);return l?{...T,transform:"translate("+R+"px, "+V+"px)",...ti(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:V}},[n,l,B.floating,u.x,u.y]);return E.useMemo(()=>({...u,update:X,refs:F,elements:B,floatingStyles:P}),[u,X,F,B,P])}const Wd=(e,t)=>({..._d(e),options:[e,t]}),Hd=(e,t)=>({...Nd(e),options:[e,t]}),Xd=(e,t)=>({...Pd(e),options:[e,t]}),Zd="data-floating-ui-focusable",ri="active",oi="selected",$d={...E};let ii=!1,Yd=0;const si=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Yd++;function zd(){const[e,t]=E.useState(()=>ii?si():void 0);return et(()=>{e==null&&t(si())},[]),E.useEffect(()=>{ii=!0},[]),e}const yr=$d.useId||zd;let Sr;process.env.NODE_ENV!=="production"&&(Sr=new Set);function Jd(){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];const r="Floating UI: "+n.join(" ");if(!((e=Sr)!=null&&e.has(r))){var i;(i=Sr)==null||i.add(r),console.error(r)}}function Ud(){const e=new Map;return{emit(t,n){var o;(o=e.get(t))==null||o.forEach(r=>r(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var o;(o=e.get(t))==null||o.delete(n)}}}const Qd=E.createContext(null),Kd=E.createContext(null),ai=()=>{var e;return((e=E.useContext(Qd))==null?void 0:e.id)||null},li=()=>E.useContext(Kd);function wr(e){return"data-floating-ui-"+e}function qd(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const ci={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0},ui=E.forwardRef(function(t,n){const[o,r]=E.useState();et(()=>{nd()&&r("button")},[]);const i={ref:n,tabIndex:0,role:o,"aria-hidden":o?void 0:!0,[wr("focus-guard")]:"",style:ci};return d.jsx("span",{...t,...i})}),di=E.createContext(null),fi=wr("portal");function e0(e){e===void 0&&(e={});const{id:t,root:n}=e,o=yr(),r=n0(),[i,s]=E.useState(null),l=E.useRef(null);return et(()=>()=>{i?.remove(),queueMicrotask(()=>{l.current=null})},[i]),et(()=>{if(!o||l.current)return;const a=t?document.getElementById(t):null;if(!a)return;const c=document.createElement("div");c.id=o,c.setAttribute(fi,""),a.appendChild(c),l.current=c,s(c)},[t,o]),et(()=>{if(n===null||!o||l.current)return;let a=n||r?.portalNode;a&&!ae(a)&&(a=a.current),a=a||document.body;let c=null;t&&(c=document.createElement("div"),c.id=t,a.appendChild(c));const u=document.createElement("div");u.id=o,u.setAttribute(fi,""),a=c||a,a.appendChild(u),l.current=u,s(u)},[t,n,o,r]),i}function t0(e){const{children:t,id:n,root:o,preserveTabOrder:r=!0}=e,i=e0({id:n,root:o}),[s,l]=E.useState(null),a=E.useRef(null),c=E.useRef(null),u=E.useRef(null),f=E.useRef(null),m=s?.modal,p=s?.open,b=!!s&&!s.modal&&s.open&&r&&!!(o||i);return E.useEffect(()=>{if(!i||!r||m)return;function g(h){i&&vr(h)&&(h.type==="focusin"?Ho:pd)(i)}return i.addEventListener("focusin",g,!0),i.addEventListener("focusout",g,!0),()=>{i.removeEventListener("focusin",g,!0),i.removeEventListener("focusout",g,!0)}},[i,r,m]),E.useEffect(()=>{i&&(p||Ho(i))},[p,i]),d.jsxs(di.Provider,{value:E.useMemo(()=>({preserveTabOrder:r,beforeOutsideRef:a,afterOutsideRef:c,beforeInsideRef:u,afterInsideRef:f,portalNode:i,setFocusManagerState:l}),[r,i]),children:[b&&i&&d.jsx(ui,{"data-type":"outside",ref:a,onFocus:g=>{if(vr(g,i)){var h;(h=u.current)==null||h.focus()}else{const C=s?s.domReference:null,y=gd(C);y?.focus()}}}),b&&i&&d.jsx("span",{"aria-owns":i.id,style:ci}),i&&vo.createPortal(t,i),b&&i&&d.jsx(ui,{"data-type":"outside",ref:c,onFocus:g=>{if(vr(g,i)){var h;(h=f.current)==null||h.focus()}else{const C=s?s.domReference:null,y=fd(C);y?.focus(),s?.closeOnFocusOut&&s?.onOpenChange(!1,g.nativeEvent,"focus-out")}}})]})}const n0=()=>E.useContext(di);function gi(e){return xe(e.target)&&e.target.tagName==="BUTTON"}function r0(e){return xe(e.target)&&e.target.tagName==="A"}function pi(e){return sd(e)}function o0(e,t){t===void 0&&(t={});const{open:n,onOpenChange:o,dataRef:r,elements:{domReference:i}}=e,{enabled:s=!0,event:l="click",toggle:a=!0,ignoreMouse:c=!1,keyboardHandlers:u=!0,stickIfOpen:f=!0}=t,m=E.useRef(),p=E.useRef(!1),b=E.useMemo(()=>({onPointerDown(g){m.current=g.pointerType},onMouseDown(g){const h=m.current;g.button===0&&l!=="click"&&(jo(h)&&c||(n&&a&&(!(r.current.openEvent&&f)||r.current.openEvent.type==="mousedown")?o(!1,g.nativeEvent,"click"):(g.preventDefault(),o(!0,g.nativeEvent,"click"))))},onClick(g){const h=m.current;if(l==="mousedown"&&m.current){m.current=void 0;return}jo(h)&&c||(n&&a&&(!(r.current.openEvent&&f)||r.current.openEvent.type==="click")?o(!1,g.nativeEvent,"click"):o(!0,g.nativeEvent,"click"))},onKeyDown(g){m.current=void 0,!(g.defaultPrevented||!u||gi(g))&&(g.key===" "&&!pi(i)&&(g.preventDefault(),p.current=!0),!r0(g)&&g.key==="Enter"&&o(!(n&&a),g.nativeEvent,"click"))},onKeyUp(g){g.defaultPrevented||!u||gi(g)||pi(i)||g.key===" "&&p.current&&(p.current=!1,o(!(n&&a),g.nativeEvent,"click"))}}),[r,i,l,c,u,o,n,f,a]);return E.useMemo(()=>s?{reference:b}:{},[s,b])}const i0={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},s0={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},mi=e=>{var t,n;return{escapeKey:typeof e=="boolean"?e:(t=e?.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(n=e?.outsidePress)!=null?n:!0}};function a0(e,t){t===void 0&&(t={});const{open:n,onOpenChange:o,elements:r,dataRef:i}=e,{enabled:s=!0,escapeKey:l=!0,outsidePress:a=!0,outsidePressEvent:c="pointerdown",referencePress:u=!1,referencePressEvent:f="pointerdown",ancestorScroll:m=!1,bubbles:p,capture:b}=t,g=li(),h=st(typeof a=="function"?a:()=>!1),C=typeof a=="function"?h:a,y=E.useRef(!1),{escapeKey:I,outsidePress:S}=mi(p),{escapeKey:x,outsidePress:M}=mi(b),A=E.useRef(!1),L=E.useRef(-1),_=st(F=>{var B;if(!n||!s||!l||F.key!=="Escape"||A.current)return;const P=(B=i.current.floatingContext)==null?void 0:B.nodeId,T=g?hr(g.nodesRef.current,P):[];if(!I&&(F.stopPropagation(),T.length>0)){let R=!0;if(T.forEach(V=>{var w;if((w=V.context)!=null&&w.open&&!V.context.dataRef.current.__escapeKeyBubbles){R=!1;return}}),!R)return}o(!1,ld(F)?F.nativeEvent:F,"escape-key")}),N=st(F=>{var B;const P=()=>{var T;_(F),(T=At(F))==null||T.removeEventListener("keydown",P)};(B=At(F))==null||B.addEventListener("keydown",P)}),Z=st(F=>{var B;const P=i.current.insideReactTree;i.current.insideReactTree=!1;const T=y.current;if(y.current=!1,c==="click"&&T||P||typeof C=="function"&&!C(F))return;const R=At(F),V="["+wr("inert")+"]",w=Et(r.floating).querySelectorAll(V);let O=ae(R)?R:null;for(;O&&!We(O);){const ee=He(O);if(We(ee)||!ae(ee))break;O=ee}if(w.length&&ae(R)&&!id(R)&&!pr(R,r.floating)&&Array.from(w).every(ee=>!pr(O,ee)))return;if(xe(R)&&k){const ee=We(R),Y=Me(R),Q=/auto|scroll/,se=ee||Q.test(Y.overflowX),Ie=ee||Q.test(Y.overflowY),we=se&&R.clientWidth>0&&R.scrollWidth>R.clientWidth,j=Ie&&R.clientHeight>0&&R.scrollHeight>R.clientHeight,ke=Y.direction==="rtl",Be=j&&(ke?F.offsetX<=R.offsetWidth-R.clientWidth:F.offsetX>R.clientWidth),$e=we&&F.offsetY>R.clientHeight;if(Be||$e)return}const W=(B=i.current.floatingContext)==null?void 0:B.nodeId,D=g&&hr(g.nodesRef.current,W).some(ee=>{var Y;return mr(F,(Y=ee.context)==null?void 0:Y.elements.floating)});if(mr(F,r.floating)||mr(F,r.domReference)||D)return;const q=g?hr(g.nodesRef.current,W):[];if(q.length>0){let ee=!0;if(q.forEach(Y=>{var Q;if((Q=Y.context)!=null&&Q.open&&!Y.context.dataRef.current.__outsidePressBubbles){ee=!1;return}}),!ee)return}o(!1,F,"outside-press")}),H=st(F=>{var B;const P=()=>{var T;Z(F),(T=At(F))==null||T.removeEventListener(c,P)};(B=At(F))==null||B.addEventListener(c,P)});E.useEffect(()=>{if(!n||!s)return;i.current.__escapeKeyBubbles=I,i.current.__outsidePressBubbles=S;let F=-1;function B(w){o(!1,w,"ancestor-scroll")}function P(){window.clearTimeout(F),A.current=!0}function T(){F=window.setTimeout(()=>{A.current=!1},un()?5:0)}const R=Et(r.floating);l&&(R.addEventListener("keydown",x?N:_,x),R.addEventListener("compositionstart",P),R.addEventListener("compositionend",T)),C&&R.addEventListener(c,M?H:Z,M);let V=[];return m&&(ae(r.domReference)&&(V=Je(r.domReference)),ae(r.floating)&&(V=V.concat(Je(r.floating))),!ae(r.reference)&&r.reference&&r.reference.contextElement&&(V=V.concat(Je(r.reference.contextElement)))),V=V.filter(w=>{var O;return w!==((O=R.defaultView)==null?void 0:O.visualViewport)}),V.forEach(w=>{w.addEventListener("scroll",B,{passive:!0})}),()=>{l&&(R.removeEventListener("keydown",x?N:_,x),R.removeEventListener("compositionstart",P),R.removeEventListener("compositionend",T)),C&&R.removeEventListener(c,M?H:Z,M),V.forEach(w=>{w.removeEventListener("scroll",B)}),window.clearTimeout(F)}},[i,r,l,C,c,n,o,m,s,I,S,_,x,N,Z,M,H]),E.useEffect(()=>{i.current.insideReactTree=!1},[i,C,c]);const X=E.useMemo(()=>({onKeyDown:_,...u&&{[i0[f]]:F=>{o(!1,F.nativeEvent,"reference-press")},...f!=="click"&&{onClick(F){o(!1,F.nativeEvent,"reference-press")}}}}),[_,o,u,f]),k=E.useMemo(()=>({onKeyDown:_,onMouseDown(){y.current=!0},onMouseUp(){y.current=!0},[s0[c]]:()=>{i.current.insideReactTree=!0},onBlurCapture(){g||(qd(L),i.current.insideReactTree=!0,L.current=window.setTimeout(()=>{i.current.insideReactTree=!1}))}}),[_,c,i,g]);return E.useMemo(()=>s?{reference:X,floating:k}:{},[s,X,k])}function l0(e){const{open:t=!1,onOpenChange:n,elements:o}=e,r=yr(),i=E.useRef({}),[s]=E.useState(()=>Ud()),l=ai()!=null;if(process.env.NODE_ENV!=="production"){const p=o.reference;p&&!ae(p)&&Jd("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[a,c]=E.useState(o.reference),u=st((p,b,g)=>{i.current.openEvent=p?b:void 0,s.emit("openchange",{open:p,event:b,reason:g,nested:l}),n?.(p,b,g)}),f=E.useMemo(()=>({setPositionReference:c}),[]),m=E.useMemo(()=>({reference:a||o.reference||null,floating:o.floating||null,domReference:o.reference}),[a,o.reference,o.floating]);return E.useMemo(()=>({dataRef:i,open:t,onOpenChange:u,elements:m,events:s,floatingId:r,refs:f}),[t,u,m,s,r,f])}function c0(e){e===void 0&&(e={});const{nodeId:t}=e,n=l0({...e,elements:{reference:null,floating:null,...e.elements}}),o=e.rootContext||n,r=o.elements,[i,s]=E.useState(null),[l,a]=E.useState(null),u=r?.domReference||i,f=E.useRef(null),m=li();et(()=>{u&&(f.current=u)},[u]);const p=kd({...e,elements:{...r,...l&&{reference:l}}}),b=E.useCallback(I=>{const S=ae(I)?{getBoundingClientRect:()=>I.getBoundingClientRect(),getClientRects:()=>I.getClientRects(),contextElement:I}:I;a(S),p.refs.setReference(S)},[p.refs]),g=E.useCallback(I=>{(ae(I)||I===null)&&(f.current=I,s(I)),(ae(p.refs.reference.current)||p.refs.reference.current===null||I!==null&&!ae(I))&&p.refs.setReference(I)},[p.refs]),h=E.useMemo(()=>({...p.refs,setReference:g,setPositionReference:b,domReference:f}),[p.refs,g,b]),C=E.useMemo(()=>({...p.elements,domReference:u}),[p.elements,u]),y=E.useMemo(()=>({...p,...o,refs:h,elements:C,nodeId:t}),[p,h,C,t,o]);return et(()=>{o.dataRef.current.floatingContext=y;const I=m?.nodesRef.current.find(S=>S.id===t);I&&(I.context=y)}),E.useMemo(()=>({...p,context:y,refs:h,elements:C}),[p,h,C,y])}function Ar(e,t,n){const o=new Map,r=n==="item";let i=e;if(r&&e){const{[ri]:s,[oi]:l,...a}=e;i=a}return{...n==="floating"&&{tabIndex:-1,[Zd]:""},...i,...t.map(s=>{const l=s?s[n]:null;return typeof l=="function"?e?l(e):null:l}).concat(e).reduce((s,l)=>(l&&Object.entries(l).forEach(a=>{let[c,u]=a;if(!(r&&[ri,oi].includes(c)))if(c.indexOf("on")===0){if(o.has(c)||o.set(c,[]),typeof u=="function"){var f;(f=o.get(c))==null||f.push(u),s[c]=function(){for(var m,p=arguments.length,b=new Array(p),g=0;g<p;g++)b[g]=arguments[g];return(m=o.get(c))==null?void 0:m.map(h=>h(...b)).find(h=>h!==void 0)}}}else s[c]=u}),s),{})}}function u0(e){e===void 0&&(e=[]);const t=e.map(l=>l?.reference),n=e.map(l=>l?.floating),o=e.map(l=>l?.item),r=E.useCallback(l=>Ar(l,e,"reference"),t),i=E.useCallback(l=>Ar(l,e,"floating"),n),s=E.useCallback(l=>Ar(l,e,"item"),o);return E.useMemo(()=>({getReferenceProps:r,getFloatingProps:i,getItemProps:s}),[r,i,s])}const d0=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function f0(e,t){var n,o;t===void 0&&(t={});const{open:r,elements:i,floatingId:s}=e,{enabled:l=!0,role:a="dialog"}=t,c=yr(),u=((n=i.domReference)==null?void 0:n.id)||c,f=E.useMemo(()=>{var y;return((y=ad(i.floating))==null?void 0:y.id)||s},[i.floating,s]),m=(o=d0.get(a))!=null?o:a,b=ai()!=null,g=E.useMemo(()=>m==="tooltip"||a==="label"?{["aria-"+(a==="label"?"labelledby":"describedby")]:r?f:void 0}:{"aria-expanded":r?"true":"false","aria-haspopup":m==="alertdialog"?"dialog":m,"aria-controls":r?f:void 0,...m==="listbox"&&{role:"combobox"},...m==="menu"&&{id:u},...m==="menu"&&b&&{role:"menuitem"},...a==="select"&&{"aria-autocomplete":"none"},...a==="combobox"&&{"aria-autocomplete":"list"}},[m,f,b,r,u,a]),h=E.useMemo(()=>{const y={id:f,...m&&{role:m}};return m==="tooltip"||a==="label"?y:{...y,...m==="menu"&&{"aria-labelledby":u}}},[m,f,u,a]),C=E.useCallback(y=>{let{active:I,selected:S}=y;const x={role:"option",...I&&{id:f+"-fui-option"}};switch(a){case"select":return{...x,"aria-selected":I&&S};case"combobox":return{...x,"aria-selected":S}}return{}},[f,a]);return E.useMemo(()=>l?{reference:g,floating:h,item:C}:{},[l,g,h,C])}const hi={Trigger:"Trigger__qLBhmuc6",Content:"Content__JrjMmnQL"},vi=({isOpen:e,onChange:t,content:n,children:o,placement:r="bottom-start",closeOnTriggerClick:i=!0,triggerClassName:s,contentClassName:l})=>{const{refs:a,floatingStyles:c,context:u}=c0({open:e,onOpenChange:t,middleware:[Wd(4),Xd(),Hd()],placement:r,whileElementsMounted:ei}),f=o0(u,{toggle:i}),m=a0(u,{escapeKey:!0,outsidePress(h){return h.preventDefault(),h.stopPropagation(),!0}}),p=f0(u,{role:"dialog"}),{getReferenceProps:b,getFloatingProps:g}=u0([f,m,p]);return d.jsxs(d.Fragment,{children:[d.jsx("div",{ref:a.setReference,...b(),className:G(hi.Trigger,ie.Text1,s),children:o}),e&&d.jsx(t0,{children:d.jsx("div",{ref:a.setFloating,style:c,...g(),className:G(hi.Content,ie.Text1,l),onClick:h=>{h.stopPropagation()},onMouseDown:h=>{h.stopPropagation()},children:n})})]})},Er={Container:"Container__sgJphdMk",IconContainer:"IconContainer__zAFVbLM6",TextContainer:"TextContainer__zv48g-Ec"},bi=({iconName:e,title:t,subtitle:n,buttonTitle:o,onButtonClick:r,className:i})=>d.jsxs("div",{className:G(Er.Container,i),children:[e&&d.jsx("div",{className:Er.IconContainer,children:d.jsx(fe,{name:e,width:20,height:20})}),d.jsxs("div",{className:Er.TextContainer,children:[d.jsx(K,{variant:"h3",component:"p",children:t}),n&&d.jsx(K,{variant:"h5",component:"p",children:n})]}),o&&d.jsx(Ye,{variant:"primary",size:"M",onClick:r,children:o})]}),Ci=()=>{},Ii=v.createContext({onItemChange:Ci,onAllItemChange:Ci}),xi=()=>v.useContext(Ii),yi=v.createContext([]),Mr=()=>v.useContext(yi),Si="ALL",g0=({children:e,className:t})=>{const n=Mr(),{onAllItemChange:o}=xi(),r=n.length===0,i=()=>{o(n)};return d.jsx("li",{className:t,children:d.jsx(nn,{name:"filterAllItem",id:"filterAllItem",checked:r,onChange:i,label:e,value:Si,"data-all-filter-item":""})})},p0=e=>e.length===0?null:e.reduce((t,n)=>n!==Si?t+1:t,0),Mt={List:"List__F9sJrbXE",Button:"Button__Ppt5Ra33",Content:"Content__D-UEvEAs",Badge:"Badge__xefDY3-u",ButtonSizeL:"ButtonSizeL__yvvJ9G7Y",ButtonSizeM:"ButtonSizeM__zmqhLawH",ButtonSizeS:"ButtonSizeS__m-PnoliN"},m0={S:"ButtonSizeS",M:"ButtonSizeM",L:"ButtonSizeL"},h0=({variant:e="ghost",size:t="S",fullWidth:n=!1,children:o,type:r="button",iconName:i,className:s,onClick:l})=>{const a=Mr(),c=v.useMemo(()=>p0(a),[a]),u=c?d.jsx("span",{className:G(Mt.Badge,ie.Caption1),children:c}):d.jsx(fe,{name:i||"Filter",width:20,height:20});return d.jsxs(Ye,{variant:e,size:t,fullWidth:n,type:r,onClick:l,className:G(Mt.Button,Mt[m0[t]],s),children:[u,o]})},v0=({children:e,value:t,className:n})=>{const o=Mr(),{onItemChange:r}=xi(),i=v.useMemo(()=>!!o.find(l=>l===t),[o,t]),s=()=>{r(t,o)};return d.jsx("li",{className:n,children:d.jsx(nn,{name:"filterItem",id:`filterItem${t}`,checked:i,onChange:s,label:e,value:t,"data-filter-item":""})})},b0=({className:e,children:t})=>d.jsx("ul",{className:G(Mt.List,e),children:t}),Bt=({value:e,onChange:t,placement:n="bottom-start",children:o})=>{const[r,i]=v.useState(!1),[s,l]=v.useState([]),a=e===void 0,c=e!==void 0?e:s,u=v.useRef([]);v.useEffect(()=>{if(!r)return;const g=requestAnimationFrame(()=>{const h=document.querySelectorAll("[data-filter-item]");u.current=Array.from(h).map(C=>C.value)});return()=>cancelAnimationFrame(g)},[r]);const[f,...m]=v.useMemo(()=>v.Children.toArray(o).filter(g=>v.isValidElement(g)),[o]),p=g=>{i(g)},b=v.useMemo(()=>({onItemChange:(g,h)=>{const y=h.includes(g)?h.filter(I=>I!==g):[...h,g];a&&l(y),t&&t(y)},onAllItemChange:g=>{const h=g.length===0?[...u.current]:[];a&&l(h),t&&t(h)}}),[a,t]);return!f||!o?null:d.jsx(Ii.Provider,{value:b,children:d.jsx(yi.Provider,{value:c,children:d.jsx(vi,{isOpen:r,onChange:p,placement:n,content:d.jsx("div",{className:Mt.Content,children:m}),children:f})})})};Bt.List=b0,Bt.AllItem=g0,Bt.Item=v0,Bt.Button=h0;const _e={InputContainer:"InputContainer__crIfoXhZ",Label:"Label__Kyf0Xq1i",M:"M__SMUZVaRF",S:"S__5l8iHiDH",FullWidth:"FullWidth__krak4Lyg",Input:"Input__4NuyvuVR",InputError:"InputError__2gG55TuU",InputWarning:"InputWarning__s3CQtuE-",ErrorMessage:"ErrorMessage__Fq7yQNvS",WarningMessage:"WarningMessage__h9Ja9fM-",SuccessMessage:"SuccessMessage__9p7eZXYa"},Br=({id:e,error:t,warning:n,success:o,label:r,size:i="M",fullWidth:s=!0,inputClassName:l,className:a,ref:c,...u})=>d.jsxs("div",{className:G(_e.InputContainer,{[_e.FullWidth]:!!s},a),children:[r&&d.jsx("label",{htmlFor:e,className:_e.Label,children:r}),d.jsx("input",{...u,ref:c,id:e,className:G(_e.Input,_e[i],{[_e.InputError]:!!t,[_e.InputWarning]:!!n},l)}),typeof t=="string"&&d.jsx(K,{variant:"caption2",className:_e.ErrorMessage,children:t}),!!n&&d.jsx(K,{variant:"caption2",className:_e.WarningMessage,children:n}),!!o&&d.jsx(K,{variant:"caption2",className:_e.SuccessMessage,children:o})]}),Sn={Link:"Link__CKAoo6PA",Disabled:"Disabled__XqpDDhn2",FullWidth:"FullWidth__U8tkQDPF",L:"L__7vCM3z8d",M:"M__nYk210Fl",S:"S__vyGxJkUe"},C0=({component:e,size:t="M",children:n,disabled:o,className:r,fullWidth:i,href:s,onClick:l,to:a,...c})=>{const u=e||"a";return d.jsx(u,{...c,className:G(Sn.Link,Sn[t],t==="S"?ie.Button2:ie.Button1,{[Sn.FullWidth]:i,[Sn.Disabled]:o},r),...!o&&{href:s,onClick:l,to:a},children:n})},I0={16:"Size16",20:"Size20",24:"Size24",32:"Size32",48:"Size48",80:"Size80"},wn={LoaderContainer:"LoaderContainer__DSxCwTe2",Size16:"Size16__jvOQt1S9",Size20:"Size20__qm9zpvCb",Size24:"Size24__eGyVS7CD",Size32:"Size32__cnwmvMVr",Size48:"Size48__XdO5RwKg",Size80:"Size80__8PGG7ZHG",Svg:"Svg__qN8xnXaF",rotate:"rotate__m92dIjZh",Circle:"Circle__cGfYnGVi",dash:"dash__BLpefrKc"},x0=({size:e,className:t})=>d.jsx("div",{className:G(wn.LoaderContainer,wn[I0[e]],t),children:d.jsx("svg",{className:wn.Svg,viewBox:"25 25 50 50",children:d.jsx("circle",{className:wn.Circle,cx:"50",cy:"50",r:"20",fill:"none",strokeWidth:"4"})})});function wi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function y0(e,t,n){return t=En(t),function(o,r){if(r&&(typeof r=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}(o)}(e,Mi()?Reflect.construct(t,n||[],En(e).constructor):t.apply(e,n))}function S0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w0(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Ai(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(a,c){if(a){if(typeof a=="string")return wi(a,c);var u={}.toString.call(a).slice(8,-1);return u==="Object"&&a.constructor&&(u=a.constructor.name),u==="Map"||u==="Set"?Array.from(a):u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?wi(a,c):void 0}}(e))||t){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(a){throw a},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
30
30
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var a=n.next();return s=a.done,a},e:function(a){l=!0,i=a},f:function(){try{s||n.return==null||n.return()}finally{if(l)throw i}}}}function Ei(e,t,n){return(t=function(o){var r=function(i,s){if(typeof i!="object"||!i)return i;var l=i[Symbol.toPrimitive];if(l!==void 0){var a=l.call(i,s);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(i)}(o,"string");return typeof r=="symbol"?r:r+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function An(){return An=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},An.apply(null,arguments)}function En(e){return En=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},En(e)}function A0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Tr(e,t)}function Mi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Mi=function(){return!!e})()}function Bi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function Mn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Bi(Object(n),!0).forEach(function(o){Ei(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bi(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Ti(e,t){if(e==null)return{};var n,o,r=function(s,l){if(s==null)return{};var a={};for(var c in s)if({}.hasOwnProperty.call(s,c)){if(l.includes(c))continue;a[c]=s[c]}return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Tr(e,t){return Tr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Tr(e,t)}function Tt(e,t){var n,o=t.replacementChars,r=t.replacement,i=t.separate,s=o,l="",a=Ai(e);try{for(a.s();!(n=a.n()).done;){var c,u=n.value,f=!Object.prototype.hasOwnProperty.call(r,u)&&((c=r[s[0]])===null||c===void 0?void 0:c.test(u));(i&&u===s[0]||f)&&(s=s.slice(1),l+=u)}}catch(m){a.e(m)}finally{a.f()}return l}function Ri(e,t){var n,o=t.mask,r=t.replacement,i=t.separate,s=t.showMask,l=0,a="",c=Ai(o);try{for(c.s();!(n=c.n()).done;){var u=n.value;if(!s&&e[l]===void 0)break;Object.prototype.hasOwnProperty.call(r,u)&&e[l]!==void 0?a+=e[l++]:a+=u}}catch(m){c.e(m)}finally{c.f()}if(i&&!s){for(var f=o.length-1;f>=0&&a[f]===o[f];f--);a=a.slice(0,f+1)}return a}function Li(e,t){for(var n=t.mask,o=t.replacement,r=[],i=0;i<n.length;i++){var s,l=(s=e[i])!==null&&s!==void 0?s:n[i],a=Object.prototype.hasOwnProperty.call(o,l)?"replacement":e[i]!==void 0&&e[i]!==n[i]?"input":"mask";r.push({type:a,value:l,index:i})}return r}function lt(e){return e.length>0?Ei({},e,/./):{}}function Rr(e,t){for(var n=t.start,o=n===void 0?0:n,r=t.end,i=t.mask,s=t.replacement,l=t.separate,a=e.slice(o,r),c=i.slice(o,r),u="",f=0;f<c.length;f++){var m=Object.prototype.hasOwnProperty.call(s,c[f]);m&&a[f]!==void 0&&a[f]!==c[f]?u+=a[f]:m&&l&&(u+=c[f])}return u}function Oi(e,t){var n=t.mask,o=t.replacement,r=typeof o=="string"?lt(o):o,i=RegExp("[^".concat(Object.keys(r).join(""),"]"),"g");return Ri(Tt(e,{replacementChars:n.replace(i,""),replacement:r,separate:!1}),{mask:n,replacement:r,separate:!1,showMask:!1})}function E0(e,t){var n=t.mask,o=t.replacement,r=typeof o=="string"?lt(o):o,i=Rr(e,{mask:n,replacement:r,separate:!1}),s=RegExp("[^".concat(Object.keys(r).join(""),"]"),"g");return Tt(i,{replacementChars:n.replace(s,""),replacement:r,separate:!1})}function M0(e,t){var n=t.mask,o=t.replacement,r=typeof o=="string"?lt(o):o;return Li(Oi(e,{mask:n,replacement:r}),{mask:n,replacement:r})}var B0=["[","]","\\","/","^","$",".","|","?","*","+","(",")","{","}"];function Fi(e){return B0.includes(e)?"\\".concat(e):e}function T0(e,t){for(var n=t.mask,o=t.replacement,r=typeof o=="string"?lt(o):o,i=e==="partial"||e==="partial-inexact",s=e==="full"||e==="partial",l="",a=0;a<n.length;a++){var c=n[a];a===0&&(l="^"),i&&(l+="("),l+=Object.prototype.hasOwnProperty.call(r,c)?"".concat(s?"(?!".concat(Fi(c),")"):"","(").concat(r[c].source,")"):Fi(c),a===n.length-1&&(i&&(l+=")?".repeat(n.length)),l+="$")}return l}function Gi(e,t){return new Proxy(e,{set:function(n,o,r){return o==="current"&&(r!==e.current&&(e.current!==null&&t.unregister(e.current),r!==null&&t.register(r)),n[o]=r,!0)}})}function R0(e,t,n){return t=Rt(t),function(o,r){if(r&&(typeof r=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}(o)}(e,Lr()?Reflect.construct(t,n||[],Rt(e).constructor):t.apply(e,n))}function _i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ni(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function L0(e,t,n){return(t=function(o){var r=function(i,s){if(typeof i!="object"||!i)return i;var l=i[Symbol.toPrimitive];if(l!==void 0){var a=l.call(i,s);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(i)}(o,"string");return typeof r=="symbol"?r:r+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rt(e){return Rt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Rt(e)}function O0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Lt(e,t)}function Lr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Lr=function(){return!!e})()}function Pi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function Vi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Pi(Object(n),!0).forEach(function(o){L0(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pi(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function F0(e,t){if(e==null)return{};var n,o,r=function(s,l){if(s==null)return{};var a={};for(var c in s)if({}.hasOwnProperty.call(s,c)){if(l.includes(c))continue;a[c]=s[c]}return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Lt(e,t){return Lt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Lt(e,t)}function Or(e){return Or=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Or(e)}function Fr(e){var t=typeof Map=="function"?new Map:void 0;return Fr=function(n){if(n===null||!function(r){try{return Function.toString.call(r).indexOf("[native code]")!==-1}catch{return typeof r=="function"}}(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return function(r,i,s){if(Lr())return Reflect.construct.apply(null,arguments);var l=[null];l.push.apply(l,i);var a=new(r.bind.apply(r,l));return s&&Lt(a,s.prototype),a}(n,arguments,Rt(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Lt(o,n)},Fr(e)}var ct=function(e){function t(n){var o;return _i(this,t),(o=R0(this,t,[n])).name="SyntheticChangeError",o}return O0(t,e),Ni(t)}(Fr(Error)),Di,G0=["options"],ji=["text","email","tel","search","url"],Gr=Ni(function e(t){var n=t.init,o=t.tracking;_i(this,e);var r=new WeakMap;this.register=function(i){var s;if(ji.includes(i.type)){var l=(s=i._wrapperState)!==null&&s!==void 0?s:{},a=l.initialValue,c=a===void 0?"":a,u=l.controlled,f=u!==void 0&&u,m=n({initialValue:i.value||c,controlled:f}),p=m.value,b=m.options,g={value:p,options:b,fallbackOptions:b},h={id:-1,cachedId:-1},C={value:"",selectionStart:0,selectionEnd:0},y=Object.getOwnPropertyDescriptor("_valueTracker"in i?i:HTMLInputElement.prototype,"value");Object.defineProperty(i,"value",Vi(Vi({},y),{},{set:function(M){var A;C.value=M,y==null||(A=y.set)===null||A===void 0||A.call(i,M)}})),i.value=p;var I=function(){var M=function(){var A,L;C.selectionStart=(A=i.selectionStart)!==null&&A!==void 0?A:0,C.selectionEnd=(L=i.selectionEnd)!==null&&L!==void 0?L:0,h.id=window.setTimeout(M)};h.id=window.setTimeout(M)},S=function(){window.clearTimeout(h.id),h.id=-1,h.cachedId=-1},x=function(M){try{var A,L;if(h.cachedId===h.id)throw new ct("The input selection has not been updated.");h.cachedId=h.id;var _=i.value,N=i.selectionStart,Z=i.selectionEnd;if(N===null||Z===null)throw new ct("The selection attributes have not been initialized.");var H,X=C.value;if(M.inputType===void 0&&(C.selectionStart=0,C.selectionEnd=X.length),N>C.selectionStart?H="insert":N<=C.selectionStart&&N<C.selectionEnd?H="deleteBackward":N===C.selectionEnd&&_.length<X.length&&(H="deleteForward"),H===void 0||(H==="deleteBackward"||H==="deleteForward")&&_.length>X.length)throw new ct("Input type detection error.");var k="",F=C.selectionStart,B=C.selectionEnd;if(H==="insert")k=_.slice(C.selectionStart,N);else{var P=X.length-_.length;F=N,B=N+P}g.value!==X?g.options=g.fallbackOptions:g.fallbackOptions=g.options;var T=g.options,R=o({inputType:H,previousValue:X,previousOptions:T,value:_,addedValue:k,changeStart:F,changeEnd:B,selectionStart:N,selectionEnd:Z}),V=R.options,w=F0(R,G0);i.value=w.value,i.setSelectionRange(w.selectionStart,w.selectionEnd),g.value=w.value,g.options=V,C.selectionStart=w.selectionStart,C.selectionEnd=w.selectionEnd,(A=i._valueTracker)===null||A===void 0||(L=A.setValue)===null||L===void 0||L.call(A,X)}catch(O){if(i.value=C.value,i.setSelectionRange(C.selectionStart,C.selectionEnd),M.preventDefault(),M.stopPropagation(),O.name!=="SyntheticChangeError")throw O}};document.activeElement===i&&I(),i.addEventListener("focus",I),i.addEventListener("blur",S),i.addEventListener("input",x),r.set(i,{onFocus:I,onBlur:S,onInput:x})}else process.env.NODE_ENV!=="production"&&console.warn("Warn: The input element type does not match one of the types: ".concat(ji.join(", "),"."))},this.unregister=function(i){var s=r.get(i);s!==void 0&&(i.removeEventListener("focus",s.onFocus),i.removeEventListener("blur",s.onBlur),i.removeEventListener("input",s.onInput),r.delete(i))}});Di=Gr,Object.defineProperty(Di.prototype,Symbol.toStringTag,{writable:!1,enumerable:!1,configurable:!0,value:"Input"});function ki(e,t){return v.useCallback(function(n){e.current=n,typeof t=="function"?t(n):Or(t)==="object"&&t!==null&&(t.current=n)},[e,t])}var _r=function(e){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return new e("".concat(n.join(`
|
|
31
31
|
|
|
32
32
|
`),`
|