@react-hive/honey-layout 11.2.0 → 12.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import type { RefObject } from 'react';
2
- import type { Nullable } from '../types';
2
+ import type { Nullable } from '~/types';
3
3
  /**
4
4
  * Invoked when a drag gesture is about to start.
5
5
  *
@@ -20,14 +20,14 @@ import type { Nullable } from '../types';
20
20
  * - `true` to allow the drag to begin
21
21
  * - `false` to cancel the drag
22
22
  */
23
- export type HoneyDragOnStartHandler<Element extends HTMLElement> = (draggableElement: Element, e: MouseEvent | TouchEvent) => Promise<boolean>;
23
+ export type UseHoneyDragOnStartHandler<Element extends HTMLElement> = (draggableElement: Element, e: MouseEvent | TouchEvent) => Promise<boolean>;
24
24
  /**
25
25
  * Context describing pointer movement during an active drag gesture.
26
26
  *
27
27
  * All values are expressed in **pixels** and are relative
28
28
  * to the drag start or previous frame as noted.
29
29
  */
30
- export interface HoneyDragMoveContext {
30
+ export interface UseHoneyDragOnMoveContext {
31
31
  /**
32
32
  * Horizontal delta since the previous move event.
33
33
  *
@@ -64,18 +64,18 @@ export interface HoneyDragMoveContext {
64
64
  * @param draggableElement - The element being dragged.
65
65
  *
66
66
  * @returns A function invoked on every pointer move, receiving
67
- * {@link HoneyDragMoveContext}, and resolving to:
67
+ * {@link UseHoneyDragOnMoveContext}, and resolving to:
68
68
  * - `true` to continue dragging
69
69
  * - `false` to stop dragging immediately
70
70
  */
71
- export type HoneyDragOnMoveHandler<Element extends HTMLElement> = (draggableElement: Element) => (context: HoneyDragMoveContext) => Promise<boolean>;
71
+ export type UseHoneyDragOnMoveHandler<Element extends HTMLElement> = (draggableElement: Element) => (context: UseHoneyDragOnMoveContext) => Promise<boolean>;
72
72
  /**
73
73
  * Context describing the final state of a completed drag gesture.
74
74
  *
75
75
  * This context exposes **release velocity**, which is suitable for
76
76
  * inertia, momentum, or decay-based motion systems.
77
77
  */
78
- interface HoneyDragEndContext {
78
+ interface UseHoneyDragOnEndContext {
79
79
  /**
80
80
  * Total horizontal displacement from drag start to release.
81
81
  */
@@ -117,7 +117,7 @@ interface HoneyDragEndContext {
117
117
  *
118
118
  * @returns A promise that resolves when cleanup or follow-up logic completes.
119
119
  */
120
- export type HoneyDragOnEndHandler<Element extends HTMLElement> = (context: HoneyDragEndContext, draggableElement: Element, e: MouseEvent | TouchEvent) => Promise<void>;
120
+ export type UseHoneyDragOnEndHandler<Element extends HTMLElement> = (context: UseHoneyDragOnEndContext, draggableElement: Element, e: MouseEvent | TouchEvent) => Promise<void>;
121
121
  /**
122
122
  * Collection of handlers controlling the lifecycle of a drag gesture.
123
123
  *
@@ -126,7 +126,7 @@ export type HoneyDragOnEndHandler<Element extends HTMLElement> = (context: Honey
126
126
  * - How movement is handled
127
127
  * - What happens when dragging ends
128
128
  */
129
- export interface HoneyDragHandlers<Element extends HTMLElement> {
129
+ export interface UseHoneyDragHandlers<Element extends HTMLElement> {
130
130
  /**
131
131
  * Optional handler triggered when the drag operation starts.
132
132
  * This is useful for capturing the initial state or performing any setup actions before the drag starts.
@@ -135,7 +135,7 @@ export interface HoneyDragHandlers<Element extends HTMLElement> {
135
135
  *
136
136
  * @returns A boolean or Promise resolving to a boolean indicating if the drag should proceed.
137
137
  */
138
- onStartDrag?: HoneyDragOnStartHandler<Element>;
138
+ onStartDrag?: UseHoneyDragOnStartHandler<Element>;
139
139
  /**
140
140
  * Required handler triggered continuously during the drag operation.
141
141
  * This handler is responsible for updating the drag state and typically tracks the element's movement.
@@ -144,7 +144,7 @@ export interface HoneyDragHandlers<Element extends HTMLElement> {
144
144
  *
145
145
  * @returns A boolean or Promise resolving to a boolean indicating whether the drag should continue.
146
146
  */
147
- onMoveDrag: HoneyDragOnMoveHandler<Element>;
147
+ onMoveDrag: UseHoneyDragOnMoveHandler<Element>;
148
148
  /**
149
149
  * Optional handler triggered when the drag operation ends.
150
150
  * This is commonly used for cleanup or finalizing the drag process.
@@ -154,7 +154,7 @@ export interface HoneyDragHandlers<Element extends HTMLElement> {
154
154
  *
155
155
  * @returns A Promise.
156
156
  */
157
- onEndDrag?: HoneyDragOnEndHandler<Element>;
157
+ onEndDrag?: UseHoneyDragOnEndHandler<Element>;
158
158
  }
159
159
  /**
160
160
  * Configuration options controlling drag behavior.
@@ -162,7 +162,7 @@ export interface HoneyDragHandlers<Element extends HTMLElement> {
162
162
  * These options affect lifecycle handling and enable/disable logic,
163
163
  * but do not influence movement physics directly.
164
164
  */
165
- export interface HoneyDragOptions<Element extends HTMLElement> extends HoneyDragHandlers<Element> {
165
+ export interface UseHoneyDragOptions<Element extends HTMLElement> extends UseHoneyDragHandlers<Element> {
166
166
  /**
167
167
  * Controls whether the `onEndDrag` handler is skipped when the drag operation is forcibly stopped.
168
168
  * This can be useful when dragging is interrupted or terminated early due to movement restrictions.
@@ -196,5 +196,5 @@ export interface HoneyDragOptions<Element extends HTMLElement> extends HoneyDrag
196
196
  * @param draggableElementRef - Ref pointing to the draggable element.
197
197
  * @param options - Drag lifecycle handlers and configuration flags.
198
198
  */
199
- export declare const useHoneyDrag: <Element extends HTMLElement>(draggableElementRef: RefObject<Nullable<Element>>, { skipOnEndDragWhenStopped, enabled, onMoveDrag, onStartDrag, onEndDrag, }: HoneyDragOptions<Element>) => void;
199
+ export declare const useHoneyDrag: <Element extends HTMLElement>(draggableElementRef: RefObject<Nullable<Element>>, { skipOnEndDragWhenStopped, enabled, onMoveDrag, onStartDrag, onEndDrag, }: UseHoneyDragOptions<Element>) => void;
200
200
  export {};
@@ -5,4 +5,4 @@
5
5
  *
6
6
  * @returns The context value providing theming utilities and screen state.
7
7
  */
8
- export declare const useHoneyLayout: () => import("../contexts").HoneyLayoutContextValue;
8
+ export declare const useHoneyLayout: () => import("~/contexts").HoneyLayoutContextValue;
@@ -1,5 +1,5 @@
1
1
  import type { HoneyTheme } from '@react-hive/honey-style';
2
- import type { HoneyScreenState } from '../types';
2
+ import type { HoneyScreenState } from '~/types';
3
3
  export interface UseHoneyMediaQueryOptions {
4
4
  /**
5
5
  * Throttle interval (in milliseconds) for the resize event handler.
@@ -1,4 +1,4 @@
1
- import type { HoneyOverlayId, HoneyOverlayEventListenerHandler } from '../types';
1
+ import type { HoneyOverlayId, HoneyOverlayEventListenerHandler } from '~/types';
2
2
  interface UseHoneyOverlayOptions {
3
3
  onKeyUp?: HoneyOverlayEventListenerHandler;
4
4
  }
@@ -26,5 +26,5 @@ interface UseHoneyOverlayOptions {
26
26
  * });
27
27
  * ```
28
28
  */
29
- export declare const useHoneyOverlay: (targetOverlayId: HoneyOverlayId, { onKeyUp }?: UseHoneyOverlayOptions) => import("../types").HoneyActiveOverlay | undefined;
29
+ export declare const useHoneyOverlay: (targetOverlayId: HoneyOverlayId, { onKeyUp }?: UseHoneyOverlayOptions) => import("~/types").HoneyActiveOverlay | undefined;
30
30
  export {};
@@ -1,4 +1,4 @@
1
- interface HoneyRafFrameContext {
1
+ interface UseHoneyRafFrameContext {
2
2
  /**
3
3
  * Immediately terminates the active `requestAnimationFrame` loop.
4
4
  *
@@ -29,9 +29,9 @@ interface HoneyRafFrameContext {
29
29
  * time steps caused by tab backgrounding, visibility changes,
30
30
  * or browser throttling.
31
31
  *
32
- * @param context - RAF lifecycle control context. See {@link HoneyRafFrameContext}.
32
+ * @param context - RAF lifecycle control context. See {@link UseHoneyRafFrameContext}.
33
33
  */
34
- export type HoneyRafFrameHandler = (deltaTimeMs: number, context: HoneyRafFrameContext) => void;
34
+ export type UseHoneyRafOnFrameHandler = (deltaTimeMs: number, context: UseHoneyRafFrameContext) => void;
35
35
  /**
36
36
  * Configuration options for {@link useHoneyRafLoop}.
37
37
  */
@@ -160,5 +160,5 @@ export interface HoneyRafLoopApi {
160
160
  * useHoneyRafLoop(onFrame);
161
161
  * ```
162
162
  */
163
- export declare const useHoneyRafLoop: (onFrame: HoneyRafFrameHandler, { autoStart, resumeOnVisibility, maxDeltaMs, onError, }?: UseHoneyRafLoopOptions) => HoneyRafLoopApi;
163
+ export declare const useHoneyRafLoop: (onFrame: UseHoneyRafOnFrameHandler, { autoStart, resumeOnVisibility, maxDeltaMs, onError, }?: UseHoneyRafLoopOptions) => HoneyRafLoopApi;
164
164
  export {};
@@ -1,7 +1,7 @@
1
1
  import type { RefObject } from 'react';
2
2
  import { Axis } from '@react-hive/honey-utils';
3
3
  import type { Nullable } from '~/types';
4
- import type { HoneyDragHandlers } from './use-honey-drag';
4
+ import type { UseHoneyDragHandlers } from './use-honey-drag';
5
5
  interface ResolveAxisTranslateOptions {
6
6
  /**
7
7
  * Drag delta for the axis (deltaX or deltaY).
@@ -25,7 +25,7 @@ interface ResolveAxisTranslateOptions {
25
25
  overscrollPct: number;
26
26
  }
27
27
  export declare const resolveAxisTranslate: ({ delta, translate, containerSize, overflowSize, overscrollPct, }: ResolveAxisTranslateOptions) => Nullable<number>;
28
- export interface UseHoneySyntheticScrollOptions<Element extends HTMLElement> extends Pick<HoneyDragHandlers<Element>, 'onStartDrag' | 'onEndDrag'> {
28
+ export interface UseHoneySyntheticScrollOptions<Element extends HTMLElement> extends Pick<UseHoneyDragHandlers<Element>, 'onStartDrag' | 'onEndDrag'> {
29
29
  /**
30
30
  * Axis along which synthetic scrolling is enabled.
31
31
  *
@@ -5,7 +5,7 @@
5
5
  * - `countup` — increases time until it reaches `targetTimeMs` (if provided)
6
6
  */
7
7
  type UseHoneyTimerMode = 'countdown' | 'countup';
8
- type UseHoneyTimerEndHandler = () => void;
8
+ type UseHoneyTimerOnEndHandler = () => void;
9
9
  export interface UseHoneyTimerOptions {
10
10
  /**
11
11
  * Initial timer value in milliseconds.
@@ -40,7 +40,7 @@ export interface UseHoneyTimerOptions {
40
40
  /**
41
41
  * Optional callback invoked exactly once when the timer reaches the target time.
42
42
  */
43
- onEnd?: UseHoneyTimerEndHandler;
43
+ onEnd?: UseHoneyTimerOnEndHandler;
44
44
  }
45
45
  /**
46
46
  * Public control API returned by {@link useHoneyTimer}.
@@ -1,4 +1,4 @@
1
- import type { HoneyActiveOverlay, HoneyOverlayConfig, Nullable } from '../types';
1
+ import type { HoneyActiveOverlay, HoneyOverlayConfig, Nullable } from '~/types';
2
2
  /**
3
3
  * A hook for registering and managing an overlay in the layout system.
4
4
  *
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*! For license information please see index.cjs.LICENSE.txt */
2
- (()=>{var e,t,n={182(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Function]",u="[object Object]",c=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a[i]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a[s]=a["[object Map]"]=a["[object Number]"]=a[u]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var f,d,p,m="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,v="object"==typeof self&&self&&self.Object===Object&&self,h=m||v||Function("return this")(),y=t&&!t.nodeType&&t,g=y&&e&&!e.nodeType&&e,b=g&&g.exports===y,w=b&&m.process,x=function(){try{return g&&g.require&&g.require("util").types||w&&w.binding&&w.binding("util")}catch(e){}}(),E=x&&x.isTypedArray,R=Array.prototype,O=Function.prototype,S=Object.prototype,C=h["__core-js_shared__"],k=O.toString,L=S.hasOwnProperty,_=(f=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",P=S.toString,A=k.call(Object),j=RegExp("^"+k.call(L).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=b?h.Buffer:void 0,T=h.Symbol,D=h.Uint8Array,I=(M&&M.allocUnsafe,d=Object.getPrototypeOf,p=Object,function(e){return d(p(e))}),$=Object.create,H=S.propertyIsEnumerable,N=R.splice,F=T?T.toStringTag:void 0,W=function(){try{var e=ue(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),z=M?M.isBuffer:void 0,X=Math.max,Y=Date.now,B=ue(h,"Map"),V=ue(Object,"create"),U=function(){function e(){}return function(t){if(!be(t))return{};if($)return $(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function G(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=this.__data__=new q(e);this.size=t.size}function Z(e,t,n){(void 0!==n&&!de(e[t],n)||void 0===n&&!(t in e))&&te(e,t,n)}function J(e,t,n){var r=e[t];L.call(e,t)&&de(r,n)&&(void 0!==n||t in e)||te(e,t,n)}function ee(e,t){for(var n=e.length;n--;)if(de(e[n][0],t))return n;return-1}function te(e,t,n){"__proto__"==t&&W?W(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}K.prototype.clear=function(){this.__data__=V?V(null):{},this.size=0},K.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},K.prototype.get=function(e){var t=this.__data__;if(V){var n=t[e];return n===r?void 0:n}return L.call(t,e)?t[e]:void 0},K.prototype.has=function(e){var t=this.__data__;return V?void 0!==t[e]:L.call(t,e)},K.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=V&&void 0===t?r:t,this},q.prototype.clear=function(){this.__data__=[],this.size=0},q.prototype.delete=function(e){var t=this.__data__,n=ee(t,e);return!(n<0||(n==t.length-1?t.pop():N.call(t,n,1),--this.size,0))},q.prototype.get=function(e){var t=this.__data__,n=ee(t,e);return n<0?void 0:t[n][1]},q.prototype.has=function(e){return ee(this.__data__,e)>-1},q.prototype.set=function(e,t){var n=this.__data__,r=ee(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},G.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(B||q),string:new K}},G.prototype.delete=function(e){var t=se(this,e).delete(e);return this.size-=t?1:0,t},G.prototype.get=function(e){return se(this,e).get(e)},G.prototype.has=function(e){return se(this,e).has(e)},G.prototype.set=function(e,t){var n=se(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Q.prototype.clear=function(){this.__data__=new q,this.size=0},Q.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Q.prototype.get=function(e){return this.__data__.get(e)},Q.prototype.has=function(e){return this.__data__.has(e)},Q.prototype.set=function(e,t){var n=this.__data__;if(n instanceof q){var r=n.__data__;if(!B||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new G(r)}return n.set(e,t),this.size=n.size,this};function ne(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":F&&F in Object(e)?function(e){var t=L.call(e,F),n=e[F];try{e[F]=void 0;var r=!0}catch(e){}var o=P.call(e);return r&&(t?e[F]=n:delete e[F]),o}(e):function(e){return P.call(e)}(e)}function re(e){return we(e)&&ne(e)==i}function oe(e,t,n,r,o){e!==t&&function(e,t,n){for(var r=-1,o=Object(e),i=n(e),s=i.length;s--;){var u=i[++r];if(!1===t(o[u],u,o))break}}(t,function(i,s){if(o||(o=new Q),be(i))!function(e,t,n,r,o,i,s){var c=ae(e,n),l=ae(t,n),a=s.get(l);if(a)Z(e,n,a);else{var f,d,p,m,v,h=i?i(c,l,n+"",e,t,s):void 0,y=void 0===h;if(y){var g=me(l),b=!g&&he(l),w=!g&&!b&&xe(l);h=l,g||b||w?me(c)?h=c:we(v=c)&&ve(v)?h=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(c):b?(y=!1,h=function(e){return e.slice()}(l)):w?(y=!1,m=new(p=(f=l).buffer).constructor(p.byteLength),new D(m).set(new D(p)),d=m,h=new f.constructor(d,f.byteOffset,f.length)):h=[]:function(e){if(!we(e)||ne(e)!=u)return!1;var t=I(e);if(null===t)return!0;var n=L.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&k.call(n)==A}(l)||pe(l)?(h=c,pe(c)?h=function(e){return function(e,t,n){var r=!n;n||(n={});for(var o=-1,i=t.length;++o<i;){var s=t[o],u=void 0;void 0===u&&(u=e[s]),r?te(n,s,u):J(n,s,u)}return n}(e,Ee(e))}(c):be(c)&&!ye(c)||(h=function(e){return"function"!=typeof e.constructor||le(e)?{}:U(I(e))}(l))):y=!1}y&&(s.set(l,h),o(h,l,r,i,s),s.delete(l)),Z(e,n,h)}}(e,t,s,n,oe,r,o);else{var c=r?r(ae(e,s),i,s+"",e,t,o):void 0;void 0===c&&(c=i),Z(e,s,c)}},Ee)}var ie=W?function(e,t){return W(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Se;function se(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function ue(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!be(e)||function(e){return!!_&&_ in e}(e))&&(ye(e)?j:c).test(function(e){if(null!=e){try{return k.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}function ce(e,t){var n=typeof e;return!!(t=null==t?o:t)&&("number"==n||"symbol"!=n&&l.test(e))&&e>-1&&e%1==0&&e<t}function le(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||S)}function ae(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var fe=function(e){var t=0,n=0;return function(){var r=Y(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ie);function de(e,t){return e===t||e!=e&&t!=t}var pe=re(function(){return arguments}())?re:function(e){return we(e)&&L.call(e,"callee")&&!H.call(e,"callee")},me=Array.isArray;function ve(e){return null!=e&&ge(e.length)&&!ye(e)}var he=z||function(){return!1};function ye(e){if(!be(e))return!1;var t=ne(e);return t==s||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ge(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function be(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function we(e){return null!=e&&"object"==typeof e}var xe=E?function(e){return function(t){return e(t)}}(E):function(e){return we(e)&&ge(e.length)&&!!a[ne(e)]};function Ee(e){return ve(e)?function(e,t){var n=me(e),r=!n&&pe(e),o=!n&&!r&&he(e),i=!n&&!r&&!o&&xe(e),s=n||r||o||i,u=s?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=u.length;for(var l in e)!t&&!L.call(e,l)||s&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ce(l,c))||u.push(l);return u}(e,!0):function(e){if(!be(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=le(e),n=[];for(var r in e)("constructor"!=r||!t&&L.call(e,r))&&n.push(r);return n}(e)}var Re,Oe=(Re=function(e,t,n){oe(e,t,n)},function(e,t){return fe(function(e,t,n){return t=X(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=X(r.length-t,0),s=Array(i);++o<i;)s[o]=r[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=r[o];return u[t]=n(s),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,u)}}(e,t,Se),e+"")}(function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=Re.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!be(n))return!1;var r=typeof t;return!!("number"==r?ve(n)&&ce(t,n.length):"string"==r&&t in n)&&de(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var s=t[n];s&&Re(e,s,n)}return e}));function Se(e){return e}e.exports=Oe},221(e,t,n){"use strict";var r=n(953);function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var s={d:{f:i,r:function(){throw Error(o(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},u=Symbol.for("react.portal"),c=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(o(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:u,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=c.T,n=s.p;try{if(c.T=null,s.p=2,e)return e()}finally{c.T=t,s.p=n,s.d.f()}}},698(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var i in r={},t)"key"!==i&&(r[i]=t[i]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:o,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=o,t.jsxs=o},848(e,t,n){"use strict";e.exports=n(698)},858(e,t,n){var r="Expected a function",o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,a="object"==typeof self&&self&&self.Object===Object&&self,f=l||a||Function("return this")(),d=Object.prototype.toString,p=Math.max,m=Math.min,v=function(){return f.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError(r);return h(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),function(e,t,n){var o,i,s,u,c,l,a=0,f=!1,d=!1,g=!0;if("function"!=typeof e)throw new TypeError(r);function b(t){var n=o,r=i;return o=i=void 0,a=t,u=e.apply(r,n)}function w(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-a>=s}function x(){var e=v();if(w(e))return E(e);c=setTimeout(x,function(e){var n=t-(e-l);return d?m(n,s-(e-a)):n}(e))}function E(e){return c=void 0,g&&o?b(e):(o=i=void 0,u)}function R(){var e=v(),n=w(e);if(o=arguments,i=this,l=e,n){if(void 0===c)return function(e){return a=e,c=setTimeout(x,t),f?b(e):u}(l);if(d)return c=setTimeout(x,t),b(l)}return void 0===c&&(c=setTimeout(x,t)),u}return t=y(t)||0,h(n)&&(f=!!n.leading,s=(d="maxWait"in n)?p(y(n.maxWait)||0,t):s,g="trailing"in n?!!n.trailing:g),R.cancel=function(){void 0!==c&&clearTimeout(c),a=0,o=l=i=c=void 0},R.flush=function(){return void 0===c?u:E(v())},R}(e,t,{leading:o,maxWait:t,trailing:i})}},953(e){"use strict";e.exports=require("react")},961(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(221)}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return n[e](i,i.exports,o),i.loaded=!0,i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var u=2&r&&n;("object"==typeof u||"function"==typeof u)&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach(e=>s[e]=()=>n[e]);return s.default=()=>n,o.d(i,s),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var i={};(()=>{"use strict";o.r(i),o.d(i,{HoneyBox:()=>w,HoneyContextMenu:()=>Qr,HoneyFlex:()=>C,HoneyGrid:()=>M,HoneyGridColumn:()=>D,HoneyGridColumnStyled:()=>A,HoneyLayoutProvider:()=>Zr,HoneyLayoutThemeOverride:()=>to,HoneyLazyContent:()=>F,HoneyList:()=>N,HoneyOverlay:()=>ue,HoneyPopup:()=>Kr,HoneyPopupContext:()=>ce,HoneyStatusContent:()=>$,__DEV__:()=>t,applyBreakpointStyles:()=>y,bpMedia:()=>h,createStyles:()=>v,filterFlattenedItems:()=>O,flattenNestedList:()=>R,generateUniqueId:()=>p,getHoneyListItemId:()=>I,honeyVisibilityTransitionEffect:()=>no,mergeRefs:()=>d,resolveAxisTranslate:()=>Z,resolveScreenState:()=>g,resolveSpacing:()=>ro,searchFlattenedItems:()=>S,useHoneyDecay:()=>ie,useHoneyDocumentKeyUpHandler:()=>V,useHoneyDrag:()=>B,useHoneyGridContext:()=>T,useHoneyLatest:()=>se,useHoneyLayout:()=>K,useHoneyMediaQuery:()=>Y,useHoneyOnChange:()=>W,useHoneyOverlay:()=>G,useHoneyPopup:()=>Br,useHoneyPopupContext:()=>Vr,useHoneyRafLoop:()=>re,useHoneyResize:()=>Q,useHoneySyntheticScroll:()=>ee,useHoneySyntheticScrollX:()=>te,useHoneySyntheticScrollY:()=>ne,useHoneyTimer:()=>oe,useRegisterHoneyOverlay:()=>q,warnOnce:()=>E});const e=require("@react-hive/honey-style"),t=!1;t&&"undefined"!=typeof window&&!process.env.JEST_WORKER_ID&&console.info("[@react-hive/honey-layout]: You are running in development mode. This build is not optimized for production and may include extra checks or logs.");var n={};function r(e,t){if(!e)throw new Error(t)}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const s=e=>"function"==typeof e,u=e=>0===e.length?[]:e.split(" ").filter(Boolean),c=(e,...t)=>"function"==typeof e?e(...t):e,l=e=>Math.max(0,e.scrollWidth-e.clientWidth),a=e=>Math.max(0,e.scrollHeight-e.clientHeight),f=({delta:e,value:t,min:n,max:r})=>{if(0===e)return null;const o=t+e;return e<0?t<=n?null:Math.max(o,n):e>0?t>=r?null:Math.min(o,r):null},d=(...e)=>t=>{e.forEach(e=>{s(e)?e(t):(e=>"object"==typeof e)(e)&&(e.current=t)})},p=()=>`${Date.now().toString()}${Math.floor(1e4*Math.random()).toString().padStart(4,"0")}`,m=e=>"$"===e[0],v=t=>({theme:n,...r})=>e.css`
2
+ (()=>{var e,t,n={182(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Function]",u="[object Object]",c=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a[i]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a[s]=a["[object Map]"]=a["[object Number]"]=a[u]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var f,d,p,m="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,v="object"==typeof self&&self&&self.Object===Object&&self,h=m||v||Function("return this")(),y=t&&!t.nodeType&&t,g=y&&e&&!e.nodeType&&e,b=g&&g.exports===y,w=b&&m.process,x=function(){try{return g&&g.require&&g.require("util").types||w&&w.binding&&w.binding("util")}catch(e){}}(),E=x&&x.isTypedArray,R=Array.prototype,O=Function.prototype,S=Object.prototype,C=h["__core-js_shared__"],k=O.toString,L=S.hasOwnProperty,_=(f=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",P=S.toString,A=k.call(Object),j=RegExp("^"+k.call(L).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=b?h.Buffer:void 0,T=h.Symbol,D=h.Uint8Array,I=(M&&M.allocUnsafe,d=Object.getPrototypeOf,p=Object,function(e){return d(p(e))}),$=Object.create,H=S.propertyIsEnumerable,N=R.splice,F=T?T.toStringTag:void 0,W=function(){try{var e=ue(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),z=M?M.isBuffer:void 0,X=Math.max,Y=Date.now,B=ue(h,"Map"),V=ue(Object,"create"),U=function(){function e(){}return function(t){if(!be(t))return{};if($)return $(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function G(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=this.__data__=new q(e);this.size=t.size}function Z(e,t,n){(void 0!==n&&!de(e[t],n)||void 0===n&&!(t in e))&&te(e,t,n)}function J(e,t,n){var r=e[t];L.call(e,t)&&de(r,n)&&(void 0!==n||t in e)||te(e,t,n)}function ee(e,t){for(var n=e.length;n--;)if(de(e[n][0],t))return n;return-1}function te(e,t,n){"__proto__"==t&&W?W(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}K.prototype.clear=function(){this.__data__=V?V(null):{},this.size=0},K.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},K.prototype.get=function(e){var t=this.__data__;if(V){var n=t[e];return n===r?void 0:n}return L.call(t,e)?t[e]:void 0},K.prototype.has=function(e){var t=this.__data__;return V?void 0!==t[e]:L.call(t,e)},K.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=V&&void 0===t?r:t,this},q.prototype.clear=function(){this.__data__=[],this.size=0},q.prototype.delete=function(e){var t=this.__data__,n=ee(t,e);return!(n<0||(n==t.length-1?t.pop():N.call(t,n,1),--this.size,0))},q.prototype.get=function(e){var t=this.__data__,n=ee(t,e);return n<0?void 0:t[n][1]},q.prototype.has=function(e){return ee(this.__data__,e)>-1},q.prototype.set=function(e,t){var n=this.__data__,r=ee(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},G.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(B||q),string:new K}},G.prototype.delete=function(e){var t=se(this,e).delete(e);return this.size-=t?1:0,t},G.prototype.get=function(e){return se(this,e).get(e)},G.prototype.has=function(e){return se(this,e).has(e)},G.prototype.set=function(e,t){var n=se(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Q.prototype.clear=function(){this.__data__=new q,this.size=0},Q.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Q.prototype.get=function(e){return this.__data__.get(e)},Q.prototype.has=function(e){return this.__data__.has(e)},Q.prototype.set=function(e,t){var n=this.__data__;if(n instanceof q){var r=n.__data__;if(!B||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new G(r)}return n.set(e,t),this.size=n.size,this};function ne(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":F&&F in Object(e)?function(e){var t=L.call(e,F),n=e[F];try{e[F]=void 0;var r=!0}catch(e){}var o=P.call(e);return r&&(t?e[F]=n:delete e[F]),o}(e):function(e){return P.call(e)}(e)}function re(e){return we(e)&&ne(e)==i}function oe(e,t,n,r,o){e!==t&&function(e,t,n){for(var r=-1,o=Object(e),i=n(e),s=i.length;s--;){var u=i[++r];if(!1===t(o[u],u,o))break}}(t,function(i,s){if(o||(o=new Q),be(i))!function(e,t,n,r,o,i,s){var c=ae(e,n),l=ae(t,n),a=s.get(l);if(a)Z(e,n,a);else{var f,d,p,m,v,h=i?i(c,l,n+"",e,t,s):void 0,y=void 0===h;if(y){var g=me(l),b=!g&&he(l),w=!g&&!b&&xe(l);h=l,g||b||w?me(c)?h=c:we(v=c)&&ve(v)?h=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(c):b?(y=!1,h=function(e){return e.slice()}(l)):w?(y=!1,m=new(p=(f=l).buffer).constructor(p.byteLength),new D(m).set(new D(p)),d=m,h=new f.constructor(d,f.byteOffset,f.length)):h=[]:function(e){if(!we(e)||ne(e)!=u)return!1;var t=I(e);if(null===t)return!0;var n=L.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&k.call(n)==A}(l)||pe(l)?(h=c,pe(c)?h=function(e){return function(e,t,n){var r=!n;n||(n={});for(var o=-1,i=t.length;++o<i;){var s=t[o],u=void 0;void 0===u&&(u=e[s]),r?te(n,s,u):J(n,s,u)}return n}(e,Ee(e))}(c):be(c)&&!ye(c)||(h=function(e){return"function"!=typeof e.constructor||le(e)?{}:U(I(e))}(l))):y=!1}y&&(s.set(l,h),o(h,l,r,i,s),s.delete(l)),Z(e,n,h)}}(e,t,s,n,oe,r,o);else{var c=r?r(ae(e,s),i,s+"",e,t,o):void 0;void 0===c&&(c=i),Z(e,s,c)}},Ee)}var ie=W?function(e,t){return W(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Se;function se(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function ue(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!be(e)||function(e){return!!_&&_ in e}(e))&&(ye(e)?j:c).test(function(e){if(null!=e){try{return k.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}function ce(e,t){var n=typeof e;return!!(t=null==t?o:t)&&("number"==n||"symbol"!=n&&l.test(e))&&e>-1&&e%1==0&&e<t}function le(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||S)}function ae(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var fe=function(e){var t=0,n=0;return function(){var r=Y(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ie);function de(e,t){return e===t||e!=e&&t!=t}var pe=re(function(){return arguments}())?re:function(e){return we(e)&&L.call(e,"callee")&&!H.call(e,"callee")},me=Array.isArray;function ve(e){return null!=e&&ge(e.length)&&!ye(e)}var he=z||function(){return!1};function ye(e){if(!be(e))return!1;var t=ne(e);return t==s||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ge(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function be(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function we(e){return null!=e&&"object"==typeof e}var xe=E?function(e){return function(t){return e(t)}}(E):function(e){return we(e)&&ge(e.length)&&!!a[ne(e)]};function Ee(e){return ve(e)?function(e,t){var n=me(e),r=!n&&pe(e),o=!n&&!r&&he(e),i=!n&&!r&&!o&&xe(e),s=n||r||o||i,u=s?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=u.length;for(var l in e)!t&&!L.call(e,l)||s&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ce(l,c))||u.push(l);return u}(e,!0):function(e){if(!be(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=le(e),n=[];for(var r in e)("constructor"!=r||!t&&L.call(e,r))&&n.push(r);return n}(e)}var Re,Oe=(Re=function(e,t,n){oe(e,t,n)},function(e,t){return fe(function(e,t,n){return t=X(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=X(r.length-t,0),s=Array(i);++o<i;)s[o]=r[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=r[o];return u[t]=n(s),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,u)}}(e,t,Se),e+"")}(function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=Re.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!be(n))return!1;var r=typeof t;return!!("number"==r?ve(n)&&ce(t,n.length):"string"==r&&t in n)&&de(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var s=t[n];s&&Re(e,s,n)}return e}));function Se(e){return e}e.exports=Oe},221(e,t,n){"use strict";var r=n(953);function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var s={d:{f:i,r:function(){throw Error(o(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},u=Symbol.for("react.portal"),c=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(o(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:u,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=c.T,n=s.p;try{if(c.T=null,s.p=2,e)return e()}finally{c.T=t,s.p=n,s.d.f()}}},698(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var i in r={},t)"key"!==i&&(r[i]=t[i]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:o,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=o,t.jsxs=o},848(e,t,n){"use strict";e.exports=n(698)},858(e,t,n){var r="Expected a function",o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,a="object"==typeof self&&self&&self.Object===Object&&self,f=l||a||Function("return this")(),d=Object.prototype.toString,p=Math.max,m=Math.min,v=function(){return f.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError(r);return h(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),function(e,t,n){var o,i,s,u,c,l,a=0,f=!1,d=!1,g=!0;if("function"!=typeof e)throw new TypeError(r);function b(t){var n=o,r=i;return o=i=void 0,a=t,u=e.apply(r,n)}function w(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-a>=s}function x(){var e=v();if(w(e))return E(e);c=setTimeout(x,function(e){var n=t-(e-l);return d?m(n,s-(e-a)):n}(e))}function E(e){return c=void 0,g&&o?b(e):(o=i=void 0,u)}function R(){var e=v(),n=w(e);if(o=arguments,i=this,l=e,n){if(void 0===c)return function(e){return a=e,c=setTimeout(x,t),f?b(e):u}(l);if(d)return c=setTimeout(x,t),b(l)}return void 0===c&&(c=setTimeout(x,t)),u}return t=y(t)||0,h(n)&&(f=!!n.leading,s=(d="maxWait"in n)?p(y(n.maxWait)||0,t):s,g="trailing"in n?!!n.trailing:g),R.cancel=function(){void 0!==c&&clearTimeout(c),a=0,o=l=i=c=void 0},R.flush=function(){return void 0===c?u:E(v())},R}(e,t,{leading:o,maxWait:t,trailing:i})}},953(e){"use strict";e.exports=require("react")},961(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(221)}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return n[e](i,i.exports,o),i.loaded=!0,i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var u=2&r&&n;("object"==typeof u||"function"==typeof u)&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach(e=>s[e]=()=>n[e]);return s.default=()=>n,o.d(i,s),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var i={};(()=>{"use strict";o.r(i),o.d(i,{HoneyBox:()=>w,HoneyContextMenu:()=>Qr,HoneyFlex:()=>C,HoneyGrid:()=>M,HoneyGridColumn:()=>D,HoneyGridColumnStyled:()=>A,HoneyLayoutProvider:()=>Zr,HoneyLayoutThemeOverride:()=>to,HoneyLazyContent:()=>F,HoneyList:()=>N,HoneyOverlay:()=>ue,HoneyPopup:()=>Kr,HoneyPopupContext:()=>ce,HoneyStatusContent:()=>$,__DEV__:()=>t,applyBreakpointStyles:()=>y,bpMedia:()=>h,createStyles:()=>v,filterFlattenedItems:()=>O,flattenNestedList:()=>R,generateUniqueId:()=>p,getHoneyListItemId:()=>I,honeyVisibilityTransitionEffect:()=>no,mergeRefs:()=>d,resolveAxisTranslate:()=>Z,resolveScreenState:()=>g,resolveSpacing:()=>ro,searchFlattenedItems:()=>S,useHoneyDecay:()=>ie,useHoneyDocumentKeyUp:()=>V,useHoneyDrag:()=>B,useHoneyGridContext:()=>T,useHoneyLatest:()=>se,useHoneyLayout:()=>K,useHoneyMediaQuery:()=>Y,useHoneyOnChange:()=>W,useHoneyOverlay:()=>G,useHoneyPopup:()=>Br,useHoneyPopupContext:()=>Vr,useHoneyRafLoop:()=>re,useHoneyResize:()=>Q,useHoneySyntheticScroll:()=>ee,useHoneySyntheticScrollX:()=>te,useHoneySyntheticScrollY:()=>ne,useHoneyTimer:()=>oe,useRegisterHoneyOverlay:()=>q,warnOnce:()=>E});const e=require("@react-hive/honey-style"),t=!1;t&&"undefined"!=typeof window&&!process.env.JEST_WORKER_ID&&console.info("[@react-hive/honey-layout]: You are running in development mode. This build is not optimized for production and may include extra checks or logs.");var n={};function r(e,t){if(!e)throw new Error(t)}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const s=e=>"function"==typeof e,u=e=>0===e.length?[]:e.split(" ").filter(Boolean),c=(e,...t)=>"function"==typeof e?e(...t):e,l=e=>Math.max(0,e.scrollWidth-e.clientWidth),a=e=>Math.max(0,e.scrollHeight-e.clientHeight),f=({delta:e,value:t,min:n,max:r})=>{if(0===e)return null;const o=t+e;return e<0?t<=n?null:Math.max(o,n):e>0?t>=r?null:Math.min(o,r):null},d=(...e)=>t=>{e.forEach(e=>{s(e)?e(t):(e=>"object"==typeof e)(e)&&(e.current=t)})},p=()=>`${Date.now().toString()}${Math.floor(1e4*Math.random()).toString().padStart(4,"0")}`,m=e=>"$"===e[0],v=t=>({theme:n,...r})=>e.css`
3
3
  ${((e,t)=>Object.entries(e).filter(([e,n])=>m(e)&&"xs"===t||n&&"object"==typeof n&&t in n))(r,t).map(([n,r])=>{const o=n.slice(1);return e.css`
4
4
  ${(e=>{const t=e.charAt(0),n=e.slice(1);return t.toLowerCase()+n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)})(o)}: ${((t,n,r)=>{const o="object"!=typeof n||Array.isArray(n)?n:n[r];if(void 0!==o){if((t=>e.CSS_SPACING_PROPERTIES.includes(t))(t)){if("number"==typeof o||Array.isArray(o))return(0,e.resolveSpacing)(o,"px")}else if((t=>e.CSS_COLOR_PROPERTIES.includes(t))(t)&&"string"==typeof o&&(0,e.checkIsThemeColorValue)(o))return(0,e.resolveColor)(o);return o}})(o,r,t)};
5
5
  `})}