@hebcal/rest-api 4.3.13 → 4.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +46 -46
- package/dist/bundle.min.js +2 -2
- package/dist/fullcalendar.js +4 -2
- package/dist/fullcalendar.min.js +2 -2
- package/dist/index.js +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +8 -8
package/dist/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.3.
|
|
1
|
+
/*! @hebcal/rest-api v4.3.15 */
|
|
2
2
|
var hebcal__rest_api = (function (exports, core, leyning, triennial) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -91,21 +91,21 @@ var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
|
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
93
|
|
|
94
|
-
var uncurryThis$
|
|
94
|
+
var uncurryThis$j = functionUncurryThis;
|
|
95
95
|
|
|
96
|
-
var toString$6 = uncurryThis$
|
|
97
|
-
var stringSlice$
|
|
96
|
+
var toString$6 = uncurryThis$j({}.toString);
|
|
97
|
+
var stringSlice$6 = uncurryThis$j(''.slice);
|
|
98
98
|
|
|
99
99
|
var classofRaw$2 = function (it) {
|
|
100
|
-
return stringSlice$
|
|
100
|
+
return stringSlice$6(toString$6(it), 8, -1);
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
-
var uncurryThis$
|
|
103
|
+
var uncurryThis$i = functionUncurryThis;
|
|
104
104
|
var fails$e = fails$h;
|
|
105
105
|
var classof$6 = classofRaw$2;
|
|
106
106
|
|
|
107
107
|
var $Object$4 = Object;
|
|
108
|
-
var split$3 = uncurryThis$
|
|
108
|
+
var split$3 = uncurryThis$i(''.split);
|
|
109
109
|
|
|
110
110
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
111
111
|
var indexedObject = fails$e(function () {
|
|
@@ -144,6 +144,7 @@ var toIndexedObject$5 = function (it) {
|
|
|
144
144
|
var documentAll$2 = typeof document == 'object' && document.all;
|
|
145
145
|
|
|
146
146
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
147
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
147
148
|
var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
|
|
148
149
|
|
|
149
150
|
var documentAll_1 = {
|
|
@@ -181,17 +182,15 @@ var aFunction = function (argument) {
|
|
|
181
182
|
return isCallable$f(argument) ? argument : undefined;
|
|
182
183
|
};
|
|
183
184
|
|
|
184
|
-
var getBuiltIn$
|
|
185
|
+
var getBuiltIn$4 = function (namespace, method) {
|
|
185
186
|
return arguments.length < 2 ? aFunction(global$f[namespace]) : global$f[namespace] && global$f[namespace][method];
|
|
186
187
|
};
|
|
187
188
|
|
|
188
|
-
var uncurryThis$
|
|
189
|
-
|
|
190
|
-
var objectIsPrototypeOf = uncurryThis$g({}.isPrototypeOf);
|
|
189
|
+
var uncurryThis$h = functionUncurryThis;
|
|
191
190
|
|
|
192
|
-
var
|
|
191
|
+
var objectIsPrototypeOf = uncurryThis$h({}.isPrototypeOf);
|
|
193
192
|
|
|
194
|
-
var engineUserAgent =
|
|
193
|
+
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
195
194
|
|
|
196
195
|
var global$e = global$g;
|
|
197
196
|
var userAgent = engineUserAgent;
|
|
@@ -244,7 +243,7 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
244
243
|
&& !Symbol.sham
|
|
245
244
|
&& typeof Symbol.iterator == 'symbol';
|
|
246
245
|
|
|
247
|
-
var getBuiltIn$3 = getBuiltIn$
|
|
246
|
+
var getBuiltIn$3 = getBuiltIn$4;
|
|
248
247
|
var isCallable$e = isCallable$h;
|
|
249
248
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
250
249
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
@@ -258,11 +257,11 @@ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
|
258
257
|
return isCallable$e($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$3(it));
|
|
259
258
|
};
|
|
260
259
|
|
|
261
|
-
var $String$
|
|
260
|
+
var $String$4 = String;
|
|
262
261
|
|
|
263
262
|
var tryToString$2 = function (argument) {
|
|
264
263
|
try {
|
|
265
|
-
return $String$
|
|
264
|
+
return $String$4(argument);
|
|
266
265
|
} catch (error) {
|
|
267
266
|
return 'Object';
|
|
268
267
|
}
|
|
@@ -339,10 +338,10 @@ var store$2 = sharedStore;
|
|
|
339
338
|
(shared$4.exports = function (key, value) {
|
|
340
339
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
341
340
|
})('versions', []).push({
|
|
342
|
-
version: '3.
|
|
341
|
+
version: '3.27.2',
|
|
343
342
|
mode: 'global',
|
|
344
|
-
copyright: '© 2014-
|
|
345
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
343
|
+
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
344
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE',
|
|
346
345
|
source: 'https://github.com/zloirock/core-js'
|
|
347
346
|
});
|
|
348
347
|
|
|
@@ -356,10 +355,10 @@ var toObject$4 = function (argument) {
|
|
|
356
355
|
return $Object$2(requireObjectCoercible$2(argument));
|
|
357
356
|
};
|
|
358
357
|
|
|
359
|
-
var uncurryThis$
|
|
358
|
+
var uncurryThis$g = functionUncurryThis;
|
|
360
359
|
var toObject$3 = toObject$4;
|
|
361
360
|
|
|
362
|
-
var hasOwnProperty = uncurryThis$
|
|
361
|
+
var hasOwnProperty = uncurryThis$g({}.hasOwnProperty);
|
|
363
362
|
|
|
364
363
|
// `HasOwnProperty` abstract operation
|
|
365
364
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -368,11 +367,11 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
368
367
|
return hasOwnProperty(toObject$3(it), key);
|
|
369
368
|
};
|
|
370
369
|
|
|
371
|
-
var uncurryThis$
|
|
370
|
+
var uncurryThis$f = functionUncurryThis;
|
|
372
371
|
|
|
373
372
|
var id = 0;
|
|
374
373
|
var postfix = Math.random();
|
|
375
|
-
var toString$5 = uncurryThis$
|
|
374
|
+
var toString$5 = uncurryThis$f(1.0.toString);
|
|
376
375
|
|
|
377
376
|
var uid$2 = function (key) {
|
|
378
377
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id + postfix, 36);
|
|
@@ -385,21 +384,15 @@ var uid$1 = uid$2;
|
|
|
385
384
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
386
385
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
387
386
|
|
|
388
|
-
var WellKnownSymbolsStore = shared$3('wks');
|
|
389
387
|
var Symbol$1 = global$b.Symbol;
|
|
390
|
-
var
|
|
391
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
388
|
+
var WellKnownSymbolsStore = shared$3('wks');
|
|
389
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
392
390
|
|
|
393
391
|
var wellKnownSymbol$e = function (name) {
|
|
394
|
-
if (!hasOwn$b(WellKnownSymbolsStore, name)
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
399
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
400
|
-
} else {
|
|
401
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
402
|
-
}
|
|
392
|
+
if (!hasOwn$b(WellKnownSymbolsStore, name)) {
|
|
393
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$b(Symbol$1, name)
|
|
394
|
+
? Symbol$1[name]
|
|
395
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
403
396
|
} return WellKnownSymbolsStore[name];
|
|
404
397
|
};
|
|
405
398
|
|
|
@@ -502,13 +495,13 @@ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$b(function () {
|
|
|
502
495
|
|
|
503
496
|
var isObject$4 = isObject$8;
|
|
504
497
|
|
|
505
|
-
var $String$
|
|
498
|
+
var $String$3 = String;
|
|
506
499
|
var $TypeError$6 = TypeError;
|
|
507
500
|
|
|
508
501
|
// `Assert: Type(argument) is Object`
|
|
509
502
|
var anObject$b = function (argument) {
|
|
510
503
|
if (isObject$4(argument)) return argument;
|
|
511
|
-
throw $TypeError$6($String$
|
|
504
|
+
throw $TypeError$6($String$3(argument) + ' is not an object');
|
|
512
505
|
};
|
|
513
506
|
|
|
514
507
|
var DESCRIPTORS$8 = descriptors;
|
|
@@ -590,11 +583,11 @@ var functionName = {
|
|
|
590
583
|
CONFIGURABLE: CONFIGURABLE
|
|
591
584
|
};
|
|
592
585
|
|
|
593
|
-
var uncurryThis$
|
|
586
|
+
var uncurryThis$e = functionUncurryThis;
|
|
594
587
|
var isCallable$b = isCallable$h;
|
|
595
588
|
var store$1 = sharedStore;
|
|
596
589
|
|
|
597
|
-
var functionToString = uncurryThis$
|
|
590
|
+
var functionToString = uncurryThis$e(Function.toString);
|
|
598
591
|
|
|
599
592
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
600
593
|
if (!isCallable$b(store$1.inspectSource)) {
|
|
@@ -694,6 +687,7 @@ var internalState = {
|
|
|
694
687
|
getterFor: getterFor
|
|
695
688
|
};
|
|
696
689
|
|
|
690
|
+
var uncurryThis$d = functionUncurryThis;
|
|
697
691
|
var fails$a = fails$h;
|
|
698
692
|
var isCallable$9 = isCallable$h;
|
|
699
693
|
var hasOwn$7 = hasOwnProperty_1;
|
|
@@ -704,8 +698,12 @@ var InternalStateModule$4 = internalState;
|
|
|
704
698
|
|
|
705
699
|
var enforceInternalState = InternalStateModule$4.enforce;
|
|
706
700
|
var getInternalState$3 = InternalStateModule$4.get;
|
|
701
|
+
var $String$2 = String;
|
|
707
702
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
708
703
|
var defineProperty$5 = Object.defineProperty;
|
|
704
|
+
var stringSlice$5 = uncurryThis$d(''.slice);
|
|
705
|
+
var replace$4 = uncurryThis$d(''.replace);
|
|
706
|
+
var join$3 = uncurryThis$d([].join);
|
|
709
707
|
|
|
710
708
|
var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$a(function () {
|
|
711
709
|
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -714,8 +712,8 @@ var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$a(function () {
|
|
|
714
712
|
var TEMPLATE = String(String).split('String');
|
|
715
713
|
|
|
716
714
|
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
717
|
-
if (String(name)
|
|
718
|
-
name = '[' + String(name)
|
|
715
|
+
if (stringSlice$5($String$2(name), 0, 7) === 'Symbol(') {
|
|
716
|
+
name = '[' + replace$4($String$2(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
719
717
|
}
|
|
720
718
|
if (options && options.getter) name = 'get ' + name;
|
|
721
719
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -734,7 +732,7 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
734
732
|
} catch (error) { /* empty */ }
|
|
735
733
|
var state = enforceInternalState(value);
|
|
736
734
|
if (!hasOwn$7(state, 'source')) {
|
|
737
|
-
state.source =
|
|
735
|
+
state.source = join$3(TEMPLATE, typeof name == 'string' ? name : '');
|
|
738
736
|
} return value;
|
|
739
737
|
};
|
|
740
738
|
|
|
@@ -908,7 +906,7 @@ var objectGetOwnPropertySymbols = {};
|
|
|
908
906
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
909
907
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
910
908
|
|
|
911
|
-
var getBuiltIn$2 = getBuiltIn$
|
|
909
|
+
var getBuiltIn$2 = getBuiltIn$4;
|
|
912
910
|
var uncurryThis$b = functionUncurryThis;
|
|
913
911
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
914
912
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
@@ -1148,7 +1146,7 @@ objectDefineProperties.f = DESCRIPTORS$4 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
|
|
|
1148
1146
|
return O;
|
|
1149
1147
|
};
|
|
1150
1148
|
|
|
1151
|
-
var getBuiltIn$1 = getBuiltIn$
|
|
1149
|
+
var getBuiltIn$1 = getBuiltIn$4;
|
|
1152
1150
|
|
|
1153
1151
|
var html$1 = getBuiltIn$1('document', 'documentElement');
|
|
1154
1152
|
|
|
@@ -2054,7 +2052,7 @@ var uncurryThis$4 = functionUncurryThis;
|
|
|
2054
2052
|
var fails$1 = fails$h;
|
|
2055
2053
|
var isCallable$1 = isCallable$h;
|
|
2056
2054
|
var classof$3 = classof$5;
|
|
2057
|
-
var getBuiltIn = getBuiltIn$
|
|
2055
|
+
var getBuiltIn = getBuiltIn$4;
|
|
2058
2056
|
var inspectSource = inspectSource$2;
|
|
2059
2057
|
|
|
2060
2058
|
var noop = function () { /* empty */ };
|
|
@@ -4128,6 +4126,8 @@ function getEventCategories(ev) {
|
|
|
4128
4126
|
case 'Fast begins':
|
|
4129
4127
|
case 'Fast ends':
|
|
4130
4128
|
return ['zmanim', 'fast'];
|
|
4129
|
+
case 'Purim':
|
|
4130
|
+
return ['holiday', 'major'];
|
|
4131
4131
|
}
|
|
4132
4132
|
if (ev.cholHaMoedDay) {
|
|
4133
4133
|
return ['holiday', 'major', 'cholhamoed'];
|
|
@@ -4225,7 +4225,7 @@ function getHolidayDescription(ev) {
|
|
|
4225
4225
|
}
|
|
4226
4226
|
return str;
|
|
4227
4227
|
}
|
|
4228
|
-
const HOLIDAY_IGNORE_MASK = core.flags.DAF_YOMI | core.flags.OMER_COUNT | core.flags.SHABBAT_MEVARCHIM | core.flags.MOLAD | core.flags.USER_EVENT | core.flags.HEBREW_DATE | core.flags.YERUSHALMI_YOMI;
|
|
4228
|
+
const HOLIDAY_IGNORE_MASK = core.flags.DAF_YOMI | core.flags.OMER_COUNT | core.flags.SHABBAT_MEVARCHIM | core.flags.MOLAD | core.flags.USER_EVENT | core.flags.NACH_YOMI | core.flags.HEBREW_DATE | core.flags.YERUSHALMI_YOMI;
|
|
4229
4229
|
|
|
4230
4230
|
/**
|
|
4231
4231
|
* Makes mulit-line text that summarizes Torah & Haftarah
|
package/dist/bundle.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.3.
|
|
2
|
-
var hebcal__rest_api=function(e,t,r,n){"use strict";var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=function(e){return e&&e.Math==Math&&e},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof a&&a)||function(){return this}()||Function("return this")(),s={},h=function(e){try{return!!e()}catch(e){return!0}},c=!h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),l=!h((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),u=l,f=Function.prototype.call,d=u?f.bind(f):function(){return f.apply(f,arguments)},g={},m={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y=p&&!m.call({1:2},1);g.f=y?function(e){var t=p(this,e);return!!t&&t.enumerable}:m;var b,v,S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=l,A=Function.prototype,H=A.call,R=w&&A.bind.bind(H,H),T=w?R:function(e){return function(){return H.apply(e,arguments)}},C=T,I=C({}.toString),P=C("".slice),M=function(e){return P(I(e),8,-1)},O=h,E=M,L=Object,k=T("".split),B=O((function(){return!L("z").propertyIsEnumerable(0)}))?function(e){return"String"==E(e)?k(e,""):L(e)}:L,D=function(e){return null==e},U=D,F=TypeError,N=function(e){if(U(e))throw F("Can't call method on "+e);return e},x=B,j=N,_=function(e){return x(j(e))},G="object"==typeof document&&document.all,Y={all:G,IS_HTMLDDA:void 0===G&&void 0!==G},z=Y.all,K=Y.IS_HTMLDDA?function(e){return"function"==typeof e||e===z}:function(e){return"function"==typeof e},J=K,W=Y.all,q=Y.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:J(e)||e===W}:function(e){return"object"==typeof e?null!==e:J(e)},V=i,Z=K,$=function(e){return Z(e)?e:void 0},Q=function(e,t){return arguments.length<2?$(V[e]):V[e]&&V[e][t]},X=T({}.isPrototypeOf),ee=i,te=Q("navigator","userAgent")||"",re=ee.process,ne=ee.Deno,ae=re&&re.versions||ne&&ne.version,oe=ae&&ae.v8;oe&&(v=(b=oe.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!v&&te&&(!(b=te.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=te.match(/Chrome\/(\d+)/))&&(v=+b[1]);var ie=v,se=h,he=!!Object.getOwnPropertySymbols&&!se((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ie&&ie<41})),ce=he&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,le=Q,ue=K,fe=X,de=Object,ge=ce?function(e){return"symbol"==typeof e}:function(e){var t=le("Symbol");return ue(t)&&fe(t.prototype,de(e))},me=String,pe=function(e){try{return me(e)}catch(e){return"Object"}},ye=K,be=pe,ve=TypeError,Se=function(e){if(ye(e))return e;throw ve(be(e)+" is not a function")},we=Se,Ae=D,He=function(e,t){var r=e[t];return Ae(r)?void 0:we(r)},Re=d,Te=K,Ce=q,Ie=TypeError,Pe={},Me={get exports(){return Pe},set exports(e){Pe=e}},Oe=i,Ee=Object.defineProperty,Le=function(e,t){try{Ee(Oe,e,{value:t,configurable:!0,writable:!0})}catch(r){Oe[e]=t}return t},ke=Le,Be="__core-js_shared__",De=i[Be]||ke(Be,{}),Ue=De;(Me.exports=function(e,t){return Ue[e]||(Ue[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Fe=N,Ne=Object,xe=function(e){return Ne(Fe(e))},je=xe,_e=T({}.hasOwnProperty),Ge=Object.hasOwn||function(e,t){return _e(je(e),t)},Ye=T,ze=0,Ke=Math.random(),Je=Ye(1..toString),We=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Je(++ze+Ke,36)},qe=i,Ve=Ge,Ze=We,$e=he,Qe=ce,Xe=Pe("wks"),et=qe.Symbol,tt=et&&et.for,rt=Qe?et:et&&et.withoutSetter||Ze,nt=function(e){if(!Ve(Xe,e)||!$e&&"string"!=typeof Xe[e]){var t="Symbol."+e;$e&&Ve(et,e)?Xe[e]=et[e]:Xe[e]=Qe&&tt?tt(t):rt(t)}return Xe[e]},at=d,ot=q,it=ge,st=He,ht=function(e,t){var r,n;if("string"===t&&Te(r=e.toString)&&!Ce(n=Re(r,e)))return n;if(Te(r=e.valueOf)&&!Ce(n=Re(r,e)))return n;if("string"!==t&&Te(r=e.toString)&&!Ce(n=Re(r,e)))return n;throw Ie("Can't convert object to primitive value")},ct=TypeError,lt=nt("toPrimitive"),ut=function(e,t){if(!ot(e)||it(e))return e;var r,n=st(e,lt);if(n){if(void 0===t&&(t="default"),r=at(n,e,t),!ot(r)||it(r))return r;throw ct("Can't convert object to primitive value")}return void 0===t&&(t="number"),ht(e,t)},ft=ge,dt=function(e){var t=ut(e,"string");return ft(t)?t:t+""},gt=q,mt=i.document,pt=gt(mt)&>(mt.createElement),yt=function(e){return pt?mt.createElement(e):{}},bt=yt,vt=!c&&!h((function(){return 7!=Object.defineProperty(bt("div"),"a",{get:function(){return 7}}).a})),St=c,wt=d,At=g,Ht=S,Rt=_,Tt=dt,Ct=Ge,It=vt,Pt=Object.getOwnPropertyDescriptor;s.f=St?Pt:function(e,t){if(e=Rt(e),t=Tt(t),It)try{return Pt(e,t)}catch(e){}if(Ct(e,t))return Ht(!wt(At.f,e,t),e[t])};var Mt={},Ot=c&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Et=q,Lt=String,kt=TypeError,Bt=function(e){if(Et(e))return e;throw kt(Lt(e)+" is not an object")},Dt=c,Ut=vt,Ft=Ot,Nt=Bt,xt=dt,jt=TypeError,_t=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Yt="enumerable",zt="configurable",Kt="writable";Mt.f=Dt?Ft?function(e,t,r){if(Nt(e),t=xt(t),Nt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Kt in r&&!r.writable){var n=Gt(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:zt in r?r.configurable:n.configurable,enumerable:Yt in r?r.enumerable:n.enumerable,writable:!1})}return _t(e,t,r)}:_t:function(e,t,r){if(Nt(e),t=xt(t),Nt(r),Ut)try{return _t(e,t,r)}catch(e){}if("get"in r||"set"in r)throw jt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Jt=Mt,Wt=S,qt=c?function(e,t,r){return Jt.f(e,t,Wt(1,r))}:function(e,t,r){return e[t]=r,e},Vt={},Zt={get exports(){return Vt},set exports(e){Vt=e}},$t=c,Qt=Ge,Xt=Function.prototype,er=$t&&Object.getOwnPropertyDescriptor,tr=Qt(Xt,"name"),rr={EXISTS:tr,PROPER:tr&&"something"===function(){}.name,CONFIGURABLE:tr&&(!$t||$t&&er(Xt,"name").configurable)},nr=K,ar=De,or=T(Function.toString);nr(ar.inspectSource)||(ar.inspectSource=function(e){return or(e)});var ir,sr,hr,cr=ar.inspectSource,lr=K,ur=i.WeakMap,fr=lr(ur)&&/native code/.test(String(ur)),dr=We,gr=Pe("keys"),mr=function(e){return gr[e]||(gr[e]=dr(e))},pr={},yr=fr,br=i,vr=q,Sr=qt,wr=Ge,Ar=De,Hr=mr,Rr=pr,Tr="Object already initialized",Cr=br.TypeError,Ir=br.WeakMap;if(yr||Ar.state){var Pr=Ar.state||(Ar.state=new Ir);Pr.get=Pr.get,Pr.has=Pr.has,Pr.set=Pr.set,ir=function(e,t){if(Pr.has(e))throw Cr(Tr);return t.facade=e,Pr.set(e,t),t},sr=function(e){return Pr.get(e)||{}},hr=function(e){return Pr.has(e)}}else{var Mr=Hr("state");Rr[Mr]=!0,ir=function(e,t){if(wr(e,Mr))throw Cr(Tr);return t.facade=e,Sr(e,Mr,t),t},sr=function(e){return wr(e,Mr)?e[Mr]:{}},hr=function(e){return wr(e,Mr)}}var Or={set:ir,get:sr,has:hr,enforce:function(e){return hr(e)?sr(e):ir(e,{})},getterFor:function(e){return function(t){var r;if(!vr(t)||(r=sr(t)).type!==e)throw Cr("Incompatible receiver, "+e+" required");return r}}},Er=h,Lr=K,kr=Ge,Br=c,Dr=rr.CONFIGURABLE,Ur=cr,Fr=Or.enforce,Nr=Or.get,xr=Object.defineProperty,jr=Br&&!Er((function(){return 8!==xr((function(){}),"length",{value:8}).length})),_r=String(String).split("String"),Gr=Zt.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!kr(e,"name")||Dr&&e.name!==t)&&(Br?xr(e,"name",{value:t,configurable:!0}):e.name=t),jr&&r&&kr(r,"arity")&&e.length!==r.arity&&xr(e,"length",{value:r.arity});try{r&&kr(r,"constructor")&&r.constructor?Br&&xr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Fr(e);return kr(n,"source")||(n.source=_r.join("string"==typeof t?t:"")),e};Function.prototype.toString=Gr((function(){return Lr(this)&&Nr(this).source||Ur(this)}),"toString");var Yr=K,zr=Mt,Kr=Vt,Jr=Le,Wr=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Yr(r)&&Kr(r,o,n),n.global)a?e[t]=r:Jr(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:zr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},qr={},Vr=Math.ceil,Zr=Math.floor,$r=Math.trunc||function(e){var t=+e;return(t>0?Zr:Vr)(t)},Qr=function(e){var t=+e;return t!=t||0===t?0:$r(t)},Xr=Qr,en=Math.max,tn=Math.min,rn=function(e,t){var r=Xr(e);return r<0?en(r+t,0):tn(r,t)},nn=Qr,an=Math.min,on=function(e){return e>0?an(nn(e),9007199254740991):0},sn=on,hn=function(e){return sn(e.length)},cn=_,ln=rn,un=hn,fn=function(e){return function(t,r,n){var a,o=cn(t),i=un(o),s=ln(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},dn={includes:fn(!0),indexOf:fn(!1)},gn=Ge,mn=_,pn=dn.indexOf,yn=pr,bn=T([].push),vn=function(e,t){var r,n=mn(e),a=0,o=[];for(r in n)!gn(yn,r)&&gn(n,r)&&bn(o,r);for(;t.length>a;)gn(n,r=t[a++])&&(~pn(o,r)||bn(o,r));return o},Sn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],wn=vn,An=Sn.concat("length","prototype");qr.f=Object.getOwnPropertyNames||function(e){return wn(e,An)};var Hn={};Hn.f=Object.getOwnPropertySymbols;var Rn=Q,Tn=qr,Cn=Hn,In=Bt,Pn=T([].concat),Mn=Rn("Reflect","ownKeys")||function(e){var t=Tn.f(In(e)),r=Cn.f;return r?Pn(t,r(e)):t},On=Ge,En=Mn,Ln=s,kn=Mt,Bn=h,Dn=K,Un=/#|\.prototype\./,Fn=function(e,t){var r=xn[Nn(e)];return r==_n||r!=jn&&(Dn(t)?Bn(t):!!t)},Nn=Fn.normalize=function(e){return String(e).replace(Un,".").toLowerCase()},xn=Fn.data={},jn=Fn.NATIVE="N",_n=Fn.POLYFILL="P",Gn=Fn,Yn=i,zn=s.f,Kn=qt,Jn=Wr,Wn=Le,qn=function(e,t,r){for(var n=En(t),a=kn.f,o=Ln.f,i=0;i<n.length;i++){var s=n[i];On(e,s)||r&&On(r,s)||a(e,s,o(t,s))}},Vn=Gn,Zn=function(e,t){var r,n,a,o,i,s=e.target,h=e.global,c=e.stat;if(r=h?Yn:c?Yn[s]||Wn(s,{}):(Yn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=zn(r,n))&&i.value:r[n],!Vn(h?n:s+(c?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;qn(o,a)}(e.sham||a&&a.sham)&&Kn(o,"sham",!0),Jn(r,n,o,e)}},$n={};$n[nt("toStringTag")]="z";var Qn="[object z]"===String($n),Xn=K,ea=M,ta=nt("toStringTag"),ra=Object,na="Arguments"==ea(function(){return arguments}()),aa=Qn?ea:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=ra(e),ta))?r:na?ea(t):"Object"==(n=ea(t))&&Xn(t.callee)?"Arguments":n},oa=aa,ia=String,sa=function(e){if("Symbol"===oa(e))throw TypeError("Cannot convert a Symbol value to a string");return ia(e)},ha=Bt,ca=function(){var e=ha(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},la=h,ua=i.RegExp,fa=la((function(){var e=ua("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),da=fa||la((function(){return!ua("a","y").sticky})),ga={BROKEN_CARET:fa||la((function(){var e=ua("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:da,UNSUPPORTED_Y:fa},ma={},pa=vn,ya=Sn,ba=Object.keys||function(e){return pa(e,ya)},va=c,Sa=Ot,wa=Mt,Aa=Bt,Ha=_,Ra=ba;ma.f=va&&!Sa?Object.defineProperties:function(e,t){Aa(e);for(var r,n=Ha(t),a=Ra(t),o=a.length,i=0;o>i;)wa.f(e,r=a[i++],n[r]);return e};var Ta,Ca=Q("document","documentElement"),Ia=Bt,Pa=ma,Ma=Sn,Oa=pr,Ea=Ca,La=yt,ka=mr("IE_PROTO"),Ba=function(){},Da=function(e){return"<script>"+e+"</"+"script>"},Ua=function(e){e.write(Da("")),e.close();var t=e.parentWindow.Object;return e=null,t},Fa=function(){try{Ta=new ActiveXObject("htmlfile")}catch(e){}var e,t;Fa="undefined"!=typeof document?document.domain&&Ta?Ua(Ta):((t=La("iframe")).style.display="none",Ea.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Da("document.F=Object")),e.close(),e.F):Ua(Ta);for(var r=Ma.length;r--;)delete Fa.prototype[Ma[r]];return Fa()};Oa[ka]=!0;var Na,xa,ja=Object.create||function(e,t){var r;return null!==e?(Ba.prototype=Ia(e),r=new Ba,Ba.prototype=null,r[ka]=e):r=Fa(),void 0===t?r:Pa.f(r,t)},_a=h,Ga=i.RegExp,Ya=_a((function(){var e=Ga(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),za=h,Ka=i.RegExp,Ja=za((function(){var e=Ka("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Wa=d,qa=T,Va=sa,Za=ca,$a=ga,Qa=ja,Xa=Or.get,eo=Ya,to=Ja,ro=Pe("native-string-replace",String.prototype.replace),no=RegExp.prototype.exec,ao=no,oo=qa("".charAt),io=qa("".indexOf),so=qa("".replace),ho=qa("".slice),co=(xa=/b*/g,Wa(no,Na=/a/,"a"),Wa(no,xa,"a"),0!==Na.lastIndex||0!==xa.lastIndex),lo=$a.BROKEN_CARET,uo=void 0!==/()??/.exec("")[1];(co||uo||lo||eo||to)&&(ao=function(e){var t,r,n,a,o,i,s,h=this,c=Xa(h),l=Va(e),u=c.raw;if(u)return u.lastIndex=h.lastIndex,t=Wa(ao,u,l),h.lastIndex=u.lastIndex,t;var f=c.groups,d=lo&&h.sticky,g=Wa(Za,h),m=h.source,p=0,y=l;if(d&&(g=so(g,"y",""),-1===io(g,"g")&&(g+="g"),y=ho(l,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==oo(l,h.lastIndex-1))&&(m="(?: "+m+")",y=" "+y,p++),r=new RegExp("^(?:"+m+")",g)),uo&&(r=new RegExp("^"+m+"$(?!\\s)",g)),co&&(n=h.lastIndex),a=Wa(no,d?r:h,y),d?a?(a.input=ho(a.input,p),a[0]=ho(a[0],p),a.index=h.lastIndex,h.lastIndex+=a[0].length):h.lastIndex=0:co&&a&&(h.lastIndex=h.global?a.index+a[0].length:n),uo&&a&&a.length>1&&Wa(ro,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&f)for(a.groups=i=Qa(null),o=0;o<f.length;o++)i[(s=f[o])[0]]=a[s[1]];return a});Zn({target:"RegExp",proto:!0,forced:/./.exec!==ao},{exec:ao});var fo=yt("span").classList,go=fo&&fo.constructor&&fo.constructor.prototype,mo=go===Object.prototype?void 0:go,po=nt,yo=ja,bo=Mt.f,vo=po("unscopables"),So=Array.prototype;null==So[vo]&&bo(So,vo,{configurable:!0,value:yo(null)});var wo,Ao,Ho,Ro={},To=!h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Co=Ge,Io=K,Po=xe,Mo=To,Oo=mr("IE_PROTO"),Eo=Object,Lo=Eo.prototype,ko=Mo?Eo.getPrototypeOf:function(e){var t=Po(e);if(Co(t,Oo))return t[Oo];var r=t.constructor;return Io(r)&&t instanceof r?r.prototype:t instanceof Eo?Lo:null},Bo=h,Do=K,Uo=q,Fo=ko,No=Wr,xo=nt("iterator"),jo=!1;[].keys&&("next"in(Ho=[].keys())?(Ao=Fo(Fo(Ho)))!==Object.prototype&&(wo=Ao):jo=!0);var _o=!Uo(wo)||Bo((function(){var e={};return wo[xo].call(e)!==e}));_o&&(wo={}),Do(wo[xo])||No(wo,xo,(function(){return this}));var Go={IteratorPrototype:wo,BUGGY_SAFARI_ITERATORS:jo},Yo=Mt.f,zo=Ge,Ko=nt("toStringTag"),Jo=function(e,t,r){e&&!r&&(e=e.prototype),e&&!zo(e,Ko)&&Yo(e,Ko,{configurable:!0,value:t})},Wo=Go.IteratorPrototype,qo=ja,Vo=S,Zo=Jo,$o=Ro,Qo=function(){return this},Xo=function(e,t,r,n){var a=t+" Iterator";return e.prototype=qo(Wo,{next:Vo(+!n,r)}),Zo(e,a,!1),$o[a]=Qo,e},ei=K,ti=String,ri=TypeError,ni=T,ai=Bt,oi=function(e){if("object"==typeof e||ei(e))return e;throw ri("Can't set "+ti(e)+" as a prototype")},ii=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=ni(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return ai(r),oi(n),t?e(r,n):r.__proto__=n,r}}():void 0),si=Zn,hi=d,ci=K,li=Xo,ui=ko,fi=ii,di=Jo,gi=qt,mi=Wr,pi=Ro,yi=rr.PROPER,bi=rr.CONFIGURABLE,vi=Go.IteratorPrototype,Si=Go.BUGGY_SAFARI_ITERATORS,wi=nt("iterator"),Ai="keys",Hi="values",Ri="entries",Ti=function(){return this},Ci=function(e,t,r,n,a,o,i){li(r,t,n);var s,h,c,l=function(e){if(e===a&&m)return m;if(!Si&&e in d)return d[e];switch(e){case Ai:case Hi:case Ri:return function(){return new r(this,e)}}return function(){return new r(this)}},u=t+" Iterator",f=!1,d=e.prototype,g=d[wi]||d["@@iterator"]||a&&d[a],m=!Si&&g||l(a),p="Array"==t&&d.entries||g;if(p&&(s=ui(p.call(new e)))!==Object.prototype&&s.next&&(ui(s)!==vi&&(fi?fi(s,vi):ci(s[wi])||mi(s,wi,Ti)),di(s,u,!0)),yi&&a==Hi&&g&&g.name!==Hi&&(bi?gi(d,"name",Hi):(f=!0,m=function(){return hi(g,this)})),a)if(h={values:l(Hi),keys:o?m:l(Ai),entries:l(Ri)},i)for(c in h)(Si||f||!(c in d))&&mi(d,c,h[c]);else si({target:t,proto:!0,forced:Si||f},h);return d[wi]!==m&&mi(d,wi,m,{name:a}),pi[t]=m,h},Ii=function(e,t){return{value:e,done:t}},Pi=_,Mi=function(e){So[vo][e]=!0},Oi=Ro,Ei=Or,Li=Mt.f,ki=Ci,Bi=Ii,Di=c,Ui="Array Iterator",Fi=Ei.set,Ni=Ei.getterFor(Ui),xi=ki(Array,"Array",(function(e,t){Fi(this,{type:Ui,target:Pi(e),index:0,kind:t})}),(function(){var e=Ni(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,Bi(void 0,!0)):Bi("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values"),ji=Oi.Arguments=Oi.Array;if(Mi("keys"),Mi("values"),Mi("entries"),Di&&"values"!==ji.name)try{Li(ji,"name",{value:"values"})}catch(e){}var _i=i,Gi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Yi=mo,zi=xi,Ki=qt,Ji=nt,Wi=Ji("iterator"),qi=Ji("toStringTag"),Vi=zi.values,Zi=function(e,t){if(e){if(e[Wi]!==Vi)try{Ki(e,Wi,Vi)}catch(t){e[Wi]=Vi}if(e[qi]||Ki(e,qi,t),Gi[t])for(var r in zi)if(e[r]!==zi[r])try{Ki(e,r,zi[r])}catch(t){e[r]=zi[r]}}};for(var $i in Gi)Zi(_i[$i]&&_i[$i].prototype,$i);Zi(Yi,"DOMTokenList");var Qi=T,Xi=Qr,es=sa,ts=N,rs=Qi("".charAt),ns=Qi("".charCodeAt),as=Qi("".slice),os=function(e){return function(t,r){var n,a,o=es(ts(t)),i=Xi(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=ns(o,i))<55296||n>56319||i+1===s||(a=ns(o,i+1))<56320||a>57343?e?rs(o,i):n:e?as(o,i,i+2):a-56320+(n-55296<<10)+65536}},is={codeAt:os(!1),charAt:os(!0)},ss=is.charAt,hs=sa,cs=Or,ls=Ci,us=Ii,fs="String Iterator",ds=cs.set,gs=cs.getterFor(fs);ls(String,"String",(function(e){ds(this,{type:fs,string:hs(e),index:0})}),(function(){var e,t=gs(this),r=t.string,n=t.index;return n>=r.length?us(void 0,!0):(e=ss(r,n),t.index+=e.length,us(e,!1))}));var ms=h,ps=nt("iterator"),ys=!ms((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[ps]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),bs=M,vs=T,Ss=function(e){if("Function"===bs(e))return vs(e)},ws=Se,As=l,Hs=Ss(Ss.bind),Rs=function(e,t){return ws(e),void 0===t?e:As?Hs(e,t):function(){return e.apply(t,arguments)}},Ts=Vt,Cs=Mt,Is=X,Ps=TypeError,Ms=function(e,t){if(Is(t,e))return e;throw Ps("Incorrect invocation")},Os=c,Es=T,Ls=d,ks=h,Bs=ba,Ds=Hn,Us=g,Fs=xe,Ns=B,xs=Object.assign,js=Object.defineProperty,_s=Es([].concat),Gs=!xs||ks((function(){if(Os&&1!==xs({b:1},xs(js({},"a",{enumerable:!0,get:function(){js(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=xs({},e)[r]||Bs(xs({},t)).join("")!=n}))?function(e,t){for(var r=Fs(e),n=arguments.length,a=1,o=Ds.f,i=Us.f;n>a;)for(var s,h=Ns(arguments[a++]),c=o?_s(Bs(h),o(h)):Bs(h),l=c.length,u=0;l>u;)s=c[u++],Os&&!Ls(i,h,s)||(r[s]=h[s]);return r}:xs,Ys=d,zs=Bt,Ks=He,Js=Bt,Ws=function(e,t,r){var n,a;zs(e);try{if(!(n=Ks(e,"return"))){if("throw"===t)throw r;return r}n=Ys(n,e)}catch(e){a=!0,n=e}if("throw"===t)throw r;if(a)throw n;return zs(n),r},qs=Ro,Vs=nt("iterator"),Zs=Array.prototype,$s=T,Qs=h,Xs=K,eh=aa,th=cr,rh=function(){},nh=[],ah=Q("Reflect","construct"),oh=/^\s*(?:class|function)\b/,ih=$s(oh.exec),sh=!oh.exec(rh),hh=function(e){if(!Xs(e))return!1;try{return ah(rh,nh,e),!0}catch(e){return!1}},ch=function(e){if(!Xs(e))return!1;switch(eh(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return sh||!!ih(oh,th(e))}catch(e){return!0}};ch.sham=!0;var lh=!ah||Qs((function(){var e;return hh(hh.call)||!hh(Object)||!hh((function(){e=!0}))||e}))?ch:hh,uh=dt,fh=Mt,dh=S,gh=function(e,t,r){var n=uh(t);n in e?fh.f(e,n,dh(0,r)):e[n]=r},mh=aa,ph=He,yh=D,bh=Ro,vh=nt("iterator"),Sh=function(e){if(!yh(e))return ph(e,vh)||ph(e,"@@iterator")||bh[mh(e)]},wh=d,Ah=Se,Hh=Bt,Rh=pe,Th=Sh,Ch=TypeError,Ih=function(e,t){var r=arguments.length<2?Th(e):t;if(Ah(r))return Hh(wh(r,e));throw Ch(Rh(e)+" is not iterable")},Ph=Rs,Mh=d,Oh=xe,Eh=function(e,t,r,n){try{return n?t(Js(r)[0],r[1]):t(r)}catch(t){Ws(e,"throw",t)}},Lh=function(e){return void 0!==e&&(qs.Array===e||Zs[Vs]===e)},kh=lh,Bh=hn,Dh=gh,Uh=Ih,Fh=Sh,Nh=Array,xh=rn,jh=hn,_h=gh,Gh=Array,Yh=Math.max,zh=function(e,t,r){for(var n=jh(e),a=xh(t,n),o=xh(void 0===r?n:r,n),i=Gh(Yh(o-a,0)),s=0;a<o;a++,s++)_h(i,s,e[a]);return i.length=s,i},Kh=T,Jh=2147483647,Wh=/[^\0-\u007E]/,qh=/[.\u3002\uFF0E\uFF61]/g,Vh="Overflow: input needs wider integers to process",Zh=RangeError,$h=Kh(qh.exec),Qh=Math.floor,Xh=String.fromCharCode,ec=Kh("".charCodeAt),tc=Kh([].join),rc=Kh([].push),nc=Kh("".replace),ac=Kh("".split),oc=Kh("".toLowerCase),ic=function(e){return e+22+75*(e<26)},sc=function(e,t,r){var n=0;for(e=r?Qh(e/700):e>>1,e+=Qh(e/t);e>455;)e=Qh(e/35),n+=36;return Qh(n+36*e/(e+38))},hc=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=ec(e,r++);if(a>=55296&&a<=56319&&r<n){var o=ec(e,r++);56320==(64512&o)?rc(t,((1023&a)<<10)+(1023&o)+65536):(rc(t,a),r--)}else rc(t,a)}return t}(e);var r,n,a=e.length,o=128,i=0,s=72;for(r=0;r<e.length;r++)(n=e[r])<128&&rc(t,Xh(n));var h=t.length,c=h;for(h&&rc(t,"-");c<a;){var l=Jh;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<l&&(l=n);var u=c+1;if(l-o>Qh((Jh-i)/u))throw Zh(Vh);for(i+=(l-o)*u,o=l,r=0;r<e.length;r++){if((n=e[r])<o&&++i>Jh)throw Zh(Vh);if(n==o){for(var f=i,d=36;;){var g=d<=s?1:d>=s+26?26:d-s;if(f<g)break;var m=f-g,p=36-g;rc(t,Xh(ic(g+m%p))),f=Qh(m/p),d+=36}rc(t,Xh(ic(f))),s=sc(i,u,c==h),i=0,c++}}i++,o++}return tc(t,"")},cc=TypeError,lc=function(e,t){if(e<t)throw cc("Not enough arguments");return e},uc=Wr,fc=zh,dc=Math.floor,gc=function(e,t){var r=e.length,n=dc(r/2);return r<8?mc(e,t):pc(e,gc(fc(e,0,n),t),gc(fc(e,n),t),t)},mc=function(e,t){for(var r,n,a=e.length,o=1;o<a;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},pc=function(e,t,r,n){for(var a=t.length,o=r.length,i=0,s=0;i<a||s<o;)e[i+s]=i<a&&s<o?n(t[i],r[s])<=0?t[i++]:r[s++]:i<a?t[i++]:r[s++];return e},yc=Zn,bc=i,vc=d,Sc=T,wc=c,Ac=ys,Hc=Wr,Rc=function(e,t,r){for(var n in t)uc(e,n,t[n],r);return e},Tc=Jo,Cc=Xo,Ic=Or,Pc=Ms,Mc=K,Oc=Ge,Ec=Rs,Lc=aa,kc=Bt,Bc=q,Dc=sa,Uc=ja,Fc=S,Nc=Ih,xc=Sh,jc=lc,_c=gc,Gc=nt("iterator"),Yc="URLSearchParams",zc="URLSearchParamsIterator",Kc=Ic.set,Jc=Ic.getterFor(Yc),Wc=Ic.getterFor(zc),qc=Object.getOwnPropertyDescriptor,Vc=function(e){if(!wc)return bc[e];var t=qc(bc,e);return t&&t.value},Zc=Vc("fetch"),$c=Vc("Request"),Qc=Vc("Headers"),Xc=$c&&$c.prototype,el=Qc&&Qc.prototype,tl=bc.RegExp,rl=bc.TypeError,nl=bc.decodeURIComponent,al=bc.encodeURIComponent,ol=Sc("".charAt),il=Sc([].join),sl=Sc([].push),hl=Sc("".replace),cl=Sc([].shift),ll=Sc([].splice),ul=Sc("".split),fl=Sc("".slice),dl=/\+/g,gl=Array(4),ml=function(e){return gl[e-1]||(gl[e-1]=tl("((?:%[\\da-f]{2}){"+e+"})","gi"))},pl=function(e){try{return nl(e)}catch(t){return e}},yl=function(e){var t=hl(e,dl," "),r=4;try{return nl(t)}catch(e){for(;r;)t=hl(t,ml(r--),pl);return t}},bl=/[!'()~]|%20/g,vl={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Sl=function(e){return vl[e]},wl=function(e){return hl(al(e),bl,Sl)},Al=Cc((function(e,t){Kc(this,{type:zc,iterator:Nc(Jc(e).entries),kind:t})}),"Iterator",(function(){var e=Wc(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),Hl=function(e){this.entries=[],this.url=null,void 0!==e&&(Bc(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===ol(e,0)?fl(e,1):e:Dc(e)))};Hl.prototype={type:Yc,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,o,i,s,h=xc(e);if(h)for(r=(t=Nc(e,h)).next;!(n=vc(r,t)).done;){if(o=(a=Nc(kc(n.value))).next,(i=vc(o,a)).done||(s=vc(o,a)).done||!vc(o,a).done)throw rl("Expected sequence with length 2");sl(this.entries,{key:Dc(i.value),value:Dc(s.value)})}else for(var c in e)Oc(e,c)&&sl(this.entries,{key:c,value:Dc(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=ul(e,"&"),a=0;a<n.length;)(t=n[a++]).length&&(r=ul(t,"="),sl(this.entries,{key:yl(cl(r)),value:yl(il(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],sl(r,wl(e.key)+"="+wl(e.value));return il(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Rl=function(){Pc(this,Tl);var e=arguments.length>0?arguments[0]:void 0;Kc(this,new Hl(e))},Tl=Rl.prototype;if(Rc(Tl,{append:function(e,t){jc(arguments.length,2);var r=Jc(this);sl(r.entries,{key:Dc(e),value:Dc(t)}),r.updateURL()},delete:function(e){jc(arguments.length,1);for(var t=Jc(this),r=t.entries,n=Dc(e),a=0;a<r.length;)r[a].key===n?ll(r,a,1):a++;t.updateURL()},get:function(e){jc(arguments.length,1);for(var t=Jc(this).entries,r=Dc(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){jc(arguments.length,1);for(var t=Jc(this).entries,r=Dc(e),n=[],a=0;a<t.length;a++)t[a].key===r&&sl(n,t[a].value);return n},has:function(e){jc(arguments.length,1);for(var t=Jc(this).entries,r=Dc(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){jc(arguments.length,1);for(var r,n=Jc(this),a=n.entries,o=!1,i=Dc(e),s=Dc(t),h=0;h<a.length;h++)(r=a[h]).key===i&&(o?ll(a,h--,1):(o=!0,r.value=s));o||sl(a,{key:i,value:s}),n.updateURL()},sort:function(){var e=Jc(this);_c(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=Jc(this).entries,n=Ec(e,arguments.length>1?arguments[1]:void 0),a=0;a<r.length;)n((t=r[a++]).value,t.key,this)},keys:function(){return new Al(this,"keys")},values:function(){return new Al(this,"values")},entries:function(){return new Al(this,"entries")}},{enumerable:!0}),Hc(Tl,Gc,Tl.entries,{name:"entries"}),Hc(Tl,"toString",(function(){return Jc(this).serialize()}),{enumerable:!0}),Tc(Rl,Yc),yc({global:!0,constructor:!0,forced:!Ac},{URLSearchParams:Rl}),!Ac&&Mc(Qc)){var Cl=Sc(el.has),Il=Sc(el.set),Pl=function(e){if(Bc(e)){var t,r=e.body;if(Lc(r)===Yc)return t=e.headers?new Qc(e.headers):new Qc,Cl(t,"content-type")||Il(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Uc(e,{body:Fc(0,Dc(r)),headers:Fc(0,t)})}return e};if(Mc(Zc)&&yc({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return Zc(e,arguments.length>1?Pl(arguments[1]):{})}}),Mc($c)){var Ml=function(e){return Pc(this,Xc),new $c(e,arguments.length>1?Pl(arguments[1]):{})};Xc.constructor=Ml,Ml.prototype=Xc,yc({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ml})}}var Ol,El=Zn,Ll=c,kl=ys,Bl=i,Dl=Rs,Ul=T,Fl=Wr,Nl=function(e,t,r){return r.get&&Ts(r.get,t,{getter:!0}),r.set&&Ts(r.set,t,{setter:!0}),Cs.f(e,t,r)},xl=Ms,jl=Ge,_l=Gs,Gl=function(e){var t=Oh(e),r=kh(this),n=arguments.length,a=n>1?arguments[1]:void 0,o=void 0!==a;o&&(a=Ph(a,n>2?arguments[2]:void 0));var i,s,h,c,l,u,f=Fh(t),d=0;if(!f||this===Nh&&Lh(f))for(i=Bh(t),s=r?new this(i):Nh(i);i>d;d++)u=o?a(t[d],d):t[d],Dh(s,d,u);else for(l=(c=Uh(t,f)).next,s=r?new this:[];!(h=Mh(l,c)).done;d++)u=o?Eh(c,a,[h.value,d],!0):h.value,Dh(s,d,u);return s.length=d,s},Yl=zh,zl=is.codeAt,Kl=function(e){var t,r,n=[],a=ac(nc(oc(e),qh,"."),".");for(t=0;t<a.length;t++)r=a[t],rc(n,$h(Wh,r)?"xn--"+hc(r):r);return tc(n,".")},Jl=sa,Wl=Jo,ql=lc,Vl={URLSearchParams:Rl,getState:Jc},Zl=Or,$l=Zl.set,Ql=Zl.getterFor("URL"),Xl=Vl.URLSearchParams,eu=Vl.getState,tu=Bl.URL,ru=Bl.TypeError,nu=Bl.parseInt,au=Math.floor,ou=Math.pow,iu=Ul("".charAt),su=Ul(/./.exec),hu=Ul([].join),cu=Ul(1..toString),lu=Ul([].pop),uu=Ul([].push),fu=Ul("".replace),du=Ul([].shift),gu=Ul("".split),mu=Ul("".slice),pu=Ul("".toLowerCase),yu=Ul([].unshift),bu="Invalid scheme",vu="Invalid host",Su="Invalid port",wu=/[a-z]/i,Au=/[\d+-.a-z]/i,Hu=/\d/,Ru=/^0x/i,Tu=/^[0-7]+$/,Cu=/^\d+$/,Iu=/^[\da-f]+$/i,Pu=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Mu=/[\0\t\n\r #/:<>?@[\\\]^|]/,Ou=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,Eu=/[\t\n\r]/g,Lu=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)yu(t,e%256),e=au(e/256);return hu(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,a=0,o=0;o<8;o++)0!==e[o]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=o),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=cu(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ku={},Bu=_l({},ku,{" ":1,'"':1,"<":1,">":1,"`":1}),Du=_l({},Bu,{"#":1,"?":1,"{":1,"}":1}),Uu=_l({},Du,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Fu=function(e,t){var r=zl(e,0);return r>32&&r<127&&!jl(t,e)?e:encodeURIComponent(e)},Nu={ftp:21,file:null,http:80,https:443,ws:80,wss:443},xu=function(e,t){var r;return 2==e.length&&su(wu,iu(e,0))&&(":"==(r=iu(e,1))||!t&&"|"==r)},ju=function(e){var t;return e.length>1&&xu(mu(e,0,2))&&(2==e.length||"/"===(t=iu(e,2))||"\\"===t||"?"===t||"#"===t)},_u=function(e){return"."===e||"%2e"===pu(e)},Gu={},Yu={},zu={},Ku={},Ju={},Wu={},qu={},Vu={},Zu={},$u={},Qu={},Xu={},ef={},tf={},rf={},nf={},af={},of={},sf={},hf={},cf={},lf=function(e,t,r){var n,a,o,i=Jl(e);if(t){if(a=this.parse(i))throw ru(a);this.searchParams=null}else{if(void 0!==r&&(n=new lf(r,!0)),a=this.parse(i,null,n))throw ru(a);(o=eu(new Xl)).bindURL(this),this.searchParams=o}};lf.prototype={type:"URL",parse:function(e,t,r){var n,a,o,i,s,h=this,c=t||Gu,l=0,u="",f=!1,d=!1,g=!1;for(e=Jl(e),t||(h.scheme="",h.username="",h.password="",h.host=null,h.port=null,h.path=[],h.query=null,h.fragment=null,h.cannotBeABaseURL=!1,e=fu(e,Ou,"")),e=fu(e,Eu,""),n=Gl(e);l<=n.length;){switch(a=n[l],c){case Gu:if(!a||!su(wu,a)){if(t)return bu;c=zu;continue}u+=pu(a),c=Yu;break;case Yu:if(a&&(su(Au,a)||"+"==a||"-"==a||"."==a))u+=pu(a);else{if(":"!=a){if(t)return bu;u="",c=zu,l=0;continue}if(t&&(h.isSpecial()!=jl(Nu,u)||"file"==u&&(h.includesCredentials()||null!==h.port)||"file"==h.scheme&&!h.host))return;if(h.scheme=u,t)return void(h.isSpecial()&&Nu[h.scheme]==h.port&&(h.port=null));u="","file"==h.scheme?c=tf:h.isSpecial()&&r&&r.scheme==h.scheme?c=Ku:h.isSpecial()?c=Vu:"/"==n[l+1]?(c=Ju,l++):(h.cannotBeABaseURL=!0,uu(h.path,""),c=sf)}break;case zu:if(!r||r.cannotBeABaseURL&&"#"!=a)return bu;if(r.cannotBeABaseURL&&"#"==a){h.scheme=r.scheme,h.path=Yl(r.path),h.query=r.query,h.fragment="",h.cannotBeABaseURL=!0,c=cf;break}c="file"==r.scheme?tf:Wu;continue;case Ku:if("/"!=a||"/"!=n[l+1]){c=Wu;continue}c=Zu,l++;break;case Ju:if("/"==a){c=$u;break}c=of;continue;case Wu:if(h.scheme=r.scheme,a==Ol)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Yl(r.path),h.query=r.query;else if("/"==a||"\\"==a&&h.isSpecial())c=qu;else if("?"==a)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Yl(r.path),h.query="",c=hf;else{if("#"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Yl(r.path),h.path.length--,c=of;continue}h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Yl(r.path),h.query=r.query,h.fragment="",c=cf}break;case qu:if(!h.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,c=of;continue}c=$u}else c=Zu;break;case Vu:if(c=Zu,"/"!=a||"/"!=iu(u,l+1))continue;l++;break;case Zu:if("/"!=a&&"\\"!=a){c=$u;continue}break;case $u:if("@"==a){f&&(u="%40"+u),f=!0,o=Gl(u);for(var m=0;m<o.length;m++){var p=o[m];if(":"!=p||g){var y=Fu(p,Uu);g?h.password+=y:h.username+=y}else g=!0}u=""}else if(a==Ol||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(f&&""==u)return"Invalid authority";l-=Gl(u).length+1,u="",c=Qu}else u+=a;break;case Qu:case Xu:if(t&&"file"==h.scheme){c=nf;continue}if(":"!=a||d){if(a==Ol||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(h.isSpecial()&&""==u)return vu;if(t&&""==u&&(h.includesCredentials()||null!==h.port))return;if(i=h.parseHost(u))return i;if(u="",c=af,t)return;continue}"["==a?d=!0:"]"==a&&(d=!1),u+=a}else{if(""==u)return vu;if(i=h.parseHost(u))return i;if(u="",c=ef,t==Xu)return}break;case ef:if(!su(Hu,a)){if(a==Ol||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()||t){if(""!=u){var b=nu(u,10);if(b>65535)return Su;h.port=h.isSpecial()&&b===Nu[h.scheme]?null:b,u=""}if(t)return;c=af;continue}return Su}u+=a;break;case tf:if(h.scheme="file","/"==a||"\\"==a)c=rf;else{if(!r||"file"!=r.scheme){c=of;continue}if(a==Ol)h.host=r.host,h.path=Yl(r.path),h.query=r.query;else if("?"==a)h.host=r.host,h.path=Yl(r.path),h.query="",c=hf;else{if("#"!=a){ju(hu(Yl(n,l),""))||(h.host=r.host,h.path=Yl(r.path),h.shortenPath()),c=of;continue}h.host=r.host,h.path=Yl(r.path),h.query=r.query,h.fragment="",c=cf}}break;case rf:if("/"==a||"\\"==a){c=nf;break}r&&"file"==r.scheme&&!ju(hu(Yl(n,l),""))&&(xu(r.path[0],!0)?uu(h.path,r.path[0]):h.host=r.host),c=of;continue;case nf:if(a==Ol||"/"==a||"\\"==a||"?"==a||"#"==a){if(!t&&xu(u))c=of;else if(""==u){if(h.host="",t)return;c=af}else{if(i=h.parseHost(u))return i;if("localhost"==h.host&&(h.host=""),t)return;u="",c=af}continue}u+=a;break;case af:if(h.isSpecial()){if(c=of,"/"!=a&&"\\"!=a)continue}else if(t||"?"!=a)if(t||"#"!=a){if(a!=Ol&&(c=of,"/"!=a))continue}else h.fragment="",c=cf;else h.query="",c=hf;break;case of:if(a==Ol||"/"==a||"\\"==a&&h.isSpecial()||!t&&("?"==a||"#"==a)){if(".."===(s=pu(s=u))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(h.shortenPath(),"/"==a||"\\"==a&&h.isSpecial()||uu(h.path,"")):_u(u)?"/"==a||"\\"==a&&h.isSpecial()||uu(h.path,""):("file"==h.scheme&&!h.path.length&&xu(u)&&(h.host&&(h.host=""),u=iu(u,0)+":"),uu(h.path,u)),u="","file"==h.scheme&&(a==Ol||"?"==a||"#"==a))for(;h.path.length>1&&""===h.path[0];)du(h.path);"?"==a?(h.query="",c=hf):"#"==a&&(h.fragment="",c=cf)}else u+=Fu(a,Du);break;case sf:"?"==a?(h.query="",c=hf):"#"==a?(h.fragment="",c=cf):a!=Ol&&(h.path[0]+=Fu(a,ku));break;case hf:t||"#"!=a?a!=Ol&&("'"==a&&h.isSpecial()?h.query+="%27":h.query+="#"==a?"%23":Fu(a,ku)):(h.fragment="",c=cf);break;case cf:a!=Ol&&(h.fragment+=Fu(a,Bu))}l++}},parseHost:function(e){var t,r,n;if("["==iu(e,0)){if("]"!=iu(e,e.length-1))return vu;if(t=function(e){var t,r,n,a,o,i,s,h=[0,0,0,0,0,0,0,0],c=0,l=null,u=0,f=function(){return iu(e,u)};if(":"==f()){if(":"!=iu(e,1))return;u+=2,l=++c}for(;f();){if(8==c)return;if(":"!=f()){for(t=r=0;r<4&&su(Iu,f());)t=16*t+nu(f(),16),u++,r++;if("."==f()){if(0==r)return;if(u-=r,c>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;u++}if(!su(Hu,f()))return;for(;su(Hu,f());){if(o=nu(f(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;u++}h[c]=256*h[c]+a,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==f()){if(u++,!f())return}else if(f())return;h[c++]=t}else{if(null!==l)return;u++,l=++c}}if(null!==l)for(i=c-l,c=7;0!=c&&i>0;)s=h[c],h[c--]=h[l+i-1],h[l+--i]=s;else if(8!=c)return;return h}(mu(e,1,-1)),!t)return vu;this.host=t}else if(this.isSpecial()){if(e=Kl(e),su(Pu,e))return vu;if(t=function(e){var t,r,n,a,o,i,s,h=gu(e,".");if(h.length&&""==h[h.length-1]&&h.length--,(t=h.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=h[n]))return e;if(o=10,a.length>1&&"0"==iu(a,0)&&(o=su(Ru,a)?16:8,a=mu(a,8==o?1:2)),""===a)i=0;else{if(!su(10==o?Cu:8==o?Tu:Iu,a))return e;i=nu(a,o)}uu(r,i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=ou(256,5-t))return null}else if(i>255)return null;for(s=lu(r),n=0;n<r.length;n++)s+=r[n]*ou(256,3-n);return s}(e),null===t)return vu;this.host=t}else{if(su(Mu,e))return vu;for(t="",r=Gl(e),n=0;n<r.length;n++)t+=Fu(r[n],ku);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return jl(Nu,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&xu(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,a=e.host,o=e.port,i=e.path,s=e.query,h=e.fragment,c=t+":";return null!==a?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=Lu(a),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+hu(i,"/"):"",null!==s&&(c+="?"+s),null!==h&&(c+="#"+h),c},setHref:function(e){var t=this.parse(e);if(t)throw ru(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new uf(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+Lu(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Jl(e)+":",Gu)},getUsername:function(){return this.username},setUsername:function(e){var t=Gl(Jl(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Fu(t[r],Uu)}},getPassword:function(){return this.password},setPassword:function(e){var t=Gl(Jl(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Fu(t[r],Uu)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?Lu(e):Lu(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Qu)},getHostname:function(){var e=this.host;return null===e?"":Lu(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Xu)},getPort:function(){var e=this.port;return null===e?"":Jl(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=Jl(e))?this.port=null:this.parse(e,ef))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+hu(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,af))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=Jl(e))?this.query=null:("?"==iu(e,0)&&(e=mu(e,1)),this.query="",this.parse(e,hf)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=Jl(e))?("#"==iu(e,0)&&(e=mu(e,1)),this.fragment="",this.parse(e,cf)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var uf=function(e){var t=xl(this,ff),r=ql(arguments.length,1)>1?arguments[1]:void 0,n=$l(t,new lf(e,!1,r));Ll||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},ff=uf.prototype,df=function(e,t){return{get:function(){return Ql(this)[e]()},set:t&&function(e){return Ql(this)[t](e)},configurable:!0,enumerable:!0}};if(Ll&&(Nl(ff,"href",df("serialize","setHref")),Nl(ff,"origin",df("getOrigin")),Nl(ff,"protocol",df("getProtocol","setProtocol")),Nl(ff,"username",df("getUsername","setUsername")),Nl(ff,"password",df("getPassword","setPassword")),Nl(ff,"host",df("getHost","setHost")),Nl(ff,"hostname",df("getHostname","setHostname")),Nl(ff,"port",df("getPort","setPort")),Nl(ff,"pathname",df("getPathname","setPathname")),Nl(ff,"search",df("getSearch","setSearch")),Nl(ff,"searchParams",df("getSearchParams")),Nl(ff,"hash",df("getHash","setHash"))),Fl(ff,"toJSON",(function(){return Ql(this).serialize()}),{enumerable:!0}),Fl(ff,"toString",(function(){return Ql(this).serialize()}),{enumerable:!0}),tu){var gf=tu.createObjectURL,mf=tu.revokeObjectURL;gf&&Fl(uf,"createObjectURL",Dl(gf,tu)),mf&&Fl(uf,"revokeObjectURL",Dl(mf,tu))}Wl(uf,"URL"),El({global:!0,constructor:!0,forced:!kl,sham:!Ll},{URL:uf});var pf,yf=q,bf=M,vf=nt("match"),Sf=function(e){var t;return yf(e)&&(void 0!==(t=e[vf])?!!t:"RegExp"==bf(e))},wf=TypeError,Af=nt("match"),Hf=Zn,Rf=Ss,Tf=s.f,Cf=on,If=sa,Pf=function(e){if(Sf(e))throw wf("The method doesn't accept regular expressions");return e},Mf=N,Of=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Af]=!1,"/./"[e](t)}catch(e){}}return!1},Ef=Rf("".startsWith),Lf=Rf("".slice),kf=Math.min,Bf=Of("startsWith");Hf({target:"String",proto:!0,forced:!!(Bf||(pf=Tf(String.prototype,"startsWith"),!pf||pf.writable))&&!Bf},{startsWith:function(e){var t=If(Mf(this));Pf(e);var r=Cf(kf(arguments.length>1?arguments[1]:void 0,t.length)),n=If(e);return Ef?Ef(t,n,r):Lf(t,r,r+n.length)===n}});var Df=d,Uf=Ge,Ff=X,Nf=ca,xf=RegExp.prototype,jf=rr.PROPER,_f=Wr,Gf=Bt,Yf=sa,zf=h,Kf=function(e){var t=e.flags;return void 0!==t||"flags"in xf||Uf(e,"flags")||!Ff(xf,e)?t:Df(Nf,e)},Jf="toString",Wf=RegExp.prototype.toString,qf=zf((function(){return"/a/b"!=Wf.call({source:"a",flags:"b"})})),Vf=jf&&Wf.name!=Jf;(qf||Vf)&&_f(RegExp.prototype,Jf,(function(){var e=Gf(this);return"/"+Yf(e.source)+"/"+Yf(Kf(e))}),{unsafe:!0});var Zf={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah",Sukkot:"Feast of Booths","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"},$f={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Democratic Republic of the Congo",CF:"Central African Republic",CG:"Republic of the Congo",CH:"Switzerland",CI:"Ivory Coast",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curacao",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GE:"Georgia",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GQ:"Equatorial Guinea",GR:"Greece",GT:"Guatemala",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MP:"Northern Mariana Islands",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PR:"Puerto Rico",PT:"Portugal",PY:"Paraguay",QA:"Qatar",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SK:"Slovakia",SL:"Sierra Leone",SN:"Senegal",SO:"Somalia",SR:"Suriname",ST:"Sao Tome and Principe",SV:"El Salvador",SY:"Syria",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TM:"Turkmenistan",TN:"Tunisia",TR:"Turkey",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VN:"Vietnam",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"};function Qf(e){if("object"==typeof e&&null!==e&&"string"==typeof e.name){const t={title:e.getName(),city:e.getShortName(),tzid:e.getTzid(),latitude:e.getLatitude(),longitude:e.getLongitude(),cc:e.getCountryCode(),country:$f[e.getCountryCode()]};return["admin1","asciiname","geo","zip","state","stateName","geonameid"].forEach((r=>{e[r]&&(t[r]=e[r])})),t}return{geo:"none"}}function Xf(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function ed(e){return e<10?"0"+e:""+e}function td(e){return e<0?"-00"+td(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function rd(e){return td(e.getFullYear())+"-"+ed(e.getMonth()+1)+"-"+ed(e.getDate())}const nd=[[t.flags.MAJOR_FAST,"holiday","major","fast"],[t.flags.CHANUKAH_CANDLES,"holiday","major"],[t.flags.DAF_YOMI,"dafyomi"],[t.flags.HEBREW_DATE,"hebdate"],[t.flags.MINOR_FAST,"holiday","fast"],[t.flags.MINOR_HOLIDAY,"holiday","minor"],[t.flags.MISHNA_YOMI,"mishnayomi"],[t.flags.NACH_YOMI,"nachyomi"],[t.flags.YERUSHALMI_YOMI,"yerushalmi"],[t.flags.MODERN_HOLIDAY,"holiday","modern"],[t.flags.MOLAD,"molad"],[t.flags.OMER_COUNT,"omer"],[t.flags.PARSHA_HASHAVUA,"parashat"],[t.flags.ROSH_CHODESH,"roshchodesh"],[t.flags.SHABBAT_MEVARCHIM,"mevarchim"],[t.flags.SPECIAL_SHABBAT,"holiday","shabbat"],[t.flags.USER_EVENT,"user"]];function ad(e){const t=e.getDesc();switch(t){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];const r=e.getFlags();for(let e=0;e<nd.length;e++){const t=nd[e];if(r&t[0])return t.slice(1)}switch(t){case"Lag BaOmer":case"Leil Selichot":case"Pesach Sheni":case"Erev Purim":case"Purim Katan":case"Shushan Purim":case"Tu B'Av":case"Tu BiShvat":case"Rosh Hashana LaBehemot":return["holiday","minor"];default:return["holiday","major"]}}function od(e,t){let r="Hebcal";const n=t.location;if(t.yahrzeit)r+=" Yahrzeits and Anniversaries";else if(n&&n.name){const e=n.name.indexOf(",");r+=" "+(-1==e?n.name:n.name.substring(0,e))}else t.il?r+=" Israel":r+=" Diaspora";if("1"==t.subscribe)return r;if(t.year&&(t.isHebrewYear||0==e.length))r+=" "+t.year;else if(e.length){const t=e[0].getDate().greg(),n=e[e.length-1].getDate().greg();if(t.getFullYear()!=n.getFullYear())r+=" "+t.getFullYear()+"-"+n.getFullYear();else if(t.getMonth()==n.getMonth()){r+=" "+new Intl.DateTimeFormat("en-US",{month:"long"}).format(t)+" "+t.getFullYear()}else r+=" "+t.getFullYear()}return r}function id(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=Zf[e.getDesc()]||Zf[e.basename()]||"";if(t&&r){const e=r.indexOf(".");if(-1!=e)return r.substring(0,e)}return r}const sd=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.HEBREW_DATE|t.flags.YERUSHALMI_YOMI;function hd(e,n){const a=e.getFlags();if(a&sd)return"";if(void 0!==e.eventTime)return"";const o=a&t.flags.PARSHA_HASHAVUA?r.getLeyningForParshaHaShavua(e,n):r.getLeyningForHoliday(e,n);let i="";return o&&(o.summary||o.haftara)&&(o.summary&&(i+="Torah: ".concat(o.summary)),o.summary&&o.haftara&&(i+="\n"),o.haftara&&(i+="Haftarah: "+o.haftara,o.reason&&o.reason.haftara&&(i+=" | "+o.reason.haftara))),o&&o.sephardic&&(i+="\nHaftarah for Sephardim: "+o.sephardic),i}function cd(e,r){if(e.getFlags()&t.flags.PARSHA_HASHAVUA)try{const t=hd(e,r);if(t)return t}catch(e){}return e.memo||Zf[e.basename()]}function ld(e,t,r,n,a){const o=new URL(e),i="www.hebcal.com"===o.host;if(i){t&&o.searchParams.set("i","on");const e=o.pathname,i=e.startsWith("/holidays/"),s=e.startsWith("/sedrot/"),h=e.startsWith("/omer/");if(i||s||h)return o.host="hebcal.com",o.pathname=i?"/h/"+e.substring(10):s?"/s/"+e.substring(8):"/o/"+e.substring(6),a&&(a.startsWith("ical-")||a.startsWith("pdf-"))||(r&&o.searchParams.set("us",r),n&&o.searchParams.set("um",n)),a&&o.searchParams.set("uc",a),o.toString()}return(r=i?r:"hebcal.com")&&o.searchParams.set("utm_source",r),n&&o.searchParams.set("utm_medium",n),a&&o.searchParams.set("utm_campaign",a),o.toString()}function ud(e){if(void 0!==e.eventTime)return!0;const r=e.getFlags();if(r&t.flags.HEBREW_DATE){return 1!==e.getDate().getDate()}return!!(r&(t.flags.DAF_YOMI|t.flags.YERUSHALMI_YOMI))||(!!(r&t.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(r&t.flags.SHABBAT_MEVARCHIM))}const fd='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',dd={dafyomi:"Daf Yomi",mishnayomi:"Mishna Yomi",nachyomi:"Nach Yomi",yerushalmi:"Yerushalmi Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:"",molad:"",omer:"",parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal",zmanim:""};function gd(e,r){const n=e.getDate().greg(),a=n.getDate(),o=n.getMonth()+1,i=String(n.getFullYear()).padStart(4,"0"),s=r.euro?'"'.concat(a,"/").concat(o,"/").concat(i,'"'):'"'.concat(o,"/").concat(a,"/").concat(i,'"');let h="",c="",l="",u='"true"';const f=Boolean(e.eventTime);let d=ud(e)?e.renderBrief(r.locale):e.render(r.locale);if(e.eventTime){const n=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr," PM",r);c=h='"'.concat(n,'"'),l=s,u='"false"'}let g="Jewish Holidays";const m=e.getFlags();if(f&&"object"==typeof r.location){const e=r.location.getShortName(),t=e.indexOf(",");g=-1===t?e:e.substring(0,t)}else{const t=dd[ad(e)[0]];"string"==typeof t&&(g=t)}if(d=d.replace(/,/g,"").replace(/"/g,"''"),r.appendHebrewToSubject){const t=e.renderBrief("he");t&&(d+=" / ".concat(t))}let p=e.memo||id(e,!0);p||void 0===e.linkedEvent||(p=e.linkedEvent.render(r.locale));const y=p.replace(/,/g,";").replace(/"/g,"''").replace(/\n/g," / "),b=f||m&t.flags.CHAG?4:3;return'"'.concat(d,'",').concat(s,",").concat(h,",").concat(l,",").concat(c,",").concat(u,',"').concat(y,'","').concat(b,'","').concat(g,'"')}function md(e){return rd(e.getDate().greg())}function pd(e,a){let o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const i=Boolean(e.eventTime),s=e.getDate(),h=s.greg(),c="object"==typeof a.location?a.location.getTzid():"UTC",l=i?t.Zmanim.formatISOWithTimeZone(c,e.eventTime):rd(h),u=ad(e),f=e.getFlags();let d=ud(e)?e.renderBrief(a.locale):e.render(a.locale);const g=e.getDesc(),m="Havdalah"===g||"Candle lighting"===g;if(m){d+=": "+t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a)}const p={title:d,date:l};i||(p.hdate=s.toString()),p.category=u[0],u.length>1&&(p.subcat=u[1]),"holiday"===u[0]&&f&t.flags.CHAG&&(p.yomtov=!0),d!=g&&(p.title_orig=g);const y=e.renderBrief("he");if(y&&(p.hebrew=t.Locale.hebrewStripNikkud(y)),!m){if(o){const o=a.il,i=f===t.flags.PARSHA_HASHAVUA,h=i?r.getLeyningForParshaHaShavua(e,o):r.getLeyningForHoliday(e,o);if(h){p.leyning=bd(h);const t=s.getFullYear();if(i&&!o&&t>=5745){const t=n.getTriennialForParshaHaShavua(e);t&&(p.leyning.triennial=yd({},t.aliyot))}}}const i=e.url();if(i){const e=a.utmSource||"js",t=a.utmMedium||"api",r=a.utmCampaign;p.link=ld(i,a.il,e,t,r)}}if(f&t.flags.OMER_COUNT&&(p.omer={count:{he:e.getTodayIs("he"),en:e.getTodayIs("en")},sefira:{he:e.sefira("he"),translit:e.sefira("translit"),en:e.sefira("en")}}),a.heDateParts&&!i||f&t.flags.HEBREW_DATE){const e=s.getFullYear(),r=s.getMonthName(),n=s.getDate();p.heDateParts={y:t.gematriya(e),m:t.Locale.gettext(r,"he-x-NoNikud"),d:t.gematriya(n)}}const b=e.memo||Zf[e.basename()];return b?p.memo=b:void 0!==e.linkedEvent&&(p.memo=e.linkedEvent.render(a.locale)),a.includeEvent&&(p.ev=e),p}function yd(e,t){return Object.keys(t).forEach((n=>{const a=t[n];if(void 0!==a){e["M"==n?"maftir":n]=r.formatAliyahWithBook(a)}})),e}function bd(e){const t={};return e.summary&&(t.torah=e.summary),e.haftara&&(t.haftarah=e.haftara),e.sephardic&&(t.haftarah_sephardic=e.sephardic),e.fullkriyah&&yd(t,e.fullkriyah),e.reason&&(["7","8","M"].forEach((r=>{if(e.reason[r]){t["M"==r?"maftir":r]+=" | "+e.reason[r]}})),e.reason.haftara&&(t.haftarah+=" | "+e.reason.haftara)),t}const vd={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function Sd(e,r){let n=e.render();const a=e.getDate().greg(),o=function(e,t,r,n){if(t){const t=e.eventTime;return t?t.toUTCString():r.toUTCString().replace(/ \S+ GMT$/," 00:00:00 GMT")}return n}(e,r.evPubDate,a,r.lastBuildDate),i=r.location,s=!!i&&i.getIsrael(),h=i?i.getTzid():"UTC",c=r&&r.utmSource||"shabbat1c",l=r&&r.utmMedium||"rss",u=function(e,r,n,a,o,i){let s,h;const c=e.eventTime||e.getDate().greg(),l=t.Zmanim.formatISOWithTimeZone(n,c),u=l.substring(0,l.indexOf("T")),f=u.replace(/-/g,""),d=Xf(e.getDesc()),g="".concat(f,"-").concat(d),m=e.url();if(m)s=ld(m,r,o,i).replace(/&/g,"&"),h="".concat(m,"#").concat(g);else{const e="".concat(a,"&dt=").concat(u),t=ld(e,r,o,i).replace(/&/g,"&");h=e.replace(/&/g,"&")+"#".concat(g),s="".concat(t,"#").concat(g)}return[s,h]}(e,s,h,r.mainUrl,c,l),f=u[0],d=u[1],g=ad(e)[0],m=e.getDesc();let p;if("Havdalah"===m||"Candle lighting"===m){const r=n.indexOf(": ");if(-1!=r){const a={location:i,il:s,locale:t.Locale.getLocaleName()},o=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a);n=n.substring(0,r)+": "+o}}else p=cd(e,s);const y=r.dayFormat,b=p||y.format(a),v="candles"==g?"<geo:lat>".concat(i.getLatitude(),"</geo:lat>\n<geo:long>").concat(i.getLongitude(),"</geo:long>\n"):"";return"<item>\n<title>".concat(n,"</title>\n<link>").concat(f,'</link>\n<guid isPermaLink="false">').concat(d,"</guid>\n<description>").concat(b,"</description>\n<category>").concat(g,"</category>\n<pubDate>").concat(o,"</pubDate>\n").concat(v,"</item>\n")}return e.appendIsraelAndTracking=ld,e.countryNames=$f,e.eventToClassicApiObject=pd,e.eventToCsv=gd,e.eventToFullCalendar=function(e,r,n){const a=ad(e),o=e.getFlags();"holiday"==a[0]&&o&t.flags.CHAG&&a.push("yomtov");const i=Boolean(e.eventTime),s={title:ud(e)?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(r,e.eventTime):rd(e.getDate().greg()),allDay:!i,className:a.join(" ")},h=e.renderBrief("he");h&&(s.hebrew=t.Locale.hebrewStripNikkud(h));const c=e.url();c&&(s.url=ld(c,n,"js","fc"));const l=e.getDesc();if(!("Havdalah"===l||"Candle lighting"===l)){const t=cd(e,n);t?s.description=t:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem2=Sd,e.eventsToClassicApi=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:od(e,t),date:(new Date).toISOString()};return n.location=Qf(t.location),e.length&&(n.range={start:md(e[0]),end:md(e[e.length-1])}),n.items=e.map((e=>pd(e,t,r))),n},e.eventsToCsv=function(e,t){return[fd].concat(e.map((e=>gd(e,t)))).join("\r\n")+"\r\n"},e.eventsToRss2=function(e,t){t.dayFormat=new Intl.DateTimeFormat("en-US",{weekday:"long",day:"2-digit",month:"long",year:"numeric"});const r=t.location,n=t.mainUrl,a=t.buildDate=t.buildDate||new Date,o=a.getFullYear(),i=t.lastBuildDate=a.toUTCString(),s=t.title||od(e,t),h=t.description||s,c=t.utmSource||"shabbat1c",l=t.utmMedium||"rss",u=ld(n,r&&r.getIsrael(),c,l,t.utmCampaign).replace(/&/g,"&"),f=t.selfUrl.replace(/&/g,"&"),d=t.lang||vd[t.locale]||t.locale||"en-US";let g='<?xml version="1.0" encoding="UTF-8"?>\n<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:atom="http://www.w3.org/2005/Atom">\n<channel>\n<title>'.concat(s,"</title>\n<link>").concat(u,'</link>\n<atom:link href="').concat(f,'" rel="self" type="application/rss+xml" />\n<description>').concat(h,"</description>\n<language>").concat(d,"</language>\n<copyright>Copyright (c) ").concat(o," Michael J. Radwin. All rights reserved.</copyright>\n<lastBuildDate>").concat(i,"</lastBuildDate>\n");return e.forEach((e=>{g+=Sd(e,t)})),g+="</channel>\n</rss>\n",g},e.getCalendarTitle=od,e.getDownloadFilename=function(e){let r="hebcal";if(e.year)r+="_"+e.year,e.isHebrewYear&&(r+="h"),e.month&&(r+="_"+e.month);else if("object"==typeof e.start&&"object"==typeof e.end){const n=new t.HDate(e.start),a=new t.HDate(e.end),o=n.greg().getFullYear(),i=a.greg().getFullYear();r+=o===i?"_"+o:"_"+o+"_"+i}if("object"==typeof e.location){const t=e.location,n=t.zip||t.asciiname||t.getShortName();n&&(r+="_"+Xf(n).replace(/[-]/g,"_"))}return r},e.getEventCategories=ad,e.getHolidayDescription=id,e.holidayDescription=Zf,e.locationToPlainObj=Qf,e.makeAnchor=Xf,e.makeMemo=cd,e.makeTorahMemoText=hd,e.pad2=ed,e.pad4=td,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=ud,e.toISOString=rd,e}({},hebcal,hebcal__leyning,hebcal__triennial);
|
|
1
|
+
/*! @hebcal/rest-api v4.3.15 */
|
|
2
|
+
var hebcal__rest_api=function(e,t,r,n){"use strict";var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=function(e){return e&&e.Math==Math&&e},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof a&&a)||function(){return this}()||Function("return this")(),s={},h=function(e){try{return!!e()}catch(e){return!0}},c=!h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),l=!h((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),u=l,f=Function.prototype.call,d=u?f.bind(f):function(){return f.apply(f,arguments)},m={},g={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y=p&&!g.call({1:2},1);m.f=y?function(e){var t=p(this,e);return!!t&&t.enumerable}:g;var b,v,S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=l,A=Function.prototype,H=A.call,R=w&&A.bind.bind(H,H),T=w?R:function(e){return function(){return H.apply(e,arguments)}},C=T,I=C({}.toString),P=C("".slice),M=function(e){return P(I(e),8,-1)},O=h,E=M,L=Object,k=T("".split),B=O((function(){return!L("z").propertyIsEnumerable(0)}))?function(e){return"String"==E(e)?k(e,""):L(e)}:L,D=function(e){return null==e},U=D,F=TypeError,N=function(e){if(U(e))throw F("Can't call method on "+e);return e},j=B,x=N,_=function(e){return j(x(e))},G="object"==typeof document&&document.all,Y={all:G,IS_HTMLDDA:void 0===G&&void 0!==G},z=Y.all,K=Y.IS_HTMLDDA?function(e){return"function"==typeof e||e===z}:function(e){return"function"==typeof e},J=K,W=Y.all,q=Y.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:J(e)||e===W}:function(e){return"object"==typeof e?null!==e:J(e)},V=i,Z=K,$=function(e){return Z(e)?e:void 0},Q=function(e,t){return arguments.length<2?$(V[e]):V[e]&&V[e][t]},X=T({}.isPrototypeOf),ee=i,te="undefined"!=typeof navigator&&String(navigator.userAgent)||"",re=ee.process,ne=ee.Deno,ae=re&&re.versions||ne&&ne.version,oe=ae&&ae.v8;oe&&(v=(b=oe.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!v&&te&&(!(b=te.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=te.match(/Chrome\/(\d+)/))&&(v=+b[1]);var ie=v,se=h,he=!!Object.getOwnPropertySymbols&&!se((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ie&&ie<41})),ce=he&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,le=Q,ue=K,fe=X,de=Object,me=ce?function(e){return"symbol"==typeof e}:function(e){var t=le("Symbol");return ue(t)&&fe(t.prototype,de(e))},ge=String,pe=function(e){try{return ge(e)}catch(e){return"Object"}},ye=K,be=pe,ve=TypeError,Se=function(e){if(ye(e))return e;throw ve(be(e)+" is not a function")},we=Se,Ae=D,He=function(e,t){var r=e[t];return Ae(r)?void 0:we(r)},Re=d,Te=K,Ce=q,Ie=TypeError,Pe={},Me={get exports(){return Pe},set exports(e){Pe=e}},Oe=i,Ee=Object.defineProperty,Le=function(e,t){try{Ee(Oe,e,{value:t,configurable:!0,writable:!0})}catch(r){Oe[e]=t}return t},ke=Le,Be="__core-js_shared__",De=i[Be]||ke(Be,{}),Ue=De;(Me.exports=function(e,t){return Ue[e]||(Ue[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.27.2",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Fe=N,Ne=Object,je=function(e){return Ne(Fe(e))},xe=je,_e=T({}.hasOwnProperty),Ge=Object.hasOwn||function(e,t){return _e(xe(e),t)},Ye=T,ze=0,Ke=Math.random(),Je=Ye(1..toString),We=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Je(++ze+Ke,36)},qe=Pe,Ve=Ge,Ze=We,$e=he,Qe=ce,Xe=i.Symbol,et=qe("wks"),tt=Qe?Xe.for||Xe:Xe&&Xe.withoutSetter||Ze,rt=function(e){return Ve(et,e)||(et[e]=$e&&Ve(Xe,e)?Xe[e]:tt("Symbol."+e)),et[e]},nt=d,at=q,ot=me,it=He,st=function(e,t){var r,n;if("string"===t&&Te(r=e.toString)&&!Ce(n=Re(r,e)))return n;if(Te(r=e.valueOf)&&!Ce(n=Re(r,e)))return n;if("string"!==t&&Te(r=e.toString)&&!Ce(n=Re(r,e)))return n;throw Ie("Can't convert object to primitive value")},ht=TypeError,ct=rt("toPrimitive"),lt=function(e,t){if(!at(e)||ot(e))return e;var r,n=it(e,ct);if(n){if(void 0===t&&(t="default"),r=nt(n,e,t),!at(r)||ot(r))return r;throw ht("Can't convert object to primitive value")}return void 0===t&&(t="number"),st(e,t)},ut=me,ft=function(e){var t=lt(e,"string");return ut(t)?t:t+""},dt=q,mt=i.document,gt=dt(mt)&&dt(mt.createElement),pt=function(e){return gt?mt.createElement(e):{}},yt=pt,bt=!c&&!h((function(){return 7!=Object.defineProperty(yt("div"),"a",{get:function(){return 7}}).a})),vt=c,St=d,wt=m,At=S,Ht=_,Rt=ft,Tt=Ge,Ct=bt,It=Object.getOwnPropertyDescriptor;s.f=vt?It:function(e,t){if(e=Ht(e),t=Rt(t),Ct)try{return It(e,t)}catch(e){}if(Tt(e,t))return At(!St(wt.f,e,t),e[t])};var Pt={},Mt=c&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ot=q,Et=String,Lt=TypeError,kt=function(e){if(Ot(e))return e;throw Lt(Et(e)+" is not an object")},Bt=c,Dt=bt,Ut=Mt,Ft=kt,Nt=ft,jt=TypeError,xt=Object.defineProperty,_t=Object.getOwnPropertyDescriptor,Gt="enumerable",Yt="configurable",zt="writable";Pt.f=Bt?Ut?function(e,t,r){if(Ft(e),t=Nt(t),Ft(r),"function"==typeof e&&"prototype"===t&&"value"in r&&zt in r&&!r.writable){var n=_t(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:Yt in r?r.configurable:n.configurable,enumerable:Gt in r?r.enumerable:n.enumerable,writable:!1})}return xt(e,t,r)}:xt:function(e,t,r){if(Ft(e),t=Nt(t),Ft(r),Dt)try{return xt(e,t,r)}catch(e){}if("get"in r||"set"in r)throw jt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Kt=Pt,Jt=S,Wt=c?function(e,t,r){return Kt.f(e,t,Jt(1,r))}:function(e,t,r){return e[t]=r,e},qt={},Vt={get exports(){return qt},set exports(e){qt=e}},Zt=c,$t=Ge,Qt=Function.prototype,Xt=Zt&&Object.getOwnPropertyDescriptor,er=$t(Qt,"name"),tr={EXISTS:er,PROPER:er&&"something"===function(){}.name,CONFIGURABLE:er&&(!Zt||Zt&&Xt(Qt,"name").configurable)},rr=K,nr=De,ar=T(Function.toString);rr(nr.inspectSource)||(nr.inspectSource=function(e){return ar(e)});var or,ir,sr,hr=nr.inspectSource,cr=K,lr=i.WeakMap,ur=cr(lr)&&/native code/.test(String(lr)),fr=We,dr=Pe("keys"),mr=function(e){return dr[e]||(dr[e]=fr(e))},gr={},pr=ur,yr=i,br=q,vr=Wt,Sr=Ge,wr=De,Ar=mr,Hr=gr,Rr="Object already initialized",Tr=yr.TypeError,Cr=yr.WeakMap;if(pr||wr.state){var Ir=wr.state||(wr.state=new Cr);Ir.get=Ir.get,Ir.has=Ir.has,Ir.set=Ir.set,or=function(e,t){if(Ir.has(e))throw Tr(Rr);return t.facade=e,Ir.set(e,t),t},ir=function(e){return Ir.get(e)||{}},sr=function(e){return Ir.has(e)}}else{var Pr=Ar("state");Hr[Pr]=!0,or=function(e,t){if(Sr(e,Pr))throw Tr(Rr);return t.facade=e,vr(e,Pr,t),t},ir=function(e){return Sr(e,Pr)?e[Pr]:{}},sr=function(e){return Sr(e,Pr)}}var Mr={set:or,get:ir,has:sr,enforce:function(e){return sr(e)?ir(e):or(e,{})},getterFor:function(e){return function(t){var r;if(!br(t)||(r=ir(t)).type!==e)throw Tr("Incompatible receiver, "+e+" required");return r}}},Or=T,Er=h,Lr=K,kr=Ge,Br=c,Dr=tr.CONFIGURABLE,Ur=hr,Fr=Mr.enforce,Nr=Mr.get,jr=String,xr=Object.defineProperty,_r=Or("".slice),Gr=Or("".replace),Yr=Or([].join),zr=Br&&!Er((function(){return 8!==xr((function(){}),"length",{value:8}).length})),Kr=String(String).split("String"),Jr=Vt.exports=function(e,t,r){"Symbol("===_r(jr(t),0,7)&&(t="["+Gr(jr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!kr(e,"name")||Dr&&e.name!==t)&&(Br?xr(e,"name",{value:t,configurable:!0}):e.name=t),zr&&r&&kr(r,"arity")&&e.length!==r.arity&&xr(e,"length",{value:r.arity});try{r&&kr(r,"constructor")&&r.constructor?Br&&xr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Fr(e);return kr(n,"source")||(n.source=Yr(Kr,"string"==typeof t?t:"")),e};Function.prototype.toString=Jr((function(){return Lr(this)&&Nr(this).source||Ur(this)}),"toString");var Wr=K,qr=Pt,Vr=qt,Zr=Le,$r=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Wr(r)&&Vr(r,o,n),n.global)a?e[t]=r:Zr(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:qr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Qr={},Xr=Math.ceil,en=Math.floor,tn=Math.trunc||function(e){var t=+e;return(t>0?en:Xr)(t)},rn=function(e){var t=+e;return t!=t||0===t?0:tn(t)},nn=rn,an=Math.max,on=Math.min,sn=function(e,t){var r=nn(e);return r<0?an(r+t,0):on(r,t)},hn=rn,cn=Math.min,ln=function(e){return e>0?cn(hn(e),9007199254740991):0},un=ln,fn=function(e){return un(e.length)},dn=_,mn=sn,gn=fn,pn=function(e){return function(t,r,n){var a,o=dn(t),i=gn(o),s=mn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},yn={includes:pn(!0),indexOf:pn(!1)},bn=Ge,vn=_,Sn=yn.indexOf,wn=gr,An=T([].push),Hn=function(e,t){var r,n=vn(e),a=0,o=[];for(r in n)!bn(wn,r)&&bn(n,r)&&An(o,r);for(;t.length>a;)bn(n,r=t[a++])&&(~Sn(o,r)||An(o,r));return o},Rn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Tn=Hn,Cn=Rn.concat("length","prototype");Qr.f=Object.getOwnPropertyNames||function(e){return Tn(e,Cn)};var In={};In.f=Object.getOwnPropertySymbols;var Pn=Q,Mn=Qr,On=In,En=kt,Ln=T([].concat),kn=Pn("Reflect","ownKeys")||function(e){var t=Mn.f(En(e)),r=On.f;return r?Ln(t,r(e)):t},Bn=Ge,Dn=kn,Un=s,Fn=Pt,Nn=h,jn=K,xn=/#|\.prototype\./,_n=function(e,t){var r=Yn[Gn(e)];return r==Kn||r!=zn&&(jn(t)?Nn(t):!!t)},Gn=_n.normalize=function(e){return String(e).replace(xn,".").toLowerCase()},Yn=_n.data={},zn=_n.NATIVE="N",Kn=_n.POLYFILL="P",Jn=_n,Wn=i,qn=s.f,Vn=Wt,Zn=$r,$n=Le,Qn=function(e,t,r){for(var n=Dn(t),a=Fn.f,o=Un.f,i=0;i<n.length;i++){var s=n[i];Bn(e,s)||r&&Bn(r,s)||a(e,s,o(t,s))}},Xn=Jn,ea=function(e,t){var r,n,a,o,i,s=e.target,h=e.global,c=e.stat;if(r=h?Wn:c?Wn[s]||$n(s,{}):(Wn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=qn(r,n))&&i.value:r[n],!Xn(h?n:s+(c?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Qn(o,a)}(e.sham||a&&a.sham)&&Vn(o,"sham",!0),Zn(r,n,o,e)}},ta={};ta[rt("toStringTag")]="z";var ra="[object z]"===String(ta),na=K,aa=M,oa=rt("toStringTag"),ia=Object,sa="Arguments"==aa(function(){return arguments}()),ha=ra?aa:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=ia(e),oa))?r:sa?aa(t):"Object"==(n=aa(t))&&na(t.callee)?"Arguments":n},ca=ha,la=String,ua=function(e){if("Symbol"===ca(e))throw TypeError("Cannot convert a Symbol value to a string");return la(e)},fa=kt,da=function(){var e=fa(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},ma=h,ga=i.RegExp,pa=ma((function(){var e=ga("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),ya=pa||ma((function(){return!ga("a","y").sticky})),ba={BROKEN_CARET:pa||ma((function(){var e=ga("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:ya,UNSUPPORTED_Y:pa},va={},Sa=Hn,wa=Rn,Aa=Object.keys||function(e){return Sa(e,wa)},Ha=c,Ra=Mt,Ta=Pt,Ca=kt,Ia=_,Pa=Aa;va.f=Ha&&!Ra?Object.defineProperties:function(e,t){Ca(e);for(var r,n=Ia(t),a=Pa(t),o=a.length,i=0;o>i;)Ta.f(e,r=a[i++],n[r]);return e};var Ma,Oa=Q("document","documentElement"),Ea=kt,La=va,ka=Rn,Ba=gr,Da=Oa,Ua=pt,Fa=mr("IE_PROTO"),Na=function(){},ja=function(e){return"<script>"+e+"</"+"script>"},xa=function(e){e.write(ja("")),e.close();var t=e.parentWindow.Object;return e=null,t},_a=function(){try{Ma=new ActiveXObject("htmlfile")}catch(e){}var e,t;_a="undefined"!=typeof document?document.domain&&Ma?xa(Ma):((t=Ua("iframe")).style.display="none",Da.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(ja("document.F=Object")),e.close(),e.F):xa(Ma);for(var r=ka.length;r--;)delete _a.prototype[ka[r]];return _a()};Ba[Fa]=!0;var Ga,Ya,za=Object.create||function(e,t){var r;return null!==e?(Na.prototype=Ea(e),r=new Na,Na.prototype=null,r[Fa]=e):r=_a(),void 0===t?r:La.f(r,t)},Ka=h,Ja=i.RegExp,Wa=Ka((function(){var e=Ja(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),qa=h,Va=i.RegExp,Za=qa((function(){var e=Va("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),$a=d,Qa=T,Xa=ua,eo=da,to=ba,ro=za,no=Mr.get,ao=Wa,oo=Za,io=Pe("native-string-replace",String.prototype.replace),so=RegExp.prototype.exec,ho=so,co=Qa("".charAt),lo=Qa("".indexOf),uo=Qa("".replace),fo=Qa("".slice),mo=(Ya=/b*/g,$a(so,Ga=/a/,"a"),$a(so,Ya,"a"),0!==Ga.lastIndex||0!==Ya.lastIndex),go=to.BROKEN_CARET,po=void 0!==/()??/.exec("")[1];(mo||po||go||ao||oo)&&(ho=function(e){var t,r,n,a,o,i,s,h=this,c=no(h),l=Xa(e),u=c.raw;if(u)return u.lastIndex=h.lastIndex,t=$a(ho,u,l),h.lastIndex=u.lastIndex,t;var f=c.groups,d=go&&h.sticky,m=$a(eo,h),g=h.source,p=0,y=l;if(d&&(m=uo(m,"y",""),-1===lo(m,"g")&&(m+="g"),y=fo(l,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==co(l,h.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,p++),r=new RegExp("^(?:"+g+")",m)),po&&(r=new RegExp("^"+g+"$(?!\\s)",m)),mo&&(n=h.lastIndex),a=$a(so,d?r:h,y),d?a?(a.input=fo(a.input,p),a[0]=fo(a[0],p),a.index=h.lastIndex,h.lastIndex+=a[0].length):h.lastIndex=0:mo&&a&&(h.lastIndex=h.global?a.index+a[0].length:n),po&&a&&a.length>1&&$a(io,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&f)for(a.groups=i=ro(null),o=0;o<f.length;o++)i[(s=f[o])[0]]=a[s[1]];return a});ea({target:"RegExp",proto:!0,forced:/./.exec!==ho},{exec:ho});var yo=pt("span").classList,bo=yo&&yo.constructor&&yo.constructor.prototype,vo=bo===Object.prototype?void 0:bo,So=rt,wo=za,Ao=Pt.f,Ho=So("unscopables"),Ro=Array.prototype;null==Ro[Ho]&&Ao(Ro,Ho,{configurable:!0,value:wo(null)});var To,Co,Io,Po={},Mo=!h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Oo=Ge,Eo=K,Lo=je,ko=Mo,Bo=mr("IE_PROTO"),Do=Object,Uo=Do.prototype,Fo=ko?Do.getPrototypeOf:function(e){var t=Lo(e);if(Oo(t,Bo))return t[Bo];var r=t.constructor;return Eo(r)&&t instanceof r?r.prototype:t instanceof Do?Uo:null},No=h,jo=K,xo=q,_o=Fo,Go=$r,Yo=rt("iterator"),zo=!1;[].keys&&("next"in(Io=[].keys())?(Co=_o(_o(Io)))!==Object.prototype&&(To=Co):zo=!0);var Ko=!xo(To)||No((function(){var e={};return To[Yo].call(e)!==e}));Ko&&(To={}),jo(To[Yo])||Go(To,Yo,(function(){return this}));var Jo={IteratorPrototype:To,BUGGY_SAFARI_ITERATORS:zo},Wo=Pt.f,qo=Ge,Vo=rt("toStringTag"),Zo=function(e,t,r){e&&!r&&(e=e.prototype),e&&!qo(e,Vo)&&Wo(e,Vo,{configurable:!0,value:t})},$o=Jo.IteratorPrototype,Qo=za,Xo=S,ei=Zo,ti=Po,ri=function(){return this},ni=function(e,t,r,n){var a=t+" Iterator";return e.prototype=Qo($o,{next:Xo(+!n,r)}),ei(e,a,!1),ti[a]=ri,e},ai=K,oi=String,ii=TypeError,si=T,hi=kt,ci=function(e){if("object"==typeof e||ai(e))return e;throw ii("Can't set "+oi(e)+" as a prototype")},li=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=si(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return hi(r),ci(n),t?e(r,n):r.__proto__=n,r}}():void 0),ui=ea,fi=d,di=K,mi=ni,gi=Fo,pi=li,yi=Zo,bi=Wt,vi=$r,Si=Po,wi=tr.PROPER,Ai=tr.CONFIGURABLE,Hi=Jo.IteratorPrototype,Ri=Jo.BUGGY_SAFARI_ITERATORS,Ti=rt("iterator"),Ci="keys",Ii="values",Pi="entries",Mi=function(){return this},Oi=function(e,t,r,n,a,o,i){mi(r,t,n);var s,h,c,l=function(e){if(e===a&&g)return g;if(!Ri&&e in d)return d[e];switch(e){case Ci:case Ii:case Pi:return function(){return new r(this,e)}}return function(){return new r(this)}},u=t+" Iterator",f=!1,d=e.prototype,m=d[Ti]||d["@@iterator"]||a&&d[a],g=!Ri&&m||l(a),p="Array"==t&&d.entries||m;if(p&&(s=gi(p.call(new e)))!==Object.prototype&&s.next&&(gi(s)!==Hi&&(pi?pi(s,Hi):di(s[Ti])||vi(s,Ti,Mi)),yi(s,u,!0)),wi&&a==Ii&&m&&m.name!==Ii&&(Ai?bi(d,"name",Ii):(f=!0,g=function(){return fi(m,this)})),a)if(h={values:l(Ii),keys:o?g:l(Ci),entries:l(Pi)},i)for(c in h)(Ri||f||!(c in d))&&vi(d,c,h[c]);else ui({target:t,proto:!0,forced:Ri||f},h);return d[Ti]!==g&&vi(d,Ti,g,{name:a}),Si[t]=g,h},Ei=function(e,t){return{value:e,done:t}},Li=_,ki=function(e){Ro[Ho][e]=!0},Bi=Po,Di=Mr,Ui=Pt.f,Fi=Oi,Ni=Ei,ji=c,xi="Array Iterator",_i=Di.set,Gi=Di.getterFor(xi),Yi=Fi(Array,"Array",(function(e,t){_i(this,{type:xi,target:Li(e),index:0,kind:t})}),(function(){var e=Gi(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,Ni(void 0,!0)):Ni("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values"),zi=Bi.Arguments=Bi.Array;if(ki("keys"),ki("values"),ki("entries"),ji&&"values"!==zi.name)try{Ui(zi,"name",{value:"values"})}catch(e){}var Ki=i,Ji={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Wi=vo,qi=Yi,Vi=Wt,Zi=rt,$i=Zi("iterator"),Qi=Zi("toStringTag"),Xi=qi.values,es=function(e,t){if(e){if(e[$i]!==Xi)try{Vi(e,$i,Xi)}catch(t){e[$i]=Xi}if(e[Qi]||Vi(e,Qi,t),Ji[t])for(var r in qi)if(e[r]!==qi[r])try{Vi(e,r,qi[r])}catch(t){e[r]=qi[r]}}};for(var ts in Ji)es(Ki[ts]&&Ki[ts].prototype,ts);es(Wi,"DOMTokenList");var rs=T,ns=rn,as=ua,os=N,is=rs("".charAt),ss=rs("".charCodeAt),hs=rs("".slice),cs=function(e){return function(t,r){var n,a,o=as(os(t)),i=ns(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=ss(o,i))<55296||n>56319||i+1===s||(a=ss(o,i+1))<56320||a>57343?e?is(o,i):n:e?hs(o,i,i+2):a-56320+(n-55296<<10)+65536}},ls={codeAt:cs(!1),charAt:cs(!0)},us=ls.charAt,fs=ua,ds=Mr,ms=Oi,gs=Ei,ps="String Iterator",ys=ds.set,bs=ds.getterFor(ps);ms(String,"String",(function(e){ys(this,{type:ps,string:fs(e),index:0})}),(function(){var e,t=bs(this),r=t.string,n=t.index;return n>=r.length?gs(void 0,!0):(e=us(r,n),t.index+=e.length,gs(e,!1))}));var vs=h,Ss=rt("iterator"),ws=!vs((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[Ss]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),As=M,Hs=T,Rs=function(e){if("Function"===As(e))return Hs(e)},Ts=Se,Cs=l,Is=Rs(Rs.bind),Ps=function(e,t){return Ts(e),void 0===t?e:Cs?Is(e,t):function(){return e.apply(t,arguments)}},Ms=qt,Os=Pt,Es=X,Ls=TypeError,ks=function(e,t){if(Es(t,e))return e;throw Ls("Incorrect invocation")},Bs=c,Ds=T,Us=d,Fs=h,Ns=Aa,js=In,xs=m,_s=je,Gs=B,Ys=Object.assign,zs=Object.defineProperty,Ks=Ds([].concat),Js=!Ys||Fs((function(){if(Bs&&1!==Ys({b:1},Ys(zs({},"a",{enumerable:!0,get:function(){zs(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=Ys({},e)[r]||Ns(Ys({},t)).join("")!=n}))?function(e,t){for(var r=_s(e),n=arguments.length,a=1,o=js.f,i=xs.f;n>a;)for(var s,h=Gs(arguments[a++]),c=o?Ks(Ns(h),o(h)):Ns(h),l=c.length,u=0;l>u;)s=c[u++],Bs&&!Us(i,h,s)||(r[s]=h[s]);return r}:Ys,Ws=d,qs=kt,Vs=He,Zs=kt,$s=function(e,t,r){var n,a;qs(e);try{if(!(n=Vs(e,"return"))){if("throw"===t)throw r;return r}n=Ws(n,e)}catch(e){a=!0,n=e}if("throw"===t)throw r;if(a)throw n;return qs(n),r},Qs=Po,Xs=rt("iterator"),eh=Array.prototype,th=T,rh=h,nh=K,ah=ha,oh=hr,ih=function(){},sh=[],hh=Q("Reflect","construct"),ch=/^\s*(?:class|function)\b/,lh=th(ch.exec),uh=!ch.exec(ih),fh=function(e){if(!nh(e))return!1;try{return hh(ih,sh,e),!0}catch(e){return!1}},dh=function(e){if(!nh(e))return!1;switch(ah(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return uh||!!lh(ch,oh(e))}catch(e){return!0}};dh.sham=!0;var mh=!hh||rh((function(){var e;return fh(fh.call)||!fh(Object)||!fh((function(){e=!0}))||e}))?dh:fh,gh=ft,ph=Pt,yh=S,bh=function(e,t,r){var n=gh(t);n in e?ph.f(e,n,yh(0,r)):e[n]=r},vh=ha,Sh=He,wh=D,Ah=Po,Hh=rt("iterator"),Rh=function(e){if(!wh(e))return Sh(e,Hh)||Sh(e,"@@iterator")||Ah[vh(e)]},Th=d,Ch=Se,Ih=kt,Ph=pe,Mh=Rh,Oh=TypeError,Eh=function(e,t){var r=arguments.length<2?Mh(e):t;if(Ch(r))return Ih(Th(r,e));throw Oh(Ph(e)+" is not iterable")},Lh=Ps,kh=d,Bh=je,Dh=function(e,t,r,n){try{return n?t(Zs(r)[0],r[1]):t(r)}catch(t){$s(e,"throw",t)}},Uh=function(e){return void 0!==e&&(Qs.Array===e||eh[Xs]===e)},Fh=mh,Nh=fn,jh=bh,xh=Eh,_h=Rh,Gh=Array,Yh=sn,zh=fn,Kh=bh,Jh=Array,Wh=Math.max,qh=function(e,t,r){for(var n=zh(e),a=Yh(t,n),o=Yh(void 0===r?n:r,n),i=Jh(Wh(o-a,0)),s=0;a<o;a++,s++)Kh(i,s,e[a]);return i.length=s,i},Vh=T,Zh=2147483647,$h=/[^\0-\u007E]/,Qh=/[.\u3002\uFF0E\uFF61]/g,Xh="Overflow: input needs wider integers to process",ec=RangeError,tc=Vh(Qh.exec),rc=Math.floor,nc=String.fromCharCode,ac=Vh("".charCodeAt),oc=Vh([].join),ic=Vh([].push),sc=Vh("".replace),hc=Vh("".split),cc=Vh("".toLowerCase),lc=function(e){return e+22+75*(e<26)},uc=function(e,t,r){var n=0;for(e=r?rc(e/700):e>>1,e+=rc(e/t);e>455;)e=rc(e/35),n+=36;return rc(n+36*e/(e+38))},fc=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=ac(e,r++);if(a>=55296&&a<=56319&&r<n){var o=ac(e,r++);56320==(64512&o)?ic(t,((1023&a)<<10)+(1023&o)+65536):(ic(t,a),r--)}else ic(t,a)}return t}(e);var r,n,a=e.length,o=128,i=0,s=72;for(r=0;r<e.length;r++)(n=e[r])<128&&ic(t,nc(n));var h=t.length,c=h;for(h&&ic(t,"-");c<a;){var l=Zh;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<l&&(l=n);var u=c+1;if(l-o>rc((Zh-i)/u))throw ec(Xh);for(i+=(l-o)*u,o=l,r=0;r<e.length;r++){if((n=e[r])<o&&++i>Zh)throw ec(Xh);if(n==o){for(var f=i,d=36;;){var m=d<=s?1:d>=s+26?26:d-s;if(f<m)break;var g=f-m,p=36-m;ic(t,nc(lc(m+g%p))),f=rc(g/p),d+=36}ic(t,nc(lc(f))),s=uc(i,u,c==h),i=0,c++}}i++,o++}return oc(t,"")},dc=TypeError,mc=function(e,t){if(e<t)throw dc("Not enough arguments");return e},gc=$r,pc=qh,yc=Math.floor,bc=function(e,t){var r=e.length,n=yc(r/2);return r<8?vc(e,t):Sc(e,bc(pc(e,0,n),t),bc(pc(e,n),t),t)},vc=function(e,t){for(var r,n,a=e.length,o=1;o<a;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},Sc=function(e,t,r,n){for(var a=t.length,o=r.length,i=0,s=0;i<a||s<o;)e[i+s]=i<a&&s<o?n(t[i],r[s])<=0?t[i++]:r[s++]:i<a?t[i++]:r[s++];return e},wc=ea,Ac=i,Hc=d,Rc=T,Tc=c,Cc=ws,Ic=$r,Pc=function(e,t,r){for(var n in t)gc(e,n,t[n],r);return e},Mc=Zo,Oc=ni,Ec=Mr,Lc=ks,kc=K,Bc=Ge,Dc=Ps,Uc=ha,Fc=kt,Nc=q,jc=ua,xc=za,_c=S,Gc=Eh,Yc=Rh,zc=mc,Kc=bc,Jc=rt("iterator"),Wc="URLSearchParams",qc="URLSearchParamsIterator",Vc=Ec.set,Zc=Ec.getterFor(Wc),$c=Ec.getterFor(qc),Qc=Object.getOwnPropertyDescriptor,Xc=function(e){if(!Tc)return Ac[e];var t=Qc(Ac,e);return t&&t.value},el=Xc("fetch"),tl=Xc("Request"),rl=Xc("Headers"),nl=tl&&tl.prototype,al=rl&&rl.prototype,ol=Ac.RegExp,il=Ac.TypeError,sl=Ac.decodeURIComponent,hl=Ac.encodeURIComponent,cl=Rc("".charAt),ll=Rc([].join),ul=Rc([].push),fl=Rc("".replace),dl=Rc([].shift),ml=Rc([].splice),gl=Rc("".split),pl=Rc("".slice),yl=/\+/g,bl=Array(4),vl=function(e){return bl[e-1]||(bl[e-1]=ol("((?:%[\\da-f]{2}){"+e+"})","gi"))},Sl=function(e){try{return sl(e)}catch(t){return e}},wl=function(e){var t=fl(e,yl," "),r=4;try{return sl(t)}catch(e){for(;r;)t=fl(t,vl(r--),Sl);return t}},Al=/[!'()~]|%20/g,Hl={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Rl=function(e){return Hl[e]},Tl=function(e){return fl(hl(e),Al,Rl)},Cl=Oc((function(e,t){Vc(this,{type:qc,iterator:Gc(Zc(e).entries),kind:t})}),"Iterator",(function(){var e=$c(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),Il=function(e){this.entries=[],this.url=null,void 0!==e&&(Nc(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===cl(e,0)?pl(e,1):e:jc(e)))};Il.prototype={type:Wc,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,o,i,s,h=Yc(e);if(h)for(r=(t=Gc(e,h)).next;!(n=Hc(r,t)).done;){if(o=(a=Gc(Fc(n.value))).next,(i=Hc(o,a)).done||(s=Hc(o,a)).done||!Hc(o,a).done)throw il("Expected sequence with length 2");ul(this.entries,{key:jc(i.value),value:jc(s.value)})}else for(var c in e)Bc(e,c)&&ul(this.entries,{key:c,value:jc(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=gl(e,"&"),a=0;a<n.length;)(t=n[a++]).length&&(r=gl(t,"="),ul(this.entries,{key:wl(dl(r)),value:wl(ll(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],ul(r,Tl(e.key)+"="+Tl(e.value));return ll(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Pl=function(){Lc(this,Ml);var e=arguments.length>0?arguments[0]:void 0;Vc(this,new Il(e))},Ml=Pl.prototype;if(Pc(Ml,{append:function(e,t){zc(arguments.length,2);var r=Zc(this);ul(r.entries,{key:jc(e),value:jc(t)}),r.updateURL()},delete:function(e){zc(arguments.length,1);for(var t=Zc(this),r=t.entries,n=jc(e),a=0;a<r.length;)r[a].key===n?ml(r,a,1):a++;t.updateURL()},get:function(e){zc(arguments.length,1);for(var t=Zc(this).entries,r=jc(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){zc(arguments.length,1);for(var t=Zc(this).entries,r=jc(e),n=[],a=0;a<t.length;a++)t[a].key===r&&ul(n,t[a].value);return n},has:function(e){zc(arguments.length,1);for(var t=Zc(this).entries,r=jc(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){zc(arguments.length,1);for(var r,n=Zc(this),a=n.entries,o=!1,i=jc(e),s=jc(t),h=0;h<a.length;h++)(r=a[h]).key===i&&(o?ml(a,h--,1):(o=!0,r.value=s));o||ul(a,{key:i,value:s}),n.updateURL()},sort:function(){var e=Zc(this);Kc(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=Zc(this).entries,n=Dc(e,arguments.length>1?arguments[1]:void 0),a=0;a<r.length;)n((t=r[a++]).value,t.key,this)},keys:function(){return new Cl(this,"keys")},values:function(){return new Cl(this,"values")},entries:function(){return new Cl(this,"entries")}},{enumerable:!0}),Ic(Ml,Jc,Ml.entries,{name:"entries"}),Ic(Ml,"toString",(function(){return Zc(this).serialize()}),{enumerable:!0}),Mc(Pl,Wc),wc({global:!0,constructor:!0,forced:!Cc},{URLSearchParams:Pl}),!Cc&&kc(rl)){var Ol=Rc(al.has),El=Rc(al.set),Ll=function(e){if(Nc(e)){var t,r=e.body;if(Uc(r)===Wc)return t=e.headers?new rl(e.headers):new rl,Ol(t,"content-type")||El(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),xc(e,{body:_c(0,jc(r)),headers:_c(0,t)})}return e};if(kc(el)&&wc({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return el(e,arguments.length>1?Ll(arguments[1]):{})}}),kc(tl)){var kl=function(e){return Lc(this,nl),new tl(e,arguments.length>1?Ll(arguments[1]):{})};nl.constructor=kl,kl.prototype=nl,wc({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:kl})}}var Bl,Dl=ea,Ul=c,Fl=ws,Nl=i,jl=Ps,xl=T,_l=$r,Gl=function(e,t,r){return r.get&&Ms(r.get,t,{getter:!0}),r.set&&Ms(r.set,t,{setter:!0}),Os.f(e,t,r)},Yl=ks,zl=Ge,Kl=Js,Jl=function(e){var t=Bh(e),r=Fh(this),n=arguments.length,a=n>1?arguments[1]:void 0,o=void 0!==a;o&&(a=Lh(a,n>2?arguments[2]:void 0));var i,s,h,c,l,u,f=_h(t),d=0;if(!f||this===Gh&&Uh(f))for(i=Nh(t),s=r?new this(i):Gh(i);i>d;d++)u=o?a(t[d],d):t[d],jh(s,d,u);else for(l=(c=xh(t,f)).next,s=r?new this:[];!(h=kh(l,c)).done;d++)u=o?Dh(c,a,[h.value,d],!0):h.value,jh(s,d,u);return s.length=d,s},Wl=qh,ql=ls.codeAt,Vl=function(e){var t,r,n=[],a=hc(sc(cc(e),Qh,"."),".");for(t=0;t<a.length;t++)r=a[t],ic(n,tc($h,r)?"xn--"+fc(r):r);return oc(n,".")},Zl=ua,$l=Zo,Ql=mc,Xl={URLSearchParams:Pl,getState:Zc},eu=Mr,tu=eu.set,ru=eu.getterFor("URL"),nu=Xl.URLSearchParams,au=Xl.getState,ou=Nl.URL,iu=Nl.TypeError,su=Nl.parseInt,hu=Math.floor,cu=Math.pow,lu=xl("".charAt),uu=xl(/./.exec),fu=xl([].join),du=xl(1..toString),mu=xl([].pop),gu=xl([].push),pu=xl("".replace),yu=xl([].shift),bu=xl("".split),vu=xl("".slice),Su=xl("".toLowerCase),wu=xl([].unshift),Au="Invalid scheme",Hu="Invalid host",Ru="Invalid port",Tu=/[a-z]/i,Cu=/[\d+-.a-z]/i,Iu=/\d/,Pu=/^0x/i,Mu=/^[0-7]+$/,Ou=/^\d+$/,Eu=/^[\da-f]+$/i,Lu=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ku=/[\0\t\n\r #/:<>?@[\\\]^|]/,Bu=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,Du=/[\t\n\r]/g,Uu=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)wu(t,e%256),e=hu(e/256);return fu(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,a=0,o=0;o<8;o++)0!==e[o]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=o),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=du(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},Fu={},Nu=Kl({},Fu,{" ":1,'"':1,"<":1,">":1,"`":1}),ju=Kl({},Nu,{"#":1,"?":1,"{":1,"}":1}),xu=Kl({},ju,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),_u=function(e,t){var r=ql(e,0);return r>32&&r<127&&!zl(t,e)?e:encodeURIComponent(e)},Gu={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Yu=function(e,t){var r;return 2==e.length&&uu(Tu,lu(e,0))&&(":"==(r=lu(e,1))||!t&&"|"==r)},zu=function(e){var t;return e.length>1&&Yu(vu(e,0,2))&&(2==e.length||"/"===(t=lu(e,2))||"\\"===t||"?"===t||"#"===t)},Ku=function(e){return"."===e||"%2e"===Su(e)},Ju={},Wu={},qu={},Vu={},Zu={},$u={},Qu={},Xu={},ef={},tf={},rf={},nf={},af={},of={},sf={},hf={},cf={},lf={},uf={},ff={},df={},mf=function(e,t,r){var n,a,o,i=Zl(e);if(t){if(a=this.parse(i))throw iu(a);this.searchParams=null}else{if(void 0!==r&&(n=new mf(r,!0)),a=this.parse(i,null,n))throw iu(a);(o=au(new nu)).bindURL(this),this.searchParams=o}};mf.prototype={type:"URL",parse:function(e,t,r){var n,a,o,i,s,h=this,c=t||Ju,l=0,u="",f=!1,d=!1,m=!1;for(e=Zl(e),t||(h.scheme="",h.username="",h.password="",h.host=null,h.port=null,h.path=[],h.query=null,h.fragment=null,h.cannotBeABaseURL=!1,e=pu(e,Bu,"")),e=pu(e,Du,""),n=Jl(e);l<=n.length;){switch(a=n[l],c){case Ju:if(!a||!uu(Tu,a)){if(t)return Au;c=qu;continue}u+=Su(a),c=Wu;break;case Wu:if(a&&(uu(Cu,a)||"+"==a||"-"==a||"."==a))u+=Su(a);else{if(":"!=a){if(t)return Au;u="",c=qu,l=0;continue}if(t&&(h.isSpecial()!=zl(Gu,u)||"file"==u&&(h.includesCredentials()||null!==h.port)||"file"==h.scheme&&!h.host))return;if(h.scheme=u,t)return void(h.isSpecial()&&Gu[h.scheme]==h.port&&(h.port=null));u="","file"==h.scheme?c=of:h.isSpecial()&&r&&r.scheme==h.scheme?c=Vu:h.isSpecial()?c=Xu:"/"==n[l+1]?(c=Zu,l++):(h.cannotBeABaseURL=!0,gu(h.path,""),c=uf)}break;case qu:if(!r||r.cannotBeABaseURL&&"#"!=a)return Au;if(r.cannotBeABaseURL&&"#"==a){h.scheme=r.scheme,h.path=Wl(r.path),h.query=r.query,h.fragment="",h.cannotBeABaseURL=!0,c=df;break}c="file"==r.scheme?of:$u;continue;case Vu:if("/"!=a||"/"!=n[l+1]){c=$u;continue}c=ef,l++;break;case Zu:if("/"==a){c=tf;break}c=lf;continue;case $u:if(h.scheme=r.scheme,a==Bl)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Wl(r.path),h.query=r.query;else if("/"==a||"\\"==a&&h.isSpecial())c=Qu;else if("?"==a)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Wl(r.path),h.query="",c=ff;else{if("#"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Wl(r.path),h.path.length--,c=lf;continue}h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Wl(r.path),h.query=r.query,h.fragment="",c=df}break;case Qu:if(!h.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,c=lf;continue}c=tf}else c=ef;break;case Xu:if(c=ef,"/"!=a||"/"!=lu(u,l+1))continue;l++;break;case ef:if("/"!=a&&"\\"!=a){c=tf;continue}break;case tf:if("@"==a){f&&(u="%40"+u),f=!0,o=Jl(u);for(var g=0;g<o.length;g++){var p=o[g];if(":"!=p||m){var y=_u(p,xu);m?h.password+=y:h.username+=y}else m=!0}u=""}else if(a==Bl||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(f&&""==u)return"Invalid authority";l-=Jl(u).length+1,u="",c=rf}else u+=a;break;case rf:case nf:if(t&&"file"==h.scheme){c=hf;continue}if(":"!=a||d){if(a==Bl||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(h.isSpecial()&&""==u)return Hu;if(t&&""==u&&(h.includesCredentials()||null!==h.port))return;if(i=h.parseHost(u))return i;if(u="",c=cf,t)return;continue}"["==a?d=!0:"]"==a&&(d=!1),u+=a}else{if(""==u)return Hu;if(i=h.parseHost(u))return i;if(u="",c=af,t==nf)return}break;case af:if(!uu(Iu,a)){if(a==Bl||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()||t){if(""!=u){var b=su(u,10);if(b>65535)return Ru;h.port=h.isSpecial()&&b===Gu[h.scheme]?null:b,u=""}if(t)return;c=cf;continue}return Ru}u+=a;break;case of:if(h.scheme="file","/"==a||"\\"==a)c=sf;else{if(!r||"file"!=r.scheme){c=lf;continue}if(a==Bl)h.host=r.host,h.path=Wl(r.path),h.query=r.query;else if("?"==a)h.host=r.host,h.path=Wl(r.path),h.query="",c=ff;else{if("#"!=a){zu(fu(Wl(n,l),""))||(h.host=r.host,h.path=Wl(r.path),h.shortenPath()),c=lf;continue}h.host=r.host,h.path=Wl(r.path),h.query=r.query,h.fragment="",c=df}}break;case sf:if("/"==a||"\\"==a){c=hf;break}r&&"file"==r.scheme&&!zu(fu(Wl(n,l),""))&&(Yu(r.path[0],!0)?gu(h.path,r.path[0]):h.host=r.host),c=lf;continue;case hf:if(a==Bl||"/"==a||"\\"==a||"?"==a||"#"==a){if(!t&&Yu(u))c=lf;else if(""==u){if(h.host="",t)return;c=cf}else{if(i=h.parseHost(u))return i;if("localhost"==h.host&&(h.host=""),t)return;u="",c=cf}continue}u+=a;break;case cf:if(h.isSpecial()){if(c=lf,"/"!=a&&"\\"!=a)continue}else if(t||"?"!=a)if(t||"#"!=a){if(a!=Bl&&(c=lf,"/"!=a))continue}else h.fragment="",c=df;else h.query="",c=ff;break;case lf:if(a==Bl||"/"==a||"\\"==a&&h.isSpecial()||!t&&("?"==a||"#"==a)){if(".."===(s=Su(s=u))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(h.shortenPath(),"/"==a||"\\"==a&&h.isSpecial()||gu(h.path,"")):Ku(u)?"/"==a||"\\"==a&&h.isSpecial()||gu(h.path,""):("file"==h.scheme&&!h.path.length&&Yu(u)&&(h.host&&(h.host=""),u=lu(u,0)+":"),gu(h.path,u)),u="","file"==h.scheme&&(a==Bl||"?"==a||"#"==a))for(;h.path.length>1&&""===h.path[0];)yu(h.path);"?"==a?(h.query="",c=ff):"#"==a&&(h.fragment="",c=df)}else u+=_u(a,ju);break;case uf:"?"==a?(h.query="",c=ff):"#"==a?(h.fragment="",c=df):a!=Bl&&(h.path[0]+=_u(a,Fu));break;case ff:t||"#"!=a?a!=Bl&&("'"==a&&h.isSpecial()?h.query+="%27":h.query+="#"==a?"%23":_u(a,Fu)):(h.fragment="",c=df);break;case df:a!=Bl&&(h.fragment+=_u(a,Nu))}l++}},parseHost:function(e){var t,r,n;if("["==lu(e,0)){if("]"!=lu(e,e.length-1))return Hu;if(t=function(e){var t,r,n,a,o,i,s,h=[0,0,0,0,0,0,0,0],c=0,l=null,u=0,f=function(){return lu(e,u)};if(":"==f()){if(":"!=lu(e,1))return;u+=2,l=++c}for(;f();){if(8==c)return;if(":"!=f()){for(t=r=0;r<4&&uu(Eu,f());)t=16*t+su(f(),16),u++,r++;if("."==f()){if(0==r)return;if(u-=r,c>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;u++}if(!uu(Iu,f()))return;for(;uu(Iu,f());){if(o=su(f(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;u++}h[c]=256*h[c]+a,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==f()){if(u++,!f())return}else if(f())return;h[c++]=t}else{if(null!==l)return;u++,l=++c}}if(null!==l)for(i=c-l,c=7;0!=c&&i>0;)s=h[c],h[c--]=h[l+i-1],h[l+--i]=s;else if(8!=c)return;return h}(vu(e,1,-1)),!t)return Hu;this.host=t}else if(this.isSpecial()){if(e=Vl(e),uu(Lu,e))return Hu;if(t=function(e){var t,r,n,a,o,i,s,h=bu(e,".");if(h.length&&""==h[h.length-1]&&h.length--,(t=h.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=h[n]))return e;if(o=10,a.length>1&&"0"==lu(a,0)&&(o=uu(Pu,a)?16:8,a=vu(a,8==o?1:2)),""===a)i=0;else{if(!uu(10==o?Ou:8==o?Mu:Eu,a))return e;i=su(a,o)}gu(r,i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=cu(256,5-t))return null}else if(i>255)return null;for(s=mu(r),n=0;n<r.length;n++)s+=r[n]*cu(256,3-n);return s}(e),null===t)return Hu;this.host=t}else{if(uu(ku,e))return Hu;for(t="",r=Jl(e),n=0;n<r.length;n++)t+=_u(r[n],Fu);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return zl(Gu,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&Yu(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,a=e.host,o=e.port,i=e.path,s=e.query,h=e.fragment,c=t+":";return null!==a?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=Uu(a),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+fu(i,"/"):"",null!==s&&(c+="?"+s),null!==h&&(c+="#"+h),c},setHref:function(e){var t=this.parse(e);if(t)throw iu(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new gf(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+Uu(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Zl(e)+":",Ju)},getUsername:function(){return this.username},setUsername:function(e){var t=Jl(Zl(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=_u(t[r],xu)}},getPassword:function(){return this.password},setPassword:function(e){var t=Jl(Zl(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=_u(t[r],xu)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?Uu(e):Uu(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,rf)},getHostname:function(){var e=this.host;return null===e?"":Uu(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,nf)},getPort:function(){var e=this.port;return null===e?"":Zl(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=Zl(e))?this.port=null:this.parse(e,af))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+fu(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,cf))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=Zl(e))?this.query=null:("?"==lu(e,0)&&(e=vu(e,1)),this.query="",this.parse(e,ff)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=Zl(e))?("#"==lu(e,0)&&(e=vu(e,1)),this.fragment="",this.parse(e,df)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var gf=function(e){var t=Yl(this,pf),r=Ql(arguments.length,1)>1?arguments[1]:void 0,n=tu(t,new mf(e,!1,r));Ul||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},pf=gf.prototype,yf=function(e,t){return{get:function(){return ru(this)[e]()},set:t&&function(e){return ru(this)[t](e)},configurable:!0,enumerable:!0}};if(Ul&&(Gl(pf,"href",yf("serialize","setHref")),Gl(pf,"origin",yf("getOrigin")),Gl(pf,"protocol",yf("getProtocol","setProtocol")),Gl(pf,"username",yf("getUsername","setUsername")),Gl(pf,"password",yf("getPassword","setPassword")),Gl(pf,"host",yf("getHost","setHost")),Gl(pf,"hostname",yf("getHostname","setHostname")),Gl(pf,"port",yf("getPort","setPort")),Gl(pf,"pathname",yf("getPathname","setPathname")),Gl(pf,"search",yf("getSearch","setSearch")),Gl(pf,"searchParams",yf("getSearchParams")),Gl(pf,"hash",yf("getHash","setHash"))),_l(pf,"toJSON",(function(){return ru(this).serialize()}),{enumerable:!0}),_l(pf,"toString",(function(){return ru(this).serialize()}),{enumerable:!0}),ou){var bf=ou.createObjectURL,vf=ou.revokeObjectURL;bf&&_l(gf,"createObjectURL",jl(bf,ou)),vf&&_l(gf,"revokeObjectURL",jl(vf,ou))}$l(gf,"URL"),Dl({global:!0,constructor:!0,forced:!Fl,sham:!Ul},{URL:gf});var Sf,wf=q,Af=M,Hf=rt("match"),Rf=function(e){var t;return wf(e)&&(void 0!==(t=e[Hf])?!!t:"RegExp"==Af(e))},Tf=TypeError,Cf=rt("match"),If=ea,Pf=Rs,Mf=s.f,Of=ln,Ef=ua,Lf=function(e){if(Rf(e))throw Tf("The method doesn't accept regular expressions");return e},kf=N,Bf=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Cf]=!1,"/./"[e](t)}catch(e){}}return!1},Df=Pf("".startsWith),Uf=Pf("".slice),Ff=Math.min,Nf=Bf("startsWith");If({target:"String",proto:!0,forced:!!(Nf||(Sf=Mf(String.prototype,"startsWith"),!Sf||Sf.writable))&&!Nf},{startsWith:function(e){var t=Ef(kf(this));Lf(e);var r=Of(Ff(arguments.length>1?arguments[1]:void 0,t.length)),n=Ef(e);return Df?Df(t,n,r):Uf(t,r,r+n.length)===n}});var jf=d,xf=Ge,_f=X,Gf=da,Yf=RegExp.prototype,zf=tr.PROPER,Kf=$r,Jf=kt,Wf=ua,qf=h,Vf=function(e){var t=e.flags;return void 0!==t||"flags"in Yf||xf(e,"flags")||!_f(Yf,e)?t:jf(Gf,e)},Zf="toString",$f=RegExp.prototype.toString,Qf=qf((function(){return"/a/b"!=$f.call({source:"a",flags:"b"})})),Xf=zf&&$f.name!=Zf;(Qf||Xf)&&Kf(RegExp.prototype,Zf,(function(){var e=Jf(this);return"/"+Wf(e.source)+"/"+Wf(Vf(e))}),{unsafe:!0});var ed={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah",Sukkot:"Feast of Booths","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"},td={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Democratic Republic of the Congo",CF:"Central African Republic",CG:"Republic of the Congo",CH:"Switzerland",CI:"Ivory Coast",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curacao",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GE:"Georgia",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GQ:"Equatorial Guinea",GR:"Greece",GT:"Guatemala",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MP:"Northern Mariana Islands",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PR:"Puerto Rico",PT:"Portugal",PY:"Paraguay",QA:"Qatar",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SK:"Slovakia",SL:"Sierra Leone",SN:"Senegal",SO:"Somalia",SR:"Suriname",ST:"Sao Tome and Principe",SV:"El Salvador",SY:"Syria",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TM:"Turkmenistan",TN:"Tunisia",TR:"Turkey",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VN:"Vietnam",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"};function rd(e){if("object"==typeof e&&null!==e&&"string"==typeof e.name){const t={title:e.getName(),city:e.getShortName(),tzid:e.getTzid(),latitude:e.getLatitude(),longitude:e.getLongitude(),cc:e.getCountryCode(),country:td[e.getCountryCode()]};return["admin1","asciiname","geo","zip","state","stateName","geonameid"].forEach((r=>{e[r]&&(t[r]=e[r])})),t}return{geo:"none"}}function nd(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function ad(e){return e<10?"0"+e:""+e}function od(e){return e<0?"-00"+od(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function id(e){return od(e.getFullYear())+"-"+ad(e.getMonth()+1)+"-"+ad(e.getDate())}const sd=[[t.flags.MAJOR_FAST,"holiday","major","fast"],[t.flags.CHANUKAH_CANDLES,"holiday","major"],[t.flags.DAF_YOMI,"dafyomi"],[t.flags.HEBREW_DATE,"hebdate"],[t.flags.MINOR_FAST,"holiday","fast"],[t.flags.MINOR_HOLIDAY,"holiday","minor"],[t.flags.MISHNA_YOMI,"mishnayomi"],[t.flags.NACH_YOMI,"nachyomi"],[t.flags.YERUSHALMI_YOMI,"yerushalmi"],[t.flags.MODERN_HOLIDAY,"holiday","modern"],[t.flags.MOLAD,"molad"],[t.flags.OMER_COUNT,"omer"],[t.flags.PARSHA_HASHAVUA,"parashat"],[t.flags.ROSH_CHODESH,"roshchodesh"],[t.flags.SHABBAT_MEVARCHIM,"mevarchim"],[t.flags.SPECIAL_SHABBAT,"holiday","shabbat"],[t.flags.USER_EVENT,"user"]];function hd(e){const t=e.getDesc();switch(t){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"];case"Purim":return["holiday","major"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];const r=e.getFlags();for(let e=0;e<sd.length;e++){const t=sd[e];if(r&t[0])return t.slice(1)}switch(t){case"Lag BaOmer":case"Leil Selichot":case"Pesach Sheni":case"Erev Purim":case"Purim Katan":case"Shushan Purim":case"Tu B'Av":case"Tu BiShvat":case"Rosh Hashana LaBehemot":return["holiday","minor"];default:return["holiday","major"]}}function cd(e,t){let r="Hebcal";const n=t.location;if(t.yahrzeit)r+=" Yahrzeits and Anniversaries";else if(n&&n.name){const e=n.name.indexOf(",");r+=" "+(-1==e?n.name:n.name.substring(0,e))}else t.il?r+=" Israel":r+=" Diaspora";if("1"==t.subscribe)return r;if(t.year&&(t.isHebrewYear||0==e.length))r+=" "+t.year;else if(e.length){const t=e[0].getDate().greg(),n=e[e.length-1].getDate().greg();if(t.getFullYear()!=n.getFullYear())r+=" "+t.getFullYear()+"-"+n.getFullYear();else if(t.getMonth()==n.getMonth()){r+=" "+new Intl.DateTimeFormat("en-US",{month:"long"}).format(t)+" "+t.getFullYear()}else r+=" "+t.getFullYear()}return r}function ld(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=ed[e.getDesc()]||ed[e.basename()]||"";if(t&&r){const e=r.indexOf(".");if(-1!=e)return r.substring(0,e)}return r}const ud=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.NACH_YOMI|t.flags.HEBREW_DATE|t.flags.YERUSHALMI_YOMI;function fd(e,n){const a=e.getFlags();if(a&ud)return"";if(void 0!==e.eventTime)return"";const o=a&t.flags.PARSHA_HASHAVUA?r.getLeyningForParshaHaShavua(e,n):r.getLeyningForHoliday(e,n);let i="";return o&&(o.summary||o.haftara)&&(o.summary&&(i+="Torah: ".concat(o.summary)),o.summary&&o.haftara&&(i+="\n"),o.haftara&&(i+="Haftarah: "+o.haftara,o.reason&&o.reason.haftara&&(i+=" | "+o.reason.haftara))),o&&o.sephardic&&(i+="\nHaftarah for Sephardim: "+o.sephardic),i}function dd(e,r){if(e.getFlags()&t.flags.PARSHA_HASHAVUA)try{const t=fd(e,r);if(t)return t}catch(e){}return e.memo||ed[e.basename()]}function md(e,t,r,n,a){const o=new URL(e),i="www.hebcal.com"===o.host;if(i){t&&o.searchParams.set("i","on");const e=o.pathname,i=e.startsWith("/holidays/"),s=e.startsWith("/sedrot/"),h=e.startsWith("/omer/");if(i||s||h)return o.host="hebcal.com",o.pathname=i?"/h/"+e.substring(10):s?"/s/"+e.substring(8):"/o/"+e.substring(6),a&&(a.startsWith("ical-")||a.startsWith("pdf-"))||(r&&o.searchParams.set("us",r),n&&o.searchParams.set("um",n)),a&&o.searchParams.set("uc",a),o.toString()}return(r=i?r:"hebcal.com")&&o.searchParams.set("utm_source",r),n&&o.searchParams.set("utm_medium",n),a&&o.searchParams.set("utm_campaign",a),o.toString()}function gd(e){if(void 0!==e.eventTime)return!0;const r=e.getFlags();if(r&t.flags.HEBREW_DATE){return 1!==e.getDate().getDate()}return!!(r&(t.flags.DAF_YOMI|t.flags.YERUSHALMI_YOMI))||(!!(r&t.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(r&t.flags.SHABBAT_MEVARCHIM))}const pd='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',yd={dafyomi:"Daf Yomi",mishnayomi:"Mishna Yomi",nachyomi:"Nach Yomi",yerushalmi:"Yerushalmi Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:"",molad:"",omer:"",parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal",zmanim:""};function bd(e,r){const n=e.getDate().greg(),a=n.getDate(),o=n.getMonth()+1,i=String(n.getFullYear()).padStart(4,"0"),s=r.euro?'"'.concat(a,"/").concat(o,"/").concat(i,'"'):'"'.concat(o,"/").concat(a,"/").concat(i,'"');let h="",c="",l="",u='"true"';const f=Boolean(e.eventTime);let d=gd(e)?e.renderBrief(r.locale):e.render(r.locale);if(e.eventTime){const n=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr," PM",r);c=h='"'.concat(n,'"'),l=s,u='"false"'}let m="Jewish Holidays";const g=e.getFlags();if(f&&"object"==typeof r.location){const e=r.location.getShortName(),t=e.indexOf(",");m=-1===t?e:e.substring(0,t)}else{const t=yd[hd(e)[0]];"string"==typeof t&&(m=t)}if(d=d.replace(/,/g,"").replace(/"/g,"''"),r.appendHebrewToSubject){const t=e.renderBrief("he");t&&(d+=" / ".concat(t))}let p=e.memo||ld(e,!0);p||void 0===e.linkedEvent||(p=e.linkedEvent.render(r.locale));const y=p.replace(/,/g,";").replace(/"/g,"''").replace(/\n/g," / "),b=f||g&t.flags.CHAG?4:3;return'"'.concat(d,'",').concat(s,",").concat(h,",").concat(l,",").concat(c,",").concat(u,',"').concat(y,'","').concat(b,'","').concat(m,'"')}function vd(e){return id(e.getDate().greg())}function Sd(e,a){let o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const i=Boolean(e.eventTime),s=e.getDate(),h=s.greg(),c="object"==typeof a.location?a.location.getTzid():"UTC",l=i?t.Zmanim.formatISOWithTimeZone(c,e.eventTime):id(h),u=hd(e),f=e.getFlags();let d=gd(e)?e.renderBrief(a.locale):e.render(a.locale);const m=e.getDesc(),g="Havdalah"===m||"Candle lighting"===m;if(g){d+=": "+t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a)}const p={title:d,date:l};i||(p.hdate=s.toString()),p.category=u[0],u.length>1&&(p.subcat=u[1]),"holiday"===u[0]&&f&t.flags.CHAG&&(p.yomtov=!0),d!=m&&(p.title_orig=m);const y=e.renderBrief("he");if(y&&(p.hebrew=t.Locale.hebrewStripNikkud(y)),!g){if(o){const o=a.il,i=f===t.flags.PARSHA_HASHAVUA,h=i?r.getLeyningForParshaHaShavua(e,o):r.getLeyningForHoliday(e,o);if(h){p.leyning=Ad(h);const t=s.getFullYear();if(i&&!o&&t>=5745){const t=n.getTriennialForParshaHaShavua(e);t&&(p.leyning.triennial=wd({},t.aliyot))}}}const i=e.url();if(i){const e=a.utmSource||"js",t=a.utmMedium||"api",r=a.utmCampaign;p.link=md(i,a.il,e,t,r)}}if(f&t.flags.OMER_COUNT&&(p.omer={count:{he:e.getTodayIs("he"),en:e.getTodayIs("en")},sefira:{he:e.sefira("he"),translit:e.sefira("translit"),en:e.sefira("en")}}),a.heDateParts&&!i||f&t.flags.HEBREW_DATE){const e=s.getFullYear(),r=s.getMonthName(),n=s.getDate();p.heDateParts={y:t.gematriya(e),m:t.Locale.gettext(r,"he-x-NoNikud"),d:t.gematriya(n)}}const b=e.memo||ed[e.basename()];return b?p.memo=b:void 0!==e.linkedEvent&&(p.memo=e.linkedEvent.render(a.locale)),a.includeEvent&&(p.ev=e),p}function wd(e,t){return Object.keys(t).forEach((n=>{const a=t[n];if(void 0!==a){e["M"==n?"maftir":n]=r.formatAliyahWithBook(a)}})),e}function Ad(e){const t={};return e.summary&&(t.torah=e.summary),e.haftara&&(t.haftarah=e.haftara),e.sephardic&&(t.haftarah_sephardic=e.sephardic),e.fullkriyah&&wd(t,e.fullkriyah),e.reason&&(["7","8","M"].forEach((r=>{if(e.reason[r]){t["M"==r?"maftir":r]+=" | "+e.reason[r]}})),e.reason.haftara&&(t.haftarah+=" | "+e.reason.haftara)),t}const Hd={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function Rd(e,r){let n=e.render();const a=e.getDate().greg(),o=function(e,t,r,n){if(t){const t=e.eventTime;return t?t.toUTCString():r.toUTCString().replace(/ \S+ GMT$/," 00:00:00 GMT")}return n}(e,r.evPubDate,a,r.lastBuildDate),i=r.location,s=!!i&&i.getIsrael(),h=i?i.getTzid():"UTC",c=r&&r.utmSource||"shabbat1c",l=r&&r.utmMedium||"rss",u=function(e,r,n,a,o,i){let s,h;const c=e.eventTime||e.getDate().greg(),l=t.Zmanim.formatISOWithTimeZone(n,c),u=l.substring(0,l.indexOf("T")),f=u.replace(/-/g,""),d=nd(e.getDesc()),m="".concat(f,"-").concat(d),g=e.url();if(g)s=md(g,r,o,i).replace(/&/g,"&"),h="".concat(g,"#").concat(m);else{const e="".concat(a,"&dt=").concat(u),t=md(e,r,o,i).replace(/&/g,"&");h=e.replace(/&/g,"&")+"#".concat(m),s="".concat(t,"#").concat(m)}return[s,h]}(e,s,h,r.mainUrl,c,l),f=u[0],d=u[1],m=hd(e)[0],g=e.getDesc();let p;if("Havdalah"===g||"Candle lighting"===g){const r=n.indexOf(": ");if(-1!=r){const a={location:i,il:s,locale:t.Locale.getLocaleName()},o=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a);n=n.substring(0,r)+": "+o}}else p=dd(e,s);const y=r.dayFormat,b=p||y.format(a),v="candles"==m?"<geo:lat>".concat(i.getLatitude(),"</geo:lat>\n<geo:long>").concat(i.getLongitude(),"</geo:long>\n"):"";return"<item>\n<title>".concat(n,"</title>\n<link>").concat(f,'</link>\n<guid isPermaLink="false">').concat(d,"</guid>\n<description>").concat(b,"</description>\n<category>").concat(m,"</category>\n<pubDate>").concat(o,"</pubDate>\n").concat(v,"</item>\n")}return e.appendIsraelAndTracking=md,e.countryNames=td,e.eventToClassicApiObject=Sd,e.eventToCsv=bd,e.eventToFullCalendar=function(e,r,n){const a=hd(e),o=e.getFlags();"holiday"==a[0]&&o&t.flags.CHAG&&a.push("yomtov");const i=Boolean(e.eventTime),s={title:gd(e)?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(r,e.eventTime):id(e.getDate().greg()),allDay:!i,className:a.join(" ")},h=e.renderBrief("he");h&&(s.hebrew=t.Locale.hebrewStripNikkud(h));const c=e.url();c&&(s.url=md(c,n,"js","fc"));const l=e.getDesc();if(!("Havdalah"===l||"Candle lighting"===l)){const t=dd(e,n);t?s.description=t:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem2=Rd,e.eventsToClassicApi=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:cd(e,t),date:(new Date).toISOString()};return n.location=rd(t.location),e.length&&(n.range={start:vd(e[0]),end:vd(e[e.length-1])}),n.items=e.map((e=>Sd(e,t,r))),n},e.eventsToCsv=function(e,t){return[pd].concat(e.map((e=>bd(e,t)))).join("\r\n")+"\r\n"},e.eventsToRss2=function(e,t){t.dayFormat=new Intl.DateTimeFormat("en-US",{weekday:"long",day:"2-digit",month:"long",year:"numeric"});const r=t.location,n=t.mainUrl,a=t.buildDate=t.buildDate||new Date,o=a.getFullYear(),i=t.lastBuildDate=a.toUTCString(),s=t.title||cd(e,t),h=t.description||s,c=t.utmSource||"shabbat1c",l=t.utmMedium||"rss",u=md(n,r&&r.getIsrael(),c,l,t.utmCampaign).replace(/&/g,"&"),f=t.selfUrl.replace(/&/g,"&"),d=t.lang||Hd[t.locale]||t.locale||"en-US";let m='<?xml version="1.0" encoding="UTF-8"?>\n<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:atom="http://www.w3.org/2005/Atom">\n<channel>\n<title>'.concat(s,"</title>\n<link>").concat(u,'</link>\n<atom:link href="').concat(f,'" rel="self" type="application/rss+xml" />\n<description>').concat(h,"</description>\n<language>").concat(d,"</language>\n<copyright>Copyright (c) ").concat(o," Michael J. Radwin. All rights reserved.</copyright>\n<lastBuildDate>").concat(i,"</lastBuildDate>\n");return e.forEach((e=>{m+=Rd(e,t)})),m+="</channel>\n</rss>\n",m},e.getCalendarTitle=cd,e.getDownloadFilename=function(e){let r="hebcal";if(e.year)r+="_"+e.year,e.isHebrewYear&&(r+="h"),e.month&&(r+="_"+e.month);else if("object"==typeof e.start&&"object"==typeof e.end){const n=new t.HDate(e.start),a=new t.HDate(e.end),o=n.greg().getFullYear(),i=a.greg().getFullYear();r+=o===i?"_"+o:"_"+o+"_"+i}if("object"==typeof e.location){const t=e.location,n=t.zip||t.asciiname||t.getShortName();n&&(r+="_"+nd(n).replace(/[-]/g,"_"))}return r},e.getEventCategories=hd,e.getHolidayDescription=ld,e.holidayDescription=ed,e.locationToPlainObj=rd,e.makeAnchor=nd,e.makeMemo=dd,e.makeTorahMemoText=fd,e.pad2=ad,e.pad4=od,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=gd,e.toISOString=id,e}({},hebcal,hebcal__leyning,hebcal__triennial);
|
package/dist/fullcalendar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.3.
|
|
1
|
+
/*! @hebcal/rest-api v4.3.15 */
|
|
2
2
|
var hebcalFullCalendar = (function (exports, core, leyning) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -62,6 +62,8 @@ function getEventCategories(ev) {
|
|
|
62
62
|
case 'Fast begins':
|
|
63
63
|
case 'Fast ends':
|
|
64
64
|
return ['zmanim', 'fast'];
|
|
65
|
+
case 'Purim':
|
|
66
|
+
return ['holiday', 'major'];
|
|
65
67
|
}
|
|
66
68
|
if (ev.cholHaMoedDay) {
|
|
67
69
|
return ['holiday', 'major', 'cholhamoed'];
|
|
@@ -89,7 +91,7 @@ function getEventCategories(ev) {
|
|
|
89
91
|
return ['holiday', 'major'];
|
|
90
92
|
}
|
|
91
93
|
}
|
|
92
|
-
var HOLIDAY_IGNORE_MASK = core.flags.DAF_YOMI | core.flags.OMER_COUNT | core.flags.SHABBAT_MEVARCHIM | core.flags.MOLAD | core.flags.USER_EVENT | core.flags.HEBREW_DATE | core.flags.YERUSHALMI_YOMI;
|
|
94
|
+
var HOLIDAY_IGNORE_MASK = core.flags.DAF_YOMI | core.flags.OMER_COUNT | core.flags.SHABBAT_MEVARCHIM | core.flags.MOLAD | core.flags.USER_EVENT | core.flags.NACH_YOMI | core.flags.HEBREW_DATE | core.flags.YERUSHALMI_YOMI;
|
|
93
95
|
|
|
94
96
|
/**
|
|
95
97
|
* Makes mulit-line text that summarizes Torah & Haftarah
|
package/dist/fullcalendar.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.3.
|
|
2
|
-
var hebcalFullCalendar=function(e,a,o){"use strict";var r={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah",Sukkot:"Feast of Booths","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};function t(e){return e<10?"0"+e:""+e}function h(e){return e<0?"-00"+h(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function s(e){return h(e.getFullYear())+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())}var n=[[a.flags.MAJOR_FAST,"holiday","major","fast"],[a.flags.CHANUKAH_CANDLES,"holiday","major"],[a.flags.DAF_YOMI,"dafyomi"],[a.flags.HEBREW_DATE,"hebdate"],[a.flags.MINOR_FAST,"holiday","fast"],[a.flags.MINOR_HOLIDAY,"holiday","minor"],[a.flags.MISHNA_YOMI,"mishnayomi"],[a.flags.NACH_YOMI,"nachyomi"],[a.flags.YERUSHALMI_YOMI,"yerushalmi"],[a.flags.MODERN_HOLIDAY,"holiday","modern"],[a.flags.MOLAD,"molad"],[a.flags.OMER_COUNT,"omer"],[a.flags.PARSHA_HASHAVUA,"parashat"],[a.flags.ROSH_CHODESH,"roshchodesh"],[a.flags.SHABBAT_MEVARCHIM,"mevarchim"],[a.flags.SPECIAL_SHABBAT,"holiday","shabbat"],[a.flags.USER_EVENT,"user"]];var i=a.flags.DAF_YOMI|a.flags.OMER_COUNT|a.flags.SHABBAT_MEVARCHIM|a.flags.MOLAD|a.flags.USER_EVENT|a.flags.HEBREW_DATE|a.flags.YERUSHALMI_YOMI;function d(e,t){if(e.getFlags()&a.flags.PARSHA_HASHAVUA)try{var h=function(e,r){var t=e.getFlags();if(t&i)return"";if(void 0!==e.eventTime)return"";var h=t&a.flags.PARSHA_HASHAVUA?o.getLeyningForParshaHaShavua(e,r):o.getLeyningForHoliday(e,r),s="";return h&&(h.summary||h.haftara)&&(h.summary&&(s+="Torah: ".concat(h.summary)),h.summary&&h.haftara&&(s+="\n"),h.haftara&&(s+="Haftarah: "+h.haftara,h.reason&&h.reason.haftara&&(s+=" | "+h.reason.haftara))),h&&h.sephardic&&(s+="\nHaftarah for Sephardim: "+h.sephardic),s}(e,t);if(h)return h}catch(e){}return e.memo||r[e.basename()]}return e.eventToFullCalendar=function(e,o,r){var t=function(e){var a=e.getDesc();switch(a){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];for(var o=e.getFlags(),r=0;r<n.length;r++){var t=n[r];if(o&t[0])return t.slice(1)}switch(a){case"Lag BaOmer":case"Leil Selichot":case"Pesach Sheni":case"Erev Purim":case"Purim Katan":case"Shushan Purim":case"Tu B'Av":case"Tu BiShvat":case"Rosh Hashana LaBehemot":return["holiday","minor"];default:return["holiday","major"]}}(e),h=e.getFlags();"holiday"==t[0]&&h&a.flags.CHAG&&t.push("yomtov");var i=Boolean(e.eventTime),l=function(e){if(void 0!==e.eventTime)return!0;var o=e.getFlags();return o&a.flags.HEBREW_DATE?1!==e.getDate().getDate():!!(o&(a.flags.DAF_YOMI|a.flags.YERUSHALMI_YOMI))||!!(o&a.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(o&a.flags.SHABBAT_MEVARCHIM)}(e)?e.renderBrief():e.render(),m={title:l,start:i?a.Zmanim.formatISOWithTimeZone(o,e.eventTime):s(e.getDate().greg()),allDay:!i,className:t.join(" ")},f=e.renderBrief("he");f&&(m.hebrew=a.Locale.hebrewStripNikkud(f));var c=e.url();c&&(m.url=function(e,a,o,r,t){var h=new URL(e),s="www.hebcal.com"===h.host;if(s){a&&h.searchParams.set("i","on");var n=h.pathname,i=n.startsWith("/holidays/"),d=n.startsWith("/sedrot/"),l=n.startsWith("/omer/");if(i||d||l)return h.host="hebcal.com",h.pathname=i?"/h/"+n.substring(10):d?"/s/"+n.substring(8):"/o/"+n.substring(6),t&&(t.startsWith("ical-")||t.startsWith("pdf-"))||(o&&h.searchParams.set("us",o),r&&h.searchParams.set("um",r)),t&&h.searchParams.set("uc",t),h.toString()}return(o=s?o:"hebcal.com")&&h.searchParams.set("utm_source",o),r&&h.searchParams.set("utm_medium",r),t&&h.searchParams.set("utm_campaign",t),h.toString()}(c,r,"js","fc"));var b=e.getDesc();if(!("Havdalah"===b||"Candle lighting"===b)){var y=d(e,r);y?m.description=y:void 0!==e.linkedEvent&&(m.description=e.linkedEvent.render())}return m},e}({},hebcal,hebcal__leyning);
|
|
1
|
+
/*! @hebcal/rest-api v4.3.15 */
|
|
2
|
+
var hebcalFullCalendar=function(e,a,o){"use strict";var r={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah",Sukkot:"Feast of Booths","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};function t(e){return e<10?"0"+e:""+e}function h(e){return e<0?"-00"+h(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function s(e){return h(e.getFullYear())+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())}var n=[[a.flags.MAJOR_FAST,"holiday","major","fast"],[a.flags.CHANUKAH_CANDLES,"holiday","major"],[a.flags.DAF_YOMI,"dafyomi"],[a.flags.HEBREW_DATE,"hebdate"],[a.flags.MINOR_FAST,"holiday","fast"],[a.flags.MINOR_HOLIDAY,"holiday","minor"],[a.flags.MISHNA_YOMI,"mishnayomi"],[a.flags.NACH_YOMI,"nachyomi"],[a.flags.YERUSHALMI_YOMI,"yerushalmi"],[a.flags.MODERN_HOLIDAY,"holiday","modern"],[a.flags.MOLAD,"molad"],[a.flags.OMER_COUNT,"omer"],[a.flags.PARSHA_HASHAVUA,"parashat"],[a.flags.ROSH_CHODESH,"roshchodesh"],[a.flags.SHABBAT_MEVARCHIM,"mevarchim"],[a.flags.SPECIAL_SHABBAT,"holiday","shabbat"],[a.flags.USER_EVENT,"user"]];var i=a.flags.DAF_YOMI|a.flags.OMER_COUNT|a.flags.SHABBAT_MEVARCHIM|a.flags.MOLAD|a.flags.USER_EVENT|a.flags.NACH_YOMI|a.flags.HEBREW_DATE|a.flags.YERUSHALMI_YOMI;function d(e,t){if(e.getFlags()&a.flags.PARSHA_HASHAVUA)try{var h=function(e,r){var t=e.getFlags();if(t&i)return"";if(void 0!==e.eventTime)return"";var h=t&a.flags.PARSHA_HASHAVUA?o.getLeyningForParshaHaShavua(e,r):o.getLeyningForHoliday(e,r),s="";return h&&(h.summary||h.haftara)&&(h.summary&&(s+="Torah: ".concat(h.summary)),h.summary&&h.haftara&&(s+="\n"),h.haftara&&(s+="Haftarah: "+h.haftara,h.reason&&h.reason.haftara&&(s+=" | "+h.reason.haftara))),h&&h.sephardic&&(s+="\nHaftarah for Sephardim: "+h.sephardic),s}(e,t);if(h)return h}catch(e){}return e.memo||r[e.basename()]}return e.eventToFullCalendar=function(e,o,r){var t=function(e){var a=e.getDesc();switch(a){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"];case"Purim":return["holiday","major"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];for(var o=e.getFlags(),r=0;r<n.length;r++){var t=n[r];if(o&t[0])return t.slice(1)}switch(a){case"Lag BaOmer":case"Leil Selichot":case"Pesach Sheni":case"Erev Purim":case"Purim Katan":case"Shushan Purim":case"Tu B'Av":case"Tu BiShvat":case"Rosh Hashana LaBehemot":return["holiday","minor"];default:return["holiday","major"]}}(e),h=e.getFlags();"holiday"==t[0]&&h&a.flags.CHAG&&t.push("yomtov");var i=Boolean(e.eventTime),l=function(e){if(void 0!==e.eventTime)return!0;var o=e.getFlags();return o&a.flags.HEBREW_DATE?1!==e.getDate().getDate():!!(o&(a.flags.DAF_YOMI|a.flags.YERUSHALMI_YOMI))||!!(o&a.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(o&a.flags.SHABBAT_MEVARCHIM)}(e)?e.renderBrief():e.render(),m={title:l,start:i?a.Zmanim.formatISOWithTimeZone(o,e.eventTime):s(e.getDate().greg()),allDay:!i,className:t.join(" ")},f=e.renderBrief("he");f&&(m.hebrew=a.Locale.hebrewStripNikkud(f));var c=e.url();c&&(m.url=function(e,a,o,r,t){var h=new URL(e),s="www.hebcal.com"===h.host;if(s){a&&h.searchParams.set("i","on");var n=h.pathname,i=n.startsWith("/holidays/"),d=n.startsWith("/sedrot/"),l=n.startsWith("/omer/");if(i||d||l)return h.host="hebcal.com",h.pathname=i?"/h/"+n.substring(10):d?"/s/"+n.substring(8):"/o/"+n.substring(6),t&&(t.startsWith("ical-")||t.startsWith("pdf-"))||(o&&h.searchParams.set("us",o),r&&h.searchParams.set("um",r)),t&&h.searchParams.set("uc",t),h.toString()}return(o=s?o:"hebcal.com")&&h.searchParams.set("utm_source",o),r&&h.searchParams.set("utm_medium",r),t&&h.searchParams.set("utm_campaign",t),h.toString()}(c,r,"js","fc"));var b=e.getDesc();if(!("Havdalah"===b||"Candle lighting"===b)){var y=d(e,r);y?m.description=y:void 0!==e.linkedEvent&&(m.description=e.linkedEvent.render())}return m},e}({},hebcal,hebcal__leyning);
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.3.
|
|
1
|
+
/*! @hebcal/rest-api v4.3.15 */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var core = require('@hebcal/core');
|
|
@@ -142,6 +142,8 @@ function getEventCategories(ev) {
|
|
|
142
142
|
case 'Fast begins':
|
|
143
143
|
case 'Fast ends':
|
|
144
144
|
return ['zmanim', 'fast'];
|
|
145
|
+
case 'Purim':
|
|
146
|
+
return ['holiday', 'major'];
|
|
145
147
|
}
|
|
146
148
|
if (ev.cholHaMoedDay) {
|
|
147
149
|
return ['holiday', 'major', 'cholhamoed'];
|
|
@@ -238,7 +240,7 @@ function getHolidayDescription(ev, firstSentence = false) {
|
|
|
238
240
|
}
|
|
239
241
|
return str;
|
|
240
242
|
}
|
|
241
|
-
const HOLIDAY_IGNORE_MASK = core.flags.DAF_YOMI | core.flags.OMER_COUNT | core.flags.SHABBAT_MEVARCHIM | core.flags.MOLAD | core.flags.USER_EVENT | core.flags.HEBREW_DATE | core.flags.YERUSHALMI_YOMI;
|
|
243
|
+
const HOLIDAY_IGNORE_MASK = core.flags.DAF_YOMI | core.flags.OMER_COUNT | core.flags.SHABBAT_MEVARCHIM | core.flags.MOLAD | core.flags.USER_EVENT | core.flags.NACH_YOMI | core.flags.HEBREW_DATE | core.flags.YERUSHALMI_YOMI;
|
|
242
244
|
|
|
243
245
|
/**
|
|
244
246
|
* Makes mulit-line text that summarizes Torah & Haftarah
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.3.
|
|
1
|
+
/*! @hebcal/rest-api v4.3.15 */
|
|
2
2
|
import { flags, HDate, HebrewCalendar, Zmanim, Locale, gematriya } from '@hebcal/core';
|
|
3
3
|
import { getLeyningForParshaHaShavua, getLeyningForHoliday, formatAliyahWithBook } from '@hebcal/leyning';
|
|
4
4
|
import { getTriennialForParshaHaShavua } from '@hebcal/triennial';
|
|
@@ -140,6 +140,8 @@ function getEventCategories(ev) {
|
|
|
140
140
|
case 'Fast begins':
|
|
141
141
|
case 'Fast ends':
|
|
142
142
|
return ['zmanim', 'fast'];
|
|
143
|
+
case 'Purim':
|
|
144
|
+
return ['holiday', 'major'];
|
|
143
145
|
}
|
|
144
146
|
if (ev.cholHaMoedDay) {
|
|
145
147
|
return ['holiday', 'major', 'cholhamoed'];
|
|
@@ -236,7 +238,7 @@ function getHolidayDescription(ev, firstSentence = false) {
|
|
|
236
238
|
}
|
|
237
239
|
return str;
|
|
238
240
|
}
|
|
239
|
-
const HOLIDAY_IGNORE_MASK = flags.DAF_YOMI | flags.OMER_COUNT | flags.SHABBAT_MEVARCHIM | flags.MOLAD | flags.USER_EVENT | flags.HEBREW_DATE | flags.YERUSHALMI_YOMI;
|
|
241
|
+
const HOLIDAY_IGNORE_MASK = flags.DAF_YOMI | flags.OMER_COUNT | flags.SHABBAT_MEVARCHIM | flags.MOLAD | flags.USER_EVENT | flags.NACH_YOMI | flags.HEBREW_DATE | flags.YERUSHALMI_YOMI;
|
|
240
242
|
|
|
241
243
|
/**
|
|
242
244
|
* Makes mulit-line text that summarizes Torah & Haftarah
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebcal/rest-api",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.15",
|
|
4
4
|
"author": "Michael J. Radwin (https://github.com/mjradwin)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hebcal"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"url": "https://github.com/hebcal/hebcal-rest-api/issues"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@hebcal/core": "^3.
|
|
28
|
+
"@hebcal/core": "^3.50.3",
|
|
29
29
|
"@hebcal/leyning": "^7.0.0",
|
|
30
30
|
"@hebcal/triennial": "^1.1.0"
|
|
31
31
|
},
|
|
@@ -41,20 +41,20 @@
|
|
|
41
41
|
"require": ["@babel/register"]
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@babel/core": "^7.20.
|
|
44
|
+
"@babel/core": "^7.20.12",
|
|
45
45
|
"@babel/preset-env": "^7.20.2",
|
|
46
46
|
"@babel/register": "^7.18.9",
|
|
47
47
|
"@rollup/plugin-babel": "^6.0.3",
|
|
48
48
|
"@rollup/plugin-commonjs": "^24.0.0",
|
|
49
49
|
"@rollup/plugin-json": "^6.0.0",
|
|
50
50
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
51
|
-
"@rollup/plugin-terser": "^0.
|
|
52
|
-
"ava": "^5.1.
|
|
53
|
-
"core-js": "^3.
|
|
54
|
-
"eslint": "^8.
|
|
51
|
+
"@rollup/plugin-terser": "^0.3.0",
|
|
52
|
+
"ava": "^5.1.1",
|
|
53
|
+
"core-js": "^3.27.2",
|
|
54
|
+
"eslint": "^8.32.0",
|
|
55
55
|
"eslint-config-google": "^0.14.0",
|
|
56
56
|
"jsdoc": "^4.0.0",
|
|
57
57
|
"jsdoc-to-markdown": "^8.0.0",
|
|
58
|
-
"rollup": "^3.
|
|
58
|
+
"rollup": "^3.10.0"
|
|
59
59
|
}
|
|
60
60
|
}
|