varag=Object.create;varkr=Object.defineProperty;varrg=Object.getOwnPropertyDescriptor;varig=Object.getOwnPropertyNames;varog=Object.getPrototypeOf,sg=Object.prototype.hasOwnProperty;varnl=t=>kr(t,"__esModule",{value:!0});varQe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),lg=(t,e)=>{nl(t);for(varnine)kr(t,n,{get:e[n],enumerable:!0})},ug=(t,e,n)=>{if(e&&typeofe=="object"||typeofe=="function")for(letaofig(e))!sg.call(t,a)&&a!=="default"&&kr(t,a,{get:()=>e[a],enumerable:!(n=rg(e,a))||n.enumerable});returnt},xe=t=>ug(nl(kr(t!=null?ag(og(t)):{},"default",t&&t.__esModule&&"default"int?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);varVn=Qe((so,lo)=>{(function(t,e){typeofso=="object"&&typeoflo!="undefined"?lo.exports=e():typeofdefine=="function"&&define.amd?define(e):(t=typeofglobalThis!="undefined"?globalThis:t||self,t["fast-copy"]=e())})(so,function(){"use strict";vart=Function.prototype.toString,e=Object.create,n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,o=Object.getPrototypeOf,l=Object.prototype,s=l.hasOwnProperty,d=l.propertyIsEnumerable,u={SYMBOL_PROPERTIES:typeofi=="function",WEAKMAP:typeofWeakMap=="function"},c=function(){if(u.WEAKMAP)returnnewWeakMap;varA=e({has:function(S){return!!~A._keys.indexOf(S)},set:function(S,_){A._keys.push(S),A._values.push(_)},get:function(S){returnA._values[A._keys.indexOf(S)]}});returnA._keys=[],A._values=[],A},h=function(A,S){if(!A.constructor)returne(null);var_=A.constructor,F=A.__proto__||o(A);if(_===S.Object)returnF===S.Object.prototype?{}:e(F);if(~t.call(_).indexOf("[native code]"))try{returnnew_}catch{}returne(F)},y=function(A,S,_,F){varw=h(A,S);F.set(A,w);for(varMinA)s.call(A,M)&&(w[M]=_(A[M],F));if(u.SYMBOL_PROPERTIES){varx=i(A),V=x.length;if(V)for(varB=0,H=void0;B<V;B++)H=x[B],d.call(A,H)&&(w[H]=_(A[H],F))}returnw},m=function(A,S,_,F){varw=h(A,S);F.set(A,w);varM=u.SYMBOL_PROPERTIES?r(A).concat(i(A)):r(A),x=M.length;if(x){for(varV=0,B=void0,H=void0;V<x;V++)if(B=M[V],B!=="callee"&&B!=="caller")if(H=a(A,B),H){!H.get&&!H.set&&(H.value=_(A[B],F));try{n(w,B,H)}catch{w[B]=H.value}}elsew[B]=_(A[B],F)}returnw},v=function(A){varS="";returnA.global&&(S+="g"),A.ignoreCase&&(S+="i"),A.multiline&&(S+="m"),A.unicode&&(S+="u"),A.sticky&&(S+="y"),S},p=Array.isArray,k=function(){if(typeofself!="undefined")returnself;if(typeofwindow!="undefined")returnwindow;if(typeofglobal!="undefined")returnglobal;console&&console.error&&console.error('Unable to locate global object, returning "this".')}();functionC(A,S){var_=!!(S&&S.isStrict),F=S&&S.realm||k,w=_?m:y,M=function(x,V){if(!x||typeofx!="object")returnx;if(V.has(x))returnV.get(x);varB=x.constructor;if(B===F.Object)returnw(x,F,M,V);varH;if(p(x)){if(_)returnm(x,F,M,V);varY=x.length;H=newB,V.set(x,H);for(varhe=0;he<Y;he++)H[he]=M(x[he],V);returnH}if(xinstanceofF.Date)returnnewB(x.getTime());if(xinstanceofF.RegExp)returnH=newB(x.source,x.flags||v(x)),H.lastIndex=x.lastIndex,H;if(F.Map&&xinstanceofF.Map)returnH=newB,V.set(x,H),x.forEach(function(oe,ce){H.set(ce,M(oe,V))}),H;if(F.Set&&xinstanceofF.Set)returnH=newB,V.set(x,H),x.forEach(function(oe){H.add(M(oe,V))}),H;if(F.Blob&&xinstanceofF.Blob)returnx.slice(0,x.size,x.type);if(F.Buffer&&F.Buffer.isBuffer(x))returnH=F.Buffer.allocUnsafe?F.Buffer.allocUnsafe(x.length):newB(x.length),V.set(x,H),x.copy(H),H;if(F.ArrayBuffer){if(F.ArrayBuffer.isView(x))returnH=newB(x.buffer.slice(0)),V.set(x,H),H;if(xinstanceofF.ArrayBuffer)returnH=x.slice(0),V.set(x,H),H}returntypeofx.then=="function"||xinstanceofError||F.WeakMap&&xinstanceofF.WeakMap||F.WeakSet&&xinstanceofF.WeakSet?x:w(x,F,M,V)};returnM(A,c())}returnC.default=C,C.strict=function(S,_){returnC(S,{isStrict:!0,realm:_?_.realm:void0})},C})});varal=Qe(xr=>{"use strict";Object.defineProperty(xr,"__esModule",{value:!0});xr.default=void0;varcg={sum:function(e){returne.reduce(function(n,a){returnn+a})}},dg=cg;xr.default=dg});varFr=Qe((Eb,rl)=>{functionfg(
Inordertobeiterable,non-arrayobjectsmusthavea[Symbol.iterator]()method.`)}var a,r=!0,i=!1,o;return{s:function(){a=t[Symbol.iterator]()},n:function(){var s=a.next();return r=s.done,s},e:function(s){i=!0,o=s},f:function(){try{!r&&a.return!=null&&a.return()}finally{if(i)throw o}}}}function b2(t,e){if(!!t){if(typeof t=="string")return Zl(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zl(t,e)}}function Zl(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a}function Kl(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,a)}return n}function w2(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Kl(Object(n),!0).forEach(function(a){D2(t,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Kl(Object(n)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(n,a))})}return t}function D2(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var _2={count:5,hueMin:0,hueMax:360,chromaMin:0,chromaMax:100,lightMin:0,lightMax:100,quality:50,samples:800},Ql=function(e,n){for(var a=Number.MAX_SAFE_INTEGER,r=0,i=0;i<e.length;i+=1){var o=e[i],l=Math.sqrt(Math.pow(Math.abs(o[0]-n[0]),2)+Math.pow(Math.abs(o[1]-n[1]),2)+Math.pow(Math.abs(o[2]-n[2]),2));l<a&&(a=l,r=i)}return r},E2=function(e,n){var a=Nr.default.lab(e),r=a.hcl(),i=a.rgb(),o=Nr.default.rgb(i).lab(),l=2;return r[0]>=n.hueMin&&r[0]<=n.hueMax&&r[1]>=n.chromaMin&&r[1]<=n.chromaMax&&r[2]>=n.lightMin&&r[2]<=n.lightMax&&o[0]>=e[0]-l&&o[0]<=e[0]+l&&o[1]>=e[1]-l&&o[1]<=e[1]+l&&o[2]>=e[2]-l&&o[2]<=e[2]+l},C2=function(e){for(var n=e.slice(0),a=[n.shift()];n.length>0;){for(var r=a[a.length-1],i=0,o=Number.MIN_SAFE_INTEGER,l=0;l<n.length;l+=1){var s=Math.sqrt(Math.pow(Math.abs(r[0]-n[l][0]),2)+Math.pow(Math.abs(r[1]-n[l][1]),2)+Math.pow(Math.abs(r[2]-n[l][2]),2));s>o&&(o=s,i=l)}a.push(n.splice(i,1)[0])}return a},A2=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=w2({},_2,{},e);if(n.count<=0)return[];n.samples<n.count*3&&(n.samples=Math.ceil(n.count*3));var a=[],r=[],i=new Set,o=Math.ceil(Math.cbrt(n.samples)),l=(n.hueMax-n.hueMin)/o,s=(n.chromaMax-n.chromaMin)/o,d=(n.lightMax-n.lightMin)/o;if(l<=0)throw new Error("hueMax must be greater than hueMin!");if(s<=0)throw new Error("chromaMax must be greater than chromaMin!");if(d<=0)throw new Error("lightMax must be greater than lightMin!");for(var u=n.hueMin+l/2;u<=n.hueMax;u+=l)for(var c=n.chromaMin+s/2;c<=n.chromaMax;c+=s)for(var h=n.lightMin+d/2;h<=n.lightMax;h+=d){var y=Nr.default.hcl(u,c,h).lab();E2(y,n)&&i.add(y.toString())}if(i=Array.from(i),i=i.map(function(ve){return ve.split(",").map(function(Ne){return parseFloat(Ne)})}),i.length<n.count)throw new Error("Not enough samples to generate palette, increase sample count.");for(var m=Math.floor(i.length/n.count),v=0;v<i.length&&(a.push(i[v]),r.push([]),!(a.length>=n.count));v+=m);for(var p=1;p<=n.quality;p+=1){for(var k=(0,bo.default)(r),C=(0,bo.default)(i),A=0;A<a.length;A+=1){var S=Ql(C,a[A]);k[A].push(C[S]),C.splice(S,1)}for(var _=0;_<C.length;_+=1){var F=i[_],w=Ql(a,F);k[w].push(i[_])}for(var M=(0,bo.default)(a),x=0;x<k.length;x+=1){var V=k[x],B=V.length,H=[],Y=[],he=[],oe=v2(V),ce;try{for(oe.s();!(ce=oe.n()).done;){var Z=ce.value;H.push(Z[0]),Y.push(Z[1]),he.push(Z[2])}}catch(ve){oe.e(ve)}finally{oe.f()}var z=vo.default.sum(H)/B,Q=vo.default.sum(Y)/B,De=vo.default.sum(he)/B;a[x]=[z,Q,De]}if((0,y2.default)(M,a))break}return a=C2(a),a.map(function(ve){return Nr.default.lab(ve)})},k2=A2;Or.default=k2});var Jl=Qe((qr,za)=>{(function(t){var e=typeof qr=="object"&&qr,n=typeof za=="object"&&za&&za.exports==e&&za,a=typeof global
AlsocelebratedonthisdateistheSanctificationofRenewal,asacredholidaytothefollowersofGaryx.`,id:"824574",note:null,date:{day:null,year:null,month:null},category:null},{name:"Summer Solstice",description:" At the summer solstice, the Sun travels the longest path through the sky, and that day therefore has the most daylight.",id:"824575",note:null,date:{day:null,year:null,month:null},category:null},{name:"Autumn Equinox",description:"The 4th of Brewfest is the Autumnal Equinox, when the sun crosses the equator from north to south. This date is the official end of high summer and the beginning of autumn on the Greyhawk Calendar. This date is holy to Wenta and is sometimes regarded as an unofficial holy day of Velnius. Among the xvarts, it also marks the celebration of Raxivort's Orgy. The worshippers of Rillifane Rallathil celebrate the Transformation on this day, a time of dancing and spiritual rebirth marking the beginning of autumn and the promise that spring will come again.",id:"824576",note:null,date:{day:null,year:null,month:null},category:null},{name:"Great Moons Glory",description:"The night of Great Moon's Glory on Readying 11th, when Luna is full but Celene is new. It is holy to Celestian, and a time when offerings are left to Atroa to beg her to come early and to Telchur to request that he peacefully leave. Druids of the Old Faith are known to also hold this night as auspicious, but few outside their circles know the details.",id:"824577",note:null,date:{day:null,year:null,month:null},category:null},{name:"Dark Night",description:`DarkNight,alsocalledBlackNight,StarNight,andtheNightofHopefulDawn,isobservedonGoodmonth11.ItisaholynightforthechurchofCelestianbecausethestarsaresoeasytoobservewithoutthelightofoneofthemoonsgettingintheway.
ThepriesthoodofKurellconsideritholy,too,callingitKurell's Night, requiring the faithful to undertake special missions on this night to prove their cleverness and skill. Kurell smiles particularly on acts of theft or vengeance performed on his holy night, blessing those who do so successfully. Donations to Kurell'schurchareencouragedafterwards,forKurellmaytakevengeanceagainstthosewhodonotproperlythankhimforhisaid.
Thisdayis,amongtheelves,mostlyanexcusetogoorc-hunting.ElvenwarriorscutthemselveswithdaggerscarvedfromvolcanicglasstoremindthemselvesofCorellon's own wound from Gruumsh'sspear,thenstrivetoslaughterasmanyorcsaspossibleduringthenight.`,id:"824579",note:null,date:{day:4,year:null,month:8},category:null},{name:"Blood Moon Festival",description:`TheBloodMoonFestivaliscelebratedonColdeven11,thenightwhenLunaisfulljustbeforetheSpringEquinox.Onthisnight,cursesaresaidtobetwiceaspowerfulandtheforcesofevilareattheirstrongest.Fiendsroamthelands,andhumansacrificeiscommon.ThisnightisheldespeciallysacredbycultistsofNerull,butworshipersofKurellalsomarkthisnightasespeciallyauspiciousforactsofvengeance.Goodlyfolksuperstitiouslyguardtheirhomeswithhorseshoes,holywater,bottlesofmilk,andironfilings.
TheelvescallthisweekFallrite,anduseittocontemplatethespiritsoftheirancestors,thepassagetotheafterworld,andthefragilityoflife.TheybelieveotherracesmakemerryduringBrewfestbecausetheyare"hiding"toavoidfacingdeath'sreality.Incontrast,theolvenfolkstrivetofulfillthemostimportantoftheirdutiesandreachthemostcrucialoftheirdecisionsduringthistimeofyear.TheelvenkingsandqueenstraditionallyjudgecapitalcasesduringFallrite.`,id:"824582",note:null,date:{day:4,year:null,month:12},category:null},{name:"Faerieluck",description:"Faerieluck is a holiday celebrated by the elves in early spring, when the power of Faerie runs high and they celebrate with their fey cousins: the sprites, buckawns, pixies, nymphs and so forth. The point of the festival is to remind the elves of their ancient kinship with these creatures. The day is spent playing practical jokes, engaging in battles of wit, and general merriment.",id:"824583",note:null,date:{day:11,year:null,month:2},category:null},{name:"Feast of Edoira",description:`TheFeastofEdoiraisaholidaycelebratedintheDomainofGreyhawkonGrowfest4,duringtheSpringEquinox.ItisnamedafterEdoira,apriestofRaowhocenturiesagoestablishedtheEdoiranCompact,apactbywhichmanyofthelawfulgood-alignedfaithsandpeopleoftheDomaincouldagreetocooperate.TheCompactwaslaterextendedtonon-lawfulgoodandneutralfaiths.
EdoirawasneverdeifiedbutwasreveredbymanygoodfaithsintheDomain.TheholidaywasmarkedbyreligiousservicesonGodsdayofGrowfestledbytheclericsofthegoodfaithswhopartookoftheCompact,andsecularfestivalsbytheordinarycitizenry.Observanceoftheholidayhasdeclinedovertheyears,thoughtheclergiesofRaoandPelorstillholdtheirtraditionalinterfaithservices,withoccasionalparticipationbythepriesthoodsofHeironeousandMayaheine.SincetheendoftheGreyhawkWarsmostoftheDomain'soutlyingcommunitiesnolongerobservetheholiday.OnlyonechurchinSafetonstilldoesso.`,id:"824584",note:null,date:{day:4,year:null,month:4},category:null},{name:"Desportium of Magic",description:`ThehighlightofGrowfestistheDesportiumofMagic.Duringthisdaytorchlightonly,nomagicilluminationissupposedtobeused.WizardsandSorcerersthenperformfeatsofillusionandmagictryingtooutdooneanotherwiththeirdisplays.Usuallythereisapanelofjudgestodecide,inthelargercitiesthereisusuallyalimitof5-personteamscompeting.EachperformanceduringtheDesportiumofMagicusesalongestablishedtheme,thatofanattackonthetownbyvariousmonstersandDarkElves,repelledbybravewarriorsandspellcasters.Thedisplays,madeupofanynumberofspellscastwithouttheuseofmagicdevices,cannotactuallycauseanyharmtopropertyorpeople,butmustbeaswonderful,striking,detailed,andlifelikeaspossible.
ThismotifisbasedonactualattacksthroughtheyearsfromtheUttermostWartothemostrecentGreatSlaveRaids.Theideaistomaketheattackersasdreadfulaspossibleandthedefendersasheroicaspossible,secondaryistomakesurethatpeoplewillalwaysremembertheterroroftheUttermostWar.InlargecitiesliketheCSIOandCSWEandTarantis,theseperformanceslastallnightandareamazingtowatch.Insmallervillageswithoutspellcasters,puppetplaysareoftendoneinitsstead.`,id:"824585",note:null,date:{day:7,year:null,month:4},category:null},{name:"Holy Day of Pelor",description:`TheHolyDayofPelor,alsoknownasGivingDayandMidsummer'sDay,iscelebratedontheSummerSolstice.
PublicservicesareheldfromdawnuntilnoonbyPelor's priests, outdoors if the weather permits (which if almost always does, as the clerics use weather-controlling magic for maximum sunlight). Even Greyhawk City'slargetempleofPelorisnotbigenoughtoholdthethrongswhocometocelebrateonthisday,sothrongsofthefaithfulfillthetemplegroundsintheGardenQuarter,spillingoutfromtheMillstreamtotheNobles' Wall, and to the road leading toward Greyhawk'sGrandTheater.Manycome,ofcourse,forthefreemealthepriestsprovideaftertheservice.ThePelorianpriestsarewellawareofthis,butbelievethatfortheneedy,afullstomachmustcomebeforewisdomandlearning.MembersofGreyhawk's Guild of Thieves and Beggar'sUnion,manyofwhomrememberMidsummer'sDayfondlyfromtheirorphanedchildhoods,bothprotectpriestsofPeloronthisday,andwoeontothosewhoattempttotestthemonthismatter.
SomecrusadingPelorianscrusadeagainstevillycanthropesonthisnight,sincebothCeleneandLunaarefull.`,id:"824586",note:null,date:{day:4,year:null,month:8},category:null},{name:"Holy Day of Serenity",description:"The Holy Day of Serenity, on Reaping 10, is celebrated in Veluna as a holy day of Rao, though it's actually the anniversary of Veluna's secession from Furyondy in 476 CY. It is celebrated with religious singing and worship.",id:"824587",note:null,date:{day:10,year:null,month:9},category:null}],id:null,categories:[{name:"Natural Events",id:"natural-events",color:"#2E7D32"},{name:"Religious Holidays",id:"religious-holidays",color:"#FFEB3B"},{name:"Secular Holidays",id:"secular-holidays",color:"#0D47A1"},{name:"Magical Events",id:"magical-events",color:"#311B92"},{name:"Miscellaneous Events",id:"miscellaneous-events",color:"#0288D1"}]},{name:"Calendar of Golarion",description:"Calendar for the world of Pathfinder.",autoParse:!1,path:"/",supportTimelines:!1,syncTimelines:!1,timelineTag:"#timeline",static:{displayDayNumber:!1,firstWeekDay:0,incrementDay:!1,displayMoons:!0,overflow:!0,weekdays:[{type:"day",name:"Moonday",id:"ID_db8af8f85b8a"},{type:"day",name:"Toilday",id:"ID_f87a094b2849"},{type:"day",name:"Wealday",id:"ID_2a5bb88b3ae8"},{type:"day",name:"Oathday",id:"ID_c93a0be8981b"},{type:"day",name:"Fireday",id:"ID_2b7b59794a0b"},{type:"day",name:"Starday",id:"ID_baaa6a89ca1b"},{type:"day",name:"Sunday",id:"ID_f9baca088b28"}],months:[{name:"Abadius",type:"month",length:31,id:"ID_dad9da89f818"},{name:"Calistril",type:"month",length:28,id:"ID_980a88cb9b68"},{name:"Pharast",type:"month",length:31,id:"ID_a9c96ac80908"},{name:"Gozran",type:"month",length:30,id:"ID_a99a697b9abb"},{name:"Desnus",type:"month",length:31,id:"ID_8bcad9a8f84a"},{name:"Sarenith",type:"month",length:30,id:"ID_484a49a998db"},{name:"Erastus",type:"month",length:31,id:"ID_9a48e9b96938"},{name:"Arodus",type:"month",length:31,id:"ID_bbe99b2afaea"},{name:"Rova",type:"month",length:30,id:"ID_ba39fbe8c8b8"},{name:"Lamashan",type:"month",length:31,id:"ID_69d93ba9dba8"},{name:"Neth",type:"month",length:30,id:"ID_4ad8fb79eb6a"},{name:"Kuthona",type:"month",length:31,id:"ID_9a3a8b388939"}],moons:[{name:"Somal",cycle:29.5,offset:9.5,faceColor:"#ffffff",shadowColor:"#292b4a",id:"ID_b87ab959cac9"}],leapDays:[{name:"Leap Day",type:"leapday",interval:[{ignore:!1,exclusive:!1,interval:8}],offset:0,timespan:1,intercalary:!1,id:"ID_88c8da3b8b2b"}],eras:[{name:"Age of Serpents",description:"",format:"Year {{year}} - {{era_name}}",start:{year:4720,month:8,day:15}},{name:"Age of Darkness",description:"",format:"Year {{abs_year}} - {{era_name}}",start:{year:-5300,month:0,day:1}},{name:"Age of Anguish",description:"",format:"Year {{year}} - {{era_name}}",start:{year:-4500,month:8,day:1}},{name:"Age of Destiny",description:"",format:"Year {{year}} - {{era_name}}",start:{year:-3500,month:8,day:1}},{name:"Age of Enthronement",description:"",format:"Year {{year}} AR - {{era_name}}",start:{year:1,month:8,day:1}},{name:"Age of Lost Omens",description:"",format:"Year {{year}} AR - {{era_name}}",start:{year:4606,month:8,day:1}}]},current:{year:4720,day:15,month:0},events:[{name:"Summer Solstice",description:"At the summer solstice, the Sun travels the longest path through the sky, and that day therefore has the most daylight.",id:"824492",note:null,date:{day:null,year:null,month:null},category:null},{name:"Winter Solstice",description:"The winter solstice marks the shortest day and longest night of the year, when the sun is at its lowest arc in the sky.",id:"824493",note:null,date:{day:null,year:null,month:null},category:null},{name:"Spring Equinox",description:"The equinox marks the day and the night is equally as long.",id:"824494",note:null,date:{day:null,year:null,month:null},category:null},{name:"Autumn Equinox",description:"The equinox marks the day and the night is equally as long.",id:"824495",note:null,date:{day:null,year:null,month:null},category:null},{name:"Eternal Kiss",description:`Zon-Kuthon
Culminatingonthefirstnewmoonofthenewyear,theEternalKissisan11dayceremonyhonoringZon-Kuthon.Onthefinalday,alivingsacrificeismadetotheDarkPrince,afterthevictimispamperedandpleasuredforthetendaysprior.Thesacrificecaneitherbeanenemyoragreatdevoteeofthechurch,andiskeptaliveforaslongaspossibleduringthetortureusingmagic.Thisholidayofteninvolvesfortune-tellingasapartofthetorture,usingthevictim's entrails or their cries of pain to determine the Midnight Lord'swill.OccasionallyitisbelievedthatthesacrificewillprophesywiththevoiceofZon-Kuthonhimself.`,id:"824496",note:null,date:{day:null,year:null,month:null},category:null},{name:"Longnight",description:"Longnight is a holiday celebrated on the full moon in the winter month of Abadius. During the festival, revelers stay up all night to greet the dawn to defy the long winter months. It is even celebrated in Irrisen, where there are no natural seasons.",id:"824497",note:null,date:{day:null,year:null,month:0},category:null},{name:"Foundation Day",description:`Absalom,Milani
PjallaraneDayisanancientholidayinIrrisencelebratedon1Abadius(NewYear's Day). Every 100 years, Baba Yaga returns to Golarion to remove her daughter from the throne of Irrisen, and put another daughter on the throne instead. In 3713 AR the third Queen of Irrisen, Pjallarane, and her children chose to resist. Baba Yaga ruthlessly crushed the rebellion in a single day, which is now celebrated as a holiday. The festival includes feasting and the burning of effigies of tar and straw. This is a reminder of the fate of Pjallarane'sfollowers,whowereburnedaliveasawarningtoallthosewhowouldopposeBabaYaga.`,id:"824499",note:null,date:{day:1,year:null,month:0},category:null},{name:"Vault Day",description:`Abadar
TheGolemwalkParadeisaparadeofgolemscreatedbyamateurshopingtowinamonetarygrant,orevenajob,fromtheGolemworksinMagnimar.AttheendoftheparadealongtheAvenueofHonors,theconstructsarejudged.`,id:"824506",note:null,date:{day:null,year:null,month:2},category:null},{name:"Day of Bones",description:`Pharasma
PriestsandworshipersoftheLadyofGravesparadethebodiesoftherecentlydeadonthisholiday,holdingfreeburialsafterwards.`,id:"824507",note:null,date:{day:5,year:null,month:2},category:null},{name:"Sable Company Founding Day",description:`Korvosa
SableCompanyFoundingDayisaholidaymarkingthefoundingoftheSableCompanyoftheVarisiancity-stateofKorvosa.Celebratedon6Pharast,thedayismarkedbysombermilitaryparadesthatgenerallyprecludetheconsumptionofalcohol,astapleonmostotherholidays.`,id:"824508",note:null,date:{day:6,year:null,month:2},category:null},{name:"Night of Tears",description:`Solku
Everyyear,onthe26thofPharast,ElderArchitectOblosk\u2014oldestmemberofNex's Council of Three and Nine \u2014 ascends to the highest balconies of the Bandeshar in Quantium. In a voice made thunderous by the platform'smagic,thewizenedpechcouncilmanspendsthehoursfromdusktojustpastnoonenumeratingtheatrocitiescommittedbythenecromancersofGebuponthepeopleofNex,culminatingwiththedisappearanceofthearchwizardNexhimself.Attheconclusionofthisrecordofnationalwounds,thecountry's eleven other council members join Oblosk in renewing their yearly vow to neither forget nor forgive the Gebbites'atrocitiesandtoagainswearintheirlostruler'snametoendlesslywagewaragainsttheirancientenemies.
Onthisday,knownasConquestDay,allthepeopleofNexareexpectedtoshareintheirleaders'oaths,tocelebratethesharedpatriotismoftheirwondrousnation,andtorememberthesacrificesofheroespast.ThisalsomakesitadayformanyNexianwizardstorevealdeadlynewspells,giganticconstructs,andaudaciousarcanemasterworks\u2014whichmanycreatorspromisetobethedoomoftheirfoes.EventhroughouttherestoftheInnerSearegion,manycrusaders,rebels,andzealotsobserveConquestDayasadaytorenewbloodoaths,launchlong-plannedbattles,andfinallytakerevenge.Itisadayforwordsofhonor,adayforbattlecries,andadaywhereglorymostfavorsthebold.`,id:"824511",note:null,date:{day:26,year:null,month:2},category:null},{name:"Days of Wrath",description:`Asmodeus,Cheliax
Foraholidaythatrevolvesaroundpayingtaxes,thisAbadaranfestivalisnotasreviledasonemightexpect.`,id:"824516",note:null,date:{day:15,year:null,month:3},category:null},{name:"Wrights of Augustana",description:`Andoran,Brigh
ThislocalfestivalintheAndoranportcityofAugustanaisheldtohonorandcelebratethelocalshipbuildingindustryaswellasthenavy.ThemathematicsandengineeringrequiredforthebuildingoftheshipsispraisedbyBrigh'sfaithful.`,id:"824517",note:null,date:{day:16,year:null,month:3},category:null},{name:"Gala of Sails",description:`Absalom
AngelDayisalocalMagnimarianholidaycelebratedon31Desnus.Theannualcelebrationmarksthefoundingofthecity,anditsfounders'flightfromKorvosa.Italsohonorsthepresenceandpopularworshipoftheempyreallords,whichpredatesthecitybycenturies.Duringthefestival,nearlyalllocalbusinessesshuttheirdoorsandthecitizenstakepartincountlessfeasts,masqueradeballsdressedasangels,andtheburningofdevileffigiesmeanttosymbolizeinfernally-influencedKorvosa.`,id:"824520",note:null,date:{day:31,year:null,month:4},category:null},{name:"Old-Mage Day",description:"Holiday celebrating Old-Mage Jatembe, the father of Garundi magic.",id:"824521",note:null,date:{day:13,year:null,month:4},category:null},{name:"Multiple Events",description:`FestivaloftheRulingSun
Inheritor's Ascendance, originally called 'Herald's Day',honoursthedaythatIomedaewaschosenbythegodArodentobecomehisherald(thusreplacingArazni),thusboostingherpowerbeyondthatofafledglinggoddess.ThisholidaywasrenamedafterthedemiseofAroden.`,id:"824527",note:null,date:{day:1,year:null,month:7},category:null},{name:"First Crusader Day",description:`Mendev
HolidayincelebrationofthecontinuingcrusadeagainstthedemonsoftheWorldwound.`,id:"824528",note:null,date:{day:6,year:null,month:7},category:null},{name:"Day of Silenced Whispers",description:`Ustalav
Theraucous,week-longfestivalknownasArmasseisheldeachyearbeginningon16Arodus.Thecelebration\u2014oncededicatedtothegodAroden\u2014isstillimportanttothefaithfulofIomedae,whouseittotraincommonersincombat,ordainapprenticeclergy,picksquiresforknights,andteachmilitaryhistory,hopingtopreventthemistakesofthepastfrombeingrepeated.AmongthosenotdedicatedtotheInheritortheholidayhaslostmostofitsreligioussignificancesinceAroden's death, tending now only toward wild partying, a fact that has precluded the diabolist authorities of Cheliax from prohibiting Armasse outright. Nevertheless, in places where the church of Asmodeus is openly allowed, it hosts special activities for its parishioners during the same week in an effort to counter the influence of the holiday. The city of Corentyn is especially known for its extravagant Armasse festivities.`,id:"824531",note:null,date:{day:16,year:null,month:7},category:null},{name:"Saint Alika'sBirthday",description:`Korvosa
Archer's Day or Archerfeast is a holiday of the god Erastil held annually on the 3rd of Erastus. Despite the holiday'soriginsintheworshipofErastil,commoncountryfolkfromtheLandsoftheLinnormKingstoTaldorcelebratetheheightofsummerwithadaysetasideforestablishingnewrelationships,enjoyingcurrentcamaraderie,andcelebratingthegiftsofthegods.Archerycompetitionsareheldfrequentlyinwhichthementesttheirskillwiththebowthroughprogressivelyhardertrials.Theexactformofcompetitionisdifferentfromplacetoplace,andthewinnerisawardedarackofelkhornsandaquiverofblessedarrows.Heisalsogiventhetitleof"Protector",whichheholdsuntilthenextyear.
Whiletheday's events at most Archerfeast fairs are filled with games, food, and crafts, the night brings dancing, drinking, pranks, and the crowning of the princes and princesses of spring and summer for the two single youths and two single adults who fared best in the day'sevents.Thefestivitiescontinuelateintotheevening,butendpromptlyatmidnight,sothatintrueErastilianfashionthenextday's responsibilities are not overly impeded. For those not of Erastil'sflock,however,privateparties,drinking,andtrystingcarryonlongintothenextmorning.`,id:"824533",note:null,date:{day:3,year:null,month:6},category:null},{name:"Founding Festival",description:`Korvosa
CrabfestisaKorvosanholidayheldonthefirstWealdayofRova.ItcelebratesthereturnofthecrabsfromthecoolerwatersoftheJeggareRivertotheirwinterhabitatinConqueror'sBay,andismarkedbycrabboilfeastsheldthroughoutthecityanditssurroundingcommunities.`,id:"824540",note:null,date:{day:null,year:null,month:8},category:null},{name:"Feast of Szurpade",description:`Irrisen
This"celebration of plenty"festivalmocksthetraditionalharvestfestivalscelebratedintheregionbeforeBabaYagaandhereternalwinterdescendedupontheland.`,id:"824541",note:null,date:{day:26,year:null,month:8},category:null},{name:"Day of Sundering",description:`Ydersius
Tomany,theTestoftheStarstonerepresentsthegreatestofallchallenges,yetforIomedaeitwasoneofthreestoriedpromotionsinherrisefromAroden's herald to a goddess in her own right. On the 6th of Lamashan, the Inheritor'sfaithfulobservetheheroismofIomedae'slifebeforehermomentofascensionandcelebratetheanniversaryoftheapotheosisitself.
Asthedaycontinues,thepriestsorganizejoustsandmockbattles,allowinganyonetoparticipatesolongasshecandemonstrateenoughskilltonotbearisktoherselforothers.Thewinnersoftheseconteststhenfacetestsofmentalacuitysuchassolvingriddles,decipheringphilosophicalquandaries,andansweringquestionsofhonorandjustice.Thosewhoprovethemselvesinbothcontestsareawardedawhitecloak\u2014representingtheInheritoratpeace\u2014styledafterIomedae's own red garment to wear for the rest of the celebration. Feasting and singing follow the competitions, mirroring the jubilation that followed Iomedae'sascension.Thisisoccasionformakingpledgesoffriendshipandforgivingenemies,andpriestscirculateaboutthecrowdofferingtheInheritor's blessing to those who do and providing a moment'scounselormediationforthosewhoneedanextranudge.
Thecelebrationtypicallyendsbeforemidnight,andthefollowingdaythepriestsandpreviousday's champions gather up the blunted swords from the mock battles, sharpen them, and distribute them among the church'sarmoryandthoseoflike-mindedorganizationssothatallmayremainvigilantagainstevilandpreparedtostrikeitdown.`,id:"824544",note:null,date:{day:6,year:null,month:9},category:null},{name:"Bastion Day",description:`Solku
WhileJestercaphasbeenembracedwithexcitedopenarmsbythegnomecommunitiesoftheInnerSearegion,itsoriginalgenesisissaidtohavebeeninoneofTaldor's coastal cities not long after King Aspex the Even-Tongued broke from the nation, significantly weakening Taldor'spowerandbeginningthatnation'slongdecline.TheholidaywasoriginallyintendedtodistractthedistraughtTaldanpopulacewithanightofrevelryandcomedicentertainment,buttheanticsofjestersweresimplynotenough.
FollowersofChaldiraZuzaristan,ahalflingdeityofmischief,treatJestercapasaholydayandtheirpranks\u2014oftenelaborateandextravagantinnatureandplottedformonthsinadvance\u2014asdisplaysoftheirfaith.`,id:"824546",note:null,date:{day:27,year:null,month:9},category:null},{name:"Feast of the Survivors",description:`Zon-Kuthon,Nidal
Historiansnotethattheoriginal"Dance of the Seven Veils"hasamuchdifferentgenesisthanonepromotingdiversity\u2014themysteriouscultofSivanah,goddessofillusions,mystery,andreflections,isgenerallycitedasthesourceofthisfestival,andindeed,worshippersofthegoddess(herselfknownastheSeventhVeil)countthe23rdofNethasoneoftheirmostsacredofdays.WhatritualsthechurchofSivanahperformsonthisdate,however,areunknowntooutsiders,forthecultenjoysitssecrets.Thissecrecyhas,unsurprisingly,givenrisetoallmannerofsinisterrumour,yetwhenSevenVeilsrollsaroundeachyear,itseagerparticipantsarequicktosetasiderumourinpreferenceforthenight'sfunandgames.`,id:"824550",note:null,date:{day:23,year:null,month:10},category:null},{name:"Abjurant Day",description:`Nethys
AbjurantDayoccurson8Nethandisknownasadayofcooperationbetweenneighborstoshoreupmutualdefensesandtrainalliesinmagic.Potentialapprenticesareoftentestedontheday.`,id:"824551",note:null,date:{day:8,year:null,month:10},category:null},{name:"Great Fire Remembrance",description:`Korvosa
ThoughEvokingDayisprimarilyadayofgrandmagic,thosewithnospellcastingtalentstillflocktolocaltemplesofNethystopartakeinthesharedfeastandflashyeveningdisplaysofmagicandfireworks.Betweenthemealandintothenight,celebrantswearblack-and-whiterobesandperformjoyousdancesmeanttogivethankstothewondersNethysbroughttohumankind.Thesedancesaregrandaffairsinvolvingdozensofdancersallspinningandclappingtotheaccompanyingmusicastheirblack-and-whiterobesfanoutaroundthemwitheachspin.Asnightdescendsandthefireworksandmagicaldisplaysbegin,thedancingrisestoaclimaxeruptinginshoutsandcallstoNethyswitheachthunderousboom.`,id:"824554",note:null,date:{day:18,year:null,month:10},category:null},{name:"Baptism of Ice",description:`Irrisen
TransmutatumisoneofthethreemajorholidaysofthechurchofNethys,on28thofNeth.Itisadayofreflectionandself-improvement.ManyfollowersofNethysbeginresearchandcraftingprojectsonthisday.`,id:"824556",note:null,date:{day:28,year:null,month:10},category:null},{name:"Winter Week",description:"Traditional feast; time for courting and spending time with friends.",id:"824557",note:null,date:{day:null,year:null,month:11},category:null},{name:"The Shadowchaining",description:`Zon-Kuthon,Nidal
Korvosa's Pseudodragon Festival, a holiday celebrated annually on 7 Kuthona, marks the winter migration of wild pseudodragons from the Mindspin Mountains to Conqueror'sBay,whichinspiresthecreaturesalreadyinthecity\u2014eventhosedomesticated\u2014toplaywiththeirwildkinintheskiesoverthecity.Localsmarkthedaywithajoyousinebriation.`,id:"824559",note:null,date:{day:7,year:null,month:11},category:null},{name:"Ascension Day",description:`CaydenCailean
CultistsofGroetusperformanhour's silence at dusk on the last day of the year and seek guidance from their god about the End Time.`,id:"824562",note:null,date:{day:31,year:null,month:11},category:null},{name:"Night of the Pale",description:`Not all of Golarion'sholidaysandfestivalsaretimesofrejoicinganddelight.Holidaysworshipedbydarkandsinistercultsandreligionstendtobehiddenaffairs,theirritualsandceremoniesinvolvingcrueltiesandvilepracticesthatsendshiversoffearthroughgentlersociety.ScholarssuspectthattheNightofthePale\u2014aholidaythattraditionallytakesplaceonthelastdayoftheyear,the31stofKuthona\u2014haslinkstoseveralsinisterreligions,buttodaynoonechurchhasspecificassociationwiththeevent.Nonetheless,theNightofthePaleisaneventthatmanylookforwardtoallyear,whetherinfearorexcitement.
Thechangingoftheyeariscelebratedwiththeforgivenessofolddebtsandgrudges,andembracingnewopportunities.`,id:"824564",note:null,date:{day:31,year:null,month:11},category:null},{name:"Ritual of Stardust",description:`Desna
Batulal-AlimisaholidaycelebratedonthelastOathdayofCalistrilinQadira.Itcommemoratesthebirthdayofthepopularromanticpoetofthesamename.`,id:"824572",note:null,date:{day:null,year:null,month:1},category:null}],id:null,categories:[{name:"Natural Events",id:"natural-events",color:"#2E7D32"},{name:"Religious Holidays",id:"religious-holidays",color:"#9b2c2c"},{name:"Secular Holidays",id:"secular-holidays",color:"#0D47A1"},{name:"Historical Events",id:"historical-events",color:"#455A64"},{name:"Miscellaneous Events",id:"miscellaneous-events",color:"#0288D1"}]},{name:"Calendar of Galifar",description:"Calendar of the world of Eberron.",autoParse:!1,path:"/",supportTimelines:!1,syncTimelines:!1,timelineTag:"#timeline",static:{displayDayNumber:!1,firstWeekDay:0,incrementDay:!1,displayMoons:!0,overflow:!1,weekdays:[{type:"day",name:"Sul",id:"ID_598a7bd9b8b9"},{type:"day",name:"Mol",id:"ID_69088ac8f818"},{type:"day",name:"Zol",id:"ID_a8c85a98f8fa"},{type:"day",name:"Wir",id:"ID_fa4b687aaba9"},{type:"day",name:"Zor",id:"ID_58e9a82a6bc8"},{type:"day",name:"Far",id:"ID_9a18cb889ada"},{type:"day",name:"Sar",id:"ID_3b9bfa38c979"}],months:[{name:"Zarantyr",type:"month",length:28,id:"ID_7a8afb09aa6a"},{name:"Olarune",type:"month",length:28,id:"ID_386b188b2a89"},{name:"Therendor",type:"month",length:28,id:"ID_599a0ad859c8"},{name:"Eyre",type:"month",length:28,id:"ID_98a95869e90b"},{name:"Dravago",type:"month",length:28,id:"ID_eb5a194bcbf8"},{name:"Nymm",type:"month",length:28,id:"ID_bb596aa9ca5b"},{name:"Lharvion",type:"month",length:28,id:"ID_fb1bb9dabb88"},{name:"Barrakas",type:"month",length:28,id:"ID_8bcb19c8f90a"},{name:"Rhaan",type:"month",length:28,id:"ID_0a09eb5b7b9b"},{name:"Sypheros",type:"month",length:28,id:"ID_3b98ab1a29e8"},{name:"Aryth",type:"month",length:28,id:"ID_899b59faaba9"},{name:"Vult",type:"month",length:28,id:"ID_8a286b78aac9"}],moons:[{name:"Nymm",cycle:28,offset:-14,faceColor:"#ffffff",shadowColor:"#000000",id:"ID_a8b88988a94a"},{name:"Sypheros",cycle:35,offset:-11,faceColor:"#ffffff",shadowColor:"#000000",id:"ID_5ba80b4b096a"},{name:"Therendor",cycle:42,offset:21,faceColor:"#ffffff",shadowColor:"#000000",id:"ID_c999085a499b"},{name:"Rhaan",cycle:49,offset:9,faceColor:"#ffffff",shadowColor:"#000000",id:"ID_39f91ab8a85a"},{name:"Olarune",cycle:56,offset:27,faceColor:"#ffffff",shadowColor:"#000000",id:"ID_2ada8b99788b"},{name:"Eyre",cycle:63,offset:10,faceColor:"#ffffff",shadowColor:"#000000",id:"ID_49285b79d988"},{name:"Vult",cycle:70,offset:6,faceColor:"#ffffff",shadowColor:"#000000",id:"ID_eaebb94a9acb"},{name:"Zarantyr",cycle:77,offset:31,faceColor:"#ffffff",shadowColor:"#000000",id:"ID_98d86aabcbb9"},{name:"Aryth",cycle:84,offset:41,faceColor:"#ffffff",shadowColor:"#000000",id:"ID_d989b809d97b"},{name:"Dravago",cycle:91,offset:31,faceColor:"#ffffff",shadowColor:"#000000",id:"ID_1a293959eaab"},{name:"Lharvion",cycle:98,offset:34,faceColor:"#ffffff",shadowColor:"#000000",id:"ID_cbf919491a5b"},{name:"Barrakas",cycle:105,offset:-11,faceColor:"#ffffff",shadowColor:"#000000",id:"ID_4a1a2a6b589b"}],leapDays:[],eras:[]},current:{year:998,day:1,month:0},events:[{name:"The Tain Gala - Sharn",description:"The Tain Gala is a notable event held on the first Far of each month in Sharn.",id:"824461",note:null,date:{day:null,year:null,month:null},category:null},{name:"Revelation Day - Blood of Vol",description:"Meditation ceremony for Seekers (also called Ascension Day).",id:"824462",note:null,date:{day:13,year:null,month:0},category:null},{name:"Winter Solstice",description:"The longest night of the year.",id:"824463",note:null,date:{day:14,year:null,month:0},category:null},{name:"Rebirth Eve - The Silver Flame",description:"The Purified new year; a night for spiritual vigil and guarding against evil. ",id:"824464",note:null,date:{day:14,year:null,month:0},category:null},{name:"Crystalfall - Sharn",description:"A day of remembrance; Ice sculptures are created (and destroyed) to commemorate the destruction of the Glass Tower on 9 Olarune in 918 by abjurers. ",id:"824465",note:null,date:{day:9,year:998,m
`,id:"824472",note:null,date:{day:26,year:null,month:4},category:null},{name:"Promisetide - The Silver Flame",description:"A controversial holiday outside of the Silver Flame faith, on this day the Purified honor the Silver Flame for the promise of paradise. They also honor (without worship) the Sovereign Host for having created the world, before stepping aside to allow the Flame its rightful place as the last god of Eberron.\xA0 ",id:"824473",note:null,date:{day:28,year:null,month:4},category:null},{name:"Brightblade - Sharn and The Sovereign Host",description:`ThisSovereignHostfestival,dedicatedtoDolDorn,ismarkedbygladiatorialandathleticcontests.
InSharn,festivalcelebrationsoccurthroughoutthetempledistrictswitheventsculminatinginacombinedcontestofchampionsattheCornerstoneArena.`,id:"824474",note:null,date:{day:12,year:null,month:5},category:null},{name:"First Dawn - The Silver Flame",description:"On this day in 914, the Church of the Silver Flame officially assumed control of the government of Thrane. On each anniversary, the Purified give thanks for their just rule, while also honoring the memory of King Thalin, whose death paved the way for their governance.",id:"824475",note:null,date:{day:21,year:915,month:5},category:null},{name:"Silvertide - The Silver Flame",description:"Commemoration of both the couatl sacrifice and the entry, thousands of years ago, of the Silver Flame into Eberron mark this highest of holy days. The vast majority of Purified spend this day in prayer and observance.\xA0 ",id:"824476",note:null,date:{day:14,year:null,month:6},category:null},{name:"The Race of Eight Winds - Sharn",description:`LegendtellsofKingGalifarII'sfascinationwithaerialscoutsandcavalry.Theevolutionofthisannualcontesttookcenturies,buthasgivenSharnanexoticandwellanticipatedeventinvolvingbeastsandtheirridersinasymbioticquestforglory*overacoursethatfindsthemweavingthroughthespiresofthecity.
*thewinneralsoreceives500gpandalandgrantlocatedelsewhereinBreland.`,id:"824477",note:null,date:{day:21,year:201,month:6},category:null},{name:"The Hunt - Sharn and The Sovereign Host",description:`TheSovereignHostcelebrateBalinorwithcommunalhuntsofdangerouscreatures.
*oftenasingularbeast,itcanbeseveral-whichthenrequiresthevictortoreturnwiththemostskins.`,id:"824478",note:null,date:{day:4,year:null,month:7},category:null},{name:"Victory Day - The Silver Flame",description:"Commemorating the conclusion of the lycanthropic purge (832 YK - 880 YK), on Victory Day the adult faithful of the Silver Flame attend sermons on triumph, defeat, and the somewhat questionable methods utilized by the templars during the purge - while the children of the faithful act out great battles with toy swords. ",id:"824479",note:null,date:{day:9,year:881,month:7},category:null},{name:"Fathen's Fall - Sharn",description:"Honoring the memory of Fathen, a great hero of the Silver Crusade (832 YK - 880 YK), who, in the last days of the purge, was torn apart by wererats on the streets of North Market. Faithful gather on this day at the Shrine of Fathen the Martyr to listen to a sermon from the priest of High Hope. This holiday is often uncomfortable and tense for shifter communities in Sharn. ",id:"824480",note:null,date:{day:25,year:881,month:7},category:null},{name:"Boldrei's Feast - Sharn and The Sovereign Host",description:`AfeastofcommunityinthenameofBoldrei,extravagantpartiesareoftenheldonthisholidayandithasalsobecomethetraditionaldayforelections.
InSharn,agreatfeastisheldatthePavilionoftheHostwithgoodsandservicesdonated\xA0fromlocalmerchants,aswellasHouseGhallanda.Manygrandparties,somequiteastonishingintheiropulence,arehostedbythewealthiestmembersofvaryingdistricts-oftenincompetitionwithoneanotherforsocialstanding.`,id:"824481",note:null,date:{day:9,year:null,month:8},category:null},{name:"The Ascension - Sharn",description:"Each year on The Ascension, followers reaffirm their faith and give thanks as well as attend blessing ceremonies at temples throughout the city - the grandest of which occurs at the Cathedral of the Cleansing Flame. All of this is to honor the sacrifice of Tira Miron, the Voice of the Flame, without which there would be no Church of the Silver Flame. Contributions to their community on this day are a high priority for the faithful.",id:"824482",note:null,date:{day:1,year:null,month:9},category:null},{name:"Wildnight - Sharn",description:"With the The Fury (the Sovereign of Passion and Madness) reaching the height of her power on this night, people find it difficult to control or restrain their impulses - once the sun sets, public revelry in the streets climbs to joyous or, all too often, dangerous levels, calming only as the sun rises on the following morning. ",id:"824483",note:null,date:{day:18,year:null,month:9},category:null},{name:"Saint Voltros's Day - The Silver Flame",description:"Though one of the least high holy days, it is marked by brief prayers and church services in the honor of the birth of Saint Voltros - the first paladin called to only serve the Silver Flame.",id:"824484",note:null,date:{day:25,year:null,month:9},category:null},{name:"Thronehold - Sharn",description:"On this day in 996, the Treaty of Thronehold was signed, formally ending the Last War. Annual celebratory feasts are held throughout the Five Nations to mark this auspicious and long-awaited event. ",id:"824485",note:null,date:{day:11,year:997,month:10},category:null},{name:"Rampartide - The Silver Flame",description:"In accordance with scripture, on this day the Purified steel themselves against wickedness, both without and within, through repentance and fasting. Children, elderly, and the sick are required only to give up their favorite foods for the day. ",id:"824486",note:null,date:{day:24,year:null,month:10},category:null},{name:"Long Shadows - Sharn",description:"As dark magic dominates over these three days of the Long Shadows, the myth of Sovereign Lord Aureon's stolen shadow is forefront in the minds of the people. Most will spend these days indoors huddled around the warmth of a fire, but those few who worship the dark deity use this time to prey upon the weak and the foolish. ",id:"824487",note:null,date:{day:26,year:null,month:11},category:null},{name:"Khybersef - The Silver Flame",description:`OriginallycalledKhyber'sEve,thePurifiedspendthenightinintenseprayerandspiritualvigilanceagainstthe,accordingtoscripture,"thinning of the bonds that hold the demon lords in Khyber"betweennow(thebeginningofwinter)andthesolstice.QuestsandcrusadesoftenbeginonKhybersef.`,id:"824488",note:null,date:{day:27,year:null,month:11},category:null},{name:"Spring Equinox",description:"The spring equinox is when the day and the night are equally as long, and are getting longer.",id:"824489",note:null,date:{day:null,year:null,month:null},category:null},{name:"Summer Solstice",description:" At the summer solstice, the Sun travels the longest path through the sky, and that day therefore has the most daylight.",id:"824490",note:null,date:{day:null,year:null,month:null},category:null},{name:"Autumn Equinox",description:"The autumn equinox is when the day and the night are equally as long, and are getting shorter.",id:"824491",note:null,date:{day:null,year:null,month:null},category:null}],id:null,categories:[]},{name:"Barovian Calendar",description:"Calendar of the realm of Barovia, home of Strahd.",autoParse:!1,path:"/",supportTimelines:!1,syncTimelines:!1,timelineTag:"#timeline",static:{di
`,id:"824458",note:null,date:{day:null,year:null,month:null},category:null},{name:"New Year's Day",description:"New Year's day marks the start of a new year.",id:"824459",note:null,date:{day:1,year:null,month:null},category:null},{name:"Paschal Full Moon",description:"The first full moon after march 21st, which is considered the fixed date for the spring equinox.",id:"824460",note:null,date:{day:null,year:null,month:null},category:"natural-event"}],id:null,categories:[{name:"Natural Event",id:"natural-event",color:"#9e9d24"}]},{name:"Exandrian Calendar",description:"Calendar of the world of Wildemount.",autoParse:!1,path:"/",supportTimelines:!1,syncTimelines:!1,timelineTag:"#timeline",static:{displayDayNumber:!1,firstWeekDay:2,incrementDay:!1,displayMoons:!0,overflow:!0,weekdays:[{type:"day",name:"Miresen",id:"ID_3b38aaa81bca"},{type:"day",name:"Grissen",id:"ID_da6b19882baa"},{type:"day",name:"Whelsen",id:"ID_a9cae8f88b98"},{type:"day",name:"Conthsen",id:"ID_e87859eb5aaa"},{type:"day",name:"Folsen",id:"ID_59180abbea8a"},{type:"day",name:"Yulisen",id:"ID_98082bd8d8ca"},{type:"day",name:"Da'leysen",id:"ID_da4ba92b299a"}],months:[{name:"Horisal",type:"month",length:29,id:"ID_e89a4ab9995b"},{name:"Misuthar",type:"month",length:30,id:"ID_18b8894bab7b"},{name:"Dualahei",type:"month",length:30,id:"ID_0a9b29f8f8db"},{name:"Thunsheer",type:"month",length:31,id:"ID_6a8a8a5bea5b"},{name:"Unndilar",type:"month",length:28,id:"ID_b8295bdbcafa"},{name:"Brussendar",type:"month",length:31,id:"ID_c92a489bb909"},{name:"Sydenstar",type:"month",length:32,id:"ID_7b48bb1b0a4a"},{name:"Fessuran",type:"month",length:29,id:"ID_289858c97849"},{name:"Quen'pillar",type:"month",length:27,id:"ID_f8abd9a86aa9"},{name:"Cuersaar",type:"month",length:29,id:"ID_7aba59fa2b69"},{name:"Duscar",type:"month",length:32,id:"ID_5819f86b99cb"}],moons:[{name:"Catha",cycle:33,offset:7,faceColor:"#ffffff",shadowColor:"#292b4a",id:"ID_0ab929092b5b"},{name:"Ruidus",cycle:328,offset:80,faceColor:"#ff6161",shadowColor:"#1f1f1f",id:"ID_b9783ac818e9"}],leapDays:[],eras:[{name:"The Founding",description:"",format:"Year {{year}} - {{era_name}}",start:{year:1,month:0,day:1}},{name:"Age of Arcanum",description:"",format:"Year {{year}} - {{era_name}}",start:{year:-1500,month:0,day:1}},{name:"The Calamity",description:"",format:"Year {{year}} - {{era_name}}",start:{year:-665,month:0,day:1}},{name:"Post-Divergence",description:"",format:"Year {{year}} P.D.",start:{year:1,month:0,day:1}}]},current:{day:1,month:0,year:836},events:[{name:"Spring Equinox",description:"The spring equinox is when the day and the night are equally as long, and are getting longer.",id:"824430",note:null,date:{day:null,year:null,month:null},category:null},{name:"Summer Solstice",description:" At the summer solstice, the Sun travels the longest path through the sky, and that day therefore has the most daylight.",id:"824431",note:null,date:{day:null,year:null,month:null},category:null},{name:"Autumn Equinox",description:"The autumn equinox is when the day and the night are equally as long, and are getting shorter.",id:"824432",note:null,date:{day:null,year:null,month:null},category:null},{name:"Winter Solstice",description:"The winter solstice marks the shortest day and longest night of the year, when the sun is at its lowest arc in the sky.",id:"824433",note:null,date:{day:null,year:null,month:null},category:null},{name:"New Dawn",description:`ThefirstdayofthenewyearisalsotheholydayoftheChangebringer,astheoldyeargiveswaytoanewpath.
OntheMenagerieCoast,peoplecelebratebyhavingafeastontheshoreatdusktowatchthesunset.Theyfeastanddiscusstheirhopesforthenewyearuntilthesunrises.`,id:"824434",note:null,date:{day:1,year:null,month:0},category:"religious-holidays"},{name:"Hillsgold",description:"This holiday is up to the calendar owner to decide what it is for! :)",id:"824435",note:null,date:{day:27,year:null,month:0},category:"secular-holidays"},{name:"Day of Challenging",description:`TheholydayoftheStormlordisoneofthemostraucousholidaysinEmon.ThousandsofspectatorsattendtheannualGodsbrawl,whichisheldinthefightingringwithintheTempleoftheStormlord.Thepeoplerootfortheirdeity'sfavoredchampion,andthereisafierce(yetfriendly)rivalrybetweentheChampionoftheStormlordandtheChampionofthePlatinumDragon.Thewinnerearnsthetitleof"Supreme Champion"foranentireyear.
TheDayofChallengingisoneofthemostraucousholidaysinPortDamali,andthousandsofspectatorsattendtheannualGodsbrawlheldintheTempleof\xA0Kordtorootfortheirfavoreddeity's champion, particularly the chosen champions of the Storm Lord and the\xA0All-Hammer.\xA0`,id:"824436",note:null,date:{day:7,year:null,month:1},category:"religious-holidays"},{name:"Renewal Festival",description:"Spring begins early in the month of Dualahei, officially starting on the 13th with the Renewal Festival.",id:"824437",note:null,date:{day:13,year:null,month:2},category:"secular-holidays"},{name:"Wild'sGrandeur",description:`Though the Archeart is the god of spring, the peak of the spring season is the holy day of the Wildmother.
ThepeopleinthesouthernwildsofTal'Dorei celebrate the Wildmother'sstrengthbyjourneyingtoaplaceofgreatnaturalbeauty.Thiscouldbethetopofamountainouswaterfall,thecenterofadesert,orevenanoldandpeacefulcitypark(suchasAzaleaStreetParkinEmon).ThoughEmonrarelycelebratesWild'sGrandeur,thefewwhodowillplanttreesinobservanceoftheholiday.
ThepeopleoftheMenagerieCoastsetasidethisdaytosailfornoreasonotherthanthepleasureofobservingthenaturalbeautyoftheirsurroundings.ThosewhostillpartakeinelementsofKi'Nau culture take this day to appreciate the fruits and foods granted by the sea, leaving offerings of delicacies and small handmade crafts at temporary altars of twisted roots and grasses.`,id:"824438",note:null,date:{day:20,year:null,month:2},category:"religious-holidays"},{name:"Harvest'sRise",description:"Thisholidayisuptothecalendarownertodecidewhatitisfor!:)",id:"824439",note:null,date:{day:11,year:null,month:3},category:"secular-holidays"},{name:"Merryfrond's Day",description:"This holiday is up to the calendar owner to decide what it is for! :)",id:"824440",note:null,date:{day:31,year:null,month:3},category:"secular-holidays"},{name:"Deep Solace",description:`Moradin'sholydayisDeepSolace,whichiscelebratedontheeighteenthdayofthefifthmonth.EspeciallydevoutfollowersoftheAll-Hammerspendthedayinisolation,meditatingonthemeaningoffamilyandhowtheymaybebettermothers,fathers,siblings,andchildren.
ThedwarvencommunitiesacrossExandria,suchastheonesinGrimgolirandKraghammer,celebratewithafulldayoffeastinganddrinking.\xA0`,id:"824441",note:null,date:{day:18,year:null,month:4},category:"religious-holidays"},{name:"Zenith",description:"Summer begins in the middle of Unndilar, officially starting at noon on the 26th day known as the Zenith.",id:"824442",note:null,date:{day:26,year:null,month:4},category:"secular-holidays"},{name:"Artisan's Faire",description:"This holiday is up to the calendar owner to decide what it is for! :)",id:"824443",note:null,date:{day:15,year:null,month:5},category:"secular-holidays"},{name:"Elvendawn",description:`Corellon'sholydayiscalledElvendawn,
threatenstheking.\xA0`,id:"824445",note:null,date:{day:7,year:null,month:6},category:"religious-holidays"},{name:"Morn of Largesse",description:"This holiday is up to the calendar owner to decide what it is for! :)",id:"824446",note:null,date:{day:14,year:null,month:6},category:"secular-holidays"},{name:"Harvest's Close",description:"Autumn begins on the 3rd of Fessuran\xA0and is typically celebrated with feasting in rural regions and with carnivals in the cities.\xA0",id:"824447",note:null,date:{day:3,year:null,month:7},category:"secular-holidays"},{name:"The Hazel Festival",description:"This holiday is up to the calendar owner to decide what it is for! :)",id:"824448",note:null,date:{day:12,year:null,month:8},category:"secular-holidays"},{name:"Civilization's Dawn",description:`TheLawBearer's holy day is Civilization's
withthepeopleherules.\xA0`,id:"824449",note:null,date:{day:22,year:null,month:8},category:"religious-holidays"},{name:"Night of Ascension",description:`TheRavenQueen'sholydayiscalledtheNightofAscension,celebratingherapotheosis.Theactualdateoftheherrisetodivinityisunclear,buttheNightofAscensioniscelebratedonthethirteenthdayofthetenthmonth.
WhatwasonceanightofcheerycelebrationofthedeadintheDwendalianEmpirehasrecentlybecomeanoccasiontoburneffigiesanddecrytheKrynDynastyfortheirunnaturalrelationshipwithdeath.`,id:"824450",note:null,date:{day:13,year:null,month:9},category:"religious-holidays"},{name:"Zan's Cup",description:"This holiday is up to the calendar owner to decide what it is for! :)",id:"824451",note:null,date:{day:21,year:null,month:9},category:"secular-holidays"},{name:"Barren Eve",description:"Winter begins on the 2nd day of Duscar, the Barren Eve, which is a nighttime celebration and remembrance of those who fell in battle.",id:"824452",note:null,date:{day:2,year:null,month:10},category:"secular-holidays"},{name:"Embertide",description:"Bahamut's holy day is called Embertide,\xA0and is celebrated on the fifth day of Duscar. This is a day\xA0of remembrance, solemnity, and respect for those who\xA0have fallen in the defense of others.",id:"824453",note:null,date:{day:5,year:null,month:10},category:"religious-holidays"},{name:"Winter's Crest",description:`ThisdaycelebratesthefreedomofTal'DoreifromErrevontheRimelord.Itisthepeakofthewinterseason,sodevoutfollowersoftheMatronofRavens(asthegoddessofwinter)considerittobeoneofherholydays.
However,inmostoftheland,peopleseeWinter's Crest as a secular holiday, often celebrated with omnipresent music in public areas, lavish gift-giving to relatives and loved ones, and the cutting and decorating of trees placed indoors. The Sun Tree in Whitestone is often decorated with lights and other baubles for Winter'sCrest.`,id:"824454",note:null,date:{day:20,year:null,month:10},category:"secular-holidays"}],id:null,categories:[{name:"Religious Holidays",id:"religious-holidays",color:"#0D47A1"},{name:"Secular Holidays",id:"secular-holidays",color:"#4A148C"}]},{name:"Calendar of Harptos",description:"Calendar of Faer\xFBn of the Forgotten Realms.",autoParse:!1,path:"/",supportTimelines:!1,syncTimelines:!1,timelineTag:"#timeline",static:{displayDayNumber:!1,firstWeekDay:0,incrementDay:!1,displayMoons:!0,overflow:!1,weekdays:[{type:"day",name:"I",id:"ID_9999882bb94a"},{type:"day",name:"II",id:"ID_8a0b4b79d888"},{type:"day",name:"III",id:"ID_da483aca8bf9"},{type:"day",name:"IV",id:"ID_a8fbea39cac8"},{type:"day",name:"V",id:"ID_9b19d9787b0b"},{type:"day",name:"VI",id:"ID_382a590a8a28"},{type:"day",name:"VII",id:"ID_fbca0ab80afb"},{type:"day",name:"VIII",id:"ID_ca093bca5ad9"},{type:"day",name:"IX",id:"ID_d95b39098bf8"},{type:"day",name:"X",id:"ID_389bfb5858db"}],months:[{name:"Hammer (Deepwinter)",type:"month",length:30,id:"ID_cbeb4b190b6a"},{name:"Midwinter",type:"intercalary",length:1,id:"ID_89bad9089b7b"},{name:"Alturiak (The Claw of Winter)",type:"month",length:30,id:"ID_6a08a8aacb7b"},{name:"Ches (The Claw of the Sunsets)",type:"month",length:30,id:"ID_db2a7bf97afa"},{name:"Tarsakh (The Claw of Storms)",type:"month",length:30,id:"ID_6b48982b0bda"},{name:"Greengrass",type:"intercalary",length:1,id:"ID_08790af92809"},{name:"Mirtul (The Melting)",type:"month",length:30,id:"ID_b91b39f95a28"},{name:"Kythorn (The Time of Flowers)",type:"month",length:30,id:"ID_f8e9585a2bf8"},{name:"Flamerule (Summertide)",type:"month",length:30,id:"ID_fa895bdb38e9"},{name:"Midsummer",type:"intercalary",length:1,id:"ID_a9181b5a683a"},{name:"Eleasis (Highsun)",type:"month",length:30,id:"ID_1b1b1b287b0a"},{name:"Eleint (The Fading)",type:"month",length:30,id:"ID_1aca5918993a"},{name:"Highharvestide",type:"intercalary",length:1,id:"ID_a94a183b4b88"},{name:"Marpenoth (Leaffall)",type:"month",length:30,id:"ID_58d97969eb79"},{name:"Uktar (The Rotting)",type:"month",length:30,id:"ID_4b090b787b18"},{name:"The Feast of the Moon",type:"intercalary",length:1,id:"ID_1b0ae8dbdb4a"},{name:"Nightal (The Drawing Down)",type:"month",length:30,id:"ID_abb82afab80a"}],moons:[{name:"Sel\xFAne",cycle:30.4375,offset:13.9,faceColor:"#ffffff",shadowColor:"#000000",id:"ID_48ea2a69a888"}],leapDays:[{name:"Shieldsmeet",type:"leapday",interval:[{ignore:!1,exclusive:!1,interval:4}],offset:0,timespan:9,intercalary:!1,id:"ID_5b08faa88ada"}],eras:[]},current:{year:1491,day:1,month:0},events:[{name:"Winter Solstice",description:null,id:"824588",note:null,date:{day:null,year:null,month:null},category:"natural-events"},{name:"Vernal Equinox",description:null,id:"824589",note:null,date:{day:null,year:null,month:null},category:"natural-events"},{name:"Summer Solstice",description:null,id:"824590",note:null,date:{day:null,year:null,month:null},category:"natural-events"},{name:"Autumnal Equinox",description:null,id:"824591",note:null,date:{day:null,year:null,month:null},category:"natural-events"},{name:"Shieldmeet",description:`ShieldmeetwastheequivalentofaleapyeardayintheCalendarofHarptos,occurringonceeveryfouryears,addingadayafterthefestivalofMidsummerandbeforeEleasis1.Traditionallythedaywasusedforfairs,bazaars,musicalandtheatricalperformances,andtournamentsofskillandmagicalability.Noblesusuallyheldcourttohearthepetitionsoftheirpeopleandtomakeorrenewtradepacts,alliances,andagreements.ShieldmeetwasknownasCinnaelos'Cor (also seen as Cinnaeloscor), "the Day of Corellon'sPeace" in elvish and marked the end of an aeloulaev and the beginning of a new one in the elven Aryselmalyn calendar.`,id:"824592",no
ItwassaidthatchildrenbornonthisdaywerefavoredbyTymoratohavelifelonggoodluckbutbesmittenwithwanderlust.Anotherlegendwasthathumanfemalesbornonthisdayhadcontrolovertheirreproductivesystem(i.e.,gotpregnantonlywhentheywantedto)byforceofwillalone,andthattheycouldinstantlysensewhentheyhadbeenpoisoned,eitherbyingestionorbeingbittenbyavenomouscreatureforexample.`,id:"824594",note:null,date:{day:1,year:null,month:12},category:"festivals"},{name:"Greengrass",description:"Greengrass was a festival to welcome in the first day of spring in the Calendar of Harptos. It occured annually on a special day between Tarsakh 30 and Mirtul 1. Traditionally, the wealthier people brought out flowers to give to the less wealthy, who either wore them or spread them on the ground to encourage the deities to usher in the summer.",id:"824595",note:null,date:{day:1,year:null,month:5},category:"festivals"},{name:"Midwinter",description:`Midwinter(alsoknownasDeadwinterDay)wasafestivaltomarkthemidpointofwinterintheCalendarofHarptos.ItoccuredonaspecialdaybetweenHammer30andAlturiak1.AmongstnoblesandmonarchsitwasknownasMidwinterandwastraditionallyusedtomakeorrenewalliances,althoughthecommonpeoplecalleditDeadwinterDay,areferencetothecoldandhardtimesthatremainedbeforethespring.
OnMidwinterDaytheRedFellowshipoftheDeityknownastheRedKnightobservestheRetreat.Thissolemnceremonyconsistsofanassemblywhereintheclergydiscussthepreviousyear's campaigns. Strategies are discussed, battles analyzed, and the accumulated lore integrated into the church'steachings.
TheholiestdayoftheyearfortheChurchofShevarashisMidwinterNight,duringwhichtheDarkCourtSlaughterisremembered.Inductionsintotheranksoftheclergyoccuratthistime.EachnewclericscreamsvowsofvengeanceintothenightairandswearsneithertolaughnorsmileuntiltheSpiderQueenandherfollowersarenomore.`,id:"824596",note:null,date:{day:1,year:null,month:1},category:"festivals"},{name:"Midsummer",description:"Midsummer was a festival that celebrated love and music through feast. It occurred between Flamerule 30 and Eleasis 1 on the Calendar of Harptos. It was a time when love advanced, and it was said the deities themselves took a hand to ensure good weather. If bad weather was experienced on this night it was considered an extremely bad omen. Shieldmeet occurred the day after Midsummer on leap years.",id:"824597",note:null,date:{day:1,year:null,month:9},category:"festivals"}],id:null,categories:[{name:"Natural Events",id:"natural-events",color:"#2E7D32"},{name:"Festivals",id:"festivals",color:"#9b2c2c"}]}];var Bo=class extends Zn.Modal{async onOpen(){await this.display()}async display(){this.containerEl.addClass("fantasy-calendar-choose-preset"),this.contentEl.empty(),this.contentEl.createEl("h3",{text:"Choose a Preset Calendar"});let e=this.contentEl.createDiv("fantasy-calendar-preset-container");for(let a of bu){let r=new Zn.ButtonComponent(e).onClick(()=>{this.preset=a,this.display()});this.preset==a&&r.setCta(),r.buttonEl.createDiv({cls:"setting-item-name",text:a.name}),r.buttonEl.createDiv({cls:"setting-item-description",text:a.description})}let n=this.contentEl.createDiv("fantasy-calendar-confirm-buttons");new Zn.ButtonComponent(n).setButtonText("Apply").onClick(()=>{this.saved=!0,this.preset=(0,wu.default)(this.preset),this.preset.id=et(6),this.close()}).setCta(),new Zn.ExtraButtonComponent(n).setIcon("cross").onClick(()=>{this.close()})}};function Kr(t){let e=t-1;return e*e*e+1}function Du(t,{delay:e=0,duration:n=400,easing:a=Kr,x:r=0,y:i=0,opacity:o=0}={}){let l=getComputedStyle(t),s=+l.opacity,d=l.transform==="none"?"":l.transform,u=s*(1-o);return{delay:e,duration:n,easing:a,css:(c,h)=>`
opacity:${s-u*h}`}}var wa=[];function Da(t,e=X){let n,a=new Set;function r(l){if(se(t,l)&&(t=l,n)){let s=!wa.length;for(let d of a)d[1](),wa.push(d,t);if(s){for(let d=0;d<wa.length;d+=2)wa[d][0](wa[d+1]);wa.length=0}}}function i(l){r(l(t))}function o(l,s=X){let d=[l,s];return a.add(d),a.size===1&&(n=e(r)||X),l(t),()=>{a.delete(d),a.size===0&&(n(),n=null)}}return{set:r,update:i,subscribe:o}}var Qr=xe(require("obsidian"));var _u=xe(require("obsidian"));function hn(t){(0,_u.setIcon)(t,"fantasy-calendar-warning")}function Eu(t){let e=[];if(t.name?.length||e.push("A calendar must have a name."),(!Hn(t.current.day,t)||!Wn(t.current.month,t)||!Gn(t.current.year,t))&&e.push("Specified current date is not valid."),!t.static.weekdays?.length)e.push("A calendar must have at least 1 weekday.");else{if(!t.static.weekdays?.every(n=>n.name?.length)){let n=t.static.weekdays?.filter(a=>!a.name?.length).length;n==1?e.push(`${n}weekdaydoesnothaveaname.`):e.push(`${n}weekdaysdonothavenames.`)}t.static.firstWeekDay>=(t.static.weekdays?.length??1/0)&&e.push(`Invalidfirstweekdayselection:${t.static.weekdays[t.static.firstWeekDay]}`)}if(!t.static.months?.length)e.push("A calendar must have at least 1 month.");else{if(!t.static.months?.every(n=>n.name?.length)){let n=t.static.months?.filter(a=>!a.name?.length).length;n==1?e.push(`${n}monthdoesnothaveaname.`):e.push(`${n}monthsdonothavenames.`)}if(!t.static.months?.every(n=>n.length>0)){let n=t.static.months?.filter(a=>!(a.length>0)).length;n==1?e.push(`${n}monthdoesnothavealength.`):e.push(`${n}monthsdonothavelengths.`)}}if(t.static.useCustomYears){if(!t.static.years?.length)e.push("Use Custom Years is on but no years have been created.");else if(!t.static.years.every(n=>n.name?.length)){let n=t.static.years.filter(a=>!a.name?.length).length;n==1?e.push(`${n}yeardoesnothaveaname.`):e.push(`${n}yearsdonothavenames.`)}}return e.join(`
`)}function Cu(t){return!!(Hn(t.current.day,t)&&Wn(t.current.month,t)&&Gn(t.current.year,t)&&t.static.months?.length&&t.static.months?.every(e=>e.name?.length)&&t.static.months?.every(e=>e.length>0)&&t.static.weekdays?.length&&t.static.weekdays?.every(e=>e.name?.length)&&t.name?.length&&t.static.firstWeekDay<(t.static.weekdays?.length??1/0)&&(!t.static.useCustomYears||t.static.useCustomYears&&t.static.years?.length&&t.static.years.every(e=>e.name?.length)))}function Mo(t,e){if(t==null)return"No day specified";if(e?.current?.month==null)return"No month selected";if(t<1||t>e?.static?.months[e.current?.month]?.length||!e?.static?.months[e.current?.month]?.length)return"Day does not exist in selected month"}function No(t,e){if(t==null)return"No month specified";if(!e?.static?.months?.length)return"No months exist";if(t<0||t>=e?.static?.months?.length)return"Selected month does not exist"}function Io(t,e){if(t==null)return"No year specified";if(t<1&&!e.static?.useCustomYears)return"Years start at 1";if(e?.static?.useCustomYears){if(!e?.static?.years?.length)return"No custom years exist";if(t<0||t>=e?.static?.years?.length)return"Year does not exist in custom years"}}function H2(t){be(t,"svelte-13g7dwb",'.fantasy-calendar-nested-settings.svelte-13g7dwb.svelte-13g7dwb{position:relative}.warning-label-container.svelte-13g7dwb.svelte-13g7dwb{display:flex;justify-content:flex-end;position:absolute;right:0}.warning-label.svelte-13g7dwb.svelte-13g7dwb{color:var(--text-error)}.fantasy-calendar-nested-summary.svelte-13g7dwb.svelte-13g7dwb{outline:none;display:block !important;list-style:none !important;list-style-type:none !important;min-height:1rem;border-top-left-radius:0.1rem;border-top-right-radius:0.1rem;cursor:pointer;position:sticky;top:0;z-index:2;background-color:var(--creator-background-color)}summary.svelte-13g7dwb.svelte-13g7dwb::-webkit-details-marker,summary.svelte-13g7dwb.svelte-13g7dwb::marker{display:none !important}.collapser.svelte-13g7dwb.svelte-13g7dwb{position:absolute;top:50%;right:8px;transform:translateY(-50%);content:""}.handle.svelte-13g7dwb.svelte-13g7dwb{transform:rotate(0deg);transition:transform 0.25s;background-color:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-image:var(--admonition-details-icon);mask-image:var(--admonition-details-icon);width:20px;height:20px}details[open].svelte-13g7dwb .handle.svelte-13g7dwb{transform:rotate(90deg)}')}function Au(t){let e,n,a,r;return{c(){e=T("div")},m(i,o){q(i,e,o),a||(r=le(n=hn.call(null,e)),a=!0)},d(i){i&&O(e),a=!1,r()}}}function ku(t){let e,n,a;return{c(){e=T("div"),n=T("div"),a=me(t[3]),D(n,"class","setting-item-description warning-label svelte-13g7dwb"),D(e,"class","warning-label-container svelte-13g7dwb")},m(r,i){q(r,e,i),E(e,n),E(n,a)},p(r,i){i&8&&we(a,r[3])},d(r){r&&O(e)}}}function W2(t){let e,n,a,r,i,o,l,s,d,u,c,h,y,m,v,p,k,C,A,S,_=t[2]&&Au(t),F=t[2]&&t[3]&&ku(t),w=t[7].default,M=Pr(w,t,t[6],null);return{c(){e=T("details"),n=T("summary"),a=T("div"),r=T("div"),i=T("div"),o=me(t[0]),l=j(),s=T("div"),d=me(t[1]),u=j(),c=T("div"),h=T("div"),_&&_.c(),y=j(),m=T("div"),v=j(),F&&F.c(),p=j(),M&&M.c(),D(i,"class","setting-item-name"),D(s,"class","setting-item-description"),D(r,"class","setting-item-info"),D(a,"class","setting-item setting-item-heading"),D(m,"class","handle svelte-13g7dwb"),D(h,"class","warning-container"),D(c,"class","collapser svelte-13g7dwb"),D(n,"class","fantasy-calendar-nested-summary svelte-13g7dwb"),D(e,"class","fantasy-calendar-nested-settings svelte-13g7dwb")},m(x,V){q(x,e,V),E(e,n),E(n,a),E(a,r),E(r,i),E(i,o),E(r,l),E(r,s),E(s,d),E(n,u),E(n,c),E(c,h),_&&_.m(h,null),E(h,y),E(h,m),E(e,v),F&&F.m(e,null),E(e,p),M&&M.m(e,null),C=!0,A||(S=le(k=t[4].call(null,e)),A=!0)},p(x,[V]){(!C||V&1)&&we(o,x[0]),(!C||V&2)&&we(d,x[1]),x[2]?_||(_=Au(x),_.c(),_.m(h,y)):_&&(_.d(1),_=null),x[2]&&x[3]?F?F.p(x,V):(F=ku(x),F.c(),F.m(e,p)):F&&(F.d(1),F=null),M&&M.p&&(!C||V&64)&&Vr(M,w,x,x[6],C?jr(w,x[6],V,null):Hr(x[6]),null)},i(x){C||(R(M,x),C=!0)},o(x){W(M,x),C=!1},d(x){x&&O(e),_&&_.d(),F&&
Inordertobeiterable,non-arrayobjectsmusthavea[Symbol.iterator]()method.`)}function av(){throw new TypeError(`Invalidattempttodestructurenon-iterableinstance.
Inordertobeiterable,non-arrayobjectsmusthavea[Symbol.iterator]()method.`)}function Xo(t,e){var n;if(typeof Symbol=="undefined"||t[Symbol.iterator]==null){if(Array.isArray(t)||(n=Ko(t))||e&&t&&typeof t.length=="number"){n&&(t=n);var a=0,r=function(){};return{s:r,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(s){throw s},f:r}}throw new TypeError(`Invalidattempttoiteratenon-iterableinstance.
`)}---`)}this.event.name||(this.event.name="Event"),this.close()})}).addExtraButton(e=>{e.setIcon("cross").setTooltip("Cancel").onClick(()=>this.close())})}buildDate(){this.dateEl.empty(),this.buildStartDate(),this.endEl=this.dateEl.createDiv(),this.event.end?this.buildEndDate():newlt.Setting(this.endEl).setName("Add End Date").addToggle(n=>{n.setValue(!1).onChange(a=>this.buildEndDate())});lete=this.dateEl.createDiv("fantasy-calendar-event-formula");this.event.formulas?.length?this.buildEventFormulas(e):newlt.Setting(e).setName("Add Interval").addToggle(n=>{n.setValue(!1).onChange(a=>this.buildEventFormulas(e))}),this.stringEl=this.dateEl.createDiv("event-date-string setting-item-description"),this.buildDateString()}buildEventFormulas(e){e.empty(),this.event.formulas=this.event.formulas??[{type:"interval",number:1,timespan:"days"}],newlt.Setting(e).setName("Event Interval").addText(n=>{n.setValue(`${this.event.formulas[0].number}`).onChange(a=>{this.event.formulas[0].number=Number(a)}).inputEl.setAttr("type","number")}).addDropdown(n=>{n.addOption("days","days")})}buildStartDate(){this.startEl=this.dateEl.createDiv("fantasy-calendar-event-date"),this.startEl.createSpan({text:"Start:"}),this.startDateEl=this.startEl.createDiv("fantasy-calendar-date-fields"),this.buildDateFields(this.startDateEl,this.event.date)}buildEndDate(){this.event.end=this.event.end??{...this.event.date},this.endEl.empty(),this.endEl.addClass("fantasy-calendar-event-date"),this.endEl.createSpan({text:"End:"}),this.endDateEl=this.endEl.createDiv("fantasy-calendar-date-fields"),this.buildDateFields(this.endDateEl,this.event.end)}buildDateString(){this.stringEl.empty(),this.stringEl.createSpan({text:yn(this.event.date,this.calendar.static.months,this.event.end)})}buildDateFields(e,n=this.event.date){e.empty();leta=e.createDiv("fantasy-calendar-date-field");a.createEl("label",{text:"Day"}),newlt.TextComponent(a).setPlaceholder("Day").setValue(`${n.day}`).onChange(s=>{n.day=Number(s),this.buildDateString()}).inputEl.setAttr("type","number");leti=e.createDiv("fantasy-calendar-date-field");i.createEl("label",{text:"Month"}),newlt.DropdownComponent(i).addOptions(Object.fromEntries([["select","Select Month"],...this.calendar.static.months.map(s=>[s.name,s.name])])).setValue(n.month!=null?this.calendar.static.months[n.month].name:"select").onChange(s=>{s==="select"&&(n.month=null);letd=this.calendar.static.months.find(u=>u.name==s);n.month=this.calendar.static.months.indexOf(d),this.buildDateString()});leto=e.createDiv("fantasy-calendar-date-field");o.createEl("label",{text:"Year"}),newlt.TextComponent(o).setPlaceholder("Year").setValue(`${n.year}`).onChange(s=>{!s||s==null?n.year=void0:n.year=Number(s),this.buildDateString()}).inputEl.setAttr("type","number")}buildInfo(){this.infoEl.empty(),newlt.Setting(this.infoEl).setName("Note").setDesc("Link the event to a note.").addText(n=>{leta=this.app.vault.getFiles();if(n.setPlaceholder("Path"),this.event.note){let[i,o]=this.event.note.split(/[#^]/),l=this.app.metadataCache.getFirstLinkpathDest(i,"");l&&linstanceoflt.TFile&&n.setValue(`${l.basename}${o?"#":""}${o||""}`)}letr=newDi(this.app,n,[...a]);r.onClose=async()=>{n.inputEl.blur(),this.event.note=r.link,this.tryParse(r.file)}}),newlt.Setting(this.infoEl).setName("Event Name").addText(n=>n.setPlaceholder("Event Name").setValue(this.event.name).onChange(a=>{this.event.name=a}));lete=this.infoEl.createDiv("event-description");e.createEl("label",{text:"Event Description"}),newlt.TextAreaComponent(e).setPlaceholder("Event Description").setValue(this.event.description).onChange(n=>{this.event.description=n}),newlt.Setting(this.infoEl).setName("Event Category").addDropdown(n=>{leta=Object.fromEntries(this.calendar.categories.map(r=>[r.id,r.name]));n.addOptions(a).setValue(this.event.category).onChange(r=>this.event.category=r)})}asynctryParse(e){this.event.name=e.basename;letn=this.app.metadataCache.getFileCache(e),{frontmatter:a}=n;if(a){if("fc-date"ina){let{day:r,month:i,year:o}=a["fc-date"];if(r&&(this.event.date.day=r),i){if(typeofi=
${d[3]}`:null)&&D(e,"aria-label",s),u&4&&D(e,"width",d[2]),u&4&&D(e,"height",d[2])},i:X,o:X,d(d){d&&O(e)}}}function J0(t,e,n){let a,{moon:r}=e,{label:i=!0}=e,{size:o=28}=e,{phase:l}=e;return t.$$set=s=>{"moon"in s&&n(0,r=s.moon),"label"in s&&n(1,i=s.label),"size"in s&&n(2,o=s.size),"phase"in s&&n(3,l=s.phase)},t.$$.update=()=>{if(t.$$.dirty&8){e:n(4,a=Kd[l])}},[r,i,o,l,a]}var Xd=class extends de{constructor(e){super();fe(this,e,J0,X0,se,{moon:0,label:1,size:2,phase:3})}},Rn=Xd;var en=xe(require("obsidian"));var vs=class extends en.Modal{constructor(e,n,a){super(e);this.calendar=n;this.saved=!1;this.moon={name:null,cycle:null,offset:null,faceColor:"#fff",shadowColor:"#000",id:et(6)};a&&(this.moon={...a},this.editing=!0),this.containerEl.addClass("fantasy-calendar-create-moon")}async display(){this.contentEl.empty(),this.contentEl.createEl("h3",{text:this.editing?"Edit Moon":"New Moon"}),this.infoEl=this.contentEl.createDiv("moon-info"),this.buildInfo(),new en.Setting(this.contentEl).addButton(e=>{e.setButtonText("Save").setCta().onClick(()=>{if(!this.moon.name?.length){new en.Notice("The moon must have a name.");return}if(!this.moon.cycle){new en.Notice("The moon must have a positive cycle.");return}this.saved=!0,this.close()})}).addExtraButton(e=>{e.setIcon("cross").setTooltip("Cancel").onClick(()=>this.close())})}buildInfo(){this.infoEl.empty(),new en.Setting(this.infoEl).setName("Name").addText(e=>{e.setValue(this.moon.name).onChange(n=>{this.moon.name=n})}),new en.Setting(this.infoEl).setName("Cycle").setDesc("How many days it takes for the moon to complete a full cycle.").addText(e=>{e.inputEl.setAttr("type","number"),e.setValue(`${this.moon.cycle}`).onChange(n=>{isNaN(Number(n))||(this.moon.cycle=Number(n))})}),new en.Setting(this.infoEl).setName("Offset").setDesc("Shift the starting moon phase by a number of days.").addText(e=>{e.inputEl.setAttr("type","number"),e.setValue(`${this.moon.offset}`).onChange(n=>{isNaN(Number(n))||(this.moon.offset=Number(n))})}),new en.Setting(this.infoEl).setName("Face Color").addText(e=>{e.inputEl.setAttr("type","color"),e.setValue(this.moon.faceColor).onChange(n=>{this.moon.faceColor=n})}),new en.Setting(this.infoEl).setName("Shadow Color").addText(e=>{e.inputEl.setAttr("type","color"),e.setValue(this.moon.shadowColor).onChange(n=>{this.moon.shadowColor=n})})}async onOpen(){await this.display()}};function $0(t){be(t,"svelte-v24qmo",".moon.svelte-v24qmo{display:grid;grid-template-columns:1fr auto;align-items:center;justify-content:space-between;gap:1rem;margin-top:0.5rem}.setting-item-name.svelte-v24qmo{display:flex;align-items:center}.icons.svelte-v24qmo{display:flex;align-self:flex-start;justify-self:flex-end;align-items:center}.icon.svelte-v24qmo{align-items:center}")}function Jd(t,e,n){let a=t.slice();return a[13]=e[n],a}function e1(t){let e,n,a=t[1],r=[];for(let o=0;o<a.length;o+=1)r[o]=$d(Jd(t,a,o));let i=o=>W(r[o],1,1,()=>{r[o]=null});return{c(){e=T("div");for(let o=0;o<r.length;o+=1)r[o].c();D(e,"class","existing-items")},m(o,l){q(o,e,l);for(let s=0;s<r.length;s+=1)r[s].m(e,null);n=!0},p(o,l){if(l&98){a=o[1];let s;for(s=0;s<a.length;s+=1){let d=Jd(o,a,s);r[s]?(r[s].p(d,l),R(r[s],1)):(r[s]=$d(d),r[s].c(),R(r[s],1),r[s].m(e,null))}for(Ee(),s=a.length;s<r.length;s+=1)i(s);Ce()}},i(o){if(!n){for(let l=0;l<a.length;l+=1)R(r[l]);n=!0}},o(o){r=r.filter(Boolean);for(let l=0;l<r.length;l+=1)W(r[l]);n=!1},d(o){o&&O(e),We(r,o)}}}function t1(t){let e,n;return e=new Wt({props:{message:"Create a new moon to see it here."}}),{c(){te(e.$$.fragment)},m(a,r){ee(e,a,r),n=!0},p:X,i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){W(e.$$.fragment,a),n=!1},d(a){J(e,a)}}}function $d(t){let e,n,a,r,i,o=t[13].name+"",l,s,d,u,c,h=t[13].cycle+"",y,m,v,p,k,C,A,S,_,F,w,M,x;r=new Rn({props:{moon:t[13],phase:"First Quarter",label:!1,size:20}});function V(){return t[10](t[13])}function B(){return t[11](t[13])}return{c(){e=T("div"),n=T("div"),a=T("span"),te(r.$$.fragment),i=j(),l=me(o),s=j(),d=T("div"),u=T("div"),c=me("Cycle: "),y=me(h),m=me(" days"),v=j(),p=T("div"),k=T("div"),A=j(),S=T("div"),F=j(),D(a,"class","sett