@hebcal/rest-api 4.2.0 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +49 -64
- package/dist/bundle.min.js +2 -2
- package/dist/fullcalendar.js +13 -50
- package/dist/fullcalendar.min.js +2 -2
- package/dist/index.js +13 -50
- package/dist/index.mjs +13 -50
- package/package.json +8 -8
package/dist/bundle.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.
|
|
2
|
-
var hebcal__rest_api=function(e,t,r,n){"use strict";var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=function(e){return e&&e.Math==Math&&e},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof a&&a)||function(){return this}()||Function("return this")(),s={},h=function(e){try{return!!e()}catch(e){return!0}},c=!h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),u=!h((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),l=u,f=Function.prototype.call,d=l?f.bind(f):function(){return f.apply(f,arguments)},g={},m={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y=p&&!m.call({1:2},1);g.f=y?function(e){var t=p(this,e);return!!t&&t.enumerable}:m;var b,v,S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=u,A=Function.prototype,R=A.bind,H=A.call,T=w&&R.bind(H,H),C=w?function(e){return e&&T(e)}:function(e){return e&&function(){return H.apply(e,arguments)}},P=C,I=P({}.toString),O=P("".slice),E=function(e){return O(I(e),8,-1)},L=h,k=E,M=Object,B=C("".split),D=L((function(){return!M("z").propertyIsEnumerable(0)}))?function(e){return"String"==k(e)?B(e,""):M(e)}:M,F=function(e){return null==e},U=F,x=TypeError,j=function(e){if(U(e))throw x("Can't call method on "+e);return e},N=D,_=j,G=function(e){return N(_(e))},Y=function(e){return"function"==typeof e},z=Y,K="object"==typeof document&&document.all,W=void 0===K&&void 0!==K?function(e){return"object"==typeof e?null!==e:z(e)||e===K}:function(e){return"object"==typeof e?null!==e:z(e)},J=i,q=Y,V=function(e){return q(e)?e:void 0},Z=function(e,t){return arguments.length<2?V(J[e]):J[e]&&J[e][t]},$=C({}.isPrototypeOf),Q=i,X=Z("navigator","userAgent")||"",ee=Q.process,te=Q.Deno,re=ee&&ee.versions||te&&te.version,ne=re&&re.v8;ne&&(v=(b=ne.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!v&&X&&(!(b=X.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=X.match(/Chrome\/(\d+)/))&&(v=+b[1]);var ae=v,oe=h,ie=!!Object.getOwnPropertySymbols&&!oe((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ae&&ae<41})),se=ie&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,he=Z,ce=Y,ue=$,le=Object,fe=se?function(e){return"symbol"==typeof e}:function(e){var t=he("Symbol");return ce(t)&&ue(t.prototype,le(e))},de=String,ge=function(e){try{return de(e)}catch(e){return"Object"}},me=Y,pe=ge,ye=TypeError,be=function(e){if(me(e))return e;throw ye(pe(e)+" is not a function")},ve=be,Se=F,we=function(e,t){var r=e[t];return Se(r)?void 0:ve(r)},Ae=d,Re=Y,He=W,Te=TypeError,Ce={exports:{}},Pe=i,Ie=Object.defineProperty,Oe=function(e,t){try{Ie(Pe,e,{value:t,configurable:!0,writable:!0})}catch(r){Pe[e]=t}return t},Ee=Oe,Le="__core-js_shared__",ke=i[Le]||Ee(Le,{}),Me=ke;(Ce.exports=function(e,t){return Me[e]||(Me[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.25.0",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Be=j,De=Object,Fe=function(e){return De(Be(e))},Ue=Fe,xe=C({}.hasOwnProperty),je=Object.hasOwn||function(e,t){return xe(Ue(e),t)},Ne=C,_e=0,Ge=Math.random(),Ye=Ne(1..toString),ze=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ye(++_e+Ge,36)},Ke=i,We=Ce.exports,Je=je,qe=ze,Ve=ie,Ze=se,$e=We("wks"),Qe=Ke.Symbol,Xe=Qe&&Qe.for,et=Ze?Qe:Qe&&Qe.withoutSetter||qe,tt=function(e){if(!Je($e,e)||!Ve&&"string"!=typeof $e[e]){var t="Symbol."+e;Ve&&Je(Qe,e)?$e[e]=Qe[e]:$e[e]=Ze&&Xe?Xe(t):et(t)}return $e[e]},rt=d,nt=W,at=fe,ot=we,it=function(e,t){var r,n;if("string"===t&&Re(r=e.toString)&&!He(n=Ae(r,e)))return n;if(Re(r=e.valueOf)&&!He(n=Ae(r,e)))return n;if("string"!==t&&Re(r=e.toString)&&!He(n=Ae(r,e)))return n;throw Te("Can't convert object to primitive value")},st=TypeError,ht=tt("toPrimitive"),ct=function(e,t){if(!nt(e)||at(e))return e;var r,n=ot(e,ht);if(n){if(void 0===t&&(t="default"),r=rt(n,e,t),!nt(r)||at(r))return r;throw st("Can't convert object to primitive value")}return void 0===t&&(t="number"),it(e,t)},ut=fe,lt=function(e){var t=ct(e,"string");return ut(t)?t:t+""},ft=W,dt=i.document,gt=ft(dt)&&ft(dt.createElement),mt=function(e){return gt?dt.createElement(e):{}},pt=mt,yt=!c&&!h((function(){return 7!=Object.defineProperty(pt("div"),"a",{get:function(){return 7}}).a})),bt=c,vt=d,St=g,wt=S,At=G,Rt=lt,Ht=je,Tt=yt,Ct=Object.getOwnPropertyDescriptor;s.f=bt?Ct:function(e,t){if(e=At(e),t=Rt(t),Tt)try{return Ct(e,t)}catch(e){}if(Ht(e,t))return wt(!vt(St.f,e,t),e[t])};var Pt={},It=c&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ot=W,Et=String,Lt=TypeError,kt=function(e){if(Ot(e))return e;throw Lt(Et(e)+" is not an object")},Mt=c,Bt=yt,Dt=It,Ft=kt,Ut=lt,xt=TypeError,jt=Object.defineProperty,Nt=Object.getOwnPropertyDescriptor,_t="enumerable",Gt="configurable",Yt="writable";Pt.f=Mt?Dt?function(e,t,r){if(Ft(e),t=Ut(t),Ft(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Yt in r&&!r.writable){var n=Nt(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:Gt in r?r.configurable:n.configurable,enumerable:_t in r?r.enumerable:n.enumerable,writable:!1})}return jt(e,t,r)}:jt:function(e,t,r){if(Ft(e),t=Ut(t),Ft(r),Bt)try{return jt(e,t,r)}catch(e){}if("get"in r||"set"in r)throw xt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var zt=Pt,Kt=S,Wt=c?function(e,t,r){return zt.f(e,t,Kt(1,r))}:function(e,t,r){return e[t]=r,e},Jt={exports:{}},qt=c,Vt=je,Zt=Function.prototype,$t=qt&&Object.getOwnPropertyDescriptor,Qt=Vt(Zt,"name"),Xt={EXISTS:Qt,PROPER:Qt&&"something"===function(){}.name,CONFIGURABLE:Qt&&(!qt||qt&&$t(Zt,"name").configurable)},er=Y,tr=ke,rr=C(Function.toString);er(tr.inspectSource)||(tr.inspectSource=function(e){return rr(e)});var nr,ar,or,ir=tr.inspectSource,sr=Y,hr=i.WeakMap,cr=sr(hr)&&/native code/.test(String(hr)),ur=Ce.exports,lr=ze,fr=ur("keys"),dr=function(e){return fr[e]||(fr[e]=lr(e))},gr={},mr=cr,pr=i,yr=C,br=W,vr=Wt,Sr=je,wr=ke,Ar=dr,Rr=gr,Hr="Object already initialized",Tr=pr.TypeError,Cr=pr.WeakMap;if(mr||wr.state){var Pr=wr.state||(wr.state=new Cr),Ir=yr(Pr.get),Or=yr(Pr.has),Er=yr(Pr.set);nr=function(e,t){if(Or(Pr,e))throw Tr(Hr);return t.facade=e,Er(Pr,e,t),t},ar=function(e){return Ir(Pr,e)||{}},or=function(e){return Or(Pr,e)}}else{var Lr=Ar("state");Rr[Lr]=!0,nr=function(e,t){if(Sr(e,Lr))throw Tr(Hr);return t.facade=e,vr(e,Lr,t),t},ar=function(e){return Sr(e,Lr)?e[Lr]:{}},or=function(e){return Sr(e,Lr)}}var kr={set:nr,get:ar,has:or,enforce:function(e){return or(e)?ar(e):nr(e,{})},getterFor:function(e){return function(t){var r;if(!br(t)||(r=ar(t)).type!==e)throw Tr("Incompatible receiver, "+e+" required");return r}}},Mr=h,Br=Y,Dr=je,Fr=c,Ur=Xt.CONFIGURABLE,xr=ir,jr=kr.enforce,Nr=kr.get,_r=Object.defineProperty,Gr=Fr&&!Mr((function(){return 8!==_r((function(){}),"length",{value:8}).length})),Yr=String(String).split("String"),zr=Jt.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),(!Dr(e,"name")||Ur&&e.name!==t)&&(Fr?_r(e,"name",{value:t,configurable:!0}):e.name=t),Gr&&r&&Dr(r,"arity")&&e.length!==r.arity&&_r(e,"length",{value:r.arity});try{r&&Dr(r,"constructor")&&r.constructor?Fr&&_r(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=jr(e);return Dr(n,"source")||(n.source=Yr.join("string"==typeof t?t:"")),e};Function.prototype.toString=zr((function(){return Br(this)&&Nr(this).source||xr(this)}),"toString");var Kr=Y,Wr=Pt,Jr=Jt.exports,qr=Oe,Vr=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Kr(r)&&Jr(r,o,n),n.global)a?e[t]=r:qr(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:Wr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Zr={},$r=Math.ceil,Qr=Math.floor,Xr=Math.trunc||function(e){var t=+e;return(t>0?Qr:$r)(t)},en=function(e){var t=+e;return t!=t||0===t?0:Xr(t)},tn=en,rn=Math.max,nn=Math.min,an=function(e,t){var r=tn(e);return r<0?rn(r+t,0):nn(r,t)},on=en,sn=Math.min,hn=function(e){return e>0?sn(on(e),9007199254740991):0},cn=hn,un=function(e){return cn(e.length)},ln=G,fn=an,dn=un,gn=function(e){return function(t,r,n){var a,o=ln(t),i=dn(o),s=fn(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}},mn={includes:gn(!0),indexOf:gn(!1)},pn=je,yn=G,bn=mn.indexOf,vn=gr,Sn=C([].push),wn=function(e,t){var r,n=yn(e),a=0,o=[];for(r in n)!pn(vn,r)&&pn(n,r)&&Sn(o,r);for(;t.length>a;)pn(n,r=t[a++])&&(~bn(o,r)||Sn(o,r));return o},An=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Rn=wn,Hn=An.concat("length","prototype");Zr.f=Object.getOwnPropertyNames||function(e){return Rn(e,Hn)};var Tn={};Tn.f=Object.getOwnPropertySymbols;var Cn=Z,Pn=Zr,In=Tn,On=kt,En=C([].concat),Ln=Cn("Reflect","ownKeys")||function(e){var t=Pn.f(On(e)),r=In.f;return r?En(t,r(e)):t},kn=je,Mn=Ln,Bn=s,Dn=Pt,Fn=h,Un=Y,xn=/#|\.prototype\./,jn=function(e,t){var r=_n[Nn(e)];return r==Yn||r!=Gn&&(Un(t)?Fn(t):!!t)},Nn=jn.normalize=function(e){return String(e).replace(xn,".").toLowerCase()},_n=jn.data={},Gn=jn.NATIVE="N",Yn=jn.POLYFILL="P",zn=jn,Kn=i,Wn=s.f,Jn=Wt,qn=Vr,Vn=Oe,Zn=function(e,t,r){for(var n=Mn(t),a=Dn.f,o=Bn.f,i=0;i<n.length;i++){var s=n[i];kn(e,s)||r&&kn(r,s)||a(e,s,o(t,s))}},$n=zn,Qn=function(e,t){var r,n,a,o,i,s=e.target,h=e.global,c=e.stat;if(r=h?Kn:c?Kn[s]||Vn(s,{}):(Kn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=Wn(r,n))&&i.value:r[n],!$n(h?n:s+(c?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Zn(o,a)}(e.sham||a&&a.sham)&&Jn(o,"sham",!0),qn(r,n,o,e)}},Xn={};Xn[tt("toStringTag")]="z";var ea="[object z]"===String(Xn),ta=Y,ra=E,na=tt("toStringTag"),aa=Object,oa="Arguments"==ra(function(){return arguments}()),ia=ea?ra: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=aa(e),na))?r:oa?ra(t):"Object"==(n=ra(t))&&ta(t.callee)?"Arguments":n},sa=ia,ha=String,ca=function(e){if("Symbol"===sa(e))throw TypeError("Cannot convert a Symbol value to a string");return ha(e)},ua=kt,la=function(){var e=ua(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},fa=h,da=i.RegExp,ga=fa((function(){var e=da("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),ma=ga||fa((function(){return!da("a","y").sticky})),pa={BROKEN_CARET:ga||fa((function(){var e=da("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:ma,UNSUPPORTED_Y:ga},ya={},ba=wn,va=An,Sa=Object.keys||function(e){return ba(e,va)},wa=c,Aa=It,Ra=Pt,Ha=kt,Ta=G,Ca=Sa;ya.f=wa&&!Aa?Object.defineProperties:function(e,t){Ha(e);for(var r,n=Ta(t),a=Ca(t),o=a.length,i=0;o>i;)Ra.f(e,r=a[i++],n[r]);return e};var Pa,Ia=Z("document","documentElement"),Oa=kt,Ea=ya,La=An,ka=gr,Ma=Ia,Ba=mt,Da=dr("IE_PROTO"),Fa=function(){},Ua=function(e){return"<script>"+e+"</"+"script>"},xa=function(e){e.write(Ua("")),e.close();var t=e.parentWindow.Object;return e=null,t},ja=function(){try{Pa=new ActiveXObject("htmlfile")}catch(e){}var e,t;ja="undefined"!=typeof document?document.domain&&Pa?xa(Pa):((t=Ba("iframe")).style.display="none",Ma.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Ua("document.F=Object")),e.close(),e.F):xa(Pa);for(var r=La.length;r--;)delete ja.prototype[La[r]];return ja()};ka[Da]=!0;var Na,_a,Ga=Object.create||function(e,t){var r;return null!==e?(Fa.prototype=Oa(e),r=new Fa,Fa.prototype=null,r[Da]=e):r=ja(),void 0===t?r:Ea.f(r,t)},Ya=h,za=i.RegExp,Ka=Ya((function(){var e=za(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Wa=h,Ja=i.RegExp,qa=Wa((function(){var e=Ja("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Va=d,Za=C,$a=ca,Qa=la,Xa=pa,eo=Ce.exports,to=Ga,ro=kr.get,no=Ka,ao=qa,oo=eo("native-string-replace",String.prototype.replace),io=RegExp.prototype.exec,so=io,ho=Za("".charAt),co=Za("".indexOf),uo=Za("".replace),lo=Za("".slice),fo=(_a=/b*/g,Va(io,Na=/a/,"a"),Va(io,_a,"a"),0!==Na.lastIndex||0!==_a.lastIndex),go=Xa.BROKEN_CARET,mo=void 0!==/()??/.exec("")[1];(fo||mo||go||no||ao)&&(so=function(e){var t,r,n,a,o,i,s,h=this,c=ro(h),u=$a(e),l=c.raw;if(l)return l.lastIndex=h.lastIndex,t=Va(so,l,u),h.lastIndex=l.lastIndex,t;var f=c.groups,d=go&&h.sticky,g=Va(Qa,h),m=h.source,p=0,y=u;if(d&&(g=uo(g,"y",""),-1===co(g,"g")&&(g+="g"),y=lo(u,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==ho(u,h.lastIndex-1))&&(m="(?: "+m+")",y=" "+y,p++),r=new RegExp("^(?:"+m+")",g)),mo&&(r=new RegExp("^"+m+"$(?!\\s)",g)),fo&&(n=h.lastIndex),a=Va(io,d?r:h,y),d?a?(a.input=lo(a.input,p),a[0]=lo(a[0],p),a.index=h.lastIndex,h.lastIndex+=a[0].length):h.lastIndex=0:fo&&a&&(h.lastIndex=h.global?a.index+a[0].length:n),mo&&a&&a.length>1&&Va(oo,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=to(null),o=0;o<f.length;o++)i[(s=f[o])[0]]=a[s[1]];return a});Qn({target:"RegExp",proto:!0,forced:/./.exec!==so},{exec:so});var po=mt("span").classList,yo=po&&po.constructor&&po.constructor.prototype,bo=yo===Object.prototype?void 0:yo,vo=tt,So=Ga,wo=Pt.f,Ao=vo("unscopables"),Ro=Array.prototype;null==Ro[Ao]&&wo(Ro,Ao,{configurable:!0,value:So(null)});var Ho,To,Co,Po={},Io=!h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Oo=je,Eo=Y,Lo=Fe,ko=Io,Mo=dr("IE_PROTO"),Bo=Object,Do=Bo.prototype,Fo=ko?Bo.getPrototypeOf:function(e){var t=Lo(e);if(Oo(t,Mo))return t[Mo];var r=t.constructor;return Eo(r)&&t instanceof r?r.prototype:t instanceof Bo?Do:null},Uo=h,xo=Y,jo=W,No=Fo,_o=Vr,Go=tt("iterator"),Yo=!1;[].keys&&("next"in(Co=[].keys())?(To=No(No(Co)))!==Object.prototype&&(Ho=To):Yo=!0);var zo=!jo(Ho)||Uo((function(){var e={};return Ho[Go].call(e)!==e}));zo&&(Ho={}),xo(Ho[Go])||_o(Ho,Go,(function(){return this}));var Ko={IteratorPrototype:Ho,BUGGY_SAFARI_ITERATORS:Yo},Wo=Pt.f,Jo=je,qo=tt("toStringTag"),Vo=function(e,t,r){e&&!r&&(e=e.prototype),e&&!Jo(e,qo)&&Wo(e,qo,{configurable:!0,value:t})},Zo=Ko.IteratorPrototype,$o=Ga,Qo=S,Xo=Vo,ei=Po,ti=function(){return this},ri=function(e,t,r,n){var a=t+" Iterator";return e.prototype=$o(Zo,{next:Qo(+!n,r)}),Xo(e,a,!1),ei[a]=ti,e},ni=Y,ai=String,oi=TypeError,ii=C,si=kt,hi=function(e){if("object"==typeof e||ni(e))return e;throw oi("Can't set "+ai(e)+" as a prototype")},ci=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=ii(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return si(r),hi(n),t?e(r,n):r.__proto__=n,r}}():void 0),ui=Qn,li=d,fi=Y,di=ri,gi=Fo,mi=ci,pi=Vo,yi=Wt,bi=Vr,vi=Po,Si=Xt.PROPER,wi=Xt.CONFIGURABLE,Ai=Ko.IteratorPrototype,Ri=Ko.BUGGY_SAFARI_ITERATORS,Hi=tt("iterator"),Ti="keys",Ci="values",Pi="entries",Ii=function(){return this},Oi=function(e,t,r,n,a,o,i){di(r,t,n);var s,h,c,u=function(e){if(e===a&&m)return m;if(!Ri&&e in d)return d[e];switch(e){case Ti:case Ci:case Pi:return function(){return new r(this,e)}}return function(){return new r(this)}},l=t+" Iterator",f=!1,d=e.prototype,g=d[Hi]||d["@@iterator"]||a&&d[a],m=!Ri&&g||u(a),p="Array"==t&&d.entries||g;if(p&&(s=gi(p.call(new e)))!==Object.prototype&&s.next&&(gi(s)!==Ai&&(mi?mi(s,Ai):fi(s[Hi])||bi(s,Hi,Ii)),pi(s,l,!0)),Si&&a==Ci&&g&&g.name!==Ci&&(wi?yi(d,"name",Ci):(f=!0,m=function(){return li(g,this)})),a)if(h={values:u(Ci),keys:o?m:u(Ti),entries:u(Pi)},i)for(c in h)(Ri||f||!(c in d))&&bi(d,c,h[c]);else ui({target:t,proto:!0,forced:Ri||f},h);return d[Hi]!==m&&bi(d,Hi,m,{name:a}),vi[t]=m,h},Ei=G,Li=function(e){Ro[Ao][e]=!0},ki=Po,Mi=kr,Bi=Pt.f,Di=Oi,Fi=c,Ui="Array Iterator",xi=Mi.set,ji=Mi.getterFor(Ui),Ni=Di(Array,"Array",(function(e,t){xi(this,{type:Ui,target:Ei(e),index:0,kind:t})}),(function(){var e=ji(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"),_i=ki.Arguments=ki.Array;if(Li("keys"),Li("values"),Li("entries"),Fi&&"values"!==_i.name)try{Bi(_i,"name",{value:"values"})}catch(e){}var Gi=i,Yi={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},zi=bo,Ki=Ni,Wi=Wt,Ji=tt,qi=Ji("iterator"),Vi=Ji("toStringTag"),Zi=Ki.values,$i=function(e,t){if(e){if(e[qi]!==Zi)try{Wi(e,qi,Zi)}catch(t){e[qi]=Zi}if(e[Vi]||Wi(e,Vi,t),Yi[t])for(var r in Ki)if(e[r]!==Ki[r])try{Wi(e,r,Ki[r])}catch(t){e[r]=Ki[r]}}};for(var Qi in Yi)$i(Gi[Qi]&&Gi[Qi].prototype,Qi);$i(zi,"DOMTokenList");var Xi=C,es=en,ts=ca,rs=j,ns=Xi("".charAt),as=Xi("".charCodeAt),os=Xi("".slice),is=function(e){return function(t,r){var n,a,o=ts(rs(t)),i=es(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=as(o,i))<55296||n>56319||i+1===s||(a=as(o,i+1))<56320||a>57343?e?ns(o,i):n:e?os(o,i,i+2):a-56320+(n-55296<<10)+65536}},ss={codeAt:is(!1),charAt:is(!0)},hs=ss.charAt,cs=ca,us=kr,ls=Oi,fs="String Iterator",ds=us.set,gs=us.getterFor(fs);ls(String,"String",(function(e){ds(this,{type:fs,string:cs(e),index:0})}),(function(){var e,t=gs(this),r=t.string,n=t.index;return n>=r.length?{value:void 0,done:!0}:(e=hs(r,n),t.index+=e.length,{value:e,done:!1})}));var ms=h,ps=tt("iterator"),ys=!ms((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[ps]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),bs=be,vs=u,Ss=C(C.bind),ws=function(e,t){return bs(e),void 0===t?e:vs?Ss(e,t):function(){return e.apply(t,arguments)}},As=Jt.exports,Rs=Pt,Hs=$,Ts=TypeError,Cs=function(e,t){if(Hs(t,e))return e;throw Ts("Incorrect invocation")},Ps=c,Is=C,Os=d,Es=h,Ls=Sa,ks=Tn,Ms=g,Bs=Fe,Ds=D,Fs=Object.assign,Us=Object.defineProperty,xs=Is([].concat),js=!Fs||Es((function(){if(Ps&&1!==Fs({b:1},Fs(Us({},"a",{enumerable:!0,get:function(){Us(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!=Fs({},e)[r]||Ls(Fs({},t)).join("")!=n}))?function(e,t){for(var r=Bs(e),n=arguments.length,a=1,o=ks.f,i=Ms.f;n>a;)for(var s,h=Ds(arguments[a++]),c=o?xs(Ls(h),o(h)):Ls(h),u=c.length,l=0;u>l;)s=c[l++],Ps&&!Os(i,h,s)||(r[s]=h[s]);return r}:Fs,Ns=d,_s=kt,Gs=we,Ys=kt,zs=function(e,t,r){var n,a;_s(e);try{if(!(n=Gs(e,"return"))){if("throw"===t)throw r;return r}n=Ns(n,e)}catch(e){a=!0,n=e}if("throw"===t)throw r;if(a)throw n;return _s(n),r},Ks=Po,Ws=tt("iterator"),Js=Array.prototype,qs=C,Vs=h,Zs=Y,$s=ia,Qs=ir,Xs=function(){},eh=[],th=Z("Reflect","construct"),rh=/^\s*(?:class|function)\b/,nh=qs(rh.exec),ah=!rh.exec(Xs),oh=function(e){if(!Zs(e))return!1;try{return th(Xs,eh,e),!0}catch(e){return!1}},ih=function(e){if(!Zs(e))return!1;switch($s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ah||!!nh(rh,Qs(e))}catch(e){return!0}};ih.sham=!0;var sh=!th||Vs((function(){var e;return oh(oh.call)||!oh(Object)||!oh((function(){e=!0}))||e}))?ih:oh,hh=lt,ch=Pt,uh=S,lh=function(e,t,r){var n=hh(t);n in e?ch.f(e,n,uh(0,r)):e[n]=r},fh=ia,dh=we,gh=F,mh=Po,ph=tt("iterator"),yh=function(e){if(!gh(e))return dh(e,ph)||dh(e,"@@iterator")||mh[fh(e)]},bh=d,vh=be,Sh=kt,wh=ge,Ah=yh,Rh=TypeError,Hh=function(e,t){var r=arguments.length<2?Ah(e):t;if(vh(r))return Sh(bh(r,e));throw Rh(wh(e)+" is not iterable")},Th=ws,Ch=d,Ph=Fe,Ih=function(e,t,r,n){try{return n?t(Ys(r)[0],r[1]):t(r)}catch(t){zs(e,"throw",t)}},Oh=function(e){return void 0!==e&&(Ks.Array===e||Js[Ws]===e)},Eh=sh,Lh=un,kh=lh,Mh=Hh,Bh=yh,Dh=Array,Fh=an,Uh=un,xh=lh,jh=Array,Nh=Math.max,_h=function(e,t,r){for(var n=Uh(e),a=Fh(t,n),o=Fh(void 0===r?n:r,n),i=jh(Nh(o-a,0)),s=0;a<o;a++,s++)xh(i,s,e[a]);return i.length=s,i},Gh=C,Yh=2147483647,zh=/[^\0-\u007E]/,Kh=/[.\u3002\uFF0E\uFF61]/g,Wh="Overflow: input needs wider integers to process",Jh=RangeError,qh=Gh(Kh.exec),Vh=Math.floor,Zh=String.fromCharCode,$h=Gh("".charCodeAt),Qh=Gh([].join),Xh=Gh([].push),ec=Gh("".replace),tc=Gh("".split),rc=Gh("".toLowerCase),nc=function(e){return e+22+75*(e<26)},ac=function(e,t,r){var n=0;for(e=r?Vh(e/700):e>>1,e+=Vh(e/t);e>455;)e=Vh(e/35),n+=36;return Vh(n+36*e/(e+38))},oc=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=$h(e,r++);if(a>=55296&&a<=56319&&r<n){var o=$h(e,r++);56320==(64512&o)?Xh(t,((1023&a)<<10)+(1023&o)+65536):(Xh(t,a),r--)}else Xh(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&&Xh(t,Zh(n));var h=t.length,c=h;for(h&&Xh(t,"-");c<a;){var u=Yh;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<u&&(u=n);var l=c+1;if(u-o>Vh((Yh-i)/l))throw Jh(Wh);for(i+=(u-o)*l,o=u,r=0;r<e.length;r++){if((n=e[r])<o&&++i>Yh)throw Jh(Wh);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;Xh(t,Zh(nc(g+m%p))),f=Vh(m/p),d+=36}Xh(t,Zh(nc(f))),s=ac(i,l,c==h),i=0,c++}}i++,o++}return Qh(t,"")},ic=TypeError,sc=function(e,t){if(e<t)throw ic("Not enough arguments");return e},hc=Vr,cc=_h,uc=Math.floor,lc=function(e,t){var r=e.length,n=uc(r/2);return r<8?fc(e,t):dc(e,lc(cc(e,0,n),t),lc(cc(e,n),t),t)},fc=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},dc=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},gc=Qn,mc=i,pc=d,yc=C,bc=c,vc=ys,Sc=Vr,wc=function(e,t,r){for(var n in t)hc(e,n,t[n],r);return e},Ac=Vo,Rc=ri,Hc=kr,Tc=Cs,Cc=Y,Pc=je,Ic=ws,Oc=ia,Ec=kt,Lc=W,kc=ca,Mc=Ga,Bc=S,Dc=Hh,Fc=yh,Uc=sc,xc=lc,jc=tt("iterator"),Nc="URLSearchParams",_c="URLSearchParamsIterator",Gc=Hc.set,Yc=Hc.getterFor(Nc),zc=Hc.getterFor(_c),Kc=Object.getOwnPropertyDescriptor,Wc=function(e){if(!bc)return mc[e];var t=Kc(mc,e);return t&&t.value},Jc=Wc("fetch"),qc=Wc("Request"),Vc=Wc("Headers"),Zc=qc&&qc.prototype,$c=Vc&&Vc.prototype,Qc=mc.RegExp,Xc=mc.TypeError,eu=mc.decodeURIComponent,tu=mc.encodeURIComponent,ru=yc("".charAt),nu=yc([].join),au=yc([].push),ou=yc("".replace),iu=yc([].shift),su=yc([].splice),hu=yc("".split),cu=yc("".slice),uu=/\+/g,lu=Array(4),fu=function(e){return lu[e-1]||(lu[e-1]=Qc("((?:%[\\da-f]{2}){"+e+"})","gi"))},du=function(e){try{return eu(e)}catch(t){return e}},gu=function(e){var t=ou(e,uu," "),r=4;try{return eu(t)}catch(e){for(;r;)t=ou(t,fu(r--),du);return t}},mu=/[!'()~]|%20/g,pu={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},yu=function(e){return pu[e]},bu=function(e){return ou(tu(e),mu,yu)},vu=Rc((function(e,t){Gc(this,{type:_c,iterator:Dc(Yc(e).entries),kind:t})}),"Iterator",(function(){var e=zc(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),Su=function(e){this.entries=[],this.url=null,void 0!==e&&(Lc(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===ru(e,0)?cu(e,1):e:kc(e)))};Su.prototype={type:Nc,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,o,i,s,h=Fc(e);if(h)for(r=(t=Dc(e,h)).next;!(n=pc(r,t)).done;){if(o=(a=Dc(Ec(n.value))).next,(i=pc(o,a)).done||(s=pc(o,a)).done||!pc(o,a).done)throw Xc("Expected sequence with length 2");au(this.entries,{key:kc(i.value),value:kc(s.value)})}else for(var c in e)Pc(e,c)&&au(this.entries,{key:c,value:kc(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=hu(e,"&"),a=0;a<n.length;)(t=n[a++]).length&&(r=hu(t,"="),au(this.entries,{key:gu(iu(r)),value:gu(nu(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],au(r,bu(e.key)+"="+bu(e.value));return nu(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var wu=function(){Tc(this,Au);var e=arguments.length>0?arguments[0]:void 0;Gc(this,new Su(e))},Au=wu.prototype;if(wc(Au,{append:function(e,t){Uc(arguments.length,2);var r=Yc(this);au(r.entries,{key:kc(e),value:kc(t)}),r.updateURL()},delete:function(e){Uc(arguments.length,1);for(var t=Yc(this),r=t.entries,n=kc(e),a=0;a<r.length;)r[a].key===n?su(r,a,1):a++;t.updateURL()},get:function(e){Uc(arguments.length,1);for(var t=Yc(this).entries,r=kc(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){Uc(arguments.length,1);for(var t=Yc(this).entries,r=kc(e),n=[],a=0;a<t.length;a++)t[a].key===r&&au(n,t[a].value);return n},has:function(e){Uc(arguments.length,1);for(var t=Yc(this).entries,r=kc(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){Uc(arguments.length,1);for(var r,n=Yc(this),a=n.entries,o=!1,i=kc(e),s=kc(t),h=0;h<a.length;h++)(r=a[h]).key===i&&(o?su(a,h--,1):(o=!0,r.value=s));o||au(a,{key:i,value:s}),n.updateURL()},sort:function(){var e=Yc(this);xc(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=Yc(this).entries,n=Ic(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 vu(this,"keys")},values:function(){return new vu(this,"values")},entries:function(){return new vu(this,"entries")}},{enumerable:!0}),Sc(Au,jc,Au.entries,{name:"entries"}),Sc(Au,"toString",(function(){return Yc(this).serialize()}),{enumerable:!0}),Ac(wu,Nc),gc({global:!0,constructor:!0,forced:!vc},{URLSearchParams:wu}),!vc&&Cc(Vc)){var Ru=yc($c.has),Hu=yc($c.set),Tu=function(e){if(Lc(e)){var t,r=e.body;if(Oc(r)===Nc)return t=e.headers?new Vc(e.headers):new Vc,Ru(t,"content-type")||Hu(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Mc(e,{body:Bc(0,kc(r)),headers:Bc(0,t)})}return e};if(Cc(Jc)&&gc({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return Jc(e,arguments.length>1?Tu(arguments[1]):{})}}),Cc(qc)){var Cu=function(e){return Tc(this,Zc),new qc(e,arguments.length>1?Tu(arguments[1]):{})};Zc.constructor=Cu,Cu.prototype=Zc,gc({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Cu})}}var Pu,Iu=Qn,Ou=c,Eu=ys,Lu=i,ku=ws,Mu=C,Bu=Vr,Du=function(e,t,r){return r.get&&As(r.get,t,{getter:!0}),r.set&&As(r.set,t,{setter:!0}),Rs.f(e,t,r)},Fu=Cs,Uu=je,xu=js,ju=function(e){var t=Ph(e),r=Eh(this),n=arguments.length,a=n>1?arguments[1]:void 0,o=void 0!==a;o&&(a=Th(a,n>2?arguments[2]:void 0));var i,s,h,c,u,l,f=Bh(t),d=0;if(!f||this===Dh&&Oh(f))for(i=Lh(t),s=r?new this(i):Dh(i);i>d;d++)l=o?a(t[d],d):t[d],kh(s,d,l);else for(u=(c=Mh(t,f)).next,s=r?new this:[];!(h=Ch(u,c)).done;d++)l=o?Ih(c,a,[h.value,d],!0):h.value,kh(s,d,l);return s.length=d,s},Nu=_h,_u=ss.codeAt,Gu=function(e){var t,r,n=[],a=tc(ec(rc(e),Kh,"."),".");for(t=0;t<a.length;t++)r=a[t],Xh(n,qh(zh,r)?"xn--"+oc(r):r);return Qh(n,".")},Yu=ca,zu=Vo,Ku=sc,Wu={URLSearchParams:wu,getState:Yc},Ju=kr,qu=Ju.set,Vu=Ju.getterFor("URL"),Zu=Wu.URLSearchParams,$u=Wu.getState,Qu=Lu.URL,Xu=Lu.TypeError,el=Lu.parseInt,tl=Math.floor,rl=Math.pow,nl=Mu("".charAt),al=Mu(/./.exec),ol=Mu([].join),il=Mu(1..toString),sl=Mu([].pop),hl=Mu([].push),cl=Mu("".replace),ul=Mu([].shift),ll=Mu("".split),fl=Mu("".slice),dl=Mu("".toLowerCase),gl=Mu([].unshift),ml="Invalid scheme",pl="Invalid host",yl="Invalid port",bl=/[a-z]/i,vl=/[\d+-.a-z]/i,Sl=/\d/,wl=/^0x/i,Al=/^[0-7]+$/,Rl=/^\d+$/,Hl=/^[\da-f]+$/i,Tl=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Cl=/[\0\t\n\r #/:<>?@[\\\]^|]/,Pl=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,Il=/[\t\n\r]/g,Ol=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)gl(t,e%256),e=tl(e/256);return ol(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+=il(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},El={},Ll=xu({},El,{" ":1,'"':1,"<":1,">":1,"`":1}),kl=xu({},Ll,{"#":1,"?":1,"{":1,"}":1}),Ml=xu({},kl,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Bl=function(e,t){var r=_u(e,0);return r>32&&r<127&&!Uu(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&&al(bl,nl(e,0))&&(":"==(r=nl(e,1))||!t&&"|"==r)},Ul=function(e){var t;return e.length>1&&Fl(fl(e,0,2))&&(2==e.length||"/"===(t=nl(e,2))||"\\"===t||"?"===t||"#"===t)},xl=function(e){return"."===e||"%2e"===dl(e)},jl={},Nl={},_l={},Gl={},Yl={},zl={},Kl={},Wl={},Jl={},ql={},Vl={},Zl={},$l={},Ql={},Xl={},ef={},tf={},rf={},nf={},af={},of={},sf=function(e,t,r){var n,a,o,i=Yu(e);if(t){if(a=this.parse(i))throw Xu(a);this.searchParams=null}else{if(void 0!==r&&(n=new sf(r,!0)),a=this.parse(i,null,n))throw Xu(a);(o=$u(new Zu)).bindURL(this),this.searchParams=o}};sf.prototype={type:"URL",parse:function(e,t,r){var n,a,o,i,s,h=this,c=t||jl,u=0,l="",f=!1,d=!1,g=!1;for(e=Yu(e),t||(h.scheme="",h.username="",h.password="",h.host=null,h.port=null,h.path=[],h.query=null,h.fragment=null,h.cannotBeABaseURL=!1,e=cl(e,Pl,"")),e=cl(e,Il,""),n=ju(e);u<=n.length;){switch(a=n[u],c){case jl:if(!a||!al(bl,a)){if(t)return ml;c=_l;continue}l+=dl(a),c=Nl;break;case Nl:if(a&&(al(vl,a)||"+"==a||"-"==a||"."==a))l+=dl(a);else{if(":"!=a){if(t)return ml;l="",c=_l,u=0;continue}if(t&&(h.isSpecial()!=Uu(Dl,l)||"file"==l&&(h.includesCredentials()||null!==h.port)||"file"==h.scheme&&!h.host))return;if(h.scheme=l,t)return void(h.isSpecial()&&Dl[h.scheme]==h.port&&(h.port=null));l="","file"==h.scheme?c=Ql:h.isSpecial()&&r&&r.scheme==h.scheme?c=Gl:h.isSpecial()?c=Wl:"/"==n[u+1]?(c=Yl,u++):(h.cannotBeABaseURL=!0,hl(h.path,""),c=nf)}break;case _l:if(!r||r.cannotBeABaseURL&&"#"!=a)return ml;if(r.cannotBeABaseURL&&"#"==a){h.scheme=r.scheme,h.path=Nu(r.path),h.query=r.query,h.fragment="",h.cannotBeABaseURL=!0,c=of;break}c="file"==r.scheme?Ql:zl;continue;case Gl:if("/"!=a||"/"!=n[u+1]){c=zl;continue}c=Jl,u++;break;case Yl:if("/"==a){c=ql;break}c=rf;continue;case zl:if(h.scheme=r.scheme,a==Pu)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Nu(r.path),h.query=r.query;else if("/"==a||"\\"==a&&h.isSpecial())c=Kl;else if("?"==a)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Nu(r.path),h.query="",c=af;else{if("#"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Nu(r.path),h.path.length--,c=rf;continue}h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Nu(r.path),h.query=r.query,h.fragment="",c=of}break;case Kl:if(!h.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,c=rf;continue}c=ql}else c=Jl;break;case Wl:if(c=Jl,"/"!=a||"/"!=nl(l,u+1))continue;u++;break;case Jl:if("/"!=a&&"\\"!=a){c=ql;continue}break;case ql:if("@"==a){f&&(l="%40"+l),f=!0,o=ju(l);for(var m=0;m<o.length;m++){var p=o[m];if(":"!=p||g){var y=Bl(p,Ml);g?h.password+=y:h.username+=y}else g=!0}l=""}else if(a==Pu||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(f&&""==l)return"Invalid authority";u-=ju(l).length+1,l="",c=Vl}else l+=a;break;case Vl:case Zl:if(t&&"file"==h.scheme){c=ef;continue}if(":"!=a||d){if(a==Pu||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(h.isSpecial()&&""==l)return pl;if(t&&""==l&&(h.includesCredentials()||null!==h.port))return;if(i=h.parseHost(l))return i;if(l="",c=tf,t)return;continue}"["==a?d=!0:"]"==a&&(d=!1),l+=a}else{if(""==l)return pl;if(i=h.parseHost(l))return i;if(l="",c=$l,t==Zl)return}break;case $l:if(!al(Sl,a)){if(a==Pu||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()||t){if(""!=l){var b=el(l,10);if(b>65535)return yl;h.port=h.isSpecial()&&b===Dl[h.scheme]?null:b,l=""}if(t)return;c=tf;continue}return yl}l+=a;break;case Ql:if(h.scheme="file","/"==a||"\\"==a)c=Xl;else{if(!r||"file"!=r.scheme){c=rf;continue}if(a==Pu)h.host=r.host,h.path=Nu(r.path),h.query=r.query;else if("?"==a)h.host=r.host,h.path=Nu(r.path),h.query="",c=af;else{if("#"!=a){Ul(ol(Nu(n,u),""))||(h.host=r.host,h.path=Nu(r.path),h.shortenPath()),c=rf;continue}h.host=r.host,h.path=Nu(r.path),h.query=r.query,h.fragment="",c=of}}break;case Xl:if("/"==a||"\\"==a){c=ef;break}r&&"file"==r.scheme&&!Ul(ol(Nu(n,u),""))&&(Fl(r.path[0],!0)?hl(h.path,r.path[0]):h.host=r.host),c=rf;continue;case ef:if(a==Pu||"/"==a||"\\"==a||"?"==a||"#"==a){if(!t&&Fl(l))c=rf;else if(""==l){if(h.host="",t)return;c=tf}else{if(i=h.parseHost(l))return i;if("localhost"==h.host&&(h.host=""),t)return;l="",c=tf}continue}l+=a;break;case tf:if(h.isSpecial()){if(c=rf,"/"!=a&&"\\"!=a)continue}else if(t||"?"!=a)if(t||"#"!=a){if(a!=Pu&&(c=rf,"/"!=a))continue}else h.fragment="",c=of;else h.query="",c=af;break;case rf:if(a==Pu||"/"==a||"\\"==a&&h.isSpecial()||!t&&("?"==a||"#"==a)){if(".."===(s=dl(s=l))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(h.shortenPath(),"/"==a||"\\"==a&&h.isSpecial()||hl(h.path,"")):xl(l)?"/"==a||"\\"==a&&h.isSpecial()||hl(h.path,""):("file"==h.scheme&&!h.path.length&&Fl(l)&&(h.host&&(h.host=""),l=nl(l,0)+":"),hl(h.path,l)),l="","file"==h.scheme&&(a==Pu||"?"==a||"#"==a))for(;h.path.length>1&&""===h.path[0];)ul(h.path);"?"==a?(h.query="",c=af):"#"==a&&(h.fragment="",c=of)}else l+=Bl(a,kl);break;case nf:"?"==a?(h.query="",c=af):"#"==a?(h.fragment="",c=of):a!=Pu&&(h.path[0]+=Bl(a,El));break;case af:t||"#"!=a?a!=Pu&&("'"==a&&h.isSpecial()?h.query+="%27":h.query+="#"==a?"%23":Bl(a,El)):(h.fragment="",c=of);break;case of:a!=Pu&&(h.fragment+=Bl(a,Ll))}u++}},parseHost:function(e){var t,r,n;if("["==nl(e,0)){if("]"!=nl(e,e.length-1))return pl;if(t=function(e){var t,r,n,a,o,i,s,h=[0,0,0,0,0,0,0,0],c=0,u=null,l=0,f=function(){return nl(e,l)};if(":"==f()){if(":"!=nl(e,1))return;l+=2,u=++c}for(;f();){if(8==c)return;if(":"!=f()){for(t=r=0;r<4&&al(Hl,f());)t=16*t+el(f(),16),l++,r++;if("."==f()){if(0==r)return;if(l-=r,c>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;l++}if(!al(Sl,f()))return;for(;al(Sl,f());){if(o=el(f(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;l++}h[c]=256*h[c]+a,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==f()){if(l++,!f())return}else if(f())return;h[c++]=t}else{if(null!==u)return;l++,u=++c}}if(null!==u)for(i=c-u,c=7;0!=c&&i>0;)s=h[c],h[c--]=h[u+i-1],h[u+--i]=s;else if(8!=c)return;return h}(fl(e,1,-1)),!t)return pl;this.host=t}else if(this.isSpecial()){if(e=Gu(e),al(Tl,e))return pl;if(t=function(e){var t,r,n,a,o,i,s,h=ll(e,".");if(h.length&&""==h[h.length-1]&&h.length--,(t=h.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=h[n]))return e;if(o=10,a.length>1&&"0"==nl(a,0)&&(o=al(wl,a)?16:8,a=fl(a,8==o?1:2)),""===a)i=0;else{if(!al(10==o?Rl:8==o?Al:Hl,a))return e;i=el(a,o)}hl(r,i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=rl(256,5-t))return null}else if(i>255)return null;for(s=sl(r),n=0;n<r.length;n++)s+=r[n]*rl(256,3-n);return s}(e),null===t)return pl;this.host=t}else{if(al(Cl,e))return pl;for(t="",r=ju(e),n=0;n<r.length;n++)t+=Bl(r[n],El);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return Uu(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,h=e.fragment,c=t+":";return null!==a?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=Ol(a),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+ol(i,"/"):"",null!==s&&(c+="?"+s),null!==h&&(c+="#"+h),c},setHref:function(e){var t=this.parse(e);if(t)throw Xu(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+"://"+Ol(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Yu(e)+":",jl)},getUsername:function(){return this.username},setUsername:function(e){var t=ju(Yu(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Bl(t[r],Ml)}},getPassword:function(){return this.password},setPassword:function(e){var t=ju(Yu(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Bl(t[r],Ml)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?Ol(e):Ol(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Vl)},getHostname:function(){var e=this.host;return null===e?"":Ol(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Zl)},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,$l))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+ol(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,tf))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=Yu(e))?this.query=null:("?"==nl(e,0)&&(e=fl(e,1)),this.query="",this.parse(e,af)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=Yu(e))?("#"==nl(e,0)&&(e=fl(e,1)),this.fragment="",this.parse(e,of)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var hf=function(e){var t=Fu(this,cf),r=Ku(arguments.length,1)>1?arguments[1]:void 0,n=qu(t,new sf(e,!1,r));Ou||(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())},cf=hf.prototype,uf=function(e,t){return{get:function(){return Vu(this)[e]()},set:t&&function(e){return Vu(this)[t](e)},configurable:!0,enumerable:!0}};if(Ou&&(Du(cf,"href",uf("serialize","setHref")),Du(cf,"origin",uf("getOrigin")),Du(cf,"protocol",uf("getProtocol","setProtocol")),Du(cf,"username",uf("getUsername","setUsername")),Du(cf,"password",uf("getPassword","setPassword")),Du(cf,"host",uf("getHost","setHost")),Du(cf,"hostname",uf("getHostname","setHostname")),Du(cf,"port",uf("getPort","setPort")),Du(cf,"pathname",uf("getPathname","setPathname")),Du(cf,"search",uf("getSearch","setSearch")),Du(cf,"searchParams",uf("getSearchParams")),Du(cf,"hash",uf("getHash","setHash"))),Bu(cf,"toJSON",(function(){return Vu(this).serialize()}),{enumerable:!0}),Bu(cf,"toString",(function(){return Vu(this).serialize()}),{enumerable:!0}),Qu){var lf=Qu.createObjectURL,ff=Qu.revokeObjectURL;lf&&Bu(hf,"createObjectURL",ku(lf,Qu)),ff&&Bu(hf,"revokeObjectURL",ku(ff,Qu))}zu(hf,"URL"),Iu({global:!0,constructor:!0,forced:!Eu,sham:!Ou},{URL:hf});var df,gf=W,mf=E,pf=tt("match"),yf=function(e){var t;return gf(e)&&(void 0!==(t=e[pf])?!!t:"RegExp"==mf(e))},bf=TypeError,vf=tt("match"),Sf=Qn,wf=C,Af=s.f,Rf=hn,Hf=ca,Tf=function(e){if(yf(e))throw bf("The method doesn't accept regular expressions");return e},Cf=j,Pf=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[vf]=!1,"/./"[e](t)}catch(e){}}return!1},If=wf("".startsWith),Of=wf("".slice),Ef=Math.min,Lf=Pf("startsWith");Sf({target:"String",proto:!0,forced:!!(Lf||(df=Af(String.prototype,"startsWith"),!df||df.writable))&&!Lf},{startsWith:function(e){var t=Hf(Cf(this));Tf(e);var r=Rf(Ef(arguments.length>1?arguments[1]:void 0,t.length)),n=Hf(e);return If?If(t,n,r):Of(t,r,r+n.length)===n}});var kf=d,Mf=je,Bf=$,Df=la,Ff=RegExp.prototype,Uf=Xt.PROPER,xf=Vr,jf=kt,Nf=ca,_f=h,Gf=function(e){var t=e.flags;return void 0!==t||"flags"in Ff||Mf(e,"flags")||!Bf(Ff,e)?t:kf(Df,e)},Yf="toString",zf=RegExp.prototype.toString,Kf=_f((function(){return"/a/b"!=zf.call({source:"a",flags:"b"})})),Wf=Uf&&zf.name!=Yf;(Kf||Wf)&&xf(RegExp.prototype,Yf,(function(){var e=jf(this);return"/"+Nf(e.source)+"/"+Nf(Gf(e))}),{unsafe:!0});var Jf={"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. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"},qf={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 Vf(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:qf[e.getCountryCode()]};return["admin1","asciiname","geo","zip","state","stateName","geonameid"].forEach((r=>{e[r]&&(t[r]=e[r])})),t}return{geo:"none"}}function Zf(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function $f(e){return e<10?"0"+e:""+e}function Qf(e){return e<0?"-00"+Qf(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function Xf(e){return Qf(e.getFullYear())+"-"+$f(e.getMonth()+1)+"-"+$f(e.getDate())}function ed(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 td(e,t){let r="Hebcal";const n=t.location;if(t.yahrzeit)r+=" Yahrzeits and Anniversaries";else if(n&&n.name){const e=n.name.indexOf(",");r+=" "+(-1==e?n.name:n.name.substring(0,e))}else t.il?r+=" Israel":r+=" Diaspora";if("1"==t.subscribe)return r;if(t.year&&(t.isHebrewYear||0==e.length))r+=" "+t.year;else if(e.length){const t=e[0].getDate().greg(),n=e[e.length-1].getDate().greg();if(t.getFullYear()!=n.getFullYear())r+=" "+t.getFullYear()+"-"+n.getFullYear();else if(t.getMonth()==n.getMonth()){r+=" "+new Intl.DateTimeFormat("en-US",{month:"long"}).format(t)+" "+t.getFullYear()}else r+=" "+t.getFullYear()}return r}function rd(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=Jf[e.getDesc()]||Jf[e.basename()]||"";if(t&&r){const e=r.indexOf(".");if(-1!=e)return r.substring(0,e)}return r}const nd=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.HEBREW_DATE;function ad(e,n){const a=e.getFlags();if(a&nd)return"";const o=a&t.flags.PARSHA_HASHAVUA?r.getLeyningForParshaHaShavua(e,n):r.getLeyningForHoliday(e,n);let i="";return o&&(o.summary||o.haftara)&&(o.summary&&(i+="Torah: ".concat(o.summary)),o.summary&&o.haftara&&(i+="\n"),o.haftara&&(i+="Haftarah: "+o.haftara,o.reason&&o.reason.haftara&&(i+=" | "+o.reason.haftara))),o&&o.sephardic&&(i+="\nHaftarah for Sephardim: "+o.sephardic),i}function od(e,t,r,n,a){const o=new URL(e),i="www.hebcal.com"===o.host;if(i){t&&o.searchParams.set("i","on");const e=o.pathname,i=e.startsWith("/holidays/"),s=e.startsWith("/sedrot/"),h=e.startsWith("/omer/");if(i||s||h)return o.host="hebcal.com",o.pathname=i?"/h/"+e.substring(10):s?"/s/"+e.substring(8):"/o/"+e.substring(6),a&&(a.startsWith("ical-")||a.startsWith("pdf-"))||(r&&o.searchParams.set("us",r),n&&o.searchParams.set("um",n)),a&&o.searchParams.set("uc",a),o.toString()}return(r=i?r:"hebcal.com")&&o.searchParams.set("utm_source",r),n&&o.searchParams.set("utm_medium",n),a&&o.searchParams.set("utm_campaign",a),o.toString()}function id(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)||(!!(r&t.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(r&t.flags.SHABBAT_MEVARCHIM))}const sd='"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 cd(e,r){const n=e.getDate().greg(),a=n.getDate(),o=n.getMonth()+1,i=String(n.getFullYear()).padStart(4,"0"),s=r.euro?'"'.concat(a,"/").concat(o,"/").concat(i,'"'):'"'.concat(o,"/").concat(a,"/").concat(i,'"');let h="",c="",u="",l='"true"';const f=Boolean(e.eventTime);let d=id(e)?e.renderBrief(r.locale):e.render(r.locale);if(e.eventTime){const n=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr," PM",r);c=h='"'.concat(n,'"'),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[ed(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||rd(e,!0);p||void 0===e.linkedEvent||(p=e.linkedEvent.render(r.locale));const y=p.replace(/,/g,";").replace(/"/g,"''").replace(/\n/g," / "),b=f||m&t.flags.CHAG?4:3;return'"'.concat(d,'",').concat(s,",").concat(h,",").concat(u,",").concat(c,",").concat(l,',"').concat(y,'","').concat(b,'","').concat(g,'"')}function ud(e){return Xf(e.getDate().greg())}function ld(e,a){let o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const i=Boolean(e.eventTime),s=e.getDate(),h=s.greg(),c="object"==typeof a.location?a.location.getTzid():"UTC",u=i?t.Zmanim.formatISOWithTimeZone(c,e.eventTime):Xf(h),l=ed(e),f=e.getFlags();let d=id(e)?e.renderBrief(a.locale):e.render(a.locale);const g=e.getDesc(),m="Havdalah"===g||"Candle lighting"===g;if(m){d+=": "+t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a)}const p={title:d,date:u};i||(p.hdate=s.toString()),p.category=l[0],l.length>1&&(p.subcat=l[1]),"holiday"===l[0]&&f&t.flags.CHAG&&(p.yomtov=!0),d!=g&&(p.title_orig=g);const y=e.renderBrief("he");if(y&&(p.hebrew=t.Locale.hebrewStripNikkud(y)),!m){if(o){const o=a.il,i=f===t.flags.PARSHA_HASHAVUA,h=i?r.getLeyningForParshaHaShavua(e,o):r.getLeyningForHoliday(e,o);if(h){p.leyning=dd(h);const t=s.getFullYear();if(i&&!o&&t>=5745){const t=n.getTriennialForParshaHaShavua(e);t&&(p.leyning.triennial=fd({},t.aliyot))}}}const i=e.url();if(i){const e=a.utmSource||"js",t=a.utmMedium||"api",r=a.utmCampaign;p.link=od(i,a.il,e,t,r)}}if(f&t.flags.OMER_COUNT&&(p.omer={count:{he:e.getTodayIs("he"),en:e.getTodayIs("en")},sefira:{he:e.sefira("he"),translit:e.sefira("translit"),en:e.sefira("en")}}),f&t.flags.HEBREW_DATE){const e=s.getFullYear(),r=s.getMonthName(),n=s.getDate();p.heDateParts={y:t.gematriya(e),m:t.Locale.gettext(r,"he-x-NoNikud"),d:t.gematriya(n)}}const b=e.memo||Jf[e.basename()];return b?p.memo=b:void 0!==e.linkedEvent&&(p.memo=e.linkedEvent.render(a.locale)),a.includeEvent&&(p.ev=e),p}function fd(e,t){return Object.keys(t).forEach((n=>{const a=t[n];if(void 0!==a){e["M"==n?"maftir":n]=r.formatAliyahWithBook(a)}})),e}function 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,r){let n=e.render();const a=e.getDate().greg(),o=function(e,t,r,n){if(t){const t=e.eventTime;return t?t.toUTCString():r.toUTCString().replace(/ \S+ GMT$/," 00:00:00 GMT")}return n}(e,r.evPubDate,a,r.lastBuildDate),i=r.location,s=!!i&&i.getIsrael(),h=i?i.getTzid():"UTC",c=r&&r.utmSource||"shabbat1c",u=r&&r.utmMedium||"rss",l=function(e,r,n,a,o,i){let s,h;const c=e.eventTime||e.getDate().greg(),u=t.Zmanim.formatISOWithTimeZone(n,c),l=u.substring(0,u.indexOf("T")),f=l.replace(/-/g,""),d=Zf(e.getDesc()),g="".concat(f,"-").concat(d),m=e.url();if(m)s=od(m,r,o,i).replace(/&/g,"&"),h="".concat(m,"#").concat(g);else{const e="".concat(a,"&dt=").concat(l),t=od(e,r,o,i).replace(/&/g,"&");h=e.replace(/&/g,"&")+"#".concat(g),s="".concat(t,"#").concat(g)}return[s,h]}(e,s,h,r.mainUrl,c,u),f=l[0],d=l[1],g=ed(e)[0],m=e.getDesc();let p;if("Havdalah"===m||"Candle lighting"===m){const r=n.indexOf(": ");if(-1!=r){const a={location:i,il:s,locale:t.Locale.getLocaleName()},o=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a);n=n.substring(0,r)+": "+o}}else p=e.getFlags()&t.flags.PARSHA_HASHAVUA?ad(e,s):e.memo||Jf[e.basename()];const y=r.dayFormat,b=p||y.format(a),v="candles"==g?"<geo:lat>".concat(i.getLatitude(),"</geo:lat>\n<geo:long>").concat(i.getLongitude(),"</geo:long>\n"):"";return"<item>\n<title>".concat(n,"</title>\n<link>").concat(f,'</link>\n<guid isPermaLink="false">').concat(d,"</guid>\n<description>").concat(b,"</description>\n<category>").concat(g,"</category>\n<pubDate>").concat(o,"</pubDate>\n").concat(v,"</item>\n")}return e.appendIsraelAndTracking=od,e.countryNames=qf,e.eventToClassicApiObject=ld,e.eventToCsv=cd,e.eventToFullCalendar=function(e,r,n){const a=ed(e),o=e.getFlags();"holiday"==a[0]&&o&t.flags.CHAG&&a.push("yomtov");const i=Boolean(e.eventTime),s={title:id(e)?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(r,e.eventTime):Xf(e.getDate().greg()),allDay:!i,className:a.join(" ")},h=e.renderBrief("he");h&&(s.hebrew=t.Locale.hebrewStripNikkud(h));const c=e.url();c&&(s.url=od(c,n,"js","fc"));const u=e.getDesc();if(!("Havdalah"===u||"Candle lighting"===u)){const r=o&t.flags.PARSHA_HASHAVUA?ad(e,n):e.memo||Jf[e.basename()];r?s.description=r:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem2=md,e.eventsToClassicApi=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:td(e,t),date:(new Date).toISOString()};return n.location=Vf(t.location),e.length&&(n.range={start:ud(e[0]),end:ud(e[e.length-1])}),n.items=e.map((e=>ld(e,t,r))),n},e.eventsToCsv=function(e,t){return[sd].concat(e.map((e=>cd(e,t)))).join("\r\n")+"\r\n"},e.eventsToRss2=function(e,t){t.dayFormat=new Intl.DateTimeFormat("en-US",{weekday:"long",day:"2-digit",month:"long",year:"numeric"});const r=t.location,n=t.mainUrl,a=t.buildDate=t.buildDate||new Date,o=a.getFullYear(),i=t.lastBuildDate=a.toUTCString(),s=t.title||td(e,t),h=t.description||s,c=t.utmSource||"shabbat1c",u=t.utmMedium||"rss",l=od(n,r&&r.getIsrael(),c,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(h,"</description>\n<language>").concat(d,"</language>\n<copyright>Copyright (c) ").concat(o," Michael J. Radwin. All rights reserved.</copyright>\n<lastBuildDate>").concat(i,"</lastBuildDate>\n");return e.forEach((e=>{g+=md(e,t)})),g+="</channel>\n</rss>\n",g},e.getCalendarTitle=td,e.getDownloadFilename=function(e){let r="hebcal";if(e.year)r+="_"+e.year,e.isHebrewYear&&(r+="h"),e.month&&(r+="_"+e.month);else if("object"==typeof e.start&&"object"==typeof e.end){const n=new t.HDate(e.start),a=new t.HDate(e.end),o=n.greg().getFullYear(),i=a.greg().getFullYear();r+=o===i?"_"+o:"_"+o+"_"+i}if("object"==typeof e.location){const t=e.location,n=t.zip||t.asciiname||t.getShortName();n&&(r+="_"+Zf(n).replace(/[-]/g,"_"))}return r},e.getEventCategories=ed,e.getHolidayDescription=rd,e.holidayDescription=Jf,e.locationToPlainObj=Vf,e.makeAnchor=Zf,e.makeTorahMemoText=ad,e.pad2=$f,e.pad4=Qf,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=id,e.toISOString=Xf,Object.defineProperty(e,"__esModule",{value:!0}),e}({},hebcal,hebcal__leyning,hebcal__triennial);
|
|
1
|
+
/*! @hebcal/rest-api v4.3.1 */
|
|
2
|
+
var hebcal__rest_api=function(e,t,r,n){"use strict";var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=function(e){return e&&e.Math==Math&&e},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof a&&a)||function(){return this}()||Function("return this")(),s={},h=function(e){try{return!!e()}catch(e){return!0}},c=!h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),l=!h((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),u=l,f=Function.prototype.call,d=u?f.bind(f):function(){return f.apply(f,arguments)},g={},m={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y=p&&!m.call({1:2},1);g.f=y?function(e){var t=p(this,e);return!!t&&t.enumerable}:m;var b,v,S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=l,A=Function.prototype,R=A.bind,H=A.call,T=w&&R.bind(H,H),C=w?function(e){return e&&T(e)}:function(e){return e&&function(){return H.apply(e,arguments)}},P=C,I=P({}.toString),O=P("".slice),E=function(e){return O(I(e),8,-1)},L=h,M=E,k=Object,B=C("".split),D=L((function(){return!k("z").propertyIsEnumerable(0)}))?function(e){return"String"==M(e)?B(e,""):k(e)}:k,F=function(e){return null==e},U=F,x=TypeError,j=function(e){if(U(e))throw x("Can't call method on "+e);return e},N=D,_=j,G=function(e){return N(_(e))},Y="object"==typeof document&&document.all,z={all:Y,IS_HTMLDDA:void 0===Y&&void 0!==Y},K=z.all,W=z.IS_HTMLDDA?function(e){return"function"==typeof e||e===K}:function(e){return"function"==typeof e},J=W,q=z.all,V=z.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:J(e)||e===q}:function(e){return"object"==typeof e?null!==e:J(e)},Z=i,$=W,Q=function(e){return $(e)?e:void 0},X=function(e,t){return arguments.length<2?Q(Z[e]):Z[e]&&Z[e][t]},ee=C({}.isPrototypeOf),te=i,re=X("navigator","userAgent")||"",ne=te.process,ae=te.Deno,oe=ne&&ne.versions||ae&&ae.version,ie=oe&&oe.v8;ie&&(v=(b=ie.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!v&&re&&(!(b=re.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=re.match(/Chrome\/(\d+)/))&&(v=+b[1]);var se=v,he=h,ce=!!Object.getOwnPropertySymbols&&!he((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&se&&se<41})),le=ce&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ue=X,fe=W,de=ee,ge=Object,me=le?function(e){return"symbol"==typeof e}:function(e){var t=ue("Symbol");return fe(t)&&de(t.prototype,ge(e))},pe=String,ye=function(e){try{return pe(e)}catch(e){return"Object"}},be=W,ve=ye,Se=TypeError,we=function(e){if(be(e))return e;throw Se(ve(e)+" is not a function")},Ae=we,Re=F,He=function(e,t){var r=e[t];return Re(r)?void 0:Ae(r)},Te=d,Ce=W,Pe=V,Ie=TypeError,Oe={exports:{}},Ee=i,Le=Object.defineProperty,Me=function(e,t){try{Le(Ee,e,{value:t,configurable:!0,writable:!0})}catch(r){Ee[e]=t}return t},ke=Me,Be="__core-js_shared__",De=i[Be]||ke(Be,{}),Fe=De;(Oe.exports=function(e,t){return Fe[e]||(Fe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.25.2",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Ue=j,xe=Object,je=function(e){return xe(Ue(e))},Ne=je,_e=C({}.hasOwnProperty),Ge=Object.hasOwn||function(e,t){return _e(Ne(e),t)},Ye=C,ze=0,Ke=Math.random(),We=Ye(1..toString),Je=function(e){return"Symbol("+(void 0===e?"":e)+")_"+We(++ze+Ke,36)},qe=i,Ve=Oe.exports,Ze=Ge,$e=Je,Qe=ce,Xe=le,et=Ve("wks"),tt=qe.Symbol,rt=tt&&tt.for,nt=Xe?tt:tt&&tt.withoutSetter||$e,at=function(e){if(!Ze(et,e)||!Qe&&"string"!=typeof et[e]){var t="Symbol."+e;Qe&&Ze(tt,e)?et[e]=tt[e]:et[e]=Xe&&rt?rt(t):nt(t)}return et[e]},ot=d,it=V,st=me,ht=He,ct=function(e,t){var r,n;if("string"===t&&Ce(r=e.toString)&&!Pe(n=Te(r,e)))return n;if(Ce(r=e.valueOf)&&!Pe(n=Te(r,e)))return n;if("string"!==t&&Ce(r=e.toString)&&!Pe(n=Te(r,e)))return n;throw Ie("Can't convert object to primitive value")},lt=TypeError,ut=at("toPrimitive"),ft=function(e,t){if(!it(e)||st(e))return e;var r,n=ht(e,ut);if(n){if(void 0===t&&(t="default"),r=ot(n,e,t),!it(r)||st(r))return r;throw lt("Can't convert object to primitive value")}return void 0===t&&(t="number"),ct(e,t)},dt=me,gt=function(e){var t=ft(e,"string");return dt(t)?t:t+""},mt=V,pt=i.document,yt=mt(pt)&&mt(pt.createElement),bt=function(e){return yt?pt.createElement(e):{}},vt=bt,St=!c&&!h((function(){return 7!=Object.defineProperty(vt("div"),"a",{get:function(){return 7}}).a})),wt=c,At=d,Rt=g,Ht=S,Tt=G,Ct=gt,Pt=Ge,It=St,Ot=Object.getOwnPropertyDescriptor;s.f=wt?Ot:function(e,t){if(e=Tt(e),t=Ct(t),It)try{return Ot(e,t)}catch(e){}if(Pt(e,t))return Ht(!At(Rt.f,e,t),e[t])};var Et={},Lt=c&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Mt=V,kt=String,Bt=TypeError,Dt=function(e){if(Mt(e))return e;throw Bt(kt(e)+" is not an object")},Ft=c,Ut=St,xt=Lt,jt=Dt,Nt=gt,_t=TypeError,Gt=Object.defineProperty,Yt=Object.getOwnPropertyDescriptor,zt="enumerable",Kt="configurable",Wt="writable";Et.f=Ft?xt?function(e,t,r){if(jt(e),t=Nt(t),jt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Wt in r&&!r.writable){var n=Yt(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:Kt in r?r.configurable:n.configurable,enumerable:zt in r?r.enumerable:n.enumerable,writable:!1})}return Gt(e,t,r)}:Gt:function(e,t,r){if(jt(e),t=Nt(t),jt(r),Ut)try{return Gt(e,t,r)}catch(e){}if("get"in r||"set"in r)throw _t("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Jt=Et,qt=S,Vt=c?function(e,t,r){return Jt.f(e,t,qt(1,r))}:function(e,t,r){return e[t]=r,e},Zt={exports:{}},$t=c,Qt=Ge,Xt=Function.prototype,er=$t&&Object.getOwnPropertyDescriptor,tr=Qt(Xt,"name"),rr={EXISTS:tr,PROPER:tr&&"something"===function(){}.name,CONFIGURABLE:tr&&(!$t||$t&&er(Xt,"name").configurable)},nr=W,ar=De,or=C(Function.toString);nr(ar.inspectSource)||(ar.inspectSource=function(e){return or(e)});var ir,sr,hr,cr=ar.inspectSource,lr=W,ur=i.WeakMap,fr=lr(ur)&&/native code/.test(String(ur)),dr=Oe.exports,gr=Je,mr=dr("keys"),pr=function(e){return mr[e]||(mr[e]=gr(e))},yr={},br=fr,vr=i,Sr=C,wr=V,Ar=Vt,Rr=Ge,Hr=De,Tr=pr,Cr=yr,Pr="Object already initialized",Ir=vr.TypeError,Or=vr.WeakMap;if(br||Hr.state){var Er=Hr.state||(Hr.state=new Or),Lr=Sr(Er.get),Mr=Sr(Er.has),kr=Sr(Er.set);ir=function(e,t){if(Mr(Er,e))throw Ir(Pr);return t.facade=e,kr(Er,e,t),t},sr=function(e){return Lr(Er,e)||{}},hr=function(e){return Mr(Er,e)}}else{var Br=Tr("state");Cr[Br]=!0,ir=function(e,t){if(Rr(e,Br))throw Ir(Pr);return t.facade=e,Ar(e,Br,t),t},sr=function(e){return Rr(e,Br)?e[Br]:{}},hr=function(e){return Rr(e,Br)}}var Dr={set:ir,get:sr,has:hr,enforce:function(e){return hr(e)?sr(e):ir(e,{})},getterFor:function(e){return function(t){var r;if(!wr(t)||(r=sr(t)).type!==e)throw Ir("Incompatible receiver, "+e+" required");return r}}},Fr=h,Ur=W,xr=Ge,jr=c,Nr=rr.CONFIGURABLE,_r=cr,Gr=Dr.enforce,Yr=Dr.get,zr=Object.defineProperty,Kr=jr&&!Fr((function(){return 8!==zr((function(){}),"length",{value:8}).length})),Wr=String(String).split("String"),Jr=Zt.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!xr(e,"name")||Nr&&e.name!==t)&&(jr?zr(e,"name",{value:t,configurable:!0}):e.name=t),Kr&&r&&xr(r,"arity")&&e.length!==r.arity&&zr(e,"length",{value:r.arity});try{r&&xr(r,"constructor")&&r.constructor?jr&&zr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Gr(e);return xr(n,"source")||(n.source=Wr.join("string"==typeof t?t:"")),e};Function.prototype.toString=Jr((function(){return Ur(this)&&Yr(this).source||_r(this)}),"toString");var qr=W,Vr=Et,Zr=Zt.exports,$r=Me,Qr=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(qr(r)&&Zr(r,o,n),n.global)a?e[t]=r:$r(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:Vr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Xr={},en=Math.ceil,tn=Math.floor,rn=Math.trunc||function(e){var t=+e;return(t>0?tn:en)(t)},nn=function(e){var t=+e;return t!=t||0===t?0:rn(t)},an=nn,on=Math.max,sn=Math.min,hn=function(e,t){var r=an(e);return r<0?on(r+t,0):sn(r,t)},cn=nn,ln=Math.min,un=function(e){return e>0?ln(cn(e),9007199254740991):0},fn=un,dn=function(e){return fn(e.length)},gn=G,mn=hn,pn=dn,yn=function(e){return function(t,r,n){var a,o=gn(t),i=pn(o),s=mn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},bn={includes:yn(!0),indexOf:yn(!1)},vn=Ge,Sn=G,wn=bn.indexOf,An=yr,Rn=C([].push),Hn=function(e,t){var r,n=Sn(e),a=0,o=[];for(r in n)!vn(An,r)&&vn(n,r)&&Rn(o,r);for(;t.length>a;)vn(n,r=t[a++])&&(~wn(o,r)||Rn(o,r));return o},Tn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Cn=Hn,Pn=Tn.concat("length","prototype");Xr.f=Object.getOwnPropertyNames||function(e){return Cn(e,Pn)};var In={};In.f=Object.getOwnPropertySymbols;var On=X,En=Xr,Ln=In,Mn=Dt,kn=C([].concat),Bn=On("Reflect","ownKeys")||function(e){var t=En.f(Mn(e)),r=Ln.f;return r?kn(t,r(e)):t},Dn=Ge,Fn=Bn,Un=s,xn=Et,jn=h,Nn=W,_n=/#|\.prototype\./,Gn=function(e,t){var r=zn[Yn(e)];return r==Wn||r!=Kn&&(Nn(t)?jn(t):!!t)},Yn=Gn.normalize=function(e){return String(e).replace(_n,".").toLowerCase()},zn=Gn.data={},Kn=Gn.NATIVE="N",Wn=Gn.POLYFILL="P",Jn=Gn,qn=i,Vn=s.f,Zn=Vt,$n=Qr,Qn=Me,Xn=function(e,t,r){for(var n=Fn(t),a=xn.f,o=Un.f,i=0;i<n.length;i++){var s=n[i];Dn(e,s)||r&&Dn(r,s)||a(e,s,o(t,s))}},ea=Jn,ta=function(e,t){var r,n,a,o,i,s=e.target,h=e.global,c=e.stat;if(r=h?qn:c?qn[s]||Qn(s,{}):(qn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=Vn(r,n))&&i.value:r[n],!ea(h?n:s+(c?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Xn(o,a)}(e.sham||a&&a.sham)&&Zn(o,"sham",!0),$n(r,n,o,e)}},ra={};ra[at("toStringTag")]="z";var na="[object z]"===String(ra),aa=W,oa=E,ia=at("toStringTag"),sa=Object,ha="Arguments"==oa(function(){return arguments}()),ca=na?oa: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=sa(e),ia))?r:ha?oa(t):"Object"==(n=oa(t))&&aa(t.callee)?"Arguments":n},la=ca,ua=String,fa=function(e){if("Symbol"===la(e))throw TypeError("Cannot convert a Symbol value to a string");return ua(e)},da=Dt,ga=function(){var e=da(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},ma=h,pa=i.RegExp,ya=ma((function(){var e=pa("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),ba=ya||ma((function(){return!pa("a","y").sticky})),va={BROKEN_CARET:ya||ma((function(){var e=pa("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:ba,UNSUPPORTED_Y:ya},Sa={},wa=Hn,Aa=Tn,Ra=Object.keys||function(e){return wa(e,Aa)},Ha=c,Ta=Lt,Ca=Et,Pa=Dt,Ia=G,Oa=Ra;Sa.f=Ha&&!Ta?Object.defineProperties:function(e,t){Pa(e);for(var r,n=Ia(t),a=Oa(t),o=a.length,i=0;o>i;)Ca.f(e,r=a[i++],n[r]);return e};var Ea,La=X("document","documentElement"),Ma=Dt,ka=Sa,Ba=Tn,Da=yr,Fa=La,Ua=bt,xa=pr("IE_PROTO"),ja=function(){},Na=function(e){return"<script>"+e+"</"+"script>"},_a=function(e){e.write(Na("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ga=function(){try{Ea=new ActiveXObject("htmlfile")}catch(e){}var e,t;Ga="undefined"!=typeof document?document.domain&&Ea?_a(Ea):((t=Ua("iframe")).style.display="none",Fa.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Na("document.F=Object")),e.close(),e.F):_a(Ea);for(var r=Ba.length;r--;)delete Ga.prototype[Ba[r]];return Ga()};Da[xa]=!0;var Ya,za,Ka=Object.create||function(e,t){var r;return null!==e?(ja.prototype=Ma(e),r=new ja,ja.prototype=null,r[xa]=e):r=Ga(),void 0===t?r:ka.f(r,t)},Wa=h,Ja=i.RegExp,qa=Wa((function(){var e=Ja(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Va=h,Za=i.RegExp,$a=Va((function(){var e=Za("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Qa=d,Xa=C,eo=fa,to=ga,ro=va,no=Oe.exports,ao=Ka,oo=Dr.get,io=qa,so=$a,ho=no("native-string-replace",String.prototype.replace),co=RegExp.prototype.exec,lo=co,uo=Xa("".charAt),fo=Xa("".indexOf),go=Xa("".replace),mo=Xa("".slice),po=(za=/b*/g,Qa(co,Ya=/a/,"a"),Qa(co,za,"a"),0!==Ya.lastIndex||0!==za.lastIndex),yo=ro.BROKEN_CARET,bo=void 0!==/()??/.exec("")[1];(po||bo||yo||io||so)&&(lo=function(e){var t,r,n,a,o,i,s,h=this,c=oo(h),l=eo(e),u=c.raw;if(u)return u.lastIndex=h.lastIndex,t=Qa(lo,u,l),h.lastIndex=u.lastIndex,t;var f=c.groups,d=yo&&h.sticky,g=Qa(to,h),m=h.source,p=0,y=l;if(d&&(g=go(g,"y",""),-1===fo(g,"g")&&(g+="g"),y=mo(l,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==uo(l,h.lastIndex-1))&&(m="(?: "+m+")",y=" "+y,p++),r=new RegExp("^(?:"+m+")",g)),bo&&(r=new RegExp("^"+m+"$(?!\\s)",g)),po&&(n=h.lastIndex),a=Qa(co,d?r:h,y),d?a?(a.input=mo(a.input,p),a[0]=mo(a[0],p),a.index=h.lastIndex,h.lastIndex+=a[0].length):h.lastIndex=0:po&&a&&(h.lastIndex=h.global?a.index+a[0].length:n),bo&&a&&a.length>1&&Qa(ho,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=ao(null),o=0;o<f.length;o++)i[(s=f[o])[0]]=a[s[1]];return a});ta({target:"RegExp",proto:!0,forced:/./.exec!==lo},{exec:lo});var vo=bt("span").classList,So=vo&&vo.constructor&&vo.constructor.prototype,wo=So===Object.prototype?void 0:So,Ao=at,Ro=Ka,Ho=Et.f,To=Ao("unscopables"),Co=Array.prototype;null==Co[To]&&Ho(Co,To,{configurable:!0,value:Ro(null)});var Po,Io,Oo,Eo={},Lo=!h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Mo=Ge,ko=W,Bo=je,Do=Lo,Fo=pr("IE_PROTO"),Uo=Object,xo=Uo.prototype,jo=Do?Uo.getPrototypeOf:function(e){var t=Bo(e);if(Mo(t,Fo))return t[Fo];var r=t.constructor;return ko(r)&&t instanceof r?r.prototype:t instanceof Uo?xo:null},No=h,_o=W,Go=V,Yo=jo,zo=Qr,Ko=at("iterator"),Wo=!1;[].keys&&("next"in(Oo=[].keys())?(Io=Yo(Yo(Oo)))!==Object.prototype&&(Po=Io):Wo=!0);var Jo=!Go(Po)||No((function(){var e={};return Po[Ko].call(e)!==e}));Jo&&(Po={}),_o(Po[Ko])||zo(Po,Ko,(function(){return this}));var qo={IteratorPrototype:Po,BUGGY_SAFARI_ITERATORS:Wo},Vo=Et.f,Zo=Ge,$o=at("toStringTag"),Qo=function(e,t,r){e&&!r&&(e=e.prototype),e&&!Zo(e,$o)&&Vo(e,$o,{configurable:!0,value:t})},Xo=qo.IteratorPrototype,ei=Ka,ti=S,ri=Qo,ni=Eo,ai=function(){return this},oi=function(e,t,r,n){var a=t+" Iterator";return e.prototype=ei(Xo,{next:ti(+!n,r)}),ri(e,a,!1),ni[a]=ai,e},ii=W,si=String,hi=TypeError,ci=C,li=Dt,ui=function(e){if("object"==typeof e||ii(e))return e;throw hi("Can't set "+si(e)+" as a prototype")},fi=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 li(r),ui(n),t?e(r,n):r.__proto__=n,r}}():void 0),di=ta,gi=d,mi=W,pi=oi,yi=jo,bi=fi,vi=Qo,Si=Vt,wi=Qr,Ai=Eo,Ri=rr.PROPER,Hi=rr.CONFIGURABLE,Ti=qo.IteratorPrototype,Ci=qo.BUGGY_SAFARI_ITERATORS,Pi=at("iterator"),Ii="keys",Oi="values",Ei="entries",Li=function(){return this},Mi=function(e,t,r,n,a,o,i){pi(r,t,n);var s,h,c,l=function(e){if(e===a&&m)return m;if(!Ci&&e in d)return d[e];switch(e){case Ii:case Oi:case Ei:return function(){return new r(this,e)}}return function(){return new r(this)}},u=t+" Iterator",f=!1,d=e.prototype,g=d[Pi]||d["@@iterator"]||a&&d[a],m=!Ci&&g||l(a),p="Array"==t&&d.entries||g;if(p&&(s=yi(p.call(new e)))!==Object.prototype&&s.next&&(yi(s)!==Ti&&(bi?bi(s,Ti):mi(s[Pi])||wi(s,Pi,Li)),vi(s,u,!0)),Ri&&a==Oi&&g&&g.name!==Oi&&(Hi?Si(d,"name",Oi):(f=!0,m=function(){return gi(g,this)})),a)if(h={values:l(Oi),keys:o?m:l(Ii),entries:l(Ei)},i)for(c in h)(Ci||f||!(c in d))&&wi(d,c,h[c]);else di({target:t,proto:!0,forced:Ci||f},h);return d[Pi]!==m&&wi(d,Pi,m,{name:a}),Ai[t]=m,h},ki=function(e,t){return{value:e,done:t}},Bi=G,Di=function(e){Co[To][e]=!0},Fi=Eo,Ui=Dr,xi=Et.f,ji=Mi,Ni=ki,_i=c,Gi="Array Iterator",Yi=Ui.set,zi=Ui.getterFor(Gi),Ki=ji(Array,"Array",(function(e,t){Yi(this,{type:Gi,target:Bi(e),index:0,kind:t})}),(function(){var e=zi(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,Ni(void 0,!0)):Ni("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values"),Wi=Fi.Arguments=Fi.Array;if(Di("keys"),Di("values"),Di("entries"),_i&&"values"!==Wi.name)try{xi(Wi,"name",{value:"values"})}catch(e){}var Ji=i,qi={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},Vi=wo,Zi=Ki,$i=Vt,Qi=at,Xi=Qi("iterator"),es=Qi("toStringTag"),ts=Zi.values,rs=function(e,t){if(e){if(e[Xi]!==ts)try{$i(e,Xi,ts)}catch(t){e[Xi]=ts}if(e[es]||$i(e,es,t),qi[t])for(var r in Zi)if(e[r]!==Zi[r])try{$i(e,r,Zi[r])}catch(t){e[r]=Zi[r]}}};for(var ns in qi)rs(Ji[ns]&&Ji[ns].prototype,ns);rs(Vi,"DOMTokenList");var as=C,os=nn,is=fa,ss=j,hs=as("".charAt),cs=as("".charCodeAt),ls=as("".slice),us=function(e){return function(t,r){var n,a,o=is(ss(t)),i=os(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=cs(o,i))<55296||n>56319||i+1===s||(a=cs(o,i+1))<56320||a>57343?e?hs(o,i):n:e?ls(o,i,i+2):a-56320+(n-55296<<10)+65536}},fs={codeAt:us(!1),charAt:us(!0)},ds=fs.charAt,gs=fa,ms=Dr,ps=Mi,ys=ki,bs="String Iterator",vs=ms.set,Ss=ms.getterFor(bs);ps(String,"String",(function(e){vs(this,{type:bs,string:gs(e),index:0})}),(function(){var e,t=Ss(this),r=t.string,n=t.index;return n>=r.length?ys(void 0,!0):(e=ds(r,n),t.index+=e.length,ys(e,!1))}));var ws=h,As=at("iterator"),Rs=!ws((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[As]||"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})),Hs=we,Ts=l,Cs=C(C.bind),Ps=function(e,t){return Hs(e),void 0===t?e:Ts?Cs(e,t):function(){return e.apply(t,arguments)}},Is=Zt.exports,Os=Et,Es=ee,Ls=TypeError,Ms=function(e,t){if(Es(t,e))return e;throw Ls("Incorrect invocation")},ks=c,Bs=C,Ds=d,Fs=h,Us=Ra,xs=In,js=g,Ns=je,_s=D,Gs=Object.assign,Ys=Object.defineProperty,zs=Bs([].concat),Ks=!Gs||Fs((function(){if(ks&&1!==Gs({b:1},Gs(Ys({},"a",{enumerable:!0,get:function(){Ys(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!=Gs({},e)[r]||Us(Gs({},t)).join("")!=n}))?function(e,t){for(var r=Ns(e),n=arguments.length,a=1,o=xs.f,i=js.f;n>a;)for(var s,h=_s(arguments[a++]),c=o?zs(Us(h),o(h)):Us(h),l=c.length,u=0;l>u;)s=c[u++],ks&&!Ds(i,h,s)||(r[s]=h[s]);return r}:Gs,Ws=d,Js=Dt,qs=He,Vs=Dt,Zs=function(e,t,r){var n,a;Js(e);try{if(!(n=qs(e,"return"))){if("throw"===t)throw r;return r}n=Ws(n,e)}catch(e){a=!0,n=e}if("throw"===t)throw r;if(a)throw n;return Js(n),r},$s=Eo,Qs=at("iterator"),Xs=Array.prototype,eh=C,th=h,rh=W,nh=ca,ah=cr,oh=function(){},ih=[],sh=X("Reflect","construct"),hh=/^\s*(?:class|function)\b/,ch=eh(hh.exec),lh=!hh.exec(oh),uh=function(e){if(!rh(e))return!1;try{return sh(oh,ih,e),!0}catch(e){return!1}},fh=function(e){if(!rh(e))return!1;switch(nh(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return lh||!!ch(hh,ah(e))}catch(e){return!0}};fh.sham=!0;var dh=!sh||th((function(){var e;return uh(uh.call)||!uh(Object)||!uh((function(){e=!0}))||e}))?fh:uh,gh=gt,mh=Et,ph=S,yh=function(e,t,r){var n=gh(t);n in e?mh.f(e,n,ph(0,r)):e[n]=r},bh=ca,vh=He,Sh=F,wh=Eo,Ah=at("iterator"),Rh=function(e){if(!Sh(e))return vh(e,Ah)||vh(e,"@@iterator")||wh[bh(e)]},Hh=d,Th=we,Ch=Dt,Ph=ye,Ih=Rh,Oh=TypeError,Eh=function(e,t){var r=arguments.length<2?Ih(e):t;if(Th(r))return Ch(Hh(r,e));throw Oh(Ph(e)+" is not iterable")},Lh=Ps,Mh=d,kh=je,Bh=function(e,t,r,n){try{return n?t(Vs(r)[0],r[1]):t(r)}catch(t){Zs(e,"throw",t)}},Dh=function(e){return void 0!==e&&($s.Array===e||Xs[Qs]===e)},Fh=dh,Uh=dn,xh=yh,jh=Eh,Nh=Rh,_h=Array,Gh=hn,Yh=dn,zh=yh,Kh=Array,Wh=Math.max,Jh=function(e,t,r){for(var n=Yh(e),a=Gh(t,n),o=Gh(void 0===r?n:r,n),i=Kh(Wh(o-a,0)),s=0;a<o;a++,s++)zh(i,s,e[a]);return i.length=s,i},qh=C,Vh=2147483647,Zh=/[^\0-\u007E]/,$h=/[.\u3002\uFF0E\uFF61]/g,Qh="Overflow: input needs wider integers to process",Xh=RangeError,ec=qh($h.exec),tc=Math.floor,rc=String.fromCharCode,nc=qh("".charCodeAt),ac=qh([].join),oc=qh([].push),ic=qh("".replace),sc=qh("".split),hc=qh("".toLowerCase),cc=function(e){return e+22+75*(e<26)},lc=function(e,t,r){var n=0;for(e=r?tc(e/700):e>>1,e+=tc(e/t);e>455;)e=tc(e/35),n+=36;return tc(n+36*e/(e+38))},uc=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=nc(e,r++);if(a>=55296&&a<=56319&&r<n){var o=nc(e,r++);56320==(64512&o)?oc(t,((1023&a)<<10)+(1023&o)+65536):(oc(t,a),r--)}else oc(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&&oc(t,rc(n));var h=t.length,c=h;for(h&&oc(t,"-");c<a;){var l=Vh;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<l&&(l=n);var u=c+1;if(l-o>tc((Vh-i)/u))throw Xh(Qh);for(i+=(l-o)*u,o=l,r=0;r<e.length;r++){if((n=e[r])<o&&++i>Vh)throw Xh(Qh);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;oc(t,rc(cc(g+m%p))),f=tc(m/p),d+=36}oc(t,rc(cc(f))),s=lc(i,u,c==h),i=0,c++}}i++,o++}return ac(t,"")},fc=TypeError,dc=function(e,t){if(e<t)throw fc("Not enough arguments");return e},gc=Qr,mc=Jh,pc=Math.floor,yc=function(e,t){var r=e.length,n=pc(r/2);return r<8?bc(e,t):vc(e,yc(mc(e,0,n),t),yc(mc(e,n),t),t)},bc=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},vc=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},Sc=ta,wc=i,Ac=d,Rc=C,Hc=c,Tc=Rs,Cc=Qr,Pc=function(e,t,r){for(var n in t)gc(e,n,t[n],r);return e},Ic=Qo,Oc=oi,Ec=Dr,Lc=Ms,Mc=W,kc=Ge,Bc=Ps,Dc=ca,Fc=Dt,Uc=V,xc=fa,jc=Ka,Nc=S,_c=Eh,Gc=Rh,Yc=dc,zc=yc,Kc=at("iterator"),Wc="URLSearchParams",Jc="URLSearchParamsIterator",qc=Ec.set,Vc=Ec.getterFor(Wc),Zc=Ec.getterFor(Jc),$c=Object.getOwnPropertyDescriptor,Qc=function(e){if(!Hc)return wc[e];var t=$c(wc,e);return t&&t.value},Xc=Qc("fetch"),el=Qc("Request"),tl=Qc("Headers"),rl=el&&el.prototype,nl=tl&&tl.prototype,al=wc.RegExp,ol=wc.TypeError,il=wc.decodeURIComponent,sl=wc.encodeURIComponent,hl=Rc("".charAt),cl=Rc([].join),ll=Rc([].push),ul=Rc("".replace),fl=Rc([].shift),dl=Rc([].splice),gl=Rc("".split),ml=Rc("".slice),pl=/\+/g,yl=Array(4),bl=function(e){return yl[e-1]||(yl[e-1]=al("((?:%[\\da-f]{2}){"+e+"})","gi"))},vl=function(e){try{return il(e)}catch(t){return e}},Sl=function(e){var t=ul(e,pl," "),r=4;try{return il(t)}catch(e){for(;r;)t=ul(t,bl(r--),vl);return t}},wl=/[!'()~]|%20/g,Al={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Rl=function(e){return Al[e]},Hl=function(e){return ul(sl(e),wl,Rl)},Tl=Oc((function(e,t){qc(this,{type:Jc,iterator:_c(Vc(e).entries),kind:t})}),"Iterator",(function(){var e=Zc(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),Cl=function(e){this.entries=[],this.url=null,void 0!==e&&(Uc(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===hl(e,0)?ml(e,1):e:xc(e)))};Cl.prototype={type:Wc,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,o,i,s,h=Gc(e);if(h)for(r=(t=_c(e,h)).next;!(n=Ac(r,t)).done;){if(o=(a=_c(Fc(n.value))).next,(i=Ac(o,a)).done||(s=Ac(o,a)).done||!Ac(o,a).done)throw ol("Expected sequence with length 2");ll(this.entries,{key:xc(i.value),value:xc(s.value)})}else for(var c in e)kc(e,c)&&ll(this.entries,{key:c,value:xc(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=gl(e,"&"),a=0;a<n.length;)(t=n[a++]).length&&(r=gl(t,"="),ll(this.entries,{key:Sl(fl(r)),value:Sl(cl(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],ll(r,Hl(e.key)+"="+Hl(e.value));return cl(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Pl=function(){Lc(this,Il);var e=arguments.length>0?arguments[0]:void 0;qc(this,new Cl(e))},Il=Pl.prototype;if(Pc(Il,{append:function(e,t){Yc(arguments.length,2);var r=Vc(this);ll(r.entries,{key:xc(e),value:xc(t)}),r.updateURL()},delete:function(e){Yc(arguments.length,1);for(var t=Vc(this),r=t.entries,n=xc(e),a=0;a<r.length;)r[a].key===n?dl(r,a,1):a++;t.updateURL()},get:function(e){Yc(arguments.length,1);for(var t=Vc(this).entries,r=xc(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){Yc(arguments.length,1);for(var t=Vc(this).entries,r=xc(e),n=[],a=0;a<t.length;a++)t[a].key===r&&ll(n,t[a].value);return n},has:function(e){Yc(arguments.length,1);for(var t=Vc(this).entries,r=xc(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){Yc(arguments.length,1);for(var r,n=Vc(this),a=n.entries,o=!1,i=xc(e),s=xc(t),h=0;h<a.length;h++)(r=a[h]).key===i&&(o?dl(a,h--,1):(o=!0,r.value=s));o||ll(a,{key:i,value:s}),n.updateURL()},sort:function(){var e=Vc(this);zc(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=Vc(this).entries,n=Bc(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 Tl(this,"keys")},values:function(){return new Tl(this,"values")},entries:function(){return new Tl(this,"entries")}},{enumerable:!0}),Cc(Il,Kc,Il.entries,{name:"entries"}),Cc(Il,"toString",(function(){return Vc(this).serialize()}),{enumerable:!0}),Ic(Pl,Wc),Sc({global:!0,constructor:!0,forced:!Tc},{URLSearchParams:Pl}),!Tc&&Mc(tl)){var Ol=Rc(nl.has),El=Rc(nl.set),Ll=function(e){if(Uc(e)){var t,r=e.body;if(Dc(r)===Wc)return t=e.headers?new tl(e.headers):new tl,Ol(t,"content-type")||El(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),jc(e,{body:Nc(0,xc(r)),headers:Nc(0,t)})}return e};if(Mc(Xc)&&Sc({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return Xc(e,arguments.length>1?Ll(arguments[1]):{})}}),Mc(el)){var Ml=function(e){return Lc(this,rl),new el(e,arguments.length>1?Ll(arguments[1]):{})};rl.constructor=Ml,Ml.prototype=rl,Sc({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ml})}}var kl,Bl=ta,Dl=c,Fl=Rs,Ul=i,xl=Ps,jl=C,Nl=Qr,_l=function(e,t,r){return r.get&&Is(r.get,t,{getter:!0}),r.set&&Is(r.set,t,{setter:!0}),Os.f(e,t,r)},Gl=Ms,Yl=Ge,zl=Ks,Kl=function(e){var t=kh(e),r=Fh(this),n=arguments.length,a=n>1?arguments[1]:void 0,o=void 0!==a;o&&(a=Lh(a,n>2?arguments[2]:void 0));var i,s,h,c,l,u,f=Nh(t),d=0;if(!f||this===_h&&Dh(f))for(i=Uh(t),s=r?new this(i):_h(i);i>d;d++)u=o?a(t[d],d):t[d],xh(s,d,u);else for(l=(c=jh(t,f)).next,s=r?new this:[];!(h=Mh(l,c)).done;d++)u=o?Bh(c,a,[h.value,d],!0):h.value,xh(s,d,u);return s.length=d,s},Wl=Jh,Jl=fs.codeAt,ql=function(e){var t,r,n=[],a=sc(ic(hc(e),$h,"."),".");for(t=0;t<a.length;t++)r=a[t],oc(n,ec(Zh,r)?"xn--"+uc(r):r);return ac(n,".")},Vl=fa,Zl=Qo,$l=dc,Ql={URLSearchParams:Pl,getState:Vc},Xl=Dr,eu=Xl.set,tu=Xl.getterFor("URL"),ru=Ql.URLSearchParams,nu=Ql.getState,au=Ul.URL,ou=Ul.TypeError,iu=Ul.parseInt,su=Math.floor,hu=Math.pow,cu=jl("".charAt),lu=jl(/./.exec),uu=jl([].join),fu=jl(1..toString),du=jl([].pop),gu=jl([].push),mu=jl("".replace),pu=jl([].shift),yu=jl("".split),bu=jl("".slice),vu=jl("".toLowerCase),Su=jl([].unshift),wu="Invalid scheme",Au="Invalid host",Ru="Invalid port",Hu=/[a-z]/i,Tu=/[\d+-.a-z]/i,Cu=/\d/,Pu=/^0x/i,Iu=/^[0-7]+$/,Ou=/^\d+$/,Eu=/^[\da-f]+$/i,Lu=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Mu=/[\0\t\n\r #/:<>?@[\\\]^|]/,ku=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,Bu=/[\t\n\r]/g,Du=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)Su(t,e%256),e=su(e/256);return uu(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+=fu(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},Fu={},Uu=zl({},Fu,{" ":1,'"':1,"<":1,">":1,"`":1}),xu=zl({},Uu,{"#":1,"?":1,"{":1,"}":1}),ju=zl({},xu,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Nu=function(e,t){var r=Jl(e,0);return r>32&&r<127&&!Yl(t,e)?e:encodeURIComponent(e)},_u={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Gu=function(e,t){var r;return 2==e.length&&lu(Hu,cu(e,0))&&(":"==(r=cu(e,1))||!t&&"|"==r)},Yu=function(e){var t;return e.length>1&&Gu(bu(e,0,2))&&(2==e.length||"/"===(t=cu(e,2))||"\\"===t||"?"===t||"#"===t)},zu=function(e){return"."===e||"%2e"===vu(e)},Ku={},Wu={},Ju={},qu={},Vu={},Zu={},$u={},Qu={},Xu={},ef={},tf={},rf={},nf={},af={},of={},sf={},hf={},cf={},lf={},uf={},ff={},df=function(e,t,r){var n,a,o,i=Vl(e);if(t){if(a=this.parse(i))throw ou(a);this.searchParams=null}else{if(void 0!==r&&(n=new df(r,!0)),a=this.parse(i,null,n))throw ou(a);(o=nu(new ru)).bindURL(this),this.searchParams=o}};df.prototype={type:"URL",parse:function(e,t,r){var n,a,o,i,s,h=this,c=t||Ku,l=0,u="",f=!1,d=!1,g=!1;for(e=Vl(e),t||(h.scheme="",h.username="",h.password="",h.host=null,h.port=null,h.path=[],h.query=null,h.fragment=null,h.cannotBeABaseURL=!1,e=mu(e,ku,"")),e=mu(e,Bu,""),n=Kl(e);l<=n.length;){switch(a=n[l],c){case Ku:if(!a||!lu(Hu,a)){if(t)return wu;c=Ju;continue}u+=vu(a),c=Wu;break;case Wu:if(a&&(lu(Tu,a)||"+"==a||"-"==a||"."==a))u+=vu(a);else{if(":"!=a){if(t)return wu;u="",c=Ju,l=0;continue}if(t&&(h.isSpecial()!=Yl(_u,u)||"file"==u&&(h.includesCredentials()||null!==h.port)||"file"==h.scheme&&!h.host))return;if(h.scheme=u,t)return void(h.isSpecial()&&_u[h.scheme]==h.port&&(h.port=null));u="","file"==h.scheme?c=af:h.isSpecial()&&r&&r.scheme==h.scheme?c=qu:h.isSpecial()?c=Qu:"/"==n[l+1]?(c=Vu,l++):(h.cannotBeABaseURL=!0,gu(h.path,""),c=lf)}break;case Ju:if(!r||r.cannotBeABaseURL&&"#"!=a)return wu;if(r.cannotBeABaseURL&&"#"==a){h.scheme=r.scheme,h.path=Wl(r.path),h.query=r.query,h.fragment="",h.cannotBeABaseURL=!0,c=ff;break}c="file"==r.scheme?af:Zu;continue;case qu:if("/"!=a||"/"!=n[l+1]){c=Zu;continue}c=Xu,l++;break;case Vu:if("/"==a){c=ef;break}c=cf;continue;case Zu:if(h.scheme=r.scheme,a==kl)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Wl(r.path),h.query=r.query;else if("/"==a||"\\"==a&&h.isSpecial())c=$u;else if("?"==a)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Wl(r.path),h.query="",c=uf;else{if("#"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Wl(r.path),h.path.length--,c=cf;continue}h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Wl(r.path),h.query=r.query,h.fragment="",c=ff}break;case $u:if(!h.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,c=cf;continue}c=ef}else c=Xu;break;case Qu:if(c=Xu,"/"!=a||"/"!=cu(u,l+1))continue;l++;break;case Xu:if("/"!=a&&"\\"!=a){c=ef;continue}break;case ef:if("@"==a){f&&(u="%40"+u),f=!0,o=Kl(u);for(var m=0;m<o.length;m++){var p=o[m];if(":"!=p||g){var y=Nu(p,ju);g?h.password+=y:h.username+=y}else g=!0}u=""}else if(a==kl||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(f&&""==u)return"Invalid authority";l-=Kl(u).length+1,u="",c=tf}else u+=a;break;case tf:case rf:if(t&&"file"==h.scheme){c=sf;continue}if(":"!=a||d){if(a==kl||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(h.isSpecial()&&""==u)return Au;if(t&&""==u&&(h.includesCredentials()||null!==h.port))return;if(i=h.parseHost(u))return i;if(u="",c=hf,t)return;continue}"["==a?d=!0:"]"==a&&(d=!1),u+=a}else{if(""==u)return Au;if(i=h.parseHost(u))return i;if(u="",c=nf,t==rf)return}break;case nf:if(!lu(Cu,a)){if(a==kl||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()||t){if(""!=u){var b=iu(u,10);if(b>65535)return Ru;h.port=h.isSpecial()&&b===_u[h.scheme]?null:b,u=""}if(t)return;c=hf;continue}return Ru}u+=a;break;case af:if(h.scheme="file","/"==a||"\\"==a)c=of;else{if(!r||"file"!=r.scheme){c=cf;continue}if(a==kl)h.host=r.host,h.path=Wl(r.path),h.query=r.query;else if("?"==a)h.host=r.host,h.path=Wl(r.path),h.query="",c=uf;else{if("#"!=a){Yu(uu(Wl(n,l),""))||(h.host=r.host,h.path=Wl(r.path),h.shortenPath()),c=cf;continue}h.host=r.host,h.path=Wl(r.path),h.query=r.query,h.fragment="",c=ff}}break;case of:if("/"==a||"\\"==a){c=sf;break}r&&"file"==r.scheme&&!Yu(uu(Wl(n,l),""))&&(Gu(r.path[0],!0)?gu(h.path,r.path[0]):h.host=r.host),c=cf;continue;case sf:if(a==kl||"/"==a||"\\"==a||"?"==a||"#"==a){if(!t&&Gu(u))c=cf;else if(""==u){if(h.host="",t)return;c=hf}else{if(i=h.parseHost(u))return i;if("localhost"==h.host&&(h.host=""),t)return;u="",c=hf}continue}u+=a;break;case hf:if(h.isSpecial()){if(c=cf,"/"!=a&&"\\"!=a)continue}else if(t||"?"!=a)if(t||"#"!=a){if(a!=kl&&(c=cf,"/"!=a))continue}else h.fragment="",c=ff;else h.query="",c=uf;break;case cf:if(a==kl||"/"==a||"\\"==a&&h.isSpecial()||!t&&("?"==a||"#"==a)){if(".."===(s=vu(s=u))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(h.shortenPath(),"/"==a||"\\"==a&&h.isSpecial()||gu(h.path,"")):zu(u)?"/"==a||"\\"==a&&h.isSpecial()||gu(h.path,""):("file"==h.scheme&&!h.path.length&&Gu(u)&&(h.host&&(h.host=""),u=cu(u,0)+":"),gu(h.path,u)),u="","file"==h.scheme&&(a==kl||"?"==a||"#"==a))for(;h.path.length>1&&""===h.path[0];)pu(h.path);"?"==a?(h.query="",c=uf):"#"==a&&(h.fragment="",c=ff)}else u+=Nu(a,xu);break;case lf:"?"==a?(h.query="",c=uf):"#"==a?(h.fragment="",c=ff):a!=kl&&(h.path[0]+=Nu(a,Fu));break;case uf:t||"#"!=a?a!=kl&&("'"==a&&h.isSpecial()?h.query+="%27":h.query+="#"==a?"%23":Nu(a,Fu)):(h.fragment="",c=ff);break;case ff:a!=kl&&(h.fragment+=Nu(a,Uu))}l++}},parseHost:function(e){var t,r,n;if("["==cu(e,0)){if("]"!=cu(e,e.length-1))return Au;if(t=function(e){var t,r,n,a,o,i,s,h=[0,0,0,0,0,0,0,0],c=0,l=null,u=0,f=function(){return cu(e,u)};if(":"==f()){if(":"!=cu(e,1))return;u+=2,l=++c}for(;f();){if(8==c)return;if(":"!=f()){for(t=r=0;r<4&&lu(Eu,f());)t=16*t+iu(f(),16),u++,r++;if("."==f()){if(0==r)return;if(u-=r,c>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;u++}if(!lu(Cu,f()))return;for(;lu(Cu,f());){if(o=iu(f(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;u++}h[c]=256*h[c]+a,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==f()){if(u++,!f())return}else if(f())return;h[c++]=t}else{if(null!==l)return;u++,l=++c}}if(null!==l)for(i=c-l,c=7;0!=c&&i>0;)s=h[c],h[c--]=h[l+i-1],h[l+--i]=s;else if(8!=c)return;return h}(bu(e,1,-1)),!t)return Au;this.host=t}else if(this.isSpecial()){if(e=ql(e),lu(Lu,e))return Au;if(t=function(e){var t,r,n,a,o,i,s,h=yu(e,".");if(h.length&&""==h[h.length-1]&&h.length--,(t=h.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=h[n]))return e;if(o=10,a.length>1&&"0"==cu(a,0)&&(o=lu(Pu,a)?16:8,a=bu(a,8==o?1:2)),""===a)i=0;else{if(!lu(10==o?Ou:8==o?Iu:Eu,a))return e;i=iu(a,o)}gu(r,i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=hu(256,5-t))return null}else if(i>255)return null;for(s=du(r),n=0;n<r.length;n++)s+=r[n]*hu(256,3-n);return s}(e),null===t)return Au;this.host=t}else{if(lu(Mu,e))return Au;for(t="",r=Kl(e),n=0;n<r.length;n++)t+=Nu(r[n],Fu);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return Yl(_u,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&Gu(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,a=e.host,o=e.port,i=e.path,s=e.query,h=e.fragment,c=t+":";return null!==a?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=Du(a),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+uu(i,"/"):"",null!==s&&(c+="?"+s),null!==h&&(c+="#"+h),c},setHref:function(e){var t=this.parse(e);if(t)throw ou(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new gf(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+Du(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Vl(e)+":",Ku)},getUsername:function(){return this.username},setUsername:function(e){var t=Kl(Vl(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Nu(t[r],ju)}},getPassword:function(){return this.password},setPassword:function(e){var t=Kl(Vl(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Nu(t[r],ju)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?Du(e):Du(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,tf)},getHostname:function(){var e=this.host;return null===e?"":Du(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,rf)},getPort:function(){var e=this.port;return null===e?"":Vl(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=Vl(e))?this.port=null:this.parse(e,nf))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+uu(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,hf))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=Vl(e))?this.query=null:("?"==cu(e,0)&&(e=bu(e,1)),this.query="",this.parse(e,uf)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=Vl(e))?("#"==cu(e,0)&&(e=bu(e,1)),this.fragment="",this.parse(e,ff)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var gf=function(e){var t=Gl(this,mf),r=$l(arguments.length,1)>1?arguments[1]:void 0,n=eu(t,new df(e,!1,r));Dl||(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())},mf=gf.prototype,pf=function(e,t){return{get:function(){return tu(this)[e]()},set:t&&function(e){return tu(this)[t](e)},configurable:!0,enumerable:!0}};if(Dl&&(_l(mf,"href",pf("serialize","setHref")),_l(mf,"origin",pf("getOrigin")),_l(mf,"protocol",pf("getProtocol","setProtocol")),_l(mf,"username",pf("getUsername","setUsername")),_l(mf,"password",pf("getPassword","setPassword")),_l(mf,"host",pf("getHost","setHost")),_l(mf,"hostname",pf("getHostname","setHostname")),_l(mf,"port",pf("getPort","setPort")),_l(mf,"pathname",pf("getPathname","setPathname")),_l(mf,"search",pf("getSearch","setSearch")),_l(mf,"searchParams",pf("getSearchParams")),_l(mf,"hash",pf("getHash","setHash"))),Nl(mf,"toJSON",(function(){return tu(this).serialize()}),{enumerable:!0}),Nl(mf,"toString",(function(){return tu(this).serialize()}),{enumerable:!0}),au){var yf=au.createObjectURL,bf=au.revokeObjectURL;yf&&Nl(gf,"createObjectURL",xl(yf,au)),bf&&Nl(gf,"revokeObjectURL",xl(bf,au))}Zl(gf,"URL"),Bl({global:!0,constructor:!0,forced:!Fl,sham:!Dl},{URL:gf});var vf,Sf=V,wf=E,Af=at("match"),Rf=function(e){var t;return Sf(e)&&(void 0!==(t=e[Af])?!!t:"RegExp"==wf(e))},Hf=TypeError,Tf=at("match"),Cf=ta,Pf=C,If=s.f,Of=un,Ef=fa,Lf=function(e){if(Rf(e))throw Hf("The method doesn't accept regular expressions");return e},Mf=j,kf=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Tf]=!1,"/./"[e](t)}catch(e){}}return!1},Bf=Pf("".startsWith),Df=Pf("".slice),Ff=Math.min,Uf=kf("startsWith");Cf({target:"String",proto:!0,forced:!!(Uf||(vf=If(String.prototype,"startsWith"),!vf||vf.writable))&&!Uf},{startsWith:function(e){var t=Ef(Mf(this));Lf(e);var r=Of(Ff(arguments.length>1?arguments[1]:void 0,t.length)),n=Ef(e);return Bf?Bf(t,n,r):Df(t,r,r+n.length)===n}});var xf=d,jf=Ge,Nf=ee,_f=ga,Gf=RegExp.prototype,Yf=rr.PROPER,zf=Qr,Kf=Dt,Wf=fa,Jf=h,qf=function(e){var t=e.flags;return void 0!==t||"flags"in Gf||jf(e,"flags")||!Nf(Gf,e)?t:xf(_f,e)},Vf="toString",Zf=RegExp.prototype.toString,$f=Jf((function(){return"/a/b"!=Zf.call({source:"a",flags:"b"})})),Qf=Yf&&Zf.name!=Vf;($f||Qf)&&zf(RegExp.prototype,Vf,(function(){var e=Kf(this);return"/"+Wf(e.source)+"/"+Wf(qf(e))}),{unsafe:!0});var Xf={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","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","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"},ed={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 td(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:ed[e.getCountryCode()]};return["admin1","asciiname","geo","zip","state","stateName","geonameid"].forEach((r=>{e[r]&&(t[r]=e[r])})),t}return{geo:"none"}}function rd(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function nd(e){return e<10?"0"+e:""+e}function ad(e){return e<0?"-00"+ad(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function od(e){return ad(e.getFullYear())+"-"+nd(e.getMonth()+1)+"-"+nd(e.getDate())}const id=[[t.flags.MAJOR_FAST,"holiday","major","fast"],[t.flags.CHANUKAH_CANDLES,"holiday","major"],[t.flags.DAF_YOMI,"dafyomi"],[t.flags.HEBREW_DATE,"hebdate"],[t.flags.MINOR_FAST,"holiday","fast"],[t.flags.MINOR_HOLIDAY,"holiday","minor"],[t.flags.MISHNA_YOMI,"mishnayomi"],[t.flags.MODERN_HOLIDAY,"holiday","modern"],[t.flags.MOLAD,"molad"],[t.flags.OMER_COUNT,"omer"],[t.flags.PARSHA_HASHAVUA,"parashat"],[t.flags.ROSH_CHODESH,"roshchodesh"],[t.flags.SHABBAT_MEVARCHIM,"mevarchim"],[t.flags.SPECIAL_SHABBAT,"holiday","shabbat"],[t.flags.USER_EVENT,"user"]];function sd(e){const t=e.getDesc();if("Fast begins"===t||"Fast ends"===t)return["zmanim","fast"];if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];const r=e.getFlags();for(let e=0;e<id.length;e++){const t=id[e];if(r&t[0])return t.slice(1)}switch(t){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"];default:return["holiday","major"]}}function hd(e,t){let r="Hebcal";const n=t.location;if(t.yahrzeit)r+=" Yahrzeits and Anniversaries";else if(n&&n.name){const e=n.name.indexOf(",");r+=" "+(-1==e?n.name:n.name.substring(0,e))}else t.il?r+=" Israel":r+=" Diaspora";if("1"==t.subscribe)return r;if(t.year&&(t.isHebrewYear||0==e.length))r+=" "+t.year;else if(e.length){const t=e[0].getDate().greg(),n=e[e.length-1].getDate().greg();if(t.getFullYear()!=n.getFullYear())r+=" "+t.getFullYear()+"-"+n.getFullYear();else if(t.getMonth()==n.getMonth()){r+=" "+new Intl.DateTimeFormat("en-US",{month:"long"}).format(t)+" "+t.getFullYear()}else r+=" "+t.getFullYear()}return r}function cd(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=Xf[e.getDesc()]||Xf[e.basename()]||"";if(t&&r){const e=r.indexOf(".");if(-1!=e)return r.substring(0,e)}return r}const ld=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.HEBREW_DATE;function ud(e,n){const a=e.getFlags();if(a&ld)return"";const o=a&t.flags.PARSHA_HASHAVUA?r.getLeyningForParshaHaShavua(e,n):r.getLeyningForHoliday(e,n);let i="";return o&&(o.summary||o.haftara)&&(o.summary&&(i+="Torah: ".concat(o.summary)),o.summary&&o.haftara&&(i+="\n"),o.haftara&&(i+="Haftarah: "+o.haftara,o.reason&&o.reason.haftara&&(i+=" | "+o.reason.haftara))),o&&o.sephardic&&(i+="\nHaftarah for Sephardim: "+o.sephardic),i}function fd(e,t,r,n,a){const o=new URL(e),i="www.hebcal.com"===o.host;if(i){t&&o.searchParams.set("i","on");const e=o.pathname,i=e.startsWith("/holidays/"),s=e.startsWith("/sedrot/"),h=e.startsWith("/omer/");if(i||s||h)return o.host="hebcal.com",o.pathname=i?"/h/"+e.substring(10):s?"/s/"+e.substring(8):"/o/"+e.substring(6),a&&(a.startsWith("ical-")||a.startsWith("pdf-"))||(r&&o.searchParams.set("us",r),n&&o.searchParams.set("um",n)),a&&o.searchParams.set("uc",a),o.toString()}return(r=i?r:"hebcal.com")&&o.searchParams.set("utm_source",r),n&&o.searchParams.set("utm_medium",n),a&&o.searchParams.set("utm_campaign",a),o.toString()}function dd(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)||(!!(r&t.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(r&t.flags.SHABBAT_MEVARCHIM))}const gd='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',md={dafyomi:"Daf Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:null,molad:null,omer:null,parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal"};function pd(e,r){const n=e.getDate().greg(),a=n.getDate(),o=n.getMonth()+1,i=String(n.getFullYear()).padStart(4,"0"),s=r.euro?'"'.concat(a,"/").concat(o,"/").concat(i,'"'):'"'.concat(o,"/").concat(a,"/").concat(i,'"');let h="",c="",l="",u='"true"';const f=Boolean(e.eventTime);let d=dd(e)?e.renderBrief(r.locale):e.render(r.locale);if(e.eventTime){const n=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr," PM",r);c=h='"'.concat(n,'"'),l=s,u='"false"'}let g="Jewish Holidays";const m=e.getFlags();if(f&&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=md[sd(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||cd(e,!0);p||void 0===e.linkedEvent||(p=e.linkedEvent.render(r.locale));const y=p.replace(/,/g,";").replace(/"/g,"''").replace(/\n/g," / "),b=f||m&t.flags.CHAG?4:3;return'"'.concat(d,'",').concat(s,",").concat(h,",").concat(l,",").concat(c,",").concat(u,',"').concat(y,'","').concat(b,'","').concat(g,'"')}function yd(e){return od(e.getDate().greg())}function bd(e,a){let o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const i=Boolean(e.eventTime),s=e.getDate(),h=s.greg(),c="object"==typeof a.location?a.location.getTzid():"UTC",l=i?t.Zmanim.formatISOWithTimeZone(c,e.eventTime):od(h),u=sd(e),f=e.getFlags();let d=dd(e)?e.renderBrief(a.locale):e.render(a.locale);const g=e.getDesc(),m="Havdalah"===g||"Candle lighting"===g;if(m){d+=": "+t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a)}const p={title:d,date:l};i||(p.hdate=s.toString()),p.category=u[0],u.length>1&&(p.subcat=u[1]),"holiday"===u[0]&&f&t.flags.CHAG&&(p.yomtov=!0),d!=g&&(p.title_orig=g);const y=e.renderBrief("he");if(y&&(p.hebrew=t.Locale.hebrewStripNikkud(y)),!m){if(o){const o=a.il,i=f===t.flags.PARSHA_HASHAVUA,h=i?r.getLeyningForParshaHaShavua(e,o):r.getLeyningForHoliday(e,o);if(h){p.leyning=Sd(h);const t=s.getFullYear();if(i&&!o&&t>=5745){const t=n.getTriennialForParshaHaShavua(e);t&&(p.leyning.triennial=vd({},t.aliyot))}}}const i=e.url();if(i){const e=a.utmSource||"js",t=a.utmMedium||"api",r=a.utmCampaign;p.link=fd(i,a.il,e,t,r)}}if(f&t.flags.OMER_COUNT&&(p.omer={count:{he:e.getTodayIs("he"),en:e.getTodayIs("en")},sefira:{he:e.sefira("he"),translit:e.sefira("translit"),en:e.sefira("en")}}),f&t.flags.HEBREW_DATE){const e=s.getFullYear(),r=s.getMonthName(),n=s.getDate();p.heDateParts={y:t.gematriya(e),m:t.Locale.gettext(r,"he-x-NoNikud"),d:t.gematriya(n)}}const b=e.memo||Xf[e.basename()];return b?p.memo=b:void 0!==e.linkedEvent&&(p.memo=e.linkedEvent.render(a.locale)),a.includeEvent&&(p.ev=e),p}function vd(e,t){return Object.keys(t).forEach((n=>{const a=t[n];if(void 0!==a){e["M"==n?"maftir":n]=r.formatAliyahWithBook(a)}})),e}function Sd(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&&vd(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 wd={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function Ad(e,r){let n=e.render();const a=e.getDate().greg(),o=function(e,t,r,n){if(t){const t=e.eventTime;return t?t.toUTCString():r.toUTCString().replace(/ \S+ GMT$/," 00:00:00 GMT")}return n}(e,r.evPubDate,a,r.lastBuildDate),i=r.location,s=!!i&&i.getIsrael(),h=i?i.getTzid():"UTC",c=r&&r.utmSource||"shabbat1c",l=r&&r.utmMedium||"rss",u=function(e,r,n,a,o,i){let s,h;const c=e.eventTime||e.getDate().greg(),l=t.Zmanim.formatISOWithTimeZone(n,c),u=l.substring(0,l.indexOf("T")),f=u.replace(/-/g,""),d=rd(e.getDesc()),g="".concat(f,"-").concat(d),m=e.url();if(m)s=fd(m,r,o,i).replace(/&/g,"&"),h="".concat(m,"#").concat(g);else{const e="".concat(a,"&dt=").concat(u),t=fd(e,r,o,i).replace(/&/g,"&");h=e.replace(/&/g,"&")+"#".concat(g),s="".concat(t,"#").concat(g)}return[s,h]}(e,s,h,r.mainUrl,c,l),f=u[0],d=u[1],g=sd(e)[0],m=e.getDesc();let p;if("Havdalah"===m||"Candle lighting"===m){const r=n.indexOf(": ");if(-1!=r){const a={location:i,il:s,locale:t.Locale.getLocaleName()},o=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a);n=n.substring(0,r)+": "+o}}else p=e.getFlags()&t.flags.PARSHA_HASHAVUA?ud(e,s):e.memo||Xf[e.basename()];const y=r.dayFormat,b=p||y.format(a),v="candles"==g?"<geo:lat>".concat(i.getLatitude(),"</geo:lat>\n<geo:long>").concat(i.getLongitude(),"</geo:long>\n"):"";return"<item>\n<title>".concat(n,"</title>\n<link>").concat(f,'</link>\n<guid isPermaLink="false">').concat(d,"</guid>\n<description>").concat(b,"</description>\n<category>").concat(g,"</category>\n<pubDate>").concat(o,"</pubDate>\n").concat(v,"</item>\n")}return e.appendIsraelAndTracking=fd,e.countryNames=ed,e.eventToClassicApiObject=bd,e.eventToCsv=pd,e.eventToFullCalendar=function(e,r,n){const a=sd(e),o=e.getFlags();"holiday"==a[0]&&o&t.flags.CHAG&&a.push("yomtov");const i=Boolean(e.eventTime),s={title:dd(e)?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(r,e.eventTime):od(e.getDate().greg()),allDay:!i,className:a.join(" ")},h=e.renderBrief("he");h&&(s.hebrew=t.Locale.hebrewStripNikkud(h));const c=e.url();c&&(s.url=fd(c,n,"js","fc"));const l=e.getDesc();if(!("Havdalah"===l||"Candle lighting"===l)){const r=o&t.flags.PARSHA_HASHAVUA?ud(e,n):e.memo||Xf[e.basename()];r?s.description=r:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem2=Ad,e.eventsToClassicApi=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:hd(e,t),date:(new Date).toISOString()};return n.location=td(t.location),e.length&&(n.range={start:yd(e[0]),end:yd(e[e.length-1])}),n.items=e.map((e=>bd(e,t,r))),n},e.eventsToCsv=function(e,t){return[gd].concat(e.map((e=>pd(e,t)))).join("\r\n")+"\r\n"},e.eventsToRss2=function(e,t){t.dayFormat=new Intl.DateTimeFormat("en-US",{weekday:"long",day:"2-digit",month:"long",year:"numeric"});const r=t.location,n=t.mainUrl,a=t.buildDate=t.buildDate||new Date,o=a.getFullYear(),i=t.lastBuildDate=a.toUTCString(),s=t.title||hd(e,t),h=t.description||s,c=t.utmSource||"shabbat1c",l=t.utmMedium||"rss",u=fd(n,r&&r.getIsrael(),c,l,t.utmCampaign).replace(/&/g,"&"),f=t.selfUrl.replace(/&/g,"&"),d=t.lang||wd[t.locale]||t.locale||"en-US";let g='<?xml version="1.0" encoding="UTF-8"?>\n<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:atom="http://www.w3.org/2005/Atom">\n<channel>\n<title>'.concat(s,"</title>\n<link>").concat(u,'</link>\n<atom:link href="').concat(f,'" rel="self" type="application/rss+xml" />\n<description>').concat(h,"</description>\n<language>").concat(d,"</language>\n<copyright>Copyright (c) ").concat(o," Michael J. Radwin. All rights reserved.</copyright>\n<lastBuildDate>").concat(i,"</lastBuildDate>\n");return e.forEach((e=>{g+=Ad(e,t)})),g+="</channel>\n</rss>\n",g},e.getCalendarTitle=hd,e.getDownloadFilename=function(e){let r="hebcal";if(e.year)r+="_"+e.year,e.isHebrewYear&&(r+="h"),e.month&&(r+="_"+e.month);else if("object"==typeof e.start&&"object"==typeof e.end){const n=new t.HDate(e.start),a=new t.HDate(e.end),o=n.greg().getFullYear(),i=a.greg().getFullYear();r+=o===i?"_"+o:"_"+o+"_"+i}if("object"==typeof e.location){const t=e.location,n=t.zip||t.asciiname||t.getShortName();n&&(r+="_"+rd(n).replace(/[-]/g,"_"))}return r},e.getEventCategories=sd,e.getHolidayDescription=cd,e.holidayDescription=Xf,e.locationToPlainObj=td,e.makeAnchor=rd,e.makeTorahMemoText=ud,e.pad2=nd,e.pad4=ad,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=dd,e.toISOString=od,Object.defineProperty(e,"__esModule",{value:!0}),e}({},hebcal,hebcal__leyning,hebcal__triennial);
|
package/dist/fullcalendar.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.
|
|
1
|
+
/*! @hebcal/rest-api v4.3.1 */
|
|
2
2
|
var hebcalFullCalendar = (function (exports, core, leyning) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
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. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};
|
|
5
|
+
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","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach: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","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @param {number} number
|
|
@@ -43,6 +43,8 @@ function pad4(number) {
|
|
|
43
43
|
function toISOString(d) {
|
|
44
44
|
return pad4(d.getFullYear()) + '-' + pad2(d.getMonth() + 1) + '-' + pad2(d.getDate());
|
|
45
45
|
}
|
|
46
|
+
var flagToCategory = [[core.flags.MAJOR_FAST, 'holiday', 'major', 'fast'], [core.flags.CHANUKAH_CANDLES, 'holiday', 'major'], [core.flags.DAF_YOMI, 'dafyomi'], [core.flags.HEBREW_DATE, 'hebdate'], [core.flags.MINOR_FAST, 'holiday', 'fast'], [core.flags.MINOR_HOLIDAY, 'holiday', 'minor'], [core.flags.MISHNA_YOMI, 'mishnayomi'], [core.flags.MODERN_HOLIDAY, 'holiday', 'modern'], [core.flags.MOLAD, 'molad'], [core.flags.OMER_COUNT, 'omer'], [core.flags.PARSHA_HASHAVUA, 'parashat'], // backwards-compat
|
|
47
|
+
[core.flags.ROSH_CHODESH, 'roshchodesh'], [core.flags.SHABBAT_MEVARCHIM, 'mevarchim'], [core.flags.SPECIAL_SHABBAT, 'holiday', 'shabbat'], [core.flags.USER_EVENT, 'user']];
|
|
46
48
|
/**
|
|
47
49
|
* Returns a category and subcategory name
|
|
48
50
|
* @param {Event} ev
|
|
@@ -56,54 +58,18 @@ function getEventCategories(ev) {
|
|
|
56
58
|
return ['zmanim', 'fast'];
|
|
57
59
|
}
|
|
58
60
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
case core.flags.HEBREW_DATE:
|
|
64
|
-
return ['hebdate'];
|
|
65
|
-
|
|
66
|
-
case core.flags.PARSHA_HASHAVUA:
|
|
67
|
-
return ['parashat'];
|
|
68
|
-
// backwards-compat
|
|
69
|
-
|
|
70
|
-
case core.flags.DAF_YOMI:
|
|
71
|
-
return ['dafyomi'];
|
|
72
|
-
|
|
73
|
-
case core.flags.ROSH_CHODESH:
|
|
74
|
-
return ['roshchodesh'];
|
|
75
|
-
|
|
76
|
-
case core.flags.SPECIAL_SHABBAT:
|
|
77
|
-
return ['holiday', 'shabbat'];
|
|
78
|
-
|
|
79
|
-
case core.flags.MINOR_FAST:
|
|
80
|
-
return ['holiday', 'fast'];
|
|
81
|
-
|
|
82
|
-
case core.flags.MAJOR_FAST:
|
|
83
|
-
return ['holiday', 'fast', 'major'];
|
|
84
|
-
|
|
85
|
-
case core.flags.MODERN_HOLIDAY:
|
|
86
|
-
return ['holiday', 'modern'];
|
|
87
|
-
|
|
88
|
-
case core.flags.SHABBAT_MEVARCHIM:
|
|
89
|
-
return ['mevarchim'];
|
|
90
|
-
|
|
91
|
-
case core.flags.MOLAD:
|
|
92
|
-
return ['molad'];
|
|
93
|
-
|
|
94
|
-
case core.flags.USER_EVENT:
|
|
95
|
-
return ['user'];
|
|
61
|
+
if (ev.cholHaMoedDay) {
|
|
62
|
+
return ['holiday', 'major', 'cholhamoed'];
|
|
63
|
+
}
|
|
96
64
|
|
|
97
|
-
|
|
98
|
-
return ['holiday', 'minor'];
|
|
65
|
+
var mask = ev.getFlags();
|
|
99
66
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
// fall through to string-based category
|
|
103
|
-
}
|
|
67
|
+
for (var i = 0; i < flagToCategory.length; i++) {
|
|
68
|
+
var attrs = flagToCategory[i];
|
|
104
69
|
|
|
105
|
-
|
|
106
|
-
|
|
70
|
+
if (mask & attrs[0]) {
|
|
71
|
+
return attrs.slice(1);
|
|
72
|
+
}
|
|
107
73
|
}
|
|
108
74
|
|
|
109
75
|
switch (desc) {
|
|
@@ -124,9 +90,6 @@ function getEventCategories(ev) {
|
|
|
124
90
|
case 'Rosh Hashana LaBehemot':
|
|
125
91
|
return ['holiday', 'minor'];
|
|
126
92
|
|
|
127
|
-
case 'Erev Tish\'a B\'Av':
|
|
128
|
-
return ['holiday', 'fast', 'major'];
|
|
129
|
-
|
|
130
93
|
default:
|
|
131
94
|
return ['holiday', 'major'];
|
|
132
95
|
}
|
package/dist/fullcalendar.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.
|
|
2
|
-
var hebcalFullCalendar=function(e,a,o){"use strict";var r={"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. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};function t(e){return e<10?"0"+e:""+e}function h(e){return e<0?"-00"+h(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function s(e){return h(e.getFullYear())+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())}var n=a.flags.DAF_YOMI|a.flags.OMER_COUNT|a.flags.SHABBAT_MEVARCHIM|a.flags.MOLAD|a.flags.USER_EVENT|a.flags.HEBREW_DATE;return e.eventToFullCalendar=function(e,t,h){var i=function(e){var o=e.getDesc();if("Fast begins"===o||"Fast ends"===o)return["zmanim","fast"];switch(e.getFlags()){case a.flags.OMER_COUNT:return["omer"];case a.flags.HEBREW_DATE:return["hebdate"];case a.flags.PARSHA_HASHAVUA:return["parashat"];case a.flags.DAF_YOMI:return["dafyomi"];case a.flags.ROSH_CHODESH:return["roshchodesh"];case a.flags.SPECIAL_SHABBAT:return["holiday","shabbat"];case a.flags.MINOR_FAST:return["holiday","fast"];case a.flags.MAJOR_FAST:return["holiday","fast","major"];case a.flags.MODERN_HOLIDAY:return["holiday","modern"];case a.flags.SHABBAT_MEVARCHIM:return["mevarchim"];case a.flags.MOLAD:return["molad"];case a.flags.USER_EVENT:return["user"];case a.flags.MINOR_HOLIDAY:return["holiday","minor"];case a.flags.MISHNA_YOMI:return["mishnayomi"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];switch(o){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"]}}(e),d=e.getFlags();"holiday"==i[0]&&d&a.flags.CHAG&&i.push("yomtov");var l=Boolean(e.eventTime),m=function(e){if(void 0!==e.eventTime)return!0;var o=e.getFlags();return o&a.flags.HEBREW_DATE?1!==e.getDate().getDate():!!(o&a.flags.DAF_YOMI)||!!(o&a.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(o&a.flags.SHABBAT_MEVARCHIM)}(e)?e.renderBrief():e.render(),c={title:m,start:l?a.Zmanim.formatISOWithTimeZone(t,e.eventTime):s(e.getDate().greg()),allDay:!l,className:i.join(" ")},f=e.renderBrief("he");f&&(c.hebrew=a.Locale.hebrewStripNikkud(f));var b=e.url();b&&(c.url=function(e,a,o,r,t){var h=new URL(e),s="www.hebcal.com"===h.host;if(s){a&&h.searchParams.set("i","on");var n=h.pathname,i=n.startsWith("/holidays/"),d=n.startsWith("/sedrot/"),l=n.startsWith("/omer/");if(i||d||l)return h.host="hebcal.com",h.pathname=i?"/h/"+n.substring(10):d?"/s/"+n.substring(8):"/o/"+n.substring(6),t&&(t.startsWith("ical-")||t.startsWith("pdf-"))||(o&&h.searchParams.set("us",o),r&&h.searchParams.set("um",r)),t&&h.searchParams.set("uc",t),h.toString()}return(o=s?o:"hebcal.com")&&h.searchParams.set("utm_source",o),r&&h.searchParams.set("utm_medium",r),t&&h.searchParams.set("utm_campaign",t),h.toString()}(b,h,"js","fc"));var u=e.getDesc();if(!("Havdalah"===u||"Candle lighting"===u)){var y=d&a.flags.PARSHA_HASHAVUA?function(e,r){var t=e.getFlags();if(t&n)return"";var h=t&a.flags.PARSHA_HASHAVUA?o.getLeyningForParshaHaShavua(e,r):o.getLeyningForHoliday(e,r),s="";return h&&(h.summary||h.haftara)&&(h.summary&&(s+="Torah: ".concat(h.summary)),h.summary&&h.haftara&&(s+="\n"),h.haftara&&(s+="Haftarah: "+h.haftara,h.reason&&h.reason.haftara&&(s+=" | "+h.reason.haftara))),h&&h.sephardic&&(s+="\nHaftarah for Sephardim: "+h.sephardic),s}(e,h):e.memo||r[e.basename()];y?c.description=y:void 0!==e.linkedEvent&&(c.description=e.linkedEvent.render())}return c},Object.defineProperty(e,"__esModule",{value:!0}),e}({},hebcal,hebcal__leyning);
|
|
1
|
+
/*! @hebcal/rest-api v4.3.1 */
|
|
2
|
+
var hebcalFullCalendar=function(e,a,o){"use strict";var t={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","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","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};function r(e){return e<10?"0"+e:""+e}function h(e){return e<0?"-00"+h(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function s(e){return h(e.getFullYear())+"-"+r(e.getMonth()+1)+"-"+r(e.getDate())}var n=[[a.flags.MAJOR_FAST,"holiday","major","fast"],[a.flags.CHANUKAH_CANDLES,"holiday","major"],[a.flags.DAF_YOMI,"dafyomi"],[a.flags.HEBREW_DATE,"hebdate"],[a.flags.MINOR_FAST,"holiday","fast"],[a.flags.MINOR_HOLIDAY,"holiday","minor"],[a.flags.MISHNA_YOMI,"mishnayomi"],[a.flags.MODERN_HOLIDAY,"holiday","modern"],[a.flags.MOLAD,"molad"],[a.flags.OMER_COUNT,"omer"],[a.flags.PARSHA_HASHAVUA,"parashat"],[a.flags.ROSH_CHODESH,"roshchodesh"],[a.flags.SHABBAT_MEVARCHIM,"mevarchim"],[a.flags.SPECIAL_SHABBAT,"holiday","shabbat"],[a.flags.USER_EVENT,"user"]];var i=a.flags.DAF_YOMI|a.flags.OMER_COUNT|a.flags.SHABBAT_MEVARCHIM|a.flags.MOLAD|a.flags.USER_EVENT|a.flags.HEBREW_DATE;return e.eventToFullCalendar=function(e,r,h){var d=function(e){var a=e.getDesc();if("Fast begins"===a||"Fast ends"===a)return["zmanim","fast"];if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];for(var o=e.getFlags(),t=0;t<n.length;t++){var r=n[t];if(o&r[0])return r.slice(1)}switch(a){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"];default:return["holiday","major"]}}(e),l=e.getFlags();"holiday"==d[0]&&l&a.flags.CHAG&&d.push("yomtov");var m=Boolean(e.eventTime),f=function(e){if(void 0!==e.eventTime)return!0;var o=e.getFlags();return o&a.flags.HEBREW_DATE?1!==e.getDate().getDate():!!(o&a.flags.DAF_YOMI)||!!(o&a.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(o&a.flags.SHABBAT_MEVARCHIM)}(e)?e.renderBrief():e.render(),c={title:f,start:m?a.Zmanim.formatISOWithTimeZone(r,e.eventTime):s(e.getDate().greg()),allDay:!m,className:d.join(" ")},b=e.renderBrief("he");b&&(c.hebrew=a.Locale.hebrewStripNikkud(b));var y=e.url();y&&(c.url=function(e,a,o,t,r){var h=new URL(e),s="www.hebcal.com"===h.host;if(s){a&&h.searchParams.set("i","on");var n=h.pathname,i=n.startsWith("/holidays/"),d=n.startsWith("/sedrot/"),l=n.startsWith("/omer/");if(i||d||l)return h.host="hebcal.com",h.pathname=i?"/h/"+n.substring(10):d?"/s/"+n.substring(8):"/o/"+n.substring(6),r&&(r.startsWith("ical-")||r.startsWith("pdf-"))||(o&&h.searchParams.set("us",o),t&&h.searchParams.set("um",t)),r&&h.searchParams.set("uc",r),h.toString()}return(o=s?o:"hebcal.com")&&h.searchParams.set("utm_source",o),t&&h.searchParams.set("utm_medium",t),r&&h.searchParams.set("utm_campaign",r),h.toString()}(y,h,"js","fc"));var u=e.getDesc();if(!("Havdalah"===u||"Candle lighting"===u)){var g=l&a.flags.PARSHA_HASHAVUA?function(e,t){var r=e.getFlags();if(r&i)return"";var h=r&a.flags.PARSHA_HASHAVUA?o.getLeyningForParshaHaShavua(e,t):o.getLeyningForHoliday(e,t),s="";return h&&(h.summary||h.haftara)&&(h.summary&&(s+="Torah: ".concat(h.summary)),h.summary&&h.haftara&&(s+="\n"),h.haftara&&(s+="Haftarah: "+h.haftara,h.reason&&h.reason.haftara&&(s+=" | "+h.reason.haftara))),h&&h.sephardic&&(s+="\nHaftarah for Sephardim: "+h.sephardic),s}(e,h):e.memo||t[e.basename()];g?c.description=g:void 0!==e.linkedEvent&&(c.description=e.linkedEvent.render())}return c},Object.defineProperty(e,"__esModule",{value:!0}),e}({},hebcal,hebcal__leyning);
|