@thecb/components 5.9.0-beta.0 → 5.9.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +93 -1102
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +93 -1102
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/layouts/Cluster.styled.js +1 -1
- package/src/components/molecules/obligation/Obligation.js +10 -2
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +10 -4
- package/src/components/molecules/obligation/modules/InactiveControlsModule.js +20 -13
- package/src/components/molecules/obligation/modules/InactiveTitleModule.js +2 -2
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +3 -1
- package/src/components/molecules/obligation/modules/RemoveAccountModalModule.js +62 -0
- package/src/components/molecules/obligation/modules/index.js +3 -1
package/dist/index.esm.js
CHANGED
|
@@ -6439,8 +6439,8 @@ var ClusterInnerWrapper = styled.div.withConfig({
|
|
|
6439
6439
|
displayName: "Clusterstyled__ClusterInnerWrapper",
|
|
6440
6440
|
componentId: "sc-1dkqsm7-1"
|
|
6441
6441
|
})(["box-sizing:border-box;display:flex;flex-wrap:", ";justify-content:", ";align-items:", ";margin:calc(", " / 2 * -1);min-height:", ";min-width:", ";> *{margin:calc(", " / 2);}"], function (_ref7) {
|
|
6442
|
-
var nowrap = _ref7
|
|
6443
|
-
return nowrap ? "nowrap" : "wrap";
|
|
6442
|
+
var $nowrap = _ref7.$nowrap;
|
|
6443
|
+
return $nowrap ? "nowrap" : "wrap";
|
|
6444
6444
|
}, function (_ref8) {
|
|
6445
6445
|
var justify = _ref8.justify;
|
|
6446
6446
|
return justify;
|
|
@@ -39251,1086 +39251,6 @@ var fallbackValues$z = {
|
|
|
39251
39251
|
modalLinkHoverFocus: modalLinkHoverFocus
|
|
39252
39252
|
};
|
|
39253
39253
|
|
|
39254
|
-
/*
|
|
39255
|
-
object-assign
|
|
39256
|
-
(c) Sindre Sorhus
|
|
39257
|
-
@license MIT
|
|
39258
|
-
*/
|
|
39259
|
-
/* eslint-disable no-unused-vars */
|
|
39260
|
-
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
39261
|
-
var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
39262
|
-
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
39263
|
-
|
|
39264
|
-
function toObject(val) {
|
|
39265
|
-
if (val === null || val === undefined) {
|
|
39266
|
-
throw new TypeError('Object.assign cannot be called with null or undefined');
|
|
39267
|
-
}
|
|
39268
|
-
|
|
39269
|
-
return Object(val);
|
|
39270
|
-
}
|
|
39271
|
-
|
|
39272
|
-
function shouldUseNative() {
|
|
39273
|
-
try {
|
|
39274
|
-
if (!Object.assign) {
|
|
39275
|
-
return false;
|
|
39276
|
-
}
|
|
39277
|
-
|
|
39278
|
-
// Detect buggy property enumeration order in older V8 versions.
|
|
39279
|
-
|
|
39280
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
|
|
39281
|
-
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
|
|
39282
|
-
test1[5] = 'de';
|
|
39283
|
-
if (Object.getOwnPropertyNames(test1)[0] === '5') {
|
|
39284
|
-
return false;
|
|
39285
|
-
}
|
|
39286
|
-
|
|
39287
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
39288
|
-
var test2 = {};
|
|
39289
|
-
for (var i = 0; i < 10; i++) {
|
|
39290
|
-
test2['_' + String.fromCharCode(i)] = i;
|
|
39291
|
-
}
|
|
39292
|
-
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
|
|
39293
|
-
return test2[n];
|
|
39294
|
-
});
|
|
39295
|
-
if (order2.join('') !== '0123456789') {
|
|
39296
|
-
return false;
|
|
39297
|
-
}
|
|
39298
|
-
|
|
39299
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
39300
|
-
var test3 = {};
|
|
39301
|
-
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
|
|
39302
|
-
test3[letter] = letter;
|
|
39303
|
-
});
|
|
39304
|
-
if (Object.keys(Object.assign({}, test3)).join('') !==
|
|
39305
|
-
'abcdefghijklmnopqrst') {
|
|
39306
|
-
return false;
|
|
39307
|
-
}
|
|
39308
|
-
|
|
39309
|
-
return true;
|
|
39310
|
-
} catch (err) {
|
|
39311
|
-
// We don't expect any of the above to throw, but better to be safe.
|
|
39312
|
-
return false;
|
|
39313
|
-
}
|
|
39314
|
-
}
|
|
39315
|
-
|
|
39316
|
-
var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
|
39317
|
-
var from;
|
|
39318
|
-
var to = toObject(target);
|
|
39319
|
-
var symbols;
|
|
39320
|
-
|
|
39321
|
-
for (var s = 1; s < arguments.length; s++) {
|
|
39322
|
-
from = Object(arguments[s]);
|
|
39323
|
-
|
|
39324
|
-
for (var key in from) {
|
|
39325
|
-
if (hasOwnProperty$1.call(from, key)) {
|
|
39326
|
-
to[key] = from[key];
|
|
39327
|
-
}
|
|
39328
|
-
}
|
|
39329
|
-
|
|
39330
|
-
if (getOwnPropertySymbols) {
|
|
39331
|
-
symbols = getOwnPropertySymbols(from);
|
|
39332
|
-
for (var i = 0; i < symbols.length; i++) {
|
|
39333
|
-
if (propIsEnumerable.call(from, symbols[i])) {
|
|
39334
|
-
to[symbols[i]] = from[symbols[i]];
|
|
39335
|
-
}
|
|
39336
|
-
}
|
|
39337
|
-
}
|
|
39338
|
-
}
|
|
39339
|
-
|
|
39340
|
-
return to;
|
|
39341
|
-
};
|
|
39342
|
-
|
|
39343
|
-
var scheduler_production_min = createCommonjsModule(function (module, exports) {
|
|
39344
|
-
var f,g,h,k,l;
|
|
39345
|
-
if("undefined"===typeof window||"function"!==typeof MessageChannel){var p=null,q=null,t=function(){if(null!==p)try{var a=exports.unstable_now();p(!0,a);p=null;}catch(b){throw setTimeout(t,0),b;}},u=Date.now();exports.unstable_now=function(){return Date.now()-u};f=function(a){null!==p?setTimeout(f,0,a):(p=a,setTimeout(t,0));};g=function(a,b){q=setTimeout(a,b);};h=function(){clearTimeout(q);};k=function(){return !1};l=exports.unstable_forceFrameRate=function(){};}else {var w=window.performance,x=window.Date,
|
|
39346
|
-
y=window.setTimeout,z=window.clearTimeout;if("undefined"!==typeof console){var A=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills");"function"!==typeof A&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills");}if("object"===
|
|
39347
|
-
typeof w&&"function"===typeof w.now)exports.unstable_now=function(){return w.now()};else {var B=x.now();exports.unstable_now=function(){return x.now()-B};}var C=!1,D=null,E=-1,F=5,G=0;k=function(){return exports.unstable_now()>=G};l=function(){};exports.unstable_forceFrameRate=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):F=0<a?Math.floor(1E3/a):5;};var H=new MessageChannel,I=H.port2;H.port1.onmessage=
|
|
39348
|
-
function(){if(null!==D){var a=exports.unstable_now();G=a+F;try{D(!0,a)?I.postMessage(null):(C=!1,D=null);}catch(b){throw I.postMessage(null),b;}}else C=!1;};f=function(a){D=a;C||(C=!0,I.postMessage(null));};g=function(a,b){E=y(function(){a(exports.unstable_now());},b);};h=function(){z(E);E=-1;};}function J(a,b){var c=a.length;a.push(b);a:for(;;){var d=c-1>>>1,e=a[d];if(void 0!==e&&0<K(e,b))a[d]=b,a[c]=e,c=d;else break a}}function L(a){a=a[0];return void 0===a?null:a}
|
|
39349
|
-
function M(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length;d<e;){var m=2*(d+1)-1,n=a[m],v=m+1,r=a[v];if(void 0!==n&&0>K(n,c))void 0!==r&&0>K(r,n)?(a[d]=r,a[v]=c,d=v):(a[d]=n,a[m]=c,d=m);else if(void 0!==r&&0>K(r,c))a[d]=r,a[v]=c,d=v;else break a}}return b}return null}function K(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}var N=[],O=[],P=1,Q=null,R=3,S=!1,T=!1,U=!1;
|
|
39350
|
-
function V(a){for(var b=L(O);null!==b;){if(null===b.callback)M(O);else if(b.startTime<=a)M(O),b.sortIndex=b.expirationTime,J(N,b);else break;b=L(O);}}function W(a){U=!1;V(a);if(!T)if(null!==L(N))T=!0,f(X);else {var b=L(O);null!==b&&g(W,b.startTime-a);}}
|
|
39351
|
-
function X(a,b){T=!1;U&&(U=!1,h());S=!0;var c=R;try{V(b);for(Q=L(N);null!==Q&&(!(Q.expirationTime>b)||a&&!k());){var d=Q.callback;if(null!==d){Q.callback=null;R=Q.priorityLevel;var e=d(Q.expirationTime<=b);b=exports.unstable_now();"function"===typeof e?Q.callback=e:Q===L(N)&&M(N);V(b);}else M(N);Q=L(N);}if(null!==Q)var m=!0;else {var n=L(O);null!==n&&g(W,n.startTime-b);m=!1;}return m}finally{Q=null,R=c,S=!1;}}
|
|
39352
|
-
function Y(a){switch(a){case 1:return -1;case 2:return 250;case 5:return 1073741823;case 4:return 1E4;default:return 5E3}}var Z=l;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(){T||S||(T=!0,f(X));};
|
|
39353
|
-
exports.unstable_getCurrentPriorityLevel=function(){return R};exports.unstable_getFirstCallbackNode=function(){return L(N)};exports.unstable_next=function(a){switch(R){case 1:case 2:case 3:var b=3;break;default:b=R;}var c=R;R=b;try{return a()}finally{R=c;}};exports.unstable_pauseExecution=function(){};exports.unstable_requestPaint=Z;exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3;}var c=R;R=a;try{return b()}finally{R=c;}};
|
|
39354
|
-
exports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();if("object"===typeof c&&null!==c){var e=c.delay;e="number"===typeof e&&0<e?d+e:d;c="number"===typeof c.timeout?c.timeout:Y(a);}else c=Y(a),e=d;c=e+c;a={id:P++,callback:b,priorityLevel:a,startTime:e,expirationTime:c,sortIndex:-1};e>d?(a.sortIndex=e,J(O,a),null===L(N)&&a===L(O)&&(U?h():U=!0,g(W,e-d))):(a.sortIndex=c,J(N,a),T||S||(T=!0,f(X)));return a};
|
|
39355
|
-
exports.unstable_shouldYield=function(){var a=exports.unstable_now();V(a);var b=L(N);return b!==Q&&null!==Q&&null!==b&&null!==b.callback&&b.startTime<=a&&b.expirationTime<Q.expirationTime||k()};exports.unstable_wrapCallback=function(a){var b=R;return function(){var c=R;R=b;try{return a.apply(this,arguments)}finally{R=c;}}};
|
|
39356
|
-
});
|
|
39357
|
-
var scheduler_production_min_1 = scheduler_production_min.unstable_now;
|
|
39358
|
-
var scheduler_production_min_2 = scheduler_production_min.unstable_forceFrameRate;
|
|
39359
|
-
var scheduler_production_min_3 = scheduler_production_min.unstable_IdlePriority;
|
|
39360
|
-
var scheduler_production_min_4 = scheduler_production_min.unstable_ImmediatePriority;
|
|
39361
|
-
var scheduler_production_min_5 = scheduler_production_min.unstable_LowPriority;
|
|
39362
|
-
var scheduler_production_min_6 = scheduler_production_min.unstable_NormalPriority;
|
|
39363
|
-
var scheduler_production_min_7 = scheduler_production_min.unstable_Profiling;
|
|
39364
|
-
var scheduler_production_min_8 = scheduler_production_min.unstable_UserBlockingPriority;
|
|
39365
|
-
var scheduler_production_min_9 = scheduler_production_min.unstable_cancelCallback;
|
|
39366
|
-
var scheduler_production_min_10 = scheduler_production_min.unstable_continueExecution;
|
|
39367
|
-
var scheduler_production_min_11 = scheduler_production_min.unstable_getCurrentPriorityLevel;
|
|
39368
|
-
var scheduler_production_min_12 = scheduler_production_min.unstable_getFirstCallbackNode;
|
|
39369
|
-
var scheduler_production_min_13 = scheduler_production_min.unstable_next;
|
|
39370
|
-
var scheduler_production_min_14 = scheduler_production_min.unstable_pauseExecution;
|
|
39371
|
-
var scheduler_production_min_15 = scheduler_production_min.unstable_requestPaint;
|
|
39372
|
-
var scheduler_production_min_16 = scheduler_production_min.unstable_runWithPriority;
|
|
39373
|
-
var scheduler_production_min_17 = scheduler_production_min.unstable_scheduleCallback;
|
|
39374
|
-
var scheduler_production_min_18 = scheduler_production_min.unstable_shouldYield;
|
|
39375
|
-
var scheduler_production_min_19 = scheduler_production_min.unstable_wrapCallback;
|
|
39376
|
-
|
|
39377
|
-
var scheduler_development = createCommonjsModule(function (module, exports) {
|
|
39378
|
-
|
|
39379
|
-
|
|
39380
|
-
|
|
39381
|
-
if (process.env.NODE_ENV !== "production") {
|
|
39382
|
-
(function() {
|
|
39383
|
-
|
|
39384
|
-
var enableSchedulerDebugging = false;
|
|
39385
|
-
var enableProfiling = true;
|
|
39386
|
-
|
|
39387
|
-
var requestHostCallback;
|
|
39388
|
-
var requestHostTimeout;
|
|
39389
|
-
var cancelHostTimeout;
|
|
39390
|
-
var shouldYieldToHost;
|
|
39391
|
-
var requestPaint;
|
|
39392
|
-
|
|
39393
|
-
if ( // If Scheduler runs in a non-DOM environment, it falls back to a naive
|
|
39394
|
-
// implementation using setTimeout.
|
|
39395
|
-
typeof window === 'undefined' || // Check if MessageChannel is supported, too.
|
|
39396
|
-
typeof MessageChannel !== 'function') {
|
|
39397
|
-
// If this accidentally gets imported in a non-browser environment, e.g. JavaScriptCore,
|
|
39398
|
-
// fallback to a naive implementation.
|
|
39399
|
-
var _callback = null;
|
|
39400
|
-
var _timeoutID = null;
|
|
39401
|
-
|
|
39402
|
-
var _flushCallback = function () {
|
|
39403
|
-
if (_callback !== null) {
|
|
39404
|
-
try {
|
|
39405
|
-
var currentTime = exports.unstable_now();
|
|
39406
|
-
var hasRemainingTime = true;
|
|
39407
|
-
|
|
39408
|
-
_callback(hasRemainingTime, currentTime);
|
|
39409
|
-
|
|
39410
|
-
_callback = null;
|
|
39411
|
-
} catch (e) {
|
|
39412
|
-
setTimeout(_flushCallback, 0);
|
|
39413
|
-
throw e;
|
|
39414
|
-
}
|
|
39415
|
-
}
|
|
39416
|
-
};
|
|
39417
|
-
|
|
39418
|
-
var initialTime = Date.now();
|
|
39419
|
-
|
|
39420
|
-
exports.unstable_now = function () {
|
|
39421
|
-
return Date.now() - initialTime;
|
|
39422
|
-
};
|
|
39423
|
-
|
|
39424
|
-
requestHostCallback = function (cb) {
|
|
39425
|
-
if (_callback !== null) {
|
|
39426
|
-
// Protect against re-entrancy.
|
|
39427
|
-
setTimeout(requestHostCallback, 0, cb);
|
|
39428
|
-
} else {
|
|
39429
|
-
_callback = cb;
|
|
39430
|
-
setTimeout(_flushCallback, 0);
|
|
39431
|
-
}
|
|
39432
|
-
};
|
|
39433
|
-
|
|
39434
|
-
requestHostTimeout = function (cb, ms) {
|
|
39435
|
-
_timeoutID = setTimeout(cb, ms);
|
|
39436
|
-
};
|
|
39437
|
-
|
|
39438
|
-
cancelHostTimeout = function () {
|
|
39439
|
-
clearTimeout(_timeoutID);
|
|
39440
|
-
};
|
|
39441
|
-
|
|
39442
|
-
shouldYieldToHost = function () {
|
|
39443
|
-
return false;
|
|
39444
|
-
};
|
|
39445
|
-
|
|
39446
|
-
requestPaint = exports.unstable_forceFrameRate = function () {};
|
|
39447
|
-
} else {
|
|
39448
|
-
// Capture local references to native APIs, in case a polyfill overrides them.
|
|
39449
|
-
var performance = window.performance;
|
|
39450
|
-
var _Date = window.Date;
|
|
39451
|
-
var _setTimeout = window.setTimeout;
|
|
39452
|
-
var _clearTimeout = window.clearTimeout;
|
|
39453
|
-
|
|
39454
|
-
if (typeof console !== 'undefined') {
|
|
39455
|
-
// TODO: Scheduler no longer requires these methods to be polyfilled. But
|
|
39456
|
-
// maybe we want to continue warning if they don't exist, to preserve the
|
|
39457
|
-
// option to rely on it in the future?
|
|
39458
|
-
var requestAnimationFrame = window.requestAnimationFrame;
|
|
39459
|
-
var cancelAnimationFrame = window.cancelAnimationFrame; // TODO: Remove fb.me link
|
|
39460
|
-
|
|
39461
|
-
if (typeof requestAnimationFrame !== 'function') {
|
|
39462
|
-
// Using console['error'] to evade Babel and ESLint
|
|
39463
|
-
console['error']("This browser doesn't support requestAnimationFrame. " + 'Make sure that you load a ' + 'polyfill in older browsers. https://fb.me/react-polyfills');
|
|
39464
|
-
}
|
|
39465
|
-
|
|
39466
|
-
if (typeof cancelAnimationFrame !== 'function') {
|
|
39467
|
-
// Using console['error'] to evade Babel and ESLint
|
|
39468
|
-
console['error']("This browser doesn't support cancelAnimationFrame. " + 'Make sure that you load a ' + 'polyfill in older browsers. https://fb.me/react-polyfills');
|
|
39469
|
-
}
|
|
39470
|
-
}
|
|
39471
|
-
|
|
39472
|
-
if (typeof performance === 'object' && typeof performance.now === 'function') {
|
|
39473
|
-
exports.unstable_now = function () {
|
|
39474
|
-
return performance.now();
|
|
39475
|
-
};
|
|
39476
|
-
} else {
|
|
39477
|
-
var _initialTime = _Date.now();
|
|
39478
|
-
|
|
39479
|
-
exports.unstable_now = function () {
|
|
39480
|
-
return _Date.now() - _initialTime;
|
|
39481
|
-
};
|
|
39482
|
-
}
|
|
39483
|
-
|
|
39484
|
-
var isMessageLoopRunning = false;
|
|
39485
|
-
var scheduledHostCallback = null;
|
|
39486
|
-
var taskTimeoutID = -1; // Scheduler periodically yields in case there is other work on the main
|
|
39487
|
-
// thread, like user events. By default, it yields multiple times per frame.
|
|
39488
|
-
// It does not attempt to align with frame boundaries, since most tasks don't
|
|
39489
|
-
// need to be frame aligned; for those that do, use requestAnimationFrame.
|
|
39490
|
-
|
|
39491
|
-
var yieldInterval = 5;
|
|
39492
|
-
var deadline = 0; // TODO: Make this configurable
|
|
39493
|
-
|
|
39494
|
-
{
|
|
39495
|
-
// `isInputPending` is not available. Since we have no way of knowing if
|
|
39496
|
-
// there's pending input, always yield at the end of the frame.
|
|
39497
|
-
shouldYieldToHost = function () {
|
|
39498
|
-
return exports.unstable_now() >= deadline;
|
|
39499
|
-
}; // Since we yield every frame regardless, `requestPaint` has no effect.
|
|
39500
|
-
|
|
39501
|
-
|
|
39502
|
-
requestPaint = function () {};
|
|
39503
|
-
}
|
|
39504
|
-
|
|
39505
|
-
exports.unstable_forceFrameRate = function (fps) {
|
|
39506
|
-
if (fps < 0 || fps > 125) {
|
|
39507
|
-
// Using console['error'] to evade Babel and ESLint
|
|
39508
|
-
console['error']('forceFrameRate takes a positive int between 0 and 125, ' + 'forcing framerates higher than 125 fps is not unsupported');
|
|
39509
|
-
return;
|
|
39510
|
-
}
|
|
39511
|
-
|
|
39512
|
-
if (fps > 0) {
|
|
39513
|
-
yieldInterval = Math.floor(1000 / fps);
|
|
39514
|
-
} else {
|
|
39515
|
-
// reset the framerate
|
|
39516
|
-
yieldInterval = 5;
|
|
39517
|
-
}
|
|
39518
|
-
};
|
|
39519
|
-
|
|
39520
|
-
var performWorkUntilDeadline = function () {
|
|
39521
|
-
if (scheduledHostCallback !== null) {
|
|
39522
|
-
var currentTime = exports.unstable_now(); // Yield after `yieldInterval` ms, regardless of where we are in the vsync
|
|
39523
|
-
// cycle. This means there's always time remaining at the beginning of
|
|
39524
|
-
// the message event.
|
|
39525
|
-
|
|
39526
|
-
deadline = currentTime + yieldInterval;
|
|
39527
|
-
var hasTimeRemaining = true;
|
|
39528
|
-
|
|
39529
|
-
try {
|
|
39530
|
-
var hasMoreWork = scheduledHostCallback(hasTimeRemaining, currentTime);
|
|
39531
|
-
|
|
39532
|
-
if (!hasMoreWork) {
|
|
39533
|
-
isMessageLoopRunning = false;
|
|
39534
|
-
scheduledHostCallback = null;
|
|
39535
|
-
} else {
|
|
39536
|
-
// If there's more work, schedule the next message event at the end
|
|
39537
|
-
// of the preceding one.
|
|
39538
|
-
port.postMessage(null);
|
|
39539
|
-
}
|
|
39540
|
-
} catch (error) {
|
|
39541
|
-
// If a scheduler task throws, exit the current browser task so the
|
|
39542
|
-
// error can be observed.
|
|
39543
|
-
port.postMessage(null);
|
|
39544
|
-
throw error;
|
|
39545
|
-
}
|
|
39546
|
-
} else {
|
|
39547
|
-
isMessageLoopRunning = false;
|
|
39548
|
-
} // Yielding to the browser will give it a chance to paint, so we can
|
|
39549
|
-
};
|
|
39550
|
-
|
|
39551
|
-
var channel = new MessageChannel();
|
|
39552
|
-
var port = channel.port2;
|
|
39553
|
-
channel.port1.onmessage = performWorkUntilDeadline;
|
|
39554
|
-
|
|
39555
|
-
requestHostCallback = function (callback) {
|
|
39556
|
-
scheduledHostCallback = callback;
|
|
39557
|
-
|
|
39558
|
-
if (!isMessageLoopRunning) {
|
|
39559
|
-
isMessageLoopRunning = true;
|
|
39560
|
-
port.postMessage(null);
|
|
39561
|
-
}
|
|
39562
|
-
};
|
|
39563
|
-
|
|
39564
|
-
requestHostTimeout = function (callback, ms) {
|
|
39565
|
-
taskTimeoutID = _setTimeout(function () {
|
|
39566
|
-
callback(exports.unstable_now());
|
|
39567
|
-
}, ms);
|
|
39568
|
-
};
|
|
39569
|
-
|
|
39570
|
-
cancelHostTimeout = function () {
|
|
39571
|
-
_clearTimeout(taskTimeoutID);
|
|
39572
|
-
|
|
39573
|
-
taskTimeoutID = -1;
|
|
39574
|
-
};
|
|
39575
|
-
}
|
|
39576
|
-
|
|
39577
|
-
function push(heap, node) {
|
|
39578
|
-
var index = heap.length;
|
|
39579
|
-
heap.push(node);
|
|
39580
|
-
siftUp(heap, node, index);
|
|
39581
|
-
}
|
|
39582
|
-
function peek(heap) {
|
|
39583
|
-
var first = heap[0];
|
|
39584
|
-
return first === undefined ? null : first;
|
|
39585
|
-
}
|
|
39586
|
-
function pop(heap) {
|
|
39587
|
-
var first = heap[0];
|
|
39588
|
-
|
|
39589
|
-
if (first !== undefined) {
|
|
39590
|
-
var last = heap.pop();
|
|
39591
|
-
|
|
39592
|
-
if (last !== first) {
|
|
39593
|
-
heap[0] = last;
|
|
39594
|
-
siftDown(heap, last, 0);
|
|
39595
|
-
}
|
|
39596
|
-
|
|
39597
|
-
return first;
|
|
39598
|
-
} else {
|
|
39599
|
-
return null;
|
|
39600
|
-
}
|
|
39601
|
-
}
|
|
39602
|
-
|
|
39603
|
-
function siftUp(heap, node, i) {
|
|
39604
|
-
var index = i;
|
|
39605
|
-
|
|
39606
|
-
while (true) {
|
|
39607
|
-
var parentIndex = index - 1 >>> 1;
|
|
39608
|
-
var parent = heap[parentIndex];
|
|
39609
|
-
|
|
39610
|
-
if (parent !== undefined && compare(parent, node) > 0) {
|
|
39611
|
-
// The parent is larger. Swap positions.
|
|
39612
|
-
heap[parentIndex] = node;
|
|
39613
|
-
heap[index] = parent;
|
|
39614
|
-
index = parentIndex;
|
|
39615
|
-
} else {
|
|
39616
|
-
// The parent is smaller. Exit.
|
|
39617
|
-
return;
|
|
39618
|
-
}
|
|
39619
|
-
}
|
|
39620
|
-
}
|
|
39621
|
-
|
|
39622
|
-
function siftDown(heap, node, i) {
|
|
39623
|
-
var index = i;
|
|
39624
|
-
var length = heap.length;
|
|
39625
|
-
|
|
39626
|
-
while (index < length) {
|
|
39627
|
-
var leftIndex = (index + 1) * 2 - 1;
|
|
39628
|
-
var left = heap[leftIndex];
|
|
39629
|
-
var rightIndex = leftIndex + 1;
|
|
39630
|
-
var right = heap[rightIndex]; // If the left or right node is smaller, swap with the smaller of those.
|
|
39631
|
-
|
|
39632
|
-
if (left !== undefined && compare(left, node) < 0) {
|
|
39633
|
-
if (right !== undefined && compare(right, left) < 0) {
|
|
39634
|
-
heap[index] = right;
|
|
39635
|
-
heap[rightIndex] = node;
|
|
39636
|
-
index = rightIndex;
|
|
39637
|
-
} else {
|
|
39638
|
-
heap[index] = left;
|
|
39639
|
-
heap[leftIndex] = node;
|
|
39640
|
-
index = leftIndex;
|
|
39641
|
-
}
|
|
39642
|
-
} else if (right !== undefined && compare(right, node) < 0) {
|
|
39643
|
-
heap[index] = right;
|
|
39644
|
-
heap[rightIndex] = node;
|
|
39645
|
-
index = rightIndex;
|
|
39646
|
-
} else {
|
|
39647
|
-
// Neither child is smaller. Exit.
|
|
39648
|
-
return;
|
|
39649
|
-
}
|
|
39650
|
-
}
|
|
39651
|
-
}
|
|
39652
|
-
|
|
39653
|
-
function compare(a, b) {
|
|
39654
|
-
// Compare sort index first, then task id.
|
|
39655
|
-
var diff = a.sortIndex - b.sortIndex;
|
|
39656
|
-
return diff !== 0 ? diff : a.id - b.id;
|
|
39657
|
-
}
|
|
39658
|
-
|
|
39659
|
-
// TODO: Use symbols?
|
|
39660
|
-
var NoPriority = 0;
|
|
39661
|
-
var ImmediatePriority = 1;
|
|
39662
|
-
var UserBlockingPriority = 2;
|
|
39663
|
-
var NormalPriority = 3;
|
|
39664
|
-
var LowPriority = 4;
|
|
39665
|
-
var IdlePriority = 5;
|
|
39666
|
-
|
|
39667
|
-
var runIdCounter = 0;
|
|
39668
|
-
var mainThreadIdCounter = 0;
|
|
39669
|
-
var profilingStateSize = 4;
|
|
39670
|
-
var sharedProfilingBuffer = // $FlowFixMe Flow doesn't know about SharedArrayBuffer
|
|
39671
|
-
typeof SharedArrayBuffer === 'function' ? new SharedArrayBuffer(profilingStateSize * Int32Array.BYTES_PER_ELEMENT) : // $FlowFixMe Flow doesn't know about ArrayBuffer
|
|
39672
|
-
typeof ArrayBuffer === 'function' ? new ArrayBuffer(profilingStateSize * Int32Array.BYTES_PER_ELEMENT) : null // Don't crash the init path on IE9
|
|
39673
|
-
;
|
|
39674
|
-
var profilingState = sharedProfilingBuffer !== null ? new Int32Array(sharedProfilingBuffer) : []; // We can't read this but it helps save bytes for null checks
|
|
39675
|
-
|
|
39676
|
-
var PRIORITY = 0;
|
|
39677
|
-
var CURRENT_TASK_ID = 1;
|
|
39678
|
-
var CURRENT_RUN_ID = 2;
|
|
39679
|
-
var QUEUE_SIZE = 3;
|
|
39680
|
-
|
|
39681
|
-
{
|
|
39682
|
-
profilingState[PRIORITY] = NoPriority; // This is maintained with a counter, because the size of the priority queue
|
|
39683
|
-
// array might include canceled tasks.
|
|
39684
|
-
|
|
39685
|
-
profilingState[QUEUE_SIZE] = 0;
|
|
39686
|
-
profilingState[CURRENT_TASK_ID] = 0;
|
|
39687
|
-
} // Bytes per element is 4
|
|
39688
|
-
|
|
39689
|
-
|
|
39690
|
-
var INITIAL_EVENT_LOG_SIZE = 131072;
|
|
39691
|
-
var MAX_EVENT_LOG_SIZE = 524288; // Equivalent to 2 megabytes
|
|
39692
|
-
|
|
39693
|
-
var eventLogSize = 0;
|
|
39694
|
-
var eventLogBuffer = null;
|
|
39695
|
-
var eventLog = null;
|
|
39696
|
-
var eventLogIndex = 0;
|
|
39697
|
-
var TaskStartEvent = 1;
|
|
39698
|
-
var TaskCompleteEvent = 2;
|
|
39699
|
-
var TaskErrorEvent = 3;
|
|
39700
|
-
var TaskCancelEvent = 4;
|
|
39701
|
-
var TaskRunEvent = 5;
|
|
39702
|
-
var TaskYieldEvent = 6;
|
|
39703
|
-
var SchedulerSuspendEvent = 7;
|
|
39704
|
-
var SchedulerResumeEvent = 8;
|
|
39705
|
-
|
|
39706
|
-
function logEvent(entries) {
|
|
39707
|
-
if (eventLog !== null) {
|
|
39708
|
-
var offset = eventLogIndex;
|
|
39709
|
-
eventLogIndex += entries.length;
|
|
39710
|
-
|
|
39711
|
-
if (eventLogIndex + 1 > eventLogSize) {
|
|
39712
|
-
eventLogSize *= 2;
|
|
39713
|
-
|
|
39714
|
-
if (eventLogSize > MAX_EVENT_LOG_SIZE) {
|
|
39715
|
-
// Using console['error'] to evade Babel and ESLint
|
|
39716
|
-
console['error']("Scheduler Profiling: Event log exceeded maximum size. Don't " + 'forget to call `stopLoggingProfilingEvents()`.');
|
|
39717
|
-
stopLoggingProfilingEvents();
|
|
39718
|
-
return;
|
|
39719
|
-
}
|
|
39720
|
-
|
|
39721
|
-
var newEventLog = new Int32Array(eventLogSize * 4);
|
|
39722
|
-
newEventLog.set(eventLog);
|
|
39723
|
-
eventLogBuffer = newEventLog.buffer;
|
|
39724
|
-
eventLog = newEventLog;
|
|
39725
|
-
}
|
|
39726
|
-
|
|
39727
|
-
eventLog.set(entries, offset);
|
|
39728
|
-
}
|
|
39729
|
-
}
|
|
39730
|
-
|
|
39731
|
-
function startLoggingProfilingEvents() {
|
|
39732
|
-
eventLogSize = INITIAL_EVENT_LOG_SIZE;
|
|
39733
|
-
eventLogBuffer = new ArrayBuffer(eventLogSize * 4);
|
|
39734
|
-
eventLog = new Int32Array(eventLogBuffer);
|
|
39735
|
-
eventLogIndex = 0;
|
|
39736
|
-
}
|
|
39737
|
-
function stopLoggingProfilingEvents() {
|
|
39738
|
-
var buffer = eventLogBuffer;
|
|
39739
|
-
eventLogSize = 0;
|
|
39740
|
-
eventLogBuffer = null;
|
|
39741
|
-
eventLog = null;
|
|
39742
|
-
eventLogIndex = 0;
|
|
39743
|
-
return buffer;
|
|
39744
|
-
}
|
|
39745
|
-
function markTaskStart(task, ms) {
|
|
39746
|
-
{
|
|
39747
|
-
profilingState[QUEUE_SIZE]++;
|
|
39748
|
-
|
|
39749
|
-
if (eventLog !== null) {
|
|
39750
|
-
// performance.now returns a float, representing milliseconds. When the
|
|
39751
|
-
// event is logged, it's coerced to an int. Convert to microseconds to
|
|
39752
|
-
// maintain extra degrees of precision.
|
|
39753
|
-
logEvent([TaskStartEvent, ms * 1000, task.id, task.priorityLevel]);
|
|
39754
|
-
}
|
|
39755
|
-
}
|
|
39756
|
-
}
|
|
39757
|
-
function markTaskCompleted(task, ms) {
|
|
39758
|
-
{
|
|
39759
|
-
profilingState[PRIORITY] = NoPriority;
|
|
39760
|
-
profilingState[CURRENT_TASK_ID] = 0;
|
|
39761
|
-
profilingState[QUEUE_SIZE]--;
|
|
39762
|
-
|
|
39763
|
-
if (eventLog !== null) {
|
|
39764
|
-
logEvent([TaskCompleteEvent, ms * 1000, task.id]);
|
|
39765
|
-
}
|
|
39766
|
-
}
|
|
39767
|
-
}
|
|
39768
|
-
function markTaskCanceled(task, ms) {
|
|
39769
|
-
{
|
|
39770
|
-
profilingState[QUEUE_SIZE]--;
|
|
39771
|
-
|
|
39772
|
-
if (eventLog !== null) {
|
|
39773
|
-
logEvent([TaskCancelEvent, ms * 1000, task.id]);
|
|
39774
|
-
}
|
|
39775
|
-
}
|
|
39776
|
-
}
|
|
39777
|
-
function markTaskErrored(task, ms) {
|
|
39778
|
-
{
|
|
39779
|
-
profilingState[PRIORITY] = NoPriority;
|
|
39780
|
-
profilingState[CURRENT_TASK_ID] = 0;
|
|
39781
|
-
profilingState[QUEUE_SIZE]--;
|
|
39782
|
-
|
|
39783
|
-
if (eventLog !== null) {
|
|
39784
|
-
logEvent([TaskErrorEvent, ms * 1000, task.id]);
|
|
39785
|
-
}
|
|
39786
|
-
}
|
|
39787
|
-
}
|
|
39788
|
-
function markTaskRun(task, ms) {
|
|
39789
|
-
{
|
|
39790
|
-
runIdCounter++;
|
|
39791
|
-
profilingState[PRIORITY] = task.priorityLevel;
|
|
39792
|
-
profilingState[CURRENT_TASK_ID] = task.id;
|
|
39793
|
-
profilingState[CURRENT_RUN_ID] = runIdCounter;
|
|
39794
|
-
|
|
39795
|
-
if (eventLog !== null) {
|
|
39796
|
-
logEvent([TaskRunEvent, ms * 1000, task.id, runIdCounter]);
|
|
39797
|
-
}
|
|
39798
|
-
}
|
|
39799
|
-
}
|
|
39800
|
-
function markTaskYield(task, ms) {
|
|
39801
|
-
{
|
|
39802
|
-
profilingState[PRIORITY] = NoPriority;
|
|
39803
|
-
profilingState[CURRENT_TASK_ID] = 0;
|
|
39804
|
-
profilingState[CURRENT_RUN_ID] = 0;
|
|
39805
|
-
|
|
39806
|
-
if (eventLog !== null) {
|
|
39807
|
-
logEvent([TaskYieldEvent, ms * 1000, task.id, runIdCounter]);
|
|
39808
|
-
}
|
|
39809
|
-
}
|
|
39810
|
-
}
|
|
39811
|
-
function markSchedulerSuspended(ms) {
|
|
39812
|
-
{
|
|
39813
|
-
mainThreadIdCounter++;
|
|
39814
|
-
|
|
39815
|
-
if (eventLog !== null) {
|
|
39816
|
-
logEvent([SchedulerSuspendEvent, ms * 1000, mainThreadIdCounter]);
|
|
39817
|
-
}
|
|
39818
|
-
}
|
|
39819
|
-
}
|
|
39820
|
-
function markSchedulerUnsuspended(ms) {
|
|
39821
|
-
{
|
|
39822
|
-
if (eventLog !== null) {
|
|
39823
|
-
logEvent([SchedulerResumeEvent, ms * 1000, mainThreadIdCounter]);
|
|
39824
|
-
}
|
|
39825
|
-
}
|
|
39826
|
-
}
|
|
39827
|
-
|
|
39828
|
-
/* eslint-disable no-var */
|
|
39829
|
-
// Math.pow(2, 30) - 1
|
|
39830
|
-
// 0b111111111111111111111111111111
|
|
39831
|
-
|
|
39832
|
-
var maxSigned31BitInt = 1073741823; // Times out immediately
|
|
39833
|
-
|
|
39834
|
-
var IMMEDIATE_PRIORITY_TIMEOUT = -1; // Eventually times out
|
|
39835
|
-
|
|
39836
|
-
var USER_BLOCKING_PRIORITY = 250;
|
|
39837
|
-
var NORMAL_PRIORITY_TIMEOUT = 5000;
|
|
39838
|
-
var LOW_PRIORITY_TIMEOUT = 10000; // Never times out
|
|
39839
|
-
|
|
39840
|
-
var IDLE_PRIORITY = maxSigned31BitInt; // Tasks are stored on a min heap
|
|
39841
|
-
|
|
39842
|
-
var taskQueue = [];
|
|
39843
|
-
var timerQueue = []; // Incrementing id counter. Used to maintain insertion order.
|
|
39844
|
-
|
|
39845
|
-
var taskIdCounter = 1; // Pausing the scheduler is useful for debugging.
|
|
39846
|
-
var currentTask = null;
|
|
39847
|
-
var currentPriorityLevel = NormalPriority; // This is set while performing work, to prevent re-entrancy.
|
|
39848
|
-
|
|
39849
|
-
var isPerformingWork = false;
|
|
39850
|
-
var isHostCallbackScheduled = false;
|
|
39851
|
-
var isHostTimeoutScheduled = false;
|
|
39852
|
-
|
|
39853
|
-
function advanceTimers(currentTime) {
|
|
39854
|
-
// Check for tasks that are no longer delayed and add them to the queue.
|
|
39855
|
-
var timer = peek(timerQueue);
|
|
39856
|
-
|
|
39857
|
-
while (timer !== null) {
|
|
39858
|
-
if (timer.callback === null) {
|
|
39859
|
-
// Timer was cancelled.
|
|
39860
|
-
pop(timerQueue);
|
|
39861
|
-
} else if (timer.startTime <= currentTime) {
|
|
39862
|
-
// Timer fired. Transfer to the task queue.
|
|
39863
|
-
pop(timerQueue);
|
|
39864
|
-
timer.sortIndex = timer.expirationTime;
|
|
39865
|
-
push(taskQueue, timer);
|
|
39866
|
-
|
|
39867
|
-
{
|
|
39868
|
-
markTaskStart(timer, currentTime);
|
|
39869
|
-
timer.isQueued = true;
|
|
39870
|
-
}
|
|
39871
|
-
} else {
|
|
39872
|
-
// Remaining timers are pending.
|
|
39873
|
-
return;
|
|
39874
|
-
}
|
|
39875
|
-
|
|
39876
|
-
timer = peek(timerQueue);
|
|
39877
|
-
}
|
|
39878
|
-
}
|
|
39879
|
-
|
|
39880
|
-
function handleTimeout(currentTime) {
|
|
39881
|
-
isHostTimeoutScheduled = false;
|
|
39882
|
-
advanceTimers(currentTime);
|
|
39883
|
-
|
|
39884
|
-
if (!isHostCallbackScheduled) {
|
|
39885
|
-
if (peek(taskQueue) !== null) {
|
|
39886
|
-
isHostCallbackScheduled = true;
|
|
39887
|
-
requestHostCallback(flushWork);
|
|
39888
|
-
} else {
|
|
39889
|
-
var firstTimer = peek(timerQueue);
|
|
39890
|
-
|
|
39891
|
-
if (firstTimer !== null) {
|
|
39892
|
-
requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
|
|
39893
|
-
}
|
|
39894
|
-
}
|
|
39895
|
-
}
|
|
39896
|
-
}
|
|
39897
|
-
|
|
39898
|
-
function flushWork(hasTimeRemaining, initialTime) {
|
|
39899
|
-
{
|
|
39900
|
-
markSchedulerUnsuspended(initialTime);
|
|
39901
|
-
} // We'll need a host callback the next time work is scheduled.
|
|
39902
|
-
|
|
39903
|
-
|
|
39904
|
-
isHostCallbackScheduled = false;
|
|
39905
|
-
|
|
39906
|
-
if (isHostTimeoutScheduled) {
|
|
39907
|
-
// We scheduled a timeout but it's no longer needed. Cancel it.
|
|
39908
|
-
isHostTimeoutScheduled = false;
|
|
39909
|
-
cancelHostTimeout();
|
|
39910
|
-
}
|
|
39911
|
-
|
|
39912
|
-
isPerformingWork = true;
|
|
39913
|
-
var previousPriorityLevel = currentPriorityLevel;
|
|
39914
|
-
|
|
39915
|
-
try {
|
|
39916
|
-
if (enableProfiling) {
|
|
39917
|
-
try {
|
|
39918
|
-
return workLoop(hasTimeRemaining, initialTime);
|
|
39919
|
-
} catch (error) {
|
|
39920
|
-
if (currentTask !== null) {
|
|
39921
|
-
var currentTime = exports.unstable_now();
|
|
39922
|
-
markTaskErrored(currentTask, currentTime);
|
|
39923
|
-
currentTask.isQueued = false;
|
|
39924
|
-
}
|
|
39925
|
-
|
|
39926
|
-
throw error;
|
|
39927
|
-
}
|
|
39928
|
-
} else {
|
|
39929
|
-
// No catch in prod codepath.
|
|
39930
|
-
return workLoop(hasTimeRemaining, initialTime);
|
|
39931
|
-
}
|
|
39932
|
-
} finally {
|
|
39933
|
-
currentTask = null;
|
|
39934
|
-
currentPriorityLevel = previousPriorityLevel;
|
|
39935
|
-
isPerformingWork = false;
|
|
39936
|
-
|
|
39937
|
-
{
|
|
39938
|
-
var _currentTime = exports.unstable_now();
|
|
39939
|
-
|
|
39940
|
-
markSchedulerSuspended(_currentTime);
|
|
39941
|
-
}
|
|
39942
|
-
}
|
|
39943
|
-
}
|
|
39944
|
-
|
|
39945
|
-
function workLoop(hasTimeRemaining, initialTime) {
|
|
39946
|
-
var currentTime = initialTime;
|
|
39947
|
-
advanceTimers(currentTime);
|
|
39948
|
-
currentTask = peek(taskQueue);
|
|
39949
|
-
|
|
39950
|
-
while (currentTask !== null && !(enableSchedulerDebugging )) {
|
|
39951
|
-
if (currentTask.expirationTime > currentTime && (!hasTimeRemaining || shouldYieldToHost())) {
|
|
39952
|
-
// This currentTask hasn't expired, and we've reached the deadline.
|
|
39953
|
-
break;
|
|
39954
|
-
}
|
|
39955
|
-
|
|
39956
|
-
var callback = currentTask.callback;
|
|
39957
|
-
|
|
39958
|
-
if (callback !== null) {
|
|
39959
|
-
currentTask.callback = null;
|
|
39960
|
-
currentPriorityLevel = currentTask.priorityLevel;
|
|
39961
|
-
var didUserCallbackTimeout = currentTask.expirationTime <= currentTime;
|
|
39962
|
-
markTaskRun(currentTask, currentTime);
|
|
39963
|
-
var continuationCallback = callback(didUserCallbackTimeout);
|
|
39964
|
-
currentTime = exports.unstable_now();
|
|
39965
|
-
|
|
39966
|
-
if (typeof continuationCallback === 'function') {
|
|
39967
|
-
currentTask.callback = continuationCallback;
|
|
39968
|
-
markTaskYield(currentTask, currentTime);
|
|
39969
|
-
} else {
|
|
39970
|
-
{
|
|
39971
|
-
markTaskCompleted(currentTask, currentTime);
|
|
39972
|
-
currentTask.isQueued = false;
|
|
39973
|
-
}
|
|
39974
|
-
|
|
39975
|
-
if (currentTask === peek(taskQueue)) {
|
|
39976
|
-
pop(taskQueue);
|
|
39977
|
-
}
|
|
39978
|
-
}
|
|
39979
|
-
|
|
39980
|
-
advanceTimers(currentTime);
|
|
39981
|
-
} else {
|
|
39982
|
-
pop(taskQueue);
|
|
39983
|
-
}
|
|
39984
|
-
|
|
39985
|
-
currentTask = peek(taskQueue);
|
|
39986
|
-
} // Return whether there's additional work
|
|
39987
|
-
|
|
39988
|
-
|
|
39989
|
-
if (currentTask !== null) {
|
|
39990
|
-
return true;
|
|
39991
|
-
} else {
|
|
39992
|
-
var firstTimer = peek(timerQueue);
|
|
39993
|
-
|
|
39994
|
-
if (firstTimer !== null) {
|
|
39995
|
-
requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
|
|
39996
|
-
}
|
|
39997
|
-
|
|
39998
|
-
return false;
|
|
39999
|
-
}
|
|
40000
|
-
}
|
|
40001
|
-
|
|
40002
|
-
function unstable_runWithPriority(priorityLevel, eventHandler) {
|
|
40003
|
-
switch (priorityLevel) {
|
|
40004
|
-
case ImmediatePriority:
|
|
40005
|
-
case UserBlockingPriority:
|
|
40006
|
-
case NormalPriority:
|
|
40007
|
-
case LowPriority:
|
|
40008
|
-
case IdlePriority:
|
|
40009
|
-
break;
|
|
40010
|
-
|
|
40011
|
-
default:
|
|
40012
|
-
priorityLevel = NormalPriority;
|
|
40013
|
-
}
|
|
40014
|
-
|
|
40015
|
-
var previousPriorityLevel = currentPriorityLevel;
|
|
40016
|
-
currentPriorityLevel = priorityLevel;
|
|
40017
|
-
|
|
40018
|
-
try {
|
|
40019
|
-
return eventHandler();
|
|
40020
|
-
} finally {
|
|
40021
|
-
currentPriorityLevel = previousPriorityLevel;
|
|
40022
|
-
}
|
|
40023
|
-
}
|
|
40024
|
-
|
|
40025
|
-
function unstable_next(eventHandler) {
|
|
40026
|
-
var priorityLevel;
|
|
40027
|
-
|
|
40028
|
-
switch (currentPriorityLevel) {
|
|
40029
|
-
case ImmediatePriority:
|
|
40030
|
-
case UserBlockingPriority:
|
|
40031
|
-
case NormalPriority:
|
|
40032
|
-
// Shift down to normal priority
|
|
40033
|
-
priorityLevel = NormalPriority;
|
|
40034
|
-
break;
|
|
40035
|
-
|
|
40036
|
-
default:
|
|
40037
|
-
// Anything lower than normal priority should remain at the current level.
|
|
40038
|
-
priorityLevel = currentPriorityLevel;
|
|
40039
|
-
break;
|
|
40040
|
-
}
|
|
40041
|
-
|
|
40042
|
-
var previousPriorityLevel = currentPriorityLevel;
|
|
40043
|
-
currentPriorityLevel = priorityLevel;
|
|
40044
|
-
|
|
40045
|
-
try {
|
|
40046
|
-
return eventHandler();
|
|
40047
|
-
} finally {
|
|
40048
|
-
currentPriorityLevel = previousPriorityLevel;
|
|
40049
|
-
}
|
|
40050
|
-
}
|
|
40051
|
-
|
|
40052
|
-
function unstable_wrapCallback(callback) {
|
|
40053
|
-
var parentPriorityLevel = currentPriorityLevel;
|
|
40054
|
-
return function () {
|
|
40055
|
-
// This is a fork of runWithPriority, inlined for performance.
|
|
40056
|
-
var previousPriorityLevel = currentPriorityLevel;
|
|
40057
|
-
currentPriorityLevel = parentPriorityLevel;
|
|
40058
|
-
|
|
40059
|
-
try {
|
|
40060
|
-
return callback.apply(this, arguments);
|
|
40061
|
-
} finally {
|
|
40062
|
-
currentPriorityLevel = previousPriorityLevel;
|
|
40063
|
-
}
|
|
40064
|
-
};
|
|
40065
|
-
}
|
|
40066
|
-
|
|
40067
|
-
function timeoutForPriorityLevel(priorityLevel) {
|
|
40068
|
-
switch (priorityLevel) {
|
|
40069
|
-
case ImmediatePriority:
|
|
40070
|
-
return IMMEDIATE_PRIORITY_TIMEOUT;
|
|
40071
|
-
|
|
40072
|
-
case UserBlockingPriority:
|
|
40073
|
-
return USER_BLOCKING_PRIORITY;
|
|
40074
|
-
|
|
40075
|
-
case IdlePriority:
|
|
40076
|
-
return IDLE_PRIORITY;
|
|
40077
|
-
|
|
40078
|
-
case LowPriority:
|
|
40079
|
-
return LOW_PRIORITY_TIMEOUT;
|
|
40080
|
-
|
|
40081
|
-
case NormalPriority:
|
|
40082
|
-
default:
|
|
40083
|
-
return NORMAL_PRIORITY_TIMEOUT;
|
|
40084
|
-
}
|
|
40085
|
-
}
|
|
40086
|
-
|
|
40087
|
-
function unstable_scheduleCallback(priorityLevel, callback, options) {
|
|
40088
|
-
var currentTime = exports.unstable_now();
|
|
40089
|
-
var startTime;
|
|
40090
|
-
var timeout;
|
|
40091
|
-
|
|
40092
|
-
if (typeof options === 'object' && options !== null) {
|
|
40093
|
-
var delay = options.delay;
|
|
40094
|
-
|
|
40095
|
-
if (typeof delay === 'number' && delay > 0) {
|
|
40096
|
-
startTime = currentTime + delay;
|
|
40097
|
-
} else {
|
|
40098
|
-
startTime = currentTime;
|
|
40099
|
-
}
|
|
40100
|
-
|
|
40101
|
-
timeout = typeof options.timeout === 'number' ? options.timeout : timeoutForPriorityLevel(priorityLevel);
|
|
40102
|
-
} else {
|
|
40103
|
-
timeout = timeoutForPriorityLevel(priorityLevel);
|
|
40104
|
-
startTime = currentTime;
|
|
40105
|
-
}
|
|
40106
|
-
|
|
40107
|
-
var expirationTime = startTime + timeout;
|
|
40108
|
-
var newTask = {
|
|
40109
|
-
id: taskIdCounter++,
|
|
40110
|
-
callback: callback,
|
|
40111
|
-
priorityLevel: priorityLevel,
|
|
40112
|
-
startTime: startTime,
|
|
40113
|
-
expirationTime: expirationTime,
|
|
40114
|
-
sortIndex: -1
|
|
40115
|
-
};
|
|
40116
|
-
|
|
40117
|
-
{
|
|
40118
|
-
newTask.isQueued = false;
|
|
40119
|
-
}
|
|
40120
|
-
|
|
40121
|
-
if (startTime > currentTime) {
|
|
40122
|
-
// This is a delayed task.
|
|
40123
|
-
newTask.sortIndex = startTime;
|
|
40124
|
-
push(timerQueue, newTask);
|
|
40125
|
-
|
|
40126
|
-
if (peek(taskQueue) === null && newTask === peek(timerQueue)) {
|
|
40127
|
-
// All tasks are delayed, and this is the task with the earliest delay.
|
|
40128
|
-
if (isHostTimeoutScheduled) {
|
|
40129
|
-
// Cancel an existing timeout.
|
|
40130
|
-
cancelHostTimeout();
|
|
40131
|
-
} else {
|
|
40132
|
-
isHostTimeoutScheduled = true;
|
|
40133
|
-
} // Schedule a timeout.
|
|
40134
|
-
|
|
40135
|
-
|
|
40136
|
-
requestHostTimeout(handleTimeout, startTime - currentTime);
|
|
40137
|
-
}
|
|
40138
|
-
} else {
|
|
40139
|
-
newTask.sortIndex = expirationTime;
|
|
40140
|
-
push(taskQueue, newTask);
|
|
40141
|
-
|
|
40142
|
-
{
|
|
40143
|
-
markTaskStart(newTask, currentTime);
|
|
40144
|
-
newTask.isQueued = true;
|
|
40145
|
-
} // Schedule a host callback, if needed. If we're already performing work,
|
|
40146
|
-
// wait until the next time we yield.
|
|
40147
|
-
|
|
40148
|
-
|
|
40149
|
-
if (!isHostCallbackScheduled && !isPerformingWork) {
|
|
40150
|
-
isHostCallbackScheduled = true;
|
|
40151
|
-
requestHostCallback(flushWork);
|
|
40152
|
-
}
|
|
40153
|
-
}
|
|
40154
|
-
|
|
40155
|
-
return newTask;
|
|
40156
|
-
}
|
|
40157
|
-
|
|
40158
|
-
function unstable_pauseExecution() {
|
|
40159
|
-
}
|
|
40160
|
-
|
|
40161
|
-
function unstable_continueExecution() {
|
|
40162
|
-
|
|
40163
|
-
if (!isHostCallbackScheduled && !isPerformingWork) {
|
|
40164
|
-
isHostCallbackScheduled = true;
|
|
40165
|
-
requestHostCallback(flushWork);
|
|
40166
|
-
}
|
|
40167
|
-
}
|
|
40168
|
-
|
|
40169
|
-
function unstable_getFirstCallbackNode() {
|
|
40170
|
-
return peek(taskQueue);
|
|
40171
|
-
}
|
|
40172
|
-
|
|
40173
|
-
function unstable_cancelCallback(task) {
|
|
40174
|
-
{
|
|
40175
|
-
if (task.isQueued) {
|
|
40176
|
-
var currentTime = exports.unstable_now();
|
|
40177
|
-
markTaskCanceled(task, currentTime);
|
|
40178
|
-
task.isQueued = false;
|
|
40179
|
-
}
|
|
40180
|
-
} // Null out the callback to indicate the task has been canceled. (Can't
|
|
40181
|
-
// remove from the queue because you can't remove arbitrary nodes from an
|
|
40182
|
-
// array based heap, only the first one.)
|
|
40183
|
-
|
|
40184
|
-
|
|
40185
|
-
task.callback = null;
|
|
40186
|
-
}
|
|
40187
|
-
|
|
40188
|
-
function unstable_getCurrentPriorityLevel() {
|
|
40189
|
-
return currentPriorityLevel;
|
|
40190
|
-
}
|
|
40191
|
-
|
|
40192
|
-
function unstable_shouldYield() {
|
|
40193
|
-
var currentTime = exports.unstable_now();
|
|
40194
|
-
advanceTimers(currentTime);
|
|
40195
|
-
var firstTask = peek(taskQueue);
|
|
40196
|
-
return firstTask !== currentTask && currentTask !== null && firstTask !== null && firstTask.callback !== null && firstTask.startTime <= currentTime && firstTask.expirationTime < currentTask.expirationTime || shouldYieldToHost();
|
|
40197
|
-
}
|
|
40198
|
-
|
|
40199
|
-
var unstable_requestPaint = requestPaint;
|
|
40200
|
-
var unstable_Profiling = {
|
|
40201
|
-
startLoggingProfilingEvents: startLoggingProfilingEvents,
|
|
40202
|
-
stopLoggingProfilingEvents: stopLoggingProfilingEvents,
|
|
40203
|
-
sharedProfilingBuffer: sharedProfilingBuffer
|
|
40204
|
-
} ;
|
|
40205
|
-
|
|
40206
|
-
exports.unstable_IdlePriority = IdlePriority;
|
|
40207
|
-
exports.unstable_ImmediatePriority = ImmediatePriority;
|
|
40208
|
-
exports.unstable_LowPriority = LowPriority;
|
|
40209
|
-
exports.unstable_NormalPriority = NormalPriority;
|
|
40210
|
-
exports.unstable_Profiling = unstable_Profiling;
|
|
40211
|
-
exports.unstable_UserBlockingPriority = UserBlockingPriority;
|
|
40212
|
-
exports.unstable_cancelCallback = unstable_cancelCallback;
|
|
40213
|
-
exports.unstable_continueExecution = unstable_continueExecution;
|
|
40214
|
-
exports.unstable_getCurrentPriorityLevel = unstable_getCurrentPriorityLevel;
|
|
40215
|
-
exports.unstable_getFirstCallbackNode = unstable_getFirstCallbackNode;
|
|
40216
|
-
exports.unstable_next = unstable_next;
|
|
40217
|
-
exports.unstable_pauseExecution = unstable_pauseExecution;
|
|
40218
|
-
exports.unstable_requestPaint = unstable_requestPaint;
|
|
40219
|
-
exports.unstable_runWithPriority = unstable_runWithPriority;
|
|
40220
|
-
exports.unstable_scheduleCallback = unstable_scheduleCallback;
|
|
40221
|
-
exports.unstable_shouldYield = unstable_shouldYield;
|
|
40222
|
-
exports.unstable_wrapCallback = unstable_wrapCallback;
|
|
40223
|
-
})();
|
|
40224
|
-
}
|
|
40225
|
-
});
|
|
40226
|
-
var scheduler_development_1 = scheduler_development.unstable_now;
|
|
40227
|
-
var scheduler_development_2 = scheduler_development.unstable_forceFrameRate;
|
|
40228
|
-
var scheduler_development_3 = scheduler_development.unstable_IdlePriority;
|
|
40229
|
-
var scheduler_development_4 = scheduler_development.unstable_ImmediatePriority;
|
|
40230
|
-
var scheduler_development_5 = scheduler_development.unstable_LowPriority;
|
|
40231
|
-
var scheduler_development_6 = scheduler_development.unstable_NormalPriority;
|
|
40232
|
-
var scheduler_development_7 = scheduler_development.unstable_Profiling;
|
|
40233
|
-
var scheduler_development_8 = scheduler_development.unstable_UserBlockingPriority;
|
|
40234
|
-
var scheduler_development_9 = scheduler_development.unstable_cancelCallback;
|
|
40235
|
-
var scheduler_development_10 = scheduler_development.unstable_continueExecution;
|
|
40236
|
-
var scheduler_development_11 = scheduler_development.unstable_getCurrentPriorityLevel;
|
|
40237
|
-
var scheduler_development_12 = scheduler_development.unstable_getFirstCallbackNode;
|
|
40238
|
-
var scheduler_development_13 = scheduler_development.unstable_next;
|
|
40239
|
-
var scheduler_development_14 = scheduler_development.unstable_pauseExecution;
|
|
40240
|
-
var scheduler_development_15 = scheduler_development.unstable_requestPaint;
|
|
40241
|
-
var scheduler_development_16 = scheduler_development.unstable_runWithPriority;
|
|
40242
|
-
var scheduler_development_17 = scheduler_development.unstable_scheduleCallback;
|
|
40243
|
-
var scheduler_development_18 = scheduler_development.unstable_shouldYield;
|
|
40244
|
-
var scheduler_development_19 = scheduler_development.unstable_wrapCallback;
|
|
40245
|
-
|
|
40246
|
-
var scheduler = createCommonjsModule(function (module) {
|
|
40247
|
-
|
|
40248
|
-
if (process.env.NODE_ENV === 'production') {
|
|
40249
|
-
module.exports = scheduler_production_min;
|
|
40250
|
-
} else {
|
|
40251
|
-
module.exports = scheduler_development;
|
|
40252
|
-
}
|
|
40253
|
-
});
|
|
40254
|
-
|
|
40255
|
-
function u(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return "Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!React)throw Error(u(227));
|
|
40256
|
-
function ba(a,b,c,d,e,f,g,h,k){var l=Array.prototype.slice.call(arguments,3);try{b.apply(c,l);}catch(m){this.onError(m);}}var da=!1,ea=null,fa=!1,ha=null,ia={onError:function(a){da=!0;ea=a;}};function ja(a,b,c,d,e,f,g,h,k){da=!1;ea=null;ba.apply(ia,arguments);}function ka(a,b,c,d,e,f,g,h,k){ja.apply(this,arguments);if(da){if(da){var l=ea;da=!1;ea=null;}else throw Error(u(198));fa||(fa=!0,ha=l);}}var la=null,ma=null,na=null;
|
|
40257
|
-
function oa(a,b,c){var d=a.type||"unknown-event";a.currentTarget=na(c);ka(d,b,void 0,a);a.currentTarget=null;}var pa=null,qa={};
|
|
40258
|
-
function ra(){if(pa)for(var a in qa){var b=qa[a],c=pa.indexOf(a);if(!(-1<c))throw Error(u(96,a));if(!sa[c]){if(!b.extractEvents)throw Error(u(97,a));sa[c]=b;c=b.eventTypes;for(var d in c){var e=void 0;var f=c[d],g=b,h=d;if(ta.hasOwnProperty(h))throw Error(u(99,h));ta[h]=f;var k=f.phasedRegistrationNames;if(k){for(e in k)k.hasOwnProperty(e)&&ua(k[e],g,h);e=!0;}else f.registrationName?(ua(f.registrationName,g,h),e=!0):e=!1;if(!e)throw Error(u(98,d,a));}}}}
|
|
40259
|
-
function ua(a,b,c){if(va[a])throw Error(u(100,a));va[a]=b;wa[a]=b.eventTypes[c].dependencies;}var sa=[],ta={},va={},wa={};function xa(a){var b=!1,c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(!qa.hasOwnProperty(c)||qa[c]!==d){if(qa[c])throw Error(u(102,c));qa[c]=d;b=!0;}}b&&ra();}var ya=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),za=null,Aa=null,Ba=null;
|
|
40260
|
-
function Ca(a){if(a=ma(a)){if("function"!==typeof za)throw Error(u(280));var b=a.stateNode;b&&(b=la(b),za(a.stateNode,a.type,b));}}function Da(a){Aa?Ba?Ba.push(a):Ba=[a]:Aa=a;}function Ea(){if(Aa){var a=Aa,b=Ba;Ba=Aa=null;Ca(a);if(b)for(a=0;a<b.length;a++)Ca(b[a]);}}function Fa(a,b){return a(b)}function Ha(){}var Ja=!1;function La(){if(null!==Aa||null!==Ba)Ha(),Ea();}
|
|
40261
|
-
var Na=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Oa=Object.prototype.hasOwnProperty,Pa={},Qa={};
|
|
40262
|
-
function Ra(a){if(Oa.call(Qa,a))return !0;if(Oa.call(Pa,a))return !1;if(Na.test(a))return Qa[a]=!0;Pa[a]=!0;return !1}function Sa(a,b,c,d){if(null!==c&&0===c.type)return !1;switch(typeof b){case "function":case "symbol":return !0;case "boolean":if(d)return !1;if(null!==c)return !c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return "data-"!==a&&"aria-"!==a;default:return !1}}
|
|
40263
|
-
function Ta(a,b,c,d){if(null===b||"undefined"===typeof b||Sa(a,b,c,d))return !0;if(d)return !1;if(null!==c)switch(c.type){case 3:return !b;case 4:return !1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return !1}function v(a,b,c,d,e,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;}var C={};
|
|
40264
|
-
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){C[a]=new v(a,0,!1,a,null,!1);});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];C[b]=new v(b,1,!1,a[1],null,!1);});["contentEditable","draggable","spellCheck","value"].forEach(function(a){C[a]=new v(a,2,!1,a.toLowerCase(),null,!1);});
|
|
40265
|
-
["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){C[a]=new v(a,2,!1,a,null,!1);});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){C[a]=new v(a,3,!1,a.toLowerCase(),null,!1);});
|
|
40266
|
-
["checked","multiple","muted","selected"].forEach(function(a){C[a]=new v(a,3,!0,a,null,!1);});["capture","download"].forEach(function(a){C[a]=new v(a,4,!1,a,null,!1);});["cols","rows","size","span"].forEach(function(a){C[a]=new v(a,6,!1,a,null,!1);});["rowSpan","start"].forEach(function(a){C[a]=new v(a,5,!1,a.toLowerCase(),null,!1);});var Ua=/[\-:]([a-z])/g;function Va(a){return a[1].toUpperCase()}
|
|
40267
|
-
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=a.replace(Ua,
|
|
40268
|
-
Va);C[b]=new v(b,1,!1,a,null,!1);});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(Ua,Va);C[b]=new v(b,1,!1,a,"http://www.w3.org/1999/xlink",!1);});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(Ua,Va);C[b]=new v(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1);});["tabIndex","crossOrigin"].forEach(function(a){C[a]=new v(a,1,!1,a.toLowerCase(),null,!1);});
|
|
40269
|
-
C.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0);["src","href","action","formAction"].forEach(function(a){C[a]=new v(a,1,!1,a.toLowerCase(),null,!0);});var Wa=React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Wa.hasOwnProperty("ReactCurrentDispatcher")||(Wa.ReactCurrentDispatcher={current:null});Wa.hasOwnProperty("ReactCurrentBatchConfig")||(Wa.ReactCurrentBatchConfig={suspense:null});
|
|
40270
|
-
function Xa(a,b,c,d){var e=C.hasOwnProperty(b)?C[b]:null;var f=null!==e?0===e.type:d?!1:!(2<b.length)||"o"!==b[0]&&"O"!==b[0]||"n"!==b[1]&&"N"!==b[1]?!1:!0;f||(Ta(b,c,e,d)&&(c=null),d||null===e?Ra(b)&&(null===c?a.removeAttribute(b):a.setAttribute(b,""+c)):e.mustUseProperty?a[e.propertyName]=null===c?3===e.type?!1:"":c:(b=e.attributeName,d=e.attributeNamespace,null===c?a.removeAttribute(b):(e=e.type,c=3===e||4===e&&!0===c?"":""+c,d?a.setAttributeNS(d,b,c):a.setAttribute(b,c))));}
|
|
40271
|
-
function rb(a){switch(typeof a){case "boolean":case "number":case "object":case "string":case "undefined":return a;default:return ""}}function sb(a){var b=a.type;return (a=a.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===b||"radio"===b)}
|
|
40272
|
-
function yb(a){if(!a)return !1;var b=a._valueTracker;if(!b)return !0;var c=b.getValue();var d="";a&&(d=sb(a)?a.checked?"true":"false":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Bb(a,b){b=b.checked;null!=b&&Xa(a,"checked",b,!1);}
|
|
40273
|
-
function Cb(a,b){Bb(a,b);var c=rb(b.value),d=b.type;if(null!=c)if("number"===d){if(0===c&&""===a.value||a.value!=c)a.value=""+c;}else a.value!==""+c&&(a.value=""+c);else if("submit"===d||"reset"===d){a.removeAttribute("value");return}b.hasOwnProperty("value")?Db(a,b.type,c):b.hasOwnProperty("defaultValue")&&Db(a,b.type,rb(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked);}
|
|
40274
|
-
function Db(a,b,c){if("number"!==b||a.ownerDocument.activeElement!==a)null==c?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+c&&(a.defaultValue=""+c);}function Hb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e<c.length;e++)b["$"+c[e]]=!0;for(c=0;c<a.length;c++)e=b.hasOwnProperty("$"+a[c].value),a[c].selected!==e&&(a[c].selected=e),e&&d&&(a[c].defaultSelected=!0);}else {c=""+rb(c);b=null;for(e=0;e<a.length;e++){if(a[e].value===c){a[e].selected=!0;d&&(a[e].defaultSelected=!0);return}null!==b||a[e].disabled||(b=a[e]);}null!==b&&(b.selected=!0);}}
|
|
40275
|
-
function Kb(a,b){var c=rb(b.value),d=rb(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d);}var Mb={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};
|
|
40276
|
-
var Pb,Qb=function(a){return "undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(b,c,d,e){MSApp.execUnsafeLocalFunction(function(){return a(b,c,d,e)});}:a}(function(a,b){if(a.namespaceURI!==Mb.svg||"innerHTML"in a)a.innerHTML=b;else {Pb=Pb||document.createElement("div");Pb.innerHTML="<svg>"+b.valueOf().toString()+"</svg>";for(b=Pb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild);}});
|
|
40277
|
-
function Sb(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}var Tb={animationend:Sb("Animation","AnimationEnd"),animationiteration:Sb("Animation","AnimationIteration"),animationstart:Sb("Animation","AnimationStart"),transitionend:Sb("Transition","TransitionEnd")},Ub={},Vb={};
|
|
40278
|
-
ya&&(Vb=document.createElement("div").style,"AnimationEvent"in window||(delete Tb.animationend.animation,delete Tb.animationiteration.animation,delete Tb.animationstart.animation),"TransitionEvent"in window||delete Tb.transitionend.transition);function Wb(a){if(Ub[a])return Ub[a];if(!Tb[a])return a;var b=Tb[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Vb)return Ub[a]=b[c];return a}
|
|
40279
|
-
var Xb=Wb("animationend"),Yb=Wb("animationiteration"),Zb=Wb("animationstart"),$b=Wb("transitionend"),bc=new ("function"===typeof WeakMap?WeakMap:Map);function cc$1(a){var b=bc.get(a);void 0===b&&(b=new Map,bc.set(a,b));return b}
|
|
40280
|
-
function dc(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else {a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function fc(a){if(dc(a)!==a)throw Error(u(188));}
|
|
40281
|
-
function gc(a){var b=a.alternate;if(!b){b=dc(a);if(null===b)throw Error(u(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return fc(e),a;if(f===d)return fc(e),b;f=f.sibling;}throw Error(u(188));}if(c.return!==d.return)c=e,d=f;else {for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling;}if(!g){for(h=f.child;h;){if(h===
|
|
40282
|
-
c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling;}if(!g)throw Error(u(189));}}if(c.alternate!==d)throw Error(u(190));}if(3!==c.tag)throw Error(u(188));return c.stateNode.current===c?a:b}function hc(a){a=gc(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else {if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return;}b.sibling.return=b.return;b=b.sibling;}}return null}
|
|
40283
|
-
function ic(a,b){if(null==b)throw Error(u(30));if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function jc(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a);}var kc=null;
|
|
40284
|
-
function lc(a){if(a){var b=a._dispatchListeners,c=a._dispatchInstances;if(Array.isArray(b))for(var d=0;d<b.length&&!a.isPropagationStopped();d++)oa(a,b[d],c[d]);else b&&oa(a,b,c);a._dispatchListeners=null;a._dispatchInstances=null;a.isPersistent()||a.constructor.release(a);}}function mc(a){null!==a&&(kc=ic(kc,a));a=kc;kc=null;if(a){jc(a,lc);if(kc)throw Error(u(95));if(fa)throw a=ha,fa=!1,ha=null,a;}}
|
|
40285
|
-
function nc(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}function oc(a){if(!ya)return !1;a="on"+a;var b=a in document;b||(b=document.createElement("div"),b.setAttribute(a,"return;"),b="function"===typeof b[a]);return b}var Wc={},Yc=new Map,Zc=new Map,$c=["abort","abort",Xb,"animationEnd",Yb,"animationIteration",Zb,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking",
|
|
40286
|
-
"seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",$b,"transitionEnd","waiting","waiting"];function ad(a,b){for(var c=0;c<a.length;c+=2){var d=a[c],e=a[c+1],f="on"+(e[0].toUpperCase()+e.slice(1));f={phasedRegistrationNames:{bubbled:f,captured:f+"Capture"},dependencies:[d],eventPriority:b};Zc.set(d,b);Yc.set(d,f);Wc[e]=f;}}
|
|
40287
|
-
ad("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0);
|
|
40288
|
-
ad("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);ad($c,2);for(var bd="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),cd=0;cd<bd.length;cd++)Zc.set(bd[cd],0);
|
|
40289
|
-
var dd=scheduler.unstable_UserBlockingPriority,ed=scheduler.unstable_runWithPriority;var jd={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,
|
|
40290
|
-
floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},kd=["Webkit","ms","Moz","O"];Object.keys(jd).forEach(function(a){kd.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);jd[b]=jd[a];});});var nd=objectAssign({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});
|
|
40291
|
-
function td(a){a=a||("undefined"!==typeof document?document:void 0);if("undefined"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}function yd(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}var zd="$",Ad="/$",Bd="$?",Cd="$!";function Kd(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if(c===zd||c===Cd||c===Bd){if(0===b)return a;b--;}else c===Ad&&b++;}a=a.previousSibling;}return null}var Ld=Math.random().toString(36).slice(2),Md="__reactInternalInstance$"+Ld,Nd="__reactEventHandlers$"+Ld,Od="__reactContainere$"+Ld;
|
|
40292
|
-
function tc(a){var b=a[Md];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Od]||c[Md]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=Kd(a);null!==a;){if(c=a[Md])return c;a=Kd(a);}return b}a=c;c=a.parentNode;}return null}function Nc(a){a=a[Md]||a[Od];return !a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function Pd(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(u(33));}function Qd(a){return a[Nd]||null}
|
|
40293
|
-
function Rd(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}
|
|
40294
|
-
function Sd(a,b){var c=a.stateNode;if(!c)return null;var d=la(c);if(!d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d=!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1;}if(a)return null;if(c&&"function"!==typeof c)throw Error(u(231,
|
|
40295
|
-
b,typeof c));return c}function Td(a,b,c){if(b=Sd(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=ic(c._dispatchListeners,b),c._dispatchInstances=ic(c._dispatchInstances,a);}function Ud(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=Rd(b);for(b=c.length;0<b--;)Td(c[b],"captured",a);for(b=0;b<c.length;b++)Td(c[b],"bubbled",a);}}
|
|
40296
|
-
function Vd(a,b,c){a&&c&&c.dispatchConfig.registrationName&&(b=Sd(a,c.dispatchConfig.registrationName))&&(c._dispatchListeners=ic(c._dispatchListeners,b),c._dispatchInstances=ic(c._dispatchInstances,a));}function Xd(a){jc(a,Ud);}var Yd=null,Zd=null,$d=null;
|
|
40297
|
-
function ae(){if($d)return $d;var a,b=Zd,c=b.length,d,e="value"in Yd?Yd.value:Yd.textContent,f=e.length;for(a=0;a<c&&b[a]===e[a];a++);var g=c-a;for(d=1;d<=g&&b[c-d]===e[f-d];d++);return $d=e.slice(a,1<d?1-d:void 0)}function be(){return !0}function ce(){return !1}
|
|
40298
|
-
function G(a,b,c,d){this.dispatchConfig=a;this._targetInst=b;this.nativeEvent=c;a=this.constructor.Interface;for(var e in a)a.hasOwnProperty(e)&&((b=a[e])?this[e]=b(c):"target"===e?this.target=d:this[e]=c[e]);this.isDefaultPrevented=(null!=c.defaultPrevented?c.defaultPrevented:!1===c.returnValue)?be:ce;this.isPropagationStopped=ce;return this}
|
|
40299
|
-
objectAssign(G.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():"unknown"!==typeof a.returnValue&&(a.returnValue=!1),this.isDefaultPrevented=be);},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():"unknown"!==typeof a.cancelBubble&&(a.cancelBubble=!0),this.isPropagationStopped=be);},persist:function(){this.isPersistent=be;},isPersistent:ce,destructor:function(){var a=this.constructor.Interface,
|
|
40300
|
-
b;for(b in a)this[b]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null;this.isPropagationStopped=this.isDefaultPrevented=ce;this._dispatchInstances=this._dispatchListeners=null;}});G.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};
|
|
40301
|
-
G.extend=function(a){function b(){}function c(){return d.apply(this,arguments)}var d=this;b.prototype=d.prototype;var e=new b;objectAssign(e,c.prototype);c.prototype=e;c.prototype.constructor=c;c.Interface=objectAssign({},d.Interface,a);c.extend=d.extend;de(c);return c};de(G);function ee(a,b,c,d){if(this.eventPool.length){var e=this.eventPool.pop();this.call(e,a,b,c,d);return e}return new this(a,b,c,d)}
|
|
40302
|
-
function fe(a){if(!(a instanceof this))throw Error(u(279));a.destructor();10>this.eventPool.length&&this.eventPool.push(a);}function de(a){a.eventPool=[];a.getPooled=ee;a.release=fe;}var ge=G.extend({data:null}),he=G.extend({data:null}),ie=[9,13,27,32],je=ya&&"CompositionEvent"in window,ke=null;ya&&"documentMode"in document&&(ke=document.documentMode);
|
|
40303
|
-
var le=ya&&"TextEvent"in window&&!ke,me=ya&&(!je||ke&&8<ke&&11>=ke),ne=String.fromCharCode(32),oe={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",
|
|
40304
|
-
captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},pe=!1;
|
|
40305
|
-
function qe(a,b){switch(a){case "keyup":return -1!==ie.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return !0;default:return !1}}function re(a){a=a.detail;return "object"===typeof a&&"data"in a?a.data:null}var se=!1;function te(a,b){switch(a){case "compositionend":return re(b);case "keypress":if(32!==b.which)return null;pe=!0;return ne;case "textInput":return a=b.data,a===ne&&pe?null:a;default:return null}}
|
|
40306
|
-
function ue(a,b){if(se)return "compositionend"===a||!je&&qe(a,b)?(a=ae(),$d=Zd=Yd=null,se=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1<b.char.length)return b.char;if(b.which)return String.fromCharCode(b.which)}return null;case "compositionend":return me&&"ko"!==b.locale?null:b.data;default:return null}}
|
|
40307
|
-
var ve={eventTypes:oe,extractEvents:function(a,b,c,d){var e;if(je)b:{switch(a){case "compositionstart":var f=oe.compositionStart;break b;case "compositionend":f=oe.compositionEnd;break b;case "compositionupdate":f=oe.compositionUpdate;break b}f=void 0;}else se?qe(a,c)&&(f=oe.compositionEnd):"keydown"===a&&229===c.keyCode&&(f=oe.compositionStart);f?(me&&"ko"!==c.locale&&(se||f!==oe.compositionStart?f===oe.compositionEnd&&se&&(e=ae()):(Yd=d,Zd="value"in Yd?Yd.value:Yd.textContent,se=!0)),f=ge.getPooled(f,
|
|
40308
|
-
b,c,d),e?f.data=e:(e=re(c),null!==e&&(f.data=e)),Xd(f),e=f):e=null;(a=le?te(a,c):ue(a,c))?(b=he.getPooled(oe.beforeInput,b,c,d),b.data=a,Xd(b)):b=null;return null===e?b:null===b?e:[e,b]}},we={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function xe(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return "input"===b?!!we[a.type]:"textarea"===b?!0:!1}
|
|
40309
|
-
var ye={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function ze(a,b,c){a=G.getPooled(ye.change,a,b,c);a.type="change";Da(c);Xd(a);return a}var Ae=null,Be=null;function Ce(a){mc(a);}function De(a){var b=Pd(a);if(yb(b))return a}function Ee(a,b){if("change"===a)return b}var Fe=!1;ya&&(Fe=oc("input")&&(!document.documentMode||9<document.documentMode));
|
|
40310
|
-
function Ge(){Ae&&(Ae.detachEvent("onpropertychange",He),Be=Ae=null);}function He(a){if("value"===a.propertyName&&De(Be))if(a=ze(Be,a,nc(a)),Ja)mc(a);else {Ja=!0;try{Fa(Ce,a);}finally{Ja=!1,La();}}}function Ie(a,b,c){"focus"===a?(Ge(),Ae=b,Be=c,Ae.attachEvent("onpropertychange",He)):"blur"===a&&Ge();}function Je(a){if("selectionchange"===a||"keyup"===a||"keydown"===a)return De(Be)}function Ke(a,b){if("click"===a)return De(b)}function Le(a,b){if("input"===a||"change"===a)return De(b)}
|
|
40311
|
-
var Me={eventTypes:ye,_isInputEventSupported:Fe,extractEvents:function(a,b,c,d){var e=b?Pd(b):window,f=e.nodeName&&e.nodeName.toLowerCase();if("select"===f||"input"===f&&"file"===e.type)var g=Ee;else if(xe(e))if(Fe)g=Le;else {g=Je;var h=Ie;}else (f=e.nodeName)&&"input"===f.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)&&(g=Ke);if(g&&(g=g(a,b)))return ze(g,c,d);h&&h(a,e,b);"blur"===a&&(a=e._wrapperState)&&a.controlled&&"number"===e.type&&Db(e,"number",e.value);}},Ne=G.extend({view:null,detail:null}),
|
|
40312
|
-
Oe={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pe(a){var b=this.nativeEvent;return b.getModifierState?b.getModifierState(a):(a=Oe[a])?!!b[a]:!1}function Qe(){return Pe}
|
|
40313
|
-
var Re=0,Se=0,Te=!1,Ue=!1,Ve=Ne.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Qe,button:null,buttons:null,relatedTarget:function(a){return a.relatedTarget||(a.fromElement===a.srcElement?a.toElement:a.fromElement)},movementX:function(a){if("movementX"in a)return a.movementX;var b=Re;Re=a.screenX;return Te?"mousemove"===a.type?a.screenX-b:0:(Te=!0,0)},movementY:function(a){if("movementY"in a)return a.movementY;
|
|
40314
|
-
var b=Se;Se=a.screenY;return Ue?"mousemove"===a.type?a.screenY-b:0:(Ue=!0,0)}}),We=Ve.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Xe={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",
|
|
40315
|
-
dependencies:["pointerout","pointerover"]}},Ye={eventTypes:Xe,extractEvents:function(a,b,c,d,e){var f="mouseover"===a||"pointerover"===a,g="mouseout"===a||"pointerout"===a;if(f&&0===(e&32)&&(c.relatedTarget||c.fromElement)||!g&&!f)return null;f=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window;if(g){if(g=b,b=(b=c.relatedTarget||c.toElement)?tc(b):null,null!==b){var h=dc(b);if(b!==h||5!==b.tag&&6!==b.tag)b=null;}}else g=null;if(g===b)return null;if("mouseout"===a||"mouseover"===
|
|
40316
|
-
a){var k=Ve;var l=Xe.mouseLeave;var m=Xe.mouseEnter;var p="mouse";}else if("pointerout"===a||"pointerover"===a)k=We,l=Xe.pointerLeave,m=Xe.pointerEnter,p="pointer";a=null==g?f:Pd(g);f=null==b?f:Pd(b);l=k.getPooled(l,g,c,d);l.type=p+"leave";l.target=a;l.relatedTarget=f;c=k.getPooled(m,b,c,d);c.type=p+"enter";c.target=f;c.relatedTarget=a;d=g;p=b;if(d&&p)a:{k=d;m=p;g=0;for(a=k;a;a=Rd(a))g++;a=0;for(b=m;b;b=Rd(b))a++;for(;0<g-a;)k=Rd(k),g--;for(;0<a-g;)m=Rd(m),a--;for(;g--;){if(k===m||k===m.alternate)break a;
|
|
40317
|
-
k=Rd(k);m=Rd(m);}k=null;}else k=null;m=k;for(k=[];d&&d!==m;){g=d.alternate;if(null!==g&&g===m)break;k.push(d);d=Rd(d);}for(d=[];p&&p!==m;){g=p.alternate;if(null!==g&&g===m)break;d.push(p);p=Rd(p);}for(p=0;p<k.length;p++)Vd(k[p],"bubbled",l);for(p=d.length;0<p--;)Vd(d[p],"captured",c);return 0===(e&64)?[l]:[l,c]}};function Ze(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var $e="function"===typeof Object.is?Object.is:Ze,af=Object.prototype.hasOwnProperty;
|
|
40318
|
-
function bf(a,b){if($e(a,b))return !0;if("object"!==typeof a||null===a||"object"!==typeof b||null===b)return !1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return !1;for(d=0;d<c.length;d++)if(!af.call(b,c[d])||!$e(a[c[d]],b[c[d]]))return !1;return !0}
|
|
40319
|
-
var cf=ya&&"documentMode"in document&&11>=document.documentMode,df={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ef=null,ff=null,gf=null,hf=!1;
|
|
40320
|
-
function jf(a,b){var c=b.window===b?b.document:9===b.nodeType?b:b.ownerDocument;if(hf||null==ef||ef!==td(c))return null;c=ef;"selectionStart"in c&&yd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset});return gf&&bf(gf,c)?null:(gf=c,a=G.getPooled(df.select,ff,a,b),a.type="select",a.target=ef,Xd(a),a)}
|
|
40321
|
-
var kf={eventTypes:df,extractEvents:function(a,b,c,d,e,f){e=f||(d.window===d?d.document:9===d.nodeType?d:d.ownerDocument);if(!(f=!e)){a:{e=cc$1(e);f=wa.onSelect;for(var g=0;g<f.length;g++)if(!e.has(f[g])){e=!1;break a}e=!0;}f=!e;}if(f)return null;e=b?Pd(b):window;switch(a){case "focus":if(xe(e)||"true"===e.contentEditable)ef=e,ff=b,gf=null;break;case "blur":gf=ff=ef=null;break;case "mousedown":hf=!0;break;case "contextmenu":case "mouseup":case "dragend":return hf=!1,jf(c,d);case "selectionchange":if(cf)break;
|
|
40322
|
-
case "keydown":case "keyup":return jf(c,d)}return null}},lf=G.extend({animationName:null,elapsedTime:null,pseudoElement:null}),mf=G.extend({clipboardData:function(a){return "clipboardData"in a?a.clipboardData:window.clipboardData}}),nf=Ne.extend({relatedTarget:null});function of(a){var b=a.keyCode;"charCode"in a?(a=a.charCode,0===a&&13===b&&(a=13)):a=b;10===a&&(a=13);return 32<=a||13===a?a:0}
|
|
40323
|
-
var pf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qf={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",
|
|
40324
|
-
116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},rf=Ne.extend({key:function(a){if(a.key){var b=pf[a.key]||a.key;if("Unidentified"!==b)return b}return "keypress"===a.type?(a=of(a),13===a?"Enter":String.fromCharCode(a)):"keydown"===a.type||"keyup"===a.type?qf[a.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Qe,charCode:function(a){return "keypress"===
|
|
40325
|
-
a.type?of(a):0},keyCode:function(a){return "keydown"===a.type||"keyup"===a.type?a.keyCode:0},which:function(a){return "keypress"===a.type?of(a):"keydown"===a.type||"keyup"===a.type?a.keyCode:0}}),sf=Ve.extend({dataTransfer:null}),tf=Ne.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Qe}),uf=G.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),vf=Ve.extend({deltaX:function(a){return "deltaX"in a?a.deltaX:"wheelDeltaX"in
|
|
40326
|
-
a?-a.wheelDeltaX:0},deltaY:function(a){return "deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:null,deltaMode:null}),wf={eventTypes:Wc,extractEvents:function(a,b,c,d){var e=Yc.get(a);if(!e)return null;switch(a){case "keypress":if(0===of(c))return null;case "keydown":case "keyup":a=rf;break;case "blur":case "focus":a=nf;break;case "click":if(2===c.button)return null;case "auxclick":case "dblclick":case "mousedown":case "mousemove":case "mouseup":case "mouseout":case "mouseover":case "contextmenu":a=
|
|
40327
|
-
Ve;break;case "drag":case "dragend":case "dragenter":case "dragexit":case "dragleave":case "dragover":case "dragstart":case "drop":a=sf;break;case "touchcancel":case "touchend":case "touchmove":case "touchstart":a=tf;break;case Xb:case Yb:case Zb:a=lf;break;case $b:a=uf;break;case "scroll":a=Ne;break;case "wheel":a=vf;break;case "copy":case "cut":case "paste":a=mf;break;case "gotpointercapture":case "lostpointercapture":case "pointercancel":case "pointerdown":case "pointermove":case "pointerout":case "pointerover":case "pointerup":a=
|
|
40328
|
-
We;break;default:a=G;}b=a.getPooled(e,b,c,d);Xd(b);return b}};if(pa)throw Error(u(101));pa=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" "));ra();var xf=Nc;la=Qd;ma=xf;na=Pd;xa({SimpleEventPlugin:wf,EnterLeaveEventPlugin:Ye,ChangeEventPlugin:Me,SelectEventPlugin:kf,BeforeInputEventPlugin:ve});var If=scheduler.unstable_runWithPriority,Jf=scheduler.unstable_scheduleCallback,Kf=scheduler.unstable_cancelCallback,Lf=scheduler.unstable_requestPaint,Mf=scheduler.unstable_now,Nf=scheduler.unstable_getCurrentPriorityLevel,Of=scheduler.unstable_ImmediatePriority,Pf=scheduler.unstable_UserBlockingPriority,Qf=scheduler.unstable_NormalPriority,Rf=scheduler.unstable_LowPriority,Sf=scheduler.unstable_IdlePriority,Uf=scheduler.unstable_shouldYield,Zf=Mf();
|
|
40329
|
-
var Dg=Wa.ReactCurrentBatchConfig,Eg=(new React.Component).refs;var jh=Wa.ReactCurrentDispatcher,kh=Wa.ReactCurrentBatchConfig;var Yh=Wa.ReactCurrentOwner;var cj=Wa.ReactCurrentDispatcher,dj=Wa.ReactCurrentOwner;function Mj(a,b){try{return a(b)}finally{}}var Uj=null,Li=null;function Yj(a){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return !1;var b=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(b.isDisabled||!b.supportsFiber)return !0;try{var c=b.inject(a);Uj=function(a){try{b.onCommitFiberRoot(c,a,void 0,64===(a.current.effectTag&64));}catch(e){}};Li=function(a){try{b.onCommitFiberUnmount(c,a);}catch(e){}};}catch(d){}return !0}
|
|
40330
|
-
za=function(a,b,c){switch(b){case "input":Cb(a,c);b=c.name;if("radio"===c.type&&null!=b){for(c=a;c.parentNode;)c=c.parentNode;c=c.querySelectorAll("input[name="+JSON.stringify(""+b)+'][type="radio"]');for(b=0;b<c.length;b++){var d=c[b];if(d!==a&&d.form===a.form){var e=Qd(d);if(!e)throw Error(u(90));yb(d);Cb(d,e);}}}break;case "textarea":Kb(a,c);break;case "select":b=c.value,null!=b&&Hb(a,!!c.multiple,b,!1);}};Fa=Mj;
|
|
40331
|
-
Ha=function(){};(function(a){var b=a.findFiberByHostInstance;return Yj(objectAssign({},a,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Wa.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=hc(a);return null===a?null:a.stateNode},findFiberByHostInstance:function(a){return b?b(a):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:tc,bundleType:0,version:"16.14.0",
|
|
40332
|
-
rendererPackageName:"react-dom"});
|
|
40333
|
-
|
|
40334
39254
|
var AutopayModal = function AutopayModal(_ref) {
|
|
40335
39255
|
var autoPayActive = _ref.autoPayActive,
|
|
40336
39256
|
autoPaySchedule = _ref.autoPaySchedule,
|
|
@@ -40344,11 +39264,14 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
40344
39264
|
isMobile = _ref.isMobile,
|
|
40345
39265
|
themeValues = _ref.themeValues,
|
|
40346
39266
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
40347
|
-
nextAutopayDate = _ref.nextAutopayDate
|
|
39267
|
+
nextAutopayDate = _ref.nextAutopayDate,
|
|
39268
|
+
dueDate = _ref.dueDate,
|
|
39269
|
+
inactive = _ref.inactive;
|
|
40348
39270
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
39271
|
+
var nextDate = dueDate || nextAutopayDate;
|
|
40349
39272
|
var modalExtraProps = {
|
|
40350
39273
|
modalHeaderText: autoPayActive ? "Deactivate ".concat(planType) : "Set Up ".concat(planType),
|
|
40351
|
-
modalBodyText: autoPayActive ? "Are you sure you want to deactivate ".concat(isPaymentPlan ? "your payment plan" : "autopay", "?
|
|
39274
|
+
modalBodyText: autoPayActive ? "Are you sure you want to deactivate ".concat(isPaymentPlan ? "your payment plan" : "autopay", "? ").concat(!inactive && nextDate ? "Your next payment will be due on ".concat(nextDate, ".") : "") : "To set up ".concat(isPaymentPlan ? "a payment plan" : "autopay", " you must save a payment method and address in your profile. Do you want to save these now?"),
|
|
40352
39275
|
continueButtonText: autoPayActive ? "Disable ".concat(planType) : "Add to Profile",
|
|
40353
39276
|
useDangerButton: autoPayActive,
|
|
40354
39277
|
continueAction: autoPayActive ? function () {
|
|
@@ -40371,7 +39294,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
40371
39294
|
toggleModal(true);
|
|
40372
39295
|
},
|
|
40373
39296
|
dataQa: "Turn off Autopay",
|
|
40374
|
-
extraStyles: isMobile ? "flex-grow: 1; width: 100%;" : "flex-grow: 1; min-width: 165px;"
|
|
39297
|
+
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1; min-width: 165px;"
|
|
40375
39298
|
});
|
|
40376
39299
|
}
|
|
40377
39300
|
|
|
@@ -40489,7 +39412,8 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
40489
39412
|
paymentPlanSchedule = _ref.paymentPlanSchedule,
|
|
40490
39413
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
40491
39414
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
40492
|
-
obligationAssocID = _ref.obligationAssocID
|
|
39415
|
+
obligationAssocID = _ref.obligationAssocID,
|
|
39416
|
+
dueDate = _ref.dueDate;
|
|
40493
39417
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
40494
39418
|
|
|
40495
39419
|
var _useState = useState(false),
|
|
@@ -40584,7 +39508,8 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
40584
39508
|
isMobile: isMobile,
|
|
40585
39509
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
40586
39510
|
isPaymentPlan: isPaymentPlan,
|
|
40587
|
-
nextAutopayDate: nextAutopayDate
|
|
39511
|
+
nextAutopayDate: nextAutopayDate,
|
|
39512
|
+
dueDate: dueDate
|
|
40588
39513
|
})), !isMobile && /*#__PURE__*/React.createElement(Box, {
|
|
40589
39514
|
padding: "0"
|
|
40590
39515
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
@@ -40610,6 +39535,57 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
40610
39535
|
}))));
|
|
40611
39536
|
};
|
|
40612
39537
|
|
|
39538
|
+
var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
39539
|
+
var agencyName = _ref.agencyName,
|
|
39540
|
+
_ref$obligations = _ref.obligations,
|
|
39541
|
+
obligations = _ref$obligations === void 0 ? [] : _ref$obligations,
|
|
39542
|
+
removeAccount = _ref.removeAccount,
|
|
39543
|
+
accountType = _ref.accountType,
|
|
39544
|
+
isMobile = _ref.isMobile;
|
|
39545
|
+
|
|
39546
|
+
var _useState = useState(false),
|
|
39547
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
39548
|
+
modalIsOpen = _useState2[0],
|
|
39549
|
+
setModalIsOpen = _useState2[1];
|
|
39550
|
+
|
|
39551
|
+
var lastItem = _toConsumableArray(obligations).pop();
|
|
39552
|
+
|
|
39553
|
+
var accounts = obligations.length ? obligations.reduce(function (acc, curr) {
|
|
39554
|
+
var account = curr.details.description;
|
|
39555
|
+
var formattedAccount = curr !== lastItem ? "".concat(account, " and ") : "".concat(account);
|
|
39556
|
+
return formattedAccount === agencyName ? agencyName : acc + formattedAccount;
|
|
39557
|
+
}, "".concat(agencyName, " - ")) : "";
|
|
39558
|
+
var identifier = accountType === "Account" && obligations.length > 1 ? "accounts" : accountType === "Property" && obligations.length > 1 ? "properties" : accountType.toLowerCase();
|
|
39559
|
+
return /*#__PURE__*/React.createElement(Modal$1, {
|
|
39560
|
+
showModal: function showModal() {
|
|
39561
|
+
return setModalIsOpen(true);
|
|
39562
|
+
},
|
|
39563
|
+
hideModal: function hideModal() {
|
|
39564
|
+
return setModalIsOpen(false);
|
|
39565
|
+
},
|
|
39566
|
+
modalOpen: modalIsOpen,
|
|
39567
|
+
modalHeaderText: "Remove ".concat(accountType),
|
|
39568
|
+
modalBodyText: "Are you sure you want to remove the ".concat(identifier, " ").concat(accounts, " from your profile? Any autopay scheduled against ").concat(obligations.length > 1 ? "them" : "it", " will be deactivated."),
|
|
39569
|
+
continueButtonText: "Remove",
|
|
39570
|
+
continueAction: function continueAction() {
|
|
39571
|
+
removeAccount();
|
|
39572
|
+
setModalIsOpen(false);
|
|
39573
|
+
},
|
|
39574
|
+
useDangerButton: true
|
|
39575
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
39576
|
+
padding: "0",
|
|
39577
|
+
extraStyles: "flex-grow: 1;"
|
|
39578
|
+
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
39579
|
+
text: "Remove",
|
|
39580
|
+
variant: "secondary",
|
|
39581
|
+
action: function action() {
|
|
39582
|
+
return setModalIsOpen(true);
|
|
39583
|
+
},
|
|
39584
|
+
dataQa: "Remove Account",
|
|
39585
|
+
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;"
|
|
39586
|
+
})));
|
|
39587
|
+
};
|
|
39588
|
+
|
|
40613
39589
|
var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
40614
39590
|
var autoPayEnabled = _ref.autoPayEnabled,
|
|
40615
39591
|
autoPaySchedule = _ref.autoPaySchedule,
|
|
@@ -40620,17 +39596,21 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
40620
39596
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
40621
39597
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
40622
39598
|
obligationAssocID = _ref.obligationAssocID,
|
|
39599
|
+
dueDate = _ref.dueDate,
|
|
39600
|
+
agencyName = _ref.agencyName,
|
|
39601
|
+
configType = _ref.configType,
|
|
40623
39602
|
actions = _ref.actions;
|
|
39603
|
+
console.log("actions are", actions);
|
|
40624
39604
|
|
|
40625
39605
|
var _useState = useState(false),
|
|
40626
39606
|
_useState2 = _slicedToArray(_useState, 2),
|
|
40627
39607
|
modalOpen = _useState2[0],
|
|
40628
39608
|
toggleModal = _useState2[1];
|
|
40629
39609
|
|
|
40630
|
-
var
|
|
39610
|
+
var deleteObligationAssoc = actions.deleteObligationAssoc;
|
|
40631
39611
|
|
|
40632
39612
|
var handleRemoveAccount = function handleRemoveAccount() {
|
|
40633
|
-
return
|
|
39613
|
+
return deleteObligationAssoc(obligationAssocID);
|
|
40634
39614
|
};
|
|
40635
39615
|
|
|
40636
39616
|
return /*#__PURE__*/React.createElement(Box, {
|
|
@@ -40639,7 +39619,9 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
40639
39619
|
borderWidthOverride: isMobile ? "1px 0 0 0" : "0px"
|
|
40640
39620
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
40641
39621
|
childGap: autoPayEnabled ? "8px" : "0",
|
|
40642
|
-
nowrap: true
|
|
39622
|
+
nowrap: true,
|
|
39623
|
+
justify: isMobile && autoPayEnabled && "center",
|
|
39624
|
+
align: isMobile && autoPayEnabled && "center"
|
|
40643
39625
|
}, autoPayEnabled && /*#__PURE__*/React.createElement(Box, {
|
|
40644
39626
|
padding: "0",
|
|
40645
39627
|
extraStyles: "flex-grow: 1;"
|
|
@@ -40655,16 +39637,17 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
40655
39637
|
isPaymentPlan: isPaymentPlan,
|
|
40656
39638
|
nextAutopayDate: nextAutopayDate,
|
|
40657
39639
|
obligationAssocID: obligationAssocID,
|
|
40658
|
-
|
|
39640
|
+
dueDate: dueDate,
|
|
39641
|
+
controlType: "secondary",
|
|
39642
|
+
inactive: true
|
|
40659
39643
|
})), /*#__PURE__*/React.createElement(Box, {
|
|
40660
39644
|
padding: "0",
|
|
40661
39645
|
extraStyles: "flex-grow: 1;"
|
|
40662
|
-
}, /*#__PURE__*/React.createElement(
|
|
40663
|
-
|
|
40664
|
-
|
|
40665
|
-
|
|
40666
|
-
|
|
40667
|
-
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;"
|
|
39646
|
+
}, /*#__PURE__*/React.createElement(RemoveAccountModalModule, {
|
|
39647
|
+
agencyName: agencyName,
|
|
39648
|
+
removeAccount: handleRemoveAccount,
|
|
39649
|
+
accountType: configType === "ACCOUNT" ? "Account" : "Property",
|
|
39650
|
+
isMobile: isMobile
|
|
40668
39651
|
}))));
|
|
40669
39652
|
};
|
|
40670
39653
|
|
|
@@ -40694,7 +39677,7 @@ var InactiveTitleModule = function InactiveTitleModule(_ref) {
|
|
|
40694
39677
|
variant: "extraSmall",
|
|
40695
39678
|
as: "p",
|
|
40696
39679
|
color: BLACK
|
|
40697
|
-
}, "This may mean that the
|
|
39680
|
+
}, "This may mean that the balance has been paid, or there was an error loading it.".concat(autoPayEnabled ? " You may disable autopay for this account by pressing the 'Turn off Autopay' button." : ""))));
|
|
40698
39681
|
};
|
|
40699
39682
|
|
|
40700
39683
|
var Obligation = function Obligation(_ref) {
|
|
@@ -40714,6 +39697,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
40714
39697
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
40715
39698
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
40716
39699
|
obligationAssocID = _ref.obligationAssocID,
|
|
39700
|
+
dueDate = _ref.dueDate,
|
|
39701
|
+
agencyName = _ref.agencyName,
|
|
40717
39702
|
_ref$inactive = _ref.inactive,
|
|
40718
39703
|
inactive = _ref$inactive === void 0 ? false : _ref$inactive,
|
|
40719
39704
|
_ref$inactiveLookupTi = _ref.inactiveLookupTitle,
|
|
@@ -40744,7 +39729,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
40744
39729
|
borderWidthOverride: "1px 0 0 0"
|
|
40745
39730
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
40746
39731
|
background: WHITE,
|
|
40747
|
-
padding: "24px 16px"
|
|
39732
|
+
padding: isMobile ? "16px" : "24px 16px"
|
|
40748
39733
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
40749
39734
|
childGap: "14px"
|
|
40750
39735
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -40823,7 +39808,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
40823
39808
|
"aria-label": "".concat(inactiveLookupTitle, " ").concat(inactiveLookupInput, ": ").concat(inactiveLookupValue)
|
|
40824
39809
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
40825
39810
|
background: ATHENS_GREY,
|
|
40826
|
-
padding: "24px"
|
|
39811
|
+
padding: isMobile ? "16px" : "24px"
|
|
40827
39812
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
40828
39813
|
childGap: "14px"
|
|
40829
39814
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -40863,7 +39848,10 @@ var Obligation = function Obligation(_ref) {
|
|
|
40863
39848
|
actions: actions,
|
|
40864
39849
|
isMobile: isMobile,
|
|
40865
39850
|
nextAutopayDate: nextAutopayDate,
|
|
40866
|
-
obligationAssocID: obligationAssocID
|
|
39851
|
+
obligationAssocID: obligationAssocID,
|
|
39852
|
+
dueDate: dueDate,
|
|
39853
|
+
agencyName: agencyName,
|
|
39854
|
+
configType: config.type
|
|
40867
39855
|
}))), isMobile && /*#__PURE__*/React.createElement(InactiveControlsModule, {
|
|
40868
39856
|
obligations: obligations,
|
|
40869
39857
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -40874,7 +39862,10 @@ var Obligation = function Obligation(_ref) {
|
|
|
40874
39862
|
actions: actions,
|
|
40875
39863
|
isMobile: isMobile,
|
|
40876
39864
|
nextAutopayDate: nextAutopayDate,
|
|
40877
|
-
obligationAssocID: obligationAssocID
|
|
39865
|
+
obligationAssocID: obligationAssocID,
|
|
39866
|
+
dueDate: dueDate,
|
|
39867
|
+
agencyName: agencyName,
|
|
39868
|
+
configType: config.type
|
|
40878
39869
|
}))));
|
|
40879
39870
|
return inactive ? inactiveObligation : activeObligation;
|
|
40880
39871
|
};
|