@oncehub/ui-react 1.4.0-beta.1 → 1.4.0-beta.1.2

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.
@@ -178,14 +178,14 @@ const wi = "_textInputWrapper_1i9m6_1", gi = "_textInput_1i9m6_1", pn = {
178
178
  var xi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, S = {}, Ut = { exports: {} };
179
179
  (function(e, t) {
180
180
  (function(n, r) {
181
- var i = "1.0.37", s = "", o = "?", f = "function", p = "undefined", b = "object", v = "string", m = "major", l = "model", u = "name", a = "type", c = "vendor", d = "version", h = "architecture", I = "console", w = "mobile", g = "tablet", R = "smarttv", E = "wearable", j = "embedded", F = 500, T = "Amazon", V = "Apple", te = "ASUS", G = "BlackBerry", x = "Browser", Z = "Chrome", ne = "Edge", le = "Firefox", M = "Google", oe = "Huawei", J = "LG", q = "Microsoft", ue = "Motorola", se = "Opera", re = "Samsung", O = "Sharp", C = "Sony", $ = "Xiaomi", be = "Zebra", Ce = "Facebook", mt = "Chromium OS", ht = "Mac OS", y = function(W, z) {
182
- var A = {};
181
+ var i = "1.0.37", s = "", o = "?", f = "function", p = "undefined", b = "object", v = "string", m = "major", l = "model", u = "name", a = "type", c = "vendor", d = "version", h = "architecture", I = "console", w = "mobile", g = "tablet", R = "smarttv", E = "wearable", j = "embedded", A = 500, T = "Amazon", V = "Apple", te = "ASUS", G = "BlackBerry", x = "Browser", Z = "Chrome", ne = "Edge", le = "Firefox", M = "Google", oe = "Huawei", J = "LG", q = "Microsoft", ue = "Motorola", se = "Opera", re = "Samsung", O = "Sharp", C = "Sony", $ = "Xiaomi", be = "Zebra", Ce = "Facebook", mt = "Chromium OS", ht = "Mac OS", y = function(W, z) {
182
+ var F = {};
183
183
  for (var Q in W)
184
- z[Q] && z[Q].length % 2 === 0 ? A[Q] = z[Q].concat(W[Q]) : A[Q] = W[Q];
185
- return A;
184
+ z[Q] && z[Q].length % 2 === 0 ? F[Q] = z[Q].concat(W[Q]) : F[Q] = W[Q];
185
+ return F;
186
186
  }, D = function(W) {
187
- for (var z = {}, A = 0; A < W.length; A++)
188
- z[W[A].toUpperCase()] = W[A];
187
+ for (var z = {}, F = 0; F < W.length; F++)
188
+ z[W[F].toUpperCase()] = W[F];
189
189
  return z;
190
190
  }, de = function(W, z) {
191
191
  return typeof W === v ? ce(z).indexOf(ce(W)) !== -1 : !1;
@@ -195,38 +195,38 @@ var xi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
195
195
  return typeof W === v ? W.replace(/[^\d\.]/g, s).split(".")[0] : r;
196
196
  }, Me = function(W, z) {
197
197
  if (typeof W === v)
198
- return W = W.replace(/^\s\s*/, s), typeof z === p ? W : W.substring(0, F);
198
+ return W = W.replace(/^\s\s*/, s), typeof z === p ? W : W.substring(0, A);
199
199
  }, $e = function(W, z) {
200
- for (var A = 0, Q, He, Pe, B, N, Re; A < z.length && !N; ) {
201
- var Dt = z[A], fn = z[A + 1];
200
+ for (var F = 0, Q, He, Pe, B, N, Re; F < z.length && !N; ) {
201
+ var Dt = z[F], fn = z[F + 1];
202
202
  for (Q = He = 0; Q < Dt.length && !N && Dt[Q]; )
203
203
  if (N = Dt[Q++].exec(W), N)
204
204
  for (Pe = 0; Pe < fn.length; Pe++)
205
205
  Re = N[++He], B = fn[Pe], typeof B === b && B.length > 0 ? B.length === 2 ? typeof B[1] == f ? this[B[0]] = B[1].call(this, Re) : this[B[0]] = B[1] : B.length === 3 ? typeof B[1] === f && !(B[1].exec && B[1].test) ? this[B[0]] = Re ? B[1].call(this, Re, B[2]) : r : this[B[0]] = Re ? Re.replace(B[1], B[2]) : r : B.length === 4 && (this[B[0]] = Re ? B[3].call(this, Re.replace(B[1], B[2])) : r) : this[B] = Re || r;
206
- A += 2;
206
+ F += 2;
207
207
  }
208
208
  }, Se = function(W, z) {
209
- for (var A in z)
210
- if (typeof z[A] === b && z[A].length > 0) {
211
- for (var Q = 0; Q < z[A].length; Q++)
212
- if (de(z[A][Q], W))
213
- return A === o ? r : A;
214
- } else if (de(z[A], W))
215
- return A === o ? r : A;
209
+ for (var F in z)
210
+ if (typeof z[F] === b && z[F].length > 0) {
211
+ for (var Q = 0; Q < z[F].length; Q++)
212
+ if (de(z[F][Q], W))
213
+ return F === o ? r : F;
214
+ } else if (de(z[F], W))
215
+ return F === o ? r : F;
216
216
  return W;
217
217
  }, wt = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, un = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, dn = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [d, [u, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [d, [u, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [u, d], [/opios[\/ ]+([\w\.]+)/i], [d, [u, se + " Mini"]], [/\bopr\/([\w\.]+)/i], [d, [u, se]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [d, [u, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [u, d], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [d, [u, "UC" + x]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [d, [u, "WeChat"]], [/konqueror\/([\w\.]+)/i], [d, [u, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [d, [u, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [d, [u, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [d, [u, "Smart Lenovo " + x]], [/(avast|avg)\/([\w\.]+)/i], [[u, /(.+)/, "$1 Secure " + x], d], [/\bfocus\/([\w\.]+)/i], [d, [u, le + " Focus"]], [/\bopt\/([\w\.]+)/i], [d, [u, se + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [d, [u, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [d, [u, "Dolphin"]], [/coast\/([\w\.]+)/i], [d, [u, se + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [d, [u, "MIUI " + x]], [/fxios\/([-\w\.]+)/i], [d, [u, le]], [/\bqihu|(qi?ho?o?|360)browser/i], [[u, "360 " + x]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[u, /(.+)/, "$1 " + x], d], [/samsungbrowser\/([\w\.]+)/i], [d, [u, re + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[u, /_/g, " "], d], [/metasr[\/ ]?([\d\.]+)/i], [d, [u, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[u, "Sogou Mobile"], d], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [u, d], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [u], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[u, Ce], d], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [u, d], [/\bgsa\/([\w\.]+) .*safari\//i], [d, [u, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [d, [u, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [d, [u, Z + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[u, Z + " WebView"], d], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [d, [u, "Android " + x]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [u, d], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [d, [u, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [d, u], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [u, [d, Se, wt]], [/(webkit|khtml)\/([\w\.]+)/i], [u, d], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[u, "Netscape"], d], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [d, [u, le + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [u, d], [/(cobalt)\/([\w\.]+)/i], [u, [d, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[h, "amd64"]], [/(ia32(?=;))/i], [[h, ce]], [/((?:i[346]|x)86)[;\)]/i], [[h, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[h, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[h, "armhf"]], [/windows (ce|mobile); ppc;/i], [[h, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[h, /ower/, s, ce]], [/(sun4\w)[;\)]/i], [[h, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[h, ce]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [l, [c, re], [a, g]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [l, [c, re], [a, w]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [l, [c, V], [a, w]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [l, [c, V], [a, g]], [/(macintosh);/i], [l, [c, V]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [l, [c, O], [a, w]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [l, [c, oe], [a, g]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [l, [c, oe], [a, w]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[l, /_/g, " "], [c, $], [a, w]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[l, /_/g, " "], [c, $], [a, g]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [l, [c, "OPPO"], [a, w]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [l, [c, "Vivo"], [a, w]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [l, [c, "Realme"], [a, w]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [l, [c, ue], [a, w]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [l, [c, ue], [a, g]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [l, [c, J], [a, g]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [l, [c, J], [a, w]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [l, [c, "Lenovo"], [a, g]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[l, /_/g, " "], [c, "Nokia"], [a, w]], [/(pixel c)\b/i], [l, [c, M], [a, g]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [l, [c, M], [a, w]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [l, [c, C], [a, w]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[l, "Xperia Tablet"], [c, C], [a, g]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [l, [c, "OnePlus"], [a, w]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [l, [c, T], [a, g]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[l, /(.+)/g, "Fire Phone $1"], [c, T], [a, w]], [/(playbook);[-\w\),; ]+(rim)/i], [l, c, [a, g]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [l, [c, G], [a, w]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [l, [c, te], [a, g]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [l, [c, te], [a, w]], [/(nexus 9)/i], [l, [c, "HTC"], [a, g]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [c, [l, /_/g, " "], [a, w]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [l, [c, "Acer"], [a, g]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [l, [c, "Meizu"], [a, w]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [l, [c, "Ulefone"], [a, w]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [c, l, [a, w]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [c, l, [a, g]], [/(surface duo)/i], [l, [c, q], [a, g]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [l, [c, "Fairphone"], [a, w]], [/(u304aa)/i], [l, [c, "AT&T"], [a, w]], [/\bsie-(\w*)/i], [l, [c, "Siemens"], [a, w]], [/\b(rct\w+) b/i], [l, [c, "RCA"], [a, g]], [/\b(venue[\d ]{2,7}) b/i], [l, [c, "Dell"], [a, g]], [/\b(q(?:mv|ta)\w+) b/i], [l, [c, "Verizon"], [a, g]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [l, [c, "Barnes & Noble"], [a, g]], [/\b(tm\d{3}\w+) b/i], [l, [c, "NuVision"], [a, g]], [/\b(k88) b/i], [l, [c, "ZTE"], [a, g]], [/\b(nx\d{3}j) b/i], [l, [c, "ZTE"], [a, w]], [/\b(gen\d{3}) b.+49h/i], [l, [c, "Swiss"], [a, w]], [/\b(zur\d{3}) b/i], [l, [c, "Swiss"], [a, g]], [/\b((zeki)?tb.*\b) b/i], [l, [c, "Zeki"], [a, g]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[c, "Dragon Touch"], l, [a, g]], [/\b(ns-?\w{0,9}) b/i], [l, [c, "Insignia"], [a, g]], [/\b((nxa|next)-?\w{0,9}) b/i], [l, [c, "NextBook"], [a, g]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[c, "Voice"], l, [a, w]], [/\b(lvtel\-)?(v1[12]) b/i], [[c, "LvTel"], l, [a, w]], [/\b(ph-1) /i], [l, [c, "Essential"], [a, w]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [l, [c, "Envizen"], [a, g]], [/\b(trio[-\w\. ]+) b/i], [l, [c, "MachSpeed"], [a, g]], [/\btu_(1491) b/i], [l, [c, "Rotor"], [a, g]], [/(shield[\w ]+) b/i], [l, [c, "Nvidia"], [a, g]], [/(sprint) (\w+)/i], [c, l, [a, w]], [/(kin\.[onetw]{3})/i], [[l, /\./g, " "], [c, q], [a, w]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [l, [c, be], [a, g]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [l, [c, be], [a, w]], [/smart-tv.+(samsung)/i], [c, [a, R]], [/hbbtv.+maple;(\d+)/i], [[l, /^/, "SmartTV"], [c, re], [a, R]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[c, J], [a, R]], [/(apple) ?tv/i], [c, [l, V + " TV"], [a, R]], [/crkey/i], [[l, Z + "cast"], [c, M], [a, R]], [/droid.+aft(\w+)( bui|\))/i], [l, [c, T], [a, R]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [l, [c, O], [a, R]], [/(bravia[\w ]+)( bui|\))/i], [l, [c, C], [a, R]], [/(mitv-\w{5}) bui/i], [l, [c, $], [a, R]], [/Hbbtv.*(technisat) (.*);/i], [c, l, [a, R]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[c, Me], [l, Me], [a, R]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[a, R]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [c, l, [a, I]], [/droid.+; (shield) bui/i], [l, [c, "Nvidia"], [a, I]], [/(playstation [345portablevi]+)/i], [l, [c, C], [a, I]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [l, [c, q], [a, I]], [/((pebble))app/i], [c, l, [a, E]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [l, [c, V], [a, E]], [/droid.+; (glass) \d/i], [l, [c, M], [a, E]], [/droid.+; (wt63?0{2,3})\)/i], [l, [c, be], [a, E]], [/(quest( 2| pro)?)/i], [l, [c, Ce], [a, E]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [c, [a, j]], [/(aeobc)\b/i], [l, [c, T], [a, j]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [l, [a, w]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [l, [a, g]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[a, g]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[a, w]], [/(android[-\w\. ]{0,9});.+buil/i], [l, [c, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [d, [u, ne + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [d, [u, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [u, d], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [d, u]], os: [[/microsoft (windows) (vista|xp)/i], [u, d], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [u, [d, Se, un]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[d, Se, un], [u, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[d, /_/g, "."], [u, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[u, ht], [d, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [d, u], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [u, d], [/\(bb(10);/i], [d, [u, G]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [d, [u, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [d, [u, le + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [d, [u, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [d, [u, "watchOS"]], [/crkey\/([\d\.]+)/i], [d, [u, Z + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[u, mt], d], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [u, d], [/(sunos) ?([\w\.\d]*)/i], [[u, "Solaris"], d], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [u, d]] }, Ie = function(W, z) {
218
218
  if (typeof W === b && (z = W, W = r), !(this instanceof Ie))
219
219
  return new Ie(W, z).getResult();
220
- var A = typeof n !== p && n.navigator ? n.navigator : r, Q = W || (A && A.userAgent ? A.userAgent : s), He = A && A.userAgentData ? A.userAgentData : r, Pe = z ? y(dn, z) : dn, B = A && A.userAgent == Q;
220
+ var F = typeof n !== p && n.navigator ? n.navigator : r, Q = W || (F && F.userAgent ? F.userAgent : s), He = F && F.userAgentData ? F.userAgentData : r, Pe = z ? y(dn, z) : dn, B = F && F.userAgent == Q;
221
221
  return this.getBrowser = function() {
222
222
  var N = {};
223
- return N[u] = r, N[d] = r, $e.call(N, Q, Pe.browser), N[m] = Ue(N[d]), B && A && A.brave && typeof A.brave.isBrave == f && (N[u] = "Brave"), N;
223
+ return N[u] = r, N[d] = r, $e.call(N, Q, Pe.browser), N[m] = Ue(N[d]), B && F && F.brave && typeof F.brave.isBrave == f && (N[u] = "Brave"), N;
224
224
  }, this.getCPU = function() {
225
225
  var N = {};
226
226
  return N[h] = r, $e.call(N, Q, Pe.cpu), N;
227
227
  }, this.getDevice = function() {
228
228
  var N = {};
229
- return N[c] = r, N[l] = r, N[a] = r, $e.call(N, Q, Pe.device), B && !N[a] && He && He.mobile && (N[a] = w), B && N[l] == "Macintosh" && A && typeof A.standalone !== p && A.maxTouchPoints && A.maxTouchPoints > 2 && (N[l] = "iPad", N[a] = g), N;
229
+ return N[c] = r, N[l] = r, N[a] = r, $e.call(N, Q, Pe.device), B && !N[a] && He && He.mobile && (N[a] = w), B && N[l] == "Macintosh" && F && typeof F.standalone !== p && F.maxTouchPoints && F.maxTouchPoints > 2 && (N[l] = "iPad", N[a] = g), N;
230
230
  }, this.getEngine = function() {
231
231
  var N = {};
232
232
  return N[u] = r, N[d] = r, $e.call(N, Q, Pe.engine), N;
@@ -238,7 +238,7 @@ var xi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
238
238
  }, this.getUA = function() {
239
239
  return Q;
240
240
  }, this.setUA = function(N) {
241
- return Q = typeof N === v && N.length > F ? Me(N, F) : N, this;
241
+ return Q = typeof N === v && N.length > A ? Me(N, A) : N, this;
242
242
  }, this.setUA(Q), this;
243
243
  };
244
244
  Ie.VERSION = i, Ie.BROWSER = D([u, d, m]), Ie.CPU = D([h]), Ie.DEVICE = D([l, c, a, I, w, R, g, E, j]), Ie.ENGINE = Ie.OS = D([u, d]), e.exports && (t = e.exports = Ie), t.UAParser = Ie;
@@ -250,8 +250,8 @@ var xi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
250
250
  }, et.ua.set = function(W) {
251
251
  gt.setUA(W);
252
252
  var z = gt.getResult();
253
- for (var A in z)
254
- et.ua[A] = z[A];
253
+ for (var F in z)
254
+ et.ua[F] = z[F];
255
255
  };
256
256
  }
257
257
  })(typeof window == "object" ? window : xi);
@@ -405,7 +405,7 @@ function Pi(e, t) {
405
405
  return St(e);
406
406
  }
407
407
  function Ri(e, t) {
408
- return Li(e) || Ni(e, t) || Fi(e, t) || Ai();
408
+ return Li(e) || Ni(e, t) || Ai(e, t) || Fi();
409
409
  }
410
410
  function Li(e) {
411
411
  if (Array.isArray(e))
@@ -431,7 +431,7 @@ function Ni(e, t) {
431
431
  return r;
432
432
  }
433
433
  }
434
- function Fi(e, t) {
434
+ function Ai(e, t) {
435
435
  if (e) {
436
436
  if (typeof e == "string")
437
437
  return mn(e, t);
@@ -448,7 +448,7 @@ function mn(e, t) {
448
448
  r[n] = e[n];
449
449
  return r;
450
450
  }
451
- function Ai() {
451
+ function Fi() {
452
452
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
453
453
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
454
454
  }
@@ -604,10 +604,10 @@ function Hi(e) {
604
604
  if (a)
605
605
  return Ui(a, n, i, s, o);
606
606
  }
607
- var Fn = function(t) {
607
+ var An = function(t) {
608
608
  var n = t.type;
609
609
  return n === ve.Mobile;
610
- }, An = function(t) {
610
+ }, Fn = function(t) {
611
611
  var n = t.type;
612
612
  return n === ve.Tablet;
613
613
  }, Dn = function(t) {
@@ -714,7 +714,7 @@ var Fn = function(t) {
714
714
  }, pr = function() {
715
715
  var t = Qt();
716
716
  return t && (/iPad|iPhone|iPod/.test(t.platform) || t.platform === "MacIntel" && t.maxTouchPoints > 1) && !window.MSStream;
717
- }, Fe = function() {
717
+ }, Ae = function() {
718
718
  return Xt("iPad");
719
719
  }, br = function() {
720
720
  return Xt("iPhone");
@@ -730,16 +730,16 @@ function hr(e) {
730
730
  isConsole: Wn(n),
731
731
  isWearable: $n(n),
732
732
  isEmbedded: jn(n),
733
- isMobileSafari: nr(r) || Fe(),
733
+ isMobileSafari: nr(r) || Ae(),
734
734
  isChromium: Jn(r),
735
- isMobile: Dn(n) || Fe(),
736
- isMobileOnly: Fn(n),
737
- isTablet: An(n) || Fe(),
735
+ isMobile: Dn(n) || Ae(),
736
+ isMobileOnly: An(n),
737
+ isTablet: Fn(n) || Ae(),
738
738
  isBrowser: Tt(n),
739
739
  isDesktop: Tt(n),
740
740
  isAndroid: Hn(i),
741
741
  isWinPhone: Kn(i),
742
- isIOS: Yn(i) || Fe(),
742
+ isIOS: Yn(i) || Ae(),
743
743
  isChrome: Xn(r),
744
744
  isFirefox: Zn(r),
745
745
  isSafari: tr(r),
@@ -759,7 +759,7 @@ function hr(e) {
759
759
  isYandex: er(r),
760
760
  deviceType: Un(n),
761
761
  isIOS13: pr(),
762
- isIPad13: Fe(),
762
+ isIPad13: Ae(),
763
763
  isIPhone13: br(),
764
764
  isIPod13: vr(),
765
765
  isElectron: fr(),
@@ -771,7 +771,7 @@ function hr(e) {
771
771
  isSamsungBrowser: ar(r)
772
772
  };
773
773
  }
774
- var wr = Mn(Oe), gr = Wn(Oe), xr = $n(Oe), zi = jn(Oe), qi = nr(he) || Fe(), Ki = Jn(he), Pt = Dn(Oe) || Fe(), yr = Fn(Oe), kr = An(Oe) || Fe(), Or = Tt(Oe), Yi = Tt(Oe), Sr = Hn(Xe), Tr = Kn(Xe), Er = Yn(Xe) || Fe(), Gi = Xn(he), Qi = Zn(he), Xi = tr(he), Zi = rr(he), Ir = ir(he), Ji = Gn(Xe), eo = Qn(Xe), to = lr(he), no = sr(he), ro = cr(he), io = Vn(Oe), oo = Bn(Oe), ao = ur(Gt), lo = dr(Gt), so = mr(ut), co = Et(he) || nt(ut), uo = er(he), fo = Un(Oe), po = pr(), bo = Fe(), vo = br(), mo = vr(), ho = fr(), wo = nt(ut), go = Et(he) && !nt(ut), xo = zn(Xe), yo = qn(Xe), ko = or(he), Oo = ar(he), So = function(t) {
774
+ var wr = Mn(Oe), gr = Wn(Oe), xr = $n(Oe), zi = jn(Oe), qi = nr(he) || Ae(), Ki = Jn(he), Pt = Dn(Oe) || Ae(), yr = An(Oe), kr = Fn(Oe) || Ae(), Or = Tt(Oe), Yi = Tt(Oe), Sr = Hn(Xe), Tr = Kn(Xe), Er = Yn(Xe) || Ae(), Gi = Xn(he), Qi = Zn(he), Xi = tr(he), Zi = rr(he), Ir = ir(he), Ji = Gn(Xe), eo = Qn(Xe), to = lr(he), no = sr(he), ro = cr(he), io = Vn(Oe), oo = Bn(Oe), ao = ur(Gt), lo = dr(Gt), so = mr(ut), co = Et(he) || nt(ut), uo = er(he), fo = Un(Oe), po = pr(), bo = Ae(), vo = br(), mo = vr(), ho = fr(), wo = nt(ut), go = Et(he) && !nt(ut), xo = zn(Xe), yo = qn(Xe), ko = or(he), Oo = ar(he), So = function(t) {
775
775
  if (!t || typeof t != "string") {
776
776
  console.error("No valid user agent string was provided");
777
777
  return;
@@ -813,10 +813,10 @@ var wr = Mn(Oe), gr = Wn(Oe), xr = $n(Oe), zi = jn(Oe), qi = nr(he) || Fe(), Ki
813
813
  }, No = function(t) {
814
814
  var n = t.renderWithFragment, r = t.children, i = Te(t, ["renderWithFragment", "children"]);
815
815
  return wr ? n ? X.createElement(me.Fragment, null, r) : X.createElement("div", i, r) : null;
816
- }, Fo = function(t) {
816
+ }, Ao = function(t) {
817
817
  var n = t.renderWithFragment, r = t.children, i = Te(t, ["renderWithFragment", "children"]);
818
818
  return gr ? n ? X.createElement(me.Fragment, null, r) : X.createElement("div", i, r) : null;
819
- }, Ao = function(t) {
819
+ }, Fo = function(t) {
820
820
  var n = t.renderWithFragment, r = t.children, i = Te(t, ["renderWithFragment", "children"]);
821
821
  return xr ? n ? X.createElement(me.Fragment, null, r) : X.createElement("div", i, r) : null;
822
822
  }, Do = function(t) {
@@ -909,7 +909,7 @@ function Wo(e) {
909
909
  S.AndroidView = To;
910
910
  S.BrowserTypes = ye;
911
911
  S.BrowserView = Eo;
912
- S.ConsoleView = Fo;
912
+ S.ConsoleView = Ao;
913
913
  S.CustomView = Do;
914
914
  S.IEView = Io;
915
915
  S.IOSView = _o;
@@ -918,7 +918,7 @@ S.MobileView = Co;
918
918
  S.OsTypes = ot;
919
919
  S.SmartTVView = No;
920
920
  S.TabletView = Po;
921
- S.WearableView = Ao;
921
+ S.WearableView = Fo;
922
922
  S.WinPhoneView = Ro;
923
923
  S.browserName = ro;
924
924
  S.browserVersion = no;
@@ -1072,7 +1072,7 @@ const bs = ({
1072
1072
  className: s = "",
1073
1073
  style: o = {}
1074
1074
  }) => {
1075
- const f = _(e), [p, b] = K(t), [v, m] = K(""), [l, u] = K(!1), [a, c] = K(!1), d = _(null), h = _(null), I = _(null), w = _(null), g = _(null), R = _(null), [E, j] = K(-1), F = _(0), T = _(0), [V, te] = K(!1);
1075
+ const f = _(e), [p, b] = K(t), [v, m] = K(""), [l, u] = K(!1), [a, c] = K(!1), d = _(null), h = _(null), I = _(null), w = _(null), g = _(null), R = _(null), [E, j] = K(-1), A = _(0), T = _(0), [V, te] = K(!1);
1076
1076
  let G = {};
1077
1077
  const [x, Z] = K({ left: 0, top: 0 }), [ne, le] = K(null), M = _(!1), oe = () => {
1078
1078
  setTimeout(() => {
@@ -1088,7 +1088,7 @@ const bs = ({
1088
1088
  };
1089
1089
  }, []);
1090
1090
  const J = () => {
1091
- F.current = window.innerHeight, T.current = document.body.scrollHeight, te(!0);
1091
+ A.current = window.innerHeight, T.current = document.body.scrollHeight, te(!0);
1092
1092
  };
1093
1093
  Y(() => (J(), window.addEventListener("resize", J), () => {
1094
1094
  window.addEventListener("resize", J);
@@ -1116,11 +1116,11 @@ const bs = ({
1116
1116
  C(), u(y), setTimeout(() => {
1117
1117
  I.current ? I.current?.focus() : w.current?.focus(), q("use up and down arrow keys to navigate");
1118
1118
  }, 0);
1119
- }, O = () => T.current - (F.current + window.scrollY), C = () => {
1119
+ }, O = () => T.current - (A.current + window.scrollY), C = () => {
1120
1120
  if (d.current) {
1121
1121
  const y = d.current.getBoundingClientRect();
1122
1122
  setTimeout(() => {
1123
- const D = h?.current?.getBoundingClientRect(), de = O(), ce = F.current - y.bottom;
1123
+ const D = h?.current?.getBoundingClientRect(), de = O(), ce = A.current - y.bottom;
1124
1124
  let Ue;
1125
1125
  if (D) {
1126
1126
  const Me = y.height, $e = y.top, Se = D.height, wt = Se > $e + window.scrollY;
@@ -1547,7 +1547,7 @@ function _a(e) {
1547
1547
  throw t;
1548
1548
  }));
1549
1549
  }
1550
- function Ae() {
1550
+ function Fe() {
1551
1551
  let e = [], t = { addEventListener(n, r, i, s) {
1552
1552
  return n.addEventListener(r, i, s), t.add(() => n.removeEventListener(r, i, s));
1553
1553
  }, requestAnimationFrame(...n) {
@@ -1571,7 +1571,7 @@ function Ae() {
1571
1571
  Object.assign(n.style, { [r]: s });
1572
1572
  });
1573
1573
  }, group(n) {
1574
- let r = Ae();
1574
+ let r = Fe();
1575
1575
  return n(r), this.add(() => r.dispose());
1576
1576
  }, add(n) {
1577
1577
  return e.push(n), () => {
@@ -1587,7 +1587,7 @@ function Ae() {
1587
1587
  return t;
1588
1588
  }
1589
1589
  function Ve() {
1590
- let [e] = K(Ae);
1590
+ let [e] = K(Fe);
1591
1591
  return Y(() => () => e.dispose(), [e]), e;
1592
1592
  }
1593
1593
  let P = function(e) {
@@ -1663,7 +1663,7 @@ function kt(e, t, n) {
1663
1663
  return document.addEventListener(e, i, n), () => document.removeEventListener(e, i, n);
1664
1664
  }, [e, n]);
1665
1665
  }
1666
- function Fa(e, t, n) {
1666
+ function Aa(e, t, n) {
1667
1667
  let r = _e(t);
1668
1668
  Y(() => {
1669
1669
  function i(s) {
@@ -1706,7 +1706,7 @@ function Lr(e, t, n = !0) {
1706
1706
  r.current && (s.current = ((p = (f = o.composedPath) == null ? void 0 : f.call(o)) == null ? void 0 : p[0]) || o.target);
1707
1707
  }, !0), kt("click", (o) => {
1708
1708
  s.current && (i(o, () => s.current), s.current = null);
1709
- }, !0), kt("touchend", (o) => i(o, () => o.target instanceof HTMLElement ? o.target : null), !0), Fa("blur", (o) => i(o, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
1709
+ }, !0), kt("touchend", (o) => i(o, () => o.target instanceof HTMLElement ? o.target : null), !0), Aa("blur", (o) => i(o, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
1710
1710
  }
1711
1711
  function xn(e) {
1712
1712
  var t;
@@ -1724,7 +1724,7 @@ function Nr(e, t) {
1724
1724
  n || t.current && t.current instanceof HTMLButtonElement && !t.current.hasAttribute("type") && r("button");
1725
1725
  }, [n, t]), n;
1726
1726
  }
1727
- let Aa = Symbol();
1727
+ let Fa = Symbol();
1728
1728
  function Ee(...e) {
1729
1729
  let t = _(e);
1730
1730
  Y(() => {
@@ -1734,7 +1734,7 @@ function Ee(...e) {
1734
1734
  for (let i of t.current)
1735
1735
  i != null && (typeof i == "function" ? i(r) : i.current = r);
1736
1736
  });
1737
- return e.every((r) => r == null || r?.[Aa]) ? void 0 : n;
1737
+ return e.every((r) => r == null || r?.[Fa]) ? void 0 : n;
1738
1738
  }
1739
1739
  function Da({ container: e, accept: t, walk: n, enabled: r = !0 }) {
1740
1740
  let i = _(t), s = _(n);
@@ -1755,7 +1755,7 @@ function Ma(e) {
1755
1755
  throw new Error("Unexpected object: " + e);
1756
1756
  }
1757
1757
  var H = ((e) => (e[e.First = 0] = "First", e[e.Previous = 1] = "Previous", e[e.Next = 2] = "Next", e[e.Last = 3] = "Last", e[e.Specific = 4] = "Specific", e[e.Nothing = 5] = "Nothing", e))(H || {});
1758
- function Fr(e, t) {
1758
+ function Ar(e, t) {
1759
1759
  let n = t.resolveItems();
1760
1760
  if (n.length <= 0)
1761
1761
  return null;
@@ -1788,7 +1788,7 @@ function It(...e) {
1788
1788
  }
1789
1789
  var rt = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(rt || {}), qe = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(qe || {});
1790
1790
  function ke({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: i, visible: s = !0, name: o }) {
1791
- let f = Ar(t, e);
1791
+ let f = Fr(t, e);
1792
1792
  if (s)
1793
1793
  return Ot(f, n, r, o);
1794
1794
  let p = i ?? 0;
@@ -1824,7 +1824,7 @@ function Ot(e, t = {}, n, r) {
1824
1824
  `)].join(`
1825
1825
  `));
1826
1826
  let m = b.props, l = typeof m?.className == "function" ? (...a) => It(m?.className(...a), f.className) : It(m?.className, f.className), u = l ? { className: l } : {};
1827
- return Gr(b, Object.assign({}, Ar(b.props, _t($t(f, ["ref"]))), v, p, $a(b.ref, p.ref), u));
1827
+ return Gr(b, Object.assign({}, Fr(b.props, _t($t(f, ["ref"]))), v, p, $a(b.ref, p.ref), u));
1828
1828
  }
1829
1829
  return Qr(i, Object.assign({}, $t(f, ["ref"]), i !== je && p, i !== je && v), b);
1830
1830
  }
@@ -1834,7 +1834,7 @@ function $a(...e) {
1834
1834
  n != null && (typeof n == "function" ? n(t) : n.current = t);
1835
1835
  } };
1836
1836
  }
1837
- function Ar(...e) {
1837
+ function Fr(...e) {
1838
1838
  if (e.length === 0)
1839
1839
  return {};
1840
1840
  if (e.length === 1)
@@ -1987,7 +1987,7 @@ let Qa = { 1(e) {
1987
1987
  let p = o.options.findIndex((b) => !b.dataRef.current.disabled);
1988
1988
  p !== -1 && (o.activeOptionIndex = p);
1989
1989
  }
1990
- let f = Fr(t, { resolveItems: () => o.options, resolveActiveIndex: () => o.activeOptionIndex, resolveId: (p) => p.id, resolveDisabled: (p) => p.dataRef.current.disabled });
1990
+ let f = Ar(t, { resolveItems: () => o.options, resolveActiveIndex: () => o.activeOptionIndex, resolveId: (p) => p.id, resolveDisabled: (p) => p.dataRef.current.disabled });
1991
1991
  return { ...e, ...o, activeOptionIndex: f, activationTrigger: (s = t.trigger) != null ? s : 1 };
1992
1992
  }, 3: (e, t) => {
1993
1993
  var n, r;
@@ -2029,14 +2029,14 @@ function Ja(e, t) {
2029
2029
  let { value: n, defaultValue: r, onChange: i, form: s, name: o, by: f = (O, C) => O === C, disabled: p = !1, __demoMode: b = !1, nullable: v = !1, multiple: m = !1, ...l } = e, [u = m ? [] : void 0, a] = jr(n, i, r), [c, d] = In(Xa, { dataRef: _n(), comboboxState: b ? 0 : 1, options: [], activeOptionIndex: null, activationTrigger: 1, labelId: null }), h = _(!1), I = _({ static: !1, hold: !1 }), w = _(null), g = _(null), R = _(null), E = _(null), j = P(typeof f == "string" ? (O, C) => {
2030
2030
  let $ = f;
2031
2031
  return O?.[$] === C?.[$];
2032
- } : f), F = tt((O) => ie(T.mode, { 1: () => u.some((C) => j(C, O)), 0: () => j(u, O) }), [u]), T = fe(() => ({ ...c, optionsPropsRef: I, labelRef: w, inputRef: g, buttonRef: R, optionsRef: E, value: u, defaultValue: r, disabled: p, mode: m ? 1 : 0, get activeOptionIndex() {
2032
+ } : f), A = tt((O) => ie(T.mode, { 1: () => u.some((C) => j(C, O)), 0: () => j(u, O) }), [u]), T = fe(() => ({ ...c, optionsPropsRef: I, labelRef: w, inputRef: g, buttonRef: R, optionsRef: E, value: u, defaultValue: r, disabled: p, mode: m ? 1 : 0, get activeOptionIndex() {
2033
2033
  if (h.current && c.activeOptionIndex === null && c.options.length > 0) {
2034
2034
  let O = c.options.findIndex((C) => !C.dataRef.current.disabled);
2035
2035
  if (O !== -1)
2036
2036
  return O;
2037
2037
  }
2038
2038
  return c.activeOptionIndex;
2039
- }, compare: j, isSelected: F, nullable: v, __demoMode: b }), [u, r, p, m, v, b, c]), V = _(T.activeOptionIndex !== null ? T.options[T.activeOptionIndex] : null);
2039
+ }, compare: j, isSelected: A, nullable: v, __demoMode: b }), [u, r, p, m, v, b, c]), V = _(T.activeOptionIndex !== null ? T.options[T.activeOptionIndex] : null);
2040
2040
  Y(() => {
2041
2041
  let O = T.activeOptionIndex !== null ? T.options[T.activeOptionIndex] : null;
2042
2042
  V.current !== O && (V.current = O);
@@ -2154,14 +2154,14 @@ function tl(e, t) {
2154
2154
  l.mode === 0 && u.selectActiveOption(), u.closeCombobox();
2155
2155
  break;
2156
2156
  }
2157
- }), F = P((x) => {
2157
+ }), A = P((x) => {
2158
2158
  p?.(x), l.nullable && l.mode === 0 && x.target.value === "" && I(), u.openCombobox();
2159
2159
  }), T = P(() => {
2160
2160
  d.current = !1;
2161
2161
  }), V = ft(() => {
2162
2162
  if (l.labelId)
2163
2163
  return [l.labelId].join(" ");
2164
- }, [l.labelId]), te = fe(() => ({ open: l.comboboxState === 0, disabled: l.disabled }), [l]), G = { ref: a, id: f, role: "combobox", type: v, "aria-controls": (n = l.optionsRef.current) == null ? void 0 : n.id, "aria-expanded": l.comboboxState === 0, "aria-activedescendant": l.activeOptionIndex === null || (r = l.options[l.activeOptionIndex]) == null ? void 0 : r.id, "aria-labelledby": V, "aria-autocomplete": "list", defaultValue: (s = (i = e.defaultValue) != null ? i : l.defaultValue !== void 0 ? b?.(l.defaultValue) : null) != null ? s : l.defaultValue, disabled: l.disabled, onCompositionStart: R, onCompositionEnd: E, onKeyDown: j, onChange: F, onBlur: T };
2164
+ }, [l.labelId]), te = fe(() => ({ open: l.comboboxState === 0, disabled: l.disabled }), [l]), G = { ref: a, id: f, role: "combobox", type: v, "aria-controls": (n = l.optionsRef.current) == null ? void 0 : n.id, "aria-expanded": l.comboboxState === 0, "aria-activedescendant": l.activeOptionIndex === null || (r = l.options[l.activeOptionIndex]) == null ? void 0 : r.id, "aria-labelledby": V, "aria-autocomplete": "list", defaultValue: (s = (i = e.defaultValue) != null ? i : l.defaultValue !== void 0 ? b?.(l.defaultValue) : null) != null ? s : l.defaultValue, disabled: l.disabled, onCompositionStart: R, onCompositionEnd: E, onKeyDown: j, onChange: A, onBlur: T };
2165
2165
  return ke({ ourProps: G, theirProps: m, slot: te, defaultTag: el, name: "Combobox.Input" });
2166
2166
  }
2167
2167
  let nl = "button";
@@ -2240,14 +2240,14 @@ function ul(e, t) {
2240
2240
  ae(() => {
2241
2241
  if (!b.__demoMode)
2242
2242
  return;
2243
- let T = Ae();
2243
+ let T = Fe();
2244
2244
  return T.requestAnimationFrame(() => {
2245
2245
  h.current = !0;
2246
2246
  }), T.dispose;
2247
2247
  }, []), ae(() => {
2248
2248
  if (b.comboboxState !== 0 || !m || !h.current || b.activationTrigger === 0)
2249
2249
  return;
2250
- let T = Ae();
2250
+ let T = Fe();
2251
2251
  return T.requestAnimationFrame(() => {
2252
2252
  var V, te;
2253
2253
  (te = (V = u.current) == null ? void 0 : V.scrollIntoView) == null || te.call(V, { block: "nearest" });
@@ -2268,8 +2268,8 @@ function ul(e, t) {
2268
2268
  g.wasMoved(T) && (o || m || v.goToOption(H.Specific, s, 0));
2269
2269
  }), j = P((T) => {
2270
2270
  g.wasMoved(T) && (o || m && (b.optionsPropsRef.current.hold || v.goToOption(H.Nothing)));
2271
- }), F = fe(() => ({ active: m, selected: l, disabled: o }), [m, l, o]);
2272
- return ke({ ourProps: { id: s, ref: c, role: "option", tabIndex: o === !0 ? void 0 : -1, "aria-disabled": o === !0 ? !0 : void 0, "aria-selected": l, disabled: void 0, onClick: I, onFocus: w, onPointerEnter: R, onMouseEnter: R, onPointerMove: E, onMouseMove: E, onPointerLeave: j, onMouseLeave: j }, theirProps: p, slot: F, defaultTag: cl, name: "Combobox.Option" });
2271
+ }), A = fe(() => ({ active: m, selected: l, disabled: o }), [m, l, o]);
2272
+ return ke({ ourProps: { id: s, ref: c, role: "option", tabIndex: o === !0 ? void 0 : -1, "aria-disabled": o === !0 ? !0 : void 0, "aria-selected": l, disabled: void 0, onClick: I, onFocus: w, onPointerEnter: R, onMouseEnter: R, onPointerMove: E, onMouseMove: E, onPointerLeave: j, onMouseLeave: j }, theirProps: p, slot: A, defaultTag: cl, name: "Combobox.Option" });
2273
2273
  }
2274
2274
  let dl = ge(Ja), fl = ge(rl), pl = ge(tl), bl = ge(ol), vl = ge(sl), ml = ge(ul), ct = Object.assign(dl, { Input: pl, Button: fl, Label: bl, Options: vl, Option: ml });
2275
2275
  function ln() {
@@ -2338,7 +2338,7 @@ let Ol = { 1(e) {
2338
2338
  var n;
2339
2339
  if (e.dataRef.current.disabled || e.listboxState === 1)
2340
2340
  return e;
2341
- let r = jt(e), i = Fr(t, { resolveItems: () => r.options, resolveActiveIndex: () => r.activeOptionIndex, resolveId: (s) => s.id, resolveDisabled: (s) => s.dataRef.current.disabled });
2341
+ let r = jt(e), i = Ar(t, { resolveItems: () => r.options, resolveActiveIndex: () => r.activeOptionIndex, resolveId: (s) => s.id, resolveDisabled: (s) => s.dataRef.current.disabled });
2342
2342
  return { ...e, ...r, searchQuery: "", activeOptionIndex: i, activationTrigger: (n = t.trigger) != null ? n : 1 };
2343
2343
  }, 3: (e, t) => {
2344
2344
  if (e.dataRef.current.disabled || e.listboxState === 1)
@@ -2389,32 +2389,32 @@ function El(e, t) {
2389
2389
  let u = Ee(t), [a = v ? [] : void 0, c] = jr(n, o, r), [d, h] = In(Sl, { dataRef: _n(), listboxState: 1, options: [], searchQuery: "", labelId: null, activeOptionIndex: null, activationTrigger: 1 }), I = _({ static: !1, hold: !1 }), w = _(null), g = _(null), R = _(null), E = P(typeof f == "string" ? (O, C) => {
2390
2390
  let $ = f;
2391
2391
  return O?.[$] === C?.[$];
2392
- } : f), j = tt((O) => ie(F.mode, { 1: () => a.some((C) => E(C, O)), 0: () => E(a, O) }), [a]), F = fe(() => ({ ...d, value: a, disabled: p, mode: v ? 1 : 0, orientation: l, compare: E, isSelected: j, optionsPropsRef: I, labelRef: w, buttonRef: g, optionsRef: R }), [a, p, v, d]);
2392
+ } : f), j = tt((O) => ie(A.mode, { 1: () => a.some((C) => E(C, O)), 0: () => E(a, O) }), [a]), A = fe(() => ({ ...d, value: a, disabled: p, mode: v ? 1 : 0, orientation: l, compare: E, isSelected: j, optionsPropsRef: I, labelRef: w, buttonRef: g, optionsRef: R }), [a, p, v, d]);
2393
2393
  ae(() => {
2394
- d.dataRef.current = F;
2395
- }, [F]), Lr([F.buttonRef, F.optionsRef], (O, C) => {
2394
+ d.dataRef.current = A;
2395
+ }, [A]), Lr([A.buttonRef, A.optionsRef], (O, C) => {
2396
2396
  var $;
2397
- h({ type: 1 }), Pr(C, Jt.Loose) || (O.preventDefault(), ($ = F.buttonRef.current) == null || $.focus());
2398
- }, F.listboxState === 0);
2399
- let T = fe(() => ({ open: F.listboxState === 0, disabled: p, value: a }), [F, p, a]), V = P((O) => {
2400
- let C = F.options.find(($) => $.id === O);
2397
+ h({ type: 1 }), Pr(C, Jt.Loose) || (O.preventDefault(), ($ = A.buttonRef.current) == null || $.focus());
2398
+ }, A.listboxState === 0);
2399
+ let T = fe(() => ({ open: A.listboxState === 0, disabled: p, value: a }), [A, p, a]), V = P((O) => {
2400
+ let C = A.options.find(($) => $.id === O);
2401
2401
  C && M(C.dataRef.current.value);
2402
2402
  }), te = P(() => {
2403
- if (F.activeOptionIndex !== null) {
2404
- let { dataRef: O, id: C } = F.options[F.activeOptionIndex];
2403
+ if (A.activeOptionIndex !== null) {
2404
+ let { dataRef: O, id: C } = A.options[A.activeOptionIndex];
2405
2405
  M(O.current.value), h({ type: 2, focus: H.Specific, id: C });
2406
2406
  }
2407
- }), G = P(() => h({ type: 0 })), x = P(() => h({ type: 1 })), Z = P((O, C, $) => O === H.Specific ? h({ type: 2, focus: H.Specific, id: C, trigger: $ }) : h({ type: 2, focus: O, trigger: $ })), ne = P((O, C) => (h({ type: 5, id: O, dataRef: C }), () => h({ type: 6, id: O }))), le = P((O) => (h({ type: 7, id: O }), () => h({ type: 7, id: null }))), M = P((O) => ie(F.mode, { 0() {
2407
+ }), G = P(() => h({ type: 0 })), x = P(() => h({ type: 1 })), Z = P((O, C, $) => O === H.Specific ? h({ type: 2, focus: H.Specific, id: C, trigger: $ }) : h({ type: 2, focus: O, trigger: $ })), ne = P((O, C) => (h({ type: 5, id: O, dataRef: C }), () => h({ type: 6, id: O }))), le = P((O) => (h({ type: 7, id: O }), () => h({ type: 7, id: null }))), M = P((O) => ie(A.mode, { 0() {
2408
2408
  return c?.(O);
2409
2409
  }, 1() {
2410
- let C = F.value.slice(), $ = C.findIndex((be) => E(be, O));
2410
+ let C = A.value.slice(), $ = C.findIndex((be) => E(be, O));
2411
2411
  return $ === -1 ? C.push(O) : C.splice($, 1), c?.(C);
2412
2412
  } })), oe = P((O) => h({ type: 3, value: O })), J = P(() => h({ type: 4 })), q = fe(() => ({ onChange: M, registerOption: ne, registerLabel: le, goToOption: Z, closeListbox: x, openListbox: G, selectActiveOption: te, selectOption: V, search: oe, clearSearch: J }), []), ue = { ref: u }, se = _(null), re = Ve();
2413
2413
  return Y(() => {
2414
2414
  se.current && r !== void 0 && re.addEventListener(se.current, "reset", () => {
2415
2415
  c?.(r);
2416
2416
  });
2417
- }, [se, c]), ee.createElement(sn.Provider, { value: q }, ee.createElement(cn.Provider, { value: F }, ee.createElement(rn, { value: ie(F.listboxState, { 0: pe.Open, 1: pe.Closed }) }, s != null && a != null && en({ [s]: a }).map(([O, C], $) => ee.createElement(Wr, { features: tn.Hidden, ref: $ === 0 ? (be) => {
2417
+ }, [se, c]), ee.createElement(sn.Provider, { value: q }, ee.createElement(cn.Provider, { value: A }, ee.createElement(rn, { value: ie(A.listboxState, { 0: pe.Open, 1: pe.Closed }) }, s != null && a != null && en({ [s]: a }).map(([O, C], $) => ee.createElement(Wr, { features: tn.Hidden, ref: $ === 0 ? (be) => {
2418
2418
  var Ce;
2419
2419
  se.current = (Ce = be?.closest("form")) != null ? Ce : null;
2420
2420
  } : void 0, ..._t({ key: O, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: i, name: O, value: C }) })), ke({ ourProps: ue, theirProps: m, slot: T, defaultTag: Tl, name: "Listbox" }))));
@@ -2485,7 +2485,7 @@ function Nl(e, t) {
2485
2485
  let { dataRef: I } = o.options[o.activeOptionIndex];
2486
2486
  f.onChange(I.current.value);
2487
2487
  }
2488
- o.mode === 0 && (f.closeListbox(), Ae().nextFrame(() => {
2488
+ o.mode === 0 && (f.closeListbox(), Fe().nextFrame(() => {
2489
2489
  var I;
2490
2490
  return (I = o.buttonRef.current) == null ? void 0 : I.focus({ preventScroll: !0 });
2491
2491
  }));
@@ -2518,24 +2518,24 @@ function Nl(e, t) {
2518
2518
  }, [o.labelRef.current, o.buttonRef.current]), c = fe(() => ({ open: o.listboxState === 0 }), [o]), d = { "aria-activedescendant": o.activeOptionIndex === null || (n = o.options[o.activeOptionIndex]) == null ? void 0 : n.id, "aria-multiselectable": o.mode === 1 ? !0 : void 0, "aria-labelledby": a, "aria-orientation": o.orientation, id: i, onKeyDown: u, role: "listbox", tabIndex: 0, ref: p };
2519
2519
  return ke({ ourProps: d, theirProps: s, slot: c, defaultTag: Rl, features: Ll, visible: l, name: "Listbox.Options" });
2520
2520
  }
2521
- let Fl = "li";
2522
- function Al(e, t) {
2521
+ let Al = "li";
2522
+ function Fl(e, t) {
2523
2523
  let n = Be(), { id: r = `headlessui-listbox-option-${n}`, disabled: i = !1, value: s, ...o } = e, f = vt("Listbox.Option"), p = bt("Listbox.Option"), b = f.activeOptionIndex !== null ? f.options[f.activeOptionIndex].id === r : !1, v = f.isSelected(s), m = _(null), l = wl(m), u = _e({ disabled: i, value: s, domRef: m, get textValue() {
2524
2524
  return l();
2525
2525
  } }), a = Ee(t, m);
2526
2526
  ae(() => {
2527
2527
  if (f.listboxState !== 0 || !b || f.activationTrigger === 0)
2528
2528
  return;
2529
- let E = Ae();
2529
+ let E = Fe();
2530
2530
  return E.requestAnimationFrame(() => {
2531
- var j, F;
2532
- (F = (j = m.current) == null ? void 0 : j.scrollIntoView) == null || F.call(j, { block: "nearest" });
2531
+ var j, A;
2532
+ (A = (j = m.current) == null ? void 0 : j.scrollIntoView) == null || A.call(j, { block: "nearest" });
2533
2533
  }), E.dispose;
2534
2534
  }, [m, b, f.listboxState, f.activationTrigger, f.activeOptionIndex]), ae(() => p.registerOption(r, u), [u, r]);
2535
2535
  let c = P((E) => {
2536
2536
  if (i)
2537
2537
  return E.preventDefault();
2538
- p.onChange(s), f.mode === 0 && (p.closeListbox(), Ae().nextFrame(() => {
2538
+ p.onChange(s), f.mode === 0 && (p.closeListbox(), Fe().nextFrame(() => {
2539
2539
  var j;
2540
2540
  return (j = f.buttonRef.current) == null ? void 0 : j.focus({ preventScroll: !0 });
2541
2541
  }));
@@ -2548,9 +2548,9 @@ function Al(e, t) {
2548
2548
  }), g = P((E) => {
2549
2549
  h.wasMoved(E) && (i || b && p.goToOption(H.Nothing));
2550
2550
  }), R = fe(() => ({ active: b, selected: v, disabled: i }), [b, v, i]);
2551
- return ke({ ourProps: { id: r, ref: a, role: "option", tabIndex: i === !0 ? void 0 : -1, "aria-disabled": i === !0 ? !0 : void 0, "aria-selected": v, disabled: void 0, onClick: c, onFocus: d, onPointerEnter: I, onMouseEnter: I, onPointerMove: w, onMouseMove: w, onPointerLeave: g, onMouseLeave: g }, theirProps: o, slot: R, defaultTag: Fl, name: "Listbox.Option" });
2551
+ return ke({ ourProps: { id: r, ref: a, role: "option", tabIndex: i === !0 ? void 0 : -1, "aria-disabled": i === !0 ? !0 : void 0, "aria-selected": v, disabled: void 0, onClick: c, onFocus: d, onPointerEnter: I, onMouseEnter: I, onPointerMove: w, onMouseMove: w, onPointerLeave: g, onMouseLeave: g }, theirProps: o, slot: R, defaultTag: Al, name: "Listbox.Option" });
2552
2552
  }
2553
- let Dl = ge(El), Ml = ge(_l), $l = ge(Pl), Wl = ge(Nl), jl = ge(Al), Ct = Object.assign(Dl, { Button: Ml, Label: $l, Options: Wl, Option: jl });
2553
+ let Dl = ge(El), Ml = ge(_l), $l = ge(Pl), Wl = ge(Nl), jl = ge(Fl), Ct = Object.assign(Dl, { Button: Ml, Label: $l, Options: Wl, Option: jl });
2554
2554
  function Vl(e = 0) {
2555
2555
  let [t, n] = K(e), r = ln(), i = tt((p) => {
2556
2556
  r.current && n((b) => b | p);
@@ -2575,7 +2575,7 @@ function Bt(e, ...t) {
2575
2575
  e && t.length > 0 && e.classList.remove(...t);
2576
2576
  }
2577
2577
  function Ul(e, t) {
2578
- let n = Ae();
2578
+ let n = Fe();
2579
2579
  if (!e)
2580
2580
  return n.dispose;
2581
2581
  let { transitionDuration: r, transitionDelay: i } = getComputedStyle(e), [s, o] = [r, i].map((p) => {
@@ -2598,7 +2598,7 @@ function Ul(e, t) {
2598
2598
  return n.add(() => t()), n.dispose;
2599
2599
  }
2600
2600
  function Hl(e, t, n, r) {
2601
- let i = n ? "enter" : "leave", s = Ae(), o = r !== void 0 ? Bl(r) : () => {
2601
+ let i = n ? "enter" : "leave", s = Fe(), o = r !== void 0 ? Bl(r) : () => {
2602
2602
  };
2603
2603
  i === "enter" && (e.removeAttribute("hidden"), e.style.display = "");
2604
2604
  let f = ie(i, { enter: () => t.enter, leave: () => t.leave }), p = ie(i, { enter: () => t.enterTo, leave: () => t.leaveTo }), b = ie(i, { enter: () => t.enterFrom, leave: () => t.leaveFrom });
@@ -2611,7 +2611,7 @@ function zl({ immediate: e, container: t, direction: n, classes: r, onStart: i,
2611
2611
  ae(() => {
2612
2612
  e && (p.current = "enter");
2613
2613
  }, [e]), ae(() => {
2614
- let b = Ae();
2614
+ let b = Fe();
2615
2615
  f.add(b.dispose);
2616
2616
  let v = t.current;
2617
2617
  if (v && p.current !== "idle" && o.current)
@@ -2633,15 +2633,15 @@ function Kl() {
2633
2633
  return e;
2634
2634
  }
2635
2635
  function Yl() {
2636
- let e = Ye(Ft);
2636
+ let e = Ye(At);
2637
2637
  if (e === null)
2638
2638
  throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
2639
2639
  return e;
2640
2640
  }
2641
- let Ft = Je(null);
2642
- Ft.displayName = "NestingContext";
2643
- function At(e) {
2644
- return "children" in e ? At(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
2641
+ let At = Je(null);
2642
+ At.displayName = "NestingContext";
2643
+ function Ft(e) {
2644
+ return "children" in e ? Ft(e.children) : e.current.filter(({ el: t }) => t.current !== null).filter(({ state: t }) => t === "visible").length > 0;
2645
2645
  }
2646
2646
  function Br(e, t) {
2647
2647
  let n = _e(e), r = _([]), i = ln(), s = Ve(), o = P((u, a = qe.Hidden) => {
@@ -2652,7 +2652,7 @@ function Br(e, t) {
2652
2652
  r.current[c].state = "hidden";
2653
2653
  } }), s.microTask(() => {
2654
2654
  var d;
2655
- !At(r) && i.current && ((d = n.current) == null || d.call(n));
2655
+ !Ft(r) && i.current && ((d = n.current) == null || d.call(n));
2656
2656
  }));
2657
2657
  }), f = P((u) => {
2658
2658
  let a = r.current.find(({ el: c }) => c === u);
@@ -2690,7 +2690,7 @@ function Xl(e) {
2690
2690
  let Zl = "div", Ur = rt.RenderStrategy;
2691
2691
  function Jl(e, t) {
2692
2692
  var n, r;
2693
- let { beforeEnter: i, afterEnter: s, beforeLeave: o, afterLeave: f, enter: p, enterFrom: b, enterTo: v, entered: m, leave: l, leaveFrom: u, leaveTo: a, ...c } = e, d = _(null), h = Ee(d, t), I = (n = c.unmount) == null || n ? qe.Unmount : qe.Hidden, { show: w, appear: g, initial: R } = Kl(), [E, j] = K(w ? "visible" : "hidden"), F = Yl(), { register: T, unregister: V } = F;
2693
+ let { beforeEnter: i, afterEnter: s, beforeLeave: o, afterLeave: f, enter: p, enterFrom: b, enterTo: v, entered: m, leave: l, leaveFrom: u, leaveTo: a, ...c } = e, d = _(null), h = Ee(d, t), I = (n = c.unmount) == null || n ? qe.Unmount : qe.Hidden, { show: w, appear: g, initial: R } = Kl(), [E, j] = K(w ? "visible" : "hidden"), A = Yl(), { register: T, unregister: V } = A;
2694
2694
  Y(() => T(d), [T, d]), Y(() => {
2695
2695
  if (I === qe.Hidden && d.current) {
2696
2696
  if (w && E !== "visible") {
@@ -2717,14 +2717,14 @@ function Jl(e, t) {
2717
2717
  }, idle: () => {
2718
2718
  } })), q = Br(() => {
2719
2719
  j("hidden"), V(d);
2720
- }, F);
2720
+ }, A);
2721
2721
  zl({ immediate: ne, container: d, classes: te, direction: le, onStart: _e((re) => {
2722
2722
  q.onStart(d, re, oe);
2723
2723
  }), onStop: _e((re) => {
2724
- q.onStop(d, re, J), re === "leave" && !At(q) && (j("hidden"), V(d));
2724
+ q.onStop(d, re, J), re === "leave" && !Ft(q) && (j("hidden"), V(d));
2725
2725
  }) });
2726
2726
  let ue = c, se = { ref: h };
2727
- return ne ? ue = { ...ue, className: It(c.className, ...te.current.enter, ...te.current.enterFrom) } : (ue.className = It(c.className, (r = d.current) == null ? void 0 : r.className), ue.className === "" && delete ue.className), ee.createElement(Ft.Provider, { value: q }, ee.createElement(rn, { value: ie(E, { visible: pe.Open, hidden: pe.Closed }) | M.flags }, ke({ ourProps: se, theirProps: ue, defaultTag: Zl, features: Ur, visible: E === "visible", name: "Transition.Child" })));
2727
+ return ne ? ue = { ...ue, className: It(c.className, ...te.current.enter, ...te.current.enterFrom) } : (ue.className = It(c.className, (r = d.current) == null ? void 0 : r.className), ue.className === "" && delete ue.className), ee.createElement(At.Provider, { value: q }, ee.createElement(rn, { value: ie(E, { visible: pe.Open, hidden: pe.Closed }) | M.flags }, ke({ ourProps: se, theirProps: ue, defaultTag: Zl, features: Ur, visible: E === "visible", name: "Transition.Child" })));
2728
2728
  }
2729
2729
  function es(e, t) {
2730
2730
  let { show: n, appear: r = !1, unmount: i = !0, ...s } = e, o = _(null), f = Ee(o, t);
@@ -2742,7 +2742,7 @@ function es(e, t) {
2742
2742
  Y(() => {
2743
2743
  if (n)
2744
2744
  v("visible");
2745
- else if (!At(m))
2745
+ else if (!Ft(m))
2746
2746
  v("hidden");
2747
2747
  else {
2748
2748
  let w = o.current;
@@ -2759,7 +2759,7 @@ function es(e, t) {
2759
2759
  var w;
2760
2760
  l && u(!1), (w = e.beforeLeave) == null || w.call(e);
2761
2761
  });
2762
- return ee.createElement(Ft.Provider, { value: m }, ee.createElement(Nt.Provider, { value: c }, ke({ ourProps: { ...d, as: je, children: ee.createElement(Hr, { ref: f, ...d, ...s, beforeEnter: h, beforeLeave: I }) }, theirProps: {}, defaultTag: je, features: Ur, visible: b === "visible", name: "Transition" })));
2762
+ return ee.createElement(At.Provider, { value: m }, ee.createElement(Nt.Provider, { value: c }, ke({ ourProps: { ...d, as: je, children: ee.createElement(Hr, { ref: f, ...d, ...s, beforeEnter: h, beforeLeave: I }) }, theirProps: {}, defaultTag: je, features: Ur, visible: b === "visible", name: "Transition" })));
2763
2763
  }
2764
2764
  function ts(e, t) {
2765
2765
  let n = Ye(Nt) !== null, r = Lt() !== null;
@@ -2805,11 +2805,11 @@ const is = We.forwardRef(rs), qr = is, ws = ({ children: e, selected: t, onSelec
2805
2805
  if (p.current) {
2806
2806
  const R = p.current.getBoundingClientRect();
2807
2807
  setTimeout(() => {
2808
- const E = b?.current?.getBoundingClientRect(), j = w(), F = l.current - R.bottom;
2808
+ const E = b?.current?.getBoundingClientRect(), j = w(), A = l.current - R.bottom;
2809
2809
  let T;
2810
2810
  if (E) {
2811
2811
  const V = R.height, te = R.top, G = E.height, x = G > te + window.scrollY;
2812
- te < G && (x || x && F < G || j > G || F > G) || te > G && F > G ? T = R.y + V : T = R.y - G, m({
2812
+ te < G && (x || x && A < G || j > G || A > G) || te > G && A > G ? T = R.y + V : T = R.y - G, m({
2813
2813
  left: R.left,
2814
2814
  top: T ?? R.top
2815
2815
  });
@@ -2928,7 +2928,7 @@ const xs = ({
2928
2928
  }), []);
2929
2929
  const j = (x) => {
2930
2930
  n(x), V();
2931
- }, F = () => {
2931
+ }, A = () => {
2932
2932
  E(), v(!0), f.current && t && (f.current.value = t.label || ""), f.current && p.current && (s && (f.current.value = "", r("")), p.current.click());
2933
2933
  }, T = (x) => (V(), x?.label), V = () => {
2934
2934
  const x = f.current;
@@ -2961,7 +2961,7 @@ const xs = ({
2961
2961
  onChange: (Z) => {
2962
2962
  r(Z.target.value), E();
2963
2963
  },
2964
- onClick: F,
2964
+ onClick: A,
2965
2965
  onFocus: te,
2966
2966
  onBlur: G,
2967
2967
  onKeyDown: (Z) => {
@@ -3031,7 +3031,7 @@ const xs = ({
3031
3031
  children: /* @__PURE__ */ k(ct.Options, { className: "tw-max-h-[210px] tw-w-full tw-overflow-auto tw-bg-white tw-pb-[10px] tw-pt-[10px] tw-text-base tw-shadow-[0_1px_6px_0_rgba(0,0,0,0.5)] focus:tw-outline-none sm:tw-text-sm [&::-webkit-scrollbar-thumb]:tw-rounded-md [&::-webkit-scrollbar-thumb]:tw-bg-[#a9a9a9] [&::-webkit-scrollbar]:tw-w-[6px]", children: e })
3032
3032
  }
3033
3033
  ), as = Ke((e, t) => /* @__PURE__ */ k(ct.Option, { ref: t, className: e.className, value: e.value, disabled: e.disable, children: e.children }));
3034
- as.displayName = "Option";
3034
+ as.displayName = "AutoCompleteOption";
3035
3035
  const ls = "_textInputWrapper_gym4n_1", ss = "_textInput_gym4n_1", En = {
3036
3036
  textInputWrapper: ls,
3037
3037
  textInput: ss
@@ -3067,13 +3067,13 @@ const ls = "_textInputWrapper_gym4n_1", ss = "_textInput_gym4n_1", En = {
3067
3067
  );
3068
3068
  export {
3069
3069
  xs as AutoComplete,
3070
+ as as AutoCompleteOption,
3071
+ ys as AutoCompleteOptions,
3070
3072
  Cn as Button,
3071
3073
  Pn as Checkbox,
3072
3074
  De as ColorsService,
3073
3075
  ps as MultiLineInput,
3074
3076
  bs as MultiSelect,
3075
- as as Option,
3076
- ys as Options,
3077
3077
  vs as QuickMultiSelect,
3078
3078
  ms as QuickSelect,
3079
3079
  Sa as Scrollbar,