@fluentui/react-utilities 9.7.1 → 9.7.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.
- package/.swcrc +30 -0
- package/CHANGELOG.json +34 -1
- package/CHANGELOG.md +14 -2
- package/dist/index.d.ts +15 -3
- package/lib/compose/getSlots.js +3 -3
- package/lib/compose/getSlots.js.map +1 -1
- package/lib/compose/index.js.map +1 -1
- package/lib/compose/isResolvedShorthand.js.map +1 -1
- package/lib/compose/resolveShorthand.js.map +1 -1
- package/lib/compose/types.js +1 -1
- package/lib/compose/types.js.map +1 -1
- package/lib/events/index.js.map +1 -1
- package/lib/events/mouseTouchHelpers.js +1 -0
- package/lib/events/mouseTouchHelpers.js.map +1 -1
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/useControllableState.js.map +1 -1
- package/lib/hooks/useEventCallback.js.map +1 -1
- package/lib/hooks/useFirstMount.js.map +1 -1
- package/lib/hooks/useForceUpdate.js.map +1 -1
- package/lib/hooks/useId.js.map +1 -1
- package/lib/hooks/useIsomorphicLayoutEffect.js +1 -2
- package/lib/hooks/useIsomorphicLayoutEffect.js.map +1 -1
- package/lib/hooks/useMergedRefs.js.map +1 -1
- package/lib/hooks/useOnClickOutside.js +16 -9
- package/lib/hooks/useOnClickOutside.js.map +1 -1
- package/lib/hooks/useOnScrollOutside.js +3 -1
- package/lib/hooks/useOnScrollOutside.js.map +1 -1
- package/lib/hooks/usePrevious.js.map +1 -1
- package/lib/hooks/useScrollbarWidth.js.map +1 -1
- package/lib/hooks/useTimeout.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/ssr/SSRContext.js +2 -2
- package/lib/ssr/SSRContext.js.map +1 -1
- package/lib/ssr/canUseDOM.js +1 -2
- package/lib/ssr/canUseDOM.js.map +1 -1
- package/lib/ssr/index.js.map +1 -1
- package/lib/trigger/applyTriggerPropsToChildren.js.map +1 -1
- package/lib/trigger/getTriggerChild.js.map +1 -1
- package/lib/trigger/index.js.map +1 -1
- package/lib/trigger/isFluentTrigger.js +1 -0
- package/lib/trigger/isFluentTrigger.js.map +1 -1
- package/lib/trigger/types.js +1 -1
- package/lib/trigger/types.js.map +1 -1
- package/lib/utils/clamp.js +1 -2
- package/lib/utils/clamp.js.map +1 -1
- package/lib/utils/getNativeElementProps.js +2 -2
- package/lib/utils/getNativeElementProps.js.map +1 -1
- package/lib/utils/getRTLSafeKey.js +1 -2
- package/lib/utils/getRTLSafeKey.js.map +1 -1
- package/lib/utils/getReactCallbackName.js +1 -0
- package/lib/utils/getReactCallbackName.js.map +1 -1
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/isHTMLElement.js +12 -7
- package/lib/utils/isHTMLElement.js.map +1 -1
- package/lib/utils/isInteractiveHTMLElement.js.map +1 -1
- package/lib/utils/mergeCallbacks.js +1 -2
- package/lib/utils/mergeCallbacks.js.map +1 -1
- package/lib/utils/omit.js +1 -2
- package/lib/utils/omit.js.map +1 -1
- package/lib/utils/properties.js +24 -51
- package/lib/utils/properties.js.map +1 -1
- package/lib-commonjs/compose/getSlots.js +48 -55
- package/lib-commonjs/compose/getSlots.js.map +1 -1
- package/lib-commonjs/compose/index.js +8 -7
- package/lib-commonjs/compose/index.js.map +1 -1
- package/lib-commonjs/compose/isResolvedShorthand.js +9 -37
- package/lib-commonjs/compose/isResolvedShorthand.js.map +1 -1
- package/lib-commonjs/compose/resolveShorthand.js +25 -32
- package/lib-commonjs/compose/resolveShorthand.js.map +1 -1
- package/lib-commonjs/compose/types.js +5 -2
- package/lib-commonjs/compose/types.js.map +1 -1
- package/lib-commonjs/events/index.js +5 -4
- package/lib-commonjs/events/index.js.map +1 -1
- package/lib-commonjs/events/mouseTouchHelpers.js +40 -37
- package/lib-commonjs/events/mouseTouchHelpers.js.map +1 -1
- package/lib-commonjs/hooks/index.js +16 -15
- package/lib-commonjs/hooks/index.js.map +1 -1
- package/lib-commonjs/hooks/useControllableState.js +63 -64
- package/lib-commonjs/hooks/useControllableState.js.map +1 -1
- package/lib-commonjs/hooks/useEventCallback.js +25 -31
- package/lib-commonjs/hooks/useEventCallback.js.map +1 -1
- package/lib-commonjs/hooks/useFirstMount.js +15 -23
- package/lib-commonjs/hooks/useFirstMount.js.map +1 -1
- package/lib-commonjs/hooks/useForceUpdate.js +9 -11
- package/lib-commonjs/hooks/useForceUpdate.js.map +1 -1
- package/lib-commonjs/hooks/useId.js +47 -46
- package/lib-commonjs/hooks/useId.js.map +1 -1
- package/lib-commonjs/hooks/useIsomorphicLayoutEffect.js +10 -16
- package/lib-commonjs/hooks/useIsomorphicLayoutEffect.js.map +1 -1
- package/lib-commonjs/hooks/useMergedRefs.js +25 -27
- package/lib-commonjs/hooks/useMergedRefs.js.map +1 -1
- package/lib-commonjs/hooks/useOnClickOutside.js +118 -114
- package/lib-commonjs/hooks/useOnClickOutside.js.map +1 -1
- package/lib-commonjs/hooks/useOnScrollOutside.js +35 -36
- package/lib-commonjs/hooks/useOnScrollOutside.js.map +1 -1
- package/lib-commonjs/hooks/usePrevious.js +17 -15
- package/lib-commonjs/hooks/usePrevious.js.map +1 -1
- package/lib-commonjs/hooks/useScrollbarWidth.js +32 -32
- package/lib-commonjs/hooks/useScrollbarWidth.js.map +1 -1
- package/lib-commonjs/hooks/useTimeout.js +30 -30
- package/lib-commonjs/hooks/useTimeout.js.map +1 -1
- package/lib-commonjs/index.js +52 -214
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/ssr/SSRContext.js +57 -59
- package/lib-commonjs/ssr/SSRContext.js.map +1 -1
- package/lib-commonjs/ssr/canUseDOM.js +12 -12
- package/lib-commonjs/ssr/canUseDOM.js.map +1 -1
- package/lib-commonjs/ssr/index.js +6 -5
- package/lib-commonjs/ssr/index.js.map +1 -1
- package/lib-commonjs/trigger/applyTriggerPropsToChildren.js +29 -31
- package/lib-commonjs/trigger/applyTriggerPropsToChildren.js.map +1 -1
- package/lib-commonjs/trigger/getTriggerChild.js +16 -36
- package/lib-commonjs/trigger/getTriggerChild.js.map +1 -1
- package/lib-commonjs/trigger/index.js +8 -7
- package/lib-commonjs/trigger/index.js.map +1 -1
- package/lib-commonjs/trigger/isFluentTrigger.js +10 -11
- package/lib-commonjs/trigger/isFluentTrigger.js.map +1 -1
- package/lib-commonjs/trigger/types.js +5 -2
- package/lib-commonjs/trigger/types.js.map +1 -1
- package/lib-commonjs/utils/clamp.js +10 -9
- package/lib-commonjs/utils/clamp.js.map +1 -1
- package/lib-commonjs/utils/getNativeElementProps.js +54 -61
- package/lib-commonjs/utils/getNativeElementProps.js.map +1 -1
- package/lib-commonjs/utils/getRTLSafeKey.js +22 -21
- package/lib-commonjs/utils/getRTLSafeKey.js.map +1 -1
- package/lib-commonjs/utils/getReactCallbackName.js +24 -24
- package/lib-commonjs/utils/getReactCallbackName.js.map +1 -1
- package/lib-commonjs/utils/index.js +12 -11
- package/lib-commonjs/utils/index.js.map +1 -1
- package/lib-commonjs/utils/isHTMLElement.js +22 -15
- package/lib-commonjs/utils/isHTMLElement.js.map +1 -1
- package/lib-commonjs/utils/isInteractiveHTMLElement.js +20 -24
- package/lib-commonjs/utils/isInteractiveHTMLElement.js.map +1 -1
- package/lib-commonjs/utils/mergeCallbacks.js +14 -13
- package/lib-commonjs/utils/mergeCallbacks.js.map +1 -1
- package/lib-commonjs/utils/omit.js +18 -17
- package/lib-commonjs/utils/omit.js.map +1 -1
- package/lib-commonjs/utils/properties.js +327 -223
- package/lib-commonjs/utils/properties.js.map +1 -1
- package/package.json +5 -4
- package/lib-amd/compose/getSlots.js +0 -58
- package/lib-amd/compose/getSlots.js.map +0 -1
- package/lib-amd/compose/index.js +0 -9
- package/lib-amd/compose/index.js.map +0 -1
- package/lib-amd/compose/isResolvedShorthand.js +0 -40
- package/lib-amd/compose/isResolvedShorthand.js.map +0 -1
- package/lib-amd/compose/resolveShorthand.js +0 -27
- package/lib-amd/compose/resolveShorthand.js.map +0 -1
- package/lib-amd/compose/types.js +0 -5
- package/lib-amd/compose/types.js.map +0 -1
- package/lib-amd/events/index.js +0 -6
- package/lib-amd/events/index.js.map +0 -1
- package/lib-amd/events/mouseTouchHelpers.js +0 -39
- package/lib-amd/events/mouseTouchHelpers.js.map +0 -1
- package/lib-amd/hooks/index.js +0 -17
- package/lib-amd/hooks/index.js.map +0 -1
- package/lib-amd/hooks/useControllableState.js +0 -81
- package/lib-amd/hooks/useControllableState.js.map +0 -1
- package/lib-amd/hooks/useEventCallback.js +0 -36
- package/lib-amd/hooks/useEventCallback.js.map +0 -1
- package/lib-amd/hooks/useFirstMount.js +0 -26
- package/lib-amd/hooks/useFirstMount.js.map +0 -1
- package/lib-amd/hooks/useForceUpdate.js +0 -14
- package/lib-amd/hooks/useForceUpdate.js.map +0 -1
- package/lib-amd/hooks/useId.js +0 -54
- package/lib-amd/hooks/useId.js.map +0 -1
- package/lib-amd/hooks/useIsomorphicLayoutEffect.js +0 -17
- package/lib-amd/hooks/useIsomorphicLayoutEffect.js.map +0 -1
- package/lib-amd/hooks/useMergedRefs.js +0 -34
- package/lib-amd/hooks/useMergedRefs.js.map +0 -1
- package/lib-amd/hooks/useOnClickOutside.js +0 -114
- package/lib-amd/hooks/useOnClickOutside.js.map +0 -1
- package/lib-amd/hooks/useOnScrollOutside.js +0 -31
- package/lib-amd/hooks/useOnScrollOutside.js.map +0 -1
- package/lib-amd/hooks/usePrevious.js +0 -17
- package/lib-amd/hooks/usePrevious.js.map +0 -1
- package/lib-amd/hooks/useScrollbarWidth.js +0 -32
- package/lib-amd/hooks/useScrollbarWidth.js.map +0 -1
- package/lib-amd/hooks/useTimeout.js +0 -33
- package/lib-amd/hooks/useTimeout.js.map +0 -1
- package/lib-amd/index.js +0 -40
- package/lib-amd/index.js.map +0 -1
- package/lib-amd/ssr/SSRContext.js +0 -69
- package/lib-amd/ssr/SSRContext.js.map +0 -1
- package/lib-amd/ssr/canUseDOM.js +0 -16
- package/lib-amd/ssr/canUseDOM.js.map +0 -1
- package/lib-amd/ssr/index.js +0 -7
- package/lib-amd/ssr/index.js.map +0 -1
- package/lib-amd/trigger/applyTriggerPropsToChildren.js +0 -40
- package/lib-amd/trigger/applyTriggerPropsToChildren.js.map +0 -1
- package/lib-amd/trigger/getTriggerChild.js +0 -40
- package/lib-amd/trigger/getTriggerChild.js.map +0 -1
- package/lib-amd/trigger/index.js +0 -9
- package/lib-amd/trigger/index.js.map +0 -1
- package/lib-amd/trigger/isFluentTrigger.js +0 -15
- package/lib-amd/trigger/isFluentTrigger.js.map +0 -1
- package/lib-amd/trigger/types.js +0 -5
- package/lib-amd/trigger/types.js.map +0 -1
- package/lib-amd/utils/clamp.js +0 -16
- package/lib-amd/utils/clamp.js.map +0 -1
- package/lib-amd/utils/getNativeElementProps.js +0 -64
- package/lib-amd/utils/getNativeElementProps.js.map +0 -1
- package/lib-amd/utils/getRTLSafeKey.js +0 -24
- package/lib-amd/utils/getRTLSafeKey.js.map +0 -1
- package/lib-amd/utils/index.js +0 -13
- package/lib-amd/utils/index.js.map +0 -1
- package/lib-amd/utils/isHTMLElement.js +0 -22
- package/lib-amd/utils/isHTMLElement.js.map +0 -1
- package/lib-amd/utils/isInteractiveHTMLElement.js +0 -25
- package/lib-amd/utils/isInteractiveHTMLElement.js.map +0 -1
- package/lib-amd/utils/mergeCallbacks.js +0 -40
- package/lib-amd/utils/mergeCallbacks.js.map +0 -1
- package/lib-amd/utils/omit.js +0 -31
- package/lib-amd/utils/omit.js.map +0 -1
- package/lib-amd/utils/properties.js +0 -450
- package/lib-amd/utils/properties.js.map +0 -1
@@ -1,40 +1,39 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
4
|
+
});
|
5
|
+
Object.defineProperty(exports, "useOnScrollOutside", {
|
6
|
+
enumerable: true,
|
7
|
+
get: ()=>useOnScrollOutside
|
5
8
|
});
|
6
|
-
|
7
|
-
const
|
8
|
-
const
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
};
|
37
|
-
}, [listener, element, disabled]);
|
38
|
-
};
|
39
|
-
exports.useOnScrollOutside = useOnScrollOutside;
|
9
|
+
const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
|
10
|
+
const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
|
11
|
+
const _useEventCallback = require("./useEventCallback");
|
12
|
+
const useOnScrollOutside = (options)=>{
|
13
|
+
const { refs , callback , element , disabled , contains: containsProp } = options;
|
14
|
+
const listener = (0, _useEventCallback.useEventCallback)((ev)=>{
|
15
|
+
const contains = containsProp || ((parent, child)=>{
|
16
|
+
return !!(parent === null || parent === void 0 ? void 0 : parent.contains(child));
|
17
|
+
});
|
18
|
+
const isOutside = refs.every((ref)=>!contains(ref.current || null, ev.target));
|
19
|
+
if (isOutside && !disabled) {
|
20
|
+
callback(ev);
|
21
|
+
}
|
22
|
+
});
|
23
|
+
_react.useEffect(()=>{
|
24
|
+
if (!disabled) {
|
25
|
+
element === null || element === void 0 ? void 0 : element.addEventListener('wheel', listener);
|
26
|
+
element === null || element === void 0 ? void 0 : element.addEventListener('touchmove', listener);
|
27
|
+
}
|
28
|
+
return ()=>{
|
29
|
+
element === null || element === void 0 ? void 0 : element.removeEventListener('wheel', listener);
|
30
|
+
element === null || element === void 0 ? void 0 : element.removeEventListener('touchmove', listener);
|
31
|
+
};
|
32
|
+
}, [
|
33
|
+
listener,
|
34
|
+
element,
|
35
|
+
disabled
|
36
|
+
]);
|
37
|
+
}; //# sourceMappingURL=useOnScrollOutside.js.map
|
38
|
+
|
40
39
|
//# sourceMappingURL=useOnScrollOutside.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../../lib/hooks/useOnScrollOutside.js"],"sourcesContent":["import * as React from 'react';\nimport { useEventCallback } from './useEventCallback';\n/**\n * @internal\n * Utility to perform checks where a click/touch event was made outside a component\n */\nexport const useOnScrollOutside = options => {\n const {\n refs,\n callback,\n element,\n disabled,\n contains: containsProp\n } = options;\n const listener = useEventCallback(ev => {\n const contains = containsProp || ((parent, child) => {\n return !!(parent === null || parent === void 0 ? void 0 : parent.contains(child));\n });\n const isOutside = refs.every(ref => !contains(ref.current || null, ev.target));\n if (isOutside && !disabled) {\n callback(ev);\n }\n });\n React.useEffect(() => {\n if (!disabled) {\n element === null || element === void 0 ? void 0 : element.addEventListener('wheel', listener);\n element === null || element === void 0 ? void 0 : element.addEventListener('touchmove', listener);\n }\n return () => {\n element === null || element === void 0 ? void 0 : element.removeEventListener('wheel', listener);\n element === null || element === void 0 ? void 0 : element.removeEventListener('touchmove', listener);\n };\n }, [listener, element, disabled]);\n};\n//# sourceMappingURL=useOnScrollOutside.js.map"],"names":["useOnScrollOutside","options","refs","callback","element","disabled","contains","containsProp","listener","useEventCallback","ev","parent","child","isOutside","every","ref","current","target","React","useEffect","addEventListener","removeEventListener"],"mappings":";;;;+BAMaA;;aAAAA;;;6DANU;kCACU;AAK1B,MAAMA,qBAAqBC,CAAAA,UAAW;IAC3C,MAAM,EACJC,KAAI,EACJC,SAAQ,EACRC,QAAO,EACPC,SAAQ,EACRC,UAAUC,aAAY,EACvB,GAAGN;IACJ,MAAMO,WAAWC,IAAAA,kCAAgB,EAACC,CAAAA,KAAM;QACtC,MAAMJ,WAAWC,gBAAiB,CAAA,CAACI,QAAQC,QAAU;YACnD,OAAO,CAAC,CAAED,CAAAA,WAAW,IAAI,IAAIA,WAAW,KAAK,IAAI,KAAK,IAAIA,OAAOL,QAAQ,CAACM,MAAM,AAAD;QACjF,CAAA;QACA,MAAMC,YAAYX,KAAKY,KAAK,CAACC,CAAAA,MAAO,CAACT,SAASS,IAAIC,OAAO,IAAI,IAAI,EAAEN,GAAGO,MAAM;QAC5E,IAAIJ,aAAa,CAACR,UAAU;YAC1BF,SAASO;QACX,CAAC;IACH;IACAQ,OAAMC,SAAS,CAAC,IAAM;QACpB,IAAI,CAACd,UAAU;YACbD,YAAY,IAAI,IAAIA,YAAY,KAAK,IAAI,KAAK,IAAIA,QAAQgB,gBAAgB,CAAC,SAASZ,SAAS;YAC7FJ,YAAY,IAAI,IAAIA,YAAY,KAAK,IAAI,KAAK,IAAIA,QAAQgB,gBAAgB,CAAC,aAAaZ,SAAS;QACnG,CAAC;QACD,OAAO,IAAM;YACXJ,YAAY,IAAI,IAAIA,YAAY,KAAK,IAAI,KAAK,IAAIA,QAAQiB,mBAAmB,CAAC,SAASb,SAAS;YAChGJ,YAAY,IAAI,IAAIA,YAAY,KAAK,IAAI,KAAK,IAAIA,QAAQiB,mBAAmB,CAAC,aAAab,SAAS;QACtG;IACF,GAAG;QAACA;QAAUJ;QAASC;KAAS;AAClC,GACA,8CAA8C"}
|
@@ -1,19 +1,21 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
4
|
+
});
|
5
|
+
Object.defineProperty(exports, "usePrevious", {
|
6
|
+
enumerable: true,
|
7
|
+
get: ()=>usePrevious
|
5
8
|
});
|
6
|
-
|
7
|
-
const
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
exports.usePrevious = usePrevious;
|
9
|
+
const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
|
10
|
+
const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
|
11
|
+
const usePrevious = (value)=>{
|
12
|
+
const ref = _react.useRef(null);
|
13
|
+
_react.useEffect(()=>{
|
14
|
+
ref.current = value;
|
15
|
+
}, [
|
16
|
+
value
|
17
|
+
]);
|
18
|
+
return ref.current;
|
19
|
+
}; //# sourceMappingURL=usePrevious.js.map
|
20
|
+
|
19
21
|
//# sourceMappingURL=usePrevious.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../../lib/hooks/usePrevious.js"],"sourcesContent":["import * as React from 'react';\n/**\n * @internal\n */\nexport const usePrevious = value => {\n const ref = React.useRef(null);\n React.useEffect(() => {\n ref.current = value;\n }, [value]);\n return ref.current;\n};\n//# sourceMappingURL=usePrevious.js.map"],"names":["usePrevious","value","ref","React","useRef","useEffect","current"],"mappings":";;;;+BAIaA;;aAAAA;;;6DAJU;AAIhB,MAAMA,cAAcC,CAAAA,QAAS;IAClC,MAAMC,MAAMC,OAAMC,MAAM,CAAC,IAAI;IAC7BD,OAAME,SAAS,CAAC,IAAM;QACpBH,IAAII,OAAO,GAAGL;IAChB,GAAG;QAACA;KAAM;IACV,OAAOC,IAAII,OAAO;AACpB,GACA,uCAAuC"}
|
@@ -1,37 +1,37 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
4
|
+
});
|
5
|
+
Object.defineProperty(exports, "useScrollbarWidth", {
|
6
|
+
enumerable: true,
|
7
|
+
get: ()=>useScrollbarWidth
|
5
8
|
});
|
6
|
-
|
7
|
-
const
|
8
|
-
const cache = /*#__PURE__*/new WeakMap();
|
9
|
-
/**
|
10
|
-
* @returns The width in pixels of the scrollbar in the user agent
|
11
|
-
*/
|
9
|
+
const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
|
10
|
+
const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
|
11
|
+
const cache = /*#__PURE__*/ new WeakMap();
|
12
12
|
function useScrollbarWidth(options) {
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
}
|
36
|
-
|
13
|
+
const { targetDocument , force } = options;
|
14
|
+
return _react.useMemo(()=>{
|
15
|
+
if (!targetDocument) {
|
16
|
+
return 0;
|
17
|
+
}
|
18
|
+
if (!force && cache.has(targetDocument)) {
|
19
|
+
return cache.get(targetDocument);
|
20
|
+
}
|
21
|
+
const outer = targetDocument.createElement('div');
|
22
|
+
outer.style.visibility = 'hidden';
|
23
|
+
outer.style.overflow = 'scroll';
|
24
|
+
const inner = targetDocument.createElement('div');
|
25
|
+
outer.appendChild(inner);
|
26
|
+
targetDocument.body.appendChild(outer);
|
27
|
+
const scrollbarWidth = outer.offsetWidth - inner.offsetWidth;
|
28
|
+
outer.remove();
|
29
|
+
cache.set(targetDocument, scrollbarWidth);
|
30
|
+
return scrollbarWidth;
|
31
|
+
}, [
|
32
|
+
targetDocument,
|
33
|
+
force
|
34
|
+
]);
|
35
|
+
} //# sourceMappingURL=useScrollbarWidth.js.map
|
36
|
+
|
37
37
|
//# sourceMappingURL=useScrollbarWidth.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../../lib/hooks/useScrollbarWidth.js"],"sourcesContent":["import * as React from 'react';\nconst cache = /*#__PURE__*/new WeakMap();\n/**\n * @returns The width in pixels of the scrollbar in the user agent\n */\nexport function useScrollbarWidth(options) {\n const {\n targetDocument,\n force\n } = options;\n return React.useMemo(() => {\n if (!targetDocument) {\n return 0;\n }\n if (!force && cache.has(targetDocument)) {\n return cache.get(targetDocument);\n }\n const outer = targetDocument.createElement('div');\n outer.style.visibility = 'hidden';\n outer.style.overflow = 'scroll';\n const inner = targetDocument.createElement('div');\n outer.appendChild(inner);\n targetDocument.body.appendChild(outer);\n const scrollbarWidth = outer.offsetWidth - inner.offsetWidth;\n outer.remove();\n cache.set(targetDocument, scrollbarWidth);\n return scrollbarWidth;\n }, [targetDocument, force]);\n}\n//# sourceMappingURL=useScrollbarWidth.js.map"],"names":["useScrollbarWidth","cache","WeakMap","options","targetDocument","force","React","useMemo","has","get","outer","createElement","style","visibility","overflow","inner","appendChild","body","scrollbarWidth","offsetWidth","remove","set"],"mappings":";;;;+BAKgBA;;aAAAA;;;6DALO;AACvB,MAAMC,QAAQ,WAAW,GAAE,IAAIC;AAIxB,SAASF,kBAAkBG,OAAO,EAAE;IACzC,MAAM,EACJC,eAAc,EACdC,MAAK,EACN,GAAGF;IACJ,OAAOG,OAAMC,OAAO,CAAC,IAAM;QACzB,IAAI,CAACH,gBAAgB;YACnB,OAAO;QACT,CAAC;QACD,IAAI,CAACC,SAASJ,MAAMO,GAAG,CAACJ,iBAAiB;YACvC,OAAOH,MAAMQ,GAAG,CAACL;QACnB,CAAC;QACD,MAAMM,QAAQN,eAAeO,aAAa,CAAC;QAC3CD,MAAME,KAAK,CAACC,UAAU,GAAG;QACzBH,MAAME,KAAK,CAACE,QAAQ,GAAG;QACvB,MAAMC,QAAQX,eAAeO,aAAa,CAAC;QAC3CD,MAAMM,WAAW,CAACD;QAClBX,eAAea,IAAI,CAACD,WAAW,CAACN;QAChC,MAAMQ,iBAAiBR,MAAMS,WAAW,GAAGJ,MAAMI,WAAW;QAC5DT,MAAMU,MAAM;QACZnB,MAAMoB,GAAG,CAACjB,gBAAgBc;QAC1B,OAAOA;IACT,GAAG;QAACd;QAAgBC;KAAM;AAC5B,EACA,6CAA6C"}
|
@@ -1,35 +1,35 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
4
|
+
});
|
5
|
+
Object.defineProperty(exports, "useTimeout", {
|
6
|
+
enumerable: true,
|
7
|
+
get: ()=>useTimeout
|
5
8
|
});
|
6
|
-
|
7
|
-
const
|
8
|
-
/**
|
9
|
-
* @internal
|
10
|
-
* Helper to manage a browser timeout.
|
11
|
-
* Ensures that the timeout isn't set multiple times at once,
|
12
|
-
* and is cleaned up when the component is unloaded.
|
13
|
-
*
|
14
|
-
* @returns A pair of [setTimeout, clearTimeout] that are stable between renders.
|
15
|
-
*/
|
9
|
+
const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
|
10
|
+
const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
|
16
11
|
function useTimeout() {
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
12
|
+
const [timeout] = _react.useState(()=>({
|
13
|
+
id: undefined,
|
14
|
+
set: (fn, delay)=>{
|
15
|
+
timeout.clear();
|
16
|
+
timeout.id = setTimeout(fn, delay);
|
17
|
+
},
|
18
|
+
clear: ()=>{
|
19
|
+
if (timeout.id !== undefined) {
|
20
|
+
clearTimeout(timeout.id);
|
21
|
+
timeout.id = undefined;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}));
|
25
|
+
// Clean up the timeout when the component is unloaded
|
26
|
+
_react.useEffect(()=>timeout.clear, [
|
27
|
+
timeout
|
28
|
+
]);
|
29
|
+
return [
|
30
|
+
timeout.set,
|
31
|
+
timeout.clear
|
32
|
+
];
|
33
|
+
} //# sourceMappingURL=useTimeout.js.map
|
34
|
+
|
35
35
|
//# sourceMappingURL=useTimeout.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../../lib/hooks/useTimeout.js"],"sourcesContent":["import * as React from 'react';\n/**\n * @internal\n * Helper to manage a browser timeout.\n * Ensures that the timeout isn't set multiple times at once,\n * and is cleaned up when the component is unloaded.\n *\n * @returns A pair of [setTimeout, clearTimeout] that are stable between renders.\n */\nexport function useTimeout() {\n const [timeout] = React.useState(() => ({\n id: undefined,\n set: (fn, delay) => {\n timeout.clear();\n timeout.id = setTimeout(fn, delay);\n },\n clear: () => {\n if (timeout.id !== undefined) {\n clearTimeout(timeout.id);\n timeout.id = undefined;\n }\n }\n }));\n // Clean up the timeout when the component is unloaded\n React.useEffect(() => timeout.clear, [timeout]);\n return [timeout.set, timeout.clear];\n}\n//# sourceMappingURL=useTimeout.js.map"],"names":["useTimeout","timeout","React","useState","id","undefined","set","fn","delay","clear","setTimeout","clearTimeout","useEffect"],"mappings":";;;;+BASgBA;;aAAAA;;;6DATO;AAShB,SAASA,aAAa;IAC3B,MAAM,CAACC,QAAQ,GAAGC,OAAMC,QAAQ,CAAC,IAAO,CAAA;YACtCC,IAAIC;YACJC,KAAK,CAACC,IAAIC,QAAU;gBAClBP,QAAQQ,KAAK;gBACbR,QAAQG,EAAE,GAAGM,WAAWH,IAAIC;YAC9B;YACAC,OAAO,IAAM;gBACX,IAAIR,QAAQG,EAAE,KAAKC,WAAW;oBAC5BM,aAAaV,QAAQG,EAAE;oBACvBH,QAAQG,EAAE,GAAGC;gBACf,CAAC;YACH;QACF,CAAA;IACA,sDAAsD;IACtDH,OAAMU,SAAS,CAAC,IAAMX,QAAQQ,KAAK,EAAE;QAACR;KAAQ;IAC9C,OAAO;QAACA,QAAQK,GAAG;QAAEL,QAAQQ,KAAK;KAAC;AACrC,EACA,sCAAsC"}
|
package/lib-commonjs/index.js
CHANGED
@@ -1,217 +1,55 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
5
|
-
});
|
6
|
-
|
7
|
-
var
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
});
|
57
|
-
Object.defineProperty(exports, "useForceUpdate", {
|
58
|
-
enumerable: true,
|
59
|
-
get: function () {
|
60
|
-
return index_2.useForceUpdate;
|
61
|
-
}
|
62
|
-
});
|
63
|
-
Object.defineProperty(exports, "useId", {
|
64
|
-
enumerable: true,
|
65
|
-
get: function () {
|
66
|
-
return index_2.useId;
|
67
|
-
}
|
68
|
-
});
|
69
|
-
Object.defineProperty(exports, "useIsomorphicLayoutEffect", {
|
70
|
-
enumerable: true,
|
71
|
-
get: function () {
|
72
|
-
return index_2.useIsomorphicLayoutEffect;
|
73
|
-
}
|
74
|
-
});
|
75
|
-
Object.defineProperty(exports, "useMergedRefs", {
|
76
|
-
enumerable: true,
|
77
|
-
get: function () {
|
78
|
-
return index_2.useMergedRefs;
|
79
|
-
}
|
80
|
-
});
|
81
|
-
Object.defineProperty(exports, "useOnClickOutside", {
|
82
|
-
enumerable: true,
|
83
|
-
get: function () {
|
84
|
-
return index_2.useOnClickOutside;
|
85
|
-
}
|
86
|
-
});
|
87
|
-
Object.defineProperty(exports, "useOnScrollOutside", {
|
88
|
-
enumerable: true,
|
89
|
-
get: function () {
|
90
|
-
return index_2.useOnScrollOutside;
|
91
|
-
}
|
92
|
-
});
|
93
|
-
Object.defineProperty(exports, "usePrevious", {
|
94
|
-
enumerable: true,
|
95
|
-
get: function () {
|
96
|
-
return index_2.usePrevious;
|
97
|
-
}
|
98
|
-
});
|
99
|
-
Object.defineProperty(exports, "useScrollbarWidth", {
|
100
|
-
enumerable: true,
|
101
|
-
get: function () {
|
102
|
-
return index_2.useScrollbarWidth;
|
103
|
-
}
|
104
|
-
});
|
105
|
-
Object.defineProperty(exports, "useTimeout", {
|
106
|
-
enumerable: true,
|
107
|
-
get: function () {
|
108
|
-
return index_2.useTimeout;
|
109
|
-
}
|
110
|
-
});
|
111
|
-
var index_3 = /*#__PURE__*/require("./ssr/index");
|
112
|
-
Object.defineProperty(exports, "canUseDOM", {
|
113
|
-
enumerable: true,
|
114
|
-
get: function () {
|
115
|
-
return index_3.canUseDOM;
|
116
|
-
}
|
117
|
-
});
|
118
|
-
Object.defineProperty(exports, "useIsSSR", {
|
119
|
-
enumerable: true,
|
120
|
-
get: function () {
|
121
|
-
return index_3.useIsSSR;
|
122
|
-
}
|
123
|
-
});
|
124
|
-
Object.defineProperty(exports, "SSRProvider", {
|
125
|
-
enumerable: true,
|
126
|
-
get: function () {
|
127
|
-
return index_3.SSRProvider;
|
128
|
-
}
|
129
|
-
});
|
130
|
-
var index_4 = /*#__PURE__*/require("./utils/index");
|
131
|
-
Object.defineProperty(exports, "clamp", {
|
132
|
-
enumerable: true,
|
133
|
-
get: function () {
|
134
|
-
return index_4.clamp;
|
135
|
-
}
|
136
|
-
});
|
137
|
-
Object.defineProperty(exports, "getNativeElementProps", {
|
138
|
-
enumerable: true,
|
139
|
-
get: function () {
|
140
|
-
return index_4.getNativeElementProps;
|
141
|
-
}
|
142
|
-
});
|
143
|
-
Object.defineProperty(exports, "getPartitionedNativeProps", {
|
144
|
-
enumerable: true,
|
145
|
-
get: function () {
|
146
|
-
return index_4.getPartitionedNativeProps;
|
147
|
-
}
|
148
|
-
});
|
149
|
-
Object.defineProperty(exports, "getRTLSafeKey", {
|
150
|
-
enumerable: true,
|
151
|
-
get: function () {
|
152
|
-
return index_4.getRTLSafeKey;
|
153
|
-
}
|
154
|
-
});
|
155
|
-
Object.defineProperty(exports, "mergeCallbacks", {
|
156
|
-
enumerable: true,
|
157
|
-
get: function () {
|
158
|
-
return index_4.mergeCallbacks;
|
159
|
-
}
|
160
|
-
});
|
161
|
-
Object.defineProperty(exports, "isHTMLElement", {
|
162
|
-
enumerable: true,
|
163
|
-
get: function () {
|
164
|
-
return index_4.isHTMLElement;
|
165
|
-
}
|
166
|
-
});
|
167
|
-
Object.defineProperty(exports, "isInteractiveHTMLElement", {
|
168
|
-
enumerable: true,
|
169
|
-
get: function () {
|
170
|
-
return index_4.isInteractiveHTMLElement;
|
171
|
-
}
|
172
|
-
});
|
173
|
-
Object.defineProperty(exports, "omit", {
|
174
|
-
enumerable: true,
|
175
|
-
get: function () {
|
176
|
-
return index_4.omit;
|
177
|
-
}
|
178
|
-
});
|
179
|
-
var index_5 = /*#__PURE__*/require("./trigger/index");
|
180
|
-
Object.defineProperty(exports, "applyTriggerPropsToChildren", {
|
181
|
-
enumerable: true,
|
182
|
-
get: function () {
|
183
|
-
return index_5.applyTriggerPropsToChildren;
|
184
|
-
}
|
185
|
-
});
|
186
|
-
Object.defineProperty(exports, "getTriggerChild", {
|
187
|
-
enumerable: true,
|
188
|
-
get: function () {
|
189
|
-
return index_5.getTriggerChild;
|
190
|
-
}
|
191
|
-
});
|
192
|
-
Object.defineProperty(exports, "isFluentTrigger", {
|
193
|
-
enumerable: true,
|
194
|
-
get: function () {
|
195
|
-
return index_5.isFluentTrigger;
|
196
|
-
}
|
197
|
-
});
|
198
|
-
var index_6 = /*#__PURE__*/require("./events/index");
|
199
|
-
Object.defineProperty(exports, "isTouchEvent", {
|
200
|
-
enumerable: true,
|
201
|
-
get: function () {
|
202
|
-
return index_6.isTouchEvent;
|
203
|
-
}
|
204
|
-
});
|
205
|
-
Object.defineProperty(exports, "isMouseEvent", {
|
206
|
-
enumerable: true,
|
207
|
-
get: function () {
|
208
|
-
return index_6.isMouseEvent;
|
209
|
-
}
|
210
|
-
});
|
211
|
-
Object.defineProperty(exports, "getEventClientCoords", {
|
212
|
-
enumerable: true,
|
213
|
-
get: function () {
|
214
|
-
return index_6.getEventClientCoords;
|
215
|
-
}
|
216
|
-
});
|
3
|
+
value: true
|
4
|
+
});
|
5
|
+
function _export(target, all) {
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
7
|
+
enumerable: true,
|
8
|
+
get: all[name]
|
9
|
+
});
|
10
|
+
}
|
11
|
+
_export(exports, {
|
12
|
+
getSlots: ()=>_index.getSlots,
|
13
|
+
resolveShorthand: ()=>_index.resolveShorthand,
|
14
|
+
isResolvedShorthand: ()=>_index.isResolvedShorthand,
|
15
|
+
IdPrefixProvider: ()=>_index1.IdPrefixProvider,
|
16
|
+
resetIdsForTests: ()=>_index1.resetIdsForTests,
|
17
|
+
useControllableState: ()=>_index1.useControllableState,
|
18
|
+
useEventCallback: ()=>_index1.useEventCallback,
|
19
|
+
useFirstMount: ()=>_index1.useFirstMount,
|
20
|
+
useForceUpdate: ()=>_index1.useForceUpdate,
|
21
|
+
useId: ()=>_index1.useId,
|
22
|
+
useIsomorphicLayoutEffect: ()=>_index1.useIsomorphicLayoutEffect,
|
23
|
+
useMergedRefs: ()=>_index1.useMergedRefs,
|
24
|
+
useOnClickOutside: ()=>_index1.useOnClickOutside,
|
25
|
+
useOnScrollOutside: ()=>_index1.useOnScrollOutside,
|
26
|
+
usePrevious: ()=>_index1.usePrevious,
|
27
|
+
useScrollbarWidth: ()=>_index1.useScrollbarWidth,
|
28
|
+
useTimeout: ()=>_index1.useTimeout,
|
29
|
+
canUseDOM: ()=>_index2.canUseDOM,
|
30
|
+
useIsSSR: ()=>_index2.useIsSSR,
|
31
|
+
SSRProvider: ()=>_index2.SSRProvider,
|
32
|
+
clamp: ()=>_index3.clamp,
|
33
|
+
getNativeElementProps: ()=>_index3.getNativeElementProps,
|
34
|
+
getPartitionedNativeProps: ()=>_index3.getPartitionedNativeProps,
|
35
|
+
getRTLSafeKey: ()=>_index3.getRTLSafeKey,
|
36
|
+
mergeCallbacks: ()=>_index3.mergeCallbacks,
|
37
|
+
isHTMLElement: ()=>_index3.isHTMLElement,
|
38
|
+
isInteractiveHTMLElement: ()=>_index3.isInteractiveHTMLElement,
|
39
|
+
omit: ()=>_index3.omit,
|
40
|
+
applyTriggerPropsToChildren: ()=>_index4.applyTriggerPropsToChildren,
|
41
|
+
getTriggerChild: ()=>_index4.getTriggerChild,
|
42
|
+
isFluentTrigger: ()=>_index4.isFluentTrigger,
|
43
|
+
isTouchEvent: ()=>_index5.isTouchEvent,
|
44
|
+
isMouseEvent: ()=>_index5.isMouseEvent,
|
45
|
+
getEventClientCoords: ()=>_index5.getEventClientCoords
|
46
|
+
});
|
47
|
+
const _index = require("./compose/index");
|
48
|
+
const _index1 = require("./hooks/index");
|
49
|
+
const _index2 = require("./ssr/index");
|
50
|
+
const _index3 = require("./utils/index");
|
51
|
+
const _index4 = require("./trigger/index");
|
52
|
+
const _index5 = require("./events/index");
|
53
|
+
//# sourceMappingURL=index.js.map
|
54
|
+
|
217
55
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"sources":["../lib/index.js"],"sourcesContent":["export { getSlots, resolveShorthand, isResolvedShorthand } from './compose/index';\nexport { IdPrefixProvider, resetIdsForTests, useControllableState, useEventCallback, useFirstMount, useForceUpdate, useId, useIsomorphicLayoutEffect, useMergedRefs, useOnClickOutside, useOnScrollOutside, usePrevious, useScrollbarWidth, useTimeout } from './hooks/index';\nexport { canUseDOM, useIsSSR, SSRProvider } from './ssr/index';\nexport { clamp, getNativeElementProps, getPartitionedNativeProps, getRTLSafeKey, mergeCallbacks, isHTMLElement, isInteractiveHTMLElement, omit } from './utils/index';\nexport { applyTriggerPropsToChildren, getTriggerChild, isFluentTrigger } from './trigger/index';\nexport { isTouchEvent, isMouseEvent, getEventClientCoords } from './events/index';\n//# sourceMappingURL=index.js.map"],"names":["getSlots","resolveShorthand","isResolvedShorthand","IdPrefixProvider","resetIdsForTests","useControllableState","useEventCallback","useFirstMount","useForceUpdate","useId","useIsomorphicLayoutEffect","useMergedRefs","useOnClickOutside","useOnScrollOutside","usePrevious","useScrollbarWidth","useTimeout","canUseDOM","useIsSSR","SSRProvider","clamp","getNativeElementProps","getPartitionedNativeProps","getRTLSafeKey","mergeCallbacks","isHTMLElement","isInteractiveHTMLElement","omit","applyTriggerPropsToChildren","getTriggerChild","isFluentTrigger","isTouchEvent","isMouseEvent","getEventClientCoords"],"mappings":";;;;;;;;;;;IAASA,QAAQ,MAARA,eAAQ;IAAEC,gBAAgB,MAAhBA,uBAAgB;IAAEC,mBAAmB,MAAnBA,0BAAmB;IAC/CC,gBAAgB,MAAhBA,wBAAgB;IAAEC,gBAAgB,MAAhBA,wBAAgB;IAAEC,oBAAoB,MAApBA,4BAAoB;IAAEC,gBAAgB,MAAhBA,wBAAgB;IAAEC,aAAa,MAAbA,qBAAa;IAAEC,cAAc,MAAdA,sBAAc;IAAEC,KAAK,MAALA,aAAK;IAAEC,yBAAyB,MAAzBA,iCAAyB;IAAEC,aAAa,MAAbA,qBAAa;IAAEC,iBAAiB,MAAjBA,yBAAiB;IAAEC,kBAAkB,MAAlBA,0BAAkB;IAAEC,WAAW,MAAXA,mBAAW;IAAEC,iBAAiB,MAAjBA,yBAAiB;IAAEC,UAAU,MAAVA,kBAAU;IAC7OC,SAAS,MAATA,iBAAS;IAAEC,QAAQ,MAARA,gBAAQ;IAAEC,WAAW,MAAXA,mBAAW;IAChCC,KAAK,MAALA,aAAK;IAAEC,qBAAqB,MAArBA,6BAAqB;IAAEC,yBAAyB,MAAzBA,iCAAyB;IAAEC,aAAa,MAAbA,qBAAa;IAAEC,cAAc,MAAdA,sBAAc;IAAEC,aAAa,MAAbA,qBAAa;IAAEC,wBAAwB,MAAxBA,gCAAwB;IAAEC,IAAI,MAAJA,YAAI;IACrIC,2BAA2B,MAA3BA,mCAA2B;IAAEC,eAAe,MAAfA,uBAAe;IAAEC,eAAe,MAAfA,uBAAe;IAC7DC,YAAY,MAAZA,oBAAY;IAAEC,YAAY,MAAZA,oBAAY;IAAEC,oBAAoB,MAApBA,4BAAoB;;uBALO;wBAC8L;wBAC7M;wBACqG;wBACxE;wBACb;CACjE,iCAAiC"}
|