diff --git a/dist/index.js b/dist/index.js index fbe3874..df0662c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -74,4 +74,4 @@ var t="undefined"!=typeof window&&"undefined"!=typeof document,r=["Edge","Triden * vue-i18n v8.8.2 * (c) 2019 kazuya kawaguchi * Released under the MIT License. - */function Fn(n,e){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+n),e&&console.warn(e.stack))}function Rn(n){return null!==n&&"object"==typeof n}var $n=Object.prototype.toString,Mn="[object Object]";function Pn(n){return $n.call(n)===Mn}function zn(n){return null==n}function Wn(){for(var n=[],e=arguments.length;e--;)n[e]=arguments[e];var t=null,r=null;return 1===n.length?Rn(n[0])||Array.isArray(n[0])?r=n[0]:"string"==typeof n[0]&&(t=n[0]):2===n.length&&("string"==typeof n[0]&&(t=n[0]),(Rn(n[1])||Array.isArray(n[1]))&&(r=n[1])),{locale:t,params:r}}function Un(n){return JSON.parse(JSON.stringify(n))}var qn=Object.prototype.hasOwnProperty;function Bn(n,e){return qn.call(n,e)}function Gn(n){for(var e=arguments,t=Object(n),r=1;r0;)e[t]=arguments[t+1];var r=this.$i18n;return r._t.apply(r,[n,r.locale,r._getMessages(),this].concat(e))},n.prototype.$tc=function(n,e){for(var t=[],r=arguments.length-2;r-- >0;)t[r]=arguments[r+2];var o=this.$i18n;return o._tc.apply(o,[n,o.locale,o._getMessages(),this,e].concat(t))},n.prototype.$te=function(n,e){var t=this.$i18n;return t._te(n,t.locale,t._getMessages(),e)},n.prototype.$d=function(n){for(var e,t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[n].concat(t))},n.prototype.$n=function(n){for(var e,t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[n].concat(t))}})(Kn),Kn.mixin(Qn),Kn.directive("t",{bind:Xn,update:Jn,unbind:Zn}),Kn.component(Yn.name,Yn),Kn.config.optionMergeStrategies.i18n=function(n,e){return void 0===e?n:e}}var oe=function(){this._caches=Object.create(null)};oe.prototype.interpolate=function(n,e){if(!e)return[n];var t=this._caches[n];return t||(t=function(n){var e=[],t=0,r="";for(;t0)u--,d=pe,p[se]();else{if(u=0,!1===(t=ye(t)))return!1;p[le]()}};null!==d;)if(c++,"\\"!==(e=n[c])||!m()){if(o=we(e),(i=(s=be[d])[o]||s.else||ge)===ge)return;if(d=i[0],(a=p[i[1]])&&(r=void 0===(r=i[2])?e:r,!1===a()))return;if(d===he)return l}}(n))&&(this._cache[n]=e),e||[]},xe.prototype.getPathValue=function(n,e){if(!Rn(n))return null;var t=this.parsePath(e);if(0===t.length)return null;for(var r=t.length,o=n,i=0;i-1)n.splice(t,1)}}(this._dataListeners,n)},De.prototype.watchI18nData=function(){var n=this;return this._vm.$watch("$data",(function(){for(var e=n._dataListeners.length;e--;)Kn.nextTick((function(){n._dataListeners[e]&&n._dataListeners[e].$forceUpdate()}))}),{deep:!0})},De.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var n=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){n.$set(n,"locale",e),n.$forceUpdate()}),{immediate:!0})},Oe.vm.get=function(){return this._vm},Oe.messages.get=function(){return Un(this._getMessages())},Oe.dateTimeFormats.get=function(){return Un(this._getDateTimeFormats())},Oe.numberFormats.get=function(){return Un(this._getNumberFormats())},Oe.locale.get=function(){return this._vm.locale},Oe.locale.set=function(n){this._vm.$set(this._vm,"locale",n)},Oe.fallbackLocale.get=function(){return this._vm.fallbackLocale},Oe.fallbackLocale.set=function(n){this._vm.$set(this._vm,"fallbackLocale",n)},Oe.missing.get=function(){return this._missing},Oe.missing.set=function(n){this._missing=n},Oe.formatter.get=function(){return this._formatter},Oe.formatter.set=function(n){this._formatter=n},Oe.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Oe.silentTranslationWarn.set=function(n){this._silentTranslationWarn=n},Oe.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Oe.silentFallbackWarn.set=function(n){this._silentFallbackWarn=n},Oe.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Oe.preserveDirectiveContent.set=function(n){this._preserveDirectiveContent=n},De.prototype._getMessages=function(){return this._vm.messages},De.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},De.prototype._getNumberFormats=function(){return this._vm.numberFormats},De.prototype._warnDefault=function(n,e,t,r,o){if(!zn(t))return t;if(this._missing){var i=this._missing.apply(null,[n,e,r,o]);if("string"==typeof i)return i}else 0;return e},De.prototype._isFallbackRoot=function(n){return!n&&!zn(this._root)&&this._fallbackRoot},De.prototype._isSilentFallback=function(n){return this._silentFallbackWarn&&(this._isFallbackRoot()||n!==this.fallbackLocale)},De.prototype._interpolate=function(n,e,t,r,o,i,a){if(!e)return null;var s,l=this._path.getPathValue(e,t);if(Array.isArray(l)||Pn(l))return l;if(zn(l)){if(!Pn(e))return null;if("string"!=typeof(s=e[t]))return null}else{if("string"!=typeof l)return null;s=l}return(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(n,e,s,r,"raw",i,a)),this._render(s,o,i,t)},De.prototype._link=function(n,e,t,r,o,i,a){var s=t,l=s.match(Ce);for(var c in l)if(l.hasOwnProperty(c)){var d=l[c],u=d.match(Se),p=u[0],m=u[1],f=d.replace(p,"").replace(Te,"");if(a.includes(f))return s;a.push(f);var h=this._interpolate(n,e,f,r,"raw"===o?"string":o,"raw"===o?void 0:i,a);if(this._isFallbackRoot(h)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;h=g._translate(g._getMessages(),g.locale,g.fallbackLocale,f,r,o,i)}h=this._warnDefault(n,f,h,r,Array.isArray(i)?i:[i]),Ee.hasOwnProperty(m)&&(h=Ee[m](h)),a.pop(),s=h?s.replace(d,h):s}return s},De.prototype._render=function(n,e,t,r){var o=this._formatter.interpolate(n,t,r);return o||(o=Ae.interpolate(n,t,r)),"string"===e?o.join(""):o},De.prototype._translate=function(n,e,t,r,o,i,a){var s=this._interpolate(e,n[e],r,o,i,a,[r]);return zn(s)&&zn(s=this._interpolate(t,n[t],r,o,i,a,[r]))?null:s},De.prototype._t=function(n,e,t,r){for(var o,i=[],a=arguments.length-4;a-- >0;)i[a]=arguments[a+4];if(!n)return"";var s=Wn.apply(void 0,i),l=s.locale||e,c=this._translate(t,l,this.fallbackLocale,n,r,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[n].concat(i))}return this._warnDefault(l,n,c,r,i)},De.prototype.t=function(n){for(var e,t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return(e=this)._t.apply(e,[n,this.locale,this._getMessages(),null].concat(t))},De.prototype._i=function(n,e,t,r,o){var i=this._translate(t,e,this.fallbackLocale,n,r,"raw",o);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(n,e,o)}return this._warnDefault(e,n,i,r,[o])},De.prototype.i=function(n,e,t){return n?("string"!=typeof e&&(e=this.locale),this._i(n,e,this._getMessages(),null,t)):""},De.prototype._tc=function(n,e,t,r,o){for(var i,a=[],s=arguments.length-5;s-- >0;)a[s]=arguments[s+5];if(!n)return"";void 0===o&&(o=1);var l={count:o,n:o},c=Wn.apply(void 0,a);return c.params=Object.assign(l,c.params),a=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((i=this)._t.apply(i,[n,e,t,r].concat(a)),o)},De.prototype.fetchChoice=function(n,e){if(!n&&"string"!=typeof n)return null;var t=n.split("|");return t[e=this.getChoiceIndex(e,t.length)]?t[e].trim():n},De.prototype.getChoiceIndex=function(n,e){var t,r;return this.locale in this.pluralizationRules?this.pluralizationRules[this.locale].apply(this,[n,e]):(t=n,r=e,t=Math.abs(t),2===r?t?t>1?1:0:1:t?Math.min(t,2):0)},De.prototype.tc=function(n,e){for(var t,r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];return(t=this)._tc.apply(t,[n,this.locale,this._getMessages(),null,e].concat(r))},De.prototype._te=function(n,e,t){for(var r=[],o=arguments.length-3;o-- >0;)r[o]=arguments[o+3];var i=Wn.apply(void 0,r).locale||e;return this._exist(t[i],n)},De.prototype.te=function(n,e){return this._te(n,this.locale,this._getMessages(),e)},De.prototype.getLocaleMessage=function(n){return Un(this._vm.messages[n]||{})},De.prototype.setLocaleMessage=function(n,e){this._vm.$set(this._vm.messages,n,e)},De.prototype.mergeLocaleMessage=function(n,e){this._vm.$set(this._vm.messages,n,Gn(this._vm.messages[n]||{},e))},De.prototype.getDateTimeFormat=function(n){return Un(this._vm.dateTimeFormats[n]||{})},De.prototype.setDateTimeFormat=function(n,e){this._vm.$set(this._vm.dateTimeFormats,n,e)},De.prototype.mergeDateTimeFormat=function(n,e){this._vm.$set(this._vm.dateTimeFormats,n,Gn(this._vm.dateTimeFormats[n]||{},e))},De.prototype._localizeDateTime=function(n,e,t,r,o){var i=e,a=r[i];if((zn(a)||zn(a[o]))&&(a=r[i=t]),zn(a)||zn(a[o]))return null;var s=a[o],l=i+"__"+o,c=this._dateTimeFormatters[l];return c||(c=this._dateTimeFormatters[l]=new Intl.DateTimeFormat(i,s)),c.format(n)},De.prototype._d=function(n,e,t){if(!t)return new Intl.DateTimeFormat(e).format(n);var r=this._localizeDateTime(n,e,this.fallbackLocale,this._getDateTimeFormats(),t);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(n,t,e)}return r||""},De.prototype.d=function(n){for(var e=[],t=arguments.length-1;t-- >0;)e[t]=arguments[t+1];var r=this.locale,o=null;return 1===e.length?"string"==typeof e[0]?o=e[0]:Rn(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(o=e[0].key)):2===e.length&&("string"==typeof e[0]&&(o=e[0]),"string"==typeof e[1]&&(r=e[1])),this._d(n,r,o)},De.prototype.getNumberFormat=function(n){return Un(this._vm.numberFormats[n]||{})},De.prototype.setNumberFormat=function(n,e){this._vm.$set(this._vm.numberFormats,n,e)},De.prototype.mergeNumberFormat=function(n,e){this._vm.$set(this._vm.numberFormats,n,Gn(this._vm.numberFormats[n]||{},e))},De.prototype._localizeNumber=function(n,e,t,r,o,i){var a=e,s=r[a];if((zn(s)||zn(s[o]))&&(s=r[a=t]),zn(s)||zn(s[o]))return null;var l,c=s[o];if(i)l=new Intl.NumberFormat(a,Object.assign({},c,i));else{var d=a+"__"+o;(l=this._numberFormatters[d])||(l=this._numberFormatters[d]=new Intl.NumberFormat(a,c))}return l.format(n)},De.prototype._n=function(n,e,t,r){if(!De.availabilities.numberFormat)return"";if(!t)return(r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e)).format(n);var o=this._localizeNumber(n,e,this.fallbackLocale,this._getNumberFormats(),t,r);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(n,Object.assign({},{key:t,locale:e},r))}return o||""},De.prototype.n=function(n){for(var e=[],t=arguments.length-1;t-- >0;)e[t]=arguments[t+1];var r=this.locale,o=null,i=null;return 1===e.length?"string"==typeof e[0]?o=e[0]:Rn(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(o=e[0].key),i=Object.keys(e[0]).reduce((function(n,t){var r;return ke.includes(t)?Object.assign({},n,((r={})[t]=e[0][t],r)):n}),null)):2===e.length&&("string"==typeof e[0]&&(o=e[0]),"string"==typeof e[1]&&(r=e[1])),this._n(n,r,o,i)},Object.defineProperties(De.prototype,Oe),Object.defineProperty(De,"availabilities",{get:function(){if(!_e){var n="undefined"!=typeof Intl;_e={dateTimeFormat:n&&void 0!==Intl.DateTimeFormat,numberFormat:n&&void 0!==Intl.NumberFormat}}return _e}}),De.install=re,De.version="8.8.2";var Le=De;var Ie=new class{install(n){n.prototype.$gBus=new r.default}},Ne=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"container"},[t("nav",{staticClass:"navbar navbar-expand-md navbar-dark bg-dark fixed-top"},[t("div",{staticClass:"container"},[t("div",{staticClass:"navbar-header"},[n._m(0),n._v(" "),t("a",{staticClass:"navbar-brand",attrs:{href:"#"+n.$route.path}},[n._v("ET "+n._s(n.eorzeaclock))])]),n._v(" "),t("div",{staticClass:"collapse navbar-collapse",attrs:{id:"navbar-collapse-1"}},[t("ul",{staticClass:"navbar-nav align-items-stretch"},[t("li",{staticClass:"nav-item",class:{active:"/"==n.$route.path}},[t("router-link",{staticClass:"nav-link",attrs:{to:"/"}},[n._v(n._s(n.$t("info.home")))])],1),n._v(" "),t("li",{staticClass:"nav-item",class:{active:"/weatheroverview"==n.$route.path}},[t("router-link",{staticClass:"nav-link",attrs:{to:"/weatheroverview"}},[n._v(n._s(n.$t("info.weatheroverview")))])],1)]),n._v(" "),t("ul",{staticClass:"navbar-nav ml-md-auto align-items-stretch"},[t("li",{staticClass:"nav-item dropdown"},[t("a",{staticClass:"nav-link dropdown-toggle",attrs:{href:"javascript:void(0);","data-toggle":"dropdown","data-target":"#dropdown-menu",role:"button","aria-haspopup":"true","aria-expanded":"false"}},[n._v(n._s(n.$t("lang."+n.currentLang)))]),n._v(" "),t("div",{staticClass:"dropdown-menu",attrs:{id:"dropdown-menu"}},[t("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0);"},on:{click:function(e){return n.chlang("zh-CN")}}},[n._v(n._s(n.$t("lang.zh-CN")))]),n._v(" "),t("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0);"},on:{click:function(e){return n.chlang("en-US")}}},[n._v(n._s(n.$t("lang.en-US")))]),n._v(" "),t("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0);"},on:{click:function(e){return n.chlang("ja-JP")}}},[n._v(n._s(n.$t("lang.ja-JP")))])])]),n._v(" "),t("li",{staticClass:"nav-item dropdown",class:"ja-JP"===n.currentLang?"hidden":""},[t("a",{staticClass:"nav-link dropdown-toggle",attrs:{href:"javascript:void(0);","data-toggle":"dropdown",role:"button","aria-haspopup":"true","aria-expanded":"false"}},[n._v("\n "+n._s(n.$t(n.currentHourSystem+"hoursystem"))+"\n "),t("span",{staticClass:"caret"})]),n._v(" "),t("ul",{staticClass:"dropdown-menu"},[t("li",[t("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0);"},on:{click:function(e){return n.chhoursystem("12")}}},[n._v(n._s(n.$t("12hoursystem")))])]),n._v(" "),t("li",[t("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0);"},on:{click:function(e){return n.chhoursystem("24")}}},[n._v(n._s(n.$t("24hoursystem")))])])])])])])])]),n._v(" "),t("router-view")],1)};Ne._withStripped=!0;var je,He=t(1),Fe=t.n(He);class Re{constructor(n){this.date=void 0!==n?new Date(n):new Date(Date.now()*Re.ratio)}getHours(){return this.date.getUTCHours()}addHours(n){return new Re(this.date.getTime()+36e5*n)}getMinutes(){return this.date.getUTCMinutes()}getDays(){return Math.floor(this.date.getTime()/864e5)}getLocalTime(){return new Date(this.date.getTime()/Re.ratio)}toHourMinuteString(){let n=this.getHours(),e=`${n<10?"0":""}${n}`,t=this.getMinutes();return`${e}:${`${t<10?"0":""}${t}`}`}}Re.ratio=1440/70,function(n){class e extends Set{constructor(){super(),this._listenerMap={}}addEventListener(n,e){this._listenerMap[n]||(this._listenerMap[n]=new Set),this._listenerMap[n].add(e)}add(n){const e=this.has(n);Set.prototype.add.bind(this)(n);let t=!e&&this.has(n);return this._listenerMap.add instanceof Set&&this._listenerMap.add.forEach(e=>{e.bind(this)(t,n)}),this}clear(){return this._listenerMap.clear instanceof Set&&this._listenerMap.clear.forEach(n=>{n.bind(this)(!0,void 0)}),Set.prototype.clear.bind(this)()}delete(n){let e=Set.prototype.delete.bind(this)(n);return this._listenerMap.delete instanceof Set&&this._listenerMap.delete.forEach(t=>{t.bind(this)(e,n)}),e}}class t extends Map{constructor(){super();let n=new Date,e=n.getTime();n.setTime(2e3*(Math.floor(n.getTime()/2e3)+1)),setTimeout(()=>{this._clearExpriedNotification(),setInterval(()=>{this._clearExpriedNotification()},2e3)},n.getTime()-e)}add(n){return this.set(Date.now(),n)}deleteNotification(n){this.forEach((e,t)=>{e===n&&this.delete(t)})}_expired(n){let e=n||Date.now()-13e3,t=[];for(let n of this.keys())n{e[t]&&(n[t]=e[t])})}clone(){return new r(this)}extend(n){let e=this.clone();return n&&this._copyOption(e,n),0===e.length&&(e.length=1),e}extendTitle(n){return this.extend({title:n})}add(n){return 0!=this.length++&&(this.body+=", "),this.body+=n,this}}n.Option=r;class o{constructor({welcomeOption:n,defaultOption:i}){if(this.permission=!!("Notification"in window)&&Notification.permission===o.PERMISSION.GRANTED,this.defaultOption=new r,this.isOnBeforeunload=!1,this.NSQuitQueue=new t,this.notificationSet=new e,this.notificationQueue=new Set,o.isSupported){if(i&&(this.defaultOption=i),!0===this.permission)n&&this.sendNotification(n);else{if(Notification.permission!==o.PERMISSION.NEEDGRANTED)return;Notification.requestPermission(e=>{e===o.PERMISSION.GRANTED&&(this.permission=!0,n&&this.sendNotification(n))})}window.addEventListener("beforeunload",()=>{this.isOnBeforeunload=!0,this.notificationSet.forEach(n=>{n.close()})}),this.notificationSet.addEventListener("delete",n=>{n&&this.notificationQueue.size>0&&this.notificationQueue.forEach(n=>{this.notificationSet.size<3&&(this.sendNotification(n),this.notificationQueue.delete(n))})})}}sendNotification(n){if(!0===this.permission&&!1===this.isOnBeforeunload)if(Array.isArray(n))n.forEach(n=>{this.sendNotification(n)});else if(n.length>0)if(this.notificationSet.size<3){let e=this.defaultOption.extend(n),t=new Notification(n.title,e);this.bindNotification(t)}else this.notificationQueue.add(n)}bindNotification(n){this.notificationSet.add(n),n.addEventListener("error",()=>{n.close()}),n.addEventListener("click",()=>{window.focus(),n.close()}),n.addEventListener("close",()=>{this.notificationSet.delete(n),this.NSQuitQueue.deleteNotification(n)}),this.NSQuitQueue.add(n)}}o.isSupported=!!("Notification"in window),o.PERMISSION={GRANTED:"granted",DENIED:"denied",NEEDGRANTED:"default"},n.Main=o}(je||(je={}));let $e=class extends r.default{constructor(){super(...arguments),this.eorzeaclock="00:00",this._lastWeatherChangeKey=0,this._lastHour=0,this.currentHourSystem="24"}get currentLang(){return this.$i18n.locale}created(){if(this.currentHourSystem="24"===localStorage.getItem("hourSystem")?"24":"12",this.$i18n.locale=localStorage.getItem("lang")||"zh-CN",this.tick(),setInterval(this.tick.bind(this),1e3),je.Main.isSupported){let n=new je.Option({lang:this.$i18n.locale,icon:"./image/logo.png"}),e=new je.Main({welcomeOption:n.extend({title:this.$t("notification.welcome.title")+"",body:this.$t("notification.welcome.body")+""}),defaultOption:n.clone()});this.$gBus.$on("nearSoonToCompleteGet",t=>{if(t.length>3){let r=n.clone(),o=n.clone();t.forEach(n=>{(n.isStillWaiting?o:r).add(n.id+" "+this.$t(n.area))}),e.sendNotification([r.extendTitle(this.$tc("notification.availableNowTitle",2,{n:r.length})),o.extendTitle(this.$tc("notification.availableSoonTitle",2,{n:o.length}))])}else e.sendNotification(t.map(e=>{let t=n.clone(),r=e.id+" "+this.$t(e.area);return e.isStillWaiting&&(r+=this.$t("info.isStillWaiting")),r+=this.$tc("info.lessThan",e.nextAvaliableTimeLeft,{m:e.nextAvaliableTimeLeft}),t.extend({title:this.$tc(e.isStillWaiting?"notification.availableSoonTitle":"notification.availableNowTitle",1),body:r})}))})}}tick(){let n=new Re(void 0),e=n.getHours()/8>>>0;this._lastWeatherChangeKey!=e&&(this.$gBus.$emit("weatherChange",e),this._lastWeatherChangeKey=e);let t=n.getHours();this._lastHour!=t&&(this.$gBus.$emit("hourChange",t),this._lastHour=t),this.eorzeaclock=n.toHourMinuteString()}chlang(n){this.$i18n.locale=n,localStorage.setItem("lang",n)}chhoursystem(n){n="24"===n?"24":"12",localStorage.setItem("hourSystem",n),this.currentHourSystem=n,location.reload(!1)}};$e=function(n,e,t,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(n,e,t,r);else for(var s=n.length-1;s>=0;s--)(o=n[s])&&(a=(i<3?o(a):i>3?o(e,t,a):o(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a}([Fe.a],$e);var Me=$e;t(12);function Pe(n,e,t,r,o,i,a,s){var l,c="function"==typeof n?n.options:n;if(e&&(c.render=e,c.staticRenderFns=t,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(l=function(n){(n=n||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(n=__VUE_SSR_CONTEXT__),o&&o.call(this,n),n&&n._registeredComponents&&n._registeredComponents.add(a)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(n,e){return l.call(e),d(n,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:n,options:c}}var ze=Pe(Me,Ne,[function(){var n=this.$createElement,e=this._self._c||n;return e("button",{staticClass:"navbar-toggler collapsed",attrs:{type:"button","data-toggle":"collapse","data-target":"#navbar-collapse-1","aria-expanded":"false"}},[e("span",{staticClass:"sr-only"},[this._v("Toggle navigation")]),this._v(" "),e("span",{staticClass:"navbar-toggler-icon"})])}],!1,null,null,null);ze.options.__file="src/App.vue";var We=ze.exports,Ue=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",[t("div",{staticClass:"introdutionlead alert alert-info collapse",class:n.isFirstView?"show":"hidden"},[t("p",{staticClass:"lead",domProps:{innerHTML:n._s(n.$t("introdution.text"))}}),n._v(" "),t("button",{staticClass:"btn btn-success",attrs:{type:"button"},on:{click:function(e){return n.setFirstView()}}},[n._v(n._s(n.$t("introdution.button")))])]),n._v(" "),t("ul",{staticClass:"nav nav-pills"},n._l(n.sourceData,(function(e,r){return t("li",{key:e.groupName,staticClass:"nav-item",on:{click:function(e){return n.switchGroup(r)}}},[t("a",{staticClass:"nav-link text-secondary",class:n.activeGroup==r?"active bg-secondary text-light":"",attrs:{href:"javascript:void(0);"}},[n._v(n._s(e.groupName))])])})),0),n._v(" "),t("p",{staticClass:"sightseeing alert",class:n.alertClass},[n._v("\n "+n._s(n.$t("info.succeedSightseeingCountInfomation"))+": "+n._s(n.$t("info.activeGroupCount"))+": "+n._s(n.succeedCounter.activeGroupCount)+" / "+n._s(n.succeedCounter.activeGroupAllCount)+" "+n._s(n.$t("info.totalCount"))+": "+n._s(n.succeedCounter.succeedCount)+" / "+n._s(n.succeedCounter.allCount)+"\n "),t("span",{staticClass:"hr"}),n._v(" "),t("span",{staticClass:"ps"},[n._v(n._s(n.$t("sightseeingClickIntroduction")))]),n._v(" "),t("span",{staticClass:"ps",class:"alert-success"===n.alertClass&&"hidden"},[n._v(n._s(n.$t("info.additionalInfo")))]),n._v(" "),t("span",{staticClass:"ps",class:"alert-success"===n.alertClass&&"hidden"},[n._v("\n "+n._s(n.$t("sightseeingActGuide"))+"\n "),t("a",{staticClass:"external seehere",attrs:{target:"_blank",href:"https://bbs.ngacn.cc/read.php?tid=7755329"}},[n._v(n._s(n.$t("sightseeingActGuideSeeHere")))]),n._v("[zh-cn]\n ")])]),n._v(" "),n._l(n.calcData,(function(e){return t("div",{key:e.id,staticClass:"sightseeing card",class:"card-danger"===e.vaildStatus?"card-default":e.vaildStatus,on:{click:function(t){return n.setComplete(e.id)}}},[t("div",{staticClass:"card-header"},[t("span",{staticClass:"card-title"},[t("span",[n._v(n._s(e.id))]),n._v(" "),null!=e.subarea?t("span",[n._v(n._s(n.$t(e.subarea)))]):t("span",[n._v(n._s(n.$t(e.area)))]),n._v(" "),t("span",[n._v("x:"+n._s(e.pos.x)+" y:"+n._s(e.pos.y))]),n._v(" "),t("img",{staticClass:"weatherImg",attrs:{src:"./image/weather/"+e.weather+".png"}}),n._v(" "),t("span",[n._v(n._s(n.$t(e.weather)))]),n._v(" "),t("span",[n._v(n._s(e.timestr))]),n._v(" "),t("span",[n._v(n._s(n.$t(e.action)))])]),n._v(" "),t("div",{staticClass:"float-right card-postheader"},["card-primary"==e.vaildStatus?t("span",[n._v(n._s(n.$t("info.soonToComplete")))]):n._e(),n._v(" "),"card-info"==e.vaildStatus?t("span",[n._v(n._s(n.$t("info.fewHoursToComplete")))]):n._e(),n._v(" "),"card-secondary"==e.vaildStatus?t("span",[n._v(n._s(n.$t("info.moreTimeToComplete")))]):n._e(),n._v(" "),"card-default"==e.vaildStatus?t("span",[n._v(n._s(n.$t("info.longTimeToComplete")))]):n._e(),n._v(" "),"card-danger"==e.vaildStatus?t("span",[n._v(n._s(n.$t("info.veryLongTimeToComplete")))]):n._e(),n._v(" "),"card-success"==e.vaildStatus?t("span",[n._v(n._s(n.$t("info.completed")))]):n._e()])]),n._v(" "),t("div",{staticClass:"card-body"},["card-success"==e.vaildStatus?t("div",[n._v(n._s(n.$t("info.completed")))]):"card-primary"==e.vaildStatus?t("div",[n._v("\n "+n._s(n.$t("info.startFrom"))+": ET "+n._s(e.nextAvaliableTime.toHourMinuteString())+" "+n._s(n.$t("info.localTime"))+": "+n._s(n.$d(e.nextAvaliableTime.getLocalTime(),"long").replace(n.nowYear,""))+" "+n._s(e.isStillWaiting?n.$t("info.isStillWaiting"):"")+"\n "),t("br"),n._v("\n "+n._s(n.$t("info.endingAt"))+": ET "+n._s(e.nextAvaliableTimeEnd.toHourMinuteString())+" "+n._s(n.$t("info.localTime"))+": "+n._s(n.$d(e.nextAvaliableTimeEnd.getLocalTime(),"long").replace(n.nowYear,""))+" "+n._s(n.$tc("info.lessThan",e.nextAvaliableTimeLeft,{m:e.nextAvaliableTimeLeft}))+"\n ")]):"card-danger"!=e.vaildStatus?t("div",[n._v(n._s(n.$t("info.startFrom"))+": ET "+n._s(e.nextAvaliableTime.toHourMinuteString())+" "+n._s(n.$t("info.localTime"))+": "+n._s(n.$d(e.nextAvaliableTime.getLocalTime(),"long").replace(n.nowYear,"")))]):t("div",[n._v(n._s(n.$t("info.veryLongTimeToComplete")))])])])}))],2)};Ue._withStripped=!0;const qe={"area.LimsaLominsa":{name:"area.LimsaLominsa",weatherRate:[{rate:20,weather:"weather.Clouds"},{rate:30,weather:"weather.ClearSkies"},{rate:30,weather:"weather.FairSkies"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.MiddleLa":{name:"area.MiddleLa",weatherRate:[{rate:20,weather:"weather.Clouds"},{rate:30,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:10,weather:"weather.Wind"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.LowerLa":{name:"area.LowerLa",weatherRate:[{rate:20,weather:"weather.Clouds"},{rate:30,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:10,weather:"weather.Wind"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.EasternLa":{name:"area.EasternLa",weatherRate:[{rate:5,weather:"weather.Fog"},{rate:45,weather:"weather.ClearSkies"},{rate:30,weather:"weather.FairSkies"},{rate:10,weather:"weather.Clouds"},{rate:5,weather:"weather.Rain"},{rate:-1,weather:"weather.Showers"}]},"area.WesternLa":{name:"area.WesternLa",weatherRate:[{rate:10,weather:"weather.Fog"},{rate:30,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:20,weather:"weather.Clouds"},{rate:10,weather:"weather.Wind"},{rate:-1,weather:"weather.Gales"}]},"area.UpperLa":{name:"area.UpperLa",weatherRate:[{rate:30,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:20,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Thunder"},{rate:-1,weather:"weather.Thunderstorms"}]},"area.OuterLa":{name:"area.OuterLa",weatherRate:[{rate:30,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:20,weather:"weather.Clouds"},{rate:15,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.Mist":{name:"area.Mist",weatherRate:[{rate:20,weather:"weather.Clouds"},{rate:30,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:10,weather:"weather.FairSkies"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.Wolves":{name:"area.Wolves",weatherRate:[{rate:20,weather:"weather.Clouds"},{rate:30,weather:"weather.ClearSkies"},{rate:30,weather:"weather.FairSkies"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Thunderstorms"}]},"area.Gridania":{name:"area.Gridania",weatherRate:[{rate:5,weather:"weather.Rain"},{rate:15,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Clouds"},{rate:15,weather:"weather.FairSkies"},{rate:30,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.CentralShroud":{name:"area.CentralShroud",weatherRate:[{rate:5,weather:"weather.Thunder"},{rate:15,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Clouds"},{rate:15,weather:"weather.FairSkies"},{rate:30,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.EastShroud":{name:"area.EastShroud",weatherRate:[{rate:5,weather:"weather.Thunder"},{rate:15,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Clouds"},{rate:15,weather:"weather.FairSkies"},{rate:30,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.SouthShroud":{name:"area.SouthShroud",weatherRate:[{rate:5,weather:"weather.Fog"},{rate:5,weather:"weather.Thunderstorms"},{rate:15,weather:"weather.Thunder"},{rate:5,weather:"weather.Fog"},{rate:10,weather:"weather.Clouds"},{rate:30,weather:"weather.FairSkies"},{rate:-1,weather:"weather.ClearSkies"}]},"area.NorthShroud":{name:"area.NorthShroud",weatherRate:[{rate:5,weather:"weather.Fog"},{rate:5,weather:"weather.Showers"},{rate:15,weather:"weather.Rain"},{rate:5,weather:"weather.Fog"},{rate:10,weather:"weather.Clouds"},{rate:30,weather:"weather.FairSkies"},{rate:-1,weather:"weather.ClearSkies"}]},"area.TheLavenderBeds":{name:"area.TheLavenderBeds",weatherRate:[{rate:5,weather:"weather.Clouds"},{rate:15,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Clouds"},{rate:15,weather:"weather.FairSkies"},{rate:30,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.Uldah":{name:"area.Uldah",weatherRate:[{rate:40,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:25,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.WesternThanalan":{name:"area.WesternThanalan",weatherRate:[{rate:40,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:25,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.CentralThanalan":{name:"area.CentralThanalan",weatherRate:[{rate:15,weather:"weather.DustStorms"},{rate:40,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:10,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.EasternThanalan":{name:"area.EasternThanalan",weatherRate:[{rate:40,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:10,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:5,weather:"weather.Rain"},{rate:-1,weather:"weather.Showers"}]},"area.SouthernThanalan":{name:"area.SouthernThanalan",weatherRate:[{rate:20,weather:"weather.HeatWaves"},{rate:40,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:10,weather:"weather.Clouds"},{rate:-1,weather:"weather.Fog"}]},"area.NorthernThanalan":{name:"area.NorthernThanalan",weatherRate:[{rate:5,weather:"weather.ClearSkies"},{rate:15,weather:"weather.FairSkies"},{rate:30,weather:"weather.Clouds"},{rate:-1,weather:"weather.Fog"}]},"area.TheGoblet":{name:"area.TheGoblet",weatherRate:[{rate:40,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:25,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.MorDhona":{name:"area.MorDhona",weatherRate:[{rate:15,weather:"weather.Clouds"},{rate:15,weather:"weather.Fog"},{rate:30,weather:"weather.Gloom"},{rate:15,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.Ishgard":{name:"area.Ishgard",weatherRate:[{rate:60,weather:"weather.Snow"},{rate:10,weather:"weather.FairSkies"},{rate:5,weather:"weather.ClearSkies"},{rate:15,weather:"weather.Clouds"},{rate:-1,weather:"weather.Fog"}]},"area.CoerthasCentral":{name:"area.CoerthasCentral",weatherRate:[{rate:20,weather:"weather.Blizzards"},{rate:40,weather:"weather.Snow"},{rate:10,weather:"weather.FairSkies"},{rate:5,weather:"weather.ClearSkies"},{rate:15,weather:"weather.Clouds"},{rate:-1,weather:"weather.Fog"}]},"area.CoerthasWestern":{name:"area.CoerthasWestern",weatherRate:[{rate:20,weather:"weather.Blizzards"},{rate:40,weather:"weather.Snow"},{rate:10,weather:"weather.FairSkies"},{rate:5,weather:"weather.ClearSkies"},{rate:15,weather:"weather.Clouds"},{rate:-1,weather:"weather.Fog"}]},"area.TheSeaofClouds":{name:"area.TheSeaofClouds",weatherRate:[{rate:30,weather:"weather.ClearSkies"},{rate:30,weather:"weather.FairSkies"},{rate:10,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Wind"},{rate:-1,weather:"weather.UmbralWind"}]},"area.AzysLla":{name:"area.AzysLla",weatherRate:[{rate:35,weather:"weather.FairSkies"},{rate:35,weather:"weather.Clouds"},{rate:-1,weather:"weather.Thunder"}]},"area.DravanianForelands":{name:"area.DravanianForelands",weatherRate:[{rate:10,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Thunder"},{rate:10,weather:"weather.DustStorms"},{rate:30,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.DravanianHinterlands":{name:"area.DravanianHinterlands",weatherRate:[{rate:10,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.Showers"},{rate:30,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.ChurningMists":{name:"area.ChurningMists",weatherRate:[{rate:10,weather:"weather.Clouds"},{rate:10,weather:"weather.Gales"},{rate:20,weather:"weather.UmbralStatic"},{rate:30,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.Idyllshire":{name:"area.Idyllshire",weatherRate:[{rate:10,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.Showers"},{rate:30,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.RhalgrsReach":{name:"area.RhalgrsReach",weatherRate:[{rate:15,weather:"weather.ClearSkies"},{rate:45,weather:"weather.FairSkies"},{rate:20,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Thunder"}]},"area.TheFringes":{name:"area.TheFringes",weatherRate:[{rate:15,weather:"weather.ClearSkies"},{rate:45,weather:"weather.FairSkies"},{rate:20,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Thunder"}]},"area.ThePeaks":{name:"area.ThePeaks",weatherRate:[{rate:10,weather:"weather.ClearSkies"},{rate:50,weather:"weather.FairSkies"},{rate:15,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Wind"},{rate:-1,weather:"weather.DustStorms"}]},"area.TheLochs":{name:"area.TheLochs",weatherRate:[{rate:20,weather:"weather.ClearSkies"},{rate:40,weather:"weather.FairSkies"},{rate:20,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Thunderstorms"}]},"area.Kugane":{name:"area.Kugane",weatherRate:[{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:20,weather:"weather.Clouds"},{rate:40,weather:"weather.FairSkies"},{rate:-1,weather:"weather.ClearSkies"}]},"area.Shirogane":{name:"area.Shirogane",weatherRate:[{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:20,weather:"weather.Clouds"},{rate:40,weather:"weather.FairSkies"},{rate:-1,weather:"weather.ClearSkies"}]},"area.RubySea":{name:"area.RubySea",weatherRate:[{rate:10,weather:"weather.Thunder"},{rate:10,weather:"weather.Wind"},{rate:15,weather:"weather.Clouds"},{rate:40,weather:"weather.FairSkies"},{rate:-1,weather:"weather.ClearSkies"}]},"area.Yanxia":{name:"area.Yanxia",weatherRate:[{rate:5,weather:"weather.Showers"},{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:15,weather:"weather.Clouds"},{rate:40,weather:"weather.FairSkies"},{rate:-1,weather:"weather.ClearSkies"}]},"area.AzimSteppe":{name:"area.AzimSteppe",weatherRate:[{rate:5,weather:"weather.Gales"},{rate:5,weather:"weather.Wind"},{rate:7,weather:"weather.Rain"},{rate:8,weather:"weather.Fog"},{rate:10,weather:"weather.Clouds"},{rate:40,weather:"weather.FairSkies"},{rate:-1,weather:"weather.ClearSkies"}]},"area.EurekaAnemos":{name:"area.EurekaAnemos",weatherRate:[{rate:30,weather:"weather.FairSkies"},{rate:30,weather:"weather.Gales"},{rate:30,weather:"weather.Showers"},{rate:-1,weather:"weather.Snow"}]},"area.EurekaPagos":{name:"area.EurekaPagos",weatherRate:[{rate:10,weather:"weather.FairSkies"},{rate:18,weather:"weather.Fog"},{rate:18,weather:"weather.HeatWaves"},{rate:18,weather:"weather.Snow"},{rate:18,weather:"weather.EurekaPagosThunder"},{rate:-1,weather:"weather.Blizzards"}]},"area.EurekaPyros":{name:"area.EurekaPyros",weatherRate:[{rate:10,weather:"weather.FairSkies"},{rate:18,weather:"weather.HeatWaves"},{rate:18,weather:"weather.Thunder"},{rate:18,weather:"weather.Blizzards"},{rate:18,weather:"weather.UmbralWind"},{rate:-1,weather:"weather.Snow"}]},"area.EurekaHydatos":{name:"area.EurekaHydatos",weatherRate:[{rate:12,weather:"weather.FairSkies"},{rate:22,weather:"weather.Showers"},{rate:22,weather:"weather.Gloom"},{rate:22,weather:"weather.Thunderstorms"},{rate:-1,weather:"weather.Snow"}]},"area.TheCrystarium":{name:"area.TheCrystarium",weatherRate:[{rate:20,weather:"weather.ClearSkies"},{rate:40,weather:"weather.FairSkies"},{rate:15,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Rain"},{rate:5,weather:"weather.Thunderstorms"}]},"area.Lakeland":{name:"area.Lakeland",weatherRate:[{rate:20,weather:"weather.ClearSkies"},{rate:40,weather:"weather.FairSkies"},{rate:15,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Rain"},{rate:5,weather:"weather.Thunderstorms"}]},"area.Eulmore":{name:"area.Eulmore",weatherRate:[{rate:10,weather:"weather.Gales"},{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:15,weather:"weather.Clouds"},{rate:40,weather:"weather.FairSkies"},{rate:15,weather:"weather.ClearSkies"}]},"area.Kholusia":{name:"area.Kholusia",weatherRate:[{rate:10,weather:"weather.Gales"},{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:15,weather:"weather.Clouds"},{rate:40,weather:"weather.FairSkies"},{rate:15,weather:"weather.ClearSkies"}]},"area.AmhAraeng":{name:"area.AmhAraeng",weatherRate:[{rate:45,weather:"weather.FairSkies"},{rate:15,weather:"weather.Clouds"},{rate:10,weather:"weather.DustStorms"},{rate:10,weather:"weather.HeatWaves"},{rate:20,weather:"weather.ClearSkies"}]},"area.IlMheg":{name:"area.IlMheg",weatherRate:[{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:15,weather:"weather.Clouds"},{rate:10,weather:"weather.Thunderstorms"},{rate:15,weather:"weather.ClearSkies"},{rate:40,weather:"weather.FairSkies"}]},"area.TheRaktikaGreatwood":{name:"area.TheRaktikaGreatwood",weatherRate:[{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.UmbralWind"},{rate:15,weather:"weather.ClearSkies"},{rate:40,weather:"weather.FairSkies"},{rate:15,weather:"weather.Clouds"}]},"area.TheTempest":{name:"area.TheTempest",weatherRate:[{rate:20,weather:"weather.Clouds"},{rate:60,weather:"weather.FairSkies"},{rate:20,weather:"weather.ClearSkies"}]}};class Be{static calcBaseDate(n){let e=new Re(n.date.getTime()),t=e.getHours()-e.getHours()%8;return e.date.setUTCHours(t),e.date.setMinutes(0),e.date.setSeconds(0),e}static forecastSeed(n,e=[0]){return e.map(e=>n.addHours(8*e)).map(n=>100*n.getDays()+(n.getHours()+8-n.getHours()%8)%24).map(n=>(function(n){let e=(n<<11^n)>>>0;return((e>>>8^e)>>>0)%100})(n))}static getForecast(n,e){try{let t=qe[n];return e.map(n=>(function(n,e){for(let t of n){if(-1===t.rate||er+e.addHours(8*t).getHours());if(0===t){let t=n.getHours()-e.getHours();r.splice(0,t)}let o=this.time.filter(n=>-1!==r.indexOf(n));if(0!==o.length){o.sort((n,e)=>n-e),this.nextAvaliableTime=e.addHours(8*t),this.nextAvaliableTime.date.setUTCHours(o[0]),this.nextAvaliableTimeEnd=e.addHours(8*t);let r=this.endHour;if(r8&&(t+=24),this.startHour>t&&(this.isStillWaiting=!0),this.vaildStatus="card-primary"}else this.vaildStatus=t<=3?"card-info":t<=6?"card-secondary":"card-default";return}}}this.nextAvaliableTime=e.addHours(400),this.vaildStatus="card-danger"}}const Ve=[{groupName:"1~20",items:[{id:"1",area:"area.LimsaLominsa",subarea:"area.LimsaLominsaUpper",pos:{x:9.7,y:7.7},weather:"weather.FairSkies",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"2",area:"area.LimsaLominsa",subarea:"area.LimsaLominsaLower",pos:{x:7,y:15.1},weather:"weather.ClearSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"3",area:"area.MiddleLa",pos:{x:20,y:19},weather:"weather.Rain",time:[5,6,7],action:"action.Pray",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"4",area:"area.MiddleLa",pos:{x:16,y:17},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"5",area:"area.MiddleLa",pos:{x:25.3,y:27.5},weather:"weather.Clouds",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"6",area:"area.LowerLa",pos:{x:23,y:40},weather:"weather.FairSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"7",area:"area.LowerLa",pos:{x:33,y:19},weather:"weather.Fog",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"8",area:"area.WesternLa",pos:{x:29.9,y:30.7},weather:"weather.FairSkies",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"9",area:"area.Gridania",subarea:"area.OldGridania",pos:{x:12,y:8},weather:"weather.Clouds",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"10",area:"area.Gridania",subarea:"area.OldGridania",pos:{x:10,y:6},weather:"weather.ClearSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"11",area:"area.CentralShroud",pos:{x:21.8,y:21.8},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Sit",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"12",area:"area.EastShroud",pos:{x:17,y:18},weather:"weather.FairSkies",time:[8,9,10,11],action:"action.Pray",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"13",area:"area.EastShroud",pos:{x:22,y:26},weather:"weather.FairSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"14",area:"area.Uldah",subarea:"area.UldahThal",pos:{x:11,y:11},weather:"weather.FairSkies",time:[5,6,7],action:"action.Salute",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"15",area:"area.Uldah",subarea:"area.UldahThal",pos:{x:11,y:11},weather:"weather.Clouds",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"16",area:"area.WesternThanalan",pos:{x:22,y:22},weather:"weather.FairSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"17",area:"area.CentralThanalan",pos:{x:15,y:22},weather:"weather.Fog",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"18",area:"area.EasternThanalan",pos:{x:19,y:24},weather:"weather.Rain",time:[17],action:"action.Comfort",timestr:"17:00~18:00",startHour:17,endHour:18},{id:"19",area:"area.EasternThanalan",pos:{x:14,y:18},weather:"weather.Clouds",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"20",area:"area.EasternThanalan",pos:{x:21,y:20.8},weather:"weather.FairSkies",time:[5,6,7],action:"action.Pray",timestr:"5:00~8:00",startHour:5,endHour:8}]},{groupName:"21~80",items:[{id:"21",area:"area.MiddleLa",pos:{x:20,y:13},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"22",area:"area.MiddleLa",pos:{x:25,y:17},weather:"weather.ClearSkies",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"23",area:"area.LowerLa",pos:{x:31,y:12},weather:"weather.Rain",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"24",area:"area.EasternLa",pos:{x:32,y:23},weather:"weather.ClearSkies",time:[8,9,10,11],action:"action.Sit",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"25",area:"area.EasternLa",pos:{x:29,y:33},weather:"weather.Rain",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"26",area:"area.WesternLa",pos:{x:26,y:26},weather:"weather.ClearSkies",time:[17],action:"action.Pray",timestr:"17:00~18:00",startHour:17,endHour:18},{id:"27",area:"area.WesternLa",pos:{x:17,y:36},weather:"weather.Gales",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"28",area:"area.WesternLa",pos:{x:22,y:22},weather:"weather.FairSkies",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"29",area:"area.WesternLa",pos:{x:19,y:23},weather:"weather.ClearSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"30",area:"area.UpperLa",pos:{x:30,y:22},weather:"weather.FairSkies",time:[17],action:"action.Lookout",timestr:"17:00~18:00",startHour:17,endHour:18},{id:"31",area:"area.UpperLa",pos:{x:12,y:22},weather:"weather.ClearSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"32",area:"area.UpperLa",pos:{x:29,y:25},weather:"weather.Thunderstorms",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"33",area:"area.OuterLa",pos:{x:12,y:15},weather:"weather.FairSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"34",area:"area.OuterLa",pos:{x:17,y:16},weather:"weather.Clouds",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"35",area:"area.OuterLa",pos:{x:23,y:11},weather:"weather.ClearSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"36",area:"area.OuterLa",pos:{x:15,y:10},weather:"weather.Rain",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Sit",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"37",area:"area.Gridania",subarea:"area.NewGridania",pos:{x:14,y:14},weather:"weather.FairSkies",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"38",area:"area.Gridania",subarea:"area.OldGridania",pos:{x:14,y:5},weather:"weather.Rain",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"39",area:"area.CentralShroud",pos:{x:23,y:19},weather:"weather.Rain",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"40",area:"area.CentralShroud",pos:{x:13,y:23},weather:"weather.ClearSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"41",area:"area.CentralShroud",pos:{x:16,y:22},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"42",area:"area.CentralShroud",pos:{x:26,y:18},weather:"weather.ClearSkies",time:[11,12,13],action:"action.Lookout",timestr:"11:00~14:00",startHour:11,endHour:14},{id:"43",area:"area.EastShroud",pos:{x:21,y:10},weather:"weather.Thunder",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"44",area:"area.SouthShroud",pos:{x:17,y:20},weather:"weather.Thunderstorms",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"45",area:"area.SouthShroud",pos:{x:14,y:33},weather:"weather.ClearSkies",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"46",area:"area.SouthShroud",pos:{x:33,y:23},weather:"weather.Fog",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"47",area:"area.SouthShroud",pos:{x:25,y:21},weather:"weather.FairSkies",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"48",area:"area.NorthShroud",pos:{x:18,y:19},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"49",area:"area.NorthShroud",pos:{x:15,y:32},weather:"weather.ClearSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"50",area:"area.NorthShroud",pos:{x:15,y:27},weather:"weather.Clouds",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"51",area:"area.WesternThanalan",pos:{x:8,y:5},weather:"weather.ClearSkies",time:[17],action:"action.Lookout",timestr:"17:00~18:00",startHour:17,endHour:18},{id:"52",area:"area.WesternThanalan",pos:{x:12,y:14},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Point",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"53",area:"area.CentralThanalan",pos:{x:21,y:17},weather:"weather.DustStorms",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"54",area:"area.CentralThanalan",pos:{x:18,y:26},weather:"weather.ClearSkies",time:[12,13,14,15,16],action:"action.Sit",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"55",area:"area.EasternThanalan",pos:{x:30,y:26},weather:"weather.ClearSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"56",area:"area.EasternThanalan",pos:{x:10,y:16},weather:"weather.FairSkies",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"57",area:"area.EasternThanalan",pos:{x:25,y:14},weather:"weather.Showers",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Pray",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"58",area:"area.SouthernThanalan",pos:{x:12,y:22},weather:"weather.Fog",time:[5,6,7],action:"action.Pray",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"59",area:"area.SouthernThanalan",pos:{x:19,y:20},weather:"weather.FairSkies",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"60",area:"area.SouthernThanalan",pos:{x:21,y:38},weather:"weather.HeatWaves",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"61",area:"area.SouthernThanalan",pos:{x:23,y:11},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"62",area:"area.SouthernThanalan",pos:{x:14,y:26},weather:"weather.HeatWaves",time:[5,6,7],action:"action.Psych",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"63",area:"area.NorthernThanalan",pos:{x:21,y:24},weather:"weather.ClearSkies",time:[5,6,7],action:"action.Salute",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"64",area:"area.NorthernThanalan",pos:{x:20,y:29},weather:"weather.FairSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"65",area:"area.NorthernThanalan",pos:{x:20,y:22},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"66",area:"area.NorthernThanalan",pos:{x:19,y:17},weather:"weather.Clouds",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"67",area:"area.NorthernThanalan",pos:{x:26,y:22},weather:"weather.Fog",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"68",area:"area.CoerthasCentral",pos:{x:25,y:29},weather:"weather.ClearSkies",time:[17],action:"action.Lookout",timestr:"17:00~18:00",startHour:17,endHour:18},{id:"69",area:"area.CoerthasCentral",pos:{x:25,y:29},weather:"weather.Fog",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"70",area:"area.CoerthasCentral",pos:{x:11,y:15},weather:"weather.Blizzards",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"71",area:"area.CoerthasCentral",pos:{x:12,y:17},weather:"weather.FairSkies",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"72",area:"area.CoerthasCentral",pos:{x:7,y:28},weather:"weather.ClearSkies",time:[17],action:"action.Lookout",timestr:"17:00~18:00",startHour:17,endHour:18},{id:"73",area:"area.CoerthasCentral",pos:{x:7,y:31},weather:"weather.Blizzards",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"74",area:"area.CoerthasCentral",pos:{x:2,y:21},weather:"weather.FairSkies",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"75",area:"area.CoerthasCentral",pos:{x:26,y:17},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"76",area:"area.CoerthasCentral",pos:{x:28,y:10},weather:"weather.ClearSkies",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"77",area:"area.MorDhona",pos:{x:9,y:13},weather:"weather.Gloom",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"78",area:"area.MorDhona",pos:{x:27,y:8},weather:"weather.FairSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"79",area:"area.MorDhona",pos:{x:18,y:17},weather:"weather.ClearSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"80",area:"area.MorDhona",pos:{x:26,y:11},weather:"weather.FairSkies",time:[17],action:"action.Sit",timestr:"17:00~18:00",startHour:17,endHour:18}]}];class Ke{constructor(){let n=(localStorage.getItem("comletedSightseeing")||"").split(",").filter(n=>""!==n);this._succeedIds=new Set(n)}store(){localStorage.setItem("comletedSightseeing",Array.from(this._succeedIds.values()).join(","))}contains(n){return this._succeedIds.has(n)}add(n){this._succeedIds.add(n),this.store()}delete(n){this._succeedIds.delete(n),this.store()}toggle(n){this[this.contains(n)?"delete":"add"](n)}countByGroup(n){return n.items.filter(n=>this._succeedIds.has(n.id)).length}count(){return this._succeedIds.size}}let Qe=class extends r.default{constructor(){super(...arguments),this.nowYear=RegExp(`${(new Date).getFullYear()}年`,"g"),this.sourceData=Ve,this.activeGroup=0,this.calcData=[],this.succeedSightseeingCounter=new Ke,this.succeedCounter={activeGroupCount:0,activeGroupAllCount:0,succeedCount:0,allCount:Ve.reduce((n,e)=>n+=e.items.length,0)},this.isFirstView="true"===(localStorage.getItem("isFirstView")||"true"),this.alertClass=""}created(){localStorage.removeItem("firstView"),this.activeGroup=parseInt(localStorage.getItem("activeGroupIndex")||"0"),this.loadGroup(this.activeGroup),this.$gBus.$on("hourChange",n=>{let e=this.calcData;this.loadGroup(this.activeGroup);let t=this.calcData,r=[];t.forEach(n=>{e.forEach(e=>{e.id===n.id&&"card-primary"===n.vaildStatus&&("card-info"===e.vaildStatus?r.push(n):"card-primary"===e.vaildStatus&&!0===e.isStillWaiting&&!1===n.isStillWaiting&&r.push(n))})}),r.length&&this.$gBus.$emit("nearSoonToCompleteGet",r)})}switchGroup(n){this.activeGroup=n,localStorage.setItem("activeGroupIndex",n.toString()),this.loadGroup(n)}setComplete(n){this.succeedSightseeingCounter.toggle(n),this.loadGroup(this.activeGroup)}loadGroup(n){if(n>=Ve.length)return void this.switchGroup(0);let e=Ve[n].items,t=[],r=[];for(let n in e){let o=new Ge(e[n]);this.succeedSightseeingCounter.contains(o.id)?(o.vaildStatus="card-success",r.push(o)):(o.calcNextAvailableTime(),t.push(o))}t.sort((n,e)=>{let t=n.nextAvaliableTime.date.getTime()-e.nextAvaliableTime.date.getTime();return 0===t&&n.nextAvaliableTimeEnd&&e.nextAvaliableTimeEnd&&(t=n.nextAvaliableTimeEnd.date.getTime()-e.nextAvaliableTimeEnd.date.getTime()),t});for(let n in r)t.push(r[n]);this.succeedCounter.activeGroupCount=this.succeedSightseeingCounter.countByGroup(Ve[this.activeGroup]),this.succeedCounter.activeGroupAllCount=Ve[this.activeGroup].items.length,this.succeedCounter.succeedCount=this.succeedSightseeingCounter.count(),this.calcData=t,this.alertClass=this.succeedCounter.activeGroupCount>=this.succeedCounter.activeGroupAllCount/2?this.succeedCounter.activeGroupCount===this.succeedCounter.activeGroupAllCount?"alert-success":"alert-primary":"alert-info"}setFirstView(){localStorage.setItem("isFirstView","false"),this.isFirstView=!1}};Qe=function(n,e,t,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(n,e,t,r);else for(var s=n.length-1;s>=0;s--)(o=n[s])&&(a=(i<3?o(a):i>3?o(e,t,a):o(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a}([Fe.a],Qe);var Ye=Qe,Xe=(t(16),Pe(Ye,Ue,[],!1,null,null,null));Xe.options.__file="src/components/home.vue";var Je=Xe.exports,Ze=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",[t("h3",[n._v(n._s(n.$t("info.weatheroverview")))]),n._v(" "),t("table",{staticClass:"table table-striped table-hover"},[t("thead",[t("tr",[t("th",[n._v(n._s(n.$t("info.area")))]),n._v(" "),t("th",[n._v("\n "+n._s(n.$t("info.before"))+"\n "),t("br"),n._v("\n "+n._s(n.hourString[0])+"~\n ")]),n._v(" "),t("th",[n._v("\n "+n._s(n.$t("info.now"))+"\n "),t("br"),n._v("\n "+n._s(n.hourString[1])+"~\n ")]),n._v(" "),t("th",[n._v(n._s(n.hourString[2])+"~")]),n._v(" "),t("th",[n._v(n._s(n.hourString[3])+"~")]),n._v(" "),t("th",[n._v(n._s(n.hourString[4])+"~")]),n._v(" "),t("th",[n._v(n._s(n.hourString[5])+"~")]),n._v(" "),t("th",[n._v(n._s(n.hourString[6])+"~")])])]),n._v(" "),t("tbody",n._l(n.weatherResult,(function(e){return t("tr",{key:e.name},[t("td",[n._v(n._s(n.$t(e.name)))]),n._v(" "),t("td",{staticClass:"weatherImg prev"},[t("img",{attrs:{src:"./image/weather/"+e.weather[0]+".png"}}),n._v("\n "+n._s(n.$t(e.weather[0]))+"\n ")]),n._v(" "),t("td",{staticClass:"weatherImg"},[t("img",{attrs:{src:"./image/weather/"+e.weather[1]+".png"}}),n._v("\n "+n._s(n.$t(e.weather[1]))+"\n ")]),n._v(" "),t("td",{staticClass:"weatherImg next"},[t("img",{attrs:{src:"./image/weather/"+e.weather[2]+".png"}}),n._v("\n "+n._s(n.$t(e.weather[2]))+"\n ")]),n._v(" "),t("td",{staticClass:"weatherImg next"},[t("img",{attrs:{src:"./image/weather/"+e.weather[3]+".png"}}),n._v("\n "+n._s(n.$t(e.weather[3]))+"\n ")]),n._v(" "),t("td",{staticClass:"weatherImg next"},[t("img",{attrs:{src:"./image/weather/"+e.weather[4]+".png"}}),n._v("\n "+n._s(n.$t(e.weather[4]))+"\n ")]),n._v(" "),t("td",{staticClass:"weatherImg next"},[t("img",{attrs:{src:"./image/weather/"+e.weather[5]+".png"}}),n._v("\n "+n._s(n.$t(e.weather[5]))+"\n ")]),n._v(" "),t("td",{staticClass:"weatherImg next"},[t("img",{attrs:{src:"./image/weather/"+e.weather[6]+".png"}}),n._v("\n "+n._s(n.$t(e.weather[6]))+"\n ")])])})),0)])])};Ze._withStripped=!0;const nt=["00:00","08:00","16:00"];let et=class extends r.default{constructor(){super(...arguments),this.hourString=[],this.weatherResult=[]}created(){this.weatherchange(),this.$gBus.$on("weatherChange",n=>{this.weatherchange()})}weatherchange(){let n=new Re(void 0),e=Be.calcBaseDate(n).getHours()/8;this.hourString=[-1,0,1,2,3,4,5].map(n=>e+n).map(n=>nt[(n+3)%3]);let t=Be.forecastSeed(n,[-1,0,1,2,3,4,5]);this.weatherResult=[];for(let n in qe){let e=Be.getForecast(n,t);this.weatherResult.push({name:n,weather:e})}}};et=function(n,e,t,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(n,e,t,r);else for(var s=n.length-1;s>=0;s--)(o=n[s])&&(a=(i<3?o(a):i>3?o(e,t,a):o(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a}([Fe.a],et);var tt=et,rt=(t(18),Pe(tt,Ze,[],!1,null,null,null));rt.options.__file="src/components/weatheroverview.vue";var ot=rt.exports;var it={lang:{"zh-CN":"Chinese (Simplified) - 简体中文","en-US":"English","ja-JP":"Japanese - 日本語"},"12hoursystem":"12-Hour System","24hoursystem":"24-Hour System",info:{home:"Home",weatheroverview:"Weather Overview",area:"Area",before:"Before",now:"Now",succeedSightseeingCountInfomation:"Sightseeing completion",activeGroupCount:"Current page",totalCount:"Total",soonToComplete:"Soon to compelete",fewHoursToComplete:"Few hours to complete",moreTimeToComplete:"More time to complete",longTimeToComplete:"Long time to complete",completed:"Completed",startFrom:"Start from",localTime:"Local Time",isStillWaiting:"(Not avaiable yet)",veryLongTimeToComplete:"After 122 days (Earth time)",endingAt:"Ending at",lessThan:"( Less than one minute ) | ( Less than {m} minutes )",additionalInfo:"The endpoint of the time range of the sightseeing is 1 minute before that marked in this page. For example, if the time range of one sightseeing is marked as ET 18:00 - ET 5:00, that means the actual endpoint is ET 4:59. Please be care for it."},sightseeingActGuide:"Sightseeing strategy",sightseeingActGuideSeeHere:"See Here.",sightseeingClickIntroduction:"Click the uncompleted line below to mark it as completed, and click the completed one to mark as uncompleted. ",introdution:{text:'This guide can calculate the forecast in Eorzea and find the sightseeings that match the weather and time condition.
This guide will alert you when there are new sightseeings that can be done via notifications come from right bottom. Then you can click the notifications to come to this page. (It needs your browser supports Notification API).
Please kindly noted: this guide can only alert you that there are new sightseeings can be done, but not how to do them. Please click the link in "Sightseeing completion" to learn how to do.',button:"I got it."},notification:{welcome:{title:"We will tell you the ...",body:"... new sightseeings via Notification while they available. (The notification will be close after 15s, clicking the notification can bring you back to this page)"},availableSoonTitle:"A new sightseeing available soon. | {n} new sightseeings available soon.",availableNowTitle:"A new sightseeing available now! | {n} new sightseeings available now!"},area:{LimsaLominsa:"Limsa Lominsa",LimsaLominsaUpper:"Limsa Lominsa Upper Decks",LimsaLominsaLower:"Limsa Lominsa Lower Decks",MiddleLa:"Middle La Noscea",LowerLa:"Lower La Noscea",EasternLa:"Eastern La Noscea",WesternLa:"Western La Noscea",UpperLa:"Upper La Noscea",OuterLa:"Outer La Noscea",Mist:"Mist",Wolves:"Wolves' Den Pier",Gridania:"Gridania",OldGridania:"Old Gridania",NewGridania:"New Gridania",CentralShroud:"Central Shroud",EastShroud:"East Shroud",SouthShroud:"South Shroud",NorthShroud:"North Shroud",TheLavenderBeds:"The Lavender Beds",Uldah:"Ul'dah",UldahThal:"Ul'dah - Steps of Thal",WesternThanalan:"Western Thanalan",CentralThanalan:"Central Thanalan",EasternThanalan:"Eastern Thanalan",SouthernThanalan:"Southern Thanalan",NorthernThanalan:"Northern Thanalan",TheGoblet:"The Goblet",MorDhona:"Mor Dhona",Ishgard:"Ishgard",CoerthasCentral:"Coerthas Central Highlands",CoerthasWestern:"Coerthas Western Highlands",TheSeaofClouds:"The Sea of Clouds",AzysLla:"Azys Lla",DravanianForelands:"The Dravanian Forelands",DravanianHinterlands:"The Dravanian Hinterlands",ChurningMists:"The Churning Mists",Idyllshire:"Idyllshire",RhalgrsReach:"Rhalgr's Reach",TheFringes:"The Fringes",ThePeaks:"The Peaks",TheLochs:"The Lochs",Kugane:"Kugane",Shirogane:"Shirogane",RubySea:"The Ruby Sea",Yanxia:"Yanxia",AzimSteppe:"The Azim Steppe",EurekaAnemos:"Eureka Anemos",EurekaPagos:"Eureka Pagos",EurekaPyros:"Eureka Pyros",EurekaHydatos:"Eureka Hydatos",TheCrystarium:"The Crystarium",Eulmore:"Eulmore",Lakeland:"Lakeland",Kholusia:"Kholusia",AmhAraeng:"Amh Araeng",IlMheg:"Il Mheg",TheRaktikaGreatwood:"The Rak'tika Greatwood",TheTempest:"The Tempest"},weather:{ClearSkies:"Clear Skies",FairSkies:"Fair Skies",Clouds:"Clouds",Fog:"Fog",Wind:"Wind",Gales:"Gales",Rain:"Rain",Showers:"Showers",Thunder:"Thunder",EurekaPagosThunder:"Thunder",Thunderstorms:"Thunderstorms",DustStorms:"Dust Storms",HeatWaves:"Heat Waves",Snow:"Snow",Blizzards:"Blizzards",Gloom:"Gloom",UmbralWind:"Umbral Wind",UmbralStatic:"Umbral Static"},action:{Lookout:"Lookout",Pray:"Pray",Sit:"Sit",Salute:"Salute",Comfort:"Comfort",Point:"Point",Psych:"Psych"}};var at={lang:{"zh-CN":"简体中文","en-US":"英语 - English","ja-JP":"日语 - 日本語"},"12hoursystem":"12小时制","24hoursystem":"24小时制",info:{home:"首页",weatheroverview:"天气总览",area:"区域",before:"之前",now:"现在",succeedSightseeingCountInfomation:"探索笔记完成情况",activeGroupCount:"当前已完成",totalCount:"总计已完成",soonToComplete:"现在就可以完成",fewHoursToComplete:"一小时内就可以完成",moreTimeToComplete:"多等一会就可以完成",longTimeToComplete:"可能要等很久",completed:"已完成",startFrom:"开始时间",localTime:"本地时间",isStillWaiting:"(尚未开始)",veryLongTimeToComplete:"122天后(地球时间)",endingAt:"结束时间",lessThan:"(还剩不到{m}分钟)",additionalInfo:"探索笔记的时间段终点为本页标记的终点的前一分钟,例如若本页面所标记的时间段为ET 18:00 - ET 5:00,那么实际的时间段终点为ET 4:59,请注意。"},sightseeingActGuide:"探索笔记具体完成办法",sightseeingActGuideSeeHere:"参见此处。",sightseeingClickIntroduction:"点击下方未完成的条目可以标记该探索笔记为已完成,点击已完成的可以标记为未完成。",introdution:{text:"本指南将会计算艾欧泽亚大陆上的天气情况以匹配将来符合天气和时间条件从而能够完成的探索笔记。
本指南将会在有新的探索笔记可以完成时通过浏览器右下角通知的形式告知您,您可以点击该通知来直接地返回到该页面。(需要您的浏览器支持通知功能)
请您悉知:本指南仅能提示您可以完成的探索笔记,如何完成它们不在本指南的提示范围内,请点击下方【探索笔记完成情况】一栏的链接以获取探索笔记的完成办法。",button:"我知道了"},notification:{welcome:{title:"本页面将以通知形式……",body:"……告知新出现的可完成的探索笔记(通知将在15s后自动关闭,点击通知可以让你回到本页面)"},availableSoonTitle:"将有新的探索笔记可完成 | 将有{n}项探索笔记可完成",availableNowTitle:"有新的探索笔记可完成! | 有{n}项探索笔记可完成!"},area:{LimsaLominsa:"利姆萨·罗敏萨",LimsaLominsaUpper:"利姆萨·罗敏萨上层甲板",LimsaLominsaLower:"利姆萨·罗敏萨下层甲板",MiddleLa:"中拉诺西亚",LowerLa:"拉诺西亚低地",EasternLa:"东拉诺西亚",WesternLa:"西拉诺西亚",UpperLa:"拉诺西亚高地",OuterLa:"拉诺西亚外地",Mist:"海雾村",Wolves:"狼狱停船场",Gridania:"格里达尼亚",OldGridania:"格里达尼亚旧街",NewGridania:"格里达尼亚新街",CentralShroud:"黑衣森林中央林区",EastShroud:"黑衣森林东部林区",SouthShroud:"黑衣森林南部林区",NorthShroud:"黑衣森林北部林区",TheLavenderBeds:"薰衣草苗圃",Uldah:"乌尔达哈",UldahThal:"乌尔达哈来生回廊",WesternThanalan:"西萨纳兰",CentralThanalan:"中萨纳兰",EasternThanalan:"东萨纳兰",SouthernThanalan:"南萨纳兰",NorthernThanalan:"北萨纳兰",TheGoblet:"高脚孤丘",MorDhona:"魔杜纳",Ishgard:"伊修加德",CoerthasCentral:"库尔札斯中央高地",CoerthasWestern:"库尔札斯西部高地",TheSeaofClouds:"阿巴拉提亚云海",AzysLla:"魔大陆阿济兹拉",DravanianForelands:"龙堡参天高地",DravanianHinterlands:"龙堡内陆低地",ChurningMists:"翻云雾海",Idyllshire:"田园郡",RhalgrsReach:"神拳痕",TheFringes:"基拉巴尼亚边区",ThePeaks:"基拉巴尼亚山区",TheLochs:"基拉巴尼亚湖区",Kugane:"黄金港",Shirogane:"白银乡",RubySea:"红玉海",Yanxia:"延夏",AzimSteppe:"太阳神草原",EurekaAnemos:"优雷卡常风之地",EurekaPagos:"优雷卡恒冰之地",EurekaPyros:"优雷卡永火之地",EurekaHydatos:"优雷卡丰水之地",Lakeland:"雷克兰德",Kholusia:"珂露西亚岛",AmhAraeng:"安穆·艾兰",IlMheg:"伊尔美格",TheRaktikaGreatwood:"拉凯提卡大森林",TheTempest:"黑风海",TheCrystarium:"水晶都",Eulmore:"游末邦"},weather:{ClearSkies:"碧空",FairSkies:"晴朗",Clouds:"阴云",Fog:"薄雾",Wind:"微风",Gales:"强风",Rain:"小雨",Showers:"暴雨",Thunder:"打雷",EurekaPagosThunder:"暴雷",Thunderstorms:"雷雨",DustStorms:"扬沙",HeatWaves:"热浪",Snow:"小雪",Blizzards:"暴雪",Gloom:"妖雾",UmbralWind:"灵风",UmbralStatic:"灵电"},action:{Lookout:"张望",Pray:"祈祷",Sit:"坐下",Salute:"敬礼",Comfort:"安慰",Point:"指向",Psych:"激励"}};var st={lang:{"zh-CN":"中国語(簡体字) - 简体中文","en-US":"英語 - English","ja-JP":"日本語"},"12hoursystem":"12小时制","24hoursystem":"24小时制",info:{home:"メインページ",weatheroverview:"天気概要",area:"エリア",before:"前に",now:"今の時",succeedSightseeingCountInfomation:"完了した状況の統計",activeGroupCount:"現在完了している",totalCount:"合計が完了しました",soonToComplete:"すぐに完成できます",fewHoursToComplete:"数時間に完成できます",moreTimeToComplete:"多くの時間を待ち",longTimeToComplete:"長い時間を要する",completed:"完了しました",startFrom:"開始時間",localTime:"現地時間",isStillWaiting:"(まだ始まっていない)",veryLongTimeToComplete:"122日後(地球時間)",endingAt:"終了時刻",lessThan:"({m}分未満)",additionalInfo:"探索笔记的时间段终点为本页标记的终点的前一分钟,例如若本页面所标记的时间段为ET 18:00 - ET 5:00,那么实际的时间段终点为ET 4:59,请注意。"},sightseeingActGuide:"探索笔记具体完成办法",sightseeingActGuideSeeHere:"参见此处。",sightseeingClickIntroduction:"点击下方未完成的条目可以标记该探索笔记为已完成,点击已完成的可以标记为未完成。",introdution:{text:"本指南将会计算艾欧泽亚大陆上的天气情况以匹配将来符合天气和时间条件从而能够完成的探索笔记。
本指南将会在有新的探索笔记可以完成时通过浏览器右下角通知的形式告知您,您可以点击该通知来直接地返回到该页面。(需要您的浏览器支持通知功能)
请您悉知:本指南仅能提示您可以完成的探索笔记,如何完成它们不在本指南的提示范围内,请点击下方【探索笔记完成情况】一栏的链接以获取探索笔记的完成办法。",button:"我知道了"},notification:{welcome:{title:"本页面将以通知形式……",body:"……告知新出现的可完成的探索笔记(通知将在15s后自动关闭,点击通知可以让你回到本页面)"},availableSoonTitle:"将有新的探索笔记可完成 | 将有{n}项探索笔记可完成",availableNowTitle:"有新的探索笔记可以完成! | 有{n}项探索笔记可以完成!"},area:{LimsaLominsa:"リムサ・ロミンサ",LimsaLominsaUpper:"リムサ・ロミンサ:上甲板層",LimsaLominsaLower:"リムサ・ロミンサ:下甲板層",MiddleLa:"中央ラノシア",LowerLa:"低地ラノシア",EasternLa:"東ラノシア",WesternLa:"西ラノシア",UpperLa:"高地ラノシア",OuterLa:"外地ラノシア",Mist:"ミスト・ヴィレッジ",Wolves:"ウルヴズジェイル係船場",Gridania:"グリダニア",OldGridania:"グリダニア:旧市街",NewGridania:"グリダニア:新市街",CentralShroud:"黒衣森:中央森林",EastShroud:"黒衣森:東部森林",SouthShroud:"黒衣森:南部森林",NorthShroud:"黒衣森:北部森林",TheLavenderBeds:"ラベンダーベッド",Uldah:"ウルダハ",UldahThal:"ウルダハ:ザル回廊",WesternThanalan:"西ザナラーン",CentralThanalan:"中央ザナラーン",EasternThanalan:"東ザナラーン",SouthernThanalan:"南ザナラーン",NorthernThanalan:"北ザナラーン",TheGoblet:"ゴブレットビュート",MorDhona:"モードゥナ",Ishgard:"イシュガルド",CoerthasCentral:"クルザス中央高地",CoerthasWestern:"クルザス西部高地",TheSeaofClouds:"アバラシア雲海",AzysLla:"アジス・ラー",DravanianForelands:"高地ドラヴァニア",DravanianHinterlands:"低地ドラヴァニア",ChurningMists:"ドラヴァニア雲海",Idyllshire:"イディルシャイア",RhalgrsReach:"ラールガーズリーチ",TheFringes:"ギラバニア辺境地帯",ThePeaks:"ギラバニア山岳地帯",TheLochs:"ギラバニア湖畔地帯",Kugane:"クガネ",Shirogane:"シロガネ",RubySea:"紅玉海",Yanxia:"ヤンサ",AzimSteppe:"アジムステップ",EurekaAnemos:"エウレカ・アネモス帯",EurekaPagos:"エウレカ・パゴス帯",EurekaPyros:"エウレカ・ピューロス帯",EurekaHydatos:"エウレカ・ヒュダトス帯",TheCrystarium:"クリスタリウム",Eulmore:"ユールモア",Lakeland:"レイクランド",Kholusia:"コルシア島",AmhAraeng:"アム・アレーン",IlMheg:"イル・メグ",TheRaktikaGreatwood:"ラケティカ大森林",TheTempest:"テンペスト"},weather:{ClearSkies:"快晴",FairSkies:"晴れ",Clouds:"曇り",Fog:"霧",Wind:"風",Gales:"暴風",Rain:"雨",Showers:"暴雨",Thunder:"雷",EurekaPagosThunder:"暴雷",Thunderstorms:"雷雨",DustStorms:"砂塵",HeatWaves:"灼熱波",Snow:"雪",Blizzards:"吹雪",Gloom:"妖霧",UmbralWind:"霊風",UmbralStatic:"放電"},action:{Lookout:"見わたす",Pray:"祈る",Sit:"座る",Salute:"敬礼する",Comfort:"なぐさめる",Point:"指さす",Psych:"活を入れる"}};t(4),t(20);r.default.use(Hn),r.default.use(Le),r.default.use(Ie);const lt=new Hn({routes:[{path:"/",component:Je},{path:"/weatheroverview",component:ot}]}),ct=new Le({locale:"zh-CN",messages:{"en-US":it,"zh-CN":at,"ja-JP":st},dateTimeFormats:{"en-US":{short:{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:"24"!==localStorage.getItem("hourSystem")},long:{year:"numeric",month:"short",day:"numeric",weekday:"short",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:"24"!==localStorage.getItem("hourSystem")}},"ja-JP":{short:{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0},long:{year:"numeric",month:"short",day:"numeric",weekday:"short",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0}},"zh-CN":{short:{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:"24"!==localStorage.getItem("hourSystem")},long:{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:"24"!==localStorage.getItem("hourSystem")}}}});new r.default({router:lt,i18n:ct,render:n=>n(We)}).$mount("#app")}]); \ No newline at end of file + */function Fn(n,e){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+n),e&&console.warn(e.stack))}function Rn(n){return null!==n&&"object"==typeof n}var $n=Object.prototype.toString,Mn="[object Object]";function Pn(n){return $n.call(n)===Mn}function zn(n){return null==n}function Wn(){for(var n=[],e=arguments.length;e--;)n[e]=arguments[e];var t=null,r=null;return 1===n.length?Rn(n[0])||Array.isArray(n[0])?r=n[0]:"string"==typeof n[0]&&(t=n[0]):2===n.length&&("string"==typeof n[0]&&(t=n[0]),(Rn(n[1])||Array.isArray(n[1]))&&(r=n[1])),{locale:t,params:r}}function Un(n){return JSON.parse(JSON.stringify(n))}var qn=Object.prototype.hasOwnProperty;function Bn(n,e){return qn.call(n,e)}function Gn(n){for(var e=arguments,t=Object(n),r=1;r0;)e[t]=arguments[t+1];var r=this.$i18n;return r._t.apply(r,[n,r.locale,r._getMessages(),this].concat(e))},n.prototype.$tc=function(n,e){for(var t=[],r=arguments.length-2;r-- >0;)t[r]=arguments[r+2];var o=this.$i18n;return o._tc.apply(o,[n,o.locale,o._getMessages(),this,e].concat(t))},n.prototype.$te=function(n,e){var t=this.$i18n;return t._te(n,t.locale,t._getMessages(),e)},n.prototype.$d=function(n){for(var e,t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[n].concat(t))},n.prototype.$n=function(n){for(var e,t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[n].concat(t))}})(Kn),Kn.mixin(Qn),Kn.directive("t",{bind:Xn,update:Jn,unbind:Zn}),Kn.component(Yn.name,Yn),Kn.config.optionMergeStrategies.i18n=function(n,e){return void 0===e?n:e}}var oe=function(){this._caches=Object.create(null)};oe.prototype.interpolate=function(n,e){if(!e)return[n];var t=this._caches[n];return t||(t=function(n){var e=[],t=0,r="";for(;t0)u--,d=pe,p[se]();else{if(u=0,!1===(t=ye(t)))return!1;p[le]()}};null!==d;)if(c++,"\\"!==(e=n[c])||!m()){if(o=we(e),(i=(s=be[d])[o]||s.else||ge)===ge)return;if(d=i[0],(a=p[i[1]])&&(r=void 0===(r=i[2])?e:r,!1===a()))return;if(d===he)return l}}(n))&&(this._cache[n]=e),e||[]},xe.prototype.getPathValue=function(n,e){if(!Rn(n))return null;var t=this.parsePath(e);if(0===t.length)return null;for(var r=t.length,o=n,i=0;i-1)n.splice(t,1)}}(this._dataListeners,n)},De.prototype.watchI18nData=function(){var n=this;return this._vm.$watch("$data",(function(){for(var e=n._dataListeners.length;e--;)Kn.nextTick((function(){n._dataListeners[e]&&n._dataListeners[e].$forceUpdate()}))}),{deep:!0})},De.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var n=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){n.$set(n,"locale",e),n.$forceUpdate()}),{immediate:!0})},Oe.vm.get=function(){return this._vm},Oe.messages.get=function(){return Un(this._getMessages())},Oe.dateTimeFormats.get=function(){return Un(this._getDateTimeFormats())},Oe.numberFormats.get=function(){return Un(this._getNumberFormats())},Oe.locale.get=function(){return this._vm.locale},Oe.locale.set=function(n){this._vm.$set(this._vm,"locale",n)},Oe.fallbackLocale.get=function(){return this._vm.fallbackLocale},Oe.fallbackLocale.set=function(n){this._vm.$set(this._vm,"fallbackLocale",n)},Oe.missing.get=function(){return this._missing},Oe.missing.set=function(n){this._missing=n},Oe.formatter.get=function(){return this._formatter},Oe.formatter.set=function(n){this._formatter=n},Oe.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Oe.silentTranslationWarn.set=function(n){this._silentTranslationWarn=n},Oe.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Oe.silentFallbackWarn.set=function(n){this._silentFallbackWarn=n},Oe.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Oe.preserveDirectiveContent.set=function(n){this._preserveDirectiveContent=n},De.prototype._getMessages=function(){return this._vm.messages},De.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},De.prototype._getNumberFormats=function(){return this._vm.numberFormats},De.prototype._warnDefault=function(n,e,t,r,o){if(!zn(t))return t;if(this._missing){var i=this._missing.apply(null,[n,e,r,o]);if("string"==typeof i)return i}else 0;return e},De.prototype._isFallbackRoot=function(n){return!n&&!zn(this._root)&&this._fallbackRoot},De.prototype._isSilentFallback=function(n){return this._silentFallbackWarn&&(this._isFallbackRoot()||n!==this.fallbackLocale)},De.prototype._interpolate=function(n,e,t,r,o,i,a){if(!e)return null;var s,l=this._path.getPathValue(e,t);if(Array.isArray(l)||Pn(l))return l;if(zn(l)){if(!Pn(e))return null;if("string"!=typeof(s=e[t]))return null}else{if("string"!=typeof l)return null;s=l}return(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(n,e,s,r,"raw",i,a)),this._render(s,o,i,t)},De.prototype._link=function(n,e,t,r,o,i,a){var s=t,l=s.match(Ce);for(var c in l)if(l.hasOwnProperty(c)){var d=l[c],u=d.match(Se),p=u[0],m=u[1],f=d.replace(p,"").replace(Te,"");if(a.includes(f))return s;a.push(f);var h=this._interpolate(n,e,f,r,"raw"===o?"string":o,"raw"===o?void 0:i,a);if(this._isFallbackRoot(h)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;h=g._translate(g._getMessages(),g.locale,g.fallbackLocale,f,r,o,i)}h=this._warnDefault(n,f,h,r,Array.isArray(i)?i:[i]),Ee.hasOwnProperty(m)&&(h=Ee[m](h)),a.pop(),s=h?s.replace(d,h):s}return s},De.prototype._render=function(n,e,t,r){var o=this._formatter.interpolate(n,t,r);return o||(o=Ae.interpolate(n,t,r)),"string"===e?o.join(""):o},De.prototype._translate=function(n,e,t,r,o,i,a){var s=this._interpolate(e,n[e],r,o,i,a,[r]);return zn(s)&&zn(s=this._interpolate(t,n[t],r,o,i,a,[r]))?null:s},De.prototype._t=function(n,e,t,r){for(var o,i=[],a=arguments.length-4;a-- >0;)i[a]=arguments[a+4];if(!n)return"";var s=Wn.apply(void 0,i),l=s.locale||e,c=this._translate(t,l,this.fallbackLocale,n,r,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[n].concat(i))}return this._warnDefault(l,n,c,r,i)},De.prototype.t=function(n){for(var e,t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return(e=this)._t.apply(e,[n,this.locale,this._getMessages(),null].concat(t))},De.prototype._i=function(n,e,t,r,o){var i=this._translate(t,e,this.fallbackLocale,n,r,"raw",o);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(n,e,o)}return this._warnDefault(e,n,i,r,[o])},De.prototype.i=function(n,e,t){return n?("string"!=typeof e&&(e=this.locale),this._i(n,e,this._getMessages(),null,t)):""},De.prototype._tc=function(n,e,t,r,o){for(var i,a=[],s=arguments.length-5;s-- >0;)a[s]=arguments[s+5];if(!n)return"";void 0===o&&(o=1);var l={count:o,n:o},c=Wn.apply(void 0,a);return c.params=Object.assign(l,c.params),a=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((i=this)._t.apply(i,[n,e,t,r].concat(a)),o)},De.prototype.fetchChoice=function(n,e){if(!n&&"string"!=typeof n)return null;var t=n.split("|");return t[e=this.getChoiceIndex(e,t.length)]?t[e].trim():n},De.prototype.getChoiceIndex=function(n,e){var t,r;return this.locale in this.pluralizationRules?this.pluralizationRules[this.locale].apply(this,[n,e]):(t=n,r=e,t=Math.abs(t),2===r?t?t>1?1:0:1:t?Math.min(t,2):0)},De.prototype.tc=function(n,e){for(var t,r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];return(t=this)._tc.apply(t,[n,this.locale,this._getMessages(),null,e].concat(r))},De.prototype._te=function(n,e,t){for(var r=[],o=arguments.length-3;o-- >0;)r[o]=arguments[o+3];var i=Wn.apply(void 0,r).locale||e;return this._exist(t[i],n)},De.prototype.te=function(n,e){return this._te(n,this.locale,this._getMessages(),e)},De.prototype.getLocaleMessage=function(n){return Un(this._vm.messages[n]||{})},De.prototype.setLocaleMessage=function(n,e){this._vm.$set(this._vm.messages,n,e)},De.prototype.mergeLocaleMessage=function(n,e){this._vm.$set(this._vm.messages,n,Gn(this._vm.messages[n]||{},e))},De.prototype.getDateTimeFormat=function(n){return Un(this._vm.dateTimeFormats[n]||{})},De.prototype.setDateTimeFormat=function(n,e){this._vm.$set(this._vm.dateTimeFormats,n,e)},De.prototype.mergeDateTimeFormat=function(n,e){this._vm.$set(this._vm.dateTimeFormats,n,Gn(this._vm.dateTimeFormats[n]||{},e))},De.prototype._localizeDateTime=function(n,e,t,r,o){var i=e,a=r[i];if((zn(a)||zn(a[o]))&&(a=r[i=t]),zn(a)||zn(a[o]))return null;var s=a[o],l=i+"__"+o,c=this._dateTimeFormatters[l];return c||(c=this._dateTimeFormatters[l]=new Intl.DateTimeFormat(i,s)),c.format(n)},De.prototype._d=function(n,e,t){if(!t)return new Intl.DateTimeFormat(e).format(n);var r=this._localizeDateTime(n,e,this.fallbackLocale,this._getDateTimeFormats(),t);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(n,t,e)}return r||""},De.prototype.d=function(n){for(var e=[],t=arguments.length-1;t-- >0;)e[t]=arguments[t+1];var r=this.locale,o=null;return 1===e.length?"string"==typeof e[0]?o=e[0]:Rn(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(o=e[0].key)):2===e.length&&("string"==typeof e[0]&&(o=e[0]),"string"==typeof e[1]&&(r=e[1])),this._d(n,r,o)},De.prototype.getNumberFormat=function(n){return Un(this._vm.numberFormats[n]||{})},De.prototype.setNumberFormat=function(n,e){this._vm.$set(this._vm.numberFormats,n,e)},De.prototype.mergeNumberFormat=function(n,e){this._vm.$set(this._vm.numberFormats,n,Gn(this._vm.numberFormats[n]||{},e))},De.prototype._localizeNumber=function(n,e,t,r,o,i){var a=e,s=r[a];if((zn(s)||zn(s[o]))&&(s=r[a=t]),zn(s)||zn(s[o]))return null;var l,c=s[o];if(i)l=new Intl.NumberFormat(a,Object.assign({},c,i));else{var d=a+"__"+o;(l=this._numberFormatters[d])||(l=this._numberFormatters[d]=new Intl.NumberFormat(a,c))}return l.format(n)},De.prototype._n=function(n,e,t,r){if(!De.availabilities.numberFormat)return"";if(!t)return(r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e)).format(n);var o=this._localizeNumber(n,e,this.fallbackLocale,this._getNumberFormats(),t,r);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(n,Object.assign({},{key:t,locale:e},r))}return o||""},De.prototype.n=function(n){for(var e=[],t=arguments.length-1;t-- >0;)e[t]=arguments[t+1];var r=this.locale,o=null,i=null;return 1===e.length?"string"==typeof e[0]?o=e[0]:Rn(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(o=e[0].key),i=Object.keys(e[0]).reduce((function(n,t){var r;return ke.includes(t)?Object.assign({},n,((r={})[t]=e[0][t],r)):n}),null)):2===e.length&&("string"==typeof e[0]&&(o=e[0]),"string"==typeof e[1]&&(r=e[1])),this._n(n,r,o,i)},Object.defineProperties(De.prototype,Oe),Object.defineProperty(De,"availabilities",{get:function(){if(!_e){var n="undefined"!=typeof Intl;_e={dateTimeFormat:n&&void 0!==Intl.DateTimeFormat,numberFormat:n&&void 0!==Intl.NumberFormat}}return _e}}),De.install=re,De.version="8.8.2";var Le=De;var Ie=new class{install(n){n.prototype.$gBus=new r.default}},Ne=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"container"},[t("nav",{staticClass:"navbar navbar-expand-md navbar-dark bg-dark fixed-top"},[t("div",{staticClass:"container"},[t("div",{staticClass:"navbar-header"},[n._m(0),n._v(" "),t("a",{staticClass:"navbar-brand",attrs:{href:"#"+n.$route.path}},[n._v("ET "+n._s(n.eorzeaclock))])]),n._v(" "),t("div",{staticClass:"collapse navbar-collapse",attrs:{id:"navbar-collapse-1"}},[t("ul",{staticClass:"navbar-nav align-items-stretch"},[t("li",{staticClass:"nav-item",class:{active:"/"==n.$route.path}},[t("router-link",{staticClass:"nav-link",attrs:{to:"/"}},[n._v(n._s(n.$t("info.home")))])],1),n._v(" "),t("li",{staticClass:"nav-item",class:{active:"/weatheroverview"==n.$route.path}},[t("router-link",{staticClass:"nav-link",attrs:{to:"/weatheroverview"}},[n._v(n._s(n.$t("info.weatheroverview")))])],1)]),n._v(" "),t("ul",{staticClass:"navbar-nav ml-md-auto align-items-stretch"},[t("li",{staticClass:"nav-item dropdown"},[t("a",{staticClass:"nav-link dropdown-toggle",attrs:{href:"javascript:void(0);","data-toggle":"dropdown","data-target":"#dropdown-menu",role:"button","aria-haspopup":"true","aria-expanded":"false"}},[n._v(n._s(n.$t("lang."+n.currentLang)))]),n._v(" "),t("div",{staticClass:"dropdown-menu",attrs:{id:"dropdown-menu"}},[t("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0);"},on:{click:function(e){return n.chlang("zh-CN")}}},[n._v(n._s(n.$t("lang.zh-CN")))]),n._v(" "),t("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0);"},on:{click:function(e){return n.chlang("en-US")}}},[n._v(n._s(n.$t("lang.en-US")))]),n._v(" "),t("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0);"},on:{click:function(e){return n.chlang("ja-JP")}}},[n._v(n._s(n.$t("lang.ja-JP")))])])]),n._v(" "),t("li",{staticClass:"nav-item dropdown",class:"ja-JP"===n.currentLang?"hidden":""},[t("a",{staticClass:"nav-link dropdown-toggle",attrs:{href:"javascript:void(0);","data-toggle":"dropdown",role:"button","aria-haspopup":"true","aria-expanded":"false"}},[n._v("\n "+n._s(n.$t(n.currentHourSystem+"hoursystem"))+"\n "),t("span",{staticClass:"caret"})]),n._v(" "),t("ul",{staticClass:"dropdown-menu"},[t("li",[t("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0);"},on:{click:function(e){return n.chhoursystem("12")}}},[n._v(n._s(n.$t("12hoursystem")))])]),n._v(" "),t("li",[t("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0);"},on:{click:function(e){return n.chhoursystem("24")}}},[n._v(n._s(n.$t("24hoursystem")))])])])])])])])]),n._v(" "),t("router-view")],1)};Ne._withStripped=!0;var je,He=t(1),Fe=t.n(He);class Re{constructor(n){this.date=void 0!==n?new Date(n):new Date(Date.now()*Re.ratio)}getHours(){return this.date.getUTCHours()}addHours(n){return new Re(this.date.getTime()+36e5*n)}getMinutes(){return this.date.getUTCMinutes()}getDays(){return Math.floor(this.date.getTime()/864e5)}getLocalTime(){return new Date(this.date.getTime()/Re.ratio)}toHourMinuteString(){let n=this.getHours(),e=`${n<10?"0":""}${n}`,t=this.getMinutes();return`${e}:${`${t<10?"0":""}${t}`}`}}Re.ratio=1440/70,function(n){class e extends Set{constructor(){super(),this._listenerMap={}}addEventListener(n,e){this._listenerMap[n]||(this._listenerMap[n]=new Set),this._listenerMap[n].add(e)}add(n){const e=this.has(n);Set.prototype.add.bind(this)(n);let t=!e&&this.has(n);return this._listenerMap.add instanceof Set&&this._listenerMap.add.forEach(e=>{e.bind(this)(t,n)}),this}clear(){return this._listenerMap.clear instanceof Set&&this._listenerMap.clear.forEach(n=>{n.bind(this)(!0,void 0)}),Set.prototype.clear.bind(this)()}delete(n){let e=Set.prototype.delete.bind(this)(n);return this._listenerMap.delete instanceof Set&&this._listenerMap.delete.forEach(t=>{t.bind(this)(e,n)}),e}}class t extends Map{constructor(){super();let n=new Date,e=n.getTime();n.setTime(2e3*(Math.floor(n.getTime()/2e3)+1)),setTimeout(()=>{this._clearExpriedNotification(),setInterval(()=>{this._clearExpriedNotification()},2e3)},n.getTime()-e)}add(n){return this.set(Date.now(),n)}deleteNotification(n){this.forEach((e,t)=>{e===n&&this.delete(t)})}_expired(n){let e=n||Date.now()-13e3,t=[];for(let n of this.keys())n{e[t]&&(n[t]=e[t])})}clone(){return new r(this)}extend(n){let e=this.clone();return n&&this._copyOption(e,n),0===e.length&&(e.length=1),e}extendTitle(n){return this.extend({title:n})}add(n){return 0!=this.length++&&(this.body+=", "),this.body+=n,this}}n.Option=r;class o{constructor({welcomeOption:n,defaultOption:i}){if(this.permission=!!("Notification"in window)&&Notification.permission===o.PERMISSION.GRANTED,this.defaultOption=new r,this.isOnBeforeunload=!1,this.NSQuitQueue=new t,this.notificationSet=new e,this.notificationQueue=new Set,o.isSupported){if(i&&(this.defaultOption=i),!0===this.permission)n&&this.sendNotification(n);else{if(Notification.permission!==o.PERMISSION.NEEDGRANTED)return;Notification.requestPermission(e=>{e===o.PERMISSION.GRANTED&&(this.permission=!0,n&&this.sendNotification(n))})}window.addEventListener("beforeunload",()=>{this.isOnBeforeunload=!0,this.notificationSet.forEach(n=>{n.close()})}),this.notificationSet.addEventListener("delete",n=>{n&&this.notificationQueue.size>0&&this.notificationQueue.forEach(n=>{this.notificationSet.size<3&&(this.sendNotification(n),this.notificationQueue.delete(n))})})}}sendNotification(n){if(!0===this.permission&&!1===this.isOnBeforeunload)if(Array.isArray(n))n.forEach(n=>{this.sendNotification(n)});else if(n.length>0)if(this.notificationSet.size<3){let e=this.defaultOption.extend(n),t=new Notification(n.title,e);this.bindNotification(t)}else this.notificationQueue.add(n)}bindNotification(n){this.notificationSet.add(n),n.addEventListener("error",()=>{n.close()}),n.addEventListener("click",()=>{window.focus(),n.close()}),n.addEventListener("close",()=>{this.notificationSet.delete(n),this.NSQuitQueue.deleteNotification(n)}),this.NSQuitQueue.add(n)}}o.isSupported=!!("Notification"in window),o.PERMISSION={GRANTED:"granted",DENIED:"denied",NEEDGRANTED:"default"},n.Main=o}(je||(je={}));let $e=class extends r.default{constructor(){super(...arguments),this.eorzeaclock="00:00",this._lastWeatherChangeKey=0,this._lastHour=0,this.currentHourSystem="24"}get currentLang(){return this.$i18n.locale}created(){if(this.currentHourSystem="24"===localStorage.getItem("hourSystem")?"24":"12",this.$i18n.locale=localStorage.getItem("lang")||"zh-CN",this.tick(),setInterval(this.tick.bind(this),1e3),je.Main.isSupported){let n=new je.Option({lang:this.$i18n.locale,icon:"./image/logo.png"}),e=new je.Main({welcomeOption:n.extend({title:this.$t("notification.welcome.title")+"",body:this.$t("notification.welcome.body")+""}),defaultOption:n.clone()});this.$gBus.$on("nearSoonToCompleteGet",t=>{if(t.length>3){let r=n.clone(),o=n.clone();t.forEach(n=>{(n.isStillWaiting?o:r).add(n.id+" "+this.$t(n.area))}),e.sendNotification([r.extendTitle(this.$tc("notification.availableNowTitle",2,{n:r.length})),o.extendTitle(this.$tc("notification.availableSoonTitle",2,{n:o.length}))])}else e.sendNotification(t.map(e=>{let t=n.clone(),r=e.id+" "+this.$t(e.area);return e.isStillWaiting&&(r+=this.$t("info.isStillWaiting")),r+=this.$tc("info.lessThan",e.nextAvaliableTimeLeft,{m:e.nextAvaliableTimeLeft}),t.extend({title:this.$tc(e.isStillWaiting?"notification.availableSoonTitle":"notification.availableNowTitle",1),body:r})}))})}}tick(){let n=new Re(void 0),e=n.getHours()/8>>>0;this._lastWeatherChangeKey!=e&&(this.$gBus.$emit("weatherChange",e),this._lastWeatherChangeKey=e);let t=n.getHours();this._lastHour!=t&&(this.$gBus.$emit("hourChange",t),this._lastHour=t),this.eorzeaclock=n.toHourMinuteString()}chlang(n){this.$i18n.locale=n,localStorage.setItem("lang",n)}chhoursystem(n){n="24"===n?"24":"12",localStorage.setItem("hourSystem",n),this.currentHourSystem=n,location.reload(!1)}};$e=function(n,e,t,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(n,e,t,r);else for(var s=n.length-1;s>=0;s--)(o=n[s])&&(a=(i<3?o(a):i>3?o(e,t,a):o(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a}([Fe.a],$e);var Me=$e;t(12);function Pe(n,e,t,r,o,i,a,s){var l,c="function"==typeof n?n.options:n;if(e&&(c.render=e,c.staticRenderFns=t,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(l=function(n){(n=n||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(n=__VUE_SSR_CONTEXT__),o&&o.call(this,n),n&&n._registeredComponents&&n._registeredComponents.add(a)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(n,e){return l.call(e),d(n,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:n,options:c}}var ze=Pe(Me,Ne,[function(){var n=this.$createElement,e=this._self._c||n;return e("button",{staticClass:"navbar-toggler collapsed",attrs:{type:"button","data-toggle":"collapse","data-target":"#navbar-collapse-1","aria-expanded":"false"}},[e("span",{staticClass:"sr-only"},[this._v("Toggle navigation")]),this._v(" "),e("span",{staticClass:"navbar-toggler-icon"})])}],!1,null,null,null);ze.options.__file="src/App.vue";var We=ze.exports,Ue=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",[t("div",{staticClass:"introdutionlead alert alert-info collapse",class:n.isFirstView?"show":"hidden"},[t("p",{staticClass:"lead",domProps:{innerHTML:n._s(n.$t("introdution.text"))}}),n._v(" "),t("button",{staticClass:"btn btn-success",attrs:{type:"button"},on:{click:function(e){return n.setFirstView()}}},[n._v(n._s(n.$t("introdution.button")))])]),n._v(" "),t("ul",{staticClass:"nav nav-pills"},n._l(n.sourceData,(function(e,r){return t("li",{key:e.groupName,staticClass:"nav-item",on:{click:function(e){return n.switchGroup(r)}}},[t("a",{staticClass:"nav-link text-secondary",class:n.activeGroup==r?"active bg-secondary text-light":"",attrs:{href:"javascript:void(0);"}},[n._v(n._s(e.groupName))])])})),0),n._v(" "),t("p",{staticClass:"sightseeing alert",class:n.alertClass},[n._v("\n "+n._s(n.$t("info.succeedSightseeingCountInfomation"))+": "+n._s(n.$t("info.activeGroupCount"))+": "+n._s(n.succeedCounter.activeGroupCount)+" / "+n._s(n.succeedCounter.activeGroupAllCount)+" "+n._s(n.$t("info.totalCount"))+": "+n._s(n.succeedCounter.succeedCount)+" / "+n._s(n.succeedCounter.allCount)+"\n "),t("span",{staticClass:"hr"}),n._v(" "),t("span",{staticClass:"ps"},[n._v(n._s(n.$t("sightseeingClickIntroduction")))]),n._v(" "),t("span",{staticClass:"ps",class:"alert-success"===n.alertClass&&"hidden"},[n._v(n._s(n.$t("info.additionalInfo")))]),n._v(" "),t("span",{staticClass:"ps",class:"alert-success"===n.alertClass&&"hidden"},[n._v("\n "+n._s(n.$t("sightseeingActGuide"))+"\n "),t("a",{staticClass:"external seehere",attrs:{target:"_blank",href:"https://bbs.ngacn.cc/read.php?tid=7755329"}},[n._v(n._s(n.$t("sightseeingActGuideSeeHere")))]),n._v("[zh-cn]\n ")])]),n._v(" "),n._l(n.calcData,(function(e){return t("div",{key:e.id,staticClass:"sightseeing card",class:"card-danger"===e.vaildStatus?"card-default":e.vaildStatus,on:{click:function(t){return n.setComplete(e.id)}}},[t("div",{staticClass:"card-header"},[t("span",{staticClass:"card-title"},[t("span",[n._v(n._s(e.id))]),n._v(" "),null!=e.subarea?t("span",[n._v(n._s(n.$t(e.subarea)))]):t("span",[n._v(n._s(n.$t(e.area)))]),n._v(" "),t("span",[n._v("x:"+n._s(e.pos.x)+" y:"+n._s(e.pos.y))]),n._v(" "),t("img",{staticClass:"weatherImg",attrs:{src:"./image/weather/"+e.weather+".png"}}),n._v(" "),t("span",[n._v(n._s(n.$t(e.weather)))]),n._v(" "),t("span",[n._v(n._s(e.timestr))]),n._v(" "),t("span",[n._v(n._s(n.$t(e.action)))])]),n._v(" "),t("div",{staticClass:"float-right card-postheader"},["card-primary"==e.vaildStatus?t("span",[n._v(n._s(n.$t("info.soonToComplete")))]):n._e(),n._v(" "),"card-info"==e.vaildStatus?t("span",[n._v(n._s(n.$t("info.fewHoursToComplete")))]):n._e(),n._v(" "),"card-secondary"==e.vaildStatus?t("span",[n._v(n._s(n.$t("info.moreTimeToComplete")))]):n._e(),n._v(" "),"card-default"==e.vaildStatus?t("span",[n._v(n._s(n.$t("info.longTimeToComplete")))]):n._e(),n._v(" "),"card-danger"==e.vaildStatus?t("span",[n._v(n._s(n.$t("info.veryLongTimeToComplete")))]):n._e(),n._v(" "),"card-success"==e.vaildStatus?t("span",[n._v(n._s(n.$t("info.completed")))]):n._e()])]),n._v(" "),t("div",{staticClass:"card-body"},["card-success"==e.vaildStatus?t("div",[n._v(n._s(n.$t("info.completed")))]):"card-primary"==e.vaildStatus?t("div",[n._v("\n "+n._s(n.$t("info.startFrom"))+": ET "+n._s(e.nextAvaliableTime.toHourMinuteString())+" "+n._s(n.$t("info.localTime"))+": "+n._s(n.$d(e.nextAvaliableTime.getLocalTime(),"long").replace(n.nowYear,""))+" "+n._s(e.isStillWaiting?n.$t("info.isStillWaiting"):"")+"\n "),t("br"),n._v("\n "+n._s(n.$t("info.endingAt"))+": ET "+n._s(e.nextAvaliableTimeEnd.toHourMinuteString())+" "+n._s(n.$t("info.localTime"))+": "+n._s(n.$d(e.nextAvaliableTimeEnd.getLocalTime(),"long").replace(n.nowYear,""))+" "+n._s(n.$tc("info.lessThan",e.nextAvaliableTimeLeft,{m:e.nextAvaliableTimeLeft}))+"\n ")]):"card-danger"!=e.vaildStatus?t("div",[n._v(n._s(n.$t("info.startFrom"))+": ET "+n._s(e.nextAvaliableTime.toHourMinuteString())+" "+n._s(n.$t("info.localTime"))+": "+n._s(n.$d(e.nextAvaliableTime.getLocalTime(),"long").replace(n.nowYear,"")))]):t("div",[n._v(n._s(n.$t("info.veryLongTimeToComplete")))])])])}))],2)};Ue._withStripped=!0;const qe={"area.LimsaLominsa":{name:"area.LimsaLominsa",weatherRate:[{rate:20,weather:"weather.Clouds"},{rate:30,weather:"weather.ClearSkies"},{rate:30,weather:"weather.FairSkies"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.MiddleLa":{name:"area.MiddleLa",weatherRate:[{rate:20,weather:"weather.Clouds"},{rate:30,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:10,weather:"weather.Wind"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.LowerLa":{name:"area.LowerLa",weatherRate:[{rate:20,weather:"weather.Clouds"},{rate:30,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:10,weather:"weather.Wind"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.EasternLa":{name:"area.EasternLa",weatherRate:[{rate:5,weather:"weather.Fog"},{rate:45,weather:"weather.ClearSkies"},{rate:30,weather:"weather.FairSkies"},{rate:10,weather:"weather.Clouds"},{rate:5,weather:"weather.Rain"},{rate:-1,weather:"weather.Showers"}]},"area.WesternLa":{name:"area.WesternLa",weatherRate:[{rate:10,weather:"weather.Fog"},{rate:30,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:20,weather:"weather.Clouds"},{rate:10,weather:"weather.Wind"},{rate:-1,weather:"weather.Gales"}]},"area.UpperLa":{name:"area.UpperLa",weatherRate:[{rate:30,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:20,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Thunder"},{rate:-1,weather:"weather.Thunderstorms"}]},"area.OuterLa":{name:"area.OuterLa",weatherRate:[{rate:30,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:20,weather:"weather.Clouds"},{rate:15,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.Mist":{name:"area.Mist",weatherRate:[{rate:20,weather:"weather.Clouds"},{rate:30,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:10,weather:"weather.FairSkies"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.Wolves":{name:"area.Wolves",weatherRate:[{rate:20,weather:"weather.Clouds"},{rate:30,weather:"weather.ClearSkies"},{rate:30,weather:"weather.FairSkies"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Thunderstorms"}]},"area.Gridania":{name:"area.Gridania",weatherRate:[{rate:5,weather:"weather.Rain"},{rate:15,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Clouds"},{rate:15,weather:"weather.FairSkies"},{rate:30,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.CentralShroud":{name:"area.CentralShroud",weatherRate:[{rate:5,weather:"weather.Thunder"},{rate:15,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Clouds"},{rate:15,weather:"weather.FairSkies"},{rate:30,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.EastShroud":{name:"area.EastShroud",weatherRate:[{rate:5,weather:"weather.Thunder"},{rate:15,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Clouds"},{rate:15,weather:"weather.FairSkies"},{rate:30,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.SouthShroud":{name:"area.SouthShroud",weatherRate:[{rate:5,weather:"weather.Fog"},{rate:5,weather:"weather.Thunderstorms"},{rate:15,weather:"weather.Thunder"},{rate:5,weather:"weather.Fog"},{rate:10,weather:"weather.Clouds"},{rate:30,weather:"weather.FairSkies"},{rate:-1,weather:"weather.ClearSkies"}]},"area.NorthShroud":{name:"area.NorthShroud",weatherRate:[{rate:5,weather:"weather.Fog"},{rate:5,weather:"weather.Showers"},{rate:15,weather:"weather.Rain"},{rate:5,weather:"weather.Fog"},{rate:10,weather:"weather.Clouds"},{rate:30,weather:"weather.FairSkies"},{rate:-1,weather:"weather.ClearSkies"}]},"area.TheLavenderBeds":{name:"area.TheLavenderBeds",weatherRate:[{rate:5,weather:"weather.Clouds"},{rate:15,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Clouds"},{rate:15,weather:"weather.FairSkies"},{rate:30,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.Uldah":{name:"area.Uldah",weatherRate:[{rate:40,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:25,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.WesternThanalan":{name:"area.WesternThanalan",weatherRate:[{rate:40,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:25,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.CentralThanalan":{name:"area.CentralThanalan",weatherRate:[{rate:15,weather:"weather.DustStorms"},{rate:40,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:10,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.EasternThanalan":{name:"area.EasternThanalan",weatherRate:[{rate:40,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:10,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:5,weather:"weather.Rain"},{rate:-1,weather:"weather.Showers"}]},"area.SouthernThanalan":{name:"area.SouthernThanalan",weatherRate:[{rate:20,weather:"weather.HeatWaves"},{rate:40,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:10,weather:"weather.Clouds"},{rate:-1,weather:"weather.Fog"}]},"area.NorthernThanalan":{name:"area.NorthernThanalan",weatherRate:[{rate:5,weather:"weather.ClearSkies"},{rate:15,weather:"weather.FairSkies"},{rate:30,weather:"weather.Clouds"},{rate:-1,weather:"weather.Fog"}]},"area.TheGoblet":{name:"area.TheGoblet",weatherRate:[{rate:40,weather:"weather.ClearSkies"},{rate:20,weather:"weather.FairSkies"},{rate:25,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Rain"}]},"area.MorDhona":{name:"area.MorDhona",weatherRate:[{rate:15,weather:"weather.Clouds"},{rate:15,weather:"weather.Fog"},{rate:30,weather:"weather.Gloom"},{rate:15,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.Ishgard":{name:"area.Ishgard",weatherRate:[{rate:60,weather:"weather.Snow"},{rate:10,weather:"weather.FairSkies"},{rate:5,weather:"weather.ClearSkies"},{rate:15,weather:"weather.Clouds"},{rate:-1,weather:"weather.Fog"}]},"area.CoerthasCentral":{name:"area.CoerthasCentral",weatherRate:[{rate:20,weather:"weather.Blizzards"},{rate:40,weather:"weather.Snow"},{rate:10,weather:"weather.FairSkies"},{rate:5,weather:"weather.ClearSkies"},{rate:15,weather:"weather.Clouds"},{rate:-1,weather:"weather.Fog"}]},"area.CoerthasWestern":{name:"area.CoerthasWestern",weatherRate:[{rate:20,weather:"weather.Blizzards"},{rate:40,weather:"weather.Snow"},{rate:10,weather:"weather.FairSkies"},{rate:5,weather:"weather.ClearSkies"},{rate:15,weather:"weather.Clouds"},{rate:-1,weather:"weather.Fog"}]},"area.TheSeaofClouds":{name:"area.TheSeaofClouds",weatherRate:[{rate:30,weather:"weather.ClearSkies"},{rate:30,weather:"weather.FairSkies"},{rate:10,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Wind"},{rate:-1,weather:"weather.UmbralWind"}]},"area.AzysLla":{name:"area.AzysLla",weatherRate:[{rate:35,weather:"weather.FairSkies"},{rate:35,weather:"weather.Clouds"},{rate:-1,weather:"weather.Thunder"}]},"area.DravanianForelands":{name:"area.DravanianForelands",weatherRate:[{rate:10,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Thunder"},{rate:10,weather:"weather.DustStorms"},{rate:30,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.DravanianHinterlands":{name:"area.DravanianHinterlands",weatherRate:[{rate:10,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.Showers"},{rate:30,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.ChurningMists":{name:"area.ChurningMists",weatherRate:[{rate:10,weather:"weather.Clouds"},{rate:10,weather:"weather.Gales"},{rate:20,weather:"weather.UmbralStatic"},{rate:30,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.Idyllshire":{name:"area.Idyllshire",weatherRate:[{rate:10,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.Showers"},{rate:30,weather:"weather.ClearSkies"},{rate:-1,weather:"weather.FairSkies"}]},"area.RhalgrsReach":{name:"area.RhalgrsReach",weatherRate:[{rate:15,weather:"weather.ClearSkies"},{rate:45,weather:"weather.FairSkies"},{rate:20,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Thunder"}]},"area.TheFringes":{name:"area.TheFringes",weatherRate:[{rate:15,weather:"weather.ClearSkies"},{rate:45,weather:"weather.FairSkies"},{rate:20,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Thunder"}]},"area.ThePeaks":{name:"area.ThePeaks",weatherRate:[{rate:10,weather:"weather.ClearSkies"},{rate:50,weather:"weather.FairSkies"},{rate:15,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Wind"},{rate:-1,weather:"weather.DustStorms"}]},"area.TheLochs":{name:"area.TheLochs",weatherRate:[{rate:20,weather:"weather.ClearSkies"},{rate:40,weather:"weather.FairSkies"},{rate:20,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:-1,weather:"weather.Thunderstorms"}]},"area.Kugane":{name:"area.Kugane",weatherRate:[{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:20,weather:"weather.Clouds"},{rate:40,weather:"weather.FairSkies"},{rate:-1,weather:"weather.ClearSkies"}]},"area.Shirogane":{name:"area.Shirogane",weatherRate:[{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:20,weather:"weather.Clouds"},{rate:40,weather:"weather.FairSkies"},{rate:-1,weather:"weather.ClearSkies"}]},"area.RubySea":{name:"area.RubySea",weatherRate:[{rate:10,weather:"weather.Thunder"},{rate:10,weather:"weather.Wind"},{rate:15,weather:"weather.Clouds"},{rate:40,weather:"weather.FairSkies"},{rate:-1,weather:"weather.ClearSkies"}]},"area.Yanxia":{name:"area.Yanxia",weatherRate:[{rate:5,weather:"weather.Showers"},{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:15,weather:"weather.Clouds"},{rate:40,weather:"weather.FairSkies"},{rate:-1,weather:"weather.ClearSkies"}]},"area.AzimSteppe":{name:"area.AzimSteppe",weatherRate:[{rate:5,weather:"weather.Gales"},{rate:5,weather:"weather.Wind"},{rate:7,weather:"weather.Rain"},{rate:8,weather:"weather.Fog"},{rate:10,weather:"weather.Clouds"},{rate:40,weather:"weather.FairSkies"},{rate:-1,weather:"weather.ClearSkies"}]},"area.EurekaAnemos":{name:"area.EurekaAnemos",weatherRate:[{rate:30,weather:"weather.FairSkies"},{rate:30,weather:"weather.Gales"},{rate:30,weather:"weather.Showers"},{rate:-1,weather:"weather.Snow"}]},"area.EurekaPagos":{name:"area.EurekaPagos",weatherRate:[{rate:10,weather:"weather.FairSkies"},{rate:18,weather:"weather.Fog"},{rate:18,weather:"weather.HeatWaves"},{rate:18,weather:"weather.Snow"},{rate:18,weather:"weather.EurekaPagosThunder"},{rate:-1,weather:"weather.Blizzards"}]},"area.EurekaPyros":{name:"area.EurekaPyros",weatherRate:[{rate:10,weather:"weather.FairSkies"},{rate:18,weather:"weather.HeatWaves"},{rate:18,weather:"weather.Thunder"},{rate:18,weather:"weather.Blizzards"},{rate:18,weather:"weather.UmbralWind"},{rate:-1,weather:"weather.Snow"}]},"area.EurekaHydatos":{name:"area.EurekaHydatos",weatherRate:[{rate:12,weather:"weather.FairSkies"},{rate:22,weather:"weather.Showers"},{rate:22,weather:"weather.Gloom"},{rate:22,weather:"weather.Thunderstorms"},{rate:-1,weather:"weather.Snow"}]},"area.TheCrystarium":{name:"area.TheCrystarium",weatherRate:[{rate:20,weather:"weather.ClearSkies"},{rate:40,weather:"weather.FairSkies"},{rate:15,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Rain"},{rate:5,weather:"weather.Thunderstorms"}]},"area.Lakeland":{name:"area.Lakeland",weatherRate:[{rate:20,weather:"weather.ClearSkies"},{rate:40,weather:"weather.FairSkies"},{rate:15,weather:"weather.Clouds"},{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Rain"},{rate:5,weather:"weather.Thunderstorms"}]},"area.Eulmore":{name:"area.Eulmore",weatherRate:[{rate:10,weather:"weather.Gales"},{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:15,weather:"weather.Clouds"},{rate:40,weather:"weather.FairSkies"},{rate:15,weather:"weather.ClearSkies"}]},"area.Kholusia":{name:"area.Kholusia",weatherRate:[{rate:10,weather:"weather.Gales"},{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:15,weather:"weather.Clouds"},{rate:40,weather:"weather.FairSkies"},{rate:15,weather:"weather.ClearSkies"}]},"area.AmhAraeng":{name:"area.AmhAraeng",weatherRate:[{rate:45,weather:"weather.FairSkies"},{rate:15,weather:"weather.Clouds"},{rate:10,weather:"weather.DustStorms"},{rate:10,weather:"weather.HeatWaves"},{rate:20,weather:"weather.ClearSkies"}]},"area.IlMheg":{name:"area.IlMheg",weatherRate:[{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.Fog"},{rate:15,weather:"weather.Clouds"},{rate:10,weather:"weather.Thunderstorms"},{rate:15,weather:"weather.ClearSkies"},{rate:40,weather:"weather.FairSkies"}]},"area.TheRaktikaGreatwood":{name:"area.TheRaktikaGreatwood",weatherRate:[{rate:10,weather:"weather.Fog"},{rate:10,weather:"weather.Rain"},{rate:10,weather:"weather.UmbralWind"},{rate:15,weather:"weather.ClearSkies"},{rate:40,weather:"weather.FairSkies"},{rate:15,weather:"weather.Clouds"}]},"area.TheTempest":{name:"area.TheTempest",weatherRate:[{rate:20,weather:"weather.Clouds"},{rate:60,weather:"weather.FairSkies"},{rate:20,weather:"weather.ClearSkies"}]}};class Be{static calcBaseDate(n){let e=new Re(n.date.getTime()),t=e.getHours()-e.getHours()%8;return e.date.setUTCHours(t),e.date.setMinutes(0),e.date.setSeconds(0),e}static forecastSeed(n,e=[0]){return e.map(e=>n.addHours(8*e)).map(n=>100*n.getDays()+(n.getHours()+8-n.getHours()%8)%24).map(n=>(function(n){let e=(n<<11^n)>>>0;return((e>>>8^e)>>>0)%100})(n))}static getForecast(n,e){try{let t=qe[n];return e.map(n=>(function(n,e){for(let t of n){if(-1===t.rate||er+e.addHours(8*t).getHours());if(0===t){let t=n.getHours()-e.getHours();r.splice(0,t)}let o=this.time.filter(n=>-1!==r.indexOf(n));if(0!==o.length){o.sort((n,e)=>n-e),this.nextAvaliableTime=e.addHours(8*t),this.nextAvaliableTime.date.setUTCHours(o[0]),this.nextAvaliableTimeEnd=e.addHours(8*t);let r=this.endHour;if(r8&&(t+=24),this.startHour>t&&(this.isStillWaiting=!0),this.vaildStatus="card-primary"}else this.vaildStatus=t<=3?"card-info":t<=6?"card-secondary":"card-default";return}}}this.nextAvaliableTime=e.addHours(400),this.vaildStatus="card-danger"}}const Ve=[{groupName:"1~20",items:[{id:"1",area:"area.LimsaLominsa",subarea:"area.LimsaLominsaUpper",pos:{x:9.7,y:7.7},weather:"weather.FairSkies",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"2",area:"area.LimsaLominsa",subarea:"area.LimsaLominsaLower",pos:{x:7,y:15.1},weather:"weather.ClearSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"3",area:"area.MiddleLa",pos:{x:20,y:19},weather:"weather.Rain",time:[5,6,7],action:"action.Pray",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"4",area:"area.MiddleLa",pos:{x:16,y:17},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"5",area:"area.MiddleLa",pos:{x:25.3,y:27.5},weather:"weather.Clouds",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"6",area:"area.LowerLa",pos:{x:23,y:40},weather:"weather.FairSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"7",area:"area.LowerLa",pos:{x:33,y:19},weather:"weather.Fog",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"8",area:"area.WesternLa",pos:{x:29.9,y:30.7},weather:"weather.FairSkies",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"9",area:"area.Gridania",subarea:"area.OldGridania",pos:{x:12,y:8},weather:"weather.Clouds",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"10",area:"area.Gridania",subarea:"area.OldGridania",pos:{x:10,y:6},weather:"weather.ClearSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"11",area:"area.CentralShroud",pos:{x:21.8,y:21.8},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Sit",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"12",area:"area.EastShroud",pos:{x:17,y:18},weather:"weather.FairSkies",time:[8,9,10,11],action:"action.Pray",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"13",area:"area.EastShroud",pos:{x:22,y:26},weather:"weather.FairSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"14",area:"area.Uldah",subarea:"area.UldahThal",pos:{x:11,y:11},weather:"weather.FairSkies",time:[5,6,7],action:"action.Salute",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"15",area:"area.Uldah",subarea:"area.UldahThal",pos:{x:11,y:11},weather:"weather.Clouds",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"16",area:"area.WesternThanalan",pos:{x:22,y:22},weather:"weather.FairSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"17",area:"area.CentralThanalan",pos:{x:15,y:22},weather:"weather.Fog",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"18",area:"area.EasternThanalan",pos:{x:19,y:24},weather:"weather.Rain",time:[17],action:"action.Comfort",timestr:"17:00~18:00",startHour:17,endHour:18},{id:"19",area:"area.EasternThanalan",pos:{x:14,y:18},weather:"weather.Clouds",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"20",area:"area.EasternThanalan",pos:{x:21,y:20.8},weather:"weather.FairSkies",time:[5,6,7],action:"action.Pray",timestr:"5:00~8:00",startHour:5,endHour:8}]},{groupName:"21~80",items:[{id:"21",area:"area.MiddleLa",pos:{x:20,y:13},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"22",area:"area.MiddleLa",pos:{x:25,y:17},weather:"weather.ClearSkies",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"23",area:"area.LowerLa",pos:{x:31,y:12},weather:"weather.Rain",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"24",area:"area.EasternLa",pos:{x:32,y:23},weather:"weather.ClearSkies",time:[8,9,10,11],action:"action.Sit",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"25",area:"area.EasternLa",pos:{x:29,y:33},weather:"weather.Rain",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"26",area:"area.WesternLa",pos:{x:26,y:26},weather:"weather.ClearSkies",time:[17],action:"action.Pray",timestr:"17:00~18:00",startHour:17,endHour:18},{id:"27",area:"area.WesternLa",pos:{x:17,y:36},weather:"weather.Gales",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"28",area:"area.WesternLa",pos:{x:22,y:22},weather:"weather.FairSkies",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"29",area:"area.WesternLa",pos:{x:19,y:23},weather:"weather.ClearSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"30",area:"area.UpperLa",pos:{x:30,y:22},weather:"weather.FairSkies",time:[17],action:"action.Lookout",timestr:"17:00~18:00",startHour:17,endHour:18},{id:"31",area:"area.UpperLa",pos:{x:12,y:22},weather:"weather.ClearSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"32",area:"area.UpperLa",pos:{x:29,y:25},weather:"weather.Thunderstorms",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"33",area:"area.OuterLa",pos:{x:12,y:15},weather:"weather.FairSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"34",area:"area.OuterLa",pos:{x:17,y:16},weather:"weather.Clouds",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"35",area:"area.OuterLa",pos:{x:23,y:11},weather:"weather.ClearSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"36",area:"area.OuterLa",pos:{x:15,y:10},weather:"weather.Rain",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Sit",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"37",area:"area.Gridania",subarea:"area.NewGridania",pos:{x:14,y:14},weather:"weather.FairSkies",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"38",area:"area.Gridania",subarea:"area.OldGridania",pos:{x:14,y:5},weather:"weather.Rain",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"39",area:"area.CentralShroud",pos:{x:23,y:19},weather:"weather.Rain",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"40",area:"area.CentralShroud",pos:{x:13,y:23},weather:"weather.ClearSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"41",area:"area.CentralShroud",pos:{x:16,y:22},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"42",area:"area.CentralShroud",pos:{x:26,y:18},weather:"weather.ClearSkies",time:[11,12,13],action:"action.Lookout",timestr:"11:00~14:00",startHour:11,endHour:14},{id:"43",area:"area.EastShroud",pos:{x:21,y:10},weather:"weather.Thunder",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"44",area:"area.SouthShroud",pos:{x:17,y:20},weather:"weather.Thunderstorms",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"45",area:"area.SouthShroud",pos:{x:14,y:33},weather:"weather.ClearSkies",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"46",area:"area.SouthShroud",pos:{x:33,y:23},weather:"weather.Fog",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"47",area:"area.SouthShroud",pos:{x:25,y:21},weather:"weather.FairSkies",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"48",area:"area.NorthShroud",pos:{x:18,y:19},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"49",area:"area.NorthShroud",pos:{x:15,y:32},weather:"weather.ClearSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"50",area:"area.NorthShroud",pos:{x:15,y:27},weather:"weather.Clouds",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"51",area:"area.WesternThanalan",pos:{x:8,y:5},weather:"weather.ClearSkies",time:[17],action:"action.Lookout",timestr:"17:00~18:00",startHour:17,endHour:18},{id:"52",area:"area.WesternThanalan",pos:{x:12,y:14},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Point",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"53",area:"area.CentralThanalan",pos:{x:21,y:17},weather:"weather.DustStorms",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"54",area:"area.CentralThanalan",pos:{x:18,y:26},weather:"weather.ClearSkies",time:[12,13,14,15,16],action:"action.Sit",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"55",area:"area.EasternThanalan",pos:{x:30,y:26},weather:"weather.ClearSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"56",area:"area.EasternThanalan",pos:{x:10,y:16},weather:"weather.FairSkies",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"57",area:"area.EasternThanalan",pos:{x:25,y:14},weather:"weather.Showers",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Pray",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"58",area:"area.SouthernThanalan",pos:{x:12,y:22},weather:"weather.Fog",time:[5,6,7],action:"action.Pray",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"59",area:"area.SouthernThanalan",pos:{x:19,y:20},weather:"weather.FairSkies",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"60",area:"area.SouthernThanalan",pos:{x:21,y:38},weather:"weather.HeatWaves",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"61",area:"area.SouthernThanalan",pos:{x:23,y:11},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"62",area:"area.SouthernThanalan",pos:{x:14,y:26},weather:"weather.HeatWaves",time:[5,6,7],action:"action.Psych",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"63",area:"area.NorthernThanalan",pos:{x:21,y:24},weather:"weather.ClearSkies",time:[5,6,7],action:"action.Salute",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"64",area:"area.NorthernThanalan",pos:{x:20,y:29},weather:"weather.FairSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"65",area:"area.NorthernThanalan",pos:{x:20,y:22},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"66",area:"area.NorthernThanalan",pos:{x:19,y:17},weather:"weather.Clouds",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"67",area:"area.NorthernThanalan",pos:{x:26,y:22},weather:"weather.Fog",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"68",area:"area.CoerthasCentral",pos:{x:25,y:29},weather:"weather.ClearSkies",time:[17],action:"action.Lookout",timestr:"17:00~18:00",startHour:17,endHour:18},{id:"69",area:"area.CoerthasCentral",pos:{x:25,y:29},weather:"weather.Fog",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"70",area:"area.CoerthasCentral",pos:{x:11,y:15},weather:"weather.Blizzards",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"71",area:"area.CoerthasCentral",pos:{x:12,y:17},weather:"weather.FairSkies",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"72",area:"area.CoerthasCentral",pos:{x:7,y:28},weather:"weather.ClearSkies",time:[17],action:"action.Lookout",timestr:"17:00~18:00",startHour:17,endHour:18},{id:"73",area:"area.CoerthasCentral",pos:{x:7,y:31},weather:"weather.Blizzards",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"74",area:"area.CoerthasCentral",pos:{x:2,y:21},weather:"weather.FairSkies",time:[8,9,10,11],action:"action.Lookout",timestr:"8:00~12:00",startHour:8,endHour:12},{id:"75",area:"area.CoerthasCentral",pos:{x:26,y:17},weather:"weather.FairSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"76",area:"area.CoerthasCentral",pos:{x:28,y:10},weather:"weather.ClearSkies",time:[5,6,7],action:"action.Lookout",timestr:"5:00~8:00",startHour:5,endHour:8},{id:"77",area:"area.MorDhona",pos:{x:9,y:13},weather:"weather.Gloom",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"78",area:"area.MorDhona",pos:{x:27,y:8},weather:"weather.FairSkies",time:[0,1,2,3,4,18,19,20,21,22,23],action:"action.Lookout",timestr:"18:00~5:00",startHour:18,endHour:5},{id:"79",area:"area.MorDhona",pos:{x:18,y:17},weather:"weather.ClearSkies",time:[12,13,14,15,16],action:"action.Lookout",timestr:"12:00~17:00",startHour:12,endHour:17},{id:"80",area:"area.MorDhona",pos:{x:26,y:11},weather:"weather.FairSkies",time:[17],action:"action.Sit",timestr:"17:00~18:00",startHour:17,endHour:18}]}];class Ke{constructor(){let n=(localStorage.getItem("comletedSightseeing")||"").split(",").filter(n=>""!==n);this._succeedIds=new Set(n)}store(){localStorage.setItem("comletedSightseeing",Array.from(this._succeedIds.values()).join(","))}contains(n){return this._succeedIds.has(n)}add(n){this._succeedIds.add(n),this.store()}delete(n){this._succeedIds.delete(n),this.store()}toggle(n){this[this.contains(n)?"delete":"add"](n)}countByGroup(n){return n.items.filter(n=>this._succeedIds.has(n.id)).length}count(){return this._succeedIds.size}}let Qe=class extends r.default{constructor(){super(...arguments),this.nowYear=RegExp(`${(new Date).getFullYear()}年`,"g"),this.sourceData=Ve,this.activeGroup=0,this.calcData=[],this.succeedSightseeingCounter=new Ke,this.succeedCounter={activeGroupCount:0,activeGroupAllCount:0,succeedCount:0,allCount:Ve.reduce((n,e)=>n+=e.items.length,0)},this.isFirstView="true"===(localStorage.getItem("isFirstView")||"true"),this.alertClass=""}created(){localStorage.removeItem("firstView"),this.activeGroup=parseInt(localStorage.getItem("activeGroupIndex")||"0"),this.loadGroup(this.activeGroup),this.$gBus.$on("hourChange",n=>{let e=this.calcData;this.loadGroup(this.activeGroup);let t=this.calcData,r=[];t.forEach(n=>{e.forEach(e=>{e.id===n.id&&"card-primary"===n.vaildStatus&&("card-info"===e.vaildStatus?r.push(n):"card-primary"===e.vaildStatus&&!0===e.isStillWaiting&&!1===n.isStillWaiting&&r.push(n))})}),r.length&&this.$gBus.$emit("nearSoonToCompleteGet",r)})}switchGroup(n){this.activeGroup=n,localStorage.setItem("activeGroupIndex",n.toString()),this.loadGroup(n)}setComplete(n){this.succeedSightseeingCounter.toggle(n),this.loadGroup(this.activeGroup)}loadGroup(n){if(n>=Ve.length)return void this.switchGroup(0);let e=Ve[n].items,t=[],r=[];for(let n in e){let o=new Ge(e[n]);this.succeedSightseeingCounter.contains(o.id)?(o.vaildStatus="card-success",r.push(o)):(o.calcNextAvailableTime(),t.push(o))}t.sort((n,e)=>{let t=n.nextAvaliableTime.date.getTime()-e.nextAvaliableTime.date.getTime();return 0===t&&n.nextAvaliableTimeEnd&&e.nextAvaliableTimeEnd&&(t=n.nextAvaliableTimeEnd.date.getTime()-e.nextAvaliableTimeEnd.date.getTime()),t});for(let n in r)t.push(r[n]);this.succeedCounter.activeGroupCount=this.succeedSightseeingCounter.countByGroup(Ve[this.activeGroup]),this.succeedCounter.activeGroupAllCount=Ve[this.activeGroup].items.length,this.succeedCounter.succeedCount=this.succeedSightseeingCounter.count(),this.calcData=t,this.alertClass=this.succeedCounter.activeGroupCount>=this.succeedCounter.activeGroupAllCount/2?this.succeedCounter.activeGroupCount===this.succeedCounter.activeGroupAllCount?"alert-success":"alert-primary":"alert-info"}setFirstView(){localStorage.setItem("isFirstView","false"),this.isFirstView=!1}};Qe=function(n,e,t,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(n,e,t,r);else for(var s=n.length-1;s>=0;s--)(o=n[s])&&(a=(i<3?o(a):i>3?o(e,t,a):o(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a}([Fe.a],Qe);var Ye=Qe,Xe=(t(16),Pe(Ye,Ue,[],!1,null,null,null));Xe.options.__file="src/components/home.vue";var Je=Xe.exports,Ze=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",[t("h3",[n._v(n._s(n.$t("info.weatheroverview")))]),n._v(" "),t("table",{staticClass:"table table-striped table-hover"},[t("thead",[t("tr",[t("th",[n._v(n._s(n.$t("info.area")))]),n._v(" "),t("th",[n._v("\n "+n._s(n.$t("info.before"))+"\n "),t("br"),n._v("\n "+n._s(n.hourString[0])+"~\n ")]),n._v(" "),t("th",[n._v("\n "+n._s(n.$t("info.now"))+"\n "),t("br"),n._v("\n "+n._s(n.hourString[1])+"~\n ")]),n._v(" "),t("th",[n._v(n._s(n.hourString[2])+"~")]),n._v(" "),t("th",[n._v(n._s(n.hourString[3])+"~")]),n._v(" "),t("th",[n._v(n._s(n.hourString[4])+"~")]),n._v(" "),t("th",[n._v(n._s(n.hourString[5])+"~")]),n._v(" "),t("th",[n._v(n._s(n.hourString[6])+"~")])])]),n._v(" "),t("tbody",n._l(n.weatherResult,(function(e){return t("tr",{key:e.name},[t("td",[n._v(n._s(n.$t(e.name)))]),n._v(" "),t("td",{staticClass:"weatherImg prev"},[t("img",{attrs:{src:"./image/weather/"+e.weather[0]+".png"}}),n._v("\n "+n._s(n.$t(e.weather[0]))+"\n ")]),n._v(" "),t("td",{staticClass:"weatherImg"},[t("img",{attrs:{src:"./image/weather/"+e.weather[1]+".png"}}),n._v("\n "+n._s(n.$t(e.weather[1]))+"\n ")]),n._v(" "),t("td",{staticClass:"weatherImg next"},[t("img",{attrs:{src:"./image/weather/"+e.weather[2]+".png"}}),n._v("\n "+n._s(n.$t(e.weather[2]))+"\n ")]),n._v(" "),t("td",{staticClass:"weatherImg next"},[t("img",{attrs:{src:"./image/weather/"+e.weather[3]+".png"}}),n._v("\n "+n._s(n.$t(e.weather[3]))+"\n ")]),n._v(" "),t("td",{staticClass:"weatherImg next"},[t("img",{attrs:{src:"./image/weather/"+e.weather[4]+".png"}}),n._v("\n "+n._s(n.$t(e.weather[4]))+"\n ")]),n._v(" "),t("td",{staticClass:"weatherImg next"},[t("img",{attrs:{src:"./image/weather/"+e.weather[5]+".png"}}),n._v("\n "+n._s(n.$t(e.weather[5]))+"\n ")]),n._v(" "),t("td",{staticClass:"weatherImg next"},[t("img",{attrs:{src:"./image/weather/"+e.weather[6]+".png"}}),n._v("\n "+n._s(n.$t(e.weather[6]))+"\n ")])])})),0)])])};Ze._withStripped=!0;const nt=["00:00","08:00","16:00"];let et=class extends r.default{constructor(){super(...arguments),this.hourString=[],this.weatherResult=[]}created(){this.weatherchange(),this.$gBus.$on("weatherChange",n=>{this.weatherchange()})}weatherchange(){let n=new Re(void 0),e=Be.calcBaseDate(n).getHours()/8;this.hourString=[-1,0,1,2,3,4,5].map(n=>e+n).map(n=>nt[(n+3)%3]);let t=Be.forecastSeed(n,[-1,0,1,2,3,4,5]);this.weatherResult=[];for(let n in qe){let e=Be.getForecast(n,t);this.weatherResult.push({name:n,weather:e})}}};et=function(n,e,t,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(n,e,t,r);else for(var s=n.length-1;s>=0;s--)(o=n[s])&&(a=(i<3?o(a):i>3?o(e,t,a):o(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a}([Fe.a],et);var tt=et,rt=(t(18),Pe(tt,Ze,[],!1,null,null,null));rt.options.__file="src/components/weatheroverview.vue";var ot=rt.exports;var it={lang:{"zh-CN":"Chinese (Simplified) - 简体中文","en-US":"English","ja-JP":"Japanese - 日本語"},"12hoursystem":"12-Hour System","24hoursystem":"24-Hour System",info:{home:"Home",weatheroverview:"Weather Overview",area:"Area",before:"Before",now:"Now",succeedSightseeingCountInfomation:"Sightseeing completion",activeGroupCount:"Current page",totalCount:"Total",soonToComplete:"Soon to compelete",fewHoursToComplete:"(1 Eorzea day) 70 minutes to complete",moreTimeToComplete:"More time to complete",longTimeToComplete:"Long time to complete",completed:"Completed",startFrom:"Start from",localTime:"Local Time",isStillWaiting:"(Not avaiable yet)",veryLongTimeToComplete:"After 122 days (Earth time)",endingAt:"Ending at",lessThan:"( Less than one minute ) | ( Less than {m} minutes )",additionalInfo:"The endpoint of the time range of the sightseeing is 1 minute before that marked in this page. For example, if the time range of one sightseeing is marked as ET 18:00 - ET 5:00, that means the actual endpoint is ET 4:59. Please be care for it."},sightseeingActGuide:"Sightseeing strategy",sightseeingActGuideSeeHere:"See Here.",sightseeingClickIntroduction:"Click the uncompleted line below to mark it as completed, and click the completed one to mark as uncompleted. ",introdution:{text:'This guide can calculate the forecast in Eorzea and find the sightseeings that match the weather and time condition.
This guide will alert you when there are new sightseeings that can be done via notifications come from right bottom. Then you can click the notifications to come to this page. (It needs your browser supports Notification API).
Please kindly noted: this guide can only alert you that there are new sightseeings can be done, but not how to do them. Please click the link in "Sightseeing completion" to learn how to do.',button:"I got it."},notification:{welcome:{title:"We will tell you the ...",body:"... new sightseeings via Notification while they available. (The notification will be close after 15s, clicking the notification can bring you back to this page)"},availableSoonTitle:"A new sightseeing available soon. | {n} new sightseeings available soon.",availableNowTitle:"A new sightseeing available now! | {n} new sightseeings available now!"},area:{LimsaLominsa:"Limsa Lominsa",LimsaLominsaUpper:"Limsa Lominsa Upper Decks",LimsaLominsaLower:"Limsa Lominsa Lower Decks",MiddleLa:"Middle La Noscea",LowerLa:"Lower La Noscea",EasternLa:"Eastern La Noscea",WesternLa:"Western La Noscea",UpperLa:"Upper La Noscea",OuterLa:"Outer La Noscea",Mist:"Mist",Wolves:"Wolves' Den Pier",Gridania:"Gridania",OldGridania:"Old Gridania",NewGridania:"New Gridania",CentralShroud:"Central Shroud",EastShroud:"East Shroud",SouthShroud:"South Shroud",NorthShroud:"North Shroud",TheLavenderBeds:"The Lavender Beds",Uldah:"Ul'dah",UldahThal:"Ul'dah - Steps of Thal",WesternThanalan:"Western Thanalan",CentralThanalan:"Central Thanalan",EasternThanalan:"Eastern Thanalan",SouthernThanalan:"Southern Thanalan",NorthernThanalan:"Northern Thanalan",TheGoblet:"The Goblet",MorDhona:"Mor Dhona",Ishgard:"Ishgard",CoerthasCentral:"Coerthas Central Highlands",CoerthasWestern:"Coerthas Western Highlands",TheSeaofClouds:"The Sea of Clouds",AzysLla:"Azys Lla",DravanianForelands:"The Dravanian Forelands",DravanianHinterlands:"The Dravanian Hinterlands",ChurningMists:"The Churning Mists",Idyllshire:"Idyllshire",RhalgrsReach:"Rhalgr's Reach",TheFringes:"The Fringes",ThePeaks:"The Peaks",TheLochs:"The Lochs",Kugane:"Kugane",Shirogane:"Shirogane",RubySea:"The Ruby Sea",Yanxia:"Yanxia",AzimSteppe:"The Azim Steppe",EurekaAnemos:"Eureka Anemos",EurekaPagos:"Eureka Pagos",EurekaPyros:"Eureka Pyros",EurekaHydatos:"Eureka Hydatos",TheCrystarium:"The Crystarium",Eulmore:"Eulmore",Lakeland:"Lakeland",Kholusia:"Kholusia",AmhAraeng:"Amh Araeng",IlMheg:"Il Mheg",TheRaktikaGreatwood:"The Rak'tika Greatwood",TheTempest:"The Tempest"},weather:{ClearSkies:"Clear Skies",FairSkies:"Fair Skies",Clouds:"Clouds",Fog:"Fog",Wind:"Wind",Gales:"Gales",Rain:"Rain",Showers:"Showers",Thunder:"Thunder",EurekaPagosThunder:"Thunder",Thunderstorms:"Thunderstorms",DustStorms:"Dust Storms",HeatWaves:"Heat Waves",Snow:"Snow",Blizzards:"Blizzards",Gloom:"Gloom",UmbralWind:"Umbral Wind",UmbralStatic:"Umbral Static"},action:{Lookout:"Lookout",Pray:"Pray",Sit:"Sit",Salute:"Salute",Comfort:"Comfort",Point:"Point",Psych:"Psych"}};var at={lang:{"zh-CN":"简体中文","en-US":"英语 - English","ja-JP":"日语 - 日本語"},"12hoursystem":"12小时制","24hoursystem":"24小时制",info:{home:"首页",weatheroverview:"天气总览",area:"区域",before:"之前",now:"现在",succeedSightseeingCountInfomation:"探索笔记完成情况",activeGroupCount:"当前已完成",totalCount:"总计已完成",soonToComplete:"现在就可以完成",fewHoursToComplete:"(一个艾欧泽亚日)70分钟内就可以完成",moreTimeToComplete:"多等一会就可以完成",longTimeToComplete:"可能要等很久",completed:"已完成",startFrom:"开始时间",localTime:"本地时间",isStillWaiting:"(尚未开始)",veryLongTimeToComplete:"122天后(地球时间)",endingAt:"结束时间",lessThan:"(还剩不到{m}分钟)",additionalInfo:"探索笔记的时间段终点为本页标记的终点的前一分钟,例如若本页面所标记的时间段为ET 18:00 - ET 5:00,那么实际的时间段终点为ET 4:59,请注意。"},sightseeingActGuide:"探索笔记具体完成办法",sightseeingActGuideSeeHere:"参见此处。",sightseeingClickIntroduction:"点击下方未完成的条目可以标记该探索笔记为已完成,点击已完成的可以标记为未完成。",introdution:{text:"本指南将会计算艾欧泽亚大陆上的天气情况以匹配将来符合天气和时间条件从而能够完成的探索笔记。
本指南将会在有新的探索笔记可以完成时通过浏览器右下角通知的形式告知您,您可以点击该通知来直接地返回到该页面。(需要您的浏览器支持通知功能)
请您悉知:本指南仅能提示您可以完成的探索笔记,如何完成它们不在本指南的提示范围内,请点击下方【探索笔记完成情况】一栏的链接以获取探索笔记的完成办法。",button:"我知道了"},notification:{welcome:{title:"本页面将以通知形式……",body:"……告知新出现的可完成的探索笔记(通知将在15s后自动关闭,点击通知可以让你回到本页面)"},availableSoonTitle:"将有新的探索笔记可完成 | 将有{n}项探索笔记可完成",availableNowTitle:"有新的探索笔记可完成! | 有{n}项探索笔记可完成!"},area:{LimsaLominsa:"利姆萨·罗敏萨",LimsaLominsaUpper:"利姆萨·罗敏萨上层甲板",LimsaLominsaLower:"利姆萨·罗敏萨下层甲板",MiddleLa:"中拉诺西亚",LowerLa:"拉诺西亚低地",EasternLa:"东拉诺西亚",WesternLa:"西拉诺西亚",UpperLa:"拉诺西亚高地",OuterLa:"拉诺西亚外地",Mist:"海雾村",Wolves:"狼狱停船场",Gridania:"格里达尼亚",OldGridania:"格里达尼亚旧街",NewGridania:"格里达尼亚新街",CentralShroud:"黑衣森林中央林区",EastShroud:"黑衣森林东部林区",SouthShroud:"黑衣森林南部林区",NorthShroud:"黑衣森林北部林区",TheLavenderBeds:"薰衣草苗圃",Uldah:"乌尔达哈",UldahThal:"乌尔达哈来生回廊",WesternThanalan:"西萨纳兰",CentralThanalan:"中萨纳兰",EasternThanalan:"东萨纳兰",SouthernThanalan:"南萨纳兰",NorthernThanalan:"北萨纳兰",TheGoblet:"高脚孤丘",MorDhona:"魔杜纳",Ishgard:"伊修加德",CoerthasCentral:"库尔札斯中央高地",CoerthasWestern:"库尔札斯西部高地",TheSeaofClouds:"阿巴拉提亚云海",AzysLla:"魔大陆阿济兹拉",DravanianForelands:"龙堡参天高地",DravanianHinterlands:"龙堡内陆低地",ChurningMists:"翻云雾海",Idyllshire:"田园郡",RhalgrsReach:"神拳痕",TheFringes:"基拉巴尼亚边区",ThePeaks:"基拉巴尼亚山区",TheLochs:"基拉巴尼亚湖区",Kugane:"黄金港",Shirogane:"白银乡",RubySea:"红玉海",Yanxia:"延夏",AzimSteppe:"太阳神草原",EurekaAnemos:"优雷卡常风之地",EurekaPagos:"优雷卡恒冰之地",EurekaPyros:"优雷卡永火之地",EurekaHydatos:"优雷卡丰水之地",Lakeland:"雷克兰德",Kholusia:"珂露西亚岛",AmhAraeng:"安穆·艾兰",IlMheg:"伊尔美格",TheRaktikaGreatwood:"拉凯提卡大森林",TheTempest:"黑风海",TheCrystarium:"水晶都",Eulmore:"游末邦"},weather:{ClearSkies:"碧空",FairSkies:"晴朗",Clouds:"阴云",Fog:"薄雾",Wind:"微风",Gales:"强风",Rain:"小雨",Showers:"暴雨",Thunder:"打雷",EurekaPagosThunder:"暴雷",Thunderstorms:"雷雨",DustStorms:"扬沙",HeatWaves:"热浪",Snow:"小雪",Blizzards:"暴雪",Gloom:"妖雾",UmbralWind:"灵风",UmbralStatic:"灵电"},action:{Lookout:"张望",Pray:"祈祷",Sit:"坐下",Salute:"敬礼",Comfort:"安慰",Point:"指向",Psych:"激励"}};var st={lang:{"zh-CN":"中国語(簡体字) - 简体中文","en-US":"英語 - English","ja-JP":"日本語"},"12hoursystem":"12小时制","24hoursystem":"24小时制",info:{home:"メインページ",weatheroverview:"天気概要",area:"エリア",before:"前に",now:"今の時",succeedSightseeingCountInfomation:"完了した状況の統計",activeGroupCount:"現在完了している",totalCount:"合計が完了しました",soonToComplete:"すぐに完成できます",fewHoursToComplete:"数時間に完成できます",moreTimeToComplete:"多くの時間を待ち",longTimeToComplete:"長い時間を要する",completed:"完了しました",startFrom:"開始時間",localTime:"現地時間",isStillWaiting:"(まだ始まっていない)",veryLongTimeToComplete:"122日後(地球時間)",endingAt:"終了時刻",lessThan:"({m}分未満)",additionalInfo:"探索笔记的时间段终点为本页标记的终点的前一分钟,例如若本页面所标记的时间段为ET 18:00 - ET 5:00,那么实际的时间段终点为ET 4:59,请注意。"},sightseeingActGuide:"探索笔记具体完成办法",sightseeingActGuideSeeHere:"参见此处。",sightseeingClickIntroduction:"点击下方未完成的条目可以标记该探索笔记为已完成,点击已完成的可以标记为未完成。",introdution:{text:"本指南将会计算艾欧泽亚大陆上的天气情况以匹配将来符合天气和时间条件从而能够完成的探索笔记。
本指南将会在有新的探索笔记可以完成时通过浏览器右下角通知的形式告知您,您可以点击该通知来直接地返回到该页面。(需要您的浏览器支持通知功能)
请您悉知:本指南仅能提示您可以完成的探索笔记,如何完成它们不在本指南的提示范围内,请点击下方【探索笔记完成情况】一栏的链接以获取探索笔记的完成办法。",button:"我知道了"},notification:{welcome:{title:"本页面将以通知形式……",body:"……告知新出现的可完成的探索笔记(通知将在15s后自动关闭,点击通知可以让你回到本页面)"},availableSoonTitle:"将有新的探索笔记可完成 | 将有{n}项探索笔记可完成",availableNowTitle:"有新的探索笔记可以完成! | 有{n}项探索笔记可以完成!"},area:{LimsaLominsa:"リムサ・ロミンサ",LimsaLominsaUpper:"リムサ・ロミンサ:上甲板層",LimsaLominsaLower:"リムサ・ロミンサ:下甲板層",MiddleLa:"中央ラノシア",LowerLa:"低地ラノシア",EasternLa:"東ラノシア",WesternLa:"西ラノシア",UpperLa:"高地ラノシア",OuterLa:"外地ラノシア",Mist:"ミスト・ヴィレッジ",Wolves:"ウルヴズジェイル係船場",Gridania:"グリダニア",OldGridania:"グリダニア:旧市街",NewGridania:"グリダニア:新市街",CentralShroud:"黒衣森:中央森林",EastShroud:"黒衣森:東部森林",SouthShroud:"黒衣森:南部森林",NorthShroud:"黒衣森:北部森林",TheLavenderBeds:"ラベンダーベッド",Uldah:"ウルダハ",UldahThal:"ウルダハ:ザル回廊",WesternThanalan:"西ザナラーン",CentralThanalan:"中央ザナラーン",EasternThanalan:"東ザナラーン",SouthernThanalan:"南ザナラーン",NorthernThanalan:"北ザナラーン",TheGoblet:"ゴブレットビュート",MorDhona:"モードゥナ",Ishgard:"イシュガルド",CoerthasCentral:"クルザス中央高地",CoerthasWestern:"クルザス西部高地",TheSeaofClouds:"アバラシア雲海",AzysLla:"アジス・ラー",DravanianForelands:"高地ドラヴァニア",DravanianHinterlands:"低地ドラヴァニア",ChurningMists:"ドラヴァニア雲海",Idyllshire:"イディルシャイア",RhalgrsReach:"ラールガーズリーチ",TheFringes:"ギラバニア辺境地帯",ThePeaks:"ギラバニア山岳地帯",TheLochs:"ギラバニア湖畔地帯",Kugane:"クガネ",Shirogane:"シロガネ",RubySea:"紅玉海",Yanxia:"ヤンサ",AzimSteppe:"アジムステップ",EurekaAnemos:"エウレカ・アネモス帯",EurekaPagos:"エウレカ・パゴス帯",EurekaPyros:"エウレカ・ピューロス帯",EurekaHydatos:"エウレカ・ヒュダトス帯",TheCrystarium:"クリスタリウム",Eulmore:"ユールモア",Lakeland:"レイクランド",Kholusia:"コルシア島",AmhAraeng:"アム・アレーン",IlMheg:"イル・メグ",TheRaktikaGreatwood:"ラケティカ大森林",TheTempest:"テンペスト"},weather:{ClearSkies:"快晴",FairSkies:"晴れ",Clouds:"曇り",Fog:"霧",Wind:"風",Gales:"暴風",Rain:"雨",Showers:"暴雨",Thunder:"雷",EurekaPagosThunder:"暴雷",Thunderstorms:"雷雨",DustStorms:"砂塵",HeatWaves:"灼熱波",Snow:"雪",Blizzards:"吹雪",Gloom:"妖霧",UmbralWind:"霊風",UmbralStatic:"放電"},action:{Lookout:"見わたす",Pray:"祈る",Sit:"座る",Salute:"敬礼する",Comfort:"なぐさめる",Point:"指さす",Psych:"活を入れる"}};t(4),t(20);r.default.use(Hn),r.default.use(Le),r.default.use(Ie);const lt=new Hn({routes:[{path:"/",component:Je},{path:"/weatheroverview",component:ot}]}),ct=new Le({locale:"zh-CN",messages:{"en-US":it,"zh-CN":at,"ja-JP":st},dateTimeFormats:{"en-US":{short:{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:"24"!==localStorage.getItem("hourSystem")},long:{year:"numeric",month:"short",day:"numeric",weekday:"short",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:"24"!==localStorage.getItem("hourSystem")}},"ja-JP":{short:{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0},long:{year:"numeric",month:"short",day:"numeric",weekday:"short",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!0}},"zh-CN":{short:{hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:"24"!==localStorage.getItem("hourSystem")},long:{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:"24"!==localStorage.getItem("hourSystem")}}}});new r.default({router:lt,i18n:ct,render:n=>n(We)}).$mount("#app")}]); \ No newline at end of file diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts index 6ccb901..d1bb9a8 100644 --- a/src/locales/en-US.ts +++ b/src/locales/en-US.ts @@ -17,7 +17,7 @@ const en_US: any = { activeGroupCount: "Current page", totalCount: "Total", soonToComplete: "Soon to compelete", - fewHoursToComplete: "Few hours to complete", + fewHoursToComplete: "(1 Eorzea day) 70 minutes to complete", moreTimeToComplete: "More time to complete", longTimeToComplete: "Long time to complete", completed: "Completed", diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 9c490d1..494e66d 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -17,7 +17,7 @@ const zh_CN: any = { activeGroupCount: "当前已完成", totalCount: "总计已完成", soonToComplete: "现在就可以完成", - fewHoursToComplete: "一小时内就可以完成", + fewHoursToComplete: "(一个艾欧泽亚日)70分钟内就可以完成", moreTimeToComplete: "多等一会就可以完成", longTimeToComplete: "可能要等很久", completed: "已完成",