@babylonjs/accessibility 9.18.0 → 9.18.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.
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
function requireReact_development () {
|
|
101
101
|
if (hasRequiredReact_development) return react_development$1.exports;
|
|
102
102
|
hasRequiredReact_development = 1;
|
|
103
|
-
(function (module, exports
|
|
103
|
+
(function (module, exports) {
|
|
104
104
|
'use strict';
|
|
105
105
|
|
|
106
106
|
if ("development" !== "production") {
|
|
@@ -2784,42 +2784,42 @@
|
|
|
2784
2784
|
only: onlyChild
|
|
2785
2785
|
};
|
|
2786
2786
|
|
|
2787
|
-
exports
|
|
2788
|
-
exports
|
|
2789
|
-
exports
|
|
2790
|
-
exports
|
|
2791
|
-
exports
|
|
2792
|
-
exports
|
|
2793
|
-
exports
|
|
2794
|
-
exports
|
|
2795
|
-
exports
|
|
2796
|
-
exports
|
|
2797
|
-
exports
|
|
2798
|
-
exports
|
|
2799
|
-
exports
|
|
2800
|
-
exports
|
|
2801
|
-
exports
|
|
2802
|
-
exports
|
|
2803
|
-
exports
|
|
2804
|
-
exports
|
|
2805
|
-
exports
|
|
2806
|
-
exports
|
|
2807
|
-
exports
|
|
2808
|
-
exports
|
|
2809
|
-
exports
|
|
2810
|
-
exports
|
|
2811
|
-
exports
|
|
2812
|
-
exports
|
|
2813
|
-
exports
|
|
2814
|
-
exports
|
|
2815
|
-
exports
|
|
2816
|
-
exports
|
|
2817
|
-
exports
|
|
2818
|
-
exports
|
|
2819
|
-
exports
|
|
2820
|
-
exports
|
|
2821
|
-
exports
|
|
2822
|
-
exports
|
|
2787
|
+
exports.Children = Children;
|
|
2788
|
+
exports.Component = Component;
|
|
2789
|
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
2790
|
+
exports.Profiler = REACT_PROFILER_TYPE;
|
|
2791
|
+
exports.PureComponent = PureComponent;
|
|
2792
|
+
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
2793
|
+
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
2794
|
+
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
|
|
2795
|
+
exports.act = act;
|
|
2796
|
+
exports.cloneElement = cloneElement$1;
|
|
2797
|
+
exports.createContext = createContext;
|
|
2798
|
+
exports.createElement = createElement$1;
|
|
2799
|
+
exports.createFactory = createFactory;
|
|
2800
|
+
exports.createRef = createRef;
|
|
2801
|
+
exports.forwardRef = forwardRef;
|
|
2802
|
+
exports.isValidElement = isValidElement;
|
|
2803
|
+
exports.lazy = lazy;
|
|
2804
|
+
exports.memo = memo;
|
|
2805
|
+
exports.startTransition = startTransition;
|
|
2806
|
+
exports.unstable_act = act;
|
|
2807
|
+
exports.useCallback = useCallback;
|
|
2808
|
+
exports.useContext = useContext;
|
|
2809
|
+
exports.useDebugValue = useDebugValue;
|
|
2810
|
+
exports.useDeferredValue = useDeferredValue;
|
|
2811
|
+
exports.useEffect = useEffect;
|
|
2812
|
+
exports.useId = useId;
|
|
2813
|
+
exports.useImperativeHandle = useImperativeHandle;
|
|
2814
|
+
exports.useInsertionEffect = useInsertionEffect;
|
|
2815
|
+
exports.useLayoutEffect = useLayoutEffect;
|
|
2816
|
+
exports.useMemo = useMemo;
|
|
2817
|
+
exports.useReducer = useReducer;
|
|
2818
|
+
exports.useRef = useRef;
|
|
2819
|
+
exports.useState = useState;
|
|
2820
|
+
exports.useSyncExternalStore = useSyncExternalStore;
|
|
2821
|
+
exports.useTransition = useTransition;
|
|
2822
|
+
exports.version = ReactVersion;
|
|
2823
2823
|
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
|
2824
2824
|
if (
|
|
2825
2825
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
|
|
@@ -2873,17 +2873,17 @@
|
|
|
2873
2873
|
function requireScheduler_production_min () {
|
|
2874
2874
|
if (hasRequiredScheduler_production_min) return scheduler_production_min;
|
|
2875
2875
|
hasRequiredScheduler_production_min = 1;
|
|
2876
|
-
(function (exports
|
|
2876
|
+
(function (exports) {
|
|
2877
2877
|
'use strict';function f(a,b){var c=a.length;a.push(b);a:for(;0<c;){var d=c-1>>>1,e=a[d];if(0<g(e,b))a[d]=b,a[c]=e,c=d;else break a}}function h(a){return 0===a.length?null:a[0]}function k(a){if(0===a.length)return null;var b=a[0],c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length,w=e>>>1;d<w;){var m=2*(d+1)-1,C=a[m],n=m+1,x=a[n];if(0>g(C,c))n<e&&0>g(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(n<e&&0>g(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}
|
|
2878
|
-
function g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if("object"===typeof performance&&"function"===typeof performance.now){var l=performance;exports
|
|
2878
|
+
function g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if("object"===typeof performance&&"function"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()};}else {var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q};}var r=[],t=[],u=1,v=null,y=3,z=!1,A=!1,B=!1,D="function"===typeof setTimeout?setTimeout:null,E="function"===typeof clearTimeout?clearTimeout:null,F="undefined"!==typeof setImmediate?setImmediate:null;
|
|
2879
2879
|
"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t);}}function H(a){B=!1;G(a);if(!A)if(null!==h(r))A=!0,I(J);else {var b=h(t);null!==b&&K(H,b.startTime-a);}}
|
|
2880
|
-
function J(a,b){A=!1;B&&(B=!1,E(L),L=-1);z=!0;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if("function"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports
|
|
2881
|
-
function M(){return exports
|
|
2882
|
-
exports
|
|
2883
|
-
exports
|
|
2884
|
-
exports
|
|
2885
|
-
exports
|
|
2886
|
-
exports
|
|
2880
|
+
function J(a,b){A=!1;B&&(B=!1,E(L),L=-1);z=!0;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if("function"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();"function"===typeof e?v.callback=e:v===h(r)&&k(r);G(b);}else k(r);v=h(r);}if(null!==v)var w=!0;else {var m=h(t);null!==m&&K(H,m.startTime-b);w=!1;}return w}finally{v=null,y=c,z=!1;}}var N=!1,O=null,L=-1,P=5,Q=-1;
|
|
2881
|
+
function M(){return exports.unstable_now()-Q<P?!1:!0}function R(){if(null!==O){var a=exports.unstable_now();Q=a;var b=!0;try{b=O(!0,a);}finally{b?S():(N=!1,O=null);}}else N=!1;}var S;if("function"===typeof F)S=function(){F(R);};else if("undefined"!==typeof MessageChannel){var T=new MessageChannel,U=T.port2;T.port1.onmessage=R;S=function(){U.postMessage(null);};}else S=function(){D(R,0);};function I(a){O=a;N||(N=!0,S());}function K(a,b){L=D(function(){a(exports.unstable_now());},b);}
|
|
2882
|
+
exports.unstable_IdlePriority=5;exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a){a.callback=null;};exports.unstable_continueExecution=function(){A||z||(A=!0,I(J));};
|
|
2883
|
+
exports.unstable_forceFrameRate=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<a?Math.floor(1E3/a):5;};exports.unstable_getCurrentPriorityLevel=function(){return y};exports.unstable_getFirstCallbackNode=function(){return h(r)};exports.unstable_next=function(a){switch(y){case 1:case 2:case 3:var b=3;break;default:b=y;}var c=y;y=b;try{return a()}finally{y=c;}};exports.unstable_pauseExecution=function(){};
|
|
2884
|
+
exports.unstable_requestPaint=function(){};exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3;}var c=y;y=a;try{return b()}finally{y=c;}};
|
|
2885
|
+
exports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3;}e=c+e;a={id:u++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};
|
|
2886
|
+
exports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c;}}};
|
|
2887
2887
|
} (scheduler_production_min));
|
|
2888
2888
|
return scheduler_production_min;
|
|
2889
2889
|
}
|
|
@@ -2905,7 +2905,7 @@
|
|
|
2905
2905
|
function requireScheduler_development () {
|
|
2906
2906
|
if (hasRequiredScheduler_development) return scheduler_development;
|
|
2907
2907
|
hasRequiredScheduler_development = 1;
|
|
2908
|
-
(function (exports
|
|
2908
|
+
(function (exports) {
|
|
2909
2909
|
'use strict';
|
|
2910
2910
|
|
|
2911
2911
|
if ("development" !== "production") {
|
|
@@ -3023,14 +3023,14 @@
|
|
|
3023
3023
|
if (hasPerformanceNow) {
|
|
3024
3024
|
var localPerformance = performance;
|
|
3025
3025
|
|
|
3026
|
-
exports
|
|
3026
|
+
exports.unstable_now = function () {
|
|
3027
3027
|
return localPerformance.now();
|
|
3028
3028
|
};
|
|
3029
3029
|
} else {
|
|
3030
3030
|
var localDate = Date;
|
|
3031
3031
|
var initialTime = localDate.now();
|
|
3032
3032
|
|
|
3033
|
-
exports
|
|
3033
|
+
exports.unstable_now = function () {
|
|
3034
3034
|
return localDate.now() - initialTime;
|
|
3035
3035
|
};
|
|
3036
3036
|
} // Max 31 bit integer. The max integer size in V8 for 32-bit systems.
|
|
@@ -3125,7 +3125,7 @@
|
|
|
3125
3125
|
return workLoop(hasTimeRemaining, initialTime);
|
|
3126
3126
|
} catch (error) {
|
|
3127
3127
|
if (currentTask !== null) {
|
|
3128
|
-
var currentTime = exports
|
|
3128
|
+
var currentTime = exports.unstable_now();
|
|
3129
3129
|
markTaskErrored(currentTask, currentTime);
|
|
3130
3130
|
currentTask.isQueued = false;
|
|
3131
3131
|
}
|
|
@@ -3162,7 +3162,7 @@
|
|
|
3162
3162
|
var didUserCallbackTimeout = currentTask.expirationTime <= currentTime;
|
|
3163
3163
|
|
|
3164
3164
|
var continuationCallback = callback(didUserCallbackTimeout);
|
|
3165
|
-
currentTime = exports
|
|
3165
|
+
currentTime = exports.unstable_now();
|
|
3166
3166
|
|
|
3167
3167
|
if (typeof continuationCallback === 'function') {
|
|
3168
3168
|
currentTask.callback = continuationCallback;
|
|
@@ -3261,7 +3261,7 @@
|
|
|
3261
3261
|
}
|
|
3262
3262
|
|
|
3263
3263
|
function unstable_scheduleCallback(priorityLevel, callback, options) {
|
|
3264
|
-
var currentTime = exports
|
|
3264
|
+
var currentTime = exports.unstable_now();
|
|
3265
3265
|
var startTime;
|
|
3266
3266
|
|
|
3267
3267
|
if (typeof options === 'object' && options !== null) {
|
|
@@ -3381,7 +3381,7 @@
|
|
|
3381
3381
|
var startTime = -1;
|
|
3382
3382
|
|
|
3383
3383
|
function shouldYieldToHost() {
|
|
3384
|
-
var timeElapsed = exports
|
|
3384
|
+
var timeElapsed = exports.unstable_now() - startTime;
|
|
3385
3385
|
|
|
3386
3386
|
if (timeElapsed < frameInterval) {
|
|
3387
3387
|
// The main thread has only been blocked for a really short amount of time;
|
|
@@ -3414,7 +3414,7 @@
|
|
|
3414
3414
|
|
|
3415
3415
|
var performWorkUntilDeadline = function () {
|
|
3416
3416
|
if (scheduledHostCallback !== null) {
|
|
3417
|
-
var currentTime = exports
|
|
3417
|
+
var currentTime = exports.unstable_now(); // Keep track of the start time so we can measure how long the main thread
|
|
3418
3418
|
// has been blocked.
|
|
3419
3419
|
|
|
3420
3420
|
startTime = currentTime;
|
|
@@ -3489,7 +3489,7 @@
|
|
|
3489
3489
|
|
|
3490
3490
|
function requestHostTimeout(callback, ms) {
|
|
3491
3491
|
taskTimeoutID = localSetTimeout(function () {
|
|
3492
|
-
callback(exports
|
|
3492
|
+
callback(exports.unstable_now());
|
|
3493
3493
|
}, ms);
|
|
3494
3494
|
}
|
|
3495
3495
|
|
|
@@ -3501,24 +3501,24 @@
|
|
|
3501
3501
|
var unstable_requestPaint = requestPaint;
|
|
3502
3502
|
var unstable_Profiling = null;
|
|
3503
3503
|
|
|
3504
|
-
exports
|
|
3505
|
-
exports
|
|
3506
|
-
exports
|
|
3507
|
-
exports
|
|
3508
|
-
exports
|
|
3509
|
-
exports
|
|
3510
|
-
exports
|
|
3511
|
-
exports
|
|
3512
|
-
exports
|
|
3513
|
-
exports
|
|
3514
|
-
exports
|
|
3515
|
-
exports
|
|
3516
|
-
exports
|
|
3517
|
-
exports
|
|
3518
|
-
exports
|
|
3519
|
-
exports
|
|
3520
|
-
exports
|
|
3521
|
-
exports
|
|
3504
|
+
exports.unstable_IdlePriority = IdlePriority;
|
|
3505
|
+
exports.unstable_ImmediatePriority = ImmediatePriority;
|
|
3506
|
+
exports.unstable_LowPriority = LowPriority;
|
|
3507
|
+
exports.unstable_NormalPriority = NormalPriority;
|
|
3508
|
+
exports.unstable_Profiling = unstable_Profiling;
|
|
3509
|
+
exports.unstable_UserBlockingPriority = UserBlockingPriority;
|
|
3510
|
+
exports.unstable_cancelCallback = unstable_cancelCallback;
|
|
3511
|
+
exports.unstable_continueExecution = unstable_continueExecution;
|
|
3512
|
+
exports.unstable_forceFrameRate = forceFrameRate;
|
|
3513
|
+
exports.unstable_getCurrentPriorityLevel = unstable_getCurrentPriorityLevel;
|
|
3514
|
+
exports.unstable_getFirstCallbackNode = unstable_getFirstCallbackNode;
|
|
3515
|
+
exports.unstable_next = unstable_next;
|
|
3516
|
+
exports.unstable_pauseExecution = unstable_pauseExecution;
|
|
3517
|
+
exports.unstable_requestPaint = unstable_requestPaint;
|
|
3518
|
+
exports.unstable_runWithPriority = unstable_runWithPriority;
|
|
3519
|
+
exports.unstable_scheduleCallback = unstable_scheduleCallback;
|
|
3520
|
+
exports.unstable_shouldYield = shouldYieldToHost;
|
|
3521
|
+
exports.unstable_wrapCallback = unstable_wrapCallback;
|
|
3522
3522
|
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
|
3523
3523
|
if (
|
|
3524
3524
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
|