From 9c3c061149dba8bf9e47296d0a9b28a973c6423b Mon Sep 17 00:00:00 2001 From: coreglitch Date: Thu, 11 Jan 2024 15:49:19 +0400 Subject: [PATCH 1/9] move map links to approach info --- index.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index ff51b8a..e9a8a5a 100644 --- a/index.html +++ b/index.html @@ -105,6 +105,14 @@

F0RTHSP4CE

How to approach us

+

+ Tbilisi, Janashia st, 11/18 (Vake) (41.706632, 44.781503) + Yandex Maps, + OpenStreetMap +

+

+ +

Come and visit - to talk, to see the space for yourself or maybe even to ask for help. Different people find different modes of @@ -183,12 +191,7 @@

Principles

Location & Links

- +

From 7cce3f7ca64118ba09f05f044cebe697c68c4429 Mon Sep 17 00:00:00 2001 From: coreglitch Date: Fri, 12 Jan 2024 08:42:14 +0400 Subject: [PATCH 9/9] get ical by js --- ical.min.js | 2 ++ index.html | 47 ++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 46 insertions(+), 3 deletions(-) create mode 100644 ical.min.js diff --git a/ical.min.js b/ical.min.js new file mode 100644 index 0000000..2f6656b --- /dev/null +++ b/ical.min.js @@ -0,0 +1,2 @@ +var ICAL;"object"==typeof module?ICAL=module.exports:"undefined"!=typeof HTMLScriptElement&&"noModule"in HTMLScriptElement.prototype?window.ICAL=ICAL={}:"object"!=typeof ICAL&&(ICAL={}),ICAL.foldLength=75,ICAL.newLineChar="\r\n",ICAL.helpers={updateTimezones:function(t){var e,n,r,i,s,a;if(!t||"vcalendar"!==t.name)return t;for(e=t.getAllSubcomponents(),n=[],r={},s=0;s>12&63,n=i>>6&63,r=63&i,h[o++]=s.charAt(i>>18&63)+s.charAt(e)+s.charAt(n)+s.charAt(r),a>16&255,n=s>>8&255,s=255&s,h[u++]=64==r?String.fromCharCode(e):64==i?String.fromCharCode(e,n):String.fromCharCode(e,n,s),o=this.changes.length)break}var a=this.changes[r];return a.utcOffset-a.prevUtcOffset<0&&0=this.changes.length?this.changes.length-1:t},_ensureCoverage:function(t){var e;-1==ICAL.Timezone._minimumExpansionYear&&(e=ICAL.Time.now(),ICAL.Timezone._minimumExpansionYear=e.year);var n=t;if(nICAL.Timezone.MAX_YEAR&&(n=ICAL.Timezone.MAX_YEAR),!this.changes.length||this.expandedUntilYeart)&&l);)u.year=l.year,u.month=l.month,u.day=l.day,u.hour=l.hour,u.minute=l.minute,u.second=l.second,u.isDate=l.isDate,ICAL.Timezone.adjust_change(u,0,0,0,-u.prevUtcOffset),n.push(u)}}else(u=s()).year=r.year,u.month=r.month,u.day=r.day,u.hour=r.hour,u.minute=r.minute,u.second=r.second,ICAL.Timezone.adjust_change(u,0,0,0,-u.prevUtcOffset),n.push(u);return n},toString:function(){return this.tznames||this.tzid}},ICAL.Timezone._compare_change_fn=function(t,e){return t.yeare.year?1:t.monthe.month?1:t.daye.day?1:t.houre.hour?1:t.minutee.minute?1:t.seconde.second?1:0},ICAL.Timezone.convert_time=function(t,e,n){if(t.isDate||e.tzid==n.tzid||e==ICAL.Timezone.localTimezone||n==ICAL.Timezone.localTimezone)return t.zone=n,t;e=e.utcOffset(t);return t.adjust(0,0,0,-e),e=n.utcOffset(t),t.adjust(0,0,0,e),null},ICAL.Timezone.fromData=function(t){return(new ICAL.Timezone).fromData(t)},ICAL.Timezone.utcTimezone=ICAL.Timezone.fromData({tzid:"UTC"}),ICAL.Timezone.localTimezone=ICAL.Timezone.fromData({tzid:"floating"}),ICAL.Timezone.adjust_change=function(t,e,n,r,i){return ICAL.Time.prototype.adjust.call(t,e,n,r,i,t)},ICAL.Timezone._minimumExpansionYear=-1,ICAL.Timezone.MAX_YEAR=2035,ICAL.Timezone.EXTRA_COVERAGE=5}(),ICAL.TimezoneService=function(){var n,t={get count(){return Object.keys(n).length},reset:function(){n=Object.create(null);var t=ICAL.Timezone.utcTimezone;n.Z=t,n.UTC=t,n.GMT=t},has:function(t){return!!n[t]},get:function(t){return n[t]},register:function(t,e){if(t instanceof ICAL.Component&&"vtimezone"===t.name&&(t=(e=new ICAL.Timezone(t)).tzid),!(e instanceof ICAL.Timezone))throw new TypeError("timezone must be ICAL.Timezone or ICAL.Component");n[t]=e},remove:function(t){return delete n[t]}};return t.reset(),t}(),function(){function t(e){Object.defineProperty(ICAL.Time.prototype,e,{get:function(){return this._pendingNormalization&&(this._normalize(),this._pendingNormalization=!1),this._time[e]},set:function(t){return"isDate"===e&&t&&!this._time.isDate&&this.adjust(0,0,0,0),this._cachedUnixTime=null,this._pendingNormalization=!0,this._time[e]=t}})}ICAL.Time=function(t,e){var n=(this.wrappedJSObject=this)._time=Object.create(null);n.year=0,n.month=1,n.day=1,n.hour=0,n.minute=0,n.second=0,n.isDate=!1,this.fromData(t,e)},ICAL.Time._dowCache={},ICAL.Time._wnCache={},ICAL.Time.prototype={icalclass:"icaltime",_cachedUnixTime:null,get icaltype(){return this.isDate?"date":"date-time"},zone:null,_pendingNormalization:!1,clone:function(){return new ICAL.Time(this._time,this.zone)},reset:function(){this.fromData(ICAL.Time.epochTime),this.zone=ICAL.Timezone.utcTimezone},resetTo:function(t,e,n,r,i,s,a){this.fromData({year:t,month:e,day:n,hour:r,minute:i,second:s,zone:a})},fromJSDate:function(t,e){return t?e?(this.zone=ICAL.Timezone.utcTimezone,this.year=t.getUTCFullYear(),this.month=t.getUTCMonth()+1,this.day=t.getUTCDate(),this.hour=t.getUTCHours(),this.minute=t.getUTCMinutes(),this.second=t.getUTCSeconds()):(this.zone=ICAL.Timezone.localTimezone,this.year=t.getFullYear(),this.month=t.getMonth()+1,this.day=t.getDate(),this.hour=t.getHours(),this.minute=t.getMinutes(),this.second=t.getSeconds()):this.reset(),this._cachedUnixTime=null,this},fromData:function(t,e){if(t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&"icaltype"!==n&&(this[n]=t[n]);return e&&(this.zone=e),!t||"isDate"in t?t&&"isDate"in t&&(this.isDate=t.isDate):this.isDate=!("hour"in t),t&&"timezone"in t&&(e=ICAL.TimezoneService.get(t.timezone),this.zone=e||ICAL.Timezone.localTimezone),t&&"zone"in t&&(this.zone=t.zone),this.zone||(this.zone=ICAL.Timezone.localTimezone),this._cachedUnixTime=null,this},dayOfWeek:function(t){var e=t||ICAL.Time.SUNDAY,n=(this.year<<12)+(this.month<<8)+(this.day<<3)+e;if(n in ICAL.Time._dowCache)return ICAL.Time._dowCache[n];var r=this.day,i=this.month+(this.month<3?12:0),t=this.year-(this.month<3?1:0),i=r+t+ICAL.helpers.trunc(26*(i+1)/10)+ICAL.helpers.trunc(t/4);return i+=6*ICAL.helpers.trunc(t/100)+ICAL.helpers.trunc(t/400),ICAL.Time._dowCache[n]=i=(i+7-e)%7+1},dayOfYear:function(){var t=ICAL.Time.isLeapYear(this.year)?1:0;return ICAL.Time.daysInYearPassedMonth[t][this.month-1]+this.day},startOfWeek:function(t){var e=t||ICAL.Time.SUNDAY,t=this.clone();return t.day-=(this.dayOfWeek()+7-e)%7,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},endOfWeek:function(t){var e=t||ICAL.Time.SUNDAY,t=this.clone();return t.day+=(7-this.dayOfWeek()+e-ICAL.Time.SUNDAY)%7,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},startOfMonth:function(){var t=this.clone();return t.day=1,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},endOfMonth:function(){var t=this.clone();return t.day=ICAL.Time.daysInMonth(t.month,t.year),t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},startOfYear:function(){var t=this.clone();return t.day=1,t.month=1,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},endOfYear:function(){var t=this.clone();return t.day=31,t.month=12,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t},startDoyWeek:function(t){t=t||ICAL.Time.SUNDAY,t=this.dayOfWeek()-t;return t<0&&(t+=7),this.dayOfYear()-t},getDominicalLetter:function(){return ICAL.Time.getDominicalLetter(this.year)},nthWeekDay:function(t,e){var n=ICAL.Time.daysInMonth(this.month,this.year),r=e,i=0,s=this.clone(),a=0<=r?(s.day=1,0!=r&&r--,i=s.day,(e=t-s.dayOfWeek())<0&&(e+=7),i+=e,i-=t,t):(s.day=n,r++,(a=s.dayOfWeek()-t)<0&&(a+=7),n-a);return i+(a+=7*r)},isNthWeekDay:function(t,e){var n=this.dayOfWeek();return 0===e&&n===t||this.nthWeekDay(t,e)===this.day},weekNumber:function(t){var e=(this.year<<12)+(this.month<<8)+(this.day<<3)+t;if(e in ICAL.Time._wnCache)return ICAL.Time._wnCache[e];var n=this.clone();n.isDate=!0;var r=this.year;12==n.month&&25ICAL.Time.daysInYearPassedMonth[i][12])return i=ICAL.Time.isLeapYear(e)?1:0,n-=ICAL.Time.daysInYearPassedMonth[i][12],ICAL.Time.fromDayOfYear(n,++e);r.year=e,r.isDate=!0;for(var s=11;0<=s;s--)if(n>ICAL.Time.daysInYearPassedMonth[i][s]){r.month=s+1,r.day=n-ICAL.Time.daysInYearPassedMonth[i][s];break}return r.auto_normalize=!0,r},ICAL.Time.fromStringv2=function(t){return new ICAL.Time({year:parseInt(t.substr(0,4),10),month:parseInt(t.substr(5,2),10),day:parseInt(t.substr(8,2),10),isDate:!0})},ICAL.Time.fromDateString=function(t){return new ICAL.Time({year:ICAL.helpers.strictParseInt(t.substr(0,4)),month:ICAL.helpers.strictParseInt(t.substr(5,2)),day:ICAL.helpers.strictParseInt(t.substr(8,2)),isDate:!0})},ICAL.Time.fromDateTimeString=function(t,e){if(t.length<19)throw new Error('invalid date-time value: "'+t+'"');var n;return t[19]&&"Z"===t[19]?n="Z":e&&(n=e.getParameter("tzid")),new ICAL.Time({year:ICAL.helpers.strictParseInt(t.substr(0,4)),month:ICAL.helpers.strictParseInt(t.substr(5,2)),day:ICAL.helpers.strictParseInt(t.substr(8,2)),hour:ICAL.helpers.strictParseInt(t.substr(11,2)),minute:ICAL.helpers.strictParseInt(t.substr(14,2)),second:ICAL.helpers.strictParseInt(t.substr(17,2)),timezone:n})},ICAL.Time.fromString=function(t,e){return 10ICAL.Time.THURSDAY&&(n.day+=7),e>ICAL.Time.THURSDAY&&(n.day-=7),n.day-=t-e,n},ICAL.Time.getDominicalLetter=function(t){var e="GFEDCBA",n=(t+(t/4|0)+(t/400|0)-(t/100|0)-1)%7;return ICAL.Time.isLeapYear(t)?e[(6+n)%7]+e[n]:e[n]},ICAL.Time.epochTime=ICAL.Time.fromData({year:1970,month:1,day:1,hour:0,minute:0,second:0,isDate:!1,timezone:"Z"}),ICAL.Time._cmp_attr=function(t,e,n){return t[n]>e[n]?1:t[n] '+e);if(void 0!==n&&ns||0==this.last.day)throw new Error("Malformed values in BYDAY part")}else this.has_by_data("BYMONTHDAY")&&this.last.day<0&&(s=ICAL.Time.daysInMonth(this.last.month,this.last.year),this.last.day=s+this.last.day+1)},next:function(){var t,e=this.last?this.last.clone():null;if(this.rule.count&&this.occurrence_number>=this.rule.count||this.rule.until&&0i)){if(r<0)r=i+(r+1);else if(0===r)continue;-1===s.indexOf(r)&&s.push(r)}return s.sort(function(t,e){return t-e})},_byDayAndMonthDay:function(t){var e,n,r,i,s=this.by_data.BYDAY,a=0,o=s.length,u=0,h=this,c=this.last.day;function l(){for(i=ICAL.Time.daysInMonth(h.last.month,h.last.year),e=h.normalizeByMonthDayRules(h.last.year,h.last.month,h.by_data.BYMONTHDAY),r=e.length;e[a]<=c&&(!t||e[a]!=c)&&a=this.by_data.BYMONTHDAY.length&&(this.by_indices.BYMONTHDAY=0,this.increment_month()),(e=ICAL.Time.daysInMonth(this.last.month,this.last.year))<(s=(s=this.by_data.BYMONTHDAY[this.by_indices.BYMONTHDAY])<0?e+s+1:s)?(this.last.day=1,t=this.is_day_in_byday(this.last)):this.last.day=s):(this.increment_month(),e=ICAL.Time.daysInMonth(this.last.month,this.last.year),this.by_data.BYMONTHDAY[0]>e?t=0:this.last.day=this.by_data.BYMONTHDAY[0]);return t},next_weekday_by_week:function(){var t=0;if(0==this.next_hour())return t;if(!this.has_by_data("BYDAY"))return 1;for(;;){var e=new ICAL.Time;this.by_indices.BYDAY++,this.by_indices.BYDAY==Object.keys(this.by_data.BYDAY).length&&(this.by_indices.BYDAY=0,t=1);var n=this.by_data.BYDAY[this.by_indices.BYDAY],n=this.ruleDayOfWeek(n)[1];(n-=this.rule.wkst)<0&&(n+=7),e.year=this.last.year,e.month=this.last.month,e.day=this.last.day;e=e.startDoyWeek(this.rule.wkst);if(!(n+e<1)||t){n=ICAL.Time.fromDayOfYear(e+n,this.last.year);return this.last.year=n.year,this.last.month=n.month,this.last.day=n.day,t}}},next_year:function(){if(0==this.next_hour())return 0;if(++this.days_index==this.days.length)for(this.days_index=0;this.increment_year(this.rule.interval),this.expand_year_days(this.last.year),0==this.days.length;);return this._nextByYearDay(),1},_nextByYearDay:function(){var t=this.days[this.days_index],e=this.last.year;t<1&&(t+=1,e+=1);e=ICAL.Time.fromDayOfYear(t,e);this.last.day=e.day,this.last.month=e.month},ruleDayOfWeek:function(t,e){var n=t.match(/([+-]?[0-9])?(MO|TU|WE|TH|FR|SA|SU)/);return n?[parseInt(n[1]||0,10),t=ICAL.Recur.icalDayToNumericDay(n[2],e)]:[0,0]},next_generic:function(t,e,n,r,i){var s=t in this.by_data,a=this.rule.freq==e,e=0;return i&&0==this[i]()||(s?(this.by_indices[t]++,this.by_indices[t],i=this.by_data[t],this.by_indices[t]==i.length&&(this.by_indices[t]=0,e=1),this.last[n]=i[this.by_indices[t]]):a&&this["increment_"+n](this.rule.interval),s&&e&&a&&this["increment_"+r](1)),e},increment_monthday:function(t){for(var e=0;en&&(this.last.day-=n,this.increment_month())}},increment_month:function(){var t;this.last.day=1,this.has_by_data("BYMONTH")?(this.by_indices.BYMONTH++,this.by_indices.BYMONTH==this.by_data.BYMONTH.length&&(this.by_indices.BYMONTH=0,this.increment_year(1)),this.last.month=this.by_data.BYMONTH[this.by_indices.BYMONTH]):("MONTHLY"==this.rule.freq?this.last.month+=this.rule.interval:this.last.month++,this.last.month--,t=ICAL.helpers.trunc(this.last.month/12),this.last.month%=12,this.last.month++,0!=t&&this.increment_year(t))},increment_year:function(t){this.last.year+=t},increment_generic:function(t,e,n,r){this.last[e]+=t;t=ICAL.helpers.trunc(this.last[e]/n);this.last[e]%=n,0!=t&&this["increment_"+r](t)},has_by_data:function(t){return t in this.rule.parts},expand_year_days:function(t){var e=new ICAL.Time;this.days=[];var n,r,i={},s=["BYDAY","BYWEEKNO","BYMONTHDAY","BYMONTH","BYYEARDAY"];for(n in s)!s.hasOwnProperty(n)||(r=s[n])in this.rule.parts&&(i[r]=this.rule.parts[r]);if("BYMONTH"in i&&"BYWEEKNO"in i){var a=1,o={};e.year=t,e.isDate=!0;for(var u=0;ue[0]?1:e[0]>t[0]?-1:0}return t.prototype={THISANDFUTURE:"THISANDFUTURE",exceptions:null,strictExceptions:!1,relateException:function(t){if(this.isRecurrenceException())throw new Error("cannot relate exception to exceptions");if(t instanceof ICAL.Component&&(t=new ICAL.Event(t)),this.strictExceptions&&t.uid!==this.uid)throw new Error("attempted to relate unrelated exception");var e=t.recurrenceId.toString();(this.exceptions[e]=t).modifiesFuture()&&(t=[t.recurrenceId.toUnixTime(),e],e=ICAL.helpers.binsearchInsert(this.rangeExceptions,t,n),this.rangeExceptions.splice(e,0,t))},modifiesFuture:function(){return!!this.component.hasProperty("recurrence-id")&&this.component.getFirstProperty("recurrence-id").getParameter("range")===this.THISANDFUTURE},findRangeException:function(t){if(!this.rangeExceptions.length)return null;var e=t.toUnixTime(),t=ICAL.helpers.binsearchInsert(this.rangeExceptions,[e],n);if(--t<0)return null;t=this.rangeExceptions[t];return e +