@hebcal/rest-api 3.13.2 → 3.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -8
- package/dist/bundle.js +232 -199
- package/dist/bundle.min.js +2 -2
- package/dist/index.js +41 -34
- package/dist/index.mjs +41 -35
- package/package.json +8 -8
- package/rest-api.d.ts +12 -10
package/dist/bundle.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v3.
|
|
2
|
-
var hebcal__rest_api=function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var a=n(hebcal__leyning),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=function(e){return e&&e.Math==Math&&e},s=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof o&&o)||function(){return this}()||Function("return this")(),c={},h=function(e){try{return!!e()}catch(e){return!0}},u=!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")})),f=l,d=Function.prototype.call,m=f?d.bind(d):function(){return d.apply(d,arguments)},g={},p={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,b=y&&!p.call({1:2},1);g.f=b?function(e){var t=y(this,e);return!!t&&t.enumerable}:p;var v,S,w=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},A=l,R=Function.prototype,T=R.bind,H=R.call,P=A&&T.bind(H,H),C=A?function(e){return e&&P(e)}:function(e){return e&&function(){return H.apply(e,arguments)}},I=C,O=I({}.toString),E=I("".slice),k=function(e){return E(O(e),8,-1)},L=C,M=h,B=k,U=s.Object,x=L("".split),D=M((function(){return!U("z").propertyIsEnumerable(0)}))?function(e){return"String"==B(e)?x(e,""):U(e)}:U,F=s.TypeError,j=function(e){if(null==e)throw F("Can't call method on "+e);return e},N=D,G=j,_=function(e){return N(G(e))},z=function(e){return"function"==typeof e},Y=z,K=function(e){return"object"==typeof e?null!==e:Y(e)},W=s,J=z,q=function(e){return J(e)?e:void 0},V=function(e,t){return arguments.length<2?q(W[e]):W[e]&&W[e][t]},Z=C({}.isPrototypeOf),$=s,Q=V("navigator","userAgent")||"",X=$.process,ee=$.Deno,te=X&&X.versions||ee&&ee.version,re=te&&te.v8;re&&(S=(v=re.split("."))[0]>0&&v[0]<4?1:+(v[0]+v[1])),!S&&Q&&(!(v=Q.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=Q.match(/Chrome\/(\d+)/))&&(S=+v[1]);var ne=S,ae=h,oe=!!Object.getOwnPropertySymbols&&!ae((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ne&&ne<41})),ie=oe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,se=V,ce=z,he=Z,ue=ie,le=s.Object,fe=ue?function(e){return"symbol"==typeof e}:function(e){var t=se("Symbol");return ce(t)&&he(t.prototype,le(e))},de=s.String,me=function(e){try{return de(e)}catch(e){return"Object"}},ge=z,pe=me,ye=s.TypeError,be=function(e){if(ge(e))return e;throw ye(pe(e)+" is not a function")},ve=be,Se=function(e,t){var r=e[t];return null==r?void 0:ve(r)},we=m,Ae=z,Re=K,Te=s.TypeError,He={exports:{}},Pe=s,Ce=Object.defineProperty,Ie=function(e,t){try{Ce(Pe,e,{value:t,configurable:!0,writable:!0})}catch(r){Pe[e]=t}return t},Oe=Ie,Ee="__core-js_shared__",ke=s[Ee]||Oe(Ee,{}),Le=ke;(He.exports=function(e,t){return Le[e]||(Le[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.2",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Me=j,Be=s.Object,Ue=function(e){return Be(Me(e))},xe=Ue,De=C({}.hasOwnProperty),Fe=Object.hasOwn||function(e,t){return De(xe(e),t)},je=C,Ne=0,Ge=Math.random(),_e=je(1..toString),ze=function(e){return"Symbol("+(void 0===e?"":e)+")_"+_e(++Ne+Ge,36)},Ye=s,Ke=He.exports,We=Fe,Je=ze,qe=oe,Ve=ie,Ze=Ke("wks"),$e=Ye.Symbol,Qe=$e&&$e.for,Xe=Ve?$e:$e&&$e.withoutSetter||Je,et=function(e){if(!We(Ze,e)||!qe&&"string"!=typeof Ze[e]){var t="Symbol."+e;qe&&We($e,e)?Ze[e]=$e[e]:Ze[e]=Ve&&Qe?Qe(t):Xe(t)}return Ze[e]},tt=m,rt=K,nt=fe,at=Se,ot=function(e,t){var r,n;if("string"===t&&Ae(r=e.toString)&&!Re(n=we(r,e)))return n;if(Ae(r=e.valueOf)&&!Re(n=we(r,e)))return n;if("string"!==t&&Ae(r=e.toString)&&!Re(n=we(r,e)))return n;throw Te("Can't convert object to primitive value")},it=et,st=s.TypeError,ct=it("toPrimitive"),ht=function(e,t){if(!rt(e)||nt(e))return e;var r,n=at(e,ct);if(n){if(void 0===t&&(t="default"),r=tt(n,e,t),!rt(r)||nt(r))return r;throw st("Can't convert object to primitive value")}return void 0===t&&(t="number"),ot(e,t)},ut=fe,lt=function(e){var t=ht(e,"string");return ut(t)?t:t+""},ft=K,dt=s.document,mt=ft(dt)&&ft(dt.createElement),gt=function(e){return mt?dt.createElement(e):{}},pt=gt,yt=!u&&!h((function(){return 7!=Object.defineProperty(pt("div"),"a",{get:function(){return 7}}).a})),bt=u,vt=m,St=g,wt=w,At=_,Rt=lt,Tt=Fe,Ht=yt,Pt=Object.getOwnPropertyDescriptor;c.f=bt?Pt:function(e,t){if(e=At(e),t=Rt(t),Ht)try{return Pt(e,t)}catch(e){}if(Tt(e,t))return wt(!vt(St.f,e,t),e[t])};var Ct={},It=u&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ot=s,Et=K,kt=Ot.String,Lt=Ot.TypeError,Mt=function(e){if(Et(e))return e;throw Lt(kt(e)+" is not an object")},Bt=u,Ut=yt,xt=It,Dt=Mt,Ft=lt,jt=s.TypeError,Nt=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,_t="enumerable",zt="configurable",Yt="writable";Ct.f=Bt?xt?function(e,t,r){if(Dt(e),t=Ft(t),Dt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Yt 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:_t in r?r.enumerable:n.enumerable,writable:!1})}return Nt(e,t,r)}:Nt:function(e,t,r){if(Dt(e),t=Ft(t),Dt(r),Ut)try{return Nt(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=Ct,Wt=w,Jt=u?function(e,t,r){return Kt.f(e,t,Wt(1,r))}:function(e,t,r){return e[t]=r,e},qt={exports:{}},Vt=z,Zt=ke,$t=C(Function.toString);Vt(Zt.inspectSource)||(Zt.inspectSource=function(e){return $t(e)});var Qt,Xt,er,tr=Zt.inspectSource,rr=z,nr=tr,ar=s.WeakMap,or=rr(ar)&&/native code/.test(nr(ar)),ir=He.exports,sr=ze,cr=ir("keys"),hr=function(e){return cr[e]||(cr[e]=sr(e))},ur={},lr=or,fr=s,dr=C,mr=K,gr=Jt,pr=Fe,yr=ke,br=hr,vr=ur,Sr="Object already initialized",wr=fr.TypeError,Ar=fr.WeakMap;if(lr||yr.state){var Rr=yr.state||(yr.state=new Ar),Tr=dr(Rr.get),Hr=dr(Rr.has),Pr=dr(Rr.set);Qt=function(e,t){if(Hr(Rr,e))throw new wr(Sr);return t.facade=e,Pr(Rr,e,t),t},Xt=function(e){return Tr(Rr,e)||{}},er=function(e){return Hr(Rr,e)}}else{var Cr=br("state");vr[Cr]=!0,Qt=function(e,t){if(pr(e,Cr))throw new wr(Sr);return t.facade=e,gr(e,Cr,t),t},Xt=function(e){return pr(e,Cr)?e[Cr]:{}},er=function(e){return pr(e,Cr)}}var Ir={set:Qt,get:Xt,has:er,enforce:function(e){return er(e)?Xt(e):Qt(e,{})},getterFor:function(e){return function(t){var r;if(!mr(t)||(r=Xt(t)).type!==e)throw wr("Incompatible receiver, "+e+" required");return r}}},Or=u,Er=Fe,kr=Function.prototype,Lr=Or&&Object.getOwnPropertyDescriptor,Mr=Er(kr,"name"),Br={EXISTS:Mr,PROPER:Mr&&"something"===function(){}.name,CONFIGURABLE:Mr&&(!Or||Or&&Lr(kr,"name").configurable)},Ur=s,xr=z,Dr=Fe,Fr=Jt,jr=Ie,Nr=tr,Gr=Br.CONFIGURABLE,_r=Ir.get,zr=Ir.enforce,Yr=String(String).split("String");(qt.exports=function(e,t,r,n){var a,o=!!n&&!!n.unsafe,i=!!n&&!!n.enumerable,s=!!n&&!!n.noTargetGet,c=n&&void 0!==n.name?n.name:t;xr(r)&&("Symbol("===String(c).slice(0,7)&&(c="["+String(c).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Dr(r,"name")||Gr&&r.name!==c)&&Fr(r,"name",c),(a=zr(r)).source||(a.source=Yr.join("string"==typeof c?c:""))),e!==Ur?(o?!s&&e[t]&&(i=!0):delete e[t],i?e[t]=r:Fr(e,t,r)):i?e[t]=r:jr(t,r)})(Function.prototype,"toString",(function(){return xr(this)&&_r(this).source||Nr(this)}));var Kr={},Wr=Math.ceil,Jr=Math.floor,qr=function(e){var t=+e;return t!=t||0===t?0:(t>0?Jr:Wr)(t)},Vr=qr,Zr=Math.max,$r=Math.min,Qr=function(e,t){var r=Vr(e);return r<0?Zr(r+t,0):$r(r,t)},Xr=qr,en=Math.min,tn=function(e){return e>0?en(Xr(e),9007199254740991):0},rn=tn,nn=function(e){return rn(e.length)},an=_,on=Qr,sn=nn,cn=function(e){return function(t,r,n){var a,o=an(t),i=sn(o),s=on(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}},hn={includes:cn(!0),indexOf:cn(!1)},un=Fe,ln=_,fn=hn.indexOf,dn=ur,mn=C([].push),gn=function(e,t){var r,n=ln(e),a=0,o=[];for(r in n)!un(dn,r)&&un(n,r)&&mn(o,r);for(;t.length>a;)un(n,r=t[a++])&&(~fn(o,r)||mn(o,r));return o},pn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],yn=gn,bn=pn.concat("length","prototype");Kr.f=Object.getOwnPropertyNames||function(e){return yn(e,bn)};var vn={};vn.f=Object.getOwnPropertySymbols;var Sn=V,wn=Kr,An=vn,Rn=Mt,Tn=C([].concat),Hn=Sn("Reflect","ownKeys")||function(e){var t=wn.f(Rn(e)),r=An.f;return r?Tn(t,r(e)):t},Pn=Fe,Cn=Hn,In=c,On=Ct,En=h,kn=z,Ln=/#|\.prototype\./,Mn=function(e,t){var r=Un[Bn(e)];return r==Dn||r!=xn&&(kn(t)?En(t):!!t)},Bn=Mn.normalize=function(e){return String(e).replace(Ln,".").toLowerCase()},Un=Mn.data={},xn=Mn.NATIVE="N",Dn=Mn.POLYFILL="P",Fn=Mn,jn=s,Nn=c.f,Gn=Jt,_n=qt.exports,zn=Ie,Yn=function(e,t,r){for(var n=Cn(t),a=On.f,o=In.f,i=0;i<n.length;i++){var s=n[i];Pn(e,s)||r&&Pn(r,s)||a(e,s,o(t,s))}},Kn=Fn,Wn=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,h=e.stat;if(r=c?jn:h?jn[s]||zn(s,{}):(jn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.noTargetGet?(i=Nn(r,n))&&i.value:r[n],!Kn(c?n:s+(h?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Yn(o,a)}(e.sham||a&&a.sham)&&Gn(o,"sham",!0),_n(r,n,o,e)}},Jn={};Jn[et("toStringTag")]="z";var qn=s,Vn="[object z]"===String(Jn),Zn=z,$n=k,Qn=et("toStringTag"),Xn=qn.Object,ea="Arguments"==$n(function(){return arguments}()),ta=Vn?$n: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=Xn(e),Qn))?r:ea?$n(t):"Object"==(n=$n(t))&&Zn(t.callee)?"Arguments":n},ra=ta,na=s.String,aa=function(e){if("Symbol"===ra(e))throw TypeError("Cannot convert a Symbol value to a string");return na(e)},oa=Mt,ia=function(){var e=oa(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.sticky&&(t+="y"),t},sa=h,ca=s.RegExp,ha=sa((function(){var e=ca("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),ua=ha||sa((function(){return!ca("a","y").sticky})),la={BROKEN_CARET:ha||sa((function(){var e=ca("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:ua,UNSUPPORTED_Y:ha},fa={},da=gn,ma=pn,ga=Object.keys||function(e){return da(e,ma)},pa=u,ya=It,ba=Ct,va=Mt,Sa=_,wa=ga;fa.f=pa&&!ya?Object.defineProperties:function(e,t){va(e);for(var r,n=Sa(t),a=wa(t),o=a.length,i=0;o>i;)ba.f(e,r=a[i++],n[r]);return e};var Aa,Ra=V("document","documentElement"),Ta=Mt,Ha=fa,Pa=pn,Ca=ur,Ia=Ra,Oa=gt,Ea=hr("IE_PROTO"),ka=function(){},La=function(e){return"<script>"+e+"</"+"script>"},Ma=function(e){e.write(La("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ba=function(){try{Aa=new ActiveXObject("htmlfile")}catch(e){}var e,t;Ba="undefined"!=typeof document?document.domain&&Aa?Ma(Aa):((t=Oa("iframe")).style.display="none",Ia.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(La("document.F=Object")),e.close(),e.F):Ma(Aa);for(var r=Pa.length;r--;)delete Ba.prototype[Pa[r]];return Ba()};Ca[Ea]=!0;var Ua,xa,Da=Object.create||function(e,t){var r;return null!==e?(ka.prototype=Ta(e),r=new ka,ka.prototype=null,r[Ea]=e):r=Ba(),void 0===t?r:Ha.f(r,t)},Fa=h,ja=s.RegExp,Na=Fa((function(){var e=ja(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Ga=h,_a=s.RegExp,za=Ga((function(){var e=_a("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Ya=m,Ka=C,Wa=aa,Ja=ia,qa=la,Va=He.exports,Za=Da,$a=Ir.get,Qa=Na,Xa=za,eo=Va("native-string-replace",String.prototype.replace),to=RegExp.prototype.exec,ro=to,no=Ka("".charAt),ao=Ka("".indexOf),oo=Ka("".replace),io=Ka("".slice),so=(xa=/b*/g,Ya(to,Ua=/a/,"a"),Ya(to,xa,"a"),0!==Ua.lastIndex||0!==xa.lastIndex),co=qa.BROKEN_CARET,ho=void 0!==/()??/.exec("")[1];(so||ho||co||Qa||Xa)&&(ro=function(e){var t,r,n,a,o,i,s,c=this,h=$a(c),u=Wa(e),l=h.raw;if(l)return l.lastIndex=c.lastIndex,t=Ya(ro,l,u),c.lastIndex=l.lastIndex,t;var f=h.groups,d=co&&c.sticky,m=Ya(Ja,c),g=c.source,p=0,y=u;if(d&&(m=oo(m,"y",""),-1===ao(m,"g")&&(m+="g"),y=io(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==no(u,c.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,p++),r=new RegExp("^(?:"+g+")",m)),ho&&(r=new RegExp("^"+g+"$(?!\\s)",m)),so&&(n=c.lastIndex),a=Ya(to,d?r:c,y),d?a?(a.input=io(a.input,p),a[0]=io(a[0],p),a.index=c.lastIndex,c.lastIndex+=a[0].length):c.lastIndex=0:so&&a&&(c.lastIndex=c.global?a.index+a[0].length:n),ho&&a&&a.length>1&&Ya(eo,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=Za(null),o=0;o<f.length;o++)i[(s=f[o])[0]]=a[s[1]];return a});Wn({target:"RegExp",proto:!0,forced:/./.exec!==ro},{exec:ro});var uo=gt("span").classList,lo=uo&&uo.constructor&&uo.constructor.prototype,fo=lo===Object.prototype?void 0:lo,mo=Da,go=Ct,po=et("unscopables"),yo=Array.prototype;null==yo[po]&&go.f(yo,po,{configurable:!0,value:mo(null)});var bo,vo,So,wo={},Ao=!h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Ro=s,To=Fe,Ho=z,Po=Ue,Co=Ao,Io=hr("IE_PROTO"),Oo=Ro.Object,Eo=Oo.prototype,ko=Co?Oo.getPrototypeOf:function(e){var t=Po(e);if(To(t,Io))return t[Io];var r=t.constructor;return Ho(r)&&t instanceof r?r.prototype:t instanceof Oo?Eo:null},Lo=h,Mo=z,Bo=ko,Uo=qt.exports,xo=et("iterator"),Do=!1;[].keys&&("next"in(So=[].keys())?(vo=Bo(Bo(So)))!==Object.prototype&&(bo=vo):Do=!0);var Fo=null==bo||Lo((function(){var e={};return bo[xo].call(e)!==e}));Fo&&(bo={}),Mo(bo[xo])||Uo(bo,xo,(function(){return this}));var jo={IteratorPrototype:bo,BUGGY_SAFARI_ITERATORS:Do},No=Ct.f,Go=Fe,_o=et("toStringTag"),zo=function(e,t,r){e&&!r&&(e=e.prototype),e&&!Go(e,_o)&&No(e,_o,{configurable:!0,value:t})},Yo=jo.IteratorPrototype,Ko=Da,Wo=w,Jo=zo,qo=wo,Vo=function(){return this},Zo=function(e,t,r,n){var a=t+" Iterator";return e.prototype=Ko(Yo,{next:Wo(+!n,r)}),Jo(e,a,!1),qo[a]=Vo,e},$o=s,Qo=z,Xo=$o.String,ei=$o.TypeError,ti=C,ri=Mt,ni=function(e){if("object"==typeof e||Qo(e))return e;throw ei("Can't set "+Xo(e)+" as a prototype")},ai=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=ti(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return ri(r),ni(n),t?e(r,n):r.__proto__=n,r}}():void 0),oi=Wn,ii=m,si=Br,ci=z,hi=Zo,ui=ko,li=ai,fi=zo,di=Jt,mi=qt.exports,gi=wo,pi=si.PROPER,yi=si.CONFIGURABLE,bi=jo.IteratorPrototype,vi=jo.BUGGY_SAFARI_ITERATORS,Si=et("iterator"),wi="keys",Ai="values",Ri="entries",Ti=function(){return this},Hi=function(e,t,r,n,a,o,i){hi(r,t,n);var s,c,h,u=function(e){if(e===a&&g)return g;if(!vi&&e in d)return d[e];switch(e){case wi:case Ai:case Ri:return function(){return new r(this,e)}}return function(){return new r(this)}},l=t+" Iterator",f=!1,d=e.prototype,m=d[Si]||d["@@iterator"]||a&&d[a],g=!vi&&m||u(a),p="Array"==t&&d.entries||m;if(p&&(s=ui(p.call(new e)))!==Object.prototype&&s.next&&(ui(s)!==bi&&(li?li(s,bi):ci(s[Si])||mi(s,Si,Ti)),fi(s,l,!0)),pi&&a==Ai&&m&&m.name!==Ai&&(yi?di(d,"name",Ai):(f=!0,g=function(){return ii(m,this)})),a)if(c={values:u(Ai),keys:o?g:u(wi),entries:u(Ri)},i)for(h in c)(vi||f||!(h in d))&&mi(d,h,c[h]);else oi({target:t,proto:!0,forced:vi||f},c);return d[Si]!==g&&mi(d,Si,g,{name:a}),gi[t]=g,c},Pi=_,Ci=function(e){yo[po][e]=!0},Ii=wo,Oi=Ir,Ei=Ct.f,ki=Hi,Li=u,Mi="Array Iterator",Bi=Oi.set,Ui=Oi.getterFor(Mi),xi=ki(Array,"Array",(function(e,t){Bi(this,{type:Mi,target:Pi(e),index:0,kind:t})}),(function(){var e=Ui(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),Di=Ii.Arguments=Ii.Array;if(Ci("keys"),Ci("values"),Ci("entries"),Li&&"values"!==Di.name)try{Ei(Di,"name",{value:"values"})}catch(e){}var Fi=s,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},Ni=fo,Gi=xi,_i=Jt,zi=et,Yi=zi("iterator"),Ki=zi("toStringTag"),Wi=Gi.values,Ji=function(e,t){if(e){if(e[Yi]!==Wi)try{_i(e,Yi,Wi)}catch(t){e[Yi]=Wi}if(e[Ki]||_i(e,Ki,t),ji[t])for(var r in Gi)if(e[r]!==Gi[r])try{_i(e,r,Gi[r])}catch(t){e[r]=Gi[r]}}};for(var qi in ji)Ji(Fi[qi]&&Fi[qi].prototype,qi);Ji(Ni,"DOMTokenList");var Vi=C,Zi=qr,$i=aa,Qi=j,Xi=Vi("".charAt),es=Vi("".charCodeAt),ts=Vi("".slice),rs=function(e){return function(t,r){var n,a,o=$i(Qi(t)),i=Zi(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=es(o,i))<55296||n>56319||i+1===s||(a=es(o,i+1))<56320||a>57343?e?Xi(o,i):n:e?ts(o,i,i+2):a-56320+(n-55296<<10)+65536}},ns={codeAt:rs(!1),charAt:rs(!0)},as=ns.charAt,os=aa,is=Ir,ss=Hi,cs="String Iterator",hs=is.set,us=is.getterFor(cs);ss(String,"String",(function(e){hs(this,{type:cs,string:os(e),index:0})}),(function(){var e,t=us(this),r=t.string,n=t.index;return n>=r.length?{value:void 0,done:!0}:(e=as(r,n),t.index+=e.length,{value:e,done:!1})}));var ls=h,fs=et("iterator"),ds=!ls((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[fs]||"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})),ms=be,gs=l,ps=C(C.bind),ys=function(e,t){return ms(e),void 0===t?e:gs?ps(e,t):function(){return e.apply(t,arguments)}},bs=Z,vs=s.TypeError,Ss=function(e,t){if(bs(t,e))return e;throw vs("Incorrect invocation")},ws=u,As=C,Rs=m,Ts=h,Hs=ga,Ps=vn,Cs=g,Is=Ue,Os=D,Es=Object.assign,ks=Object.defineProperty,Ls=As([].concat),Ms=!Es||Ts((function(){if(ws&&1!==Es({b:1},Es(ks({},"a",{enumerable:!0,get:function(){ks(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!=Es({},e)[r]||Hs(Es({},t)).join("")!=n}))?function(e,t){for(var r=Is(e),n=arguments.length,a=1,o=Ps.f,i=Cs.f;n>a;)for(var s,c=Os(arguments[a++]),h=o?Ls(Hs(c),o(c)):Hs(c),u=h.length,l=0;u>l;)s=h[l++],ws&&!Rs(i,c,s)||(r[s]=c[s]);return r}:Es,Bs=m,Us=Mt,xs=Se,Ds=Mt,Fs=function(e,t,r){var n,a;Us(e);try{if(!(n=xs(e,"return"))){if("throw"===t)throw r;return r}n=Bs(n,e)}catch(e){a=!0,n=e}if("throw"===t)throw r;if(a)throw n;return Us(n),r},js=wo,Ns=et("iterator"),Gs=Array.prototype,_s=C,zs=h,Ys=z,Ks=ta,Ws=tr,Js=function(){},qs=[],Vs=V("Reflect","construct"),Zs=/^\s*(?:class|function)\b/,$s=_s(Zs.exec),Qs=!Zs.exec(Js),Xs=function(e){if(!Ys(e))return!1;try{return Vs(Js,qs,e),!0}catch(e){return!1}},ec=function(e){if(!Ys(e))return!1;switch(Ks(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Qs||!!$s(Zs,Ws(e))}catch(e){return!0}};ec.sham=!0;var tc=!Vs||zs((function(){var e;return Xs(Xs.call)||!Xs(Object)||!Xs((function(){e=!0}))||e}))?ec:Xs,rc=lt,nc=Ct,ac=w,oc=function(e,t,r){var n=rc(t);n in e?nc.f(e,n,ac(0,r)):e[n]=r},ic=ta,sc=Se,cc=wo,hc=et("iterator"),uc=function(e){if(null!=e)return sc(e,hc)||sc(e,"@@iterator")||cc[ic(e)]},lc=m,fc=be,dc=Mt,mc=me,gc=uc,pc=s.TypeError,yc=function(e,t){var r=arguments.length<2?gc(e):t;if(fc(r))return dc(lc(r,e));throw pc(mc(e)+" is not iterable")},bc=ys,vc=m,Sc=Ue,wc=function(e,t,r,n){try{return n?t(Ds(r)[0],r[1]):t(r)}catch(t){Fs(e,"throw",t)}},Ac=function(e){return void 0!==e&&(js.Array===e||Gs[Ns]===e)},Rc=tc,Tc=nn,Hc=oc,Pc=yc,Cc=uc,Ic=s.Array,Oc=Qr,Ec=nn,kc=oc,Lc=s.Array,Mc=Math.max,Bc=function(e,t,r){for(var n=Ec(e),a=Oc(t,n),o=Oc(void 0===r?n:r,n),i=Lc(Mc(o-a,0)),s=0;a<o;a++,s++)kc(i,s,e[a]);return i.length=s,i},Uc=C,xc=2147483647,Dc=/[^\0-\u007E]/,Fc=/[.\u3002\uFF0E\uFF61]/g,jc="Overflow: input needs wider integers to process",Nc=s.RangeError,Gc=Uc(Fc.exec),_c=Math.floor,zc=String.fromCharCode,Yc=Uc("".charCodeAt),Kc=Uc([].join),Wc=Uc([].push),Jc=Uc("".replace),qc=Uc("".split),Vc=Uc("".toLowerCase),Zc=function(e){return e+22+75*(e<26)},$c=function(e,t,r){var n=0;for(e=r?_c(e/700):e>>1,e+=_c(e/t);e>455;)e=_c(e/35),n+=36;return _c(n+36*e/(e+38))},Qc=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=Yc(e,r++);if(a>=55296&&a<=56319&&r<n){var o=Yc(e,r++);56320==(64512&o)?Wc(t,((1023&a)<<10)+(1023&o)+65536):(Wc(t,a),r--)}else Wc(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&&Wc(t,zc(n));var c=t.length,h=c;for(c&&Wc(t,"-");h<a;){var u=xc;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<u&&(u=n);var l=h+1;if(u-o>_c((xc-i)/l))throw Nc(jc);for(i+=(u-o)*l,o=u,r=0;r<e.length;r++){if((n=e[r])<o&&++i>xc)throw Nc(jc);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;Wc(t,zc(Zc(m+g%p))),f=_c(g/p),d+=36}Wc(t,zc(Zc(f))),s=$c(i,l,h==c),i=0,h++}}i++,o++}return Kc(t,"")},Xc=s.TypeError,eh=function(e,t){if(e<t)throw Xc("Not enough arguments");return e},th=qt.exports,rh=Bc,nh=Math.floor,ah=function(e,t){var r=e.length,n=nh(r/2);return r<8?oh(e,t):ih(e,ah(rh(e,0,n),t),ah(rh(e,n),t),t)},oh=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},ih=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},sh=ah,ch=Wn,hh=s,uh=m,lh=C,fh=u,dh=ds,mh=qt.exports,gh=function(e,t,r){for(var n in t)th(e,n,t[n],r);return e},ph=zo,yh=Zo,bh=Ir,vh=Ss,Sh=z,wh=Fe,Ah=ys,Rh=ta,Th=Mt,Hh=K,Ph=aa,Ch=Da,Ih=w,Oh=yc,Eh=uc,kh=eh,Lh=sh,Mh=et("iterator"),Bh="URLSearchParams",Uh="URLSearchParamsIterator",xh=bh.set,Dh=bh.getterFor(Bh),Fh=bh.getterFor(Uh),jh=Object.getOwnPropertyDescriptor,Nh=function(e){if(!fh)return hh[e];var t=jh(hh,e);return t&&t.value},Gh=Nh("fetch"),_h=Nh("Request"),zh=Nh("Headers"),Yh=_h&&_h.prototype,Kh=zh&&zh.prototype,Wh=hh.RegExp,Jh=hh.TypeError,qh=hh.decodeURIComponent,Vh=hh.encodeURIComponent,Zh=lh("".charAt),$h=lh([].join),Qh=lh([].push),Xh=lh("".replace),eu=lh([].shift),tu=lh([].splice),ru=lh("".split),nu=lh("".slice),au=/\+/g,ou=Array(4),iu=function(e){return ou[e-1]||(ou[e-1]=Wh("((?:%[\\da-f]{2}){"+e+"})","gi"))},su=function(e){try{return qh(e)}catch(t){return e}},cu=function(e){var t=Xh(e,au," "),r=4;try{return qh(t)}catch(e){for(;r;)t=Xh(t,iu(r--),su);return t}},hu=/[!'()~]|%20/g,uu={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},lu=function(e){return uu[e]},fu=function(e){return Xh(Vh(e),hu,lu)},du=yh((function(e,t){xh(this,{type:Uh,iterator:Oh(Dh(e).entries),kind:t})}),"Iterator",(function(){var e=Fh(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),mu=function(e){this.entries=[],this.url=null,void 0!==e&&(Hh(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Zh(e,0)?nu(e,1):e:Ph(e)))};mu.prototype={type:Bh,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,o,i,s,c=Eh(e);if(c)for(r=(t=Oh(e,c)).next;!(n=uh(r,t)).done;){if(o=(a=Oh(Th(n.value))).next,(i=uh(o,a)).done||(s=uh(o,a)).done||!uh(o,a).done)throw Jh("Expected sequence with length 2");Qh(this.entries,{key:Ph(i.value),value:Ph(s.value)})}else for(var h in e)wh(e,h)&&Qh(this.entries,{key:h,value:Ph(e[h])})},parseQuery:function(e){if(e)for(var t,r,n=ru(e,"&"),a=0;a<n.length;)(t=n[a++]).length&&(r=ru(t,"="),Qh(this.entries,{key:cu(eu(r)),value:cu($h(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],Qh(r,fu(e.key)+"="+fu(e.value));return $h(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var gu=function(){vh(this,pu);var e=arguments.length>0?arguments[0]:void 0;xh(this,new mu(e))},pu=gu.prototype;if(gh(pu,{append:function(e,t){kh(arguments.length,2);var r=Dh(this);Qh(r.entries,{key:Ph(e),value:Ph(t)}),r.updateURL()},delete:function(e){kh(arguments.length,1);for(var t=Dh(this),r=t.entries,n=Ph(e),a=0;a<r.length;)r[a].key===n?tu(r,a,1):a++;t.updateURL()},get:function(e){kh(arguments.length,1);for(var t=Dh(this).entries,r=Ph(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){kh(arguments.length,1);for(var t=Dh(this).entries,r=Ph(e),n=[],a=0;a<t.length;a++)t[a].key===r&&Qh(n,t[a].value);return n},has:function(e){kh(arguments.length,1);for(var t=Dh(this).entries,r=Ph(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){kh(arguments.length,1);for(var r,n=Dh(this),a=n.entries,o=!1,i=Ph(e),s=Ph(t),c=0;c<a.length;c++)(r=a[c]).key===i&&(o?tu(a,c--,1):(o=!0,r.value=s));o||Qh(a,{key:i,value:s}),n.updateURL()},sort:function(){var e=Dh(this);Lh(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=Dh(this).entries,n=Ah(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 du(this,"keys")},values:function(){return new du(this,"values")},entries:function(){return new du(this,"entries")}},{enumerable:!0}),mh(pu,Mh,pu.entries,{name:"entries"}),mh(pu,"toString",(function(){return Dh(this).serialize()}),{enumerable:!0}),ph(gu,Bh),ch({global:!0,forced:!dh},{URLSearchParams:gu}),!dh&&Sh(zh)){var yu=lh(Kh.has),bu=lh(Kh.set),vu=function(e){if(Hh(e)){var t,r=e.body;if(Rh(r)===Bh)return t=e.headers?new zh(e.headers):new zh,yu(t,"content-type")||bu(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Ch(e,{body:Ih(0,Ph(r)),headers:Ih(0,t)})}return e};if(Sh(Gh)&&ch({global:!0,enumerable:!0,noTargetGet:!0,forced:!0},{fetch:function(e){return Gh(e,arguments.length>1?vu(arguments[1]):{})}}),Sh(_h)){var Su=function(e){return vh(this,Yh),new _h(e,arguments.length>1?vu(arguments[1]):{})};Yh.constructor=Su,Su.prototype=Yh,ch({global:!0,forced:!0,noTargetGet:!0},{Request:Su})}}var wu,Au={URLSearchParams:gu,getState:Dh},Ru=Wn,Tu=u,Hu=ds,Pu=s,Cu=ys,Iu=C,Ou=fa.f,Eu=qt.exports,ku=Ss,Lu=Fe,Mu=Ms,Bu=function(e){var t=Sc(e),r=Rc(this),n=arguments.length,a=n>1?arguments[1]:void 0,o=void 0!==a;o&&(a=bc(a,n>2?arguments[2]:void 0));var i,s,c,h,u,l,f=Cc(t),d=0;if(!f||this==Ic&&Ac(f))for(i=Tc(t),s=r?new this(i):Ic(i);i>d;d++)l=o?a(t[d],d):t[d],Hc(s,d,l);else for(u=(h=Pc(t,f)).next,s=r?new this:[];!(c=vc(u,h)).done;d++)l=o?wc(h,a,[c.value,d],!0):c.value,Hc(s,d,l);return s.length=d,s},Uu=Bc,xu=ns.codeAt,Du=function(e){var t,r,n=[],a=qc(Jc(Vc(e),Fc,"."),".");for(t=0;t<a.length;t++)r=a[t],Wc(n,Gc(Dc,r)?"xn--"+Qc(r):r);return Kc(n,".")},Fu=aa,ju=zo,Nu=eh,Gu=Au,_u=Ir,zu=_u.set,Yu=_u.getterFor("URL"),Ku=Gu.URLSearchParams,Wu=Gu.getState,Ju=Pu.URL,qu=Pu.TypeError,Vu=Pu.parseInt,Zu=Math.floor,$u=Math.pow,Qu=Iu("".charAt),Xu=Iu(/./.exec),el=Iu([].join),tl=Iu(1..toString),rl=Iu([].pop),nl=Iu([].push),al=Iu("".replace),ol=Iu([].shift),il=Iu("".split),sl=Iu("".slice),cl=Iu("".toLowerCase),hl=Iu([].unshift),ul="Invalid scheme",ll="Invalid host",fl="Invalid port",dl=/[a-z]/i,ml=/[\d+-.a-z]/i,gl=/\d/,pl=/^0x/i,yl=/^[0-7]+$/,bl=/^\d+$/,vl=/^[\da-f]+$/i,Sl=/[\0\t\n\r #%/:<>?@[\\\]^|]/,wl=/[\0\t\n\r #/:<>?@[\\\]^|]/,Al=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,Rl=/[\t\n\r]/g,Tl=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)hl(t,e%256),e=Zu(e/256);return el(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+=tl(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},Hl={},Pl=Mu({},Hl,{" ":1,'"':1,"<":1,">":1,"`":1}),Cl=Mu({},Pl,{"#":1,"?":1,"{":1,"}":1}),Il=Mu({},Cl,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ol=function(e,t){var r=xu(e,0);return r>32&&r<127&&!Lu(t,e)?e:encodeURIComponent(e)},El={ftp:21,file:null,http:80,https:443,ws:80,wss:443},kl=function(e,t){var r;return 2==e.length&&Xu(dl,Qu(e,0))&&(":"==(r=Qu(e,1))||!t&&"|"==r)},Ll=function(e){var t;return e.length>1&&kl(sl(e,0,2))&&(2==e.length||"/"===(t=Qu(e,2))||"\\"===t||"?"===t||"#"===t)},Ml=function(e){return"."===e||"%2e"===cl(e)},Bl={},Ul={},xl={},Dl={},Fl={},jl={},Nl={},Gl={},_l={},zl={},Yl={},Kl={},Wl={},Jl={},ql={},Vl={},Zl={},$l={},Ql={},Xl={},ef={},tf=function(e,t,r){var n,a,o,i=Fu(e);if(t){if(a=this.parse(i))throw qu(a);this.searchParams=null}else{if(void 0!==r&&(n=new tf(r,!0)),a=this.parse(i,null,n))throw qu(a);(o=Wu(new Ku)).bindURL(this),this.searchParams=o}};tf.prototype={type:"URL",parse:function(e,t,r){var n,a,o,i,s,c=this,h=t||Bl,u=0,l="",f=!1,d=!1,m=!1;for(e=Fu(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=al(e,Al,"")),e=al(e,Rl,""),n=Bu(e);u<=n.length;){switch(a=n[u],h){case Bl:if(!a||!Xu(dl,a)){if(t)return ul;h=xl;continue}l+=cl(a),h=Ul;break;case Ul:if(a&&(Xu(ml,a)||"+"==a||"-"==a||"."==a))l+=cl(a);else{if(":"!=a){if(t)return ul;l="",h=xl,u=0;continue}if(t&&(c.isSpecial()!=Lu(El,l)||"file"==l&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=l,t)return void(c.isSpecial()&&El[c.scheme]==c.port&&(c.port=null));l="","file"==c.scheme?h=Jl:c.isSpecial()&&r&&r.scheme==c.scheme?h=Dl:c.isSpecial()?h=Gl:"/"==n[u+1]?(h=Fl,u++):(c.cannotBeABaseURL=!0,nl(c.path,""),h=Ql)}break;case xl:if(!r||r.cannotBeABaseURL&&"#"!=a)return ul;if(r.cannotBeABaseURL&&"#"==a){c.scheme=r.scheme,c.path=Uu(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,h=ef;break}h="file"==r.scheme?Jl:jl;continue;case Dl:if("/"!=a||"/"!=n[u+1]){h=jl;continue}h=_l,u++;break;case Fl:if("/"==a){h=zl;break}h=$l;continue;case jl:if(c.scheme=r.scheme,a==wu)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=Uu(r.path),c.query=r.query;else if("/"==a||"\\"==a&&c.isSpecial())h=Nl;else if("?"==a)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=Uu(r.path),c.query="",h=Xl;else{if("#"!=a){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=Uu(r.path),c.path.length--,h=$l;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=Uu(r.path),c.query=r.query,c.fragment="",h=ef}break;case Nl:if(!c.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,h=$l;continue}h=zl}else h=_l;break;case Gl:if(h=_l,"/"!=a||"/"!=Qu(l,u+1))continue;u++;break;case _l:if("/"!=a&&"\\"!=a){h=zl;continue}break;case zl:if("@"==a){f&&(l="%40"+l),f=!0,o=Bu(l);for(var g=0;g<o.length;g++){var p=o[g];if(":"!=p||m){var y=Ol(p,Il);m?c.password+=y:c.username+=y}else m=!0}l=""}else if(a==wu||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()){if(f&&""==l)return"Invalid authority";u-=Bu(l).length+1,l="",h=Yl}else l+=a;break;case Yl:case Kl:if(t&&"file"==c.scheme){h=Vl;continue}if(":"!=a||d){if(a==wu||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()){if(c.isSpecial()&&""==l)return ll;if(t&&""==l&&(c.includesCredentials()||null!==c.port))return;if(i=c.parseHost(l))return i;if(l="",h=Zl,t)return;continue}"["==a?d=!0:"]"==a&&(d=!1),l+=a}else{if(""==l)return ll;if(i=c.parseHost(l))return i;if(l="",h=Wl,t==Kl)return}break;case Wl:if(!Xu(gl,a)){if(a==wu||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()||t){if(""!=l){var b=Vu(l,10);if(b>65535)return fl;c.port=c.isSpecial()&&b===El[c.scheme]?null:b,l=""}if(t)return;h=Zl;continue}return fl}l+=a;break;case Jl:if(c.scheme="file","/"==a||"\\"==a)h=ql;else{if(!r||"file"!=r.scheme){h=$l;continue}if(a==wu)c.host=r.host,c.path=Uu(r.path),c.query=r.query;else if("?"==a)c.host=r.host,c.path=Uu(r.path),c.query="",h=Xl;else{if("#"!=a){Ll(el(Uu(n,u),""))||(c.host=r.host,c.path=Uu(r.path),c.shortenPath()),h=$l;continue}c.host=r.host,c.path=Uu(r.path),c.query=r.query,c.fragment="",h=ef}}break;case ql:if("/"==a||"\\"==a){h=Vl;break}r&&"file"==r.scheme&&!Ll(el(Uu(n,u),""))&&(kl(r.path[0],!0)?nl(c.path,r.path[0]):c.host=r.host),h=$l;continue;case Vl:if(a==wu||"/"==a||"\\"==a||"?"==a||"#"==a){if(!t&&kl(l))h=$l;else if(""==l){if(c.host="",t)return;h=Zl}else{if(i=c.parseHost(l))return i;if("localhost"==c.host&&(c.host=""),t)return;l="",h=Zl}continue}l+=a;break;case Zl:if(c.isSpecial()){if(h=$l,"/"!=a&&"\\"!=a)continue}else if(t||"?"!=a)if(t||"#"!=a){if(a!=wu&&(h=$l,"/"!=a))continue}else c.fragment="",h=ef;else c.query="",h=Xl;break;case $l:if(a==wu||"/"==a||"\\"==a&&c.isSpecial()||!t&&("?"==a||"#"==a)){if(".."===(s=cl(s=l))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"==a||"\\"==a&&c.isSpecial()||nl(c.path,"")):Ml(l)?"/"==a||"\\"==a&&c.isSpecial()||nl(c.path,""):("file"==c.scheme&&!c.path.length&&kl(l)&&(c.host&&(c.host=""),l=Qu(l,0)+":"),nl(c.path,l)),l="","file"==c.scheme&&(a==wu||"?"==a||"#"==a))for(;c.path.length>1&&""===c.path[0];)ol(c.path);"?"==a?(c.query="",h=Xl):"#"==a&&(c.fragment="",h=ef)}else l+=Ol(a,Cl);break;case Ql:"?"==a?(c.query="",h=Xl):"#"==a?(c.fragment="",h=ef):a!=wu&&(c.path[0]+=Ol(a,Hl));break;case Xl:t||"#"!=a?a!=wu&&("'"==a&&c.isSpecial()?c.query+="%27":c.query+="#"==a?"%23":Ol(a,Hl)):(c.fragment="",h=ef);break;case ef:a!=wu&&(c.fragment+=Ol(a,Pl))}u++}},parseHost:function(e){var t,r,n;if("["==Qu(e,0)){if("]"!=Qu(e,e.length-1))return ll;if(t=function(e){var t,r,n,a,o,i,s,c=[0,0,0,0,0,0,0,0],h=0,u=null,l=0,f=function(){return Qu(e,l)};if(":"==f()){if(":"!=Qu(e,1))return;l+=2,u=++h}for(;f();){if(8==h)return;if(":"!=f()){for(t=r=0;r<4&&Xu(vl,f());)t=16*t+Vu(f(),16),l++,r++;if("."==f()){if(0==r)return;if(l-=r,h>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;l++}if(!Xu(gl,f()))return;for(;Xu(gl,f());){if(o=Vu(f(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;l++}c[h]=256*c[h]+a,2!=++n&&4!=n||h++}if(4!=n)return;break}if(":"==f()){if(l++,!f())return}else if(f())return;c[h++]=t}else{if(null!==u)return;l++,u=++h}}if(null!==u)for(i=h-u,h=7;0!=h&&i>0;)s=c[h],c[h--]=c[u+i-1],c[u+--i]=s;else if(8!=h)return;return c}(sl(e,1,-1)),!t)return ll;this.host=t}else if(this.isSpecial()){if(e=Du(e),Xu(Sl,e))return ll;if(t=function(e){var t,r,n,a,o,i,s,c=il(e,".");if(c.length&&""==c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=c[n]))return e;if(o=10,a.length>1&&"0"==Qu(a,0)&&(o=Xu(pl,a)?16:8,a=sl(a,8==o?1:2)),""===a)i=0;else{if(!Xu(10==o?bl:8==o?yl:vl,a))return e;i=Vu(a,o)}nl(r,i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=$u(256,5-t))return null}else if(i>255)return null;for(s=rl(r),n=0;n<r.length;n++)s+=r[n]*$u(256,3-n);return s}(e),null===t)return ll;this.host=t}else{if(Xu(wl,e))return ll;for(t="",r=Bu(e),n=0;n<r.length;n++)t+=Ol(r[n],Hl);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return Lu(El,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&kl(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,c=e.fragment,h=t+":";return null!==a?(h+="//",e.includesCredentials()&&(h+=r+(n?":"+n:"")+"@"),h+=Tl(a),null!==o&&(h+=":"+o)):"file"==t&&(h+="//"),h+=e.cannotBeABaseURL?i[0]:i.length?"/"+el(i,"/"):"",null!==s&&(h+="?"+s),null!==c&&(h+="#"+c),h},setHref:function(e){var t=this.parse(e);if(t)throw qu(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new rf(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+Tl(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Fu(e)+":",Bl)},getUsername:function(){return this.username},setUsername:function(e){var t=Bu(Fu(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Ol(t[r],Il)}},getPassword:function(){return this.password},setPassword:function(e){var t=Bu(Fu(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Ol(t[r],Il)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?Tl(e):Tl(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Yl)},getHostname:function(){var e=this.host;return null===e?"":Tl(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Kl)},getPort:function(){var e=this.port;return null===e?"":Fu(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=Fu(e))?this.port=null:this.parse(e,Wl))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+el(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Zl))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=Fu(e))?this.query=null:("?"==Qu(e,0)&&(e=sl(e,1)),this.query="",this.parse(e,Xl)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=Fu(e))?("#"==Qu(e,0)&&(e=sl(e,1)),this.fragment="",this.parse(e,ef)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var rf=function(e){var t=ku(this,nf),r=Nu(arguments.length,1)>1?arguments[1]:void 0,n=zu(t,new tf(e,!1,r));Tu||(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())},nf=rf.prototype,af=function(e,t){return{get:function(){return Yu(this)[e]()},set:t&&function(e){return Yu(this)[t](e)},configurable:!0,enumerable:!0}};if(Tu&&Ou(nf,{href:af("serialize","setHref"),origin:af("getOrigin"),protocol:af("getProtocol","setProtocol"),username:af("getUsername","setUsername"),password:af("getPassword","setPassword"),host:af("getHost","setHost"),hostname:af("getHostname","setHostname"),port:af("getPort","setPort"),pathname:af("getPathname","setPathname"),search:af("getSearch","setSearch"),searchParams:af("getSearchParams"),hash:af("getHash","setHash")}),Eu(nf,"toJSON",(function(){return Yu(this).serialize()}),{enumerable:!0}),Eu(nf,"toString",(function(){return Yu(this).serialize()}),{enumerable:!0}),Ju){var of=Ju.createObjectURL,sf=Ju.revokeObjectURL;of&&Eu(rf,"createObjectURL",Cu(of,Ju)),sf&&Eu(rf,"revokeObjectURL",Cu(sf,Ju))}ju(rf,"URL"),Ru({global:!0,forced:!Hu,sham:!Tu},{URL:rf});var cf,hf=K,uf=k,lf=et("match"),ff=function(e){var t;return hf(e)&&(void 0!==(t=e[lf])?!!t:"RegExp"==uf(e))},df=s.TypeError,mf=et("match"),gf=Wn,pf=C,yf=c.f,bf=tn,vf=aa,Sf=function(e){if(ff(e))throw df("The method doesn't accept regular expressions");return e},wf=j,Af=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[mf]=!1,"/./"[e](t)}catch(e){}}return!1},Rf=pf("".startsWith),Tf=pf("".slice),Hf=Math.min,Pf=Af("startsWith");gf({target:"String",proto:!0,forced:!!(Pf||(cf=yf(String.prototype,"startsWith"),!cf||cf.writable))&&!Pf},{startsWith:function(e){var t=vf(wf(this));Sf(e);var r=bf(Hf(arguments.length>1?arguments[1]:void 0,t.length)),n=vf(e);return Rf?Rf(t,n,r):Tf(t,r,r+n.length)===n}});var Cf=m,If=Fe,Of=Z,Ef=ia,kf=RegExp.prototype,Lf=Br.PROPER,Mf=qt.exports,Bf=Mt,Uf=aa,xf=h,Df=function(e){var t=e.flags;return void 0!==t||"flags"in kf||If(e,"flags")||!Of(kf,e)?t:Cf(Ef,e)},Ff="toString",jf=RegExp.prototype.toString,Nf=xf((function(){return"/a/b"!=jf.call({source:"a",flags:"b"})})),Gf=Lf&&jf.name!=Ff;(Nf||Gf)&&Mf(RegExp.prototype,Ff,(function(){var e=Bf(this);return"/"+Uf(e.source)+"/"+Uf(Df(e))}),{unsafe:!0});var _f={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem",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","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","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",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","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. Note that Hebcal displays modern holidays like Yom HaAtzma'ut according to the Israeli schedule. 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. Note that Hebcal displays modern holidays like Yom HaZikaron according to the Israeli schedule. 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 Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};function zf(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function Yf(e){return e<10?"0"+e:String(e)}function Kf(e){return e<0?"-00"+Kf(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function Wf(e){return Kf(e.getFullYear())+"-"+Yf(e.getMonth()+1)+"-"+Yf(e.getDate())}function Jf(e){const r=e.getDesc();if("Fast begins"===r||"Fast ends"===r)return["zmanim","fast"];switch(e.getFlags()){case t.flags.OMER_COUNT:return["omer"];case t.flags.HEBREW_DATE:return["hebdate"];case t.flags.PARSHA_HASHAVUA:return["parashat"];case t.flags.DAF_YOMI:return["dafyomi"];case t.flags.ROSH_CHODESH:return["roshchodesh"];case t.flags.SPECIAL_SHABBAT:return["holiday","shabbat"];case t.flags.MINOR_FAST:return["holiday","fast"];case t.flags.MAJOR_FAST:return["holiday","fast","major"];case t.flags.MODERN_HOLIDAY:return["holiday","modern"];case t.flags.SHABBAT_MEVARCHIM:return["mevarchim"];case t.flags.MOLAD:return["molad"];case t.flags.USER_EVENT:return["user"];case t.flags.MINOR_HOLIDAY:return["holiday","minor"];case t.flags.MISHNA_YOMI:return["mishnayomi"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];switch(r){case"Havdalah":return["havdalah"];case"Candle lighting":return["candles"];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"];case"Erev Tish'a B'Av":return["holiday","fast","major"];default:return["holiday","major"]}}function qf(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.isHebrewYear||0==e.length)r+=" "+t.year;else{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 Vf(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=_f[e.getDesc()]||_f[e.basename()]||"";if(t&&r){const e=r.indexOf(".");if(-1!=e)return r.substring(0,e)}return r}const Zf=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.HEBREW_DATE;function $f(e,r){const n=e.getFlags();if(n&Zf)return"";const o=n&t.flags.PARSHA_HASHAVUA?a.getLeyningForParshaHaShavua(e,r):a.getLeyningForHoliday(e,r);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 Qf(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/"),c=e.startsWith("/omer/");if(i||s||c)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 Xf(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)}const ed='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',td={dafyomi:"Daf Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:null,molad:null,omer:null,parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal"};function rd(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 c="",h="",u="",l='"true"';const f=Boolean(e.eventTime);let d=Xf(e)?e.renderBrief(r.locale):e.render(r.locale);if(e.eventTime){const n=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr," PM",r);h=c='"'.concat(n,'"'),u=s,l='"false"'}let m="Jewish Holidays";const g=e.getFlags();if(f&&r.location&&r.location.name){const e=r.location.name,t=e.indexOf(",");m=-1===t?e:e.substring(0,t)}else if(g&t.flags.DAF_YOMI){const e=d.indexOf(": ");-1!=e&&(m=d.substring(0,e),d=d.substring(e+2))}else{const t=td[Jf(e)[0]];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||Vf(e,!0);p||void 0===e.linkedEvent||(p=e.linkedEvent.render(r.locale));const y=p.replace(/,/g,";").replace(/"/g,"''"),b=f||g&t.flags.CHAG?4:3;return'"'.concat(d,'",').concat(s,",").concat(c,",").concat(u,",").concat(h,",").concat(l,',"').concat(y,'","').concat(b,'","').concat(m,'"')}var nd={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 ad(e,r){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const o=Boolean(e.eventTime),i=e.getDate(),s=i.greg(),c="object"==typeof r.location?r.location.getTzid():"UTC",h=o?t.Zmanim.formatISOWithTimeZone(c,e.eventTime):Wf(s),u=Jf(e),l=e.getFlags();let f=Xf(e)?e.renderBrief(r.locale):e.render(r.locale);const d=e.getDesc(),m="Havdalah"===d||"Candle lighting"===d;if(m){f+=": "+t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",r)}const g={title:f,date:h,category:u[0]};u.length>1&&(g.subcat=u[1]),"holiday"===u[0]&&l&t.flags.CHAG&&(g.yomtov=!0),f!=d&&(g.title_orig=d);const p=e.renderBrief("he");if(p&&(g.hebrew=t.Locale.hebrewStripNikkud(p)),!m){if(n){const n=r.il,o=l===t.flags.PARSHA_HASHAVUA,s=o?a.getLeyningForParshaHaShavua(e,n):a.getLeyningForHoliday(e,n);if(s){g.leyning=id(s);const t=i.getFullYear();if(o&&!n&&t>=5745&&t<=5830){const t=a.getTriennialForParshaHaShavua(e);t&&(g.leyning.triennial=od({},t))}}}const o=e.url();if(o){const e=r.utmSource||"js",t=r.utmMedium||"api",n=r.utmCampaign;g.link=Qf(o,r.il,e,t,n)}}const y=e.memo||_f[e.basename()];return y?g.memo=y:void 0!==e.linkedEvent&&(g.memo=e.linkedEvent.render(r.locale)),g}function od(e,t){return Object.keys(t).forEach((r=>{const n=t[r];if(void 0!==n){e["M"==r?"maftir":r]=a.formatAliyahWithBook(n)}})),e}function id(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&&od(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 sd={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function cd(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||qf(e,t),c=t.description||s,h=t.utmSource||"shabbat1c",u=t.utmMedium||"rss",l=Qf(n,r&&r.getIsrael(),h,u,t.utmCampaign).replace(/&/g,"&"),f=t.selfUrl.replace(/&/g,"&"),d=t.lang||sd[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(l,'</link>\n<atom:link href="').concat(f,'" rel="self" type="application/rss+xml" />\n<description>').concat(c,"</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+=hd(e,t)})),m+="</channel>\n</rss>\n",m}function hd(e,t){return ud(e,t.evPubDate,t.lastBuildDate,t.dayFormat,t.location,t.mainUrl,t)}function ud(e,r,n,a,o,i,s){let c=e.render();const h=e.getDate().greg(),u=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,h,n),l=!!o&&o.getIsrael(),f=function(e,r,n,a,o,i){let s,c;const h=e.eventTime||e.getDate().greg(),u=t.Zmanim.formatISOWithTimeZone(n,h),l=u.substring(0,u.indexOf("T")),f=l.replace(/-/g,""),d=zf(e.getDesc()),m="".concat(f,"-").concat(d),g=e.url();if(g)s=Qf(g,r,o,i).replace(/&/g,"&"),c="".concat(g,"#").concat(m);else{const e="".concat(a,"&dt=").concat(l),t=Qf(e,r,o,i).replace(/&/g,"&");c=e.replace(/&/g,"&")+"#".concat(m),s="".concat(t,"#").concat(m)}return[s,c]}(e,l,o?o.getTzid():"UTC",i,s&&s.utmSource||"shabbat1c",s&&s.utmMedium||"rss"),d=f[0],m=f[1],g=Jf(e)[0],p=e.getDesc();let y;if("Havdalah"===p||"Candle lighting"===p){const r=c.indexOf(": ");if(-1!=r){const n={location:o,il:l,locale:t.Locale.getLocaleName()},a=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",n);c=c.substring(0,r)+": "+a}}else y=e.getFlags()&t.flags.PARSHA_HASHAVUA?$f(e,l):e.memo||_f[e.basename()];const b=y||a.format(h),v="candles"==g?"<geo:lat>".concat(o.getLatitude(),"</geo:lat>\n<geo:long>").concat(o.getLongitude(),"</geo:long>\n"):"";return"<item>\n<title>".concat(c,"</title>\n<link>").concat(d,'</link>\n<guid isPermaLink="false">').concat(m,"</guid>\n<description>").concat(b,"</description>\n<category>").concat(g,"</category>\n<pubDate>").concat(u,"</pubDate>\n").concat(v,"</item>\n")}return e.appendIsraelAndTracking=Qf,e.countryNames=nd,e.eventToClassicApiObject=ad,e.eventToCsv=rd,e.eventToFullCalendar=function(e,r,n){const a=Jf(e),o=e.getFlags();"holiday"==a[0]&&o&t.flags.CHAG&&a.push("yomtov");const i=Boolean(e.eventTime),s={title:Xf(e)?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(r,e.eventTime):Wf(e.getDate().greg()),allDay:!i,className:a.join(" ")},c=e.renderBrief("he");c&&(s.hebrew=t.Locale.hebrewStripNikkud(c));const h=e.url();h&&(s.url=Qf(h,n,"js","fc"));const u=e.getDesc();if(!("Havdalah"===u||"Candle lighting"===u)){const r=o&t.flags.PARSHA_HASHAVUA?$f(e,n):e.memo||_f[e.basename()];r?s.description=r:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem=ud,e.eventToRssItem2=hd,e.eventsToClassicApi=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:qf(e,t),date:(new Date).toISOString()},a=t.location;return"object"==typeof a&&"string"==typeof a.name?(n.location={title:a.getName(),city:a.getShortName(),tzid:a.getTzid(),latitude:a.getLatitude(),longitude:a.getLongitude(),cc:a.getCountryCode(),country:nd[a.getCountryCode()]},["admin1","asciiname","geo","zip","state","stateName","geonameid"].forEach((e=>{a[e]&&(n.location[e]=a[e])}))):n.location={geo:"none"},n.items=e.map((e=>ad(e,t,r))),n},e.eventsToCsv=function(e,t){return[ed].concat(e.map((e=>rd(e,t)))).join("\r\n")+"\r\n"},e.eventsToRss=function(e,r,n,a){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"en-US",i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];const s=r.getName(),c={location:r,mainUrl:n,selfUrl:a,lang:o,evPubDate:i,title:t.Locale.gettext("Shabbat")+" Times for ".concat(s),description:"Weekly Shabbat candle lighting times for ".concat(s),utmSource:"shabbat1c",utmMedium:"rss"};return cd(e,c)},e.eventsToRss2=cd,e.getCalendarTitle=qf,e.getDownloadFilename=function(e){let t="hebcal_"+e.year;if(e.isHebrewYear&&(t+="h"),e.month&&(t+="_"+e.month),e.location){t+="_"+zf(e.location.zip||e.location.asciiname||e.location.getShortName()).replace(/[-]/g,"_")}return t},e.getEventCategories=Jf,e.getHolidayDescription=Vf,e.holidayDescription=_f,e.makeAnchor=zf,e.makeTorahMemoText=$f,e.pad2=Yf,e.pad4=Kf,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=Xf,e.timeZoneOffsetStr=function(e,r){return t.Zmanim.timeZoneOffset(e,r)},e.toISOString=Wf,e.toISOStringWithTimezone=function(e,r,n){const a=Wf(e);return r?a+"T"+r+":00"+t.Zmanim.timeZoneOffset(n,e):a},Object.defineProperty(e,"__esModule",{value:!0}),e}({},hebcal);
|
|
1
|
+
/*! @hebcal/rest-api v3.14.0 */
|
|
2
|
+
var hebcal__rest_api=function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var a=n(hebcal__leyning),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=function(e){return e&&e.Math==Math&&e},s=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof o&&o)||function(){return this}()||Function("return this")(),c={},h=function(e){try{return!!e()}catch(e){return!0}},u=!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")})),f=l,d=Function.prototype.call,g=f?d.bind(d):function(){return d.apply(d,arguments)},m={},p={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,b=y&&!p.call({1:2},1);m.f=b?function(e){var t=y(this,e);return!!t&&t.enumerable}:p;var v,S,w=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},A=l,R=Function.prototype,T=R.bind,H=R.call,P=A&&T.bind(H,H),C=A?function(e){return e&&P(e)}:function(e){return e&&function(){return H.apply(e,arguments)}},I=C,O=I({}.toString),E=I("".slice),k=function(e){return E(O(e),8,-1)},L=C,M=h,B=k,U=s.Object,D=L("".split),F=M((function(){return!U("z").propertyIsEnumerable(0)}))?function(e){return"String"==B(e)?D(e,""):U(e)}:U,x=s.TypeError,j=function(e){if(null==e)throw x("Can't call method on "+e);return e},N=F,G=j,_=function(e){return N(G(e))},z=function(e){return"function"==typeof e},Y=z,K=function(e){return"object"==typeof e?null!==e:Y(e)},W=s,J=z,q=function(e){return J(e)?e:void 0},V=function(e,t){return arguments.length<2?q(W[e]):W[e]&&W[e][t]},Z=C({}.isPrototypeOf),$=s,Q=V("navigator","userAgent")||"",X=$.process,ee=$.Deno,te=X&&X.versions||ee&&ee.version,re=te&&te.v8;re&&(S=(v=re.split("."))[0]>0&&v[0]<4?1:+(v[0]+v[1])),!S&&Q&&(!(v=Q.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=Q.match(/Chrome\/(\d+)/))&&(S=+v[1]);var ne=S,ae=h,oe=!!Object.getOwnPropertySymbols&&!ae((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ne&&ne<41})),ie=oe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,se=V,ce=z,he=Z,ue=ie,le=s.Object,fe=ue?function(e){return"symbol"==typeof e}:function(e){var t=se("Symbol");return ce(t)&&he(t.prototype,le(e))},de=s.String,ge=function(e){try{return de(e)}catch(e){return"Object"}},me=z,pe=ge,ye=s.TypeError,be=function(e){if(me(e))return e;throw ye(pe(e)+" is not a function")},ve=be,Se=function(e,t){var r=e[t];return null==r?void 0:ve(r)},we=g,Ae=z,Re=K,Te=s.TypeError,He={exports:{}},Pe=s,Ce=Object.defineProperty,Ie=function(e,t){try{Ce(Pe,e,{value:t,configurable:!0,writable:!0})}catch(r){Pe[e]=t}return t},Oe=Ie,Ee="__core-js_shared__",ke=s[Ee]||Oe(Ee,{}),Le=ke;(He.exports=function(e,t){return Le[e]||(Le[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.4",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.4/LICENSE",source:"https://github.com/zloirock/core-js"});var Me=j,Be=s.Object,Ue=function(e){return Be(Me(e))},De=Ue,Fe=C({}.hasOwnProperty),xe=Object.hasOwn||function(e,t){return Fe(De(e),t)},je=C,Ne=0,Ge=Math.random(),_e=je(1..toString),ze=function(e){return"Symbol("+(void 0===e?"":e)+")_"+_e(++Ne+Ge,36)},Ye=s,Ke=He.exports,We=xe,Je=ze,qe=oe,Ve=ie,Ze=Ke("wks"),$e=Ye.Symbol,Qe=$e&&$e.for,Xe=Ve?$e:$e&&$e.withoutSetter||Je,et=function(e){if(!We(Ze,e)||!qe&&"string"!=typeof Ze[e]){var t="Symbol."+e;qe&&We($e,e)?Ze[e]=$e[e]:Ze[e]=Ve&&Qe?Qe(t):Xe(t)}return Ze[e]},tt=g,rt=K,nt=fe,at=Se,ot=function(e,t){var r,n;if("string"===t&&Ae(r=e.toString)&&!Re(n=we(r,e)))return n;if(Ae(r=e.valueOf)&&!Re(n=we(r,e)))return n;if("string"!==t&&Ae(r=e.toString)&&!Re(n=we(r,e)))return n;throw Te("Can't convert object to primitive value")},it=et,st=s.TypeError,ct=it("toPrimitive"),ht=function(e,t){if(!rt(e)||nt(e))return e;var r,n=at(e,ct);if(n){if(void 0===t&&(t="default"),r=tt(n,e,t),!rt(r)||nt(r))return r;throw st("Can't convert object to primitive value")}return void 0===t&&(t="number"),ot(e,t)},ut=fe,lt=function(e){var t=ht(e,"string");return ut(t)?t:t+""},ft=K,dt=s.document,gt=ft(dt)&&ft(dt.createElement),mt=function(e){return gt?dt.createElement(e):{}},pt=mt,yt=!u&&!h((function(){return 7!=Object.defineProperty(pt("div"),"a",{get:function(){return 7}}).a})),bt=u,vt=g,St=m,wt=w,At=_,Rt=lt,Tt=xe,Ht=yt,Pt=Object.getOwnPropertyDescriptor;c.f=bt?Pt:function(e,t){if(e=At(e),t=Rt(t),Ht)try{return Pt(e,t)}catch(e){}if(Tt(e,t))return wt(!vt(St.f,e,t),e[t])};var Ct={},It=u&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ot=s,Et=K,kt=Ot.String,Lt=Ot.TypeError,Mt=function(e){if(Et(e))return e;throw Lt(kt(e)+" is not an object")},Bt=u,Ut=yt,Dt=It,Ft=Mt,xt=lt,jt=s.TypeError,Nt=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,_t="enumerable",zt="configurable",Yt="writable";Ct.f=Bt?Dt?function(e,t,r){if(Ft(e),t=xt(t),Ft(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Yt 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:_t in r?r.enumerable:n.enumerable,writable:!1})}return Nt(e,t,r)}:Nt:function(e,t,r){if(Ft(e),t=xt(t),Ft(r),Ut)try{return Nt(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=Ct,Wt=w,Jt=u?function(e,t,r){return Kt.f(e,t,Wt(1,r))}:function(e,t,r){return e[t]=r,e},qt={exports:{}},Vt=u,Zt=xe,$t=Function.prototype,Qt=Vt&&Object.getOwnPropertyDescriptor,Xt=Zt($t,"name"),er={EXISTS:Xt,PROPER:Xt&&"something"===function(){}.name,CONFIGURABLE:Xt&&(!Vt||Vt&&Qt($t,"name").configurable)},tr=z,rr=ke,nr=C(Function.toString);tr(rr.inspectSource)||(rr.inspectSource=function(e){return nr(e)});var ar,or,ir,sr=rr.inspectSource,cr=z,hr=sr,ur=s.WeakMap,lr=cr(ur)&&/native code/.test(hr(ur)),fr=He.exports,dr=ze,gr=fr("keys"),mr=function(e){return gr[e]||(gr[e]=dr(e))},pr={},yr=lr,br=s,vr=C,Sr=K,wr=Jt,Ar=xe,Rr=ke,Tr=mr,Hr=pr,Pr="Object already initialized",Cr=br.TypeError,Ir=br.WeakMap;if(yr||Rr.state){var Or=Rr.state||(Rr.state=new Ir),Er=vr(Or.get),kr=vr(Or.has),Lr=vr(Or.set);ar=function(e,t){if(kr(Or,e))throw new Cr(Pr);return t.facade=e,Lr(Or,e,t),t},or=function(e){return Er(Or,e)||{}},ir=function(e){return kr(Or,e)}}else{var Mr=Tr("state");Hr[Mr]=!0,ar=function(e,t){if(Ar(e,Mr))throw new Cr(Pr);return t.facade=e,wr(e,Mr,t),t},or=function(e){return Ar(e,Mr)?e[Mr]:{}},ir=function(e){return Ar(e,Mr)}}var Br={set:ar,get:or,has:ir,enforce:function(e){return ir(e)?or(e):ar(e,{})},getterFor:function(e){return function(t){var r;if(!Sr(t)||(r=or(t)).type!==e)throw Cr("Incompatible receiver, "+e+" required");return r}}},Ur=h,Dr=z,Fr=xe,xr=Ct.f,jr=er.CONFIGURABLE,Nr=sr,Gr=Br.enforce,_r=Br.get,zr=!Ur((function(){return 8!==xr((function(){}),"length",{value:8}).length})),Yr=String(String).split("String"),Kr=qt.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),(!Fr(e,"name")||jr&&e.name!==t)&&xr(e,"name",{value:t,configurable:!0}),zr&&r&&Fr(r,"arity")&&e.length!==r.arity&&xr(e,"length",{value:r.arity});var n=Gr(e);return Fr(n,"source")||(n.source=Yr.join("string"==typeof t?t:"")),e};Function.prototype.toString=Kr((function(){return Dr(this)&&_r(this).source||Nr(this)}),"toString");var Wr=s,Jr=z,qr=Jt,Vr=qt.exports,Zr=Ie,$r=function(e,t,r,n){var a=!!n&&!!n.unsafe,o=!!n&&!!n.enumerable,i=!!n&&!!n.noTargetGet,s=n&&void 0!==n.name?n.name:t;return Jr(r)&&Vr(r,s,n),e===Wr?(o?e[t]=r:Zr(t,r),e):(a?!i&&e[t]&&(o=!0):delete e[t],o?e[t]=r:qr(e,t,r),e)},Qr={},Xr=Math.ceil,en=Math.floor,tn=function(e){var t=+e;return t!=t||0===t?0:(t>0?en:Xr)(t)},rn=tn,nn=Math.max,an=Math.min,on=function(e,t){var r=rn(e);return r<0?nn(r+t,0):an(r,t)},sn=tn,cn=Math.min,hn=function(e){return e>0?cn(sn(e),9007199254740991):0},un=hn,ln=function(e){return un(e.length)},fn=_,dn=on,gn=ln,mn=function(e){return function(t,r,n){var a,o=fn(t),i=gn(o),s=dn(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}},pn={includes:mn(!0),indexOf:mn(!1)},yn=xe,bn=_,vn=pn.indexOf,Sn=pr,wn=C([].push),An=function(e,t){var r,n=bn(e),a=0,o=[];for(r in n)!yn(Sn,r)&&yn(n,r)&&wn(o,r);for(;t.length>a;)yn(n,r=t[a++])&&(~vn(o,r)||wn(o,r));return o},Rn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Tn=An,Hn=Rn.concat("length","prototype");Qr.f=Object.getOwnPropertyNames||function(e){return Tn(e,Hn)};var Pn={};Pn.f=Object.getOwnPropertySymbols;var Cn=V,In=Qr,On=Pn,En=Mt,kn=C([].concat),Ln=Cn("Reflect","ownKeys")||function(e){var t=In.f(En(e)),r=On.f;return r?kn(t,r(e)):t},Mn=xe,Bn=Ln,Un=c,Dn=Ct,Fn=h,xn=z,jn=/#|\.prototype\./,Nn=function(e,t){var r=_n[Gn(e)];return r==Yn||r!=zn&&(xn(t)?Fn(t):!!t)},Gn=Nn.normalize=function(e){return String(e).replace(jn,".").toLowerCase()},_n=Nn.data={},zn=Nn.NATIVE="N",Yn=Nn.POLYFILL="P",Kn=Nn,Wn=s,Jn=c.f,qn=Jt,Vn=$r,Zn=Ie,$n=function(e,t,r){for(var n=Bn(t),a=Dn.f,o=Un.f,i=0;i<n.length;i++){var s=n[i];Mn(e,s)||r&&Mn(r,s)||a(e,s,o(t,s))}},Qn=Kn,Xn=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,h=e.stat;if(r=c?Wn:h?Wn[s]||Zn(s,{}):(Wn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.noTargetGet?(i=Jn(r,n))&&i.value:r[n],!Qn(c?n:s+(h?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;$n(o,a)}(e.sham||a&&a.sham)&&qn(o,"sham",!0),Vn(r,n,o,e)}},ea={};ea[et("toStringTag")]="z";var ta=s,ra="[object z]"===String(ea),na=z,aa=k,oa=et("toStringTag"),ia=ta.Object,sa="Arguments"==aa(function(){return arguments}()),ca=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},ha=ca,ua=s.String,la=function(e){if("Symbol"===ha(e))throw TypeError("Cannot convert a Symbol value to a string");return ua(e)},fa=Mt,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.sticky&&(t+="y"),t},ga=h,ma=s.RegExp,pa=ga((function(){var e=ma("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),ya=pa||ga((function(){return!ma("a","y").sticky})),ba={BROKEN_CARET:pa||ga((function(){var e=ma("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:ya,UNSUPPORTED_Y:pa},va={},Sa=An,wa=Rn,Aa=Object.keys||function(e){return Sa(e,wa)},Ra=u,Ta=It,Ha=Ct,Pa=Mt,Ca=_,Ia=Aa;va.f=Ra&&!Ta?Object.defineProperties:function(e,t){Pa(e);for(var r,n=Ca(t),a=Ia(t),o=a.length,i=0;o>i;)Ha.f(e,r=a[i++],n[r]);return e};var Oa,Ea=V("document","documentElement"),ka=Mt,La=va,Ma=Rn,Ba=pr,Ua=Ea,Da=mt,Fa=mr("IE_PROTO"),xa=function(){},ja=function(e){return"<script>"+e+"</"+"script>"},Na=function(e){e.write(ja("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ga=function(){try{Oa=new ActiveXObject("htmlfile")}catch(e){}var e,t;Ga="undefined"!=typeof document?document.domain&&Oa?Na(Oa):((t=Da("iframe")).style.display="none",Ua.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(ja("document.F=Object")),e.close(),e.F):Na(Oa);for(var r=Ma.length;r--;)delete Ga.prototype[Ma[r]];return Ga()};Ba[Fa]=!0;var _a,za,Ya=Object.create||function(e,t){var r;return null!==e?(xa.prototype=ka(e),r=new xa,xa.prototype=null,r[Fa]=e):r=Ga(),void 0===t?r:La.f(r,t)},Ka=h,Wa=s.RegExp,Ja=Ka((function(){var e=Wa(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),qa=h,Va=s.RegExp,Za=qa((function(){var e=Va("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),$a=g,Qa=C,Xa=la,eo=da,to=ba,ro=He.exports,no=Ya,ao=Br.get,oo=Ja,io=Za,so=ro("native-string-replace",String.prototype.replace),co=RegExp.prototype.exec,ho=co,uo=Qa("".charAt),lo=Qa("".indexOf),fo=Qa("".replace),go=Qa("".slice),mo=(za=/b*/g,$a(co,_a=/a/,"a"),$a(co,za,"a"),0!==_a.lastIndex||0!==za.lastIndex),po=to.BROKEN_CARET,yo=void 0!==/()??/.exec("")[1];(mo||yo||po||oo||io)&&(ho=function(e){var t,r,n,a,o,i,s,c=this,h=ao(c),u=Xa(e),l=h.raw;if(l)return l.lastIndex=c.lastIndex,t=$a(ho,l,u),c.lastIndex=l.lastIndex,t;var f=h.groups,d=po&&c.sticky,g=$a(eo,c),m=c.source,p=0,y=u;if(d&&(g=fo(g,"y",""),-1===lo(g,"g")&&(g+="g"),y=go(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==uo(u,c.lastIndex-1))&&(m="(?: "+m+")",y=" "+y,p++),r=new RegExp("^(?:"+m+")",g)),yo&&(r=new RegExp("^"+m+"$(?!\\s)",g)),mo&&(n=c.lastIndex),a=$a(co,d?r:c,y),d?a?(a.input=go(a.input,p),a[0]=go(a[0],p),a.index=c.lastIndex,c.lastIndex+=a[0].length):c.lastIndex=0:mo&&a&&(c.lastIndex=c.global?a.index+a[0].length:n),yo&&a&&a.length>1&&$a(so,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=no(null),o=0;o<f.length;o++)i[(s=f[o])[0]]=a[s[1]];return a});Xn({target:"RegExp",proto:!0,forced:/./.exec!==ho},{exec:ho});var bo=mt("span").classList,vo=bo&&bo.constructor&&bo.constructor.prototype,So=vo===Object.prototype?void 0:vo,wo=Ya,Ao=Ct,Ro=et("unscopables"),To=Array.prototype;null==To[Ro]&&Ao.f(To,Ro,{configurable:!0,value:wo(null)});var Ho,Po,Co,Io={},Oo=!h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Eo=s,ko=xe,Lo=z,Mo=Ue,Bo=Oo,Uo=mr("IE_PROTO"),Do=Eo.Object,Fo=Do.prototype,xo=Bo?Do.getPrototypeOf:function(e){var t=Mo(e);if(ko(t,Uo))return t[Uo];var r=t.constructor;return Lo(r)&&t instanceof r?r.prototype:t instanceof Do?Fo:null},jo=h,No=z,Go=xo,_o=$r,zo=et("iterator"),Yo=!1;[].keys&&("next"in(Co=[].keys())?(Po=Go(Go(Co)))!==Object.prototype&&(Ho=Po):Yo=!0);var Ko=null==Ho||jo((function(){var e={};return Ho[zo].call(e)!==e}));Ko&&(Ho={}),No(Ho[zo])||_o(Ho,zo,(function(){return this}));var Wo={IteratorPrototype:Ho,BUGGY_SAFARI_ITERATORS:Yo},Jo=Ct.f,qo=xe,Vo=et("toStringTag"),Zo=function(e,t,r){e&&!r&&(e=e.prototype),e&&!qo(e,Vo)&&Jo(e,Vo,{configurable:!0,value:t})},$o=Wo.IteratorPrototype,Qo=Ya,Xo=w,ei=Zo,ti=Io,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=s,oi=z,ii=ai.String,si=ai.TypeError,ci=C,hi=Mt,ui=function(e){if("object"==typeof e||oi(e))return e;throw si("Can't set "+ii(e)+" as a prototype")},li=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=ci(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return hi(r),ui(n),t?e(r,n):r.__proto__=n,r}}():void 0),fi=Xn,di=g,gi=z,mi=ni,pi=xo,yi=li,bi=Zo,vi=Jt,Si=$r,wi=Io,Ai=er.PROPER,Ri=er.CONFIGURABLE,Ti=Wo.IteratorPrototype,Hi=Wo.BUGGY_SAFARI_ITERATORS,Pi=et("iterator"),Ci="keys",Ii="values",Oi="entries",Ei=function(){return this},ki=function(e,t,r,n,a,o,i){mi(r,t,n);var s,c,h,u=function(e){if(e===a&&m)return m;if(!Hi&&e in d)return d[e];switch(e){case Ci:case Ii:case Oi:return function(){return new r(this,e)}}return function(){return new r(this)}},l=t+" Iterator",f=!1,d=e.prototype,g=d[Pi]||d["@@iterator"]||a&&d[a],m=!Hi&&g||u(a),p="Array"==t&&d.entries||g;if(p&&(s=pi(p.call(new e)))!==Object.prototype&&s.next&&(pi(s)!==Ti&&(yi?yi(s,Ti):gi(s[Pi])||Si(s,Pi,Ei)),bi(s,l,!0)),Ai&&a==Ii&&g&&g.name!==Ii&&(Ri?vi(d,"name",Ii):(f=!0,m=function(){return di(g,this)})),a)if(c={values:u(Ii),keys:o?m:u(Ci),entries:u(Oi)},i)for(h in c)(Hi||f||!(h in d))&&Si(d,h,c[h]);else fi({target:t,proto:!0,forced:Hi||f},c);return d[Pi]!==m&&Si(d,Pi,m,{name:a}),wi[t]=m,c},Li=_,Mi=function(e){To[Ro][e]=!0},Bi=Io,Ui=Br,Di=Ct.f,Fi=ki,xi=u,ji="Array Iterator",Ni=Ui.set,Gi=Ui.getterFor(ji),_i=Fi(Array,"Array",(function(e,t){Ni(this,{type:ji,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,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),zi=Bi.Arguments=Bi.Array;if(Mi("keys"),Mi("values"),Mi("entries"),xi&&"values"!==zi.name)try{Di(zi,"name",{value:"values"})}catch(e){}var Yi=s,Ki={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=So,Ji=_i,qi=Jt,Vi=et,Zi=Vi("iterator"),$i=Vi("toStringTag"),Qi=Ji.values,Xi=function(e,t){if(e){if(e[Zi]!==Qi)try{qi(e,Zi,Qi)}catch(t){e[Zi]=Qi}if(e[$i]||qi(e,$i,t),Ki[t])for(var r in Ji)if(e[r]!==Ji[r])try{qi(e,r,Ji[r])}catch(t){e[r]=Ji[r]}}};for(var es in Ki)Xi(Yi[es]&&Yi[es].prototype,es);Xi(Wi,"DOMTokenList");var ts=C,rs=tn,ns=la,as=j,os=ts("".charAt),is=ts("".charCodeAt),ss=ts("".slice),cs=function(e){return function(t,r){var n,a,o=ns(as(t)),i=rs(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=is(o,i))<55296||n>56319||i+1===s||(a=is(o,i+1))<56320||a>57343?e?os(o,i):n:e?ss(o,i,i+2):a-56320+(n-55296<<10)+65536}},hs={codeAt:cs(!1),charAt:cs(!0)},us=hs.charAt,ls=la,fs=Br,ds=ki,gs="String Iterator",ms=fs.set,ps=fs.getterFor(gs);ds(String,"String",(function(e){ms(this,{type:gs,string:ls(e),index:0})}),(function(){var e,t=ps(this),r=t.string,n=t.index;return n>=r.length?{value:void 0,done:!0}:(e=us(r,n),t.index+=e.length,{value:e,done:!1})}));var ys=h,bs=et("iterator"),vs=!ys((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[bs]||"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})),Ss=be,ws=l,As=C(C.bind),Rs=function(e,t){return Ss(e),void 0===t?e:ws?As(e,t):function(){return e.apply(t,arguments)}},Ts=qt.exports,Hs=Ct,Ps=Z,Cs=s.TypeError,Is=function(e,t){if(Ps(t,e))return e;throw Cs("Incorrect invocation")},Os=u,Es=C,ks=g,Ls=h,Ms=Aa,Bs=Pn,Us=m,Ds=Ue,Fs=F,xs=Object.assign,js=Object.defineProperty,Ns=Es([].concat),Gs=!xs||Ls((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]||Ms(xs({},t)).join("")!=n}))?function(e,t){for(var r=Ds(e),n=arguments.length,a=1,o=Bs.f,i=Us.f;n>a;)for(var s,c=Fs(arguments[a++]),h=o?Ns(Ms(c),o(c)):Ms(c),u=h.length,l=0;u>l;)s=h[l++],Os&&!ks(i,c,s)||(r[s]=c[s]);return r}:xs,_s=g,zs=Mt,Ys=Se,Ks=Mt,Ws=function(e,t,r){var n,a;zs(e);try{if(!(n=Ys(e,"return"))){if("throw"===t)throw r;return r}n=_s(n,e)}catch(e){a=!0,n=e}if("throw"===t)throw r;if(a)throw n;return zs(n),r},Js=Io,qs=et("iterator"),Vs=Array.prototype,Zs=C,$s=h,Qs=z,Xs=ca,ec=sr,tc=function(){},rc=[],nc=V("Reflect","construct"),ac=/^\s*(?:class|function)\b/,oc=Zs(ac.exec),ic=!ac.exec(tc),sc=function(e){if(!Qs(e))return!1;try{return nc(tc,rc,e),!0}catch(e){return!1}},cc=function(e){if(!Qs(e))return!1;switch(Xs(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ic||!!oc(ac,ec(e))}catch(e){return!0}};cc.sham=!0;var hc=!nc||$s((function(){var e;return sc(sc.call)||!sc(Object)||!sc((function(){e=!0}))||e}))?cc:sc,uc=lt,lc=Ct,fc=w,dc=function(e,t,r){var n=uc(t);n in e?lc.f(e,n,fc(0,r)):e[n]=r},gc=ca,mc=Se,pc=Io,yc=et("iterator"),bc=function(e){if(null!=e)return mc(e,yc)||mc(e,"@@iterator")||pc[gc(e)]},vc=g,Sc=be,wc=Mt,Ac=ge,Rc=bc,Tc=s.TypeError,Hc=function(e,t){var r=arguments.length<2?Rc(e):t;if(Sc(r))return wc(vc(r,e));throw Tc(Ac(e)+" is not iterable")},Pc=Rs,Cc=g,Ic=Ue,Oc=function(e,t,r,n){try{return n?t(Ks(r)[0],r[1]):t(r)}catch(t){Ws(e,"throw",t)}},Ec=function(e){return void 0!==e&&(Js.Array===e||Vs[qs]===e)},kc=hc,Lc=ln,Mc=dc,Bc=Hc,Uc=bc,Dc=s.Array,Fc=on,xc=ln,jc=dc,Nc=s.Array,Gc=Math.max,_c=function(e,t,r){for(var n=xc(e),a=Fc(t,n),o=Fc(void 0===r?n:r,n),i=Nc(Gc(o-a,0)),s=0;a<o;a++,s++)jc(i,s,e[a]);return i.length=s,i},zc=C,Yc=2147483647,Kc=/[^\0-\u007E]/,Wc=/[.\u3002\uFF0E\uFF61]/g,Jc="Overflow: input needs wider integers to process",qc=s.RangeError,Vc=zc(Wc.exec),Zc=Math.floor,$c=String.fromCharCode,Qc=zc("".charCodeAt),Xc=zc([].join),eh=zc([].push),th=zc("".replace),rh=zc("".split),nh=zc("".toLowerCase),ah=function(e){return e+22+75*(e<26)},oh=function(e,t,r){var n=0;for(e=r?Zc(e/700):e>>1,e+=Zc(e/t);e>455;)e=Zc(e/35),n+=36;return Zc(n+36*e/(e+38))},ih=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=Qc(e,r++);if(a>=55296&&a<=56319&&r<n){var o=Qc(e,r++);56320==(64512&o)?eh(t,((1023&a)<<10)+(1023&o)+65536):(eh(t,a),r--)}else eh(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&&eh(t,$c(n));var c=t.length,h=c;for(c&&eh(t,"-");h<a;){var u=Yc;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<u&&(u=n);var l=h+1;if(u-o>Zc((Yc-i)/l))throw qc(Jc);for(i+=(u-o)*l,o=u,r=0;r<e.length;r++){if((n=e[r])<o&&++i>Yc)throw qc(Jc);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;eh(t,$c(ah(g+m%p))),f=Zc(m/p),d+=36}eh(t,$c(ah(f))),s=oh(i,l,h==c),i=0,h++}}i++,o++}return Xc(t,"")},sh=s.TypeError,ch=function(e,t){if(e<t)throw sh("Not enough arguments");return e},hh=$r,uh=_c,lh=Math.floor,fh=function(e,t){var r=e.length,n=lh(r/2);return r<8?dh(e,t):gh(e,fh(uh(e,0,n),t),fh(uh(e,n),t),t)},dh=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},gh=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},mh=Xn,ph=s,yh=g,bh=C,vh=u,Sh=vs,wh=$r,Ah=function(e,t,r){for(var n in t)hh(e,n,t[n],r);return e},Rh=Zo,Th=ni,Hh=Br,Ph=Is,Ch=z,Ih=xe,Oh=Rs,Eh=ca,kh=Mt,Lh=K,Mh=la,Bh=Ya,Uh=w,Dh=Hc,Fh=bc,xh=ch,jh=fh,Nh=et("iterator"),Gh="URLSearchParams",_h="URLSearchParamsIterator",zh=Hh.set,Yh=Hh.getterFor(Gh),Kh=Hh.getterFor(_h),Wh=Object.getOwnPropertyDescriptor,Jh=function(e){if(!vh)return ph[e];var t=Wh(ph,e);return t&&t.value},qh=Jh("fetch"),Vh=Jh("Request"),Zh=Jh("Headers"),$h=Vh&&Vh.prototype,Qh=Zh&&Zh.prototype,Xh=ph.RegExp,eu=ph.TypeError,tu=ph.decodeURIComponent,ru=ph.encodeURIComponent,nu=bh("".charAt),au=bh([].join),ou=bh([].push),iu=bh("".replace),su=bh([].shift),cu=bh([].splice),hu=bh("".split),uu=bh("".slice),lu=/\+/g,fu=Array(4),du=function(e){return fu[e-1]||(fu[e-1]=Xh("((?:%[\\da-f]{2}){"+e+"})","gi"))},gu=function(e){try{return tu(e)}catch(t){return e}},mu=function(e){var t=iu(e,lu," "),r=4;try{return tu(t)}catch(e){for(;r;)t=iu(t,du(r--),gu);return t}},pu=/[!'()~]|%20/g,yu={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},bu=function(e){return yu[e]},vu=function(e){return iu(ru(e),pu,bu)},Su=Th((function(e,t){zh(this,{type:_h,iterator:Dh(Yh(e).entries),kind:t})}),"Iterator",(function(){var e=Kh(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),wu=function(e){this.entries=[],this.url=null,void 0!==e&&(Lh(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===nu(e,0)?uu(e,1):e:Mh(e)))};wu.prototype={type:Gh,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,o,i,s,c=Fh(e);if(c)for(r=(t=Dh(e,c)).next;!(n=yh(r,t)).done;){if(o=(a=Dh(kh(n.value))).next,(i=yh(o,a)).done||(s=yh(o,a)).done||!yh(o,a).done)throw eu("Expected sequence with length 2");ou(this.entries,{key:Mh(i.value),value:Mh(s.value)})}else for(var h in e)Ih(e,h)&&ou(this.entries,{key:h,value:Mh(e[h])})},parseQuery:function(e){if(e)for(var t,r,n=hu(e,"&"),a=0;a<n.length;)(t=n[a++]).length&&(r=hu(t,"="),ou(this.entries,{key:mu(su(r)),value:mu(au(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],ou(r,vu(e.key)+"="+vu(e.value));return au(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Au=function(){Ph(this,Ru);var e=arguments.length>0?arguments[0]:void 0;zh(this,new wu(e))},Ru=Au.prototype;if(Ah(Ru,{append:function(e,t){xh(arguments.length,2);var r=Yh(this);ou(r.entries,{key:Mh(e),value:Mh(t)}),r.updateURL()},delete:function(e){xh(arguments.length,1);for(var t=Yh(this),r=t.entries,n=Mh(e),a=0;a<r.length;)r[a].key===n?cu(r,a,1):a++;t.updateURL()},get:function(e){xh(arguments.length,1);for(var t=Yh(this).entries,r=Mh(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){xh(arguments.length,1);for(var t=Yh(this).entries,r=Mh(e),n=[],a=0;a<t.length;a++)t[a].key===r&&ou(n,t[a].value);return n},has:function(e){xh(arguments.length,1);for(var t=Yh(this).entries,r=Mh(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){xh(arguments.length,1);for(var r,n=Yh(this),a=n.entries,o=!1,i=Mh(e),s=Mh(t),c=0;c<a.length;c++)(r=a[c]).key===i&&(o?cu(a,c--,1):(o=!0,r.value=s));o||ou(a,{key:i,value:s}),n.updateURL()},sort:function(){var e=Yh(this);jh(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=Yh(this).entries,n=Oh(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 Su(this,"keys")},values:function(){return new Su(this,"values")},entries:function(){return new Su(this,"entries")}},{enumerable:!0}),wh(Ru,Nh,Ru.entries,{name:"entries"}),wh(Ru,"toString",(function(){return Yh(this).serialize()}),{enumerable:!0}),Rh(Au,Gh),mh({global:!0,forced:!Sh},{URLSearchParams:Au}),!Sh&&Ch(Zh)){var Tu=bh(Qh.has),Hu=bh(Qh.set),Pu=function(e){if(Lh(e)){var t,r=e.body;if(Eh(r)===Gh)return t=e.headers?new Zh(e.headers):new Zh,Tu(t,"content-type")||Hu(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Bh(e,{body:Uh(0,Mh(r)),headers:Uh(0,t)})}return e};if(Ch(qh)&&mh({global:!0,enumerable:!0,noTargetGet:!0,forced:!0},{fetch:function(e){return qh(e,arguments.length>1?Pu(arguments[1]):{})}}),Ch(Vh)){var Cu=function(e){return Ph(this,$h),new Vh(e,arguments.length>1?Pu(arguments[1]):{})};$h.constructor=Cu,Cu.prototype=$h,mh({global:!0,forced:!0,noTargetGet:!0},{Request:Cu})}}var Iu,Ou=Xn,Eu=u,ku=vs,Lu=s,Mu=Rs,Bu=C,Uu=$r,Du=function(e,t,r){return r.get&&Ts(r.get,t,{getter:!0}),r.set&&Ts(r.set,t,{setter:!0}),Hs.f(e,t,r)},Fu=Is,xu=xe,ju=Gs,Nu=function(e){var t=Ic(e),r=kc(this),n=arguments.length,a=n>1?arguments[1]:void 0,o=void 0!==a;o&&(a=Pc(a,n>2?arguments[2]:void 0));var i,s,c,h,u,l,f=Uc(t),d=0;if(!f||this==Dc&&Ec(f))for(i=Lc(t),s=r?new this(i):Dc(i);i>d;d++)l=o?a(t[d],d):t[d],Mc(s,d,l);else for(u=(h=Bc(t,f)).next,s=r?new this:[];!(c=Cc(u,h)).done;d++)l=o?Oc(h,a,[c.value,d],!0):c.value,Mc(s,d,l);return s.length=d,s},Gu=_c,_u=hs.codeAt,zu=function(e){var t,r,n=[],a=rh(th(nh(e),Wc,"."),".");for(t=0;t<a.length;t++)r=a[t],eh(n,Vc(Kc,r)?"xn--"+ih(r):r);return Xc(n,".")},Yu=la,Ku=Zo,Wu=ch,Ju={URLSearchParams:Au,getState:Yh},qu=Br,Vu=qu.set,Zu=qu.getterFor("URL"),$u=Ju.URLSearchParams,Qu=Ju.getState,Xu=Lu.URL,el=Lu.TypeError,tl=Lu.parseInt,rl=Math.floor,nl=Math.pow,al=Bu("".charAt),ol=Bu(/./.exec),il=Bu([].join),sl=Bu(1..toString),cl=Bu([].pop),hl=Bu([].push),ul=Bu("".replace),ll=Bu([].shift),fl=Bu("".split),dl=Bu("".slice),gl=Bu("".toLowerCase),ml=Bu([].unshift),pl="Invalid scheme",yl="Invalid host",bl="Invalid port",vl=/[a-z]/i,Sl=/[\d+-.a-z]/i,wl=/\d/,Al=/^0x/i,Rl=/^[0-7]+$/,Tl=/^\d+$/,Hl=/^[\da-f]+$/i,Pl=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Cl=/[\0\t\n\r #/:<>?@[\\\]^|]/,Il=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,Ol=/[\t\n\r]/g,El=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)ml(t,e%256),e=rl(e/256);return il(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+=sl(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},kl={},Ll=ju({},kl,{" ":1,'"':1,"<":1,">":1,"`":1}),Ml=ju({},Ll,{"#":1,"?":1,"{":1,"}":1}),Bl=ju({},Ml,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ul=function(e,t){var r=_u(e,0);return r>32&&r<127&&!xu(t,e)?e:encodeURIComponent(e)},Dl={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Fl=function(e,t){var r;return 2==e.length&&ol(vl,al(e,0))&&(":"==(r=al(e,1))||!t&&"|"==r)},xl=function(e){var t;return e.length>1&&Fl(dl(e,0,2))&&(2==e.length||"/"===(t=al(e,2))||"\\"===t||"?"===t||"#"===t)},jl=function(e){return"."===e||"%2e"===gl(e)},Nl={},Gl={},_l={},zl={},Yl={},Kl={},Wl={},Jl={},ql={},Vl={},Zl={},$l={},Ql={},Xl={},ef={},tf={},rf={},nf={},af={},of={},sf={},cf=function(e,t,r){var n,a,o,i=Yu(e);if(t){if(a=this.parse(i))throw el(a);this.searchParams=null}else{if(void 0!==r&&(n=new cf(r,!0)),a=this.parse(i,null,n))throw el(a);(o=Qu(new $u)).bindURL(this),this.searchParams=o}};cf.prototype={type:"URL",parse:function(e,t,r){var n,a,o,i,s,c=this,h=t||Nl,u=0,l="",f=!1,d=!1,g=!1;for(e=Yu(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=ul(e,Il,"")),e=ul(e,Ol,""),n=Nu(e);u<=n.length;){switch(a=n[u],h){case Nl:if(!a||!ol(vl,a)){if(t)return pl;h=_l;continue}l+=gl(a),h=Gl;break;case Gl:if(a&&(ol(Sl,a)||"+"==a||"-"==a||"."==a))l+=gl(a);else{if(":"!=a){if(t)return pl;l="",h=_l,u=0;continue}if(t&&(c.isSpecial()!=xu(Dl,l)||"file"==l&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=l,t)return void(c.isSpecial()&&Dl[c.scheme]==c.port&&(c.port=null));l="","file"==c.scheme?h=Xl:c.isSpecial()&&r&&r.scheme==c.scheme?h=zl:c.isSpecial()?h=Jl:"/"==n[u+1]?(h=Yl,u++):(c.cannotBeABaseURL=!0,hl(c.path,""),h=af)}break;case _l:if(!r||r.cannotBeABaseURL&&"#"!=a)return pl;if(r.cannotBeABaseURL&&"#"==a){c.scheme=r.scheme,c.path=Gu(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,h=sf;break}h="file"==r.scheme?Xl:Kl;continue;case zl:if("/"!=a||"/"!=n[u+1]){h=Kl;continue}h=ql,u++;break;case Yl:if("/"==a){h=Vl;break}h=nf;continue;case Kl:if(c.scheme=r.scheme,a==Iu)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=Gu(r.path),c.query=r.query;else if("/"==a||"\\"==a&&c.isSpecial())h=Wl;else if("?"==a)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=Gu(r.path),c.query="",h=of;else{if("#"!=a){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=Gu(r.path),c.path.length--,h=nf;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=Gu(r.path),c.query=r.query,c.fragment="",h=sf}break;case Wl:if(!c.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,h=nf;continue}h=Vl}else h=ql;break;case Jl:if(h=ql,"/"!=a||"/"!=al(l,u+1))continue;u++;break;case ql:if("/"!=a&&"\\"!=a){h=Vl;continue}break;case Vl:if("@"==a){f&&(l="%40"+l),f=!0,o=Nu(l);for(var m=0;m<o.length;m++){var p=o[m];if(":"!=p||g){var y=Ul(p,Bl);g?c.password+=y:c.username+=y}else g=!0}l=""}else if(a==Iu||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()){if(f&&""==l)return"Invalid authority";u-=Nu(l).length+1,l="",h=Zl}else l+=a;break;case Zl:case $l:if(t&&"file"==c.scheme){h=tf;continue}if(":"!=a||d){if(a==Iu||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()){if(c.isSpecial()&&""==l)return yl;if(t&&""==l&&(c.includesCredentials()||null!==c.port))return;if(i=c.parseHost(l))return i;if(l="",h=rf,t)return;continue}"["==a?d=!0:"]"==a&&(d=!1),l+=a}else{if(""==l)return yl;if(i=c.parseHost(l))return i;if(l="",h=Ql,t==$l)return}break;case Ql:if(!ol(wl,a)){if(a==Iu||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()||t){if(""!=l){var b=tl(l,10);if(b>65535)return bl;c.port=c.isSpecial()&&b===Dl[c.scheme]?null:b,l=""}if(t)return;h=rf;continue}return bl}l+=a;break;case Xl:if(c.scheme="file","/"==a||"\\"==a)h=ef;else{if(!r||"file"!=r.scheme){h=nf;continue}if(a==Iu)c.host=r.host,c.path=Gu(r.path),c.query=r.query;else if("?"==a)c.host=r.host,c.path=Gu(r.path),c.query="",h=of;else{if("#"!=a){xl(il(Gu(n,u),""))||(c.host=r.host,c.path=Gu(r.path),c.shortenPath()),h=nf;continue}c.host=r.host,c.path=Gu(r.path),c.query=r.query,c.fragment="",h=sf}}break;case ef:if("/"==a||"\\"==a){h=tf;break}r&&"file"==r.scheme&&!xl(il(Gu(n,u),""))&&(Fl(r.path[0],!0)?hl(c.path,r.path[0]):c.host=r.host),h=nf;continue;case tf:if(a==Iu||"/"==a||"\\"==a||"?"==a||"#"==a){if(!t&&Fl(l))h=nf;else if(""==l){if(c.host="",t)return;h=rf}else{if(i=c.parseHost(l))return i;if("localhost"==c.host&&(c.host=""),t)return;l="",h=rf}continue}l+=a;break;case rf:if(c.isSpecial()){if(h=nf,"/"!=a&&"\\"!=a)continue}else if(t||"?"!=a)if(t||"#"!=a){if(a!=Iu&&(h=nf,"/"!=a))continue}else c.fragment="",h=sf;else c.query="",h=of;break;case nf:if(a==Iu||"/"==a||"\\"==a&&c.isSpecial()||!t&&("?"==a||"#"==a)){if(".."===(s=gl(s=l))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"==a||"\\"==a&&c.isSpecial()||hl(c.path,"")):jl(l)?"/"==a||"\\"==a&&c.isSpecial()||hl(c.path,""):("file"==c.scheme&&!c.path.length&&Fl(l)&&(c.host&&(c.host=""),l=al(l,0)+":"),hl(c.path,l)),l="","file"==c.scheme&&(a==Iu||"?"==a||"#"==a))for(;c.path.length>1&&""===c.path[0];)ll(c.path);"?"==a?(c.query="",h=of):"#"==a&&(c.fragment="",h=sf)}else l+=Ul(a,Ml);break;case af:"?"==a?(c.query="",h=of):"#"==a?(c.fragment="",h=sf):a!=Iu&&(c.path[0]+=Ul(a,kl));break;case of:t||"#"!=a?a!=Iu&&("'"==a&&c.isSpecial()?c.query+="%27":c.query+="#"==a?"%23":Ul(a,kl)):(c.fragment="",h=sf);break;case sf:a!=Iu&&(c.fragment+=Ul(a,Ll))}u++}},parseHost:function(e){var t,r,n;if("["==al(e,0)){if("]"!=al(e,e.length-1))return yl;if(t=function(e){var t,r,n,a,o,i,s,c=[0,0,0,0,0,0,0,0],h=0,u=null,l=0,f=function(){return al(e,l)};if(":"==f()){if(":"!=al(e,1))return;l+=2,u=++h}for(;f();){if(8==h)return;if(":"!=f()){for(t=r=0;r<4&&ol(Hl,f());)t=16*t+tl(f(),16),l++,r++;if("."==f()){if(0==r)return;if(l-=r,h>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;l++}if(!ol(wl,f()))return;for(;ol(wl,f());){if(o=tl(f(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;l++}c[h]=256*c[h]+a,2!=++n&&4!=n||h++}if(4!=n)return;break}if(":"==f()){if(l++,!f())return}else if(f())return;c[h++]=t}else{if(null!==u)return;l++,u=++h}}if(null!==u)for(i=h-u,h=7;0!=h&&i>0;)s=c[h],c[h--]=c[u+i-1],c[u+--i]=s;else if(8!=h)return;return c}(dl(e,1,-1)),!t)return yl;this.host=t}else if(this.isSpecial()){if(e=zu(e),ol(Pl,e))return yl;if(t=function(e){var t,r,n,a,o,i,s,c=fl(e,".");if(c.length&&""==c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=c[n]))return e;if(o=10,a.length>1&&"0"==al(a,0)&&(o=ol(Al,a)?16:8,a=dl(a,8==o?1:2)),""===a)i=0;else{if(!ol(10==o?Tl:8==o?Rl:Hl,a))return e;i=tl(a,o)}hl(r,i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=nl(256,5-t))return null}else if(i>255)return null;for(s=cl(r),n=0;n<r.length;n++)s+=r[n]*nl(256,3-n);return s}(e),null===t)return yl;this.host=t}else{if(ol(Cl,e))return yl;for(t="",r=Nu(e),n=0;n<r.length;n++)t+=Ul(r[n],kl);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return xu(Dl,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&Fl(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,c=e.fragment,h=t+":";return null!==a?(h+="//",e.includesCredentials()&&(h+=r+(n?":"+n:"")+"@"),h+=El(a),null!==o&&(h+=":"+o)):"file"==t&&(h+="//"),h+=e.cannotBeABaseURL?i[0]:i.length?"/"+il(i,"/"):"",null!==s&&(h+="?"+s),null!==c&&(h+="#"+c),h},setHref:function(e){var t=this.parse(e);if(t)throw el(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new hf(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+El(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Yu(e)+":",Nl)},getUsername:function(){return this.username},setUsername:function(e){var t=Nu(Yu(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Ul(t[r],Bl)}},getPassword:function(){return this.password},setPassword:function(e){var t=Nu(Yu(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Ul(t[r],Bl)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?El(e):El(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Zl)},getHostname:function(){var e=this.host;return null===e?"":El(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,$l)},getPort:function(){var e=this.port;return null===e?"":Yu(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=Yu(e))?this.port=null:this.parse(e,Ql))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+il(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,rf))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=Yu(e))?this.query=null:("?"==al(e,0)&&(e=dl(e,1)),this.query="",this.parse(e,of)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=Yu(e))?("#"==al(e,0)&&(e=dl(e,1)),this.fragment="",this.parse(e,sf)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var hf=function(e){var t=Fu(this,uf),r=Wu(arguments.length,1)>1?arguments[1]:void 0,n=Vu(t,new cf(e,!1,r));Eu||(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())},uf=hf.prototype,lf=function(e,t){return{get:function(){return Zu(this)[e]()},set:t&&function(e){return Zu(this)[t](e)},configurable:!0,enumerable:!0}};if(Eu&&(Du(uf,"href",lf("serialize","setHref")),Du(uf,"origin",lf("getOrigin")),Du(uf,"protocol",lf("getProtocol","setProtocol")),Du(uf,"username",lf("getUsername","setUsername")),Du(uf,"password",lf("getPassword","setPassword")),Du(uf,"host",lf("getHost","setHost")),Du(uf,"hostname",lf("getHostname","setHostname")),Du(uf,"port",lf("getPort","setPort")),Du(uf,"pathname",lf("getPathname","setPathname")),Du(uf,"search",lf("getSearch","setSearch")),Du(uf,"searchParams",lf("getSearchParams")),Du(uf,"hash",lf("getHash","setHash"))),Uu(uf,"toJSON",(function(){return Zu(this).serialize()}),{enumerable:!0}),Uu(uf,"toString",(function(){return Zu(this).serialize()}),{enumerable:!0}),Xu){var ff=Xu.createObjectURL,df=Xu.revokeObjectURL;ff&&Uu(hf,"createObjectURL",Mu(ff,Xu)),df&&Uu(hf,"revokeObjectURL",Mu(df,Xu))}Ku(hf,"URL"),Ou({global:!0,forced:!ku,sham:!Eu},{URL:hf});var gf,mf=K,pf=k,yf=et("match"),bf=function(e){var t;return mf(e)&&(void 0!==(t=e[yf])?!!t:"RegExp"==pf(e))},vf=s.TypeError,Sf=et("match"),wf=Xn,Af=C,Rf=c.f,Tf=hn,Hf=la,Pf=function(e){if(bf(e))throw vf("The method doesn't accept regular expressions");return e},Cf=j,If=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Sf]=!1,"/./"[e](t)}catch(e){}}return!1},Of=Af("".startsWith),Ef=Af("".slice),kf=Math.min,Lf=If("startsWith");wf({target:"String",proto:!0,forced:!!(Lf||(gf=Rf(String.prototype,"startsWith"),!gf||gf.writable))&&!Lf},{startsWith:function(e){var t=Hf(Cf(this));Pf(e);var r=Tf(kf(arguments.length>1?arguments[1]:void 0,t.length)),n=Hf(e);return Of?Of(t,n,r):Ef(t,r,r+n.length)===n}});var Mf=g,Bf=xe,Uf=Z,Df=da,Ff=RegExp.prototype,xf=er.PROPER,jf=$r,Nf=Mt,Gf=la,_f=h,zf=function(e){var t=e.flags;return void 0!==t||"flags"in Ff||Bf(e,"flags")||!Uf(Ff,e)?t:Mf(Df,e)},Yf="toString",Kf=RegExp.prototype.toString,Wf=_f((function(){return"/a/b"!=Kf.call({source:"a",flags:"b"})})),Jf=xf&&Kf.name!=Yf;(Wf||Jf)&&jf(RegExp.prototype,Yf,(function(){var e=Nf(this);return"/"+Gf(e.source)+"/"+Gf(zf(e))}),{unsafe:!0});var qf={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem",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","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","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",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","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. Note that Hebcal displays modern holidays like Yom HaAtzma'ut according to the Israeli schedule. 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. Note that Hebcal displays modern holidays like Yom HaZikaron according to the Israeli schedule. 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 Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"},Vf={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 Zf(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:Vf[e.getCountryCode()]};return["admin1","asciiname","geo","zip","state","stateName","geonameid"].forEach((r=>{e[r]&&(t[r]=e[r])})),t}return{geo:"none"}}function $f(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function Qf(e){return e<10?"0"+e:String(e)}function Xf(e){return e<0?"-00"+Xf(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function ed(e){return Xf(e.getFullYear())+"-"+Qf(e.getMonth()+1)+"-"+Qf(e.getDate())}function td(e){const r=e.getDesc();if("Fast begins"===r||"Fast ends"===r)return["zmanim","fast"];switch(e.getFlags()){case t.flags.OMER_COUNT:return["omer"];case t.flags.HEBREW_DATE:return["hebdate"];case t.flags.PARSHA_HASHAVUA:return["parashat"];case t.flags.DAF_YOMI:return["dafyomi"];case t.flags.ROSH_CHODESH:return["roshchodesh"];case t.flags.SPECIAL_SHABBAT:return["holiday","shabbat"];case t.flags.MINOR_FAST:return["holiday","fast"];case t.flags.MAJOR_FAST:return["holiday","fast","major"];case t.flags.MODERN_HOLIDAY:return["holiday","modern"];case t.flags.SHABBAT_MEVARCHIM:return["mevarchim"];case t.flags.MOLAD:return["molad"];case t.flags.USER_EVENT:return["user"];case t.flags.MINOR_HOLIDAY:return["holiday","minor"];case t.flags.MISHNA_YOMI:return["mishnayomi"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];switch(r){case"Havdalah":return["havdalah"];case"Candle lighting":return["candles"];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"];case"Erev Tish'a B'Av":return["holiday","fast","major"];default:return["holiday","major"]}}function rd(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.isHebrewYear||0==e.length)r+=" "+t.year;else{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 nd(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=qf[e.getDesc()]||qf[e.basename()]||"";if(t&&r){const e=r.indexOf(".");if(-1!=e)return r.substring(0,e)}return r}const ad=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.HEBREW_DATE;function od(e,r){const n=e.getFlags();if(n&ad)return"";const o=n&t.flags.PARSHA_HASHAVUA?a.getLeyningForParshaHaShavua(e,r):a.getLeyningForHoliday(e,r);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 id(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/"),c=e.startsWith("/omer/");if(i||s||c)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 sd(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)}const cd='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',hd={dafyomi:"Daf Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:null,molad:null,omer:null,parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal"};function ud(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 c="",h="",u="",l='"true"';const f=Boolean(e.eventTime);let d=sd(e)?e.renderBrief(r.locale):e.render(r.locale);if(e.eventTime){const n=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr," PM",r);h=c='"'.concat(n,'"'),u=s,l='"false"'}let g="Jewish Holidays";const m=e.getFlags();if(f&&r.location&&r.location.name){const e=r.location.name,t=e.indexOf(",");g=-1===t?e:e.substring(0,t)}else if(m&t.flags.DAF_YOMI){const e=d.indexOf(": ");-1!=e&&(g=d.substring(0,e),d=d.substring(e+2))}else{const t=hd[td(e)[0]];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||nd(e,!0);p||void 0===e.linkedEvent||(p=e.linkedEvent.render(r.locale));const y=p.replace(/,/g,";").replace(/"/g,"''"),b=f||m&t.flags.CHAG?4:3;return'"'.concat(d,'",').concat(s,",").concat(c,",").concat(u,",").concat(h,",").concat(l,',"').concat(y,'","').concat(b,'","').concat(g,'"')}function ld(e,r){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const o=Boolean(e.eventTime),i=e.getDate(),s=i.greg(),c="object"==typeof r.location?r.location.getTzid():"UTC",h=o?t.Zmanim.formatISOWithTimeZone(c,e.eventTime):ed(s),u=td(e),l=e.getFlags();let f=sd(e)?e.renderBrief(r.locale):e.render(r.locale);const d=e.getDesc(),g="Havdalah"===d||"Candle lighting"===d;if(g){f+=": "+t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",r)}const m={title:f,date:h,category:u[0]};u.length>1&&(m.subcat=u[1]),"holiday"===u[0]&&l&t.flags.CHAG&&(m.yomtov=!0),f!=d&&(m.title_orig=d);const p=e.renderBrief("he");if(p&&(m.hebrew=t.Locale.hebrewStripNikkud(p)),!g){if(n){const n=r.il,o=l===t.flags.PARSHA_HASHAVUA,s=o?a.getLeyningForParshaHaShavua(e,n):a.getLeyningForHoliday(e,n);if(s){m.leyning=dd(s);const t=i.getFullYear();if(o&&!n&&t>=5745&&t<=5830){const t=a.getTriennialForParshaHaShavua(e);t&&(m.leyning.triennial=fd({},t))}}}const o=e.url();if(o){const e=r.utmSource||"js",t=r.utmMedium||"api",n=r.utmCampaign;m.link=id(o,r.il,e,t,n)}}const y=e.memo||qf[e.basename()];return y?m.memo=y:void 0!==e.linkedEvent&&(m.memo=e.linkedEvent.render(r.locale)),m}function fd(e,t){return Object.keys(t).forEach((r=>{const n=t[r];if(void 0!==n){e["M"==r?"maftir":r]=a.formatAliyahWithBook(n)}})),e}function dd(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&&fd(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 gd={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function md(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||rd(e,t),c=t.description||s,h=t.utmSource||"shabbat1c",u=t.utmMedium||"rss",l=id(n,r&&r.getIsrael(),h,u,t.utmCampaign).replace(/&/g,"&"),f=t.selfUrl.replace(/&/g,"&"),d=t.lang||gd[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(l,'</link>\n<atom:link href="').concat(f,'" rel="self" type="application/rss+xml" />\n<description>').concat(c,"</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+=pd(e,t)})),g+="</channel>\n</rss>\n",g}function pd(e,t){return yd(e,t.evPubDate,t.lastBuildDate,t.dayFormat,t.location,t.mainUrl,t)}function yd(e,r,n,a,o,i,s){let c=e.render();const h=e.getDate().greg(),u=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,h,n),l=!!o&&o.getIsrael(),f=function(e,r,n,a,o,i){let s,c;const h=e.eventTime||e.getDate().greg(),u=t.Zmanim.formatISOWithTimeZone(n,h),l=u.substring(0,u.indexOf("T")),f=l.replace(/-/g,""),d=$f(e.getDesc()),g="".concat(f,"-").concat(d),m=e.url();if(m)s=id(m,r,o,i).replace(/&/g,"&"),c="".concat(m,"#").concat(g);else{const e="".concat(a,"&dt=").concat(l),t=id(e,r,o,i).replace(/&/g,"&");c=e.replace(/&/g,"&")+"#".concat(g),s="".concat(t,"#").concat(g)}return[s,c]}(e,l,o?o.getTzid():"UTC",i,s&&s.utmSource||"shabbat1c",s&&s.utmMedium||"rss"),d=f[0],g=f[1],m=td(e)[0],p=e.getDesc();let y;if("Havdalah"===p||"Candle lighting"===p){const r=c.indexOf(": ");if(-1!=r){const n={location:o,il:l,locale:t.Locale.getLocaleName()},a=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",n);c=c.substring(0,r)+": "+a}}else y=e.getFlags()&t.flags.PARSHA_HASHAVUA?od(e,l):e.memo||qf[e.basename()];const b=y||a.format(h),v="candles"==m?"<geo:lat>".concat(o.getLatitude(),"</geo:lat>\n<geo:long>").concat(o.getLongitude(),"</geo:long>\n"):"";return"<item>\n<title>".concat(c,"</title>\n<link>").concat(d,'</link>\n<guid isPermaLink="false">').concat(g,"</guid>\n<description>").concat(b,"</description>\n<category>").concat(m,"</category>\n<pubDate>").concat(u,"</pubDate>\n").concat(v,"</item>\n")}return e.appendIsraelAndTracking=id,e.countryNames=Vf,e.eventToClassicApiObject=ld,e.eventToCsv=ud,e.eventToFullCalendar=function(e,r,n){const a=td(e),o=e.getFlags();"holiday"==a[0]&&o&t.flags.CHAG&&a.push("yomtov");const i=Boolean(e.eventTime),s={title:sd(e)?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(r,e.eventTime):ed(e.getDate().greg()),allDay:!i,className:a.join(" ")},c=e.renderBrief("he");c&&(s.hebrew=t.Locale.hebrewStripNikkud(c));const h=e.url();h&&(s.url=id(h,n,"js","fc"));const u=e.getDesc();if(!("Havdalah"===u||"Candle lighting"===u)){const r=o&t.flags.PARSHA_HASHAVUA?od(e,n):e.memo||qf[e.basename()];r?s.description=r:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem=yd,e.eventToRssItem2=pd,e.eventsToClassicApi=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:rd(e,t),date:(new Date).toISOString()};return n.location=Zf(t.location),n.items=e.map((e=>ld(e,t,r))),n},e.eventsToCsv=function(e,t){return[cd].concat(e.map((e=>ud(e,t)))).join("\r\n")+"\r\n"},e.eventsToRss=function(e,r,n,a){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"en-US",i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];const s=r.getName(),c={location:r,mainUrl:n,selfUrl:a,lang:o,evPubDate:i,title:t.Locale.gettext("Shabbat")+" Times for ".concat(s),description:"Weekly Shabbat candle lighting times for ".concat(s),utmSource:"shabbat1c",utmMedium:"rss"};return md(e,c)},e.eventsToRss2=md,e.getCalendarTitle=rd,e.getDownloadFilename=function(e){let t="hebcal_"+e.year;if(e.isHebrewYear&&(t+="h"),e.month&&(t+="_"+e.month),e.location){t+="_"+$f(e.location.zip||e.location.asciiname||e.location.getShortName()).replace(/[-]/g,"_")}return t},e.getEventCategories=td,e.getHolidayDescription=nd,e.holidayDescription=qf,e.locationToPlainObj=Zf,e.makeAnchor=$f,e.makeTorahMemoText=od,e.pad2=Qf,e.pad4=Xf,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=sd,e.timeZoneOffsetStr=function(e,r){return t.Zmanim.timeZoneOffset(e,r)},e.toISOString=ed,e.toISOStringWithTimezone=function(e,r,n){const a=ed(e);return r?a+"T"+r+":00"+t.Zmanim.timeZoneOffset(n,e):a},Object.defineProperty(e,"__esModule",{value:!0}),e}({},hebcal);
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v3.
|
|
1
|
+
/*! @hebcal/rest-api v3.14.0 */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -28,6 +28,36 @@ var leyn__namespace = /*#__PURE__*/_interopNamespace(leyn);
|
|
|
28
28
|
|
|
29
29
|
var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights";var 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";var 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";var Shavuot="Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai";var Sigd="Ethiopian Jewish holiday occurring 50 days after Yom Kippur";var Sukkot="Feast of Booths";var holidayDescription = {"Asara B'Tevet":"Fast commemorating the siege of Jerusalem",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","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:Pesach,"Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:Purim,"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:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities",Sigd:Sigd,"Simchat Torah":"Day of Celebrating the Torah",Sukkot:Sukkot,"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","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. Note that Hebcal displays modern holidays like Yom HaAtzma'ut according to the Israeli schedule. 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. Note that Hebcal displays modern holidays like Yom HaZikaron according to the Israeli schedule. 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 Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};
|
|
30
30
|
|
|
31
|
+
var AD="Andorra";var AE="United Arab Emirates";var AF="Afghanistan";var AI="Anguilla";var AL="Albania";var AM="Armenia";var AO="Angola";var AR="Argentina";var AS="American Samoa";var AT="Austria";var AU="Australia";var AW="Aruba";var AZ="Azerbaijan";var BA="Bosnia and Herzegovina";var BB="Barbados";var BD="Bangladesh";var BE="Belgium";var BF="Burkina Faso";var BG="Bulgaria";var BH="Bahrain";var BI="Burundi";var BJ="Benin";var BM="Bermuda";var BN="Brunei";var BO="Bolivia";var BR="Brazil";var BS="Bahamas";var BT="Bhutan";var BW="Botswana";var BY="Belarus";var BZ="Belize";var CA="Canada";var CD="Democratic Republic of the Congo";var CF="Central African Republic";var CG="Republic of the Congo";var CH="Switzerland";var CI="Ivory Coast";var CK="Cook Islands";var CL="Chile";var CM="Cameroon";var CN="China";var CO="Colombia";var CR="Costa Rica";var CU="Cuba";var CV="Cape Verde";var CW="Curacao";var CY="Cyprus";var CZ="Czech Republic";var DE="Germany";var DK="Denmark";var DM="Dominica";var DO="Dominican Republic";var DZ="Algeria";var EC="Ecuador";var EE="Estonia";var EG="Egypt";var ER="Eritrea";var ES="Spain";var ET="Ethiopia";var FI="Finland";var FJ="Fiji";var FK="Falkland Islands";var FO="Faroe Islands";var FR="France";var GA="Gabon";var GB="United Kingdom";var GE="Georgia";var GH="Ghana";var GI="Gibraltar";var GL="Greenland";var GM="Gambia";var GN="Guinea";var GQ="Equatorial Guinea";var GR="Greece";var GT="Guatemala";var GW="Guinea-Bissau";var GY="Guyana";var HK="Hong Kong";var HN="Honduras";var HR="Croatia";var HT="Haiti";var HU="Hungary";var ID="Indonesia";var IE="Ireland";var IL="Israel";var IM="Isle of Man";var IN="India";var IQ="Iraq";var IR="Iran";var IS="Iceland";var IT="Italy";var JM="Jamaica";var JO="Jordan";var JP="Japan";var KE="Kenya";var KG="Kyrgyzstan";var KH="Cambodia";var KM="Comoros";var KN="Saint Kitts and Nevis";var KP="North Korea";var KR="South Korea";var KW="Kuwait";var KY="Cayman Islands";var KZ="Kazakhstan";var LA="Laos";var LB="Lebanon";var LC="Saint Lucia";var LI="Liechtenstein";var LR="Liberia";var LS="Lesotho";var LT="Lithuania";var LU="Luxembourg";var LV="Latvia";var LY="Libya";var MA="Morocco";var MD="Moldova";var ME="Montenegro";var MG="Madagascar";var MK="Macedonia";var ML="Mali";var MM="Myanmar";var MN="Mongolia";var MP="Northern Mariana Islands";var MR="Mauritania";var MS="Montserrat";var MT="Malta";var MU="Mauritius";var MW="Malawi";var MX="Mexico";var MY="Malaysia";var MZ="Mozambique";var NA="Namibia";var NC="New Caledonia";var NE="Niger";var NG="Nigeria";var NI="Nicaragua";var NL="Netherlands";var NO="Norway";var NP="Nepal";var NU="Niue";var NZ="New Zealand";var OM="Oman";var PA="Panama";var PE="Peru";var PF="French Polynesia";var PG="Papua New Guinea";var PH="Philippines";var PK="Pakistan";var PL="Poland";var PR="Puerto Rico";var PT="Portugal";var PY="Paraguay";var QA="Qatar";var RO="Romania";var RS="Serbia";var RU="Russia";var RW="Rwanda";var SA="Saudi Arabia";var SB="Solomon Islands";var SC="Seychelles";var SD="Sudan";var SE="Sweden";var SG="Singapore";var SH="Saint Helena";var SI="Slovenia";var SK="Slovakia";var SL="Sierra Leone";var SN="Senegal";var SO="Somalia";var SR="Suriname";var ST="Sao Tome and Principe";var SV="El Salvador";var SY="Syria";var SZ="Swaziland";var TC="Turks and Caicos Islands";var TD="Chad";var TG="Togo";var TH="Thailand";var TJ="Tajikistan";var TM="Turkmenistan";var TN="Tunisia";var TR="Turkey";var TV="Tuvalu";var TW="Taiwan";var TZ="Tanzania";var UA="Ukraine";var UG="Uganda";var US="United States";var UY="Uruguay";var UZ="Uzbekistan";var VC="Saint Vincent and the Grenadines";var VE="Venezuela";var VG="British Virgin Islands";var VN="Vietnam";var WS="Samoa";var YE="Yemen";var YT="Mayotte";var ZA="South Africa";var ZM="Zambia";var ZW="Zimbabwe";var countryNames = {AD:AD,AE:AE,AF:AF,AI:AI,AL:AL,AM:AM,AO:AO,AR:AR,AS:AS,AT:AT,AU:AU,AW:AW,AZ:AZ,BA:BA,BB:BB,BD:BD,BE:BE,BF:BF,BG:BG,BH:BH,BI:BI,BJ:BJ,BM:BM,BN:BN,BO:BO,BR:BR,BS:BS,BT:BT,BW:BW,BY:BY,BZ:BZ,CA:CA,CD:CD,CF:CF,CG:CG,CH:CH,CI:CI,CK:CK,CL:CL,CM:CM,CN:CN,CO:CO,CR:CR,CU:CU,CV:CV,CW:CW,CY:CY,CZ:CZ,DE:DE,DK:DK,DM:DM,DO:DO,DZ:DZ,EC:EC,EE:EE,EG:EG,ER:ER,ES:ES,ET:ET,FI:FI,FJ:FJ,FK:FK,FO:FO,FR:FR,GA:GA,GB:GB,GE:GE,GH:GH,GI:GI,GL:GL,GM:GM,GN:GN,GQ:GQ,GR:GR,GT:GT,GW:GW,GY:GY,HK:HK,HN:HN,HR:HR,HT:HT,HU:HU,ID:ID,IE:IE,IL:IL,IM:IM,IN:IN,IQ:IQ,IR:IR,IS:IS,IT:IT,JM:JM,JO:JO,JP:JP,KE:KE,KG:KG,KH:KH,KM:KM,KN:KN,KP:KP,KR:KR,KW:KW,KY:KY,KZ:KZ,LA:LA,LB:LB,LC:LC,LI:LI,LR:LR,LS:LS,LT:LT,LU:LU,LV:LV,LY:LY,MA:MA,MD:MD,ME:ME,MG:MG,MK:MK,ML:ML,MM:MM,MN:MN,MP:MP,MR:MR,MS:MS,MT:MT,MU:MU,MW:MW,MX:MX,MY:MY,MZ:MZ,NA:NA,NC:NC,NE:NE,NG:NG,NI:NI,NL:NL,NO:NO,NP:NP,NU:NU,NZ:NZ,OM:OM,PA:PA,PE:PE,PF:PF,PG:PG,PH:PH,PK:PK,PL:PL,PR:PR,PT:PT,PY:PY,QA:QA,RO:RO,RS:RS,RU:RU,RW:RW,SA:SA,SB:SB,SC:SC,SD:SD,SE:SE,SG:SG,SH:SH,SI:SI,SK:SK,SL:SL,SN:SN,SO:SO,SR:SR,ST:ST,SV:SV,SY:SY,SZ:SZ,TC:TC,TD:TD,TG:TG,TH:TH,TJ:TJ,TM:TM,TN:TN,TR:TR,TV:TV,TW:TW,TZ:TZ,UA:UA,UG:UG,US:US,UY:UY,UZ:UZ,VC:VC,VE:VE,VG:VG,VN:VN,WS:WS,YE:YE,YT:YT,ZA:ZA,ZM:ZM,ZW:ZW};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @param {Location} location
|
|
35
|
+
* @return {string}
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
function locationToPlainObj(location) {
|
|
39
|
+
if (typeof location === 'object' && location !== null && typeof location.name === 'string') {
|
|
40
|
+
const o = {
|
|
41
|
+
title: location.getName(),
|
|
42
|
+
city: location.getShortName(),
|
|
43
|
+
tzid: location.getTzid(),
|
|
44
|
+
latitude: location.getLatitude(),
|
|
45
|
+
longitude: location.getLongitude(),
|
|
46
|
+
cc: location.getCountryCode(),
|
|
47
|
+
country: countryNames[location.getCountryCode()]
|
|
48
|
+
};
|
|
49
|
+
['admin1', 'asciiname', 'geo', 'zip', 'state', 'stateName', 'geonameid'].forEach(k => {
|
|
50
|
+
if (location[k]) {
|
|
51
|
+
o[k] = location[k];
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
return o;
|
|
55
|
+
} else {
|
|
56
|
+
return {
|
|
57
|
+
geo: 'none'
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
}
|
|
31
61
|
/**
|
|
32
62
|
* Helper function to transform a string to make it more usable in a URL or filename.
|
|
33
63
|
* Converts to lowercase and replaces non-word characters with hyphen ('-').
|
|
@@ -41,7 +71,7 @@ function makeAnchor(s) {
|
|
|
41
71
|
return s.toLowerCase().replace(/'/g, '').replace(/[^\w]/g, '-').replace(/-+/g, '-').replace(/^-/g, '').replace(/-$/g, '');
|
|
42
72
|
}
|
|
43
73
|
/**
|
|
44
|
-
* @param {
|
|
74
|
+
* @param {CalOptions} options
|
|
45
75
|
* @return {string}
|
|
46
76
|
*/
|
|
47
77
|
|
|
@@ -227,7 +257,7 @@ function renderTitleWithoutTime(ev) {
|
|
|
227
257
|
/**
|
|
228
258
|
* Generates a title like "Hebcal 2020 Israel" or "Hebcal May 1993 Providence"
|
|
229
259
|
* @param {Event[]} events
|
|
230
|
-
* @param {
|
|
260
|
+
* @param {CalOptions} options
|
|
231
261
|
* @return {string}
|
|
232
262
|
*/
|
|
233
263
|
|
|
@@ -439,7 +469,7 @@ const CATEGORY = {
|
|
|
439
469
|
/**
|
|
440
470
|
* Renders an Event as a string
|
|
441
471
|
* @param {Event} e
|
|
442
|
-
* @param {
|
|
472
|
+
* @param {CalOptions} options
|
|
443
473
|
* @return {string}
|
|
444
474
|
*/
|
|
445
475
|
|
|
@@ -515,12 +545,10 @@ function eventsToCsv(events, options) {
|
|
|
515
545
|
return [csvHeader].concat(events.map(e => eventToCsv(e, options))).join('\r\n') + '\r\n';
|
|
516
546
|
}
|
|
517
547
|
|
|
518
|
-
var AD="Andorra";var AE="United Arab Emirates";var AF="Afghanistan";var AI="Anguilla";var AL="Albania";var AM="Armenia";var AO="Angola";var AR="Argentina";var AS="American Samoa";var AT="Austria";var AU="Australia";var AW="Aruba";var AZ="Azerbaijan";var BA="Bosnia and Herzegovina";var BB="Barbados";var BD="Bangladesh";var BE="Belgium";var BF="Burkina Faso";var BG="Bulgaria";var BH="Bahrain";var BI="Burundi";var BJ="Benin";var BM="Bermuda";var BN="Brunei";var BO="Bolivia";var BR="Brazil";var BS="Bahamas";var BT="Bhutan";var BW="Botswana";var BY="Belarus";var BZ="Belize";var CA="Canada";var CD="Democratic Republic of the Congo";var CF="Central African Republic";var CG="Republic of the Congo";var CH="Switzerland";var CI="Ivory Coast";var CK="Cook Islands";var CL="Chile";var CM="Cameroon";var CN="China";var CO="Colombia";var CR="Costa Rica";var CU="Cuba";var CV="Cape Verde";var CW="Curacao";var CY="Cyprus";var CZ="Czech Republic";var DE="Germany";var DK="Denmark";var DM="Dominica";var DO="Dominican Republic";var DZ="Algeria";var EC="Ecuador";var EE="Estonia";var EG="Egypt";var ER="Eritrea";var ES="Spain";var ET="Ethiopia";var FI="Finland";var FJ="Fiji";var FK="Falkland Islands";var FO="Faroe Islands";var FR="France";var GA="Gabon";var GB="United Kingdom";var GE="Georgia";var GH="Ghana";var GI="Gibraltar";var GL="Greenland";var GM="Gambia";var GN="Guinea";var GQ="Equatorial Guinea";var GR="Greece";var GT="Guatemala";var GW="Guinea-Bissau";var GY="Guyana";var HK="Hong Kong";var HN="Honduras";var HR="Croatia";var HT="Haiti";var HU="Hungary";var ID="Indonesia";var IE="Ireland";var IL="Israel";var IM="Isle of Man";var IN="India";var IQ="Iraq";var IR="Iran";var IS="Iceland";var IT="Italy";var JM="Jamaica";var JO="Jordan";var JP="Japan";var KE="Kenya";var KG="Kyrgyzstan";var KH="Cambodia";var KM="Comoros";var KN="Saint Kitts and Nevis";var KP="North Korea";var KR="South Korea";var KW="Kuwait";var KY="Cayman Islands";var KZ="Kazakhstan";var LA="Laos";var LB="Lebanon";var LC="Saint Lucia";var LI="Liechtenstein";var LR="Liberia";var LS="Lesotho";var LT="Lithuania";var LU="Luxembourg";var LV="Latvia";var LY="Libya";var MA="Morocco";var MD="Moldova";var ME="Montenegro";var MG="Madagascar";var MK="Macedonia";var ML="Mali";var MM="Myanmar";var MN="Mongolia";var MP="Northern Mariana Islands";var MR="Mauritania";var MS="Montserrat";var MT="Malta";var MU="Mauritius";var MW="Malawi";var MX="Mexico";var MY="Malaysia";var MZ="Mozambique";var NA="Namibia";var NC="New Caledonia";var NE="Niger";var NG="Nigeria";var NI="Nicaragua";var NL="Netherlands";var NO="Norway";var NP="Nepal";var NU="Niue";var NZ="New Zealand";var OM="Oman";var PA="Panama";var PE="Peru";var PF="French Polynesia";var PG="Papua New Guinea";var PH="Philippines";var PK="Pakistan";var PL="Poland";var PR="Puerto Rico";var PT="Portugal";var PY="Paraguay";var QA="Qatar";var RO="Romania";var RS="Serbia";var RU="Russia";var RW="Rwanda";var SA="Saudi Arabia";var SB="Solomon Islands";var SC="Seychelles";var SD="Sudan";var SE="Sweden";var SG="Singapore";var SH="Saint Helena";var SI="Slovenia";var SK="Slovakia";var SL="Sierra Leone";var SN="Senegal";var SO="Somalia";var SR="Suriname";var ST="Sao Tome and Principe";var SV="El Salvador";var SY="Syria";var SZ="Swaziland";var TC="Turks and Caicos Islands";var TD="Chad";var TG="Togo";var TH="Thailand";var TJ="Tajikistan";var TM="Turkmenistan";var TN="Tunisia";var TR="Turkey";var TV="Tuvalu";var TW="Taiwan";var TZ="Tanzania";var UA="Ukraine";var UG="Uganda";var US="United States";var UY="Uruguay";var UZ="Uzbekistan";var VC="Saint Vincent and the Grenadines";var VE="Venezuela";var VG="British Virgin Islands";var VN="Vietnam";var WS="Samoa";var YE="Yemen";var YT="Mayotte";var ZA="South Africa";var ZM="Zambia";var ZW="Zimbabwe";var countryNames = {AD:AD,AE:AE,AF:AF,AI:AI,AL:AL,AM:AM,AO:AO,AR:AR,AS:AS,AT:AT,AU:AU,AW:AW,AZ:AZ,BA:BA,BB:BB,BD:BD,BE:BE,BF:BF,BG:BG,BH:BH,BI:BI,BJ:BJ,BM:BM,BN:BN,BO:BO,BR:BR,BS:BS,BT:BT,BW:BW,BY:BY,BZ:BZ,CA:CA,CD:CD,CF:CF,CG:CG,CH:CH,CI:CI,CK:CK,CL:CL,CM:CM,CN:CN,CO:CO,CR:CR,CU:CU,CV:CV,CW:CW,CY:CY,CZ:CZ,DE:DE,DK:DK,DM:DM,DO:DO,DZ:DZ,EC:EC,EE:EE,EG:EG,ER:ER,ES:ES,ET:ET,FI:FI,FJ:FJ,FK:FK,FO:FO,FR:FR,GA:GA,GB:GB,GE:GE,GH:GH,GI:GI,GL:GL,GM:GM,GN:GN,GQ:GQ,GR:GR,GT:GT,GW:GW,GY:GY,HK:HK,HN:HN,HR:HR,HT:HT,HU:HU,ID:ID,IE:IE,IL:IL,IM:IM,IN:IN,IQ:IQ,IR:IR,IS:IS,IT:IT,JM:JM,JO:JO,JP:JP,KE:KE,KG:KG,KH:KH,KM:KM,KN:KN,KP:KP,KR:KR,KW:KW,KY:KY,KZ:KZ,LA:LA,LB:LB,LC:LC,LI:LI,LR:LR,LS:LS,LT:LT,LU:LU,LV:LV,LY:LY,MA:MA,MD:MD,ME:ME,MG:MG,MK:MK,ML:ML,MM:MM,MN:MN,MP:MP,MR:MR,MS:MS,MT:MT,MU:MU,MW:MW,MX:MX,MY:MY,MZ:MZ,NA:NA,NC:NC,NE:NE,NG:NG,NI:NI,NL:NL,NO:NO,NP:NP,NU:NU,NZ:NZ,OM:OM,PA:PA,PE:PE,PF:PF,PG:PG,PH:PH,PK:PK,PL:PL,PR:PR,PT:PT,PY:PY,QA:QA,RO:RO,RS:RS,RU:RU,RW:RW,SA:SA,SB:SB,SC:SC,SD:SD,SE:SE,SG:SG,SH:SH,SI:SI,SK:SK,SL:SL,SN:SN,SO:SO,SR:SR,ST:ST,SV:SV,SY:SY,SZ:SZ,TC:TC,TD:TD,TG:TG,TH:TH,TJ:TJ,TM:TM,TN:TN,TR:TR,TV:TV,TW:TW,TZ:TZ,UA:UA,UG:UG,US:US,UY:UY,UZ:UZ,VC:VC,VE:VE,VG:VG,VN:VN,WS:WS,YE:YE,YT:YT,ZA:ZA,ZM:ZM,ZW:ZW};
|
|
519
|
-
|
|
520
548
|
/**
|
|
521
549
|
* Formats a list events for the classic Hebcal.com JSON API response
|
|
522
550
|
* @param {Event[]} events
|
|
523
|
-
* @param {
|
|
551
|
+
* @param {CalOptions} options
|
|
524
552
|
* @param {boolean} [leyning=true]
|
|
525
553
|
* @return {Object}
|
|
526
554
|
*/
|
|
@@ -530,36 +558,14 @@ function eventsToClassicApi(events, options, leyning = true) {
|
|
|
530
558
|
title: getCalendarTitle(events, options),
|
|
531
559
|
date: new Date().toISOString()
|
|
532
560
|
};
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
if (typeof location === 'object' && typeof location.name === 'string') {
|
|
536
|
-
result.location = {
|
|
537
|
-
title: location.getName(),
|
|
538
|
-
city: location.getShortName(),
|
|
539
|
-
tzid: location.getTzid(),
|
|
540
|
-
latitude: location.getLatitude(),
|
|
541
|
-
longitude: location.getLongitude(),
|
|
542
|
-
cc: location.getCountryCode(),
|
|
543
|
-
country: countryNames[location.getCountryCode()]
|
|
544
|
-
};
|
|
545
|
-
['admin1', 'asciiname', 'geo', 'zip', 'state', 'stateName', 'geonameid'].forEach(k => {
|
|
546
|
-
if (location[k]) {
|
|
547
|
-
result.location[k] = location[k];
|
|
548
|
-
}
|
|
549
|
-
});
|
|
550
|
-
} else {
|
|
551
|
-
result.location = {
|
|
552
|
-
geo: 'none'
|
|
553
|
-
};
|
|
554
|
-
}
|
|
555
|
-
|
|
561
|
+
result.location = locationToPlainObj(options.location);
|
|
556
562
|
result.items = events.map(ev => eventToClassicApiObject(ev, options, leyning));
|
|
557
563
|
return result;
|
|
558
564
|
}
|
|
559
565
|
/**
|
|
560
566
|
* Converts a Hebcal event to a classic Hebcal.com JSON API object
|
|
561
567
|
* @param {Event} ev
|
|
562
|
-
* @param {
|
|
568
|
+
* @param {CalOptions} options
|
|
563
569
|
* @param {boolean} [leyning=true]
|
|
564
570
|
* @return {Object}
|
|
565
571
|
*/
|
|
@@ -773,7 +779,7 @@ const localeToLg = {
|
|
|
773
779
|
};
|
|
774
780
|
/**
|
|
775
781
|
* @param {Event[]} events
|
|
776
|
-
* @param {
|
|
782
|
+
* @param {CalOptions} options
|
|
777
783
|
* @return {string}
|
|
778
784
|
*/
|
|
779
785
|
|
|
@@ -837,7 +843,7 @@ function getPubDate(ev, evPubDate, evDate, lastBuildDate) {
|
|
|
837
843
|
}
|
|
838
844
|
/**
|
|
839
845
|
* @param {Event} ev
|
|
840
|
-
* @param {
|
|
846
|
+
* @param {CalOptions} options
|
|
841
847
|
* @return {string}
|
|
842
848
|
*/
|
|
843
849
|
|
|
@@ -852,7 +858,7 @@ function eventToRssItem2(ev, options) {
|
|
|
852
858
|
* @param {Intl.DateTimeFormat} dayFormat
|
|
853
859
|
* @param {Location} location
|
|
854
860
|
* @param {string} mainUrl
|
|
855
|
-
* @param {
|
|
861
|
+
* @param {CalOptions} [options]
|
|
856
862
|
* @return {string}
|
|
857
863
|
*/
|
|
858
864
|
|
|
@@ -971,6 +977,7 @@ exports.getDownloadFilename = getDownloadFilename;
|
|
|
971
977
|
exports.getEventCategories = getEventCategories;
|
|
972
978
|
exports.getHolidayDescription = getHolidayDescription;
|
|
973
979
|
exports.holidayDescription = holidayDescription;
|
|
980
|
+
exports.locationToPlainObj = locationToPlainObj;
|
|
974
981
|
exports.makeAnchor = makeAnchor;
|
|
975
982
|
exports.makeTorahMemoText = makeTorahMemoText;
|
|
976
983
|
exports.pad2 = pad2;
|