@whyour/qinglong 0.8.4 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -3
- package/sample/notify.py +1 -1
- package/shell/share.sh +1 -1
- package/static/build/api/system.js +9 -0
- package/static/build/app.js +2 -0
- package/static/build/config/index.js +2 -0
- package/static/build/config/util.js +8 -2
- package/static/build/loaders/app.js +21 -10
- package/static/build/loaders/db.js +3 -2
- package/static/build/loaders/express.js +2 -0
- package/static/build/loaders/initFile.js +6 -0
- package/static/build/loaders/logger.js +18 -13
- package/static/build/loaders/sentry.js +1 -0
- package/static/build/loaders/server.js +5 -1
- package/static/build/public.js +3 -1
- package/static/build/schedule/addCron.js +2 -1
- package/static/build/schedule/delCron.js +5 -0
- package/static/build/schedule/index.js +2 -1
- package/static/build/services/cron.js +3 -4
- package/static/build/services/dependence.js +1 -1
- package/static/build/services/schedule.js +9 -9
- package/static/build/services/subscription.js +1 -1
- package/static/build/services/system.js +23 -0
- package/static/build/shared/runCron.js +4 -4
- package/static/dist/1186.39086229.async.js +1 -0
- package/static/dist/1571.94ddca13.async.js +1 -0
- package/static/dist/1667.94045304.async.js +1 -0
- package/static/dist/1925.b3032a5e.async.js +1 -0
- package/static/dist/2260.6b2b0020.async.js +1 -0
- package/static/dist/2536.282cde37.async.js +1 -0
- package/static/dist/2618.d4ab1f05.async.js +1 -0
- package/static/dist/2715.f6d4a9ed.async.js +1 -0
- package/static/dist/2755.f6377d52.async.js +1 -0
- package/static/dist/29.dd4d8489.async.js +1 -0
- package/static/dist/3271.e5502cf4.async.js +1 -0
- package/static/dist/3330.6b55d282.async.js +1 -0
- package/static/dist/3639.62f45f5e.async.js +1 -0
- package/static/dist/3669.d39d1a9d.async.js +1 -0
- package/static/dist/380.1bd1f124.async.js +1 -0
- package/static/dist/3800.fca63cfc.async.js +1 -0
- package/static/dist/4124.27cef0bd.async.js +1 -0
- package/static/dist/4163.2fc47c9d.async.js +1 -0
- package/static/dist/4424.73f63db5.async.js +1 -0
- package/static/dist/4588.46a3a31e.async.js +1 -0
- package/static/dist/4618.cc1776f5.async.js +1 -0
- package/static/dist/4658.8a9e2830.async.js +1 -0
- package/static/dist/4674.0196afcf.async.js +1 -0
- package/static/dist/4714.4abfa66f.async.js +1 -0
- package/static/dist/4906.493cf3fd.async.js +1 -0
- package/static/dist/4925.9e8a41a2.async.js +1 -0
- package/static/dist/5310.213fe20f.async.js +1 -0
- package/static/dist/5394.de174420.async.js +1 -0
- package/static/dist/5484.8b81227f.async.js +1 -0
- package/static/dist/{6035.8de00e43.async.js → 6035.48d17c03.async.js} +1 -9
- package/static/dist/6064.a5141a7d.async.js +1 -0
- package/static/dist/6141.db67ebff.async.js +1 -0
- package/static/dist/6433.d9698b6c.async.js +1 -0
- package/static/dist/6644.fe01612c.async.js +1 -0
- package/static/dist/6747.36513965.async.js +1 -0
- package/static/dist/6805.5446eb5a.async.js +1 -0
- package/static/dist/6986.57a091e1.async.js +1 -0
- package/static/dist/7382.26e7f5a4.async.js +1 -0
- package/static/dist/7393.1f1df786.async.js +1 -0
- package/static/dist/7708.dc75b315.async.js +1 -0
- package/static/dist/7742.863081f5.async.js +1 -0
- package/static/dist/7878.91f5096f.async.js +1 -0
- package/static/dist/8037.dd53e9c8.async.js +1 -0
- package/static/dist/8044.b4f59bd9.async.js +1 -0
- package/static/dist/8130.10d10b7d.async.js +1 -0
- package/static/dist/8167.8f9d5e88.async.js +1 -0
- package/static/dist/819.ea86849f.async.js +1 -0
- package/static/dist/827.efeeec44.async.js +1 -0
- package/static/dist/8297.c44afb18.async.js +1 -0
- package/static/dist/8432.055570e6.async.js +1 -0
- package/static/dist/858.1899883e.async.js +1 -0
- package/static/dist/8605.f56664b9.async.js +1 -0
- package/static/dist/8969.26b0efff.async.js +1 -0
- package/static/dist/9065.8be8d60f.async.js +1 -0
- package/static/dist/9504.248f6493.async.js +1 -0
- package/static/dist/9532.af314989.async.js +1 -0
- package/static/dist/9673.5576fcd4.async.js +1 -0
- package/static/dist/9692.e04f774e.async.js +1 -0
- package/static/dist/index.html +1 -1
- package/static/dist/layouts__index.20e4a8b2.async.js +1 -0
- package/static/dist/layouts__index.dc3fe99d.chunk.css +1 -0
- package/static/dist/src__pages__404.f77cf9a2.async.js +1 -0
- package/static/dist/src__pages__config__index.34473d74.async.js +1 -0
- package/static/dist/src__pages__crontab__detail.91b2b006.async.js +1 -0
- package/static/dist/{src__pages__crontab__index.ea0ad17d.chunk.css → src__pages__crontab__index.502a1f71.chunk.css} +1 -1
- package/static/dist/src__pages__crontab__index.7443956f.async.js +1 -0
- package/static/dist/src__pages__crontab__logModal.a0c9c75c.async.js +1 -0
- package/static/dist/src__pages__crontab__modal.e43fadf0.async.js +1 -0
- package/static/dist/src__pages__crontab__type.bd5374bd.async.js +1 -0
- package/static/dist/src__pages__crontab__viewCreateModal.c46df55e.async.js +1 -0
- package/static/dist/src__pages__crontab__viewManageModal.1bb04623.async.js +1 -0
- package/static/dist/src__pages__dependence__index.29219078.async.js +1 -0
- package/static/dist/src__pages__dependence__logModal.8eb8ba1b.async.js +1 -0
- package/static/dist/src__pages__dependence__modal.0e940eb0.async.js +1 -0
- package/static/dist/src__pages__diff__index.630603fc.async.js +1 -0
- package/static/dist/src__pages__env__editNameModal.a1f5c3e1.async.js +1 -0
- package/static/dist/src__pages__env__index.03e934be.async.js +1 -0
- package/static/dist/src__pages__env__modal.c44800ec.async.js +1 -0
- package/static/dist/src__pages__error__index.521fde97.async.js +1 -0
- package/static/dist/src__pages__initialization__index.0e4d45ef.async.js +1 -0
- package/static/dist/src__pages__log__index.8da82aea.async.js +1 -0
- package/static/dist/src__pages__login__index.ce467c16.async.js +1 -0
- package/static/dist/src__pages__script__editModal.7bec90a6.async.js +1 -0
- package/static/dist/src__pages__script__editNameModal.d2c2b500.async.js +1 -0
- package/static/dist/src__pages__script__index.f666bbf7.async.js +1 -0
- package/static/dist/src__pages__script__renameModal.03a9a63a.async.js +1 -0
- package/static/dist/src__pages__script__saveModal.fe022069.async.js +1 -0
- package/static/dist/src__pages__script__setting.25861cb9.async.js +1 -0
- package/static/dist/src__pages__setting__about.5343d1cb.async.js +1 -0
- package/static/dist/src__pages__setting__appModal.b0f04766.async.js +1 -0
- package/static/dist/src__pages__setting__checkUpdate.9901a906.async.js +1 -0
- package/static/dist/src__pages__setting__index.6cfb3c67.async.js +1 -0
- package/static/dist/src__pages__setting__loginLog.4f883eb7.async.js +1 -0
- package/static/dist/src__pages__setting__notification.566573dd.async.js +1 -0
- package/static/dist/src__pages__setting__other.5babac76.async.js +1 -0
- package/static/dist/src__pages__setting__progress.ab51bf0a.async.js +1 -0
- package/static/dist/src__pages__setting__security.ef345c25.async.js +1 -0
- package/static/dist/src__pages__subscription__index.373b2030.async.js +1 -0
- package/static/dist/src__pages__subscription__logModal.1acd5872.async.js +1 -0
- package/static/dist/src__pages__subscription__modal.01b60226.async.js +1 -0
- package/static/dist/umi.e6315bf1.js +1 -0
- package/version.yaml +9 -11
- package/static/dist/1186.fba4581b.async.js +0 -2
- package/static/dist/1571.68121491.async.js +0 -44
- package/static/dist/1925.c5a319f8.async.js +0 -6
- package/static/dist/2260.d9fbd460.async.js +0 -1
- package/static/dist/2536.f6b15c54.async.js +0 -1
- package/static/dist/2618.1484edc2.async.js +0 -2
- package/static/dist/2715.80e099e1.async.js +0 -1
- package/static/dist/2755.5e73f03b.async.js +0 -11
- package/static/dist/29.b629a4b2.async.js +0 -1
- package/static/dist/3271.913214bd.async.js +0 -1
- package/static/dist/3330.962bc898.async.js +0 -1
- package/static/dist/3490.8d2d9399.async.js +0 -24
- package/static/dist/3639.58c3a3f1.async.js +0 -5
- package/static/dist/3669.4f05548e.async.js +0 -3
- package/static/dist/380.8fbf55d6.async.js +0 -1
- package/static/dist/3800.34124d62.async.js +0 -2
- package/static/dist/4124.8cba8410.async.js +0 -1
- package/static/dist/4163.a363bae0.async.js +0 -1
- package/static/dist/4424.98b4bd4c.async.js +0 -1
- package/static/dist/4674.403f1511.async.js +0 -1
- package/static/dist/4714.6f75a879.async.js +0 -4
- package/static/dist/4906.119e3e0f.async.js +0 -81
- package/static/dist/4925.eca85085.async.js +0 -1
- package/static/dist/5310.6c4eff46.async.js +0 -1
- package/static/dist/5484.826c5ee3.async.js +0 -1
- package/static/dist/6329.c3cd1754.async.js +0 -26
- package/static/dist/6433.69941426.async.js +0 -22
- package/static/dist/6644.5df1dec2.async.js +0 -62
- package/static/dist/6661.5cda5ce0.async.js +0 -1
- package/static/dist/6805.798ec30a.async.js +0 -1
- package/static/dist/6986.6960fa24.async.js +0 -1
- package/static/dist/7382.305c10b2.async.js +0 -27
- package/static/dist/7393.86229389.async.js +0 -1
- package/static/dist/7708.b1e590e4.async.js +0 -1
- package/static/dist/7742.dd8a0112.async.js +0 -12
- package/static/dist/8037.386b415d.async.js +0 -1
- package/static/dist/8044.06e91ce9.async.js +0 -18
- package/static/dist/8130.97ce9ff6.async.js +0 -4
- package/static/dist/819.c1b8de99.async.js +0 -4
- package/static/dist/8297.e6ac1ce9.async.js +0 -1
- package/static/dist/8432.5bbc2cdd.async.js +0 -1
- package/static/dist/858.d51fc4e2.async.js +0 -1
- package/static/dist/8969.2ad6c360.async.js +0 -1
- package/static/dist/9065.6684b5d0.async.js +0 -1
- package/static/dist/9504.6d4e29e7.async.js +0 -1
- package/static/dist/9532.a47c2a0e.async.js +0 -1
- package/static/dist/9673.6cf1fa68.async.js +0 -3
- package/static/dist/9692.aca6cd4e.async.js +0 -4
- package/static/dist/layouts__index.47395c48.chunk.css +0 -1
- package/static/dist/layouts__index.f45c1c77.async.js +0 -1
- package/static/dist/src__pages__404.da927616.async.js +0 -1
- package/static/dist/src__pages__config__index.638ee578.async.js +0 -22
- package/static/dist/src__pages__crontab__detail.c9ee5de3.async.js +0 -2
- package/static/dist/src__pages__crontab__index.f6a24b58.async.js +0 -19
- package/static/dist/src__pages__crontab__logModal.c630dc95.async.js +0 -1
- package/static/dist/src__pages__crontab__modal.c94bad49.async.js +0 -4
- package/static/dist/src__pages__crontab__type.136454fe.async.js +0 -1
- package/static/dist/src__pages__crontab__viewCreateModal.090fb218.async.js +0 -1
- package/static/dist/src__pages__crontab__viewManageModal.f79bdbdd.async.js +0 -1
- package/static/dist/src__pages__dependence__index.288f8cb2.async.js +0 -2
- package/static/dist/src__pages__dependence__logModal.80ff90bc.async.js +0 -4
- package/static/dist/src__pages__dependence__modal.8c434892.async.js +0 -5
- package/static/dist/src__pages__diff__index.9bff5d4a.async.js +0 -5
- package/static/dist/src__pages__env__editNameModal.7e592361.async.js +0 -4
- package/static/dist/src__pages__env__index.b9a18b25.async.js +0 -2
- package/static/dist/src__pages__env__modal.12d3d833.async.js +0 -5
- package/static/dist/src__pages__error__index.b3c10262.async.js +0 -4
- package/static/dist/src__pages__initialization__index.4e7bbbb9.async.js +0 -21
- package/static/dist/src__pages__log__index.fe97493d.async.js +0 -1
- package/static/dist/src__pages__login__index.7f920198.async.js +0 -1
- package/static/dist/src__pages__script__editModal.2a16e662.async.js +0 -4
- package/static/dist/src__pages__script__editNameModal.a3391e87.async.js +0 -4
- package/static/dist/src__pages__script__index.b772364f.async.js +0 -6
- package/static/dist/src__pages__script__renameModal.2bf73e46.async.js +0 -4
- package/static/dist/src__pages__script__saveModal.422f1cd7.async.js +0 -4
- package/static/dist/src__pages__script__setting.2b76ab6a.async.js +0 -4
- package/static/dist/src__pages__setting__about.c3cdad66.async.js +0 -1
- package/static/dist/src__pages__setting__appModal.b85e6aeb.async.js +0 -4
- package/static/dist/src__pages__setting__checkUpdate.e8512ada.async.js +0 -1
- package/static/dist/src__pages__setting__index.baad795d.async.js +0 -1
- package/static/dist/src__pages__setting__loginLog.e74c10b2.async.js +0 -18
- package/static/dist/src__pages__setting__notification.af705cea.async.js +0 -21
- package/static/dist/src__pages__setting__other.e735251a.async.js +0 -1
- package/static/dist/src__pages__setting__progress.bd2dfeee.async.js +0 -1
- package/static/dist/src__pages__setting__security.b65e9b12.async.js +0 -4
- package/static/dist/src__pages__subscription__index.682c6e4b.async.js +0 -1
- package/static/dist/src__pages__subscription__logModal.c1a59322.async.js +0 -1
- package/static/dist/src__pages__subscription__modal.7cdfec68.async.js +0 -4
- package/static/dist/umi.313dbb97.js +0 -105
package/version.yaml
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
version: 2.16.
|
|
2
|
-
changeLogLink: https://t.me/jiao_long/
|
|
3
|
-
publishTime: 2023-08-
|
|
1
|
+
version: 2.16.1
|
|
2
|
+
changeLogLink: https://t.me/jiao_long/392
|
|
3
|
+
publishTime: 2023-08-21 23:00
|
|
4
4
|
changeLog: |
|
|
5
|
-
1.
|
|
6
|
-
2.
|
|
7
|
-
3.
|
|
8
|
-
4.
|
|
9
|
-
5.
|
|
10
|
-
6.
|
|
11
|
-
7. 修复任务详情日志列表过多卡顿
|
|
12
|
-
8. 修复定时任务列表虚拟滚动
|
|
5
|
+
1. 系统设置增加系统日志,展示系统和任务运行日志
|
|
6
|
+
2. 修复 python 企业微信推送
|
|
7
|
+
3. 修复 debian 版本关于页面报错
|
|
8
|
+
4. 修复添加订阅粘贴 ql 命令链接参数可能错误
|
|
9
|
+
5. 修改日志弹框样式
|
|
10
|
+
6. 其他 bug 修复
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";var Zs=Object.defineProperty,$s=Object.defineProperties;var zs=Object.getOwnPropertyDescriptors;var Ke=Object.getOwnPropertySymbols;var Fr=Object.prototype.hasOwnProperty,Vr=Object.prototype.propertyIsEnumerable;var Lr=Math.pow,br=(Z,N,x)=>N in Z?Zs(Z,N,{enumerable:!0,configurable:!0,writable:!0,value:x}):Z[N]=x,v=(Z,N)=>{for(var x in N||(N={}))Fr.call(N,x)&&br(Z,x,N[x]);if(Ke)for(var x of Ke(N))Vr.call(N,x)&&br(Z,x,N[x]);return Z},ae=(Z,N)=>$s(Z,zs(N));var Ot=(Z,N)=>{var x={};for(var _ in Z)Fr.call(Z,_)&&N.indexOf(_)<0&&(x[_]=Z[_]);if(Z!=null&&Ke)for(var _ of Ke(Z))N.indexOf(_)<0&&Vr.call(Z,_)&&(x[_]=Z[_]);return x};(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[1186],{51407:function(Z,N,x){var _=x(43814);g.prototype.addYear=function(){this._date=this._date.plus({years:1})},g.prototype.addMonth=function(){this._date=this._date.plus({months:1}).startOf("month")},g.prototype.addDay=function(){this._date=this._date.plus({days:1}).startOf("day")},g.prototype.addHour=function(){var y=this._date;this._date=this._date.plus({hours:1}).startOf("hour"),this._date<=y&&(this._date=this._date.plus({hours:1}))},g.prototype.addMinute=function(){var y=this._date;this._date=this._date.plus({minutes:1}).startOf("minute"),this._date<y&&(this._date=this._date.plus({hours:1}))},g.prototype.addSecond=function(){var y=this._date;this._date=this._date.plus({seconds:1}).startOf("second"),this._date<y&&(this._date=this._date.plus({hours:1}))},g.prototype.subtractYear=function(){this._date=this._date.minus({years:1})},g.prototype.subtractMonth=function(){this._date=this._date.minus({months:1}).endOf("month").startOf("second")},g.prototype.subtractDay=function(){this._date=this._date.minus({days:1}).endOf("day").startOf("second")},g.prototype.subtractHour=function(){var y=this._date;this._date=this._date.minus({hours:1}).endOf("hour").startOf("second"),this._date>=y&&(this._date=this._date.minus({hours:1}))},g.prototype.subtractMinute=function(){var y=this._date;this._date=this._date.minus({minutes:1}).endOf("minute").startOf("second"),this._date>y&&(this._date=this._date.minus({hours:1}))},g.prototype.subtractSecond=function(){var y=this._date;this._date=this._date.minus({seconds:1}).startOf("second"),this._date>y&&(this._date=this._date.minus({hours:1}))},g.prototype.getDate=function(){return this._date.day},g.prototype.getFullYear=function(){return this._date.year},g.prototype.getDay=function(){var y=this._date.weekday;return y==7?0:y},g.prototype.getMonth=function(){return this._date.month-1},g.prototype.getHours=function(){return this._date.hour},g.prototype.getMinutes=function(){return this._date.minute},g.prototype.getSeconds=function(){return this._date.second},g.prototype.getMilliseconds=function(){return this._date.millisecond},g.prototype.getTime=function(){return this._date.valueOf()},g.prototype.getUTCDate=function(){return this._getUTC().day},g.prototype.getUTCFullYear=function(){return this._getUTC().year},g.prototype.getUTCDay=function(){var y=this._getUTC().weekday;return y==7?0:y},g.prototype.getUTCMonth=function(){return this._getUTC().month-1},g.prototype.getUTCHours=function(){return this._getUTC().hour},g.prototype.getUTCMinutes=function(){return this._getUTC().minute},g.prototype.getUTCSeconds=function(){return this._getUTC().second},g.prototype.toISOString=function(){return this._date.toUTC().toISO()},g.prototype.toJSON=function(){return this._date.toJSON()},g.prototype.setDate=function(y){this._date=this._date.set({day:y})},g.prototype.setFullYear=function(y){this._date=this._date.set({year:y})},g.prototype.setDay=function(y){this._date=this._date.set({weekday:y})},g.prototype.setMonth=function(y){this._date=this._date.set({month:y+1})},g.prototype.setHours=function(y){this._date=this._date.set({hour:y})},g.prototype.setMinutes=function(y){this._date=this._date.set({minute:y})},g.prototype.setSeconds=function(y){this._date=this._date.set({second:y})},g.prototype.setMilliseconds=function(y){this._date=this._date.set({millisecond:y})},g.prototype._getUTC=function(){return this._date.toUTC()},g.prototype.toString=function(){return this.toDate().toString()},g.prototype.toDate=function(){return this._date.toJSDate()},g.prototype.isLastDayOfMonth=function(){var y=this._date.plus({days:1}).startOf("day");return this._date.month!==y.month},g.prototype.isLastWeekdayOfMonth=function(){var y=this._date.plus({days:7}).startOf("day");return this._date.month!==y.month};function g(y,c){var f={zone:c};if(y?y instanceof g?this._date=y._date:y instanceof Date?this._date=_.DateTime.fromJSDate(y,f):typeof y=="number"?this._date=_.DateTime.fromMillis(y,f):typeof y=="string"&&(this._date=_.DateTime.fromISO(y,f),this._date.isValid||(this._date=_.DateTime.fromRFC2822(y,f)),this._date.isValid||(this._date=_.DateTime.fromSQL(y,f)),this._date.isValid||(this._date=_.DateTime.fromFormat(y,"EEE, d MMM yyyy HH:mm:ss",f))):this._date=_.DateTime.local(),!this._date||!this._date.isValid)throw new Error("CronDate: unhandled timestamp: "+JSON.stringify(y));c&&c!==this._date.zoneName&&(this._date=this._date.setZone(c))}Z.exports=g},10568:function(Z,N,x){var _=x(51407),g=x(53149),y=1e4;function c(f,h){this._options=h,this._utc=h.utc||!1,this._tz=this._utc?"UTC":h.tz,this._currentDate=new _(h.currentDate,this._tz),this._startDate=h.startDate?new _(h.startDate,this._tz):null,this._endDate=h.endDate?new _(h.endDate,this._tz):null,this._isIterator=h.iterator||!1,this._hasIterated=!1,this._nthDayOfWeek=h.nthDayOfWeek||0,this.fields=c._freezeFields(f)}c.map=["second","minute","hour","dayOfMonth","month","dayOfWeek"],c.predefined={"@yearly":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@hourly":"0 * * * *"},c.constraints=[{min:0,max:59,chars:[]},{min:0,max:59,chars:[]},{min:0,max:23,chars:[]},{min:1,max:31,chars:["L"]},{min:1,max:12,chars:[]},{min:0,max:7,chars:["L"]}],c.daysInMonth=[31,29,31,30,31,30,31,31,30,31,30,31],c.aliases={month:{jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12},dayOfWeek:{sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6}},c.parseDefaults=["0","*","*","*","*","*"],c.standardValidCharacters=/^[,*\d/-]+$/,c.dayOfWeekValidCharacters=/^[?,*\dL#/-]+$/,c.dayOfMonthValidCharacters=/^[?,*\dL/-]+$/,c.validCharacters={second:c.standardValidCharacters,minute:c.standardValidCharacters,hour:c.standardValidCharacters,dayOfMonth:c.dayOfMonthValidCharacters,month:c.standardValidCharacters,dayOfWeek:c.dayOfWeekValidCharacters},c._isValidConstraintChar=function(h,m){return typeof m!="string"?!1:h.chars.some(function(u){return m.indexOf(u)>-1})},c._parseField=function(h,m,u){switch(h){case"month":case"dayOfWeek":var O=c.aliases[h];m=m.replace(/[a-z]{3}/gi,function(E){if(E=E.toLowerCase(),typeof O[E]!="undefined")return O[E];throw new Error('Validation error, cannot resolve alias "'+E+'"')});break}if(!c.validCharacters[h].test(m))throw new Error("Invalid characters, got value: "+m);m.indexOf("*")!==-1?m=m.replace(/\*/g,u.min+"-"+u.max):m.indexOf("?")!==-1&&(m=m.replace(/\?/g,u.min+"-"+u.max));function w(E){var H=[];function S(F){if(F instanceof Array)for(var U=0,K=F.length;U<K;U++){var I=F[U];if(c._isValidConstraintChar(u,I)){H.push(I);continue}if(typeof I!="number"||Number.isNaN(I)||I<u.min||I>u.max)throw new Error("Constraint error, got value "+I+" expected range "+u.min+"-"+u.max);H.push(I)}else{if(c._isValidConstraintChar(u,F)){H.push(F);return}var z=+F;if(Number.isNaN(z)||z<u.min||z>u.max)throw new Error("Constraint error, got value "+F+" expected range "+u.min+"-"+u.max);h==="dayOfWeek"&&(z=z%7),H.push(z)}}var A=E.split(",");if(!A.every(function(F){return F.length>0}))throw new Error("Invalid list value format");if(A.length>1)for(var L=0,$=A.length;L<$;L++)S(p(A[L]));else S(p(E));return H.sort(c._sortCompareFn),H}function p(E){var H=1,S=E.split("/");if(S.length>2)throw new Error("Invalid repeat: "+E);return S.length>1?(S[0]==+S[0]&&(S=[S[0]+"-"+u.max,S[1]]),T(S[0],S[S.length-1])):T(E,H)}function T(E,H){var S=[],A=E.split("-");if(A.length>1){if(A.length<2)return+E;if(!A[0].length){if(!A[1].length)throw new Error("Invalid range: "+E);return+E}var L=+A[0],$=+A[1];if(Number.isNaN(L)||Number.isNaN($)||L<u.min||$>u.max)throw new Error("Constraint error, got range "+L+"-"+$+" expected range "+u.min+"-"+u.max);if(L>$)throw new Error("Invalid range: "+E);var F=+H;if(Number.isNaN(F)||F<=0)throw new Error("Constraint error, cannot repeat at every "+F+" time.");h==="dayOfWeek"&&$%7===0&&S.push(0);for(var U=L,K=$;U<=K;U++){var I=S.indexOf(U)!==-1;!I&&F>0&&F%H===0?(F=1,S.push(U)):F++}return S}return Number.isNaN(+E)?E:+E}return w(m)},c._sortCompareFn=function(f,h){var m=typeof f=="number",u=typeof h=="number";return m&&u?f-h:!m&&u?1:m&&!u?-1:f.localeCompare(h)},c._handleMaxDaysInMonth=function(f){if(f.month.length===1){var h=c.daysInMonth[f.month[0]-1];if(f.dayOfMonth[0]>h)throw new Error("Invalid explicit day of month definition");return f.dayOfMonth.filter(function(m){return m==="L"?!0:m<=h}).sort(c._sortCompareFn)}},c._freezeFields=function(f){for(var h=0,m=c.map.length;h<m;++h){var u=c.map[h],O=f[u];f[u]=Object.freeze(O)}return Object.freeze(f)},c.prototype._applyTimezoneShift=function(f,h,m){if(m==="Month"||m==="Day"){var u=f.getTime();f[h+m]();var O=f.getTime();u===O&&(f.getMinutes()===0&&f.getSeconds()===0?f.addHour():f.getMinutes()===59&&f.getSeconds()===59&&f.subtractHour())}else{var w=f.getHours();f[h+m]();var p=f.getHours(),T=p-w;T===2?this.fields.hour.length!==24&&(this._dstStart=p):T===0&&f.getMinutes()===0&&f.getSeconds()===0&&this.fields.hour.length!==24&&(this._dstEnd=p)}},c.prototype._findSchedule=function(h){function m(I,z){for(var j=0,X=z.length;j<X;j++)if(z[j]>=I)return z[j]===I;return z[0]===I}function u(I,z){if(z<6){if(I.getDate()<8&&z===1)return!0;var j=I.getDate()%7?1:0,X=I.getDate()-I.getDate()%7,ue=Math.floor(X/7)+j;return ue===z}return!1}function O(I){return I.length>0&&I.some(function(z){return typeof z=="string"&&z.indexOf("L")>=0})}h=h||!1;var w=h?"subtract":"add",p=new _(this._currentDate,this._tz),T=this._startDate,E=this._endDate,H=p.getTime(),S=0;function A(I){return I.some(function(z){if(!O([z]))return!1;var j=Number.parseInt(z[0])%7;if(Number.isNaN(j))throw new Error("Invalid last weekday of the month expression: "+z);return p.getDay()===j&&p.isLastWeekdayOfMonth()})}for(;S<y;){if(S++,h){if(T&&p.getTime()-T.getTime()<0)throw new Error("Out of the timespan range")}else if(E&&E.getTime()-p.getTime()<0)throw new Error("Out of the timespan range");var L=m(p.getDate(),this.fields.dayOfMonth);O(this.fields.dayOfMonth)&&(L=L||p.isLastDayOfMonth());var $=m(p.getDay(),this.fields.dayOfWeek);O(this.fields.dayOfWeek)&&($=$||A(this.fields.dayOfWeek));var F=this.fields.dayOfMonth.length>=c.daysInMonth[p.getMonth()],U=this.fields.dayOfWeek.length===c.constraints[5].max-c.constraints[5].min+1,K=p.getHours();if(!L&&(!$||U)){this._applyTimezoneShift(p,w,"Day");continue}if(!F&&U&&!L){this._applyTimezoneShift(p,w,"Day");continue}if(F&&!U&&!$){this._applyTimezoneShift(p,w,"Day");continue}if(this._nthDayOfWeek>0&&!u(p,this._nthDayOfWeek)){this._applyTimezoneShift(p,w,"Day");continue}if(!m(p.getMonth()+1,this.fields.month)){this._applyTimezoneShift(p,w,"Month");continue}if(m(K,this.fields.hour)){if(this._dstEnd===K&&!h){this._dstEnd=null,this._applyTimezoneShift(p,"add","Hour");continue}}else if(this._dstStart!==K){this._dstStart=null,this._applyTimezoneShift(p,w,"Hour");continue}else if(!m(K-1,this.fields.hour)){p[w+"Hour"]();continue}if(!m(p.getMinutes(),this.fields.minute)){this._applyTimezoneShift(p,w,"Minute");continue}if(!m(p.getSeconds(),this.fields.second)){this._applyTimezoneShift(p,w,"Second");continue}if(H===p.getTime()){w==="add"||p.getMilliseconds()===0?this._applyTimezoneShift(p,w,"Second"):p.setMilliseconds(0);continue}break}if(S>=y)throw new Error("Invalid expression, loop limit exceeded");return this._currentDate=new _(p,this._tz),this._hasIterated=!0,p},c.prototype.next=function(){var h=this._findSchedule();return this._isIterator?{value:h,done:!this.hasNext()}:h},c.prototype.prev=function(){var h=this._findSchedule(!0);return this._isIterator?{value:h,done:!this.hasPrev()}:h},c.prototype.hasNext=function(){var f=this._currentDate,h=this._hasIterated;try{return this._findSchedule(),!0}catch(m){return!1}finally{this._currentDate=f,this._hasIterated=h}},c.prototype.hasPrev=function(){var f=this._currentDate,h=this._hasIterated;try{return this._findSchedule(!0),!0}catch(m){return!1}finally{this._currentDate=f,this._hasIterated=h}},c.prototype.iterate=function(h,m){var u=[];if(h>=0)for(var O=0,w=h;O<w;O++)try{var p=this.next();u.push(p),m&&m(p,O)}catch(T){break}else for(var O=0,w=h;O>w;O--)try{var p=this.prev();u.push(p),m&&m(p,O)}catch(H){break}return u},c.prototype.reset=function(h){this._currentDate=new _(h||this._options.currentDate)},c.prototype.stringify=function(h){for(var m=[],u=h?0:1,O=c.map.length;u<O;++u){var w=c.map[u],p=this.fields[w],T=c.constraints[u];w==="dayOfMonth"&&this.fields.month.length===1?T={min:1,max:c.daysInMonth[this.fields.month[0]-1]}:w==="dayOfWeek"&&(T={min:0,max:6},p=p[p.length-1]===7?p.slice(0,-1):p),m.push(g(p,T.min,T.max))}return m.join(" ")},c.parse=function(h,m){var u=this;typeof m=="function"&&(m={});function O(w,p){p||(p={}),typeof p.currentDate=="undefined"&&(p.currentDate=new _(void 0,u._tz)),c.predefined[w]&&(w=c.predefined[w]);var T=[],E=(w+"").trim().split(/\s+/);if(E.length>6)throw new Error("Invalid cron expression");for(var H=c.map.length-E.length,S=0,A=c.map.length;S<A;++S){var L=c.map[S],$=E[E.length>A?S:S-H];if(S<H||!$)T.push(c._parseField(L,c.parseDefaults[S],c.constraints[S]));else{var F=L==="dayOfWeek"?z($):$;T.push(c._parseField(L,F,c.constraints[S]))}}for(var U={},S=0,A=c.map.length;S<A;S++){var K=c.map[S];U[K]=T[S]}var I=c._handleMaxDaysInMonth(U);return U.dayOfMonth=I||U.dayOfMonth,new c(U,p);function z(j){var X=j.split("#");if(X.length>1){var ue=+X[X.length-1];if(/,/.test(j))throw new Error("Constraint error, invalid dayOfWeek `#` and `,` special characters are incompatible");if(/\//.test(j))throw new Error("Constraint error, invalid dayOfWeek `#` and `/` special characters are incompatible");if(/-/.test(j))throw new Error("Constraint error, invalid dayOfWeek `#` and `-` special characters are incompatible");if(X.length>2||Number.isNaN(ue)||ue<1||ue>5)throw new Error("Constraint error, invalid dayOfWeek occurrence number (#)");return p.nthDayOfWeek=ue,X[0]}return j}}return O(h,m)},c.fieldsToExpression=function(h,m){function u(L,$,F){if(!$)throw new Error("Validation error, Field "+L+" is missing");if($.length===0)throw new Error("Validation error, Field "+L+" contains no values");for(var U=0,K=$.length;U<K;U++){var I=$[U];if(!c._isValidConstraintChar(F,I)&&(typeof I!="number"||Number.isNaN(I)||I<F.min||I>F.max))throw new Error("Constraint error, got value "+I+" expected range "+F.min+"-"+F.max)}}for(var O={},w=0,p=c.map.length;w<p;++w){var T=c.map[w],E=h[T];u(T,E,c.constraints[w]);for(var H=[],S=-1;++S<E.length;)H[S]=E[S];if(E=H.sort(c._sortCompareFn).filter(function(L,$,F){return!$||L!==F[$-1]}),E.length!==H.length)throw new Error("Validation error, Field "+T+" contains duplicate values");O[T]=E}var A=c._handleMaxDaysInMonth(O);return O.dayOfMonth=A||O.dayOfMonth,new c(O,m||{})},Z.exports=c},65699:function(Z){function N(y){return{start:y,count:1}}function x(y,c){y.end=c,y.step=c-y.start,y.count=2}function _(y,c,f){c&&(c.count===2?(y.push(N(c.start)),y.push(N(c.end))):y.push(c)),f&&y.push(f)}function g(y){for(var c=[],f=void 0,h=0;h<y.length;h++){var m=y[h];typeof m!="number"?(_(c,f,N(m)),f=void 0):f?f.count===1?x(f,m):f.step===m-f.end?(f.count++,f.end=m):f.count===2?(c.push(N(f.start)),f=N(f.end),x(f,m)):(_(c,f),f=N(m)):f=N(m)}return _(c,f),c}Z.exports=g},53149:function(Z,N,x){var _=x(65699);function g(y,c,f){var h=_(y);if(h.length===1){var m=h[0],u=m.step;if(u===1&&m.start===c&&m.end===f)return"*";if(u!==1&&m.start===c&&m.end===f-u+1)return"*/"+u}for(var O=[],w=0,p=h.length;w<p;++w){var T=h[w];if(T.count===1){O.push(T.start);continue}var u=T.step;if(T.step===1){O.push(T.start+"-"+T.end);continue}var E=T.start==0?T.count-1:T.count;T.step*E>T.end?O=O.concat(Array.from({length:T.end-T.start+1}).map(function(S,A){var L=T.start+A;return(L-T.start)%T.step===0?L:null}).filter(function(S){return S!=null})):T.end===f-T.step+1?O.push(T.start+"/"+T.step):O.push(T.start+"-"+T.end+"/"+T.step)}return O.join(",")}Z.exports=g},11186:function(Z,N,x){var _=x(10568);function g(){}g._parseEntry=function(c){var f=c.split(" ");if(f.length===6)return{interval:_.parse(c)};if(f.length>6)return{interval:_.parse(f.slice(0,6).join(" ")),command:f.slice(6,f.length)};throw new Error("Invalid entry: "+c)},g.parseExpression=function(c,f){return _.parse(c,f)},g.fieldsToExpression=function(c,f){return _.fieldsToExpression(c,f)},g.parseString=function(c){for(var f=c.split(`
|
|
2
|
-
`),h={variables:{},expressions:[],errors:{}},m=0,u=f.length;m<u;m++){var O=f[m],w=null,p=O.trim();if(p.length>0){if(p.match(/^#/))continue;if(w=p.match(/^(.*)=(.*)$/))h.variables[w[1]]=w[2];else{var T=null;try{T=g._parseEntry("0 "+p),h.expressions.push(T.interval)}catch(E){h.errors[p]=E}}}}return h},g.parseFile=function(c,f){x(38433).readFile(c,function(h,m){if(h){f(h);return}return f(null,g.parseString(m.toString()))})},Z.exports=g},43814:function(Z,N){Object.defineProperty(N,"__esModule",{value:!0});class x extends Error{}class _ extends x{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class g extends x{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class y extends x{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class c extends x{}class f extends x{constructor(e){super(`Invalid unit ${e}`)}}class h extends x{}class m extends x{constructor(){super("Zone is an abstract class")}}const u="numeric",O="short",w="long",p={year:u,month:u,day:u},T={year:u,month:O,day:u},E={year:u,month:O,day:u,weekday:O},H={year:u,month:w,day:u},S={year:u,month:w,day:u,weekday:w},A={hour:u,minute:u},L={hour:u,minute:u,second:u},$={hour:u,minute:u,second:u,timeZoneName:O},F={hour:u,minute:u,second:u,timeZoneName:w},U={hour:u,minute:u,hourCycle:"h23"},K={hour:u,minute:u,second:u,hourCycle:"h23"},I={hour:u,minute:u,second:u,hourCycle:"h23",timeZoneName:O},z={hour:u,minute:u,second:u,hourCycle:"h23",timeZoneName:w},j={year:u,month:u,day:u,hour:u,minute:u},X={year:u,month:u,day:u,hour:u,minute:u,second:u},ue={year:u,month:O,day:u,hour:u,minute:u},vt={year:u,month:O,day:u,hour:u,minute:u,second:u},Zr={year:u,month:O,day:u,weekday:O,hour:u,minute:u},St={year:u,month:w,day:u,hour:u,minute:u,timeZoneName:O},Mt={year:u,month:w,day:u,hour:u,minute:u,second:u,timeZoneName:O},Et={year:u,month:w,day:u,weekday:w,hour:u,minute:u,timeZoneName:w},kt={year:u,month:w,day:u,weekday:w,hour:u,minute:u,second:u,timeZoneName:w};class ge{get type(){throw new m}get name(){throw new m}get ianaName(){return this.name}get isUniversal(){throw new m}offsetName(e,t){throw new m}formatOffset(e,t){throw new m}offset(e){throw new m}equals(e){throw new m}get isValid(){throw new m}}let Xe=null;class Ne extends ge{static get instance(){return Xe===null&&(Xe=new Ne),Xe}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return $t(e,t,n)}formatOffset(e,t){return xe(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let ze={};function $r(r){return ze[r]||(ze[r]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:r,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),ze[r]}const zr={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Ar(r,e){const t=r.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(t),[,s,a,i,o,l,d,D]=n;return[i,s,a,o,l,d,D]}function Ur(r,e){const t=r.formatToParts(e),n=[];for(let s=0;s<t.length;s++){const{type:a,value:i}=t[s],o=zr[a];a==="era"?n[o]=i:C(o)||(n[o]=parseInt(i,10))}return n}let Ae={};class oe extends ge{static create(e){return Ae[e]||(Ae[e]=new oe(e)),Ae[e]}static resetCache(){Ae={},ze={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(t){return!1}}constructor(e){super(),this.zoneName=e,this.valid=oe.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:n}){return $t(e,t,n,this.name)}formatOffset(e,t){return xe(this.offset(e),t)}offset(e){const t=new Date(e);if(isNaN(t))return NaN;const n=$r(this.name);let[s,a,i,o,l,d,D]=n.formatToParts?Ur(n,t):Ar(n,t);o==="BC"&&(s=-Math.abs(s)+1);const G=ot({year:s,month:a,day:i,hour:l===24?0:l,minute:d,second:D,millisecond:0});let M=+t;const J=M%1e3;return M-=J>=0?J:1e3+J,(G-M)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let Nt={};function Wr(r,e={}){const t=JSON.stringify([r,e]);let n=Nt[t];return n||(n=new Intl.ListFormat(r,e),Nt[t]=n),n}let et={};function tt(r,e={}){const t=JSON.stringify([r,e]);let n=et[t];return n||(n=new Intl.DateTimeFormat(r,e),et[t]=n),n}let rt={};function Hr(r,e={}){const t=JSON.stringify([r,e]);let n=rt[t];return n||(n=new Intl.NumberFormat(r,e),rt[t]=n),n}let nt={};function Rr(r,e={}){const i=e,{base:t}=i,n=Ot(i,["base"]),s=JSON.stringify([r,n]);let a=nt[s];return a||(a=new Intl.RelativeTimeFormat(r,e),nt[s]=a),a}let De=null;function qr(){return De||(De=new Intl.DateTimeFormat().resolvedOptions().locale,De)}function Yr(r){const e=r.indexOf("-x-");e!==-1&&(r=r.substring(0,e));const t=r.indexOf("-u-");if(t===-1)return[r];{let n,s;try{n=tt(r).resolvedOptions(),s=r}catch(o){const l=r.substring(0,t);n=tt(l).resolvedOptions(),s=l}const{numberingSystem:a,calendar:i}=n;return[s,a,i]}}function Pr(r,e,t){return(t||e)&&(r.includes("-u-")||(r+="-u"),t&&(r+=`-ca-${t}`),e&&(r+=`-nu-${e}`)),r}function Gr(r){const e=[];for(let t=1;t<=12;t++){const n=k.utc(2016,t,1);e.push(r(n))}return e}function Jr(r){const e=[];for(let t=1;t<=7;t++){const n=k.utc(2016,11,13+t);e.push(r(n))}return e}function Ue(r,e,t,n,s){const a=r.listingMode(t);return a==="error"?null:a==="en"?n(e):s(e)}function jr(r){return r.numberingSystem&&r.numberingSystem!=="latn"?!1:r.numberingSystem==="latn"||!r.locale||r.locale.startsWith("en")||new Intl.DateTimeFormat(r.intl).resolvedOptions().numberingSystem==="latn"}class Br{constructor(e,t,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const o=n,{padTo:s,floor:a}=o,i=Ot(o,["padTo","floor"]);if(!t||Object.keys(i).length>0){const l=v({useGrouping:!1},n);n.padTo>0&&(l.minimumIntegerDigits=n.padTo),this.inf=Hr(e,l)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}else{const t=this.floor?Math.floor(e):at(e,3);return P(t,this.padTo)}}}class Qr{constructor(e,t,n){this.opts=n,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const i=-1*(e.offset/60),o=i>=0?`Etc/GMT+${i}`:`Etc/GMT${i}`;e.offset!==0&&oe.create(o).valid?(s=o,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const a=v({},this.opts);a.timeZone=a.timeZone||s,this.dtf=tt(t,a)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(t=>{if(t.type==="timeZoneName"){const n=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return ae(v({},t),{value:n})}else return t}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class Kr{constructor(e,t,n){this.opts=v({style:"long"},n),!t&&Lt()&&(this.rtf=Rr(e,n))}format(e,t){return this.rtf?this.rtf.format(e,t):yn(t,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}class W{static fromOpts(e){return W.create(e.locale,e.numberingSystem,e.outputCalendar,e.defaultToEN)}static create(e,t,n,s=!1){const a=e||Y.defaultLocale,i=a||(s?"en-US":qr()),o=t||Y.defaultNumberingSystem,l=n||Y.defaultOutputCalendar;return new W(i,o,l,a)}static resetCache(){De=null,et={},rt={},nt={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:n}={}){return W.create(e,t,n)}constructor(e,t,n,s){const[a,i,o]=Yr(e);this.locale=a,this.numberingSystem=t||i||null,this.outputCalendar=n||o||null,this.intl=Pr(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=jr(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),t=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&t?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:W.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone(ae(v({},e),{defaultToEN:!0}))}redefaultToSystem(e={}){return this.clone(ae(v({},e),{defaultToEN:!1}))}months(e,t=!1,n=!0){return Ue(this,e,n,Ut,()=>{const s=t?{month:e,day:"numeric"}:{month:e},a=t?"format":"standalone";return this.monthsCache[a][e]||(this.monthsCache[a][e]=Gr(i=>this.extract(i,s,"month"))),this.monthsCache[a][e]})}weekdays(e,t=!1,n=!0){return Ue(this,e,n,Rt,()=>{const s=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},a=t?"format":"standalone";return this.weekdaysCache[a][e]||(this.weekdaysCache[a][e]=Jr(i=>this.extract(i,s,"weekday"))),this.weekdaysCache[a][e]})}meridiems(e=!0){return Ue(this,void 0,e,()=>qt,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[k.utc(2016,11,13,9),k.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(e,t=!0){return Ue(this,e,t,Yt,()=>{const n={era:e};return this.eraCache[e]||(this.eraCache[e]=[k.utc(-40,1,1),k.utc(2017,1,1)].map(s=>this.extract(s,n,"era"))),this.eraCache[e]})}extract(e,t,n){const s=this.dtFormatter(e,t),a=s.formatToParts(),i=a.find(o=>o.type.toLowerCase()===n);return i?i.value:null}numberFormatter(e={}){return new Br(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new Qr(e,this.intl,t)}relFormatter(e={}){return new Kr(this.intl,this.isEnglish(),e)}listFormatter(e={}){return Wr(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}let st=null;class B extends ge{static get utcInstance(){return st===null&&(st=new B(0)),st}static instance(e){return e===0?B.utcInstance:new B(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new B(qe(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${xe(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${xe(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return xe(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class Dt extends ge{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ce(r,e){if(C(r)||r===null)return e;if(r instanceof ge)return r;if(Xr(r)){const t=r.toLowerCase();return t==="default"?e:t==="local"||t==="system"?Ne.instance:t==="utc"||t==="gmt"?B.utcInstance:B.parseSpecifier(t)||oe.create(r)}else return he(r)?B.instance(r):typeof r=="object"&&r.offset&&typeof r.offset=="number"?r:new Dt(r)}let _t=()=>Date.now(),It="system",xt=null,Ct=null,bt=null,Ft=60,Vt;class Y{static get now(){return _t}static set now(e){_t=e}static set defaultZone(e){It=e}static get defaultZone(){return ce(It,Ne.instance)}static get defaultLocale(){return xt}static set defaultLocale(e){xt=e}static get defaultNumberingSystem(){return Ct}static set defaultNumberingSystem(e){Ct=e}static get defaultOutputCalendar(){return bt}static set defaultOutputCalendar(e){bt=e}static get twoDigitCutoffYear(){return Ft}static set twoDigitCutoffYear(e){Ft=e%100}static get throwOnInvalid(){return Vt}static set throwOnInvalid(e){Vt=e}static resetCaches(){W.resetCache(),oe.resetCache()}}function C(r){return typeof r=="undefined"}function he(r){return typeof r=="number"}function We(r){return typeof r=="number"&&r%1===0}function Xr(r){return typeof r=="string"}function en(r){return Object.prototype.toString.call(r)==="[object Date]"}function Lt(){try{return typeof Intl!="undefined"&&!!Intl.RelativeTimeFormat}catch(r){return!1}}function tn(r){return Array.isArray(r)?r:[r]}function Zt(r,e,t){if(r.length!==0)return r.reduce((n,s)=>{const a=[e(s),s];return n&&t(n[0],a[0])===n[0]?n:a},null)[1]}function rn(r,e){return e.reduce((t,n)=>(t[n]=r[n],t),{})}function we(r,e){return Object.prototype.hasOwnProperty.call(r,e)}function le(r,e,t){return We(r)&&r>=e&&r<=t}function nn(r,e){return r-e*Math.floor(r/e)}function P(r,e=2){const t=r<0;let n;return t?n="-"+(""+-r).padStart(e,"0"):n=(""+r).padStart(e,"0"),n}function fe(r){if(!(C(r)||r===null||r===""))return parseInt(r,10)}function me(r){if(!(C(r)||r===null||r===""))return parseFloat(r)}function it(r){if(!(C(r)||r===null||r==="")){const e=parseFloat("0."+r)*1e3;return Math.floor(e)}}function at(r,e,t=!1){const n=Lr(10,e);return(t?Math.trunc:Math.round)(r*n)/n}function _e(r){return r%4===0&&(r%100!==0||r%400===0)}function Ie(r){return _e(r)?366:365}function He(r,e){const t=nn(e-1,12)+1,n=r+(e-t)/12;return t===2?_e(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][t-1]}function ot(r){let e=Date.UTC(r.year,r.month-1,r.day,r.hour,r.minute,r.second,r.millisecond);return r.year<100&&r.year>=0&&(e=new Date(e),e.setUTCFullYear(r.year,r.month-1,r.day)),+e}function Re(r){const e=(r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400))%7,t=r-1,n=(t+Math.floor(t/4)-Math.floor(t/100)+Math.floor(t/400))%7;return e===4||n===3?53:52}function ut(r){return r>99?r:r>Y.twoDigitCutoffYear?1900+r:2e3+r}function $t(r,e,t,n=null){const s=new Date(r),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(a.timeZone=n);const i=v({timeZoneName:e},a),o=new Intl.DateTimeFormat(t,i).formatToParts(s).find(l=>l.type.toLowerCase()==="timezonename");return o?o.value:null}function qe(r,e){let t=parseInt(r,10);Number.isNaN(t)&&(t=0);const n=parseInt(e,10)||0,s=t<0||Object.is(t,-0)?-n:n;return t*60+s}function zt(r){const e=Number(r);if(typeof r=="boolean"||r===""||Number.isNaN(e))throw new h(`Invalid unit value ${r}`);return e}function Ye(r,e){const t={};for(const n in r)if(we(r,n)){const s=r[n];if(s==null)continue;t[e(n)]=zt(s)}return t}function xe(r,e){const t=Math.trunc(Math.abs(r/60)),n=Math.trunc(Math.abs(r%60)),s=r>=0?"+":"-";switch(e){case"short":return`${s}${P(t,2)}:${P(n,2)}`;case"narrow":return`${s}${t}${n>0?`:${n}`:""}`;case"techie":return`${s}${P(t,2)}${P(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Pe(r){return rn(r,["hour","minute","second","millisecond"])}const sn=["January","February","March","April","May","June","July","August","September","October","November","December"],At=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],an=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ut(r){switch(r){case"narrow":return[...an];case"short":return[...At];case"long":return[...sn];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Wt=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Ht=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],on=["M","T","W","T","F","S","S"];function Rt(r){switch(r){case"narrow":return[...on];case"short":return[...Ht];case"long":return[...Wt];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const qt=["AM","PM"],un=["Before Christ","Anno Domini"],ln=["BC","AD"],cn=["B","A"];function Yt(r){switch(r){case"narrow":return[...cn];case"short":return[...ln];case"long":return[...un];default:return null}}function fn(r){return qt[r.hour<12?0:1]}function dn(r,e){return Rt(e)[r.weekday-1]}function hn(r,e){return Ut(e)[r.month-1]}function mn(r,e){return Yt(e)[r.year<0?0:1]}function yn(r,e,t="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},a=["hours","minutes","seconds"].indexOf(r)===-1;if(t==="auto"&&a){const R=r==="days";switch(e){case 1:return R?"tomorrow":`next ${s[r][0]}`;case-1:return R?"yesterday":`last ${s[r][0]}`;case 0:return R?"today":`this ${s[r][0]}`}}const i=Object.is(e,-0)||e<0,o=Math.abs(e),l=o===1,d=s[r],D=n?l?d[1]:d[2]||d[1]:l?s[r][0]:r;return i?`${o} ${D} ago`:`in ${o} ${D}`}function Pt(r,e){let t="";for(const n of r)n.literal?t+=n.val:t+=e(n.val);return t}const pn={D:p,DD:T,DDD:H,DDDD:S,t:A,tt:L,ttt:$,tttt:F,T:U,TT:K,TTT:I,TTTT:z,f:j,ff:ue,fff:St,ffff:Et,F:X,FF:vt,FFF:Mt,FFFF:kt};class Q{static create(e,t={}){return new Q(e,t)}static parseFormat(e){let t=null,n="",s=!1;const a=[];for(let i=0;i<e.length;i++){const o=e.charAt(i);o==="'"?(n.length>0&&a.push({literal:s||/^\s+$/.test(n),val:n}),t=null,n="",s=!s):s||o===t?n+=o:(n.length>0&&a.push({literal:/^\s+$/.test(n),val:n}),n=o,t=o)}return n.length>0&&a.push({literal:s||/^\s+$/.test(n),val:n}),a}static macroTokenToFormatOpts(e){return pn[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,v(v({},this.opts),t)).format()}formatDateTime(e,t={}){return this.loc.dtFormatter(e,v(v({},this.opts),t)).format()}formatDateTimeParts(e,t={}){return this.loc.dtFormatter(e,v(v({},this.opts),t)).formatToParts()}formatInterval(e,t={}){return this.loc.dtFormatter(e.start,v(v({},this.opts),t)).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t={}){return this.loc.dtFormatter(e,v(v({},this.opts),t)).resolvedOptions()}num(e,t=0){if(this.opts.forceSimple)return P(e,t);const n=v({},this.opts);return t>0&&(n.padTo=t),this.loc.numberFormatter(n).format(e)}formatDateTimeFromString(e,t){const n=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",a=(M,J)=>this.loc.extract(e,M,J),i=M=>e.isOffsetFixed&&e.offset===0&&M.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,M.format):"",o=()=>n?fn(e):a({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(M,J)=>n?hn(e,M):a(J?{month:M}:{month:M,day:"numeric"},"month"),d=(M,J)=>n?dn(e,M):a(J?{weekday:M}:{weekday:M,month:"long",day:"numeric"},"weekday"),D=M=>{const J=Q.macroTokenToFormatOpts(M);return J?this.formatWithSystemDefault(e,J):M},R=M=>n?mn(e,M):a({era:M},"era"),G=M=>{switch(M){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return o();case"d":return s?a({day:"numeric"},"day"):this.num(e.day);case"dd":return s?a({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return d("short",!0);case"cccc":return d("long",!0);case"ccccc":return d("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return d("short",!1);case"EEEE":return d("long",!1);case"EEEEE":return d("narrow",!1);case"L":return s?a({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?a({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return s?a({month:"numeric"},"month"):this.num(e.month);case"MM":return s?a({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return s?a({year:"numeric"},"year"):this.num(e.year);case"yy":return s?a({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?a({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?a({year:"numeric"},"year"):this.num(e.year,6);case"G":return R("short");case"GG":return R("long");case"GGGGG":return R("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return D(M)}};return Pt(Q.parseFormat(t),G)}formatDurationFromString(e,t){const n=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=l=>d=>{const D=n(d);return D?this.num(l.get(D),d.length):d},a=Q.parseFormat(t),i=a.reduce((l,{literal:d,val:D})=>d?l:l.concat(D),[]),o=e.shiftTo(...i.map(n).filter(l=>l));return Pt(a,s(o))}}class re{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Gt=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Te(...r){const e=r.reduce((t,n)=>t+n.source,"");return RegExp(`^${e}$`)}function Oe(...r){return e=>r.reduce(([t,n,s],a)=>{const[i,o,l]=a(e,s);return[v(v({},t),i),o||n,l]},[{},null,1]).slice(0,2)}function ve(r,...e){if(r==null)return[null,null];for(const[t,n]of e){const s=t.exec(r);if(s)return n(s)}return[null,null]}function Jt(...r){return(e,t)=>{const n={};let s;for(s=0;s<r.length;s++)n[r[s]]=fe(e[t+s]);return[n,null,t+s]}}const jt=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=`(?:${jt.source}?(?:\\[(${Gt.source})\\])?)?`,lt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Bt=RegExp(`${lt.source}${gn}`),ct=RegExp(`(?:T${Bt.source})?`),wn=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Tn=/(\d{4})-?W(\d\d)(?:-?(\d))?/,On=/(\d{4})-?(\d{3})/,vn=Jt("weekYear","weekNumber","weekDay"),Sn=Jt("year","ordinal"),Mn=/(\d{4})-(\d\d)-(\d\d)/,Qt=RegExp(`${lt.source} ?(?:${jt.source}|(${Gt.source}))?`),En=RegExp(`(?: ${Qt.source})?`);function Se(r,e,t){const n=r[e];return C(n)?t:fe(n)}function kn(r,e){return[{year:Se(r,e),month:Se(r,e+1,1),day:Se(r,e+2,1)},null,e+3]}function Me(r,e){return[{hours:Se(r,e,0),minutes:Se(r,e+1,0),seconds:Se(r,e+2,0),milliseconds:it(r[e+3])},null,e+4]}function Ce(r,e){const t=!r[e]&&!r[e+1],n=qe(r[e+1],r[e+2]),s=t?null:B.instance(n);return[{},s,e+3]}function be(r,e){const t=r[e]?oe.create(r[e]):null;return[{},t,e+1]}const Nn=RegExp(`^T?${lt.source}$`),Dn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function _n(r){const[e,t,n,s,a,i,o,l,d]=r,D=e[0]==="-",R=l&&l[0]==="-",G=(M,J=!1)=>M!==void 0&&(J||M&&D)?-M:M;return[{years:G(me(t)),months:G(me(n)),weeks:G(me(s)),days:G(me(a)),hours:G(me(i)),minutes:G(me(o)),seconds:G(me(l),l==="-0"),milliseconds:G(it(d),R)}]}const In={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function ft(r,e,t,n,s,a,i){const o={year:e.length===2?ut(fe(e)):fe(e),month:At.indexOf(t)+1,day:fe(n),hour:fe(s),minute:fe(a)};return i&&(o.second=fe(i)),r&&(o.weekday=r.length>3?Wt.indexOf(r)+1:Ht.indexOf(r)+1),o}const xn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(r){const[,e,t,n,s,a,i,o,l,d,D,R]=r,G=ft(e,s,n,t,a,i,o);let M;return l?M=In[l]:d?M=0:M=qe(D,R),[G,new B(M)]}function bn(r){return r.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Vn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Kt(r){const[,e,t,n,s,a,i,o]=r;return[ft(e,s,n,t,a,i,o),B.utcInstance]}function Zn(r){const[,e,t,n,s,a,i,o]=r;return[ft(e,o,t,n,s,a,i),B.utcInstance]}const $n=Te(wn,ct),zn=Te(Tn,ct),An=Te(On,ct),Un=Te(Bt),Xt=Oe(kn,Me,Ce,be),Wn=Oe(vn,Me,Ce,be),Hn=Oe(Sn,Me,Ce,be),Rn=Oe(Me,Ce,be);function qn(r){return ve(r,[$n,Xt],[zn,Wn],[An,Hn],[Un,Rn])}function Yn(r){return ve(bn(r),[xn,Cn])}function Pn(r){return ve(r,[Fn,Kt],[Vn,Kt],[Ln,Zn])}function Gn(r){return ve(r,[Dn,_n])}const Jn=Oe(Me);function jn(r){return ve(r,[Nn,Jn])}const Bn=Te(Mn,En),Qn=Te(Qt),Kn=Oe(Me,Ce,be);function Xn(r){return ve(r,[Bn,Xt],[Qn,Kn])}const es="Invalid Duration",er={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},ts=v({years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3}},er),ee=146097/400,Ee=146097/4800,rs=v({years:{quarters:4,months:12,weeks:ee/7,days:ee,hours:ee*24,minutes:ee*24*60,seconds:ee*24*60*60,milliseconds:ee*24*60*60*1e3},quarters:{months:3,weeks:ee/28,days:ee/4,hours:ee*24/4,minutes:ee*24*60/4,seconds:ee*24*60*60/4,milliseconds:ee*24*60*60*1e3/4},months:{weeks:Ee/7,days:Ee,hours:Ee*24,minutes:Ee*24*60,seconds:Ee*24*60*60,milliseconds:Ee*24*60*60*1e3}},er),ye=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],ns=ye.slice(0).reverse();function de(r,e,t=!1){const n={values:t?e.values:v(v({},r.values),e.values||{}),loc:r.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||r.conversionAccuracy,matrix:e.matrix||r.matrix};return new b(n)}function ss(r){return r<0?Math.floor(r):Math.ceil(r)}function tr(r,e,t,n,s){const a=r[s][t],i=e[t]/a,o=Math.sign(i)===Math.sign(n[s]),l=!o&&n[s]!==0&&Math.abs(i)<=1?ss(i):Math.trunc(i);n[s]+=l,e[t]-=l*a}function is(r,e){ns.reduce((t,n)=>C(e[n])?t:(t&&tr(r,e,t,e,n),n),null)}function as(r){const e={};for(const[t,n]of Object.entries(r))n!==0&&(e[t]=n);return e}class b{constructor(e){const t=e.conversionAccuracy==="longterm"||!1;let n=t?rs:ts;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||W.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,t){return b.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(e==null||typeof e!="object")throw new h(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new b({values:Ye(e,b.normalizeUnit),loc:W.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(he(e))return b.fromMillis(e);if(b.isDuration(e))return e;if(typeof e=="object")return b.fromObject(e);throw new h(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[n]=Gn(e);return n?b.fromObject(n,t):b.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[n]=jn(e);return n?b.fromObject(n,t):b.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new h("need to specify a reason the Duration is invalid");const n=e instanceof re?e:new re(e,t);if(Y.throwOnInvalid)throw new y(n);return new b({invalid:n})}static normalizeUnit(e){const t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!t)throw new f(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const n=ae(v({},t),{floor:t.round!==!1&&t.floor!==!1});return this.isValid?Q.create(this.loc,n).formatDurationFromString(this,e):es}toHuman(e={}){const t=ye.map(n=>{const s=this.values[n];return C(s)?null:this.loc.numberFormatter(ae(v({style:"unit",unitDisplay:"long"},e),{unit:n.slice(0,-1)})).format(s)}).filter(n=>n);return this.loc.listFormatter(v({type:"conjunction",style:e.listStyle||"narrow"},e)).format(t)}toObject(){return this.isValid?v({},this.values):{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=at(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();if(t<0||t>=864e5)return null;e=v({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e);const n=this.shiftTo("hours","minutes","seconds","milliseconds");let s=e.format==="basic"?"hhmm":"hh:mm";(!e.suppressSeconds||n.seconds!==0||n.milliseconds!==0)&&(s+=e.format==="basic"?"ss":":ss",(!e.suppressMilliseconds||n.milliseconds!==0)&&(s+=".SSS"));let a=n.toFormat(s);return e.includePrefix&&(a="T"+a),a}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=b.fromDurationLike(e),n={};for(const s of ye)(we(t.values,s)||we(this.values,s))&&(n[s]=t.get(s)+this.get(s));return de(this,{values:n},!0)}minus(e){if(!this.isValid)return this;const t=b.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=zt(e(this.values[n],n));return de(this,{values:t},!0)}get(e){return this[b.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const t=v(v({},this.values),Ye(e,b.normalizeUnit));return de(this,{values:t})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:n,matrix:s}={}){const i={loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:s,conversionAccuracy:n};return de(this,i)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return is(this.matrix,e),de(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=as(this.normalize().shiftToAll().toObject());return de(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(i=>b.normalizeUnit(i));const t={},n={},s=this.toObject();let a;for(const i of ye)if(e.indexOf(i)>=0){a=i;let o=0;for(const d in n)o+=this.matrix[d][i]*n[d],n[d]=0;he(s[i])&&(o+=s[i]);const l=Math.trunc(o);t[i]=l,n[i]=(o*1e3-l*1e3)/1e3;for(const d in s)ye.indexOf(d)>ye.indexOf(i)&&tr(this.matrix,s,d,t,i)}else he(s[i])&&(n[i]=s[i]);for(const i in n)n[i]!==0&&(t[a]+=i===a?n[i]:n[i]/this.matrix[a][i]);return de(this,{values:t},!0).normalize()}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values))e[t]=this.values[t]===0?0:-this.values[t];return de(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function t(n,s){return n===void 0||n===0?s===void 0||s===0:n===s}for(const n of ye)if(!t(this.values[n],e.values[n]))return!1;return!0}}const ke="Invalid Interval";function os(r,e){return!r||!r.isValid?q.invalid("missing or invalid start"):!e||!e.isValid?q.invalid("missing or invalid end"):e<r?q.invalid("end before start",`The end of an interval must be after its start, but you had start=${r.toISO()} and end=${e.toISO()}`):null}class q{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new h("need to specify a reason the Interval is invalid");const n=e instanceof re?e:new re(e,t);if(Y.throwOnInvalid)throw new g(n);return new q({invalid:n})}static fromDateTimes(e,t){const n=Ze(e),s=Ze(t),a=os(n,s);return a==null?new q({start:n,end:s}):a}static after(e,t){const n=b.fromDurationLike(t),s=Ze(e);return q.fromDateTimes(s,s.plus(n))}static before(e,t){const n=b.fromDurationLike(t),s=Ze(e);return q.fromDateTimes(s.minus(n),s)}static fromISO(e,t){const[n,s]=(e||"").split("/",2);if(n&&s){let a,i;try{a=k.fromISO(n,t),i=a.isValid}catch(d){i=!1}let o,l;try{o=k.fromISO(s,t),l=o.isValid}catch(d){l=!1}if(i&&l)return q.fromDateTimes(a,o);if(i){const d=b.fromISO(s,t);if(d.isValid)return q.after(a,d)}else if(l){const d=b.fromISO(n,t);if(d.isValid)return q.before(o,d)}}return q.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds"){if(!this.isValid)return NaN;const t=this.start.startOf(e),n=this.end.startOf(e);return Math.floor(n.diff(t,e).get(e))+(n.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:t}={}){return this.isValid?q.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(Ze).filter(i=>this.contains(i)).sort(),n=[];let{s}=this,a=0;for(;s<this.e;){const i=t[a]||this.e,o=+i>+this.e?this.e:i;n.push(q.fromDateTimes(s,o)),s=o,a+=1}return n}splitBy(e){const t=b.fromDurationLike(e);if(!this.isValid||!t.isValid||t.as("milliseconds")===0)return[];let{s:n}=this,s=1,a;const i=[];for(;n<this.e;){const o=this.start.plus(t.mapUnits(l=>l*s));a=+o>+this.e?this.e:o,i.push(q.fromDateTimes(n,a)),n=a,s+=1}return i}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return t>=n?null:q.fromDateTimes(t,n)}union(e){if(!this.isValid)return this;const t=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return q.fromDateTimes(t,n)}static merge(e){const[t,n]=e.sort((s,a)=>s.s-a.s).reduce(([s,a],i)=>a?a.overlaps(i)||a.abutsStart(i)?[s,a.union(i)]:[s.concat([a]),i]:[s,i],[[],null]);return n&&t.push(n),t}static xor(e){let t=null,n=0;const s=[],a=e.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),i=Array.prototype.concat(...a),o=i.sort((l,d)=>l.time-d.time);for(const l of o)n+=l.type==="s"?1:-1,n===1?t=l.time:(t&&+t!=+l.time&&s.push(q.fromDateTimes(t,l.time)),t=null);return q.merge(s)}difference(...e){return q.xor([this].concat(e)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:ke}toLocaleString(e=p,t={}){return this.isValid?Q.create(this.s.loc.clone(t),e).formatInterval(this):ke}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:ke}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:ke}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:ke}toFormat(e,{separator:t=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:ke}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):b.invalid(this.invalidReason)}mapEndpoints(e){return q.fromDateTimes(e(this.s),e(this.e))}}class Fe{static hasDST(e=Y.defaultZone){const t=k.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return oe.isValidZone(e)}static normalizeZone(e){return ce(e,Y.defaultZone)}static months(e="long",{locale:t=null,numberingSystem:n=null,locObj:s=null,outputCalendar:a="gregory"}={}){return(s||W.create(t,n,a)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:s=null,outputCalendar:a="gregory"}={}){return(s||W.create(t,n,a)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:n=null,locObj:s=null}={}){return(s||W.create(t,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:n=null,locObj:s=null}={}){return(s||W.create(t,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return W.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return W.create(t,null,"gregory").eras(e)}static features(){return{relative:Lt()}}}function rr(r,e){const t=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=t(e)-t(r);return Math.floor(b.fromMillis(n).as("days"))}function us(r,e,t){const n=[["years",(l,d)=>d.year-l.year],["quarters",(l,d)=>d.quarter-l.quarter+(d.year-l.year)*4],["months",(l,d)=>d.month-l.month+(d.year-l.year)*12],["weeks",(l,d)=>{const D=rr(l,d);return(D-D%7)/7}],["days",rr]],s={},a=r;let i,o;for(const[l,d]of n)t.indexOf(l)>=0&&(i=l,s[l]=d(r,e),o=a.plus(s),o>e?(s[l]--,r=a.plus(s)):r=o);return[r,s,o,i]}function ls(r,e,t,n){let[s,a,i,o]=us(r,e,t);const l=e-s,d=t.filter(R=>["hours","minutes","seconds","milliseconds"].indexOf(R)>=0);d.length===0&&(i<e&&(i=s.plus({[o]:1})),i!==s&&(a[o]=(a[o]||0)+l/(i-s)));const D=b.fromObject(a,n);return d.length>0?b.fromMillis(l,n).shiftTo(...d).plus(D):D}const dt={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},nr={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},cs=dt.hanidec.replace(/[\[|\]]/g,"").split("");function fs(r){let e=parseInt(r,10);if(isNaN(e)){e="";for(let t=0;t<r.length;t++){const n=r.charCodeAt(t);if(r[t].search(dt.hanidec)!==-1)e+=cs.indexOf(r[t]);else for(const s in nr){const[a,i]=nr[s];n>=a&&n<=i&&(e+=n-a)}}return parseInt(e,10)}else return e}function ne({numberingSystem:r},e=""){return new RegExp(`${dt[r||"latn"]}${e}`)}const ds="missing Intl.DateTimeFormat.formatToParts support";function V(r,e=t=>t){return{regex:r,deser:([t])=>e(fs(t))}}const sr=`[ ${String.fromCharCode(160)}]`,ir=new RegExp(sr,"g");function hs(r){return r.replace(/\./g,"\\.?").replace(ir,sr)}function ar(r){return r.replace(/\./g,"").replace(ir," ").toLowerCase()}function se(r,e){return r===null?null:{regex:RegExp(r.map(hs).join("|")),deser:([t])=>r.findIndex(n=>ar(t)===ar(n))+e}}function or(r,e){return{regex:r,deser:([,t,n])=>qe(t,n),groups:e}}function Ge(r){return{regex:r,deser:([e])=>e}}function ms(r){return r.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function ys(r,e){const t=ne(e),n=ne(e,"{2}"),s=ne(e,"{3}"),a=ne(e,"{4}"),i=ne(e,"{6}"),o=ne(e,"{1,2}"),l=ne(e,"{1,3}"),d=ne(e,"{1,6}"),D=ne(e,"{1,9}"),R=ne(e,"{2,4}"),G=ne(e,"{4,6}"),M=ie=>({regex:RegExp(ms(ie.val)),deser:([Qe])=>Qe,literal:!0}),pe=(ie=>{if(r.literal)return M(ie);switch(ie.val){case"G":return se(e.eras("short",!1),0);case"GG":return se(e.eras("long",!1),0);case"y":return V(d);case"yy":return V(R,ut);case"yyyy":return V(a);case"yyyyy":return V(G);case"yyyyyy":return V(i);case"M":return V(o);case"MM":return V(n);case"MMM":return se(e.months("short",!0,!1),1);case"MMMM":return se(e.months("long",!0,!1),1);case"L":return V(o);case"LL":return V(n);case"LLL":return se(e.months("short",!1,!1),1);case"LLLL":return se(e.months("long",!1,!1),1);case"d":return V(o);case"dd":return V(n);case"o":return V(l);case"ooo":return V(s);case"HH":return V(n);case"H":return V(o);case"hh":return V(n);case"h":return V(o);case"mm":return V(n);case"m":return V(o);case"q":return V(o);case"qq":return V(n);case"s":return V(o);case"ss":return V(n);case"S":return V(l);case"SSS":return V(s);case"u":return Ge(D);case"uu":return Ge(o);case"uuu":return V(t);case"a":return se(e.meridiems(),0);case"kkkk":return V(a);case"kk":return V(R,ut);case"W":return V(o);case"WW":return V(n);case"E":case"c":return V(t);case"EEE":return se(e.weekdays("short",!1,!1),1);case"EEEE":return se(e.weekdays("long",!1,!1),1);case"ccc":return se(e.weekdays("short",!0,!1),1);case"cccc":return se(e.weekdays("long",!0,!1),1);case"Z":case"ZZ":return or(new RegExp(`([+-]${o.source})(?::(${n.source}))?`),2);case"ZZZ":return or(new RegExp(`([+-]${o.source})(${n.source})?`),2);case"z":return Ge(/[a-z_+-/]{1,256}?/i);case" ":return Ge(/[^\S\n\r]/);default:return M(ie)}})(r)||{invalidReason:ds};return pe.token=r,pe}const ps={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function gs(r,e){const{type:t,value:n}=r;if(t==="literal"){const i=/^\s+$/.test(n);return{literal:!i,val:i?" ":n}}const s=e[t];let a=ps[t];if(typeof a=="object"&&(a=a[s]),a)return{literal:!1,val:a}}function ws(r){return[`^${r.map(t=>t.regex).reduce((t,n)=>`${t}(${n.source})`,"")}$`,r]}function Ts(r,e,t){const n=r.match(e);if(n){const s={};let a=1;for(const i in t)if(we(t,i)){const o=t[i],l=o.groups?o.groups+1:1;!o.literal&&o.token&&(s[o.token.val[0]]=o.deser(n.slice(a,a+l))),a+=l}return[n,s]}else return[n,{}]}function Os(r){const e=a=>{switch(a){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let t=null,n;return C(r.z)||(t=oe.create(r.z)),C(r.Z)||(t||(t=new B(r.Z)),n=r.Z),C(r.q)||(r.M=(r.q-1)*3+1),C(r.h)||(r.h<12&&r.a===1?r.h+=12:r.h===12&&r.a===0&&(r.h=0)),r.G===0&&r.y&&(r.y=-r.y),C(r.u)||(r.S=it(r.u)),[Object.keys(r).reduce((a,i)=>{const o=e(i);return o&&(a[o]=r[i]),a},{}),t,n]}let ht=null;function vs(){return ht||(ht=k.fromMillis(1555555555555)),ht}function Ss(r,e){if(r.literal)return r;const t=Q.macroTokenToFormatOpts(r.val),n=cr(t,e);return n==null||n.includes(void 0)?r:n}function ur(r,e){return Array.prototype.concat(...r.map(t=>Ss(t,e)))}function lr(r,e,t){const n=ur(Q.parseFormat(t),r),s=n.map(i=>ys(i,r)),a=s.find(i=>i.invalidReason);if(a)return{input:e,tokens:n,invalidReason:a.invalidReason};{const[i,o]=ws(s),l=RegExp(i,"i"),[d,D]=Ts(e,l,o),[R,G,M]=D?Os(D):[null,null,void 0];if(we(D,"a")&&we(D,"H"))throw new c("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:n,regex:l,rawMatches:d,matches:D,result:R,zone:G,specificOffset:M}}}function Ms(r,e,t){const{result:n,zone:s,specificOffset:a,invalidReason:i}=lr(r,e,t);return[n,s,a,i]}function cr(r,e){return r?Q.create(e,r).formatDateTimeParts(vs()).map(s=>gs(s,r)):null}const fr=[0,31,59,90,120,151,181,212,243,273,304,334],dr=[0,31,60,91,121,152,182,213,244,274,305,335];function te(r,e){return new re("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${r}, which is invalid`)}function hr(r,e,t){const n=new Date(Date.UTC(r,e-1,t));r<100&&r>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return s===0?7:s}function mr(r,e,t){return t+(_e(r)?dr:fr)[e-1]}function yr(r,e){const t=_e(r)?dr:fr,n=t.findIndex(a=>a<e),s=e-t[n];return{month:n+1,day:s}}function mt(r){const{year:e,month:t,day:n}=r,s=mr(e,t,n),a=hr(e,t,n);let i=Math.floor((s-a+10)/7),o;return i<1?(o=e-1,i=Re(o)):i>Re(e)?(o=e+1,i=1):o=e,v({weekYear:o,weekNumber:i,weekday:a},Pe(r))}function pr(r){const{weekYear:e,weekNumber:t,weekday:n}=r,s=hr(e,1,4),a=Ie(e);let i=t*7+n-s-3,o;i<1?(o=e-1,i+=Ie(o)):i>a?(o=e+1,i-=Ie(e)):o=e;const{month:l,day:d}=yr(o,i);return v({year:o,month:l,day:d},Pe(r))}function yt(r){const{year:e,month:t,day:n}=r,s=mr(e,t,n);return v({year:e,ordinal:s},Pe(r))}function gr(r){const{year:e,ordinal:t}=r,{month:n,day:s}=yr(e,t);return v({year:e,month:n,day:s},Pe(r))}function Es(r){const e=We(r.weekYear),t=le(r.weekNumber,1,Re(r.weekYear)),n=le(r.weekday,1,7);return e?t?n?!1:te("weekday",r.weekday):te("week",r.week):te("weekYear",r.weekYear)}function ks(r){const e=We(r.year),t=le(r.ordinal,1,Ie(r.year));return e?t?!1:te("ordinal",r.ordinal):te("year",r.year)}function wr(r){const e=We(r.year),t=le(r.month,1,12),n=le(r.day,1,He(r.year,r.month));return e?t?n?!1:te("day",r.day):te("month",r.month):te("year",r.year)}function Tr(r){const{hour:e,minute:t,second:n,millisecond:s}=r,a=le(e,0,23)||e===24&&t===0&&n===0&&s===0,i=le(t,0,59),o=le(n,0,59),l=le(s,0,999);return a?i?o?l?!1:te("millisecond",s):te("second",n):te("minute",t):te("hour",e)}const pt="Invalid DateTime",Or=864e13;function Je(r){return new re("unsupported zone",`the zone "${r.name}" is not supported`)}function gt(r){return r.weekData===null&&(r.weekData=mt(r.c)),r.weekData}function Ve(r,e){const t={ts:r.ts,zone:r.zone,c:r.c,o:r.o,loc:r.loc,invalid:r.invalid};return new k(ae(v(v({},t),e),{old:t}))}function vr(r,e,t){let n=r-e*60*1e3;const s=t.offset(n);if(e===s)return[n,e];n-=(s-e)*60*1e3;const a=t.offset(n);return s===a?[n,s]:[r-Math.min(s,a)*60*1e3,Math.max(s,a)]}function Sr(r,e){r+=e*60*1e3;const t=new Date(r);return{year:t.getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate(),hour:t.getUTCHours(),minute:t.getUTCMinutes(),second:t.getUTCSeconds(),millisecond:t.getUTCMilliseconds()}}function je(r,e,t){return vr(ot(r),e,t)}function Mr(r,e){const t=r.o,n=r.c.year+Math.trunc(e.years),s=r.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,a=ae(v({},r.c),{year:n,month:s,day:Math.min(r.c.day,He(n,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7}),i=b.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=ot(a);let[l,d]=vr(o,t,r.zone);return i!==0&&(l+=i,d=r.zone.offset(l)),{ts:l,o:d}}function Le(r,e,t,n,s,a){const{setZone:i,zone:o}=t;if(r&&Object.keys(r).length!==0||e){const l=e||o,d=k.fromObject(r,ae(v({},t),{zone:l,specificOffset:a}));return i?d:d.setZone(o)}else return k.invalid(new re("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Be(r,e,t=!0){return r.isValid?Q.create(W.create("en-US"),{allowZ:t,forceSimple:!0}).formatDateTimeFromString(r,e):null}function wt(r,e){const t=r.c.year>9999||r.c.year<0;let n="";return t&&r.c.year>=0&&(n+="+"),n+=P(r.c.year,t?6:4),e?(n+="-",n+=P(r.c.month),n+="-",n+=P(r.c.day)):(n+=P(r.c.month),n+=P(r.c.day)),n}function Er(r,e,t,n,s,a){let i=P(r.c.hour);return e?(i+=":",i+=P(r.c.minute),(r.c.second!==0||!t)&&(i+=":")):i+=P(r.c.minute),(r.c.second!==0||!t)&&(i+=P(r.c.second),(r.c.millisecond!==0||!n)&&(i+=".",i+=P(r.c.millisecond,3))),s&&(r.isOffsetFixed&&r.offset===0&&!a?i+="Z":r.o<0?(i+="-",i+=P(Math.trunc(-r.o/60)),i+=":",i+=P(Math.trunc(-r.o%60))):(i+="+",i+=P(Math.trunc(r.o/60)),i+=":",i+=P(Math.trunc(r.o%60)))),a&&(i+="["+r.zone.ianaName+"]"),i}const kr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Ns={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Ds={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Nr=["year","month","day","hour","minute","second","millisecond"],_s=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Is=["year","ordinal","hour","minute","second","millisecond"];function Dr(r){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[r.toLowerCase()];if(!e)throw new f(r);return e}function _r(r,e){const t=ce(e.zone,Y.defaultZone),n=W.fromObject(e),s=Y.now();let a,i;if(C(r.year))a=s;else{for(const d of Nr)C(r[d])&&(r[d]=kr[d]);const o=wr(r)||Tr(r);if(o)return k.invalid(o);const l=t.offset(s);[a,i]=je(r,l,t)}return new k({ts:a,zone:t,loc:n,o:i})}function Ir(r,e,t){const n=C(t.round)?!0:t.round,s=(i,o)=>(i=at(i,n||t.calendary?0:2,!0),e.loc.clone(t).relFormatter(t).format(i,o)),a=i=>t.calendary?e.hasSame(r,i)?0:e.startOf(i).diff(r.startOf(i),i).get(i):e.diff(r,i).get(i);if(t.unit)return s(a(t.unit),t.unit);for(const i of t.units){const o=a(i);if(Math.abs(o)>=1)return s(o,i)}return s(r>e?-0:0,t.units[t.units.length-1])}function xr(r){let e={},t;return r.length>0&&typeof r[r.length-1]=="object"?(e=r[r.length-1],t=Array.from(r).slice(0,r.length-1)):t=Array.from(r),[e,t]}class k{constructor(e){const t=e.zone||Y.defaultZone;let n=e.invalid||(Number.isNaN(e.ts)?new re("invalid input"):null)||(t.isValid?null:Je(t));this.ts=C(e.ts)?Y.now():e.ts;let s=null,a=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[s,a]=[e.old.c,e.old.o];else{const o=t.offset(this.ts);s=Sr(this.ts,o),n=Number.isNaN(s.year)?new re("invalid input"):null,s=n?null:s,a=n?null:o}this._zone=t,this.loc=e.loc||W.create(),this.invalid=n,this.weekData=null,this.c=s,this.o=a,this.isLuxonDateTime=!0}static now(){return new k({})}static local(){const[e,t]=xr(arguments),[n,s,a,i,o,l,d]=t;return _r({year:n,month:s,day:a,hour:i,minute:o,second:l,millisecond:d},e)}static utc(){const[e,t]=xr(arguments),[n,s,a,i,o,l,d]=t;return e.zone=B.utcInstance,_r({year:n,month:s,day:a,hour:i,minute:o,second:l,millisecond:d},e)}static fromJSDate(e,t={}){const n=en(e)?e.valueOf():NaN;if(Number.isNaN(n))return k.invalid("invalid input");const s=ce(t.zone,Y.defaultZone);return s.isValid?new k({ts:n,zone:s,loc:W.fromObject(t)}):k.invalid(Je(s))}static fromMillis(e,t={}){if(he(e))return e<-Or||e>Or?k.invalid("Timestamp out of range"):new k({ts:e,zone:ce(t.zone,Y.defaultZone),loc:W.fromObject(t)});throw new h(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(he(e))return new k({ts:e*1e3,zone:ce(t.zone,Y.defaultZone),loc:W.fromObject(t)});throw new h("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const n=ce(t.zone,Y.defaultZone);if(!n.isValid)return k.invalid(Je(n));const s=Y.now(),a=C(t.specificOffset)?n.offset(s):t.specificOffset,i=Ye(e,Dr),o=!C(i.ordinal),l=!C(i.year),d=!C(i.month)||!C(i.day),D=l||d,R=i.weekYear||i.weekNumber,G=W.fromObject(t);if((D||o)&&R)throw new c("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&o)throw new c("Can't mix ordinal dates with month/day");const M=R||i.weekday&&!D;let J,pe,ie=Sr(s,a);M?(J=_s,pe=Ns,ie=mt(ie)):o?(J=Is,pe=Ds,ie=yt(ie)):(J=Nr,pe=kr);let Qe=!1;for(const $e of J){const Ls=i[$e];C(Ls)?Qe?i[$e]=pe[$e]:i[$e]=ie[$e]:Qe=!0}const Cs=M?Es(i):o?ks(i):wr(i),Cr=Cs||Tr(i);if(Cr)return k.invalid(Cr);const bs=M?pr(i):o?gr(i):i,[Fs,Vs]=je(bs,a,n),Tt=new k({ts:Fs,zone:n,o:Vs,loc:G});return i.weekday&&D&&e.weekday!==Tt.weekday?k.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${Tt.toISO()}`):Tt}static fromISO(e,t={}){const[n,s]=qn(e);return Le(n,s,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[n,s]=Yn(e);return Le(n,s,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[n,s]=Pn(e);return Le(n,s,t,"HTTP",t)}static fromFormat(e,t,n={}){if(C(e)||C(t))throw new h("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:a=null}=n,i=W.fromOpts({locale:s,numberingSystem:a,defaultToEN:!0}),[o,l,d,D]=Ms(i,e,t);return D?k.invalid(D):Le(o,l,n,`format ${t}`,e,d)}static fromString(e,t,n={}){return k.fromFormat(e,t,n)}static fromSQL(e,t={}){const[n,s]=Xn(e);return Le(n,s,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new h("need to specify a reason the DateTime is invalid");const n=e instanceof re?e:new re(e,t);if(Y.throwOnInvalid)throw new _(n);return new k({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const n=cr(e,W.fromObject(t));return n?n.map(s=>s?s.val:null).join(""):null}static expandFormat(e,t={}){return ur(Q.parseFormat(e),W.fromObject(t)).map(s=>s.val).join("")}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?gt(this).weekYear:NaN}get weekNumber(){return this.isValid?gt(this).weekNumber:NaN}get weekday(){return this.isValid?gt(this).weekday:NaN}get ordinal(){return this.isValid?yt(this.c).ordinal:NaN}get monthShort(){return this.isValid?Fe.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Fe.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Fe.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Fe.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}get isInLeapYear(){return _e(this.year)}get daysInMonth(){return He(this.year,this.month)}get daysInYear(){return this.isValid?Ie(this.year):NaN}get weeksInWeekYear(){return this.isValid?Re(this.weekYear):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:n,calendar:s}=Q.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:n,outputCalendar:s}}toUTC(e=0,t={}){return this.setZone(B.instance(e),t)}toLocal(){return this.setZone(Y.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:n=!1}={}){if(e=ce(e,Y.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(t||n){const a=e.offset(this.ts),i=this.toObject();[s]=je(i,a,e)}return Ve(this,{ts:s,zone:e})}else return k.invalid(Je(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:n}={}){const s=this.loc.clone({locale:e,numberingSystem:t,outputCalendar:n});return Ve(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=Ye(e,Dr),n=!C(t.weekYear)||!C(t.weekNumber)||!C(t.weekday),s=!C(t.ordinal),a=!C(t.year),i=!C(t.month)||!C(t.day),o=a||i,l=t.weekYear||t.weekNumber;if((o||s)&&l)throw new c("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(i&&s)throw new c("Can't mix ordinal dates with month/day");let d;n?d=pr(v(v({},mt(this.c)),t)):C(t.ordinal)?(d=v(v({},this.toObject()),t),C(t.day)&&(d.day=Math.min(He(d.year,d.month),d.day))):d=gr(v(v({},yt(this.c)),t));const[D,R]=je(d,this.o,this.zone);return Ve(this,{ts:D,o:R})}plus(e){if(!this.isValid)return this;const t=b.fromDurationLike(e);return Ve(this,Mr(this,t))}minus(e){if(!this.isValid)return this;const t=b.fromDurationLike(e).negate();return Ve(this,Mr(this,t))}startOf(e){if(!this.isValid)return this;const t={},n=b.normalizeUnit(e);switch(n){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0;break}if(n==="weeks"&&(t.weekday=1),n==="quarters"){const s=Math.ceil(this.month/3);t.month=(s-1)*3+1}return this.set(t)}endOf(e){return this.isValid?this.plus({[e]:1}).startOf(e).minus(1):this}toFormat(e,t={}){return this.isValid?Q.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):pt}toLocaleString(e=p,t={}){return this.isValid?Q.create(this.loc.clone(t),e).formatDateTime(this):pt}toLocaleParts(e={}){return this.isValid?Q.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:n=!1,includeOffset:s=!0,extendedZone:a=!1}={}){if(!this.isValid)return null;const i=e==="extended";let o=wt(this,i);return o+="T",o+=Er(this,i,t,n,s,a),o}toISODate({format:e="extended"}={}){return this.isValid?wt(this,e==="extended"):null}toISOWeekDate(){return Be(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:n=!0,includePrefix:s=!1,extendedZone:a=!1,format:i="extended"}={}){return this.isValid?(s?"T":"")+Er(this,i==="extended",t,e,n,a):null}toRFC2822(){return Be(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Be(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?wt(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:n=!0}={}){let s="HH:mm:ss.SSS";return(t||e)&&(n&&(s+=" "),t?s+="z":e&&(s+="ZZ")),Be(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():pt}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const t=v({},this.c);return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",n={}){if(!this.isValid||!e.isValid)return b.invalid("created by diffing an invalid DateTime");const s=v({locale:this.locale,numberingSystem:this.numberingSystem},n),a=tn(t).map(b.normalizeUnit),i=e.valueOf()>this.valueOf(),o=i?this:e,l=i?e:this,d=ls(o,l,a,s);return i?d.negate():d}diffNow(e="milliseconds",t={}){return this.diff(k.now(),e,t)}until(e){return this.isValid?q.fromDateTimes(this,e):this}hasSame(e,t){if(!this.isValid)return!1;const n=e.valueOf(),s=this.setZone(e.zone,{keepLocalTime:!0});return s.startOf(t)<=n&&n<=s.endOf(t)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||k.fromObject({},{zone:this.zone}),n=e.padding?this<t?-e.padding:e.padding:0;let s=["years","months","days","hours","minutes","seconds"],a=e.unit;return Array.isArray(e.unit)&&(s=e.unit,a=void 0),Ir(t,this.plus(n),ae(v({},e),{numeric:"always",units:s,unit:a}))}toRelativeCalendar(e={}){return this.isValid?Ir(e.base||k.fromObject({},{zone:this.zone}),this,ae(v({},e),{numeric:"auto",units:["years","months","days"],calendary:!0})):null}static min(...e){if(!e.every(k.isDateTime))throw new h("min requires all arguments be DateTimes");return Zt(e,t=>t.valueOf(),Math.min)}static max(...e){if(!e.every(k.isDateTime))throw new h("max requires all arguments be DateTimes");return Zt(e,t=>t.valueOf(),Math.max)}static fromFormatExplain(e,t,n={}){const{locale:s=null,numberingSystem:a=null}=n,i=W.fromOpts({locale:s,numberingSystem:a,defaultToEN:!0});return lr(i,e,t)}static fromStringExplain(e,t,n={}){return k.fromFormatExplain(e,t,n)}static get DATE_SHORT(){return p}static get DATE_MED(){return T}static get DATE_MED_WITH_WEEKDAY(){return E}static get DATE_FULL(){return H}static get DATE_HUGE(){return S}static get TIME_SIMPLE(){return A}static get TIME_WITH_SECONDS(){return L}static get TIME_WITH_SHORT_OFFSET(){return $}static get TIME_WITH_LONG_OFFSET(){return F}static get TIME_24_SIMPLE(){return U}static get TIME_24_WITH_SECONDS(){return K}static get TIME_24_WITH_SHORT_OFFSET(){return I}static get TIME_24_WITH_LONG_OFFSET(){return z}static get DATETIME_SHORT(){return j}static get DATETIME_SHORT_WITH_SECONDS(){return X}static get DATETIME_MED(){return ue}static get DATETIME_MED_WITH_SECONDS(){return vt}static get DATETIME_MED_WITH_WEEKDAY(){return Zr}static get DATETIME_FULL(){return St}static get DATETIME_FULL_WITH_SECONDS(){return Mt}static get DATETIME_HUGE(){return Et}static get DATETIME_HUGE_WITH_SECONDS(){return kt}}function Ze(r){if(k.isDateTime(r))return r;if(r&&r.valueOf&&he(r.valueOf()))return k.fromJSDate(r);if(r&&typeof r=="object")return k.fromObject(r);throw new h(`Unknown datetime argument: ${r}, of type ${typeof r}`)}const xs="3.3.0";N.DateTime=k,N.Duration=b,N.FixedOffsetZone=B,N.IANAZone=oe,N.Info=Fe,N.Interval=q,N.InvalidZone=Dt,N.Settings=Y,N.SystemZone=Ne,N.VERSION=xs,N.Zone=ge}}]);
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[1571],{71571:function(so,Nn){(function(xe,T){T(Nn)})(this,function(xe){"use strict";var T=function(){return T=Object.assign||function(r){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a])}return r},T.apply(this,arguments)};function U(e,r,t,n){function i(a){return a instanceof t?a:new t(function(o){o(a)})}return new(t||(t=Promise))(function(a,o){function s(l){try{u(n.next(l))}catch(d){o(d)}}function c(l){try{u(n.throw(l))}catch(d){o(d)}}function u(l){l.done?a(l.value):i(l.value).then(s,c)}u((n=n.apply(e,r||[])).next())})}function N(e,r){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(l){return c([u,l])}}function c(u){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return t.label++,{value:u[1],done:!1};case 5:t.label++,i=u[1],u=[0];continue;case 7:u=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){t.label=u[1];break}if(u[0]===6&&t.label<a[1]){t.label=a[1],a=u;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(u);break}a[2]&&t.ops.pop(),t.trys.pop();continue}u=r.call(e,t)}catch(l){u=[6,l],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function fr(e){var r=typeof Symbol=="function"&&Symbol.iterator,t=r&&e[r],n=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function V(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var n=t.call(e),i,a=[],o;try{for(;(r===void 0||r-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(o)throw o.error}}return a}function ge(e,r,t){if(t||arguments.length===2)for(var n=0,i=r.length,a;n<i;n++)(a||!(n in r))&&(a||(a=Array.prototype.slice.call(r,0,n)),a[n]=r[n]);return e.concat(a||Array.prototype.slice.call(r))}var ze={UI_GET_DATA:"ui-get-data",UI_GET_ACTIVE_TAB_INFO:"ui-get-active-tab-info",UI_SUBSCRIBE_TO_CHANGES:"ui-subscribe-to-changes",UI_UNSUBSCRIBE_FROM_CHANGES:"ui-unsubscribe-from-changes",UI_CHANGE_SETTINGS:"ui-change-settings",UI_SET_THEME:"ui-set-theme",UI_SET_SHORTCUT:"ui-set-shortcut",UI_TOGGLE_URL:"ui-toggle-url",UI_MARK_NEWS_AS_READ:"ui-mark-news-as-read",UI_LOAD_CONFIG:"ui-load-config",UI_APPLY_DEV_DYNAMIC_THEME_FIXES:"ui-apply-dev-dynamic-theme-fixes",UI_RESET_DEV_DYNAMIC_THEME_FIXES:"ui-reset-dev-dynamic-theme-fixes",UI_APPLY_DEV_INVERSION_FIXES:"ui-apply-dev-inversion-fixes",UI_RESET_DEV_INVERSION_FIXES:"ui-reset-dev-inversion-fixes",UI_APPLY_DEV_STATIC_THEMES:"ui-apply-dev-static-themes",UI_RESET_DEV_STATIC_THEMES:"ui-reset-dev-static-themes",UI_SAVE_FILE:"ui-save-file",UI_REQUEST_EXPORT_CSS:"ui-request-export-css",BG_CHANGES:"bg-changes",BG_ADD_CSS_FILTER:"bg-add-css-filter",BG_ADD_STATIC_THEME:"bg-add-static-theme",BG_ADD_SVG_FILTER:"bg-add-svg-filter",BG_ADD_DYNAMIC_THEME:"bg-add-dynamic-theme",BG_EXPORT_CSS:"bg-export-css",BG_UNSUPPORTED_SENDER:"bg-unsupported-sender",BG_CLEAN_UP:"bg-clean-up",BG_RELOAD:"bg-reload",BG_FETCH_RESPONSE:"bg-fetch-response",BG_UI_UPDATE:"bg-ui-update",BG_CSS_UPDATE:"bg-css-update",CS_COLOR_SCHEME_CHANGE:"cs-color-scheme-change",CS_FRAME_CONNECT:"cs-frame-connect",CS_FRAME_FORGET:"cs-frame-forget",CS_FRAME_FREEZE:"cs-frame-freeze",CS_FRAME_RESUME:"cs-frame-resume",CS_EXPORT_CSS_RESPONSE:"cs-export-css-response",CS_FETCH:"cs-fetch"},te=typeof navigator=="undefined"?"some useragent":navigator.userAgent.toLowerCase(),xt=typeof navigator=="undefined"?"some platform":navigator.platform.toLowerCase(),wt=te.includes("chrome")||te.includes("chromium"),kt=te.includes("thunderbird"),dr=te.includes("firefox")||te.includes("librewolf")||kt;te.includes("vivaldi"),te.includes("yabrowser"),te.includes("opr")||te.includes("opera"),te.includes("edg");var hr=te.includes("safari")&&!wt,Bn=xt.startsWith("win"),Et=xt.startsWith("mac");te.includes("mobile");var Ct=typeof ShadowRoot=="function",_t=typeof MediaQueryList=="function"&&typeof MediaQueryList.prototype.addEventListener=="function";(function(){var e=te.match(/chrom[e|ium]\/([^ ]+)/);return e&&e[1]?e[1]:""})();var Hn=function(){try{return document.querySelector(":defined"),!0}catch(e){return!1}}();typeof globalThis!="undefined"&&globalThis.chrome&&globalThis.chrome.runtime&&globalThis.chrome.runtime.getManifest&&globalThis.chrome.runtime.getManifest().manifest_version;function Wn(e,r,t){return U(this,void 0,void 0,function(){var n;return N(this,function(i){switch(i.label){case 0:return[4,fetch(e,{cache:"force-cache",credentials:"omit",referrer:t})];case 1:if(n=i.sent(),dr&&r==="text/css"&&e.startsWith("moz-extension://")&&e.endsWith(".css"))return[2,n];if(r&&!n.headers.get("Content-Type").startsWith(r))throw new Error("Mime type mismatch when loading "+e);if(!n.ok)throw new Error("Unable to load "+e+" "+n.status+" "+n.statusText);return[2,n]}})})}function Tt(e,r){return U(this,void 0,void 0,function(){var t;return N(this,function(n){switch(n.label){case 0:return[4,Wn(e,r)];case 1:return t=n.sent(),[4,Rt(t)];case 2:return[2,n.sent()]}})})}function Rt(e){return U(this,void 0,void 0,function(){var r,t;return N(this,function(n){switch(n.label){case 0:return[4,e.blob()];case 1:return r=n.sent(),[4,new Promise(function(i){var a=new FileReader;a.onloadend=function(){return i(a.result)},a.readAsDataURL(r)})];case 2:return t=n.sent(),[2,t]}})})}var Mt=function(e){return U(void 0,void 0,void 0,function(){return N(this,function(r){return[2,Promise.reject(new Error(["Embedded Dark Reader cannot access a cross-origin resource",e,"Overview your URLs and CORS policies or use","`DarkReader.setFetchMethod(fetch: (url) => Promise<Response>))`.","See if using `DarkReader.setFetchMethod(window.fetch)`","before `DarkReader.enable()` works."].join(" ")))]})})},Br=Mt;function jn(e){e?Br=e:Br=Mt}function Gn(e){return U(this,void 0,void 0,function(){return N(this,function(r){switch(r.label){case 0:return[4,Br(e)];case 1:return[2,r.sent()]}})})}function qn(){if(typeof chrome=="undefined")return;typeof window!="undefined"&&!window.chrome&&(window.chrome={}),typeof chrome!="undefined"&&!chrome.runtime&&(chrome.runtime={});var e=new Set;function r(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];return U(this,void 0,void 0,function(){var s,c,u,l,d,p,m;return N(this,function(v){switch(v.label){case 0:if(!(a[0]&&a[0].type===ze.CS_FETCH))return[3,8];s=a[0].id,v.label=1;case 1:return v.trys.push([1,7,,8]),c=a[0].data,u=c.url,l=c.responseType,[4,Gn(u)];case 2:return d=v.sent(),l!=="data-url"?[3,4]:[4,Rt(d)];case 3:return p=v.sent(),[3,6];case 4:return[4,d.text()];case 5:p=v.sent(),v.label=6;case 6:return e.forEach(function(f){return f({type:ze.BG_FETCH_RESPONSE,data:p,error:null,id:s})}),[3,8];case 7:return m=v.sent(),console.error(m),e.forEach(function(f){return f({type:ze.BG_FETCH_RESPONSE,data:null,error:m,id:s})}),[3,8];case 8:return[2]}})})}function t(a){e.add(a)}if(typeof chrome.runtime.sendMessage=="function"){var n=chrome.runtime.sendMessage;chrome.runtime.sendMessage=function(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];r.apply(void 0,ge([],V(a),!1)),n.apply(chrome.runtime,a)}}else chrome.runtime.sendMessage=r;if(chrome.runtime.onMessage||(chrome.runtime.onMessage={}),typeof chrome.runtime.onMessage.addListener=="function"){var i=chrome.runtime.onMessage.addListener;chrome.runtime.onMessage.addListener=function(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];t(a[0]),i.apply(chrome.runtime.onMessage,a)}}else chrome.runtime.onMessage.addListener=function(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];return t(a[0])}}qn();var At={cssFilter:"cssFilter",svgFilter:"svgFilter",staticTheme:"staticTheme",dynamicTheme:"dynamicTheme"},vr={darkScheme:{background:"#181a1b",text:"#e8e6e3"},lightScheme:{background:"#dcdad7",text:"#181a1b"}},zn={mode:1,brightness:100,contrast:100,grayscale:0,sepia:0,useFont:!1,fontFamily:Et?"Helvetica Neue":Bn?"Segoe UI":"Open Sans",textStroke:0,engine:At.dynamicTheme,stylesheet:"",darkSchemeBackgroundColor:vr.darkScheme.background,darkSchemeTextColor:vr.darkScheme.text,lightSchemeBackgroundColor:vr.lightScheme.background,lightSchemeTextColor:vr.lightScheme.text,scrollbarColor:Et?"":"auto",selectionColor:"auto",styleSystemControls:!0,lightColorScheme:"Default",darkColorScheme:"Default"};function Kn(e){return e.length!=null}function ne(e,r){var t,n;if(Kn(e))for(var i=0,a=e.length;i<a;i++)r(e[i]);else try{for(var o=fr(e),s=o.next();!s.done;s=o.next()){var c=s.value;r(c)}}catch(u){t={error:u}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}}function Hr(e,r){ne(r,function(t){return e.push(t)})}function Qn(e){for(var r=[],t=0,n=e.length;t<n;t++)r.push(e[t]);return r}function j(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r]}function L(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r]}function Wr(e){var r=!1,t=null,n,i=function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];n=o,t?r=!0:(e.apply(void 0,ge([],V(n),!1)),t=requestAnimationFrame(function(){t=null,r&&(e.apply(void 0,ge([],V(n),!1)),r=!1)}))},a=function(){cancelAnimationFrame(t),r=!1,t=null};return Object.assign(i,{cancel:a})}function Yn(){var e=[],r=null;function t(){for(var a;a=e.shift();)a();r=null}function n(a){e.push(a),r||(r=requestAnimationFrame(t))}function i(){e.splice(0),cancelAnimationFrame(r),r=null}return{add:n,cancel:i}}function gr(e){var r=0;return e.seconds&&(r+=e.seconds*1e3),e.minutes&&(r+=e.minutes*60*1e3),e.hours&&(r+=e.hours*60*60*1e3),e.days&&(r+=e.days*24*60*60*1e3),r}function Q(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function jr(e,r,t){t===void 0&&(t=Function.prototype);var n=10,i=gr({seconds:2}),a=gr({seconds:10}),o=e.previousSibling,s=e.parentNode;if(!s)throw new Error("Unable to watch for node position: parent element not found");if(r==="prev-sibling"&&!o)throw new Error("Unable to watch for node position: there is no previous sibling");var c=0,u=null,l=null,d=Wr(function(){if(!l){c++;var g=Date.now();if(u==null)u=g;else if(c>=n){if(g-u<a){L("Node position watcher paused: retry in "+i+"ms",e,o),l=setTimeout(function(){u=null,c=0,l=null,d()},i);return}u=g,c=1}if(r==="parent"&&o&&o.parentNode!==s){L("Unable to restore node position: sibling parent changed",e,o,s),v();return}if(r==="prev-sibling"){if(o.parentNode==null){L("Unable to restore node position: sibling was removed",e,o,s),v();return}o.parentNode!==s&&(L("Style was moved to another parent",e,o,s),h(o.parentNode))}L("Restoring node position",e,o,s),s.insertBefore(e,o?o.nextSibling:s.firstChild),p.takeRecords(),t&&t()}}),p=new MutationObserver(function(){(r==="parent"&&e.parentNode!==s||r==="prev-sibling"&&e.previousSibling!==o)&&d()}),m=function(){p.observe(s,{childList:!0})},v=function(){clearTimeout(l),p.disconnect(),d.cancel()},f=function(){p.takeRecords()},h=function(g){s=g,v(),m()};return m(),{run:m,stop:v,skip:f}}function be(e,r){if(e!=null)for(var t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:function(i){return i.shadowRoot==null?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT}}),n=e.shadowRoot?t.currentNode:t.nextNode();n!=null;n=t.nextNode())r(n),be(n.shadowRoot,r)}function Ke(){return typeof document=="undefined"?!1:document.readyState==="complete"||document.readyState==="interactive"}var pr=new Set;function Lt(e){pr.add(e)}function Vt(e){pr.delete(e)}function Ot(){return document.readyState==="complete"}var mr=new Set;function Dt(e){mr.add(e)}function Xn(){mr.clear()}if(!Ke()){var It=function(){Ke()&&(pr.forEach(function(e){return e()}),pr.clear(),Ot()&&(document.removeEventListener("readystatechange",It),mr.forEach(function(e){return e()}),mr.clear()))};typeof document!="undefined"&&document.addEventListener("readystatechange",It)}var Pt=1e3;function Zn(e){if(e.length>Pt)return!0;for(var r=0,t=0;t<e.length;t++)if(r+=e[t].addedNodes.length,r>Pt)return!0;return!1}function Jn(e){var r=new Set,t=new Set,n=new Set;e.forEach(function(o){ne(o.addedNodes,function(s){s instanceof Element&&s.isConnected&&r.add(s)}),ne(o.removedNodes,function(s){s instanceof Element&&(s.isConnected?(n.add(s),r.delete(s)):t.add(s))})});var i=[],a=[];return r.forEach(function(o){r.has(o.parentElement)&&i.push(o)}),t.forEach(function(o){t.has(o.parentElement)&&a.push(o)}),i.forEach(function(o){return r.delete(o)}),a.forEach(function(o){return t.delete(o)}),{additions:r,moves:n,deletions:t}}var br=new Map,Gr=new WeakMap;function Ft(e,r){var t,n,i;if(br.has(e))t=br.get(e),n=Gr.get(t);else{var a=!1,o=!1;t=new MutationObserver(function(s){if(Zn(s))!a||Ke()?n.forEach(function(u){var l=u.onHugeMutations;return l(e)}):o||(i=function(){return n.forEach(function(u){var l=u.onHugeMutations;return l(e)})},Lt(i),o=!0),a=!0;else{var c=Jn(s);n.forEach(function(u){var l=u.onMinorMutations;return l(c)})}}),t.observe(e,{childList:!0,subtree:!0}),br.set(e,t),n=new Set,Gr.set(t,n)}return n.add(r),{disconnect:function(){n.delete(r),i&&Vt(i),n.size===0&&(t.disconnect(),Gr.delete(t),br.delete(e))}}}var yr,Qe=new Map;function Ut(e){return yr||(yr=document.createElement("a")),yr.href=e,yr.href}function Sr(e,r){r===void 0&&(r=null);var t=""+e+(r?";"+r:"");if(Qe.has(t))return Qe.get(t);if(r){var n=new URL(e,Ut(r));return Qe.set(t,n),n}var i=new URL(Ut(e));return Qe.set(e,i),i}function qr(e,r){if(r.match(/^data\\?\:/))return r;if(/^\/\//.test(r))return""+location.protocol+r;var t=Sr(e),n=Sr(r,t.href);return n.href}function $n(e){if(e.startsWith("data:"))return!0;var r=Sr(e);return r.protocol!==location.protocol||r.hostname!==location.hostname||r.port!==location.port?!1:r.pathname===location.pathname}function Ye(e,r,t){ne(e,function(n){if(n.selectorText)r(n);else if(n.href)try{Ye(n.styleSheet.cssRules,r,t)}catch(s){j("Found a non-loaded link."),t&&t()}else if(n.media){var i=Array.from(n.media),a=i.some(function(s){return s.startsWith("screen")||s.startsWith("all")||s.startsWith("(")}),o=i.some(function(s){return s.startsWith("print")||s.startsWith("speech")});(a||!o)&&Ye(n.cssRules,r,t)}else n.conditionText?CSS.supports(n.conditionText)&&Ye(n.cssRules,r,t):L("CSSRule type not supported",n)})}var Nt=["background","border","border-color","border-bottom","border-left","border-right","border-top","outline","outline-color"],ea=hr?Nt.map(function(e){var r=new RegExp(e+":\\s*(.*?)\\s*;");return[e,r]}):null;function Ie(e,r){ne(e,function(n){var i=e.getPropertyValue(n).trim();i&&r(n,i)});var t=e.cssText;t.includes("var(")&&(hr?ea.forEach(function(n){var i=V(n,2),a=i[0],o=i[1],s=t.match(o);if(s&&s[1]){var c=s[1].trim();r(a,c)}}):Nt.forEach(function(n){var i=e.getPropertyValue(n);i&&i.includes("var(")&&r(n,i)}))}var Bt=/url\((('.+?')|(".+?")|([^\)]*?))\)/g,Ht=/@import\s*(url\()?(('.+?')|(".+?")|([^\)]*?))\)? ?(screen)?;?/g;function zr(e){return e.replace(/^url\((.*)\)$/,"$1").trim().replace(/^"(.*)"$/,"$1").replace(/^'(.*)'$/,"$1")}function xr(e){var r=Sr(e);return""+r.origin+r.pathname.replace(/\?.*$/,"").replace(/(\/)([^\/]+)$/i,"$1")}function ra(e,r){return e.replace(Bt,function(t){var n=zr(t);try{return'url("'+qr(r,n)+'")'}catch(i){return L("Not able to replace relative URL with Absolute URL, skipping"),t}})}var ta=/\/\*[\s\S]*?\*\//g;function na(e){return e.replace(ta,"")}var aa=/@font-face\s*{[^}]*}/g;function ia(e){return e.replace(aa,"")}function Wt(e){var r=e.h,t=e.s,n=e.l,i=e.a,a=i===void 0?1:i;if(t===0){var o=V([n,n,n].map(function(g){return Math.round(g*255)}),3),s=o[0],c=o[1],u=o[2];return{r:s,g:u,b:c,a}}var l=(1-Math.abs(2*n-1))*t,d=l*(1-Math.abs(r/60%2-1)),p=n-l/2,m=V((r<60?[l,d,0]:r<120?[d,l,0]:r<180?[0,l,d]:r<240?[0,d,l]:r<300?[d,0,l]:[l,0,d]).map(function(g){return Math.round((g+p)*255)}),3),v=m[0],f=m[1],h=m[2];return{r:v,g:f,b:h,a}}function wr(e){var r=e.r,t=e.g,n=e.b,i=e.a,a=i===void 0?1:i,o=r/255,s=t/255,c=n/255,u=Math.max(o,s,c),l=Math.min(o,s,c),d=u-l,p=(u+l)/2;if(d===0)return{h:0,s:0,l:p,a};var m=(u===o?(s-c)/d%6:u===s?(c-o)/d+2:(o-s)/d+4)*60;m<0&&(m+=360);var v=d/(1-Math.abs(2*p-1));return{h:m,s:v,l:p,a}}function J(e,r){r===void 0&&(r=0);var t=e.toFixed(r);if(r===0)return t;var n=t.indexOf(".");if(n>=0){var i=t.match(/0+$/);if(i)return i.index===n+1?t.substring(0,n):t.substring(0,i.index)}return t}function oa(e){var r=e.r,t=e.g,n=e.b,i=e.a;return i!=null&&i<1?"rgba("+J(r)+", "+J(t)+", "+J(n)+", "+J(i,2)+")":"rgb("+J(r)+", "+J(t)+", "+J(n)+")"}function sa(e){var r=e.r,t=e.g,n=e.b,i=e.a;return"#"+(i!=null&&i<1?[r,t,n,Math.round(i*255)]:[r,t,n]).map(function(a){return(a<16?"0":"")+a.toString(16)}).join("")}function Xe(e){var r=e.h,t=e.s,n=e.l,i=e.a;return i!=null&&i<1?"hsla("+J(r)+", "+J(t*100)+"%, "+J(n*100)+"%, "+J(i,2)+")":"hsl("+J(r)+", "+J(t*100)+"%, "+J(n*100)+"%)"}var ua=/^rgba?\([^\(\)]+\)$/,ca=/^hsla?\([^\(\)]+\)$/,la=/^#[0-9a-f]+$/i;function Me(e){var r=e.trim().toLowerCase();if(r.match(ua))return va(r);if(r.match(ca))return ma(r);if(r.match(la))return ba(r);if(Gt.has(r))return ya(r);if(qt.has(r))return Sa(r);if(e==="transparent")return{r:0,g:0,b:0,a:0};throw new Error("Unable to parse "+e)}function fa(e){var r=[],t=0,n=!1,i=e.indexOf("(");e=e.substring(i+1,e.length-1);for(var a=0;a<e.length;a++){var o=e[a];o>="0"&&o<="9"||o==="."||o==="+"||o==="-"?n=!0:n&&(o===" "||o===",")?(r.push(e.substring(t,a)),n=!1,t=a+1):n||(t=a+1)}return n&&r.push(e.substring(t,e.length)),r}function jt(e,r,t){var n=fa(e),i=Object.entries(t),a=n.map(function(o){return o.trim()}).map(function(o,s){var c,u=i.find(function(l){var d=V(l,1),p=d[0];return o.endsWith(p)});return u?c=parseFloat(o.substring(0,o.length-u[0].length))/u[1]*r[s]:c=parseFloat(o),r[s]>1?Math.round(c):c});return a}var da=[255,255,255,1],ha={"%":100};function va(e){var r=V(jt(e,da,ha),4),t=r[0],n=r[1],i=r[2],a=r[3],o=a===void 0?1:a;return{r:t,g:n,b:i,a:o}}var ga=[360,1,1,1],pa={"%":100,deg:360,rad:2*Math.PI,turn:1};function ma(e){var r=V(jt(e,ga,pa),4),t=r[0],n=r[1],i=r[2],a=r[3],o=a===void 0?1:a;return Wt({h:t,s:n,l:i,a:o})}function ba(e){var r=e.substring(1);switch(r.length){case 3:case 4:{var t=V([0,1,2].map(function(c){return parseInt(""+r[c]+r[c],16)}),3),n=t[0],i=t[1],a=t[2],o=r.length===3?1:parseInt(""+r[3]+r[3],16)/255;return{r:n,g:i,b:a,a:o}}case 6:case 8:{var s=V([0,2,4].map(function(p){return parseInt(r.substring(p,p+2),16)}),3),n=s[0],i=s[1],a=s[2],o=r.length===6?1:parseInt(r.substring(6,8),16)/255;return{r:n,g:i,b:a,a:o}}}throw new Error("Unable to parse "+e)}function ya(e){var r=Gt.get(e);return{r:r>>16&255,g:r>>8&255,b:r>>0&255,a:1}}function Sa(e){var r=qt.get(e);return{r:r>>16&255,g:r>>8&255,b:r>>0&255,a:1}}var xa=function(e){return e>="0"&&e<="9"},wa=function(e){return Math.floor(Math.log10(e))+1};function ka(e){for(var r=0,t=function(u,l,d){e=e.substring(0,u)+d+e.substring(l)},n=function(){for(var u=0,l=1;l<4;l++){var d=e[r+l];if(d===" ")break;if(xa(d))u*=10,u+=Number(d);else break}var p=wa(u);r+=p;var m=e[r+1];if(m==="%")return r++,u};(r=e.indexOf("calc("))!==0;){var i=r;r+=4;var a=n();if(!a||e[r+1]!==" ")break;r++;var o=e[r+1];if(o!=="+"&&o!=="-"||(r++,e[r+1]!==" "))break;r++;var s=n();if(!s)break;var c=void 0;o==="+"?c=a+s+"%":c=a-s+"%",t(i,r+2,c)}return e}var Gt=new Map(Object.entries({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgrey:11119017,darkgreen:25600,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,grey:8421504,green:32768,greenyellow:11403055,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgrey:13882323,lightgreen:9498256,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074})),qt=new Map(Object.entries({ActiveBorder:3906044,ActiveCaption:0,AppWorkspace:11184810,Background:6513614,ButtonFace:16777215,ButtonHighlight:15329769,ButtonShadow:10461343,ButtonText:0,CaptionText:0,GrayText:8355711,Highlight:11720703,HighlightText:0,InactiveBorder:16777215,InactiveCaption:16777215,InactiveCaptionText:0,InfoBackground:16514245,InfoText:0,Menu:16185078,MenuText:16777215,Scrollbar:11184810,ThreeDDarkShadow:0,ThreeDFace:12632256,ThreeDHighlight:16777215,ThreeDLightShadow:16777215,ThreeDShadow:0,Window:15527148,WindowFrame:11184810,WindowText:0,"-webkit-focus-ring-color":15046400}).map(function(e){var r=V(e,2),t=r[0],n=r[1];return[t.toLowerCase(),n]}));function fe(e,r,t,n,i){return(e-r)*(i-n)/(t-r)+n}function we(e,r,t){return Math.min(t,Math.max(r,e))}function Pe(e,r){for(var t=[],n=0,i=e.length;n<i;n++){t[n]=[];for(var a=0,o=r[0].length;a<o;a++){for(var s=0,c=0,u=e[0].length;c<u;c++)s+=e[n][c]*r[c][a];t[n][a]=s}}return t}function Fe(e,r,t){t===void 0&&(t=0);for(var n=[],i;i=e.exec(r);)n.push(i[t]);return n}function Ea(e){function r(l){return l.replace(/^\s+/,"")}function t(l){return l===0?"":" ".repeat(4*l)}if(e.length<5e4)for(var n=/[^{}]+{\s*}/;n.test(e);)e=e.replace(n,"");for(var i=e.replace(/\s{2,}/g," ").replace(/\{/g,`{
|
|
2
|
-
`).replace(/\}/g,`
|
|
3
|
-
}
|
|
4
|
-
`).replace(/\;(?![^\(|\"]*(\)|\"))/g,`;
|
|
5
|
-
`).replace(/\,(?![^\(|\"]*(\)|\"))/g,`,
|
|
6
|
-
`).replace(/\n\s*\n/g,`
|
|
7
|
-
`).split(`
|
|
8
|
-
`),a=0,o=[],s=0,c=i.length;s<c;s++){var u=i[s]+`
|
|
9
|
-
`;u.includes("{")?o.push(t(a++)+r(u)):u.includes("}")?o.push(t(--a)+r(u)):o.push(t(a)+r(u))}return o.join("").trim()}function Ca(e,r){r===void 0&&(r=0);for(var t=e.length,n=0,i=-1,a=r;a<t;a++)if(n===0){var o=e.indexOf("(",a);if(o<0)break;i=o,n++,a=o}else{var s=e.indexOf(")",a);if(s<0)break;var o=e.indexOf("(",a);if(o<0||s<o){if(n--,n===0)return{start:i,end:s+1};a=s}else n++,a=o}return null}function zt(e){var r=Ue.identity();return e.sepia!==0&&(r=Pe(r,Ue.sepia(e.sepia/100))),e.grayscale!==0&&(r=Pe(r,Ue.grayscale(e.grayscale/100))),e.contrast!==100&&(r=Pe(r,Ue.contrast(e.contrast/100))),e.brightness!==100&&(r=Pe(r,Ue.brightness(e.brightness/100))),e.mode===1&&(r=Pe(r,Ue.invertNHue())),r}function _a(e,r){var t=V(e,3),n=t[0],i=t[1],a=t[2],o=[[n/255],[i/255],[a/255],[1],[1]],s=Pe(r,o);return[0,1,2].map(function(c){return we(Math.round(s[c][0]*255),0,255)})}var Ue={identity:function(){return[[1,0,0,0,0],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0],[0,0,0,0,1]]},invertNHue:function(){return[[.333,-.667,-.667,0,1],[-.667,.333,-.667,0,1],[-.667,-.667,.333,0,1],[0,0,0,1,0],[0,0,0,0,1]]},brightness:function(e){return[[e,0,0,0,0],[0,e,0,0,0],[0,0,e,0,0],[0,0,0,1,0],[0,0,0,0,1]]},contrast:function(e){var r=(1-e)/2;return[[e,0,0,0,r],[0,e,0,0,r],[0,0,e,0,r],[0,0,0,1,0],[0,0,0,0,1]]},sepia:function(e){return[[.393+.607*(1-e),.769-.769*(1-e),.189-.189*(1-e),0,0],[.349-.349*(1-e),.686+.314*(1-e),.168-.168*(1-e),0,0],[.272-.272*(1-e),.534-.534*(1-e),.131+.869*(1-e),0,0],[0,0,0,1,0],[0,0,0,0,1]]},grayscale:function(e){return[[.2126+.7874*(1-e),.7152-.7152*(1-e),.0722-.0722*(1-e),0,0],[.2126-.2126*(1-e),.7152+.2848*(1-e),.0722-.0722*(1-e),0,0],[.2126-.2126*(1-e),.7152-.7152*(1-e),.0722+.9278*(1-e),0,0],[0,0,0,1,0],[0,0,0,0,1]]}};function Kr(e){var r=e.mode===1,t=r?"darkSchemeBackgroundColor":"lightSchemeBackgroundColor";return e[t]}function Qr(e){var r=e.mode===1,t=r?"darkSchemeTextColor":"lightSchemeTextColor";return e[t]}var kr=new Map,Er=new Map;function Kt(e){if(Er.has(e))return Er.get(e);var r=Me(e),t=wr(r);return Er.set(e,t),t}function Ta(){kr.clear(),Er.clear()}var Ra=["r","g","b","a"],Ma=["mode","brightness","contrast","grayscale","sepia","darkSchemeBackgroundColor","darkSchemeTextColor","lightSchemeBackgroundColor","lightSchemeTextColor"];function Aa(e,r){var t="";return Ra.forEach(function(n){t+=e[n]+";"}),Ma.forEach(function(n){t+=r[n]+";"}),t}function Ze(e,r,t,n,i){var a;kr.has(t)?a=kr.get(t):(a=new Map,kr.set(t,a));var o=Aa(e,r);if(a.has(o))return a.get(o);var s=wr(e),c=n==null?null:Kt(n),u=i==null?null:Kt(i),l=t(s,c,u),d=Wt(l),p=d.r,m=d.g,v=d.b,f=d.a,h=zt(r),g=V(_a([p,m,v],h),3),b=g[0],y=g[1],w=g[2],k=f===1?sa({r:b,g:y,b:w}):oa({r:b,g:y,b:w,a:f});return a.set(o,k),k}function La(e){return e}function Va(e,r){return Ze(e,r,La)}function Yr(e,r){var t=Kr(r),n=Qr(r);return Ze(e,r,Oa,n,t)}function Oa(e,r,t){var n=e.h,i=e.s,a=e.l,o=e.a,s=a<.5,c;if(s)c=a<.2||i<.12;else{var u=n>200&&n<280;c=i<.24||a>.8&&u}var l=n,d=a;c&&(s?(l=r.h,d=r.s):(l=t.h,d=t.s));var p=fe(a,0,1,r.l,t.l);return{h:l,s:d,l:p,a:o}}var Qt=.4;function Da(e,r){var t=e.h,n=e.s,i=e.l,a=e.a,o=i<.5,s=t>200&&t<280,c=n<.12||i>.8&&s;if(o){var u=fe(i,0,.5,0,Qt);if(c){var l=r.h,d=r.s;return{h:l,s:d,l:u,a}}return{h:t,s:n,l:u,a}}var p=fe(i,.5,1,Qt,r.l);if(c){var m=r.h,d=r.s;return{h:m,s:d,l:p,a}}var v=t,f=t>60&&t<180;if(f){var h=t>120;h?v=fe(t,120,180,135,180):v=fe(t,60,120,60,105)}return{h:v,s:n,l:p,a}}function z(e,r){if(r.mode===0)return Yr(e,r);var t=Kr(r);return Ze(e,T(T({},r),{mode:0}),Da,t)}var Cr=.55;function Yt(e){return fe(e,205,245,205,220)}function Ia(e,r){var t=e.h,n=e.s,i=e.l,a=e.a,o=i>.5,s=i<.2||n<.24,c=!s&&t>205&&t<245;if(o){var u=fe(i,.5,1,Cr,r.l);if(s){var l=r.h,d=r.s;return{h:l,s:d,l:u,a}}var p=t;return c&&(p=Yt(t)),{h:p,s:n,l:u,a}}if(s){var m=r.h,d=r.s,v=fe(i,0,.5,r.l,Cr);return{h:m,s:d,l:v,a}}var f=t,h;return c?(f=Yt(t),h=fe(i,0,.5,r.l,Math.min(1,Cr+.05))):h=fe(i,0,.5,r.l,Cr),{h:f,s:n,l:h,a}}function pe(e,r){if(r.mode===0)return Yr(e,r);var t=Qr(r);return Ze(e,T(T({},r),{mode:0}),Ia,t)}function Pa(e,r,t){var n=e.h,i=e.s,a=e.l,o=e.a,s=a<.5,c=a<.2||i<.24,u=n,l=i;c&&(s?(u=r.h,l=r.s):(u=t.h,l=t.s));var d=fe(a,0,1,.5,.2);return{h:u,s:l,l:d,a:o}}function Je(e,r){if(r.mode===0)return Yr(e,r);var t=Qr(r),n=Kr(r);return Ze(e,T(T({},r),{mode:0}),Pa,t,n)}function Fa(e,r){return z(e,r)}function Xr(e,r){return z(e,r)}function Ua(e){var r=[];return r.push('*:not(pre, pre *, code, .far, .fa, .glyphicon, [class*="vjs-"], .fab, .fa-github, .fas, .material-icons, .icofont, .typcn, mu, [class*="mu-"], .glyphicon, .icon) {'),e.useFont&&e.fontFamily&&r.push(" font-family: "+e.fontFamily+" !important;"),e.textStroke>0&&(r.push(" -webkit-text-stroke: "+e.textStroke+"px !important;"),r.push(" text-stroke: "+e.textStroke+"px !important;")),r.push("}"),r.join(`
|
|
10
|
-
`)}var Zr;(function(e){e[e.light=0]="light",e[e.dark=1]="dark"})(Zr||(Zr={}));function Xt(e){var r=[];return e.mode===Zr.dark&&r.push("invert(100%) hue-rotate(180deg)"),e.brightness!==100&&r.push("brightness("+e.brightness+"%)"),e.contrast!==100&&r.push("contrast("+e.contrast+"%)"),e.grayscale!==0&&r.push("grayscale("+e.grayscale+"%)"),e.sepia!==0&&r.push("sepia("+e.sepia+"%)"),r.length===0?null:r.join(" ")}function Na(e){return e.slice(0,4).map(function(r){return r.map(function(t){return t.toFixed(3)}).join(" ")}).join(" ")}function Ba(e){return Na(zt(e))}var Ha=0,Jr=new Map,$r=new Map;function Zt(e){return U(this,void 0,void 0,function(){return N(this,function(r){return[2,new Promise(function(t,n){var i=++Ha;Jr.set(i,t),$r.set(i,n),typeof chrome!="undefined"&&chrome.runtime.sendMessage({type:ze.CS_FETCH,data:e,id:i})})]})})}typeof chrome!="undefined"&&chrome.runtime.onMessage.addListener(function(e){var r=e.type,t=e.data,n=e.error,i=e.id;if(r===ze.BG_FETCH_RESPONSE){var a=Jr.get(i),o=$r.get(i);Jr.delete(i),$r.delete(i),n?o&&o(n):a&&a(t)}});var Wa=function(){function e(){this.queue=[],this.timerId=null,this.frameDuration=1e3/60}return e.prototype.addToQueue=function(r){this.queue.push(r),this.startQueue()},e.prototype.stopQueue=function(){this.timerId!==null&&(cancelAnimationFrame(this.timerId),this.timerId=null),this.queue=[]},e.prototype.startQueue=function(){var r=this;this.timerId||(this.timerId=requestAnimationFrame(function(){r.timerId=null;for(var t=Date.now(),n;n=r.queue.shift();)if(n(),Date.now()-t>=r.frameDuration){r.startQueue();break}}))},e}(),et=new Wa;function ja(e){return U(this,void 0,void 0,function(){var r=this;return N(this,function(t){return[2,new Promise(function(n,i){return U(r,void 0,void 0,function(){var a,o,s,c;return N(this,function(u){switch(u.label){case 0:return e.startsWith("data:")?(a=e,[3,4]):[3,1];case 1:return u.trys.push([1,3,,4]),[4,Ga(e)];case 2:return a=u.sent(),[3,4];case 3:return o=u.sent(),i(o),[2];case 4:return u.trys.push([4,6,,7]),[4,qa(a)];case 5:return s=u.sent(),et.addToQueue(function(){n(T({src:e,dataURL:a,width:s.naturalWidth,height:s.naturalHeight},Ya(s)))}),[3,7];case 6:return c=u.sent(),i(c),[3,7];case 7:return[2]}})})})]})})}function Ga(e){return U(this,void 0,void 0,function(){var r;return N(this,function(t){switch(t.label){case 0:return r=new URL(e),r.origin!==location.origin?[3,2]:[4,Tt(e)];case 1:return[2,t.sent()];case 2:return[4,Zt({url:e,responseType:"data-url"})];case 3:return[2,t.sent()]}})})}function qa(e){return U(this,void 0,void 0,function(){return N(this,function(r){return[2,new Promise(function(t,n){var i=new Image;i.onload=function(){return t(i)},i.onerror=function(){return n("Unable to load image "+e)},i.src=e})]})})}var rt=32*32,Ne,Be;function za(){var e=rt,r=rt;Ne=document.createElement("canvas"),Ne.width=e,Ne.height=r,Be=Ne.getContext("2d"),Be.imageSmoothingEnabled=!1}function Ka(){Ne=null,Be=null}var Qa=5*1024*1024;function Ya(e){Ne||za();var r=e.naturalWidth,t=e.naturalHeight;if(t===0||r===0)return L("logWarn(Image is empty "+e.currentSrc+")"),null;var n=r*t*4;if(n>Qa)return j("Skipped large image analyzing(Larger than 5mb in memory)"),{isDark:!1,isLight:!1,isTransparent:!1,isLarge:!1,isTooLarge:!0};var i=r*t,a=Math.min(1,Math.sqrt(rt/i)),o=Math.ceil(r*a),s=Math.ceil(t*a);Be.clearRect(0,0,o,s),Be.drawImage(e,0,0,r,t,0,0,o,s);var c=Be.getImageData(0,0,o,s),u=c.data,l=.05,d=.4,p=.7,m=0,v=0,f=0,h,g,b,y,w,k,x,_;for(b=0;b<s;b++)for(g=0;g<o;g++)h=4*(b*o+g),y=u[h+0]/255,w=u[h+1]/255,k=u[h+2]/255,x=u[h+3]/255,x<l?m++:(_=.2126*y+.7152*w+.0722*k,_<d&&v++,_>p&&f++);var P=o*s,F=P-m,Y=.7,Oe=.7,_e=.1,cr=800*600;return{isDark:v/F>=Y,isLight:f/F>=Oe,isTransparent:m/P>=_e,isLarge:i>=cr,isTooLarge:!1}}function tt(e,r){var t=e.dataURL,n=e.width,i=e.height,a=Ba(r),o=['<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="'+n+'" height="'+i+'">',"<defs>",'<filter id="darkreader-image-filter">','<feColorMatrix type="matrix" values="'+a+'" />',"</filter>","</defs>",'<image width="'+n+'" height="'+i+'" filter="url(#darkreader-image-filter)" xlink:href="'+t+'" />',"</svg>"].join("");return"data:image/svg+xml;base64,"+btoa(o)}function Xa(){et&&et.stopQueue(),Ka()}function $e(e,r){return!!(e&&e.getPropertyPriority(r))}function Jt(e,r,t,n,i,a){if(e.startsWith("--")){var o=ii(n,e,r,t,i,a);if(o)return{property:e,value:o,important:$e(t.style,e),sourceValue:r}}else if(r.includes("var(")){var o=oi(n,e,r);if(o)return{property:e,value:o,important:$e(t.style,e),sourceValue:r}}else if(e.includes("color")&&e!=="-webkit-print-color-adjust"||e==="fill"||e==="stroke"||e==="stop-color"){var o=ri(e,r);if(o)return{property:e,value:o,important:$e(t.style,e),sourceValue:r}}else if(e==="background-image"||e==="list-style-image"){var o=rn(r,t,i,a);if(o)return{property:e,value:o,important:$e(t.style,e),sourceValue:r}}else if(e.includes("shadow")){var o=ai(r);if(o)return{property:e,value:o,important:$e(t.style,e),sourceValue:r}}return null}function Za(e,r,t){var n=[];return r||(n.push("html {"),n.push(" background-color: "+z({r:255,g:255,b:255},e)+" !important;"),n.push("}")),n.push((r?"":"html, body, ")+(t?"input, textarea, select, button":"")+" {"),n.push(" background-color: "+z({r:255,g:255,b:255},e)+";"),n.push("}"),n.push("html, body, "+(t?"input, textarea, select, button":"")+" {"),n.push(" border-color: "+Je({r:76,g:76,b:76},e)+";"),n.push(" color: "+pe({r:0,g:0,b:0},e)+";"),n.push("}"),n.push("a {"),n.push(" color: "+pe({r:0,g:64,b:255},e)+";"),n.push("}"),n.push("table {"),n.push(" border-color: "+Je({r:128,g:128,b:128},e)+";"),n.push("}"),n.push("::placeholder {"),n.push(" color: "+pe({r:169,g:169,b:169},e)+";"),n.push("}"),n.push("input:-webkit-autofill,"),n.push("textarea:-webkit-autofill,"),n.push("select:-webkit-autofill {"),n.push(" background-color: "+z({r:250,g:255,b:189},e)+" !important;"),n.push(" color: "+pe({r:0,g:0,b:0},e)+" !important;"),n.push("}"),e.scrollbarColor&&n.push($a(e)),e.selectionColor&&n.push(Ja(e)),n.join(`
|
|
11
|
-
`)}function $t(e){var r,t;if(e.selectionColor==="auto")r=z({r:0,g:96,b:212},T(T({},e),{grayscale:0})),t=pe({r:255,g:255,b:255},T(T({},e),{grayscale:0}));else{var n=Me(e.selectionColor),i=wr(n);r=e.selectionColor,i.l<.5?t="#FFF":t="#000"}return{backgroundColorSelection:r,foregroundColorSelection:t}}function Ja(e){var r=[],t=$t(e),n=t.backgroundColorSelection,i=t.foregroundColorSelection;return["::selection","::-moz-selection"].forEach(function(a){r.push(a+" {"),r.push(" background-color: "+n+" !important;"),r.push(" color: "+i+" !important;"),r.push("}")}),r.join(`
|
|
12
|
-
`)}function $a(e){var r=[],t,n,i,a,o,s;if(e.scrollbarColor==="auto")t=z({r:241,g:241,b:241},e),n=pe({r:96,g:96,b:96},e),i=z({r:176,g:176,b:176},e),a=z({r:144,g:144,b:144},e),o=z({r:96,g:96,b:96},e),s=z({r:255,g:255,b:255},e);else{var c=Me(e.scrollbarColor),u=wr(c),l=u.l>.5,d=function(m){return T(T({},u),{l:we(u.l+m,0,1)})},p=function(m){return T(T({},u),{l:we(u.l-m,0,1)})};t=Xe(p(.4)),n=Xe(l?p(.4):d(.4)),i=Xe(u),a=Xe(d(.1)),o=Xe(d(.2))}return r.push("::-webkit-scrollbar {"),r.push(" background-color: "+t+";"),r.push(" color: "+n+";"),r.push("}"),r.push("::-webkit-scrollbar-thumb {"),r.push(" background-color: "+i+";"),r.push("}"),r.push("::-webkit-scrollbar-thumb:hover {"),r.push(" background-color: "+a+";"),r.push("}"),r.push("::-webkit-scrollbar-thumb:active {"),r.push(" background-color: "+o+";"),r.push("}"),r.push("::-webkit-scrollbar-corner {"),r.push(" background-color: "+s+";"),r.push("}"),dr&&(r.push("* {"),r.push(" scrollbar-color: "+i+" "+t+";"),r.push("}")),r.join(`
|
|
13
|
-
`)}function nt(e,r){var t=r.strict,n=[],i=location.hostname.endsWith("microsoft.com");return n.push("html, body, "+(t?"body :not(iframe)"+(i?':not(div[style^="position:absolute;top:0;left:-"]':""):"body > :not(iframe)")+" {"),n.push(" background-color: "+z({r:255,g:255,b:255},e)+" !important;"),n.push(" border-color: "+Je({r:64,g:64,b:64},e)+" !important;"),n.push(" color: "+pe({r:0,g:0,b:0},e)+" !important;"),n.push("}"),n.join(`
|
|
14
|
-
`)}var ei=new Set(["inherit","transparent","initial","currentcolor","none","unset"]),_r=new Map;function en(e){if(e=e.trim(),_r.has(e))return _r.get(e);e.includes("calc(")&&(e=ka(e));var r=Me(e);return _r.set(e,r),r}function ke(e){try{return en(e)}catch(r){return null}}function ri(e,r){if(ei.has(r.toLowerCase()))return r;try{var t=en(r);return e.includes("background")?function(n){return z(t,n)}:e.includes("border")||e.includes("outline")?function(n){return Je(t,n)}:function(n){return pe(t,n)}}catch(n){return L("Color parse error",n),null}}var ti=/[\-a-z]+gradient\(([^\(\)]*(\(([^\(\)]*(\(.*?\)))*[^\(\)]*\))){0,15}[^\(\)]*\)/g,Tr=new Map,ye=new Map;function ni(e,r){if(!e||r.length===0)return!1;if(r.some(function(o){return o==="*"}))return!0;for(var t=e.split(/,\s*/g),n=function(o){var s=r[o];if(t.some(function(c){return c===s}))return{value:!0}},i=0;i<r.length;i++){var a=n(i);if(typeof a=="object")return a.value}return!1}function rn(e,r,t,n){var i=this;try{var a=Fe(ti,e),o=Fe(Bt,e);if(o.length===0&&a.length===0)return e;var s=function(v){var f=0;return v.map(function(h){var g=e.indexOf(h,f);return f=g+h.length,{match:h,index:g}})},c=s(o).map(function(v){return T({type:"url"},v)}).concat(s(a).map(function(v){return T({type:"gradient"},v)})).sort(function(v,f){return v.index-f.index}),u=function(v){var f=v.match(/^(.*-gradient)\((.*)\)$/),h=f[1],g=f[2],b=/([^\(\),]+(\([^\(\)]*(\([^\(\)]*\)*[^\(\)]*)?\))?[^\(\),]*),?/g,y=/^(from|color-stop|to)\(([^\(\)]*?,\s*)?(.*?)\)$/,w=Fe(b,g,1).map(function(k){k=k.trim();var x=ke(k);if(x)return function(F){return Xr(x,F)};var _=k.lastIndexOf(" ");if(x=ke(k.substring(0,_)),x)return function(F){return Xr(x,F)+" "+k.substring(_+1)};var P=k.match(y);return P&&(x=ke(P[3]),x)?function(F){return P[1]+"("+(P[2]?P[2]+", ":"")+Xr(x,F)+")"}:function(){return k}});return function(k){return h+"("+w.map(function(x){return x(k)}).join(", ")+")"}},l=function(v){var f;if(ni(r.selectorText,t))return null;var h=zr(v),g=r.parentStyleSheet,b=g&&g.href?xr(g.href):((f=g.ownerNode)===null||f===void 0?void 0:f.baseURI)||location.origin;h=qr(b,h);var y='url("'+h+'")';return function(w){return U(i,void 0,void 0,function(){var k,x,_,P;return N(this,function(F){switch(F.label){case 0:return Tr.has(h)?(k=Tr.get(h),[3,7]):[3,1];case 1:return F.trys.push([1,6,,7]),ye.has(h)?(x=ye.get(h),[4,new Promise(function(Y){return x.push(Y)})]):[3,3];case 2:return k=F.sent(),k?[3,5]:[2,null];case 3:return ye.set(h,[]),[4,ja(h)];case 4:k=F.sent(),Tr.set(h,k),ye.get(h).forEach(function(Y){return Y(k)}),ye.delete(h),F.label=5;case 5:return n()?[2,null]:[3,7];case 6:return _=F.sent(),L(_),ye.has(h)&&(ye.get(h).forEach(function(Y){return Y(null)}),ye.delete(h)),[2,y];case 7:return P=d(k,w)||y,[2,P]}})})}},d=function(v,f){var h=v.isDark,g=v.isLight,b=v.isTransparent,y=v.isLarge,w=v.isTooLarge,k=v.width,x;if(w)x='url("'+v.src+'")';else if(h&&b&&f.mode===1&&!y&&k>2){j("Inverting dark image "+v.src);var _=tt(v,T(T({},f),{sepia:we(f.sepia+10,0,100)}));x='url("'+_+'")'}else if(g&&!b&&f.mode===1)if(y)x="none";else{j("Dimming light image "+v.src);var P=tt(v,f);x='url("'+P+'")'}else if(f.mode===0&&g&&!y){j("Applying filter to image "+v.src);var F=tt(v,T(T({},f),{brightness:we(f.brightness-10,5,200),sepia:we(f.sepia+10,0,100)}));x='url("'+F+'")'}else x=null;return x},p=[],m=0;return c.forEach(function(v,f){var h=v.match,g=v.type,b=v.index,y=m,w=b+h.length;m=w,p.push(function(){return e.substring(y,b)}),p.push(g==="url"?l(h):u(h)),f===c.length-1&&p.push(function(){return e.substring(w)})}),function(v){var f=p.filter(Boolean).map(function(h){return h(v)});return f.some(function(h){return h instanceof Promise})?Promise.all(f).then(function(h){return h.join("")}):f.join("")}}catch(v){return L("Unable to parse gradient "+e,v),null}}function tn(e){try{var r=0,t=Fe(/(^|\s)(?!calc)([a-z]+\(.+?\)|#[0-9a-f]+|[a-z]+)(.*?(inset|outset)?($|,))/ig,e,2),n=0,i=t.map(function(a,o){var s=r,c=e.indexOf(a,r),u=c+a.length;r=u;var l=ke(a);return l?function(d){return""+e.substring(s,c)+Fa(l,d)+(o===t.length-1?e.substring(u):"")}:(n++,function(){return e.substring(s,u)})});return function(a){var o=i.map(function(s){return s(a)}).join("");return{matchesLength:t.length,unparseableMatchesLength:n,result:o}}}catch(a){return L("Unable to parse shadow "+e,a),null}}function ai(e){var r=tn(e);return r?function(t){return r(t).result}:null}function ii(e,r,t,n,i,a){return e.getModifierForVariable({varName:r,sourceValue:t,rule:n,ignoredImgSelectors:i,isCancelled:a})}function oi(e,r,t){return e.getModifierForVarDependant(r,t)}function si(){_r.clear(),Ta(),Tr.clear(),Xa(),ye.clear()}var de=1,He=2,We=4,er=8,ui=function(){function e(){this.varTypes=new Map,this.rulesQueue=[],this.definedVars=new Set,this.varRefs=new Map,this.unknownColorVars=new Set,this.unknownBgVars=new Set,this.undefinedVars=new Set,this.initialVarTypes=new Map,this.changedTypeVars=new Set,this.typeChangeSubscriptions=new Map,this.unstableVarValues=new Map}return e.prototype.clear=function(){this.varTypes.clear(),this.rulesQueue.splice(0),this.definedVars.clear(),this.varRefs.clear(),this.unknownColorVars.clear(),this.unknownBgVars.clear(),this.undefinedVars.clear(),this.initialVarTypes.clear(),this.changedTypeVars.clear(),this.typeChangeSubscriptions.clear(),this.unstableVarValues.clear()},e.prototype.isVarType=function(r,t){return this.varTypes.has(r)&&(this.varTypes.get(r)&t)>0},e.prototype.addRulesForMatching=function(r){this.rulesQueue.push(r)},e.prototype.matchVariablesAndDependants=function(){var r=this;this.changedTypeVars.clear(),this.initialVarTypes=new Map(this.varTypes),this.collectRootVariables(),this.collectVariablesAndVarDep(this.rulesQueue),this.rulesQueue.splice(0),this.collectRootVarDependants(),this.varRefs.forEach(function(t,n){t.forEach(function(i){r.varTypes.has(n)&&r.resolveVariableType(i,r.varTypes.get(n))})}),this.unknownColorVars.forEach(function(t){r.unknownBgVars.has(t)?(r.unknownColorVars.delete(t),r.unknownBgVars.delete(t),r.resolveVariableType(t,de)):r.isVarType(t,de|He|We)?r.unknownColorVars.delete(t):r.undefinedVars.add(t)}),this.unknownBgVars.forEach(function(t){var n=r.findVarRef(t,function(i){return r.unknownColorVars.has(i)||r.isVarType(i,He|We)})!=null;n?r.itarateVarRefs(t,function(i){r.resolveVariableType(i,de)}):r.isVarType(t,de|er)?r.unknownBgVars.delete(t):r.undefinedVars.add(t)}),this.changedTypeVars.forEach(function(t){r.typeChangeSubscriptions.has(t)&&r.typeChangeSubscriptions.get(t).forEach(function(n){n()})}),this.changedTypeVars.clear()},e.prototype.getModifierForVariable=function(r){var t=this;return function(n){var i=r.varName,a=r.sourceValue,o=r.rule,s=r.ignoredImgSelectors,c=r.isCancelled,u=function(){var m=[],v=function(b,y,w){if(t.isVarType(i,b)){var k=y(i),x;if(Ae(a))if(sn(a)){var _=st(a,t.unstableVarValues);_||(_=b===de?"#ffffff":"#000000"),x=w(_,n)}else x=Ee(a,function(P){return y(P)},function(P){return w(P,n)});else x=w(a,n);m.push({property:k,value:x})}};if(v(de,rr,je),v(He,at,Mr),v(We,it,Ar),t.isVarType(i,er)){var f=on(i),h=a;Ae(a)&&(h=Ee(a,function(b){return rr(b)},function(b){return je(b,n)}));var g=rn(h,o,s,c);h=typeof g=="function"?g(n):g,m.push({property:f,value:h})}return m},l=new Set,d=function(m){var v=function(){var f=u();m(f)};l.add(v),t.subscribeForVarTypeChange(i,v)},p=function(){l.forEach(function(m){t.unsubscribeFromVariableTypeChanges(i,m)})};return{declarations:u(),onTypeChange:{addListener:d,removeListeners:p}}}},e.prototype.getModifierForVarDependant=function(r,t){var n=this;if(t.match(/^\s*(rgb|hsl)a?\(/)){var i=r.startsWith("background"),a=r==="color"||r==="caret-color";return function(o){var s=st(t,n.unstableVarValues);s||(s=i?"#ffffff":"#000000");var c=i?je:a?Mr:Ar;return c(s,o)}}return r==="background-color"?function(o){return Ee(t,function(s){return rr(s)},function(s){return je(s,o)})}:r==="color"||r==="caret-color"?function(o){return Ee(t,function(s){return at(s)},function(s){return Mr(s,o)})}:r==="background"||r==="background-image"||r==="box-shadow"?function(o){var s=new Set,c=function(){var l=Ee(t,function(m){return n.isVarType(m,de)?rr(m):n.isVarType(m,er)?on(m):(s.add(m),m)},function(m){return je(m,o)});if(r==="box-shadow"){var d=tn(l),p=d(o);if(p.unparseableMatchesLength!==p.matchesLength)return p.result}return l},u=c();return s.size>0?new Promise(function(l){var d=s.values().next().value,p=function(){n.unsubscribeFromVariableTypeChanges(d,p);var m=c();l(m)};n.subscribeForVarTypeChange(d,p)}):u}:r.startsWith("border")||r.startsWith("outline")?function(o){return Ee(t,function(s){return it(s)},function(s){return Ar(s,o)})}:null},e.prototype.subscribeForVarTypeChange=function(r,t){this.typeChangeSubscriptions.has(r)||this.typeChangeSubscriptions.set(r,new Set);var n=this.typeChangeSubscriptions.get(r);n.has(t)||n.add(t)},e.prototype.unsubscribeFromVariableTypeChanges=function(r,t){this.typeChangeSubscriptions.has(r)&&this.typeChangeSubscriptions.get(r).delete(t)},e.prototype.collectVariablesAndVarDep=function(r){var t=this;r.forEach(function(n){Ye(n,function(i){i.style&&Ie(i.style,function(a,o){Rr(a)&&t.inspectVariable(a,o),Ae(o)&&t.inspectVarDependant(a,o)})})})},e.prototype.collectRootVariables=function(){var r=this;Ie(document.documentElement.style,function(t,n){Rr(t)&&r.inspectVariable(t,n)})},e.prototype.inspectVariable=function(r,t){if(this.unstableVarValues.set(r,t),Ae(t)&&sn(t)&&(this.unknownColorVars.add(r),this.definedVars.add(r)),!this.definedVars.has(r)){this.definedVars.add(r);var n=ke(t);n?this.unknownColorVars.add(r):(t.includes("url(")||t.includes("linear-gradient(")||t.includes("radial-gradient("))&&this.resolveVariableType(r,er)}},e.prototype.resolveVariableType=function(r,t){var n=this.initialVarTypes.get(r)||0,i=this.varTypes.get(r)||0,a=i|t;this.varTypes.set(r,a),(a!==n||this.undefinedVars.has(r))&&(this.changedTypeVars.add(r),this.undefinedVars.delete(r)),this.unknownColorVars.delete(r),this.unknownBgVars.delete(r)},e.prototype.collectRootVarDependants=function(){var r=this;Ie(document.documentElement.style,function(t,n){Ae(n)&&r.inspectVarDependant(t,n)})},e.prototype.inspectVarDependant=function(r,t){var n=this;Rr(r)?this.iterateVarDeps(t,function(i){n.varRefs.has(r)||n.varRefs.set(r,new Set),n.varRefs.get(r).add(i)}):r==="background-color"||r==="box-shadow"?this.iterateVarDeps(t,function(i){return n.resolveVariableType(i,de)}):r==="color"||r==="caret-color"?this.iterateVarDeps(t,function(i){return n.resolveVariableType(i,He)}):r.startsWith("border")||r.startsWith("outline")?this.iterateVarDeps(t,function(i){return n.resolveVariableType(i,We)}):(r==="background"||r==="background-image")&&this.iterateVarDeps(t,function(i){if(!n.isVarType(i,de|er)){var a=n.findVarRef(i,function(o){return n.unknownColorVars.has(o)||n.isVarType(o,He|We)})!=null;n.itarateVarRefs(i,function(o){a?n.resolveVariableType(o,de):n.unknownBgVars.add(o)})}})},e.prototype.iterateVarDeps=function(r,t){var n=new Set;fi(r,function(i){return n.add(i)}),n.forEach(function(i){return t(i)})},e.prototype.findVarRef=function(r,t,n){var i,a;if(n===void 0&&(n=new Set),n.has(r))return null;n.add(r);var o=t(r);if(o)return r;var s=this.varRefs.get(r);if(!s||s.size===0)return null;try{for(var c=fr(s),u=c.next();!u.done;u=c.next()){var l=u.value,d=this.findVarRef(l,t,n);if(d)return d}}catch(p){i={error:p}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}return null},e.prototype.itarateVarRefs=function(r,t){this.findVarRef(r,function(n){return t(n),!1})},e.prototype.setOnRootVariableChange=function(r){this.onRootVariableDefined=r},e.prototype.putRootVars=function(r,t){var n,i,a=this,o=r.sheet;o.cssRules.length>0&&o.deleteRule(0);var s=new Map;Ie(document.documentElement.style,function(f,h){Rr(f)&&(a.isVarType(f,de)&&s.set(rr(f),je(h,t)),a.isVarType(f,He)&&s.set(at(f),Mr(h,t)),a.isVarType(f,We)&&s.set(it(f),Ar(h,t)),a.subscribeForVarTypeChange(f,a.onRootVariableDefined))});var c=[];c.push(":root {");try{for(var u=fr(s),l=u.next();!l.done;l=u.next()){var d=V(l.value,2),p=d[0],m=d[1];c.push(" "+p+": "+m+";")}}catch(f){n={error:f}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}c.push("}");var v=c.join(`
|
|
15
|
-
`);o.insertRule(v)},e}(),$=new ui;function ci(e,r){r===void 0&&(r=0);var t=e.indexOf("var(",r);if(t>=0){var n=Ca(e,t+3);return n?{start:t,end:n.end}:null}}function li(e){for(var r=[],t=0,n;n=ci(e,t);){var i=n.start,a=n.end;r.push({start:i,end:a,value:e.substring(i,a)}),t=n.end+1}return r}function nn(e,r){var t=li(e),n=t.length;if(n===0)return e;var i=e.length,a=t.map(function(l){return r(l.value)}),o=[];o.push(e.substring(0,t[0].start));for(var s=0;s<n;s++){o.push(a[s]);var c=t[s].end,u=s<n-1?t[s+1].start:i;o.push(e.substring(c,u))}return o.join("")}function an(e){var r=e.indexOf(","),t,n;return r>=0?(t=e.substring(4,r).trim(),n=e.substring(r+1,e.length-1).trim()):(t=e.substring(4,e.length-1).trim(),n=""),{name:t,fallback:n}}function Ee(e,r,t){var n=function(i){var a=an(i),o=a.name,s=a.fallback,c=r(o);if(!s)return"var("+c+")";var u;return Ae(s)?u=Ee(s,r,t):t?u=t(s):u=s,"var("+c+", "+u+")"};return nn(e,n)}function fi(e,r){Ee(e,function(t){return r(t),t})}function rr(e){return"--darkreader-bg"+e}function at(e){return"--darkreader-text"+e}function it(e){return"--darkreader-border"+e}function on(e){return"--darkreader-bgimg"+e}function Rr(e){return e.startsWith("--")}function Ae(e){return e.includes("var(")}function sn(e){return e.match(/^\s*(rgb|hsl)a?\(/)}var di=/^\d{1,3}, ?\d{1,3}, ?\d{1,3}$/;function hi(e){if(di.test(e)){var r=e.split(","),t="rgb(";return r.forEach(function(n){t+=n.trim()+", "}),t=t.substr(0,t.length-2),t+=")",{isRaw:!0,color:t}}return{isRaw:!1,color:e}}function ot(e,r,t){var n=hi(e),i=n.isRaw,a=n.color,o=ke(a);if(o){var s=t(o,r);if(i){var c=ke(s);return c?c.r+", "+c.g+", "+c.b:s}return s}return a}function je(e,r){return ot(e,r,z)}function Mr(e,r){return ot(e,r,pe)}function Ar(e,r){return ot(e,r,Je)}function st(e,r,t){t===void 0&&(t=new Set);var n=!1,i=function(o){var s=an(o),c=s.name,u=s.fallback;if(t.has(c))return n=!0,null;t.add(c);var l=r.get(c)||u,d=null;return l&&(Ae(l)?d=st(l,r,t):d=l),d||(n=!0,null)},a=nn(e,i);return n?null:a}var Ge={"background-color":{customProp:"--darkreader-inline-bgcolor",cssProp:"background-color",dataAttr:"data-darkreader-inline-bgcolor"},"background-image":{customProp:"--darkreader-inline-bgimage",cssProp:"background-image",dataAttr:"data-darkreader-inline-bgimage"},"border-color":{customProp:"--darkreader-inline-border",cssProp:"border-color",dataAttr:"data-darkreader-inline-border"},"border-bottom-color":{customProp:"--darkreader-inline-border-bottom",cssProp:"border-bottom-color",dataAttr:"data-darkreader-inline-border-bottom"},"border-left-color":{customProp:"--darkreader-inline-border-left",cssProp:"border-left-color",dataAttr:"data-darkreader-inline-border-left"},"border-right-color":{customProp:"--darkreader-inline-border-right",cssProp:"border-right-color",dataAttr:"data-darkreader-inline-border-right"},"border-top-color":{customProp:"--darkreader-inline-border-top",cssProp:"border-top-color",dataAttr:"data-darkreader-inline-border-top"},"box-shadow":{customProp:"--darkreader-inline-boxshadow",cssProp:"box-shadow",dataAttr:"data-darkreader-inline-boxshadow"},color:{customProp:"--darkreader-inline-color",cssProp:"color",dataAttr:"data-darkreader-inline-color"},fill:{customProp:"--darkreader-inline-fill",cssProp:"fill",dataAttr:"data-darkreader-inline-fill"},stroke:{customProp:"--darkreader-inline-stroke",cssProp:"stroke",dataAttr:"data-darkreader-inline-stroke"},"outline-color":{customProp:"--darkreader-inline-outline",cssProp:"outline-color",dataAttr:"data-darkreader-inline-outline"},"stop-color":{customProp:"--darkreader-inline-stopcolor",cssProp:"stop-color",dataAttr:"data-darkreader-inline-stopcolor"}},ut=Object.values(Ge),un={};ut.forEach(function(e){var r=e.cssProp,t=e.customProp;return un[t]=r});var Lr=["style","fill","stop-color","stroke","bgcolor","color"],tr=Lr.map(function(e){return"["+e+"]"}).join(", ");function cn(){return ut.map(function(e){var r=e.dataAttr,t=e.customProp,n=e.cssProp;return["["+r+"] {"," "+n+": var("+t+") !important;","}"].join(`
|
|
16
|
-
`)}).join(`
|
|
17
|
-
`)}function vi(e){var r=[];return e instanceof Element&&e.matches(tr)&&r.push(e),(e instanceof Element||Ct&&e instanceof ShadowRoot||e instanceof Document)&&Hr(r,e.querySelectorAll(tr)),r}var nr=new Map,Vr=new Map;function gi(e,r){ct(document,e,r),be(document.documentElement,function(t){ct(t.shadowRoot,e,r)})}function ct(e,r,t){nr.has(e)&&(nr.get(e).disconnect(),Vr.get(e).disconnect());var n=new WeakSet;function i(f){vi(f).forEach(function(h){n.has(h)||(n.add(h),r(h))}),be(f,function(h){n.has(f)||(n.add(f),t(h.shadowRoot),ct(h.shadowRoot,r,t))})}var a=Ft(e,{onMinorMutations:function(f){var h=f.additions;h.forEach(function(g){return i(g)})},onHugeMutations:function(){i(e)}});nr.set(e,a);var o=0,s=null,c=gr({seconds:10}),u=gr({seconds:2}),l=50,d=[],p=null,m=Wr(function(f){f.forEach(function(h){Lr.includes(h.attributeName)&&r(h.target)})}),v=new MutationObserver(function(f){if(p){d.push.apply(d,ge([],V(f),!1));return}o++;var h=Date.now();if(s==null)s=h;else if(o>=l){if(h-s<c){p=setTimeout(function(){s=null,o=0,p=null;var g=d;d=[],m(g)},u),d.push.apply(d,ge([],V(f),!1));return}s=h,o=1}m(f)});v.observe(e,{attributes:!0,attributeFilter:Lr.concat(ut.map(function(f){var h=f.dataAttr;return h})),subtree:!0}),Vr.set(e,v)}function pi(){nr.forEach(function(e){return e.disconnect()}),Vr.forEach(function(e){return e.disconnect()}),nr.clear(),Vr.clear()}var ln=new WeakMap,mi=["brightness","contrast","grayscale","sepia","mode"];function fn(e,r){return Lr.map(function(t){return t+'="'+e.getAttribute(t)+'"'}).concat(mi.map(function(t){return t+'="'+r[t]+'"'})).join(" ")}function bi(e,r){for(var t=0,n=r.length;t<n;t++){var i=r[t];if(e.matches(i))return!0}return!1}function lt(e,r,t,n){var i=fn(e,r);if(i===ln.get(e))return;var a=new Set(Object.keys(Ge));function o(d,p,m){var v=Ge[d],f=v.customProp,h=v.dataAttr,g=Jt(p,m,{},$,n,null);if(g){var b=g.value;typeof b=="function"&&(b=b(r)),e.style.setProperty(f,b),e.hasAttribute(h)||e.setAttribute(h,""),a.delete(d)}}if(t.length>0&&bi(e,t)){a.forEach(function(d){e.removeAttribute(Ge[d].dataAttr)});return}if(e.hasAttribute("bgcolor")){var s=e.getAttribute("bgcolor");(s.match(/^[0-9a-f]{3}$/i)||s.match(/^[0-9a-f]{6}$/i))&&(s="#"+s),o("background-color","background-color",s)}if(e.hasAttribute("color")&&e.rel!=="mask-icon"){var s=e.getAttribute("color");(s.match(/^[0-9a-f]{3}$/i)||s.match(/^[0-9a-f]{6}$/i))&&(s="#"+s),o("color","color",s)}if(e instanceof SVGElement){if(e.hasAttribute("fill")){var c=32,u=e.getAttribute("fill");if(u!=="none")if(e instanceof SVGTextElement)o("fill","color",u);else{var l=function(){var d=e.getBoundingClientRect(),p=d.width,m=d.height,v=p>c||m>c;o("fill",v?"background-color":"color",u)};Ot()?l():Dt(l)}}e.hasAttribute("stop-color")&&o("stop-color","background-color",e.getAttribute("stop-color"))}if(e.hasAttribute("stroke")){var s=e.getAttribute("stroke");o("stroke",e instanceof SVGLineElement||e instanceof SVGTextElement?"border-color":"color",s)}e.style&&Ie(e.style,function(d,p){if(!(d==="background-image"&&p.includes("url")))if(Ge.hasOwnProperty(d))o(d,d,p);else{var m=un[d];if(m&&!e.style.getPropertyValue(m)&&!e.hasAttribute(m)){if(m==="background-color"&&e.hasAttribute("bgcolor"))return;e.style.setProperty(d,"")}}}),e.style&&e instanceof SVGTextElement&&e.style.fill&&o("fill","color",e.style.getPropertyValue("fill")),ne(a,function(d){e.removeAttribute(Ge[d].dataAttr)}),ln.set(e,fn(e,r))}var dn="theme-color",hn='meta[name="'+dn+'"]',ar=null,Se=null;function vn(e,r){ar=ar||e.content;try{var t=Me(ar);e.content=z(t,r)}catch(n){L(n)}}function yi(e){var r=document.querySelector(hn);r?vn(r,e):(Se&&Se.disconnect(),Se=new MutationObserver(function(t){e:for(var n=0;n<t.length;n++)for(var i=t[n].addedNodes,a=0;a<i.length;a++){var o=i[a];if(o instanceof HTMLMetaElement&&o.name===dn){Se.disconnect(),Se=null,vn(o,e);break e}}}),Se.observe(document.head,{childList:!0}))}function Si(){Se&&(Se.disconnect(),Se=null);var e=document.querySelector(hn);e&&ar&&(e.content=ar)}var xi=["mode","brightness","contrast","grayscale","sepia","darkSchemeBackgroundColor","darkSchemeTextColor","lightSchemeBackgroundColor","lightSchemeTextColor"];function wi(e){return xi.map(function(r){return r+":"+e[r]}).join(";")}var ki=Yn();function gn(){var e=0,r=new Set,t=new Map,n=new Set,i=null,a=!1,o=!1;function s(){return a&&!o}function c(u){var l=u.sourceCSSRules,d=u.theme,p=u.ignoreImageAnalysis,m=u.force,v=u.prepareSheet,f=u.isAsyncCancelled,h=t.size===0,g=new Set(t.keys()),b=wi(d),y=b!==i;a&&(o=!0);var w=[];if(Ye(l,function(C){var R=C.cssText,D=!1;if(g.delete(R),C.parentRule instanceof CSSMediaRule&&(R+=";"+C.parentRule.media.mediaText),r.has(R)||(r.add(R),D=!0),D)h=!0;else{w.push(t.get(R));return}var M=[];C.style&&Ie(C.style,function(O,ve){var ae=Jt(O,ve,C,$,p,f);ae&&M.push(ae)});var A=null;if(M.length>0){var B=C.parentRule;A={selector:C.selectorText,declarations:M,parentRule:B},w.push(A)}t.set(R,A)},function(){a=!0}),g.forEach(function(C){r.delete(C),t.delete(C)}),i=b,!m&&!h&&!y)return;e++;function k(C,R,D){var M=D.selector,A=D.declarations,B=function(ae){var ce=ae.property,X=ae.value,ee=ae.important,K=ae.sourceValue;return ce+": "+(X==null?K:X)+(ee?" !important":"")+";"},O="";A.forEach(function(ae){O+=B(ae)+" "});var ve=M+" { "+O+" }";C.insertRule(ve,R)}var x=new Map,_=new Map,P=0,F=0,Y={rule:null,rules:[],isGroup:!0},Oe=new WeakMap;function _e(C){if(C==null)return Y;if(Oe.has(C))return Oe.get(C);var R={rule:C,rules:[],isGroup:!0};Oe.set(C,R);var D=_e(C.parentRule);return D.rules.push(R),R}n.forEach(function(C){return C()}),n.clear(),w.filter(function(C){return C}).forEach(function(C){var R=C.selector,D=C.declarations,M=C.parentRule,A=_e(M),B={selector:R,declarations:[],isGroup:!1},O=B.declarations;A.rules.push(B);function ve(ce,X,ee,K){var le=++P,ie={property:ce,value:null,important:ee,asyncKey:le,sourceValue:K};O.push(ie);var De=e;X.then(function(S){!S||f()||De!==e||(ie.value=S,ki.add(function(){f()||De!==e||St(le)}))})}function ae(ce,X,ee,K){var le=X,ie=le.declarations,De=le.onTypeChange,S=++F,re=e,H=O.length,W=[];if(ie.length===0){var G={property:ce,value:K,important:ee,sourceValue:K,varKey:S};O.push(G),W=[G]}ie.forEach(function(Z){if(Z.value instanceof Promise)ve(Z.property,Z.value,ee,K);else{var q={property:Z.property,value:Z.value,important:ee,sourceValue:K,varKey:S};O.push(q),W.push(q)}}),De.addListener(function(Z){if(!(f()||re!==e)){var q=Z.map(function(Re){return{property:Re.property,value:Re.value,important:ee,sourceValue:K,varKey:S}}),Te=O.indexOf(W[0],H);O.splice.apply(O,ge([Te,W.length],V(q),!1)),W=q,lr(S)}}),n.add(function(){return De.removeListeners()})}D.forEach(function(ce){var X=ce.property,ee=ce.value,K=ce.important,le=ce.sourceValue;if(typeof ee=="function"){var ie=ee(d);ie instanceof Promise?ve(X,ie,K,le):X.startsWith("--")?ae(X,ie,K,le):O.push({property:X,value:ie,important:K,sourceValue:le})}else O.push({property:X,value:ee,important:K,sourceValue:le})})});var cr=v();function Nr(){function C(D,M){var A=D.rule;if(A instanceof CSSMediaRule){var B=A.media,O=M.cssRules.length;return M.insertRule("@media "+B.mediaText+" {}",O),M.cssRules[O]}return M}function R(D,M,A){D.rules.forEach(function(B){if(B.isGroup){var O=C(B,M);R(B,O,A)}else A(B,M)})}R(Y,cr,function(D,M){var A=M.cssRules.length;D.declarations.forEach(function(B){var O=B.asyncKey,ve=B.varKey;O!=null&&x.set(O,{rule:D,target:M,index:A}),ve!=null&&_.set(ve,{rule:D,target:M,index:A})}),k(M,A,D)})}function St(C){var R=x.get(C),D=R.rule,M=R.target,A=R.index;M.deleteRule(A),k(M,A,D),x.delete(C)}function lr(C){var R=_.get(C),D=R.rule,M=R.target,A=R.index;M.deleteRule(A),k(M,A,D)}Nr()}return{modifySheet:c,shouldRebuildStyle:s}}var Ei='style, link[rel*="stylesheet" i]:not([disabled])';function pn(e){return(e instanceof HTMLStyleElement||e instanceof SVGStyleElement||e instanceof HTMLLinkElement&&e.rel&&e.rel.toLowerCase().includes("stylesheet")&&!e.disabled&&(dr?!e.href.startsWith("moz-extension://"):!0))&&!e.classList.contains("darkreader")&&e.media.toLowerCase()!=="print"&&!e.classList.contains("stylus")}function Ce(e,r,t){return r===void 0&&(r=[]),t===void 0&&(t=!0),pn(e)?r.push(e):(e instanceof Element||Ct&&e instanceof ShadowRoot||e===document)&&(ne(e.querySelectorAll(Ei),function(n){return Ce(n,r,!1)}),t&&be(e,function(n){return Ce(n.shadowRoot,r,!1)})),r}var mn=new WeakSet,bn=new WeakSet,Or=!1;typeof document!="undefined"&&document.addEventListener("__darkreader__inlineScriptsAllowed",function(){Or=!0});var Ci=0,qe=new Map;function _i(){qe.clear()}function Ti(e,r){for(var t=r.update,n=r.loadingStart,i=r.loadingEnd,a=[],o=e;(o=o.nextElementSibling)&&o.matches(".darkreader");)a.push(o);var s=a.find(function(S){return S.matches(".darkreader--cors")&&!bn.has(S)})||null,c=a.find(function(S){return S.matches(".darkreader--sync")&&!mn.has(S)})||null,u=null,l=null,d=!1,p=!0,m=gn(),v=new MutationObserver(function(){t()}),f={attributes:!0,childList:!0,subtree:!0,characterData:!0};function h(){return e instanceof HTMLStyleElement&&e.textContent.trim().match(Ht)}function g(S,re){var H=!1;if(S){var W=void 0;e:for(var G=0,Z=S.length;G<Z;G++)if(W=S[G],W.href)if(re){if(W.href.startsWith("http")&&!W.href.startsWith(location.origin)){H=!0;break e}}else{H=!0;break e}}return H}function b(){if(s)return j("[getRulesSync] Using cors-copy."),s.sheet.cssRules;if(h())return j("[getRulesSync] CSSImport detected."),null;var S=Nr();return e instanceof HTMLLinkElement&&!$n(e.href)&&g(S,!1)?(j("[getRulesSync] CSSImportRule detected on non-local href."),null):g(S,!0)?(j("[getRulesSync] Cross-Origin CSSImportRule detected."),null):(j("[getRulesSync] Using cssRules."),!S&&L("[getRulesSync] cssRules is null, trying again."),S)}function y(){s?(e.nextSibling!==s&&e.parentNode.insertBefore(s,e.nextSibling),s.nextSibling!==c&&e.parentNode.insertBefore(c,s.nextSibling)):e.nextSibling!==c&&e.parentNode.insertBefore(c,e.nextSibling)}function w(){c=e instanceof SVGStyleElement?document.createElementNS("http://www.w3.org/2000/svg","style"):document.createElement("style"),c.classList.add("darkreader"),c.classList.add("darkreader--sync"),c.media="screen",!wt&&e.title&&(c.title=e.title),mn.add(c)}var k=!1,x=!1,_=++Ci;function P(){return U(this,void 0,void 0,function(){var S,re,H,W,G,Z,q,Te,Re;return N(this,function(oe){switch(oe.label){case 0:if(!(e instanceof HTMLLinkElement))return[3,7];if(H=V(_e(),2),W=H[0],G=H[1],G&&L(G),!(!W&&!G&&!hr||hr&&!e.sheet||cr(G)))return[3,5];oe.label=1;case 1:return oe.trys.push([1,3,,4]),j("Linkelement "+_+" is not loaded yet and thus will be await for",e),[4,Ri(e,_)];case 2:return oe.sent(),[3,4];case 3:return Z=oe.sent(),L(Z),x=!0,[3,4];case 4:if(d)return[2,null];Re=V(_e(),2),W=Re[0],G=Re[1],G&&L(G),oe.label=5;case 5:return W&&!g(W,!1)?[2,W]:[4,yn(e.href)];case 6:return S=oe.sent(),re=xr(e.href),d?[2,null]:[3,8];case 7:if(h())S=e.textContent.trim(),re=xr(location.href);else return[2,null];oe.label=8;case 8:if(!S)return[3,13];oe.label=9;case 9:return oe.trys.push([9,11,,12]),[4,Sn(S,re)];case 10:return q=oe.sent(),s=Ai(e,q),[3,12];case 11:return Te=oe.sent(),L(Te),[3,12];case 12:if(s)return u=jr(s,"prev-sibling"),[2,s.sheet.cssRules];oe.label=13;case 13:return[2,null]}})})}function F(S){var re=b();return re?{rules:re}:S.secondRound?(L("Detected dead-lock at details(), returning early to prevent it."),null):(k||x||(k=!0,n(),P().then(function(H){k=!1,i(),H&&t()}).catch(function(H){L(H),k=!1,i()})),null)}var Y=!1;function Oe(S,re){var H=b();if(!H)return;d=!1;function W(q){try{if(q.replaceSync){q.replaceSync("");return}}catch(Re){L("Could not use fastpath for removing rules from stylesheet",Re)}for(var Te=q.cssRules.length-1;Te>=0;Te--)q.deleteRule(Te)}function G(){c||w(),l&&l.stop(),y(),c.sheet==null&&(c.textContent="");var q=c.sheet;return W(q),l?l.run():l=jr(c,"prev-sibling",function(){Y=!0,Z()}),c.sheet}function Z(){var q=Y;Y=!1,m.modifySheet({prepareSheet:G,sourceCSSRules:H,theme:S,ignoreImageAnalysis:re,force:q,isAsyncCancelled:function(){return d}}),p=c.sheet.cssRules.length===0,m.shouldRebuildStyle()&&Dt(function(){return t()})}Z()}function _e(){try{return e.sheet==null?[null,null]:[e.sheet.cssRules,null]}catch(S){return[null,S]}}function cr(S){return S&&S.message&&S.message.includes("loading")}function Nr(){var S=V(_e(),2),re=S[0],H=S[1];return H?(L(H),null):re}function St(){ve(),!kt&&!(Or&&e.sheet)&&M()}var lr=null,C=null;function R(){var S=Nr();return S?S.length:null}function D(){return R()!==lr}function M(){lr=R(),A();var S=function(){if(D()&&(lr=R(),t()),Or&&e.sheet){A();return}C=requestAnimationFrame(S)};S()}function A(){cancelAnimationFrame(C)}var B=!1;function O(){if(Or=!0,A(),B)return;function S(){B=!1,!d&&t()}B=!0,typeof queueMicrotask=="function"?queueMicrotask(S):requestAnimationFrame(S)}function ve(){e.addEventListener("__darkreader__updateSheet",O)}function ae(){e.removeEventListener("__darkreader__updateSheet",O)}function ce(){ae(),A()}function X(){v.disconnect(),d=!0,u&&u.stop(),l&&l.stop(),ce()}function ee(){if(X(),Q(s),Q(c),i(),qe.has(_)){var S=qe.get(_);qe.delete(_),S&&S()}}function K(){v.observe(e,f),e instanceof HTMLStyleElement&&St()}var le=10,ie=0;function De(){if(c){if(ie++,ie>le){L("Style sheet was moved multiple times",e);return}L("Restore style",c,e),y(),u&&u.skip(),l&&l.skip(),p||(Y=!0,t())}}return{details:F,render:Oe,pause:X,destroy:ee,watch:K,restore:De}}function Ri(e,r){return U(this,void 0,void 0,function(){return N(this,function(t){return[2,new Promise(function(n,i){var a=function(){e.removeEventListener("load",o),e.removeEventListener("error",s),qe.delete(r)},o=function(){a(),j("Linkelement "+r+" has been loaded"),n()},s=function(){a(),i("Linkelement "+r+" couldn't be loaded. "+e.href)};qe.set(r,function(){a(),i()}),e.addEventListener("load",o),e.addEventListener("error",s),e.href||s()})]})})}function Mi(e){return zr(e.substring(7).trim().replace(/;$/,"").replace(/screen$/,""))}function yn(e){return U(this,void 0,void 0,function(){return N(this,function(r){switch(r.label){case 0:return e.startsWith("data:")?[4,fetch(e)]:[3,3];case 1:return[4,r.sent().text()];case 2:return[2,r.sent()];case 3:return[4,Zt({url:e,responseType:"text",mimeType:"text/css",origin:window.location.origin})];case 4:return[2,r.sent()]}})})}function Sn(e,r,t){return t===void 0&&(t=new Map),U(this,void 0,void 0,function(){var n,i,a,o,s,c,u,l,d,p,m;return N(this,function(v){switch(v.label){case 0:e=na(e),e=ia(e),e=ra(e,r),n=Fe(Ht,e),v.label=1;case 1:v.trys.push([1,10,11,12]),i=fr(n),a=i.next(),v.label=2;case 2:return a.done?[3,9]:(o=a.value,s=Mi(o),c=qr(r,s),u=void 0,t.has(c)?(u=t.get(c),[3,7]):[3,3]);case 3:return v.trys.push([3,6,,7]),[4,yn(c)];case 4:return u=v.sent(),t.set(c,u),[4,Sn(u,xr(c),t)];case 5:return u=v.sent(),[3,7];case 6:return l=v.sent(),L(l),u="",[3,7];case 7:e=e.split(o).join(u),v.label=8;case 8:return a=i.next(),[3,2];case 9:return[3,12];case 10:return d=v.sent(),p={error:d},[3,12];case 11:try{a&&!a.done&&(m=i.return)&&m.call(i)}finally{if(p)throw p.error}return[7];case 12:return e=e.trim(),[2,e]}})})}function Ai(e,r){if(!r)return null;var t=document.createElement("style");return t.classList.add("darkreader"),t.classList.add("darkreader--cors"),t.media="screen",t.textContent=r,e.parentNode.insertBefore(t,e.nextSibling),t.sheet.disabled=!0,bn.add(t),t}var Dr=[],ft,Le=new Map,Ir;function Pr(e){Hn&&ne(e.querySelectorAll(":not(:defined)"),function(r){var t=r.tagName.toLowerCase();if(!t.includes("-")){var n=r.getAttribute("is");if(n)t=n;else return}Le.has(t)||(Le.set(t,new Set),Li(t).then(function(){if(Ir){var i=Le.get(t);Le.delete(t),Ir(Array.from(i))}})),Le.get(t).add(r)})}var dt=!1;typeof document!="undefined"&&document.addEventListener("__darkreader__inlineScriptsAllowed",function(){dt=!0});var ht=new Map;function xn(e){if(dt=!0,ht.has(e.detail.tag)){var r=ht.get(e.detail.tag);r()}}function Li(e){return U(this,void 0,void 0,function(){return N(this,function(r){return[2,new Promise(function(t){if(window.customElements&&typeof customElements.whenDefined=="function")customElements.whenDefined(e).then(function(){return t()});else if(dt)ht.set(e,t),document.dispatchEvent(new CustomEvent("__darkreader__addUndefinedResolver",{detail:{tag:e}}));else{var n=function(){var i=Le.get(e);i&&i.size>0&&(i.values().next().value.matches(":defined")?t():requestAnimationFrame(n))};requestAnimationFrame(n)}})]})})}function Vi(e){Ir=e}function Oi(){Ir=null,Le.clear(),document.removeEventListener("__darkreader__isDefined",xn)}function Di(e,r,t){wn();var n=new Set(e),i=new WeakMap,a=new WeakMap;function o(f){i.set(f,f.previousElementSibling),a.set(f,f.nextElementSibling)}function s(f){i.delete(f),a.delete(f)}function c(f){return f.previousElementSibling!==i.get(f)||f.nextElementSibling!==a.get(f)}e.forEach(o);function u(f){var h=f.createdStyles,g=f.removedStyles,b=f.movedStyles;h.forEach(function(y){return o(y)}),b.forEach(function(y){return o(y)}),g.forEach(function(y){return s(y)}),h.forEach(function(y){return n.add(y)}),g.forEach(function(y){return n.delete(y)}),h.size+g.size+b.size>0&&r({created:Array.from(h),removed:Array.from(g),moved:Array.from(b),updated:[]})}function l(f){var h=f.additions,g=f.moves,b=f.deletions,y=new Set,w=new Set,k=new Set;h.forEach(function(x){return Ce(x).forEach(function(_){return y.add(_)})}),b.forEach(function(x){return Ce(x).forEach(function(_){return w.add(_)})}),g.forEach(function(x){return Ce(x).forEach(function(_){return k.add(_)})}),u({createdStyles:y,removedStyles:w,movedStyles:k}),h.forEach(function(x){be(x,v),Pr(x)})}function d(f){var h=new Set(Ce(f)),g=new Set,b=new Set,y=new Set;h.forEach(function(w){n.has(w)||g.add(w)}),n.forEach(function(w){h.has(w)||b.add(w)}),h.forEach(function(w){!g.has(w)&&!b.has(w)&&c(w)&&y.add(w)}),u({createdStyles:g,removedStyles:b,movedStyles:y}),be(f,v),Pr(f)}function p(f){var h=new Set,g=new Set;f.forEach(function(b){var y=b.target;y.isConnected&&(pn(y)?h.add(y):y instanceof HTMLLinkElement&&y.disabled&&g.add(y))}),h.size+g.size>0&&r({updated:Array.from(h),created:[],removed:Array.from(g),moved:[]})}function m(f){var h=Ft(f,{onMinorMutations:l,onHugeMutations:d}),g=new MutationObserver(p);g.observe(f,{attributes:!0,attributeFilter:["rel","disabled","media"],subtree:!0}),Dr.push(h,g),ft.add(f)}function v(f){var h=f.shadowRoot;h==null||ft.has(h)||(m(h),t(h))}m(document),be(document.documentElement,v),Vi(function(f){var h=[];f.forEach(function(g){return Hr(h,Ce(g.shadowRoot))}),r({created:h,updated:[],removed:[],moved:[]}),f.forEach(function(g){var b=g.shadowRoot;b!=null&&(v(g),be(b,v),Pr(b))})}),document.addEventListener("__darkreader__isDefined",xn),Pr(document)}function Ii(){Dr.forEach(function(e){return e.disconnect()}),Dr.splice(0,Dr.length),ft=new WeakSet}function wn(){Ii(),Oi()}function Pi(e){return(e<16?"0":"")+e.toString(16)}function Fi(){if(typeof crypto=="undefined")return"xxx-xxxx";if("randomUUID"in crypto){var e=crypto.randomUUID();return e.substring(0,8)+e.substring(9,13)+e.substring(14,18)+e.substring(19,23)+e.substring(24)}return Array.from(crypto.getRandomValues(new Uint8Array(16))).map(function(r){return Pi(r)}).join("")}var kn=new WeakMap,Fr=new WeakSet;function Ui(e){var r=!1;function t(a,o){var s=ge([],V(e.adoptedStyleSheets),!1),c=s.indexOf(a),u=s.indexOf(o);c!==u-1&&(u>=0&&s.splice(u,1),s.splice(c+1,0,o),e.adoptedStyleSheets=s)}function n(){r=!0;var a=ge([],V(e.adoptedStyleSheets),!1);e.adoptedStyleSheets.forEach(function(o){if(Fr.has(o)){var s=a.indexOf(o);s>=0&&a.splice(s,1),kn.delete(o),Fr.delete(o)}}),e.adoptedStyleSheets=a}function i(a,o){e.adoptedStyleSheets.forEach(function(s){if(Fr.has(s))return;var c=s.rules,u=new CSSStyleSheet;function l(){for(var p=u.cssRules.length-1;p>=0;p--)u.deleteRule(p);return t(s,u),kn.set(s,u),Fr.add(u),u}var d=gn();d.modifySheet({prepareSheet:l,sourceCSSRules:c,theme:a,ignoreImageAnalysis:o,force:!1,isAsyncCancelled:function(){return r}})})}return{render:i,destroy:n}}function Ni(e){document.dispatchEvent(new CustomEvent("__darkreader__inlineScriptsAllowed"));var r=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"addRule"),t=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"insertRule"),n=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"deleteRule"),i=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"removeRule"),a=e?Object.getOwnPropertyDescriptor(Document.prototype,"styleSheets"):null,o=location.hostname.endsWith("baidu.com"),s=o?Object.getOwnPropertyDescriptor(Element.prototype,"getElementsByTagName"):null,c=function(){Object.defineProperty(CSSStyleSheet.prototype,"addRule",r),Object.defineProperty(CSSStyleSheet.prototype,"insertRule",t),Object.defineProperty(CSSStyleSheet.prototype,"deleteRule",n),Object.defineProperty(CSSStyleSheet.prototype,"removeRule",i),document.removeEventListener("__darkreader__cleanUp",c),document.removeEventListener("__darkreader__addUndefinedResolver",u),e&&Object.defineProperty(Document.prototype,"styleSheets",a),o&&Object.defineProperty(Element.prototype,"getElementsByTagName",s)},u=function(g){customElements.whenDefined(g.detail.tag).then(function(){document.dispatchEvent(new CustomEvent("__darkreader__isDefined",{detail:{tag:g.detail.tag}}))})};document.addEventListener("__darkreader__cleanUp",c),document.addEventListener("__darkreader__addUndefinedResolver",u);var l=new Event("__darkreader__updateSheet");function d(g,b,y){return r.value.call(this,g,b,y),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(l),-1}function p(g,b){var y=t.value.call(this,g,b);return this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(l),y}function m(g){n.value.call(this,g),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(l)}function v(g){i.value.call(this,g),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(l)}function f(){var g=a.get.call(this),b=ge([],V(g),!1).filter(function(y){return!y.ownerNode.classList.contains("darkreader")});return Object.setPrototypeOf(b,StyleSheetList.prototype)}function h(g){var b=this;if(g!=="style")return s.value.call(this,g);var y=function(){var x=s.value.call(b,g);return Object.setPrototypeOf(ge([],V(x),!1).filter(function(_){return!_.classList.contains("darkreader")}),NodeList.prototype)},w=y(),k={get:function(x,_){return y()[Number(_)]}};return w=new Proxy(w,k),w}Object.defineProperty(CSSStyleSheet.prototype,"addRule",Object.assign({},r,{value:d})),Object.defineProperty(CSSStyleSheet.prototype,"insertRule",Object.assign({},t,{value:p})),Object.defineProperty(CSSStyleSheet.prototype,"deleteRule",Object.assign({},n,{value:m})),Object.defineProperty(CSSStyleSheet.prototype,"removeRule",Object.assign({},i,{value:v})),e&&Object.defineProperty(Document.prototype,"styleSheets",Object.assign({},a,{get:f})),o&&Object.defineProperty(Element.prototype,"getElementsByTagName",Object.assign({},s,{value:h}))}var En=Fi(),se=new Map,Ur=[],E=null,I=null,Cn=null,he=null,ir=null;function ue(e,r){r===void 0&&(r=document.head||document);var t=r.querySelector("."+e);return t||(t=document.createElement("style"),t.classList.add("darkreader"),t.classList.add(e),t.media="screen",t.textContent=""),t}function Bi(e,r){r===void 0&&(r=document.head||document);var t=r.querySelector("."+e);return t||(t=document.createElement("script"),t.classList.add("darkreader"),t.classList.add(e)),t}var or=new Map;function Ve(e,r){or.has(r)&&or.get(r).stop(),or.set(r,jr(e,"parent"))}function Hi(){ne(or.values(),function(e){return e.stop()}),or.clear()}function Wi(){var e=ue("darkreader--fallback",document);e.textContent=nt(E,{strict:!0}),document.head.insertBefore(e,document.head.firstChild),Ve(e,"fallback");var r=ue("darkreader--user-agent");r.textContent=Za(E,Cn,E.styleSystemControls),document.head.insertBefore(r,e.nextSibling),Ve(r,"user-agent");var t=ue("darkreader--text");E.useFont||E.textStroke>0?t.textContent=Ua(E):t.textContent="",document.head.insertBefore(t,e.nextSibling),Ve(t,"text");var n=ue("darkreader--invert");I&&Array.isArray(I.invert)&&I.invert.length>0?n.textContent=[I.invert.join(", ")+" {"," filter: "+Xt(T(T({},E),{contrast:E.mode===0?E.contrast:we(E.contrast-10,0,100)}))+" !important;","}"].join(`
|
|
18
|
-
`):n.textContent="",document.head.insertBefore(n,t.nextSibling),Ve(n,"invert");var i=ue("darkreader--inline");i.textContent=cn(),document.head.insertBefore(i,n.nextSibling),Ve(i,"inline");var a=ue("darkreader--override");a.textContent=I&&I.css?_n(I.css):"",document.head.appendChild(a),Ve(a,"override");var o=ue("darkreader--variables"),s=$t(E),c=E.darkSchemeBackgroundColor,u=E.darkSchemeTextColor,l=E.lightSchemeBackgroundColor,d=E.lightSchemeTextColor,p=E.mode,m=p===0?l:c,v=p===0?d:u;m=z(Me(m),E),v=pe(Me(v),E),o.textContent=[":root {"," --darkreader-neutral-background: "+m+";"," --darkreader-neutral-text: "+v+";"," --darkreader-selection-background: "+s.backgroundColorSelection+";"," --darkreader-selection-text: "+s.foregroundColorSelection+";","}"].join(`
|
|
19
|
-
`),document.head.insertBefore(o,i.nextSibling),Ve(o,"variables");var f=ue("darkreader--root-vars");document.head.insertBefore(f,o.nextSibling);var h=Bi("darkreader--proxy");h.append("("+Ni+")(!"+(I&&I.disableStyleSheetsProxy)+")"),document.head.insertBefore(h,f.nextSibling),h.remove()}var vt=new Set;function gt(e){var r=ue("darkreader--inline",e);r.textContent=cn(),e.insertBefore(r,e.firstChild);var t=ue("darkreader--override",e);t.textContent=I&&I.css?_n(I.css):"",e.insertBefore(t,r.nextSibling);var n=ue("darkreader--invert",e);I&&Array.isArray(I.invert)&&I.invert.length>0?n.textContent=[I.invert.join(", ")+" {"," filter: "+Xt(T(T({},E),{contrast:E.mode===0?E.contrast:we(E.contrast-10,0,100)}))+" !important;","}"].join(`
|
|
20
|
-
`):n.textContent="",e.insertBefore(n,t.nextSibling),vt.add(e)}function _n(e){return e.replace(/\${(.+?)}/g,function(r,t){var n=ke(t);return n?Va(n,E):(L("Couldn't parse CSSTemplate's color."),t)})}function pt(){var e=document.querySelector(".darkreader--fallback");e&&(e.textContent="")}function ji(){Mn();var e=Ce(document),r=e.filter(function(n){return!se.has(n)}).map(function(n){return Tn(n)});r.map(function(n){return n.details({secondRound:!1})}).filter(function(n){return n&&n.rules.length>0}).forEach(function(n){$.addRulesForMatching(n.rules)}),$.matchVariablesAndDependants(),$.setOnRootVariableChange(function(){$.putRootVars(document.head.querySelector(".darkreader--root-vars"),E)}),$.putRootVars(document.head.querySelector(".darkreader--root-vars"),E),se.forEach(function(n){return n.render(E,he)}),me.size===0&&pt(),r.forEach(function(n){return n.watch()});var t=Qn(document.querySelectorAll(tr));be(document.documentElement,function(n){gt(n.shadowRoot);var i=n.shadowRoot.querySelectorAll(tr);i.length>0&&Hr(t,i)}),t.forEach(function(n){return lt(n,E,ir,he)}),Dn(document)}var Gi=0,me=new Set;function Tn(e){var r=++Gi;j("New manager for element, with loadingStyleID "+r,e);function t(){if(!Ke()||!Ln){me.add(r),j("Current amount of styles loading: "+me.size);var o=document.querySelector(".darkreader--fallback");o.textContent||(o.textContent=nt(E,{strict:!1}))}}function n(){me.delete(r),j("Removed loadingStyle "+r+", now awaiting: "+me.size),j("To-do to be loaded",me),me.size===0&&Ke()&&pt()}function i(){var o=a.details({secondRound:!0});o&&($.addRulesForMatching(o.rules),$.matchVariablesAndDependants(),a.render(E,he))}var a=Ti(e,{update:i,loadingStart:t,loadingEnd:n});return se.set(e,a),a}function Rn(e){var r=se.get(e);r&&(r.destroy(),se.delete(e))}var qi=Wr(function(e){se.forEach(function(r){return r.render(E,he)}),Ur.forEach(function(r){return r.render(E,he)}),e&&e()}),Mn=function(){qi.cancel()};function An(){if(me.size===0){pt();return}L("DOM is ready, but still have styles being loaded.",me)}var sr=null,Ln=typeof document!="undefined"&&!document.hidden;function zi(e){var r=!!sr;sr=function(){document.hidden||(Vn(),e(),Ln=!0)},r||document.addEventListener("visibilitychange",sr)}function Vn(){document.removeEventListener("visibilitychange",sr),sr=null}function On(){Wi();function e(){ji(),Ki()}document.hidden?zi(e):e(),yi(E)}function Dn(e){if(Array.isArray(e.adoptedStyleSheets)&&e.adoptedStyleSheets.length>0){var r=Ui(e);Ur.push(r),r.render(E,he)}}function Ki(){var e=Array.from(se.keys());Di(e,function(r){var t=r.created,n=r.updated,i=r.removed,a=r.moved,o=i,s=t.concat(n).concat(a).filter(function(l){return!se.has(l)}),c=a.filter(function(l){return se.has(l)});j("Styles to be removed:",o),o.forEach(function(l){return Rn(l)});var u=s.map(function(l){return Tn(l)});u.map(function(l){return l.details({secondRound:!1})}).filter(function(l){return l&&l.rules.length>0}).forEach(function(l){$.addRulesForMatching(l.rules)}),$.matchVariablesAndDependants(),u.forEach(function(l){return l.render(E,he)}),u.forEach(function(l){return l.watch()}),c.forEach(function(l){return se.get(l).restore()})},function(r){gt(r),Dn(r)}),gi(function(r){if(lt(r,E,ir,he),r===document.documentElement){var t=r.getAttribute("style");t.includes("--")&&($.matchVariablesAndDependants(),$.putRootVars(document.head.querySelector(".darkreader--root-vars"),E))}},function(r){gt(r);var t=r.querySelectorAll(tr);t.length>0&&ne(t,function(n){return lt(n,E,ir,he)})}),Lt(An)}function Qi(){se.forEach(function(e){return e.pause()}),Hi(),wn(),pi(),Vt(An),Xn()}function Yi(){var e=document.createElement("meta");e.name="darkreader",e.content=En,document.head.appendChild(e)}function In(){var e=document.querySelector('meta[name="darkreader"]');return e?e.content!==En:(Yi(),!1)}function Xi(e,r,t){if(E=e,I=r,I?(he=Array.isArray(I.ignoreImageAnalysis)?I.ignoreImageAnalysis:[],ir=Array.isArray(I.ignoreInlineStyle)?I.ignoreInlineStyle:[]):(he=[],ir=[]),Cn=t,document.head){if(In())return;document.documentElement.setAttribute("data-darkreader-mode","dynamic"),document.documentElement.setAttribute("data-darkreader-scheme",E.mode?"dark":"dimmed"),On()}else{if(!dr){var n=ue("darkreader--fallback");document.documentElement.appendChild(n),n.textContent=nt(E,{strict:!0})}var i=new MutationObserver(function(){if(document.head){if(i.disconnect(),In()){Pn();return}On()}});i.observe(document,{childList:!0,subtree:!0})}}function Zi(){document.dispatchEvent(new CustomEvent("__darkreader__cleanUp")),Q(document.head.querySelector(".darkreader--proxy"))}function Pn(){document.documentElement.removeAttribute("data-darkreader-mode"),document.documentElement.removeAttribute("data-darkreader-scheme"),Ji(),Q(document.querySelector(".darkreader--fallback")),document.head&&(Si(),Q(document.head.querySelector(".darkreader--user-agent")),Q(document.head.querySelector(".darkreader--text")),Q(document.head.querySelector(".darkreader--invert")),Q(document.head.querySelector(".darkreader--inline")),Q(document.head.querySelector(".darkreader--override")),Q(document.head.querySelector(".darkreader--variables")),Q(document.head.querySelector(".darkreader--root-vars")),Q(document.head.querySelector('meta[name="darkreader"]')),Zi()),vt.forEach(function(e){Q(e.querySelector(".darkreader--inline")),Q(e.querySelector(".darkreader--override"))}),vt.clear(),ne(se.keys(),function(e){return Rn(e)}),me.clear(),_i(),ne(document.querySelectorAll(".darkreader"),Q),Ur.forEach(function(e){e.destroy()}),Ur.splice(0)}function Ji(){$.clear(),Qe.clear(),Vn(),Mn(),Qi(),si()}var Fn=/url\(\"(blob\:.*?)\"\)/g;function $i(e){return U(this,void 0,void 0,function(){var r,t;return N(this,function(n){switch(n.label){case 0:return r=[],Fe(Fn,e,1).forEach(function(i){var a=Tt(i);r.push(a)}),[4,Promise.all(r)];case 1:return t=n.sent(),[2,e.replace(Fn,function(){return'url("'+t.shift()+'")'})]}})})}var eo=`/*
|
|
21
|
-
_______
|
|
22
|
-
/ \\
|
|
23
|
-
.==. .==.
|
|
24
|
-
(( ))==(( ))
|
|
25
|
-
/ "==" "=="\\
|
|
26
|
-
/____|| || ||___\\
|
|
27
|
-
________ ____ ________ ___ ___
|
|
28
|
-
| ___ \\ / \\ | ___ \\ | | / /
|
|
29
|
-
| | \\ \\ / /\\ \\ | | \\ \\| |_/ /
|
|
30
|
-
| | ) / /__\\ \\ | |__/ /| ___ \\
|
|
31
|
-
| |__/ / ______ \\| ____ \\| | \\ \\
|
|
32
|
-
_______|_______/__/ ____ \\__\\__|___\\__\\__|___\\__\\____
|
|
33
|
-
| ___ \\ | ____/ / \\ | ___ \\ | ____| ___ \\
|
|
34
|
-
| | \\ \\| |___ / /\\ \\ | | \\ \\| |___| | \\ \\
|
|
35
|
-
| |__/ /| ____/ /__\\ \\ | | ) | ____| |__/ /
|
|
36
|
-
| ____ \\| |__/ ______ \\| |__/ /| |___| ____ \\
|
|
37
|
-
|__| \\__\\____/__/ \\__\\_______/ |______|__| \\__\\
|
|
38
|
-
https://darkreader.org
|
|
39
|
-
*/
|
|
40
|
-
|
|
41
|
-
/*! Dark reader generated CSS | Licensed under MIT https://github.com/darkreader/darkreader/blob/master/LICENSE */
|
|
42
|
-
`;function ro(){return U(this,void 0,void 0,function(){function e(o,s){var c=document.querySelector(o);c&&c.textContent&&(r.push("/* "+s+" */"),r.push(c.textContent),r.push(""))}var r,t,n,i,a;return N(this,function(o){switch(o.label){case 0:return r=[eo],e(".darkreader--fallback","Fallback Style"),e(".darkreader--user-agent","User-Agent Style"),e(".darkreader--text","Text Style"),e(".darkreader--invert","Invert Style"),e(".darkreader--variables","Variables Style"),t=[],document.querySelectorAll(".darkreader--sync").forEach(function(s){ne(s.sheet.cssRules,function(c){c&&c.cssText&&t.push(c.cssText)})}),t.length?(n=Ea(t.join(`
|
|
43
|
-
`)),r.push("/* Modified CSS */"),a=(i=r).push,[4,$i(n)]):[3,2];case 1:a.apply(i,[o.sent()]),r.push(""),o.label=2;case 2:return e(".darkreader--override","Override Style"),[2,r.join(`
|
|
44
|
-
`)]}})})}var mt=!1,to=function(){if(typeof window=="undefined")return!1;try{return window.self!==window.top}catch(e){return console.warn(e),!0}}();function Un(e,r){e===void 0&&(e={}),r===void 0&&(r=null);var t=T(T({},zn),e);if(t.engine!==At.dynamicTheme)throw new Error("Theme engine is not supported.");Xi(t,r,to),mt=!0}function no(){return mt}function bt(){Pn(),mt=!1}var yt={themeOptions:null,fixes:null};function ur(){var e=matchMedia("(prefers-color-scheme: dark)");e.matches?Un(yt.themeOptions,yt.fixes):bt()}function ao(e,r){e===void 0&&(e={}),r===void 0&&(r=null);var t=matchMedia("(prefers-color-scheme: dark)");e?(yt={themeOptions:e,fixes:r},ur(),_t?t.addEventListener("change",ur):t.addListener(ur)):(_t?t.removeEventListener("change",ur):t.removeListener(ur),bt())}function io(){return U(this,void 0,void 0,function(){return N(this,function(e){switch(e.label){case 0:return[4,ro()];case 1:return[2,e.sent()]}})})}var oo=jn;xe.auto=ao,xe.disable=bt,xe.enable=Un,xe.exportGeneratedCSS=io,xe.isEnabled=no,xe.setFetchMethod=oo,Object.defineProperty(xe,"__esModule",{value:!0})})}}]);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[1925],{1633:function(L,S,u){u.d(S,{w:function(){return d}});function d(v,f,y,p){var O=y?y.call(p,v,f):void 0;if(O!==void 0)return!!O;if(v===f)return!0;if(typeof v!="object"||!v||typeof f!="object"||!f)return!1;var b=Object.keys(v),_=Object.keys(f);if(b.length!==_.length)return!1;for(var I=Object.prototype.hasOwnProperty.bind(f),l=0;l<b.length;l++){var h=b[l];if(!I(h))return!1;var m=v[h],w=f[h];if(O=y?y.call(p,m,w,h):void 0,O===!1||O===void 0&&m!==w)return!1}return!0}},30940:function(L,S,u){u.d(S,{J:function(){return B}});var d=u(80027),v=u(3341),f=u.n(v),y=u(63313);function p(c,g){return l(c)||I(c,g)||b(c,g)||O()}function O(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b(c,g){if(c){if(typeof c=="string")return _(c,g);var s=Object.prototype.toString.call(c).slice(8,-1);if(s==="Object"&&c.constructor&&(s=c.constructor.name),s==="Map"||s==="Set")return Array.from(c);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return _(c,g)}}function _(c,g){(g==null||g>c.length)&&(g=c.length);for(var s=0,T=new Array(g);s<g;s++)T[s]=c[s];return T}function I(c,g){var s=c==null?null:typeof Symbol!="undefined"&&c[Symbol.iterator]||c["@@iterator"];if(s!=null){var T=[],M=!0,P=!1,A,E;try{for(s=s.call(c);!(M=(A=s.next()).done)&&(T.push(A.value),!(g&&T.length===g));M=!0);}catch(R){P=!0,E=R}finally{try{!M&&s.return!=null&&s.return()}finally{if(P)throw E}}return T}}function l(c){if(Array.isArray(c))return c}function h(c,g,s){var T=(0,y.useState)(function(){return g(c)}),M=p(T,2),P=M[0],A=M[1],E=(0,y.useCallback)(function(){var R=g(c);f()(P,R)||(A(R),s&&s())},[P,c,s]);return(0,d.L)(E),[P,E]}function m(c,g){return K(c)||x(c,g)||W(c,g)||w()}function w(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function W(c,g){if(c){if(typeof c=="string")return N(c,g);var s=Object.prototype.toString.call(c).slice(8,-1);if(s==="Object"&&c.constructor&&(s=c.constructor.name),s==="Map"||s==="Set")return Array.from(c);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return N(c,g)}}function N(c,g){(g==null||g>c.length)&&(g=c.length);for(var s=0,T=new Array(g);s<g;s++)T[s]=c[s];return T}function x(c,g){var s=c==null?null:typeof Symbol!="undefined"&&c[Symbol.iterator]||c["@@iterator"];if(s!=null){var T=[],M=!0,P=!1,A,E;try{for(s=s.call(c);!(M=(A=s.next()).done)&&(T.push(A.value),!(g&&T.length===g));M=!0);}catch(R){P=!0,E=R}finally{try{!M&&s.return!=null&&s.return()}finally{if(P)throw E}}return T}}function K(c){if(Array.isArray(c))return c}function j(c,g,s){var T=h(c,g,s),M=m(T,2),P=M[0],A=M[1];return(0,d.L)(function(){var R=c.getHandlerId();if(R!=null)return c.subscribeToStateChange(A,{handlerIds:[R]})},[c,A]),P}function B(c,g,s){return j(g,c||function(){return{}},function(){return s.reconnect()})}},9058:function(L,S,u){u.d(S,{c:function(){return a}});var d=u(32980),v=u(80027),f=u(63313);function y(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(t){return typeof t}:y=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(e)}function p(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function O(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function b(e,r,t){return r&&O(e.prototype,r),t&&O(e,t),e}function _(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var I=function(){function e(r,t,o){p(this,e),_(this,"spec",void 0),_(this,"monitor",void 0),_(this,"connector",void 0),this.spec=r,this.monitor=t,this.connector=o}return b(e,[{key:"beginDrag",value:function(){var t,o=this.spec,D=this.monitor,C=null;return y(o.item)==="object"?C=o.item:typeof o.item=="function"?C=o.item(D):C={},(t=C)!==null&&t!==void 0?t:null}},{key:"canDrag",value:function(){var t=this.spec,o=this.monitor;return typeof t.canDrag=="boolean"?t.canDrag:typeof t.canDrag=="function"?t.canDrag(o):!0}},{key:"isDragging",value:function(t,o){var D=this.spec,C=this.monitor,U=D.isDragging;return U?U(C):o===t.getSourceId()}},{key:"endDrag",value:function(){var t=this.spec,o=this.monitor,D=this.connector,C=t.end;C&&C(o.getItem(),o),D.reconnect()}}]),e}();function l(e,r,t){var o=(0,f.useMemo)(function(){return new I(e,r,t)},[r,t]);return(0,f.useEffect)(function(){o.spec=e},[e]),o}var h=u(24166),m=u(46123);function w(e){return(0,f.useMemo)(function(){var r=e.type;return(0,m.k)(r!=null,"spec.type must be defined"),r},[e])}function W(e,r){return B(e)||j(e,r)||x(e,r)||N()}function N(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function x(e,r){if(e){if(typeof e=="string")return K(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return K(e,r)}}function K(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}function j(e,r){var t=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var o=[],D=!0,C=!1,U,F;try{for(t=t.call(e);!(D=(U=t.next()).done)&&(o.push(U.value),!(r&&o.length===r));D=!0);}catch(J){C=!0,F=J}finally{try{!D&&t.return!=null&&t.return()}finally{if(C)throw F}}return o}}function B(e){if(Array.isArray(e))return e}function c(e,r,t){var o=(0,h.N)(),D=l(e,r,t),C=w(e);(0,v.L)(function(){if(C!=null){var F=(0,d.w)(C,D,o),J=W(F,2),ee=J[0],te=J[1];return r.receiveHandlerId(ee),t.receiveHandlerId(ee),te}},[o,r,t,D,C])}var g=u(87916);function s(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function T(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function M(e,r,t){return r&&T(e.prototype,r),t&&T(e,t),e}function P(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var A=!1,E=!1,R=function(){function e(r){s(this,e),P(this,"internalMonitor",void 0),P(this,"sourceId",null),this.internalMonitor=r.getMonitor()}return M(e,[{key:"receiveHandlerId",value:function(t){this.sourceId=t}},{key:"getHandlerId",value:function(){return this.sourceId}},{key:"canDrag",value:function(){(0,m.k)(!A,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return A=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{A=!1}}},{key:"isDragging",value:function(){if(!this.sourceId)return!1;(0,m.k)(!E,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return E=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{E=!1}}},{key:"subscribeToStateChange",value:function(t,o){return this.internalMonitor.subscribeToStateChange(t,o)}},{key:"isDraggingSource",value:function(t){return this.internalMonitor.isDraggingSource(t)}},{key:"isOverTarget",value:function(t,o){return this.internalMonitor.isOverTarget(t,o)}},{key:"getTargetIds",value:function(){return this.internalMonitor.getTargetIds()}},{key:"isSourcePublic",value:function(){return this.internalMonitor.isSourcePublic()}},{key:"getSourceId",value:function(){return this.internalMonitor.getSourceId()}},{key:"subscribeToOffsetChange",value:function(t){return this.internalMonitor.subscribeToOffsetChange(t)}},{key:"canDragSource",value:function(t){return this.internalMonitor.canDragSource(t)}},{key:"canDropOnTarget",value:function(t){return this.internalMonitor.canDropOnTarget(t)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}();function V(){var e=(0,h.N)();return(0,f.useMemo)(function(){return new R(e)},[e])}var z=u(73529),Y=u(92909),$=u(1633);function G(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function H(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Q(e,r,t){return r&&H(e.prototype,r),t&&H(e,t),e}function k(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var X=function(){function e(r){var t=this;G(this,e),k(this,"hooks",(0,z.p)({dragSource:function(D,C){t.clearDragSource(),t.dragSourceOptions=C||null,(0,Y.d)(D)?t.dragSourceRef=D:t.dragSourceNode=D,t.reconnectDragSource()},dragPreview:function(D,C){t.clearDragPreview(),t.dragPreviewOptions=C||null,(0,Y.d)(D)?t.dragPreviewRef=D:t.dragPreviewNode=D,t.reconnectDragPreview()}})),k(this,"handlerId",null),k(this,"dragSourceRef",null),k(this,"dragSourceNode",void 0),k(this,"dragSourceOptionsInternal",null),k(this,"dragSourceUnsubscribe",void 0),k(this,"dragPreviewRef",null),k(this,"dragPreviewNode",void 0),k(this,"dragPreviewOptionsInternal",null),k(this,"dragPreviewUnsubscribe",void 0),k(this,"lastConnectedHandlerId",null),k(this,"lastConnectedDragSource",null),k(this,"lastConnectedDragSourceOptions",null),k(this,"lastConnectedDragPreview",null),k(this,"lastConnectedDragPreviewOptions",null),k(this,"backend",void 0),this.backend=r}return Q(e,[{key:"receiveHandlerId",value:function(t){this.handlerId!==t&&(this.handlerId=t,this.reconnect())}},{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(t){this.dragSourceOptionsInternal=t}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(t){this.dragPreviewOptionsInternal=t}},{key:"reconnect",value:function(){this.reconnectDragSource(),this.reconnectDragPreview()}},{key:"reconnectDragSource",value:function(){var t=this.dragSource,o=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();if(o&&this.disconnectDragSource(),!!this.handlerId){if(!t){this.lastConnectedDragSource=t;return}o&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=t,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,t,this.dragSourceOptions))}}},{key:"reconnectDragPreview",value:function(){var t=this.dragPreview,o=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(o&&this.disconnectDragPreview(),!!this.handlerId){if(!t){this.lastConnectedDragPreview=t;return}o&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions))}}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didConnectedDragSourceChange",value:function(){return this.lastConnectedDragSource!==this.dragSource}},{key:"didConnectedDragPreviewChange",value:function(){return this.lastConnectedDragPreview!==this.dragPreview}},{key:"didDragSourceOptionsChange",value:function(){return!(0,$.w)(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}},{key:"didDragPreviewOptionsChange",value:function(){return!(0,$.w)(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}},{key:"disconnectDragSource",value:function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}},{key:"disconnectDragPreview",value:function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}},{key:"dragSource",get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}},{key:"clearDragSource",value:function(){this.dragSourceNode=null,this.dragSourceRef=null}},{key:"clearDragPreview",value:function(){this.dragPreviewNode=null,this.dragPreviewRef=null}}]),e}();function Z(e,r){var t=(0,h.N)(),o=(0,f.useMemo)(function(){return new X(t.getBackend())},[t]);return(0,v.L)(function(){return o.dragSourceOptions=e||null,o.reconnect(),function(){return o.disconnectDragSource()}},[o,e]),(0,v.L)(function(){return o.dragPreviewOptions=r||null,o.reconnect(),function(){return o.disconnectDragPreview()}},[o,r]),o}var q=u(30940);function i(e){return(0,f.useMemo)(function(){return e.hooks.dragSource()},[e])}function n(e){return(0,f.useMemo)(function(){return e.hooks.dragPreview()},[e])}function a(e,r){var t=(0,g.w)(e,r);(0,m.k)(!t.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");var o=V(),D=Z(t.options,t.previewOptions);return c(t,o,D),[(0,q.J)(t.collect,o,D),i(D),n(D)]}},24166:function(L,S,u){u.d(S,{N:function(){return p}});var d=u(63313),v=u.n(d),f=u(46123),y=u(8955);function p(){var O=(0,d.useContext)(y.L),b=O.dragDropManager;return(0,f.k)(b!=null,"Expected drag drop context"),b}},18141:function(L,S,u){u.d(S,{L:function(){return q}});var d=u(32980),v=u(24166),f=u(80027),y=u(46123),p=u(63313);function O(i){var n=i.accept;return(0,p.useMemo)(function(){return(0,y.k)(i.accept!=null,"accept must be defined"),Array.isArray(n)?n:[n]},[n])}function b(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function _(i,n){for(var a=0;a<n.length;a++){var e=n[a];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,e.key,e)}}function I(i,n,a){return n&&_(i.prototype,n),a&&_(i,a),i}function l(i,n,a){return n in i?Object.defineProperty(i,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[n]=a,i}var h=function(){function i(n,a){b(this,i),l(this,"spec",void 0),l(this,"monitor",void 0),this.spec=n,this.monitor=a}return I(i,[{key:"canDrop",value:function(){var a=this.spec,e=this.monitor;return a.canDrop?a.canDrop(e.getItem(),e):!0}},{key:"hover",value:function(){var a=this.spec,e=this.monitor;a.hover&&a.hover(e.getItem(),e)}},{key:"drop",value:function(){var a=this.spec,e=this.monitor;if(a.drop)return a.drop(e.getItem(),e)}}]),i}();function m(i,n){var a=(0,p.useMemo)(function(){return new h(i,n)},[n]);return(0,p.useEffect)(function(){a.spec=i},[i]),a}function w(i,n){return j(i)||K(i,n)||N(i,n)||W()}function W(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
5
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function N(i,n){if(i){if(typeof i=="string")return x(i,n);var a=Object.prototype.toString.call(i).slice(8,-1);if(a==="Object"&&i.constructor&&(a=i.constructor.name),a==="Map"||a==="Set")return Array.from(i);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return x(i,n)}}function x(i,n){(n==null||n>i.length)&&(n=i.length);for(var a=0,e=new Array(n);a<n;a++)e[a]=i[a];return e}function K(i,n){var a=i==null?null:typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(a!=null){var e=[],r=!0,t=!1,o,D;try{for(a=a.call(i);!(r=(o=a.next()).done)&&(e.push(o.value),!(n&&e.length===n));r=!0);}catch(C){t=!0,D=C}finally{try{!r&&a.return!=null&&a.return()}finally{if(t)throw D}}return e}}function j(i){if(Array.isArray(i))return i}function B(i,n,a){var e=(0,v.N)(),r=m(i,n),t=O(i);(0,f.L)(function(){var D=(0,d.n)(t,r,e),C=w(D,2),U=C[0],F=C[1];return n.receiveHandlerId(U),a.receiveHandlerId(U),F},[e,n,r,a,t.map(function(o){return o.toString()}).join("|")])}var c=u(87916);function g(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function s(i,n){for(var a=0;a<n.length;a++){var e=n[a];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,e.key,e)}}function T(i,n,a){return n&&s(i.prototype,n),a&&s(i,a),i}function M(i,n,a){return n in i?Object.defineProperty(i,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[n]=a,i}var P=!1,A=function(){function i(n){g(this,i),M(this,"internalMonitor",void 0),M(this,"targetId",null),this.internalMonitor=n.getMonitor()}return T(i,[{key:"receiveHandlerId",value:function(a){this.targetId=a}},{key:"getHandlerId",value:function(){return this.targetId}},{key:"subscribeToStateChange",value:function(a,e){return this.internalMonitor.subscribeToStateChange(a,e)}},{key:"canDrop",value:function(){if(!this.targetId)return!1;(0,y.k)(!P,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return P=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{P=!1}}},{key:"isOver",value:function(a){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,a):!1}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),i}();function E(){var i=(0,v.N)();return(0,p.useMemo)(function(){return new A(i)},[i])}var R=u(1633),V=u(73529),z=u(92909);function Y(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function $(i,n){for(var a=0;a<n.length;a++){var e=n[a];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,e.key,e)}}function G(i,n,a){return n&&$(i.prototype,n),a&&$(i,a),i}function H(i,n,a){return n in i?Object.defineProperty(i,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[n]=a,i}var Q=function(){function i(n){var a=this;Y(this,i),H(this,"hooks",(0,V.p)({dropTarget:function(r,t){a.clearDropTarget(),a.dropTargetOptions=t,(0,z.d)(r)?a.dropTargetRef=r:a.dropTargetNode=r,a.reconnect()}})),H(this,"handlerId",null),H(this,"dropTargetRef",null),H(this,"dropTargetNode",void 0),H(this,"dropTargetOptionsInternal",null),H(this,"unsubscribeDropTarget",void 0),H(this,"lastConnectedHandlerId",null),H(this,"lastConnectedDropTarget",null),H(this,"lastConnectedDropTargetOptions",null),H(this,"backend",void 0),this.backend=n}return G(i,[{key:"connectTarget",get:function(){return this.dropTarget}},{key:"reconnect",value:function(){var a=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();a&&this.disconnectDropTarget();var e=this.dropTarget;if(this.handlerId){if(!e){this.lastConnectedDropTarget=e;return}a&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=e,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,e,this.dropTargetOptions))}}},{key:"receiveHandlerId",value:function(a){a!==this.handlerId&&(this.handlerId=a,this.reconnect())}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(a){this.dropTargetOptionsInternal=a}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didDropTargetChange",value:function(){return this.lastConnectedDropTarget!==this.dropTarget}},{key:"didOptionsChange",value:function(){return!(0,R.w)(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}},{key:"disconnectDropTarget",value:function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}},{key:"clearDropTarget",value:function(){this.dropTargetRef=null,this.dropTargetNode=null}}]),i}();function k(i){var n=(0,v.N)(),a=(0,p.useMemo)(function(){return new Q(n.getBackend())},[n]);return(0,f.L)(function(){return a.dropTargetOptions=i||null,a.reconnect(),function(){return a.disconnectDropTarget()}},[i]),a}var X=u(30940);function Z(i){return(0,p.useMemo)(function(){return i.hooks.dropTarget()},[i])}function q(i,n){var a=(0,c.w)(i,n),e=E(),r=k(a.options);return B(a,e,r),[(0,X.J)(a.collect,e,r),Z(r)]}},80027:function(L,S,u){u.d(S,{L:function(){return f}});var d=u(63313),v=u.n(d),f=typeof window!="undefined"?d.useLayoutEffect:d.useEffect},87916:function(L,S,u){u.d(S,{w:function(){return I}});var d=u(63313),v=u.n(d);function f(l){return b(l)||O(l)||p(l)||y()}function y(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
6
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p(l,h){if(l){if(typeof l=="string")return _(l,h);var m=Object.prototype.toString.call(l).slice(8,-1);if(m==="Object"&&l.constructor&&(m=l.constructor.name),m==="Map"||m==="Set")return Array.from(l);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return _(l,h)}}function O(l){if(typeof Symbol!="undefined"&&l[Symbol.iterator]!=null||l["@@iterator"]!=null)return Array.from(l)}function b(l){if(Array.isArray(l))return _(l)}function _(l,h){(h==null||h>l.length)&&(h=l.length);for(var m=0,w=new Array(h);m<h;m++)w[m]=l[m];return w}function I(l,h){var m=f(h||[]);return h==null&&typeof l!="function"&&m.push(l),(0,d.useMemo)(function(){return typeof l=="function"?l():l},m)}},92909:function(L,S,u){u.d(S,{d:function(){return v}});function d(f){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?d=function(p){return typeof p}:d=function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},d(f)}function v(f){return f!==null&&d(f)==="object"&&Object.prototype.hasOwnProperty.call(f,"current")}},32980:function(L,S,u){u.d(S,{n:function(){return d},w:function(){return v}});function d(f,y,p){var O=p.getRegistry(),b=O.addTarget(f,y);return[b,function(){return O.removeTarget(b)}]}function v(f,y,p){var O=p.getRegistry(),b=O.addSource(f,y);return[b,function(){return O.removeSource(b)}]}},73529:function(L,S,u){u.d(S,{p:function(){return O}});var d=u(46123),v=u(63313),f=u.n(v);function y(I){if(typeof I.type!="string"){var l=I.type.displayName||I.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(l," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function p(I){return function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!(0,v.isValidElement)(l)){var m=l;return I(m,h),m}var w=l;y(w);var W=h?function(N){return I(N,h)}:I;return _(w,W)}}function O(I){var l={};return Object.keys(I).forEach(function(h){var m=I[h];if(h.endsWith("Ref"))l[h]=I[h];else{var w=p(m);l[h]=function(){return w}}}),l}function b(I,l){typeof I=="function"?I(l):I.current=l}function _(I,l){var h=I.ref;return(0,d.k)(typeof h!="string","Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),h?(0,v.cloneElement)(I,{ref:function(w){b(h,w),b(l,w)}}):(0,v.cloneElement)(I,{ref:l})}},3341:function(L){L.exports=function S(u,d){if(u===d)return!0;if(u&&d&&typeof u=="object"&&typeof d=="object"){if(u.constructor!==d.constructor)return!1;var v,f,y;if(Array.isArray(u)){if(v=u.length,v!=d.length)return!1;for(f=v;f--!==0;)if(!S(u[f],d[f]))return!1;return!0}if(u.constructor===RegExp)return u.source===d.source&&u.flags===d.flags;if(u.valueOf!==Object.prototype.valueOf)return u.valueOf()===d.valueOf();if(u.toString!==Object.prototype.toString)return u.toString()===d.toString();if(y=Object.keys(u),v=y.length,v!==Object.keys(d).length)return!1;for(f=v;f--!==0;)if(!Object.prototype.hasOwnProperty.call(d,y[f]))return!1;for(f=v;f--!==0;){var p=y[f];if(!S(u[p],d[p]))return!1}return!0}return u!==u&&d!==d}}}]);
|