@rr0/ufoathome 0.166.0 → 0.167.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-embed-scene/rr0-scene.mjs +4 -4
- package/dist-embed-sighting/rr0-sighting.mjs +6 -6
- package/dist-embed-sighting-editor/ModuleConformance-DqZDQ_RP.js +2 -0
- package/dist-embed-sighting-editor/ModulesPanelElement-BrOayCKN.js +15 -0
- package/dist-embed-sighting-editor/ModulesPanelMessages_en-t8LOPRx0.js +1 -0
- package/dist-embed-sighting-editor/ModulesPanelMessages_es-DQFuXaUa.js +1 -0
- package/dist-embed-sighting-editor/ModulesPanelMessages_fr-DZMwqDs0.js +1 -0
- package/dist-embed-sighting-editor/ModulesPanelMessages_it-DfX1ObVK.js +1 -0
- package/dist-embed-sighting-editor/rr0-sighting-editor.mjs +186 -184
- package/package.json +1 -1
- package/dist-embed-sighting-editor/ModulesPanelElement-BdnB0iIX.js +0 -13
- package/dist-embed-sighting-editor/ModulesPanelMessages_en-D97Nh2yy.js +0 -1
- package/dist-embed-sighting-editor/ModulesPanelMessages_es-CE9Ajw2-.js +0 -1
- package/dist-embed-sighting-editor/ModulesPanelMessages_fr-BWsj-7_t.js +0 -1
- package/dist-embed-sighting-editor/ModulesPanelMessages_it-CtKrboEg.js +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ModuleThree-Brz-0Orl.js","./rr0-sighting-editor.mjs"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as w}from"./rr0-sighting-editor.mjs";class n{static MEMBERS={weather:["getWeather"],place:["attribution","search","reverse"],timeZone:["zoneAt"],narrative:["settings","draft"],assessment:["assess"],lightPollution:["year","citation","lookUp"],aircraft:["citation","between"],upperAir:["between"],elevation:["getElevationGrid"],imagery:["attribution","getImageryTexture"],surroundings:["id","name","attribution","creditUrl","contemporary","covers","getSurroundings"],decorModels:["attribution","entries","entry"],skyEvents:["key","messages","simulation"],interpretations:["key","messages","bodiesOf"],perception:["id","messages","sources","settings","perceive"]};static WEATHER_SHARES=["cloudCover","cloudDarkness","precipitationIntensity","highCloudCover","lowerCloudCover","iceCrystalAlignment","rareIceCrystals","relativeHumidity"];static WEATHER_REQUIRED=["cloudCover","cloudDarkness","precipitationIntensity"];static PRECIPITATIONS=["none","rain","snow","hail"];static HIGH_WIND_MS=60;static TIMEOUT_MS=3e4;static async check(e,a={}){const s=[];e.hasScript&&!e.scriptRun&&s.push({level:"note",code:"scriptNotRun"});for(const[t,r]of Object.entries(e.module.contributes))Object.hasOwn(n.MEMBERS,t)?Array.isArray(r)?await n.checkPoint(t,r,a,s):s.push({level:"failed",code:"notAList",point:t}):s.push({level:"failed",code:"unknownPoint",point:t});return s}static async checkPoint(e,a,s,t){const r=new Set;for(const i of a){const c=(l,d,g="failed")=>{t.push({level:g,code:l,point:e,source:typeof i?.id=="string"?i.id:void 0,detail:d})};if(r.has(i?.id)&&c("duplicateId"),r.add(i?.id),n.checkEntry(i,c),typeof i?.create!="function"){c("createMissing");continue}const o=n.build(i,c);if(o===void 0)continue;const h=n.MEMBERS[e].filter(l=>o[l]===void 0);for(const l of h)c("missingMember",l);h.length>0||(e==="weather"&&await n.checkWeather(i.id,o,s,c),e==="skyEvents"&&await n.checkSkyEventKind(i.id,o,s,c),e==="interpretations"&&await n.checkInterpretationKind(i.id,o,s,c))}}static checkEntry(e,a){for(const s of["id","name","credit","creditUrl"]){const t=e?.[s];(typeof t!="string"||t.trim()==="")&&a("entryField",s)}typeof e?.creditUrl=="string"&&e.creditUrl!==""&&!URL.canParse(e.creditUrl)&&a("entryField","creditUrl")}static build(e,a){let s=!1;const t=(async()=>(s=!0,new Response("",{status:503}))),r=globalThis.fetch;globalThis.fetch=t;try{const i=e.create(t);if(s&&a("createAsked"),i==null){a("createEmpty");return}return i}catch(i){a("createThrew",n.told(i));return}finally{globalThis.fetch=r}}static async checkWeather(e,a,s,t){const r=s.weatherQuery;if(!r){t("weatherNotAsked",void 0,"note");return}let i;try{i=await n.within(a.getWeather(r),s)}catch(l){t("weatherThrew",n.told(l));return}if(i===void 0){t("weatherNoRecord",void 0,"note");return}const c=i?.samples;if(!Array.isArray(c)||c.length!==r.points.length){t("weatherSamples",`${Array.isArray(c)?c.length:0}/${r.points.length}`);return}c.some((l,d)=>l?.time?.getTime?.()!==r.points[d].time.getTime())&&t("weatherOrder");const o=new Set;let h=!1;for(const l of c){const d=l?.weather??{};for(const g of n.WEATHER_SHARES){const u=d[g],p=n.WEATHER_REQUIRED.includes(g);(u!==void 0||p)&&!n.between(u,0,1)&&o.add(`${g} = ${String(u)}`)}n.between(d.windDirectionDeg,0,360)||o.add(`windDirectionDeg = ${String(d.windDirectionDeg)}`),n.between(d.windSpeed,0,1/0)?d.windSpeed>n.HIGH_WIND_MS&&(h=!0):o.add(`windSpeed = ${String(d.windSpeed)}`),n.PRECIPITATIONS.includes(d.precipitationType)||o.add(`precipitationType = ${String(d.precipitationType)}`),typeof d.storm!="boolean"&&o.add(`storm = ${String(d.storm)}`)}for(const l of o)t("weatherValue",l);h&&t("weatherWindHigh",void 0,"note"),i.source?.id!==e&&t("weatherSource","id"),(typeof i.source?.name!="string"||i.source.name==="")&&t("weatherSource","name"),(typeof i.source?.url!="string"||i.source.url==="")&&t("weatherSource","url")}static async checkSkyEventKind(e,a,s,t){a.key!==e&&t("kindKey",String(a.key)),await n.checkTexts(a.messages,["title","name"],s,t);let r;try{r=(await n.within(a.simulation(),s))()}catch(o){t("simulationFailed",n.told(o));return}const{MODULE_THREE:i}=await w(async()=>{const{MODULE_THREE:o}=await import("./ModuleThree-Brz-0Orl.js");return{MODULE_THREE:o}},__vite__mapDeps([0,1]),import.meta.url);if(!(r?.object instanceof i.Object3D)){t("secondThree");return}try{r.update([],0,n.frame(new i.Vector3)),r.drawnCount!==0&&t("drawnWithoutEvents",String(r.drawnCount))}catch(o){t("updateThrew",n.told(o))}const c=new i.Group;c.add(r.object);try{r.dispose(),r.object.parent===c&&t("disposeLeft")}catch(o){t("disposeThrew",n.told(o))}}static async checkInterpretationKind(e,a,s,t){a.key!==e&&t("kindKey",String(a.key)),await n.checkTexts(a.messages,["title"],s,t);const r=s.interpretation?.[a.key];if(!Array.isArray(r)||r.length===0){t("readingNotTried",void 0,"note");return}for(const i of r)try{const c=a.bodiesOf(i);Array.isArray(c)||t("readingNotAList")}catch(c){t("readingThrew",n.told(c))}}static async checkTexts(e,a,s,t){for(const r of["en","fr"])try{const i=await n.within(e.load(r),s);for(const c of a)(typeof i?.[c]!="string"||i[c]==="")&&t("kindMessages",`${r}: ${c}`)}catch(i){t("kindMessages",`${r}: ${n.told(i)}`)}}static frame(e){return{reference:{lat:0,lng:0},origin:{x:0,z:0},eastScale:1,siteElevationM:0,eye:e,pixelRad:.001,relativeScale:1,air:{},transmittanceTo:()=>[1,1,1],groundYAt:()=>0,wind:{eastMS:0,northMS:0},observer:{lat:0,lng:0,heightM:0},date:new Date(0),magnitudeLimit:6,cloudTransmission:()=>1,arrivingIlluminance:()=>[0,0,0],transmittanceFromSpace:()=>[1,1,1],lightFrom:()=>{},glareFrom:()=>{}}}static between(e,a,s){return typeof e=="number"&&!Number.isNaN(e)&&e>=a&&e<=s}static told(e){return e instanceof Error?e.message:String(e)}static within(e,a){const s=a.timeoutMs??n.TIMEOUT_MS;let t;const r=new Promise((i,c)=>{t=setTimeout(()=>c(new Error(`> ${s/1e3} s`)),s)});return Promise.race([e,r]).finally(()=>clearTimeout(t))}}export{n as ModuleConformance};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ModuleConformance-DqZDQ_RP.js","./rr0-sighting-editor.mjs"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{o as _,_ as x,H as y,p as L,M as m}from"./rr0-sighting-editor.mjs";import{ModuleSession as C}from"./ModuleSession-CBJWLo9w.js";const M=_.catalog({en:()=>x(()=>import("./ModulesPanelMessages_en-t8LOPRx0.js"),[],import.meta.url).then(b=>b.modulesPanelMessages_en),fr:()=>x(()=>import("./ModulesPanelMessages_fr-DZMwqDs0.js"),[],import.meta.url).then(b=>b.modulesPanelMessages_fr),es:()=>x(()=>import("./ModulesPanelMessages_es-DQFuXaUa.js"),[],import.meta.url).then(b=>b.modulesPanelMessages_es),it:()=>x(()=>import("./ModulesPanelMessages_it-DfX1ObVK.js"),[],import.meta.url).then(b=>b.modulesPanelMessages_it)}),N="rr0-modules-panel",P=`
|
|
3
|
+
rr0-modules-panel { display: block; }
|
|
4
|
+
rr0-modules-panel .mp-add { display: flex; gap: .4em; align-items: center; margin: .4em 0; }
|
|
5
|
+
rr0-modules-panel .mp-add input { flex: 1 1 16em; min-width: 0; }
|
|
6
|
+
rr0-modules-panel .mp-list { list-style: none; margin: .5em 0; padding: 0; }
|
|
7
|
+
rr0-modules-panel .mp-module { padding: .4em 0; border-top: 1px solid color-mix(in srgb, CanvasText 15%, transparent); }
|
|
8
|
+
rr0-modules-panel .mp-head { display: flex; gap: .6em; align-items: center; flex-wrap: wrap; }
|
|
9
|
+
rr0-modules-panel .mp-name { font-weight: 600; }
|
|
10
|
+
rr0-modules-panel .mp-url { overflow-wrap: anywhere; }
|
|
11
|
+
rr0-modules-panel .mp-head .mp-remove { margin-left: auto; }
|
|
12
|
+
rr0-modules-panel .mp-module p { margin: .2em 0; }
|
|
13
|
+
rr0-modules-panel .mp-findings { margin: .3em 0; padding-left: 1.2em; }
|
|
14
|
+
rr0-modules-panel .mp-files { display: flex; gap: .6em; flex-wrap: wrap; align-items: center; margin-top: .6em; }
|
|
15
|
+
`;class A extends HTMLElement{session=C.shared;messages;languageAsked=!1;named=[];recordingBase;note;languageToken=0;draft="";onChange=()=>this.render();checkContext;checks=new Map;set moduleSession(e){this.session.changes.removeEventListener("change",this.onChange),this.session=e,this.isConnected&&this.session.changes.addEventListener("change",this.onChange),this.render()}get recordingModules(){return[...this.named]}set recordingModules(e){this.named=[...e??[]],this.render()}set base(e){this.recordingBase=e,this.render()}async setLanguage(e){this.languageAsked=!0;const t=++this.languageToken,n=await M.load(e);t===this.languageToken&&(this.messages=n,this.render())}connectedCallback(){this.languageAsked||this.setLanguage(y.preferencesFor(this)[0]??"en"),this.session.changes.addEventListener("change",this.onChange),this.session.start(),this.render()}disconnectedCallback(){this.session.changes.removeEventListener("change",this.onChange)}absolute(e){try{return new URL(e,this.recordingBase??location.href).href}catch{return}}isNamed(e){return this.named.some(t=>this.absolute(t)===e)}setNamed(e,t){t!==this.isNamed(e)&&(this.named=t?[...this.named,L.of(e,this.recordingBase)]:this.named.filter(n=>this.absolute(n)!==e),t&&this.session.require([e]),this.dispatchEvent(new Event("recordingmoduleschange",{bubbles:!0})),this.render())}render(){const e=this.messages;if(!this.isConnected||!this.messages)return;const t=this.ownerDocument,n=t.createElement("style");n.textContent=P;const s=t.createElement("p");s.className=m.INFO,s.textContent=e.intro;const a=t.createElement("form");a.className="mp-add";const i=t.createElement("input");i.type="url",i.id="module-url",i.required=!0,i.placeholder=e.urlPlaceholder,i.value=this.draft,i.addEventListener("input",()=>{this.draft=i.value}),i.setAttribute("aria-label",e.urlPlaceholder);const u=t.createElement("button");u.type="submit",u.textContent=e.add,a.append(i,u),a.addEventListener("submit",r=>{r.preventDefault();const w=i.value.trim();w&&(this.draft="",this.session.add(w))});const l=t.createElement("p");l.className=m.WARNING,l.textContent=e.codeWarning;const c=this.session.list(),h=new Set(c.map(r=>r.url)),v=this.named.map(r=>this.absolute(r)).filter(r=>r!==void 0&&!h.has(r)),g=t.createElement("ul");g.className="mp-list",g.append(...c.map(r=>this.item(r)),...v.map(r=>this.item({url:r,addedByPerson:!1,enabled:!0,status:"loading"})));const k=t.createElement("p");k.className=m.INFO,k.textContent=e.none,k.hidden=g.childElementCount>0;const f=t.createElement("div");f.className="mp-files";const E=t.createElement("button");E.type="button",E.id="modules-export",E.textContent=e.exportConfig,E.disabled=!c.some(r=>r.addedByPerson),E.addEventListener("click",()=>this.download());const p=t.createElement("input");p.type="file",p.id="modules-import",p.accept="application/json,.json",p.hidden=!0;const o=t.createElement("button");o.type="button",o.textContent=e.importConfig,o.addEventListener("click",()=>p.click()),p.addEventListener("change",()=>{const r=p.files?.[0];r&&this.importFile(r),p.value=""}),f.append(E,o,p);const d=t.createElement("p");d.id="modules-note",d.setAttribute("role","status"),m.show(d,this.note?.text,this.note?.kind),this.replaceChildren(n,s,a,l,g,k,f,d)}item(e){const t=this.messages,n=this.ownerDocument,s=e.loaded,a=n.createElement("li");a.className="mp-module",a.dataset.url=e.url;const i=n.createElement("div");if(i.className="mp-head",e.addedByPerson){const o=n.createElement("label"),d=n.createElement("input");d.type="checkbox",d.className="mp-enabled",d.checked=e.enabled,d.addEventListener("change",()=>void this.session.setEnabled(e.url,d.checked)),o.append(d,n.createTextNode(` ${t.enabled}`)),i.append(o)}const u=n.createElement("span");u.className="mp-name",u.textContent=e.loaded?.module.name??e.url,i.append(u);const l=e.loaded?.module.credit;if(l){const o=n.createElement(e.loaded?.module.creditUrl?"a":"span");o.className=m.INFO,o.textContent=l,o instanceof HTMLAnchorElement&&(o.href=e.loaded.module.creditUrl,o.target="_blank",o.rel="noopener noreferrer"),i.append(o)}const c=n.createElement("button");if(c.type="button",c.className="mp-remove",e.addedByPerson?(c.textContent=t.remove,c.addEventListener("click",()=>void this.session.remove(e.url))):(c.textContent=t.addToMine,c.addEventListener("click",()=>void this.session.add(e.url))),e.status==="installed"&&s){const o=n.createElement("button");o.type="button",o.className="mp-check";const d=this.checks.get(e.url),r=d?.of===s&&d.findings===void 0&&d.crash===void 0;o.textContent=r?t.checking:t.check,o.disabled=r,o.addEventListener("click",()=>void this.check(e.url,s)),i.append(o)}i.append(c);const h=n.createElement("p");h.className=`${m.INFO} mp-url`,h.textContent=e.url;const v=n.createElement("p");v.className="mp-status",e.status==="loading"?m.show(v,t.loading):e.status==="failed"?m.show(v,t.failed.replace("{error}",e.error??""),"error"):e.status==="off"?m.show(v,t.off):m.show(v,this.brings(e));const g=n.createElement("p");g.className="mp-code",s?.scriptRun?m.show(g,t.runsCode,"warning"):s?.hasScript?m.show(g,t.codeNotRun,"info"):g.hidden=!0;const k=n.createElement("label");k.title=t.namedByRecordingHint;const f=n.createElement("input");f.type="checkbox",f.className="mp-named",f.checked=this.isNamed(e.url),f.addEventListener("change",()=>this.setNamed(e.url,f.checked)),k.append(f,n.createTextNode(` ${t.namedByRecording}`));const E=n.createElement("p");E.append(k),a.append(i,h,v,g,E);const p=this.checks.get(e.url);return p&&p.of===s&&a.append(...this.checkResult(p)),a}async check(e,t){const n={of:t};this.checks.set(e,n),this.render();try{const{ModuleConformance:s}=await x(async()=>{const{ModuleConformance:a}=await import("./ModuleConformance-DqZDQ_RP.js");return{ModuleConformance:a}},__vite__mapDeps([0,1]),import.meta.url);n.findings=await s.check(t,this.checkContext?.())}catch(s){n.crash=s instanceof Error?s.message:String(s)}this.render()}checkResult(e){const t=this.messages,n=this.ownerDocument,s=(l,c)=>{const h=n.createElement("p");return h.className="mp-check-result",h.setAttribute("role","status"),m.show(h,l,c),h};if(e.crash!==void 0)return[s(t.checkCrashed.replace("{error}",()=>e.crash),"error")];if(!e.findings)return[];const a=e.findings.filter(l=>l.level==="failed"),i=e.findings.filter(l=>l.level==="note"),u=[];if(a.length===0&&u.push(s(t.checkPassed,"info")),a.length+i.length>0){const l=n.createElement("ul");l.className="mp-findings";for(const c of[...a,...i]){const h=n.createElement("li");m.show(h,this.finding(c),c.level==="failed"?"error":"info"),l.append(h)}u.push(l)}return u}finding(e){const t=this.messages,n=e.point===void 0?"":t.points[e.point]??e.point,s=t.checks[e.code].replace("{point}",()=>e.point??"").replace("{detail}",()=>e.detail??""),a=e.source??(e.code==="unknownPoint"||e.code==="notAList"?void 0:n);return a?t.checkAbout.replace("{about}",()=>a).replace("{text}",()=>s):s}brings(e){const t=Object.entries(e.loaded?.module.contributes??{}).filter(([,n])=>Array.isArray(n)&&n.length>0).map(([n,s])=>`${this.messages.points[n]??n} (${s.length})`);return t.length>0?this.messages.brings.replace("{points}",t.join(", ")):this.messages.bringsNothing}download(){const e=new Blob([this.session.exportText()],{type:"application/json"}),t=URL.createObjectURL(e),n=this.ownerDocument.createElement("a");n.href=t,n.download="ufoathome-modules.json",n.click(),URL.revokeObjectURL(t)}async importFile(e){try{await this.session.importText(await e.text());const t=this.session.list().filter(n=>n.addedByPerson).length;this.note={text:this.messages.imported.replace("{count}",String(t)),kind:"info"}}catch(t){this.note={text:this.messages.importFailed.replace("{error}",t instanceof Error?t.message:String(t)),kind:"error"}}this.render()}}function B(){customElements.get(N)||customElements.define(N,A)}export{N as MODULES_PANEL_ELEMENT_NAME,A as ModulesPanelElement,B as register};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={intro:"A module adds sources (imagery, relief, weather…) and 3D models that others published. The modules you add are kept in this browser; save them to a file to take them elsewhere.",codeWarning:"A module that contains code runs with everything this page can do: only add those whose author you know.",urlPlaceholder:"https://…/ufoathome-module.json",add:"Add",none:"No module.",remove:"Remove",enabled:"On",namedByRecording:"Named by this recording",namedByRecordingHint:"Whoever opens the recording loads this module, so that the models it takes from it are drawn. Its code, if it has any, only runs for those who added it themselves.",addToMine:"Add to my modules",loading:"Loading…",failed:"Could not be loaded: {error}",off:"Off",brings:"Brings: {points}",bringsNothing:"Brings nothing.",runsCode:"Runs code.",codeNotRun:"Its code was not run: add it to your modules to run it.",exportConfig:"Save my modules",importConfig:"Load modules",imported:"{count} module(s) loaded from the file.",importFailed:"This file is not a list of modules: {error}",check:"Check",checking:"Checking…",checkPassed:"Nothing breaks UFO@home's contract. This says nothing of its data being right, or of it being safe.",checkCrashed:"The check could not finish: {error}",checkAbout:"{about}: {text}",checks:{scriptNotRun:"Its code was not checked, since it was not run: add it to your modules.",notAList:'"{point}" must be a list.',unknownPoint:'"{point}" is not a place a module can add to: nothing reads it.',entryField:`The entry's "{detail}" is missing or not valid.`,duplicateId:"This id is given twice at the same place.",createMissing:"The entry has no create function.",createThrew:"create failed: {detail}",createAsked:"create asks the network, when a source listed and not used should cost nothing.",createEmpty:"create returns nothing.",missingMember:'What create returns lacks "{detail}".',weatherNotAsked:"The service was not asked: the open recording needs a place and a date.",weatherNoRecord:"The service has no record for this place and date: its values could not be checked.",weatherThrew:"The service could not be asked: {detail}. A service that refuses other sites (CORS) often says this.",weatherSamples:"Samples received/asked for: {detail}. One per point is needed.",weatherOrder:"The samples are not in the order of the points asked for.",weatherValue:"A value is missing or out of its bounds: {detail}.",weatherWindHigh:"A very strong wind: check that it is in metres a second.",weatherSource:`"source.{detail}" is missing, or its id is not the entry's.`,kindKey:`"key" ({detail}) is not the entry's id.`,kindMessages:"A text is missing or did not load: {detail}.",simulationFailed:"The simulation could not be built: {detail}",secondThree:`"object" is no object of the page's three.js: use the three the script is given.`,updateThrew:"update fails with no events: {detail}",drawnWithoutEvents:"drawnCount is {detail} with no events.",disposeThrew:"dispose failed: {detail}",disposeLeft:"dispose leaves its object in the scene.",readingNotTried:"bodiesOf was not tried: the open recording states none.",readingThrew:"bodiesOf failed: {detail}",readingNotAList:"bodiesOf does not return a list, though it is called synchronously."},points:{weather:"weather",place:"places",timeZone:"time zones",narrative:"drafting",assessment:"assessments",lightPollution:"light pollution",aircraft:"air traffic",upperAir:"air aloft",elevation:"relief",imagery:"imagery",surroundings:"surroundings",perception:"perception",interpretations:"interpretations",skyEvents:"sky events",decorModels:"3D models"}};export{e as modulesPanelMessages_en};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={intro:"Un módulo añade fuentes (imágenes, relieve, meteorología…) y modelos 3D publicados por otros. Los módulos que añade se guardan en este navegador; guárdelos en un archivo para usarlos en otro lugar.",codeWarning:"Un módulo que contiene código se ejecuta con todos los derechos de esta página: añada solo aquellos cuyo autor conozca.",urlPlaceholder:"https://…/ufoathome-module.json",add:"Añadir",none:"Ningún módulo.",remove:"Quitar",enabled:"Activo",namedByRecording:"Citado por esta grabación",namedByRecordingHint:"Quien abre la grabación carga este módulo, para que se dibujen los modelos que toma de él. Su código, si lo tiene, solo se ejecuta para quien lo añadió.",addToMine:"Añadir a mis módulos",loading:"Cargando…",failed:"No se pudo cargar: {error}",off:"Inactivo",brings:"Aporta: {points}",bringsNothing:"No aporta nada.",runsCode:"Ejecuta código.",codeNotRun:"Su código no se ejecutó: añádalo a sus módulos para ejecutarlo.",exportConfig:"Guardar mis módulos",importConfig:"Cargar módulos",imported:"{count} módulo(s) leído(s) del archivo.",importFailed:"Este archivo no es una lista de módulos: {error}",check:"Comprobar",checking:"Comprobando…",checkPassed:"Nada contradice el contrato de UFO@home. Esto no dice nada de la exactitud de sus datos ni de su seguridad.",checkCrashed:"La comprobación no pudo terminar: {error}",checkAbout:"{about}: {text}",checks:{scriptNotRun:"Su código no se comprobó, porque no se ejecutó: añádalo a sus módulos.",notAList:"«{point}» debe ser una lista.",unknownPoint:"«{point}» no es un lugar donde un módulo pueda añadir: nada lo lee.",entryField:"El campo «{detail}» de la entrada falta o no es válido.",duplicateId:"Este id se da dos veces en el mismo lugar.",createMissing:"La entrada no tiene función create.",createThrew:"create ha fallado: {detail}",createAsked:"create consulta la red, cuando una fuente listada y sin usar no debería costar nada.",createEmpty:"create no devuelve nada.",missingMember:"A lo que devuelve create le falta «{detail}».",weatherNotAsked:"No se consultó el servicio: la grabación abierta necesita un lugar y una fecha.",weatherNoRecord:"El servicio no tiene registro para este lugar y esta fecha: sus valores no se pudieron comprobar.",weatherThrew:"No se pudo consultar el servicio: {detail}. Un servicio que rechaza a otros sitios (CORS) suele decir esto.",weatherSamples:"Muestras recibidas/pedidas: {detail}. Hace falta una por punto.",weatherOrder:"Las muestras no están en el orden de los puntos pedidos.",weatherValue:"Un valor falta o se sale de sus límites: {detail}.",weatherWindHigh:"Viento muy fuerte: compruebe que está en metros por segundo.",weatherSource:"«source.{detail}» falta, o su id no es el de la entrada.",kindKey:"«key» ({detail}) no es el id de la entrada.",kindMessages:"Un texto falta o no se cargó: {detail}.",simulationFailed:"No se pudo construir la simulación: {detail}",secondThree:"«object» no es un objeto del three.js de la página: use el three que recibe el script.",updateThrew:"update falla sin eventos: {detail}",drawnWithoutEvents:"drawnCount vale {detail} sin ningún evento.",disposeThrew:"dispose ha fallado: {detail}",disposeLeft:"dispose deja su objeto en la escena.",readingNotTried:"bodiesOf no se probó: la grabación abierta no declara ninguna.",readingThrew:"bodiesOf ha fallado: {detail}",readingNotAList:"bodiesOf no devuelve una lista, aunque se llama de forma síncrona."},points:{weather:"meteorología",place:"lugares",timeZone:"husos horarios",narrative:"redacción",assessment:"evaluaciones",lightPollution:"contaminación lumínica",aircraft:"tráfico aéreo",upperAir:"aire en altura",elevation:"relieve",imagery:"imágenes",surroundings:"entorno",perception:"percepción",interpretations:"interpretaciones",skyEvents:"eventos del cielo",decorModels:"modelos 3D"}};export{e as modulesPanelMessages_es};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={intro:"Un module ajoute des sources (imagerie, relief, météo…) et des modèles 3D publiés par d'autres. Les modules que vous ajoutez sont gardés dans ce navigateur ; enregistrez-les dans un fichier pour les retrouver ailleurs.",codeWarning:"Un module qui contient du code s'exécute avec tous les droits de cette page : n'ajoutez que ceux dont vous connaissez l'auteur.",urlPlaceholder:"https://…/ufoathome-module.json",add:"Ajouter",none:"Aucun module.",remove:"Retirer",enabled:"Actif",namedByRecording:"Nommé par cet enregistrement",namedByRecordingHint:"Qui ouvre l'enregistrement charge ce module, pour que les modèles qu'il y prend soient dessinés. Son code, s'il en a, ne s'exécute que pour qui l'a ajouté lui-même.",addToMine:"Ajouter à mes modules",loading:"Chargement…",failed:"Chargement impossible : {error}",off:"Inactif",brings:"Apporte : {points}",bringsNothing:"N'apporte rien.",runsCode:"Exécute du code.",codeNotRun:"Son code n'a pas été exécuté : ajoutez-le à vos modules pour l'exécuter.",exportConfig:"Enregistrer mes modules",importConfig:"Charger des modules",imported:"{count} module(s) lu(s) dans le fichier.",importFailed:"Ce fichier n'est pas une liste de modules : {error}",check:"Vérifier",checking:"Vérification…",checkPassed:"Rien ne contredit le contrat d'UFO@home. Cela ne dit rien de l'exactitude de ses données ni de sa sûreté.",checkCrashed:"La vérification n'a pas pu aller au bout : {error}",checkAbout:"{about} : {text}",checks:{scriptNotRun:"Son code n'a pas été vérifié, car il n'a pas été exécuté : ajoutez-le à vos modules.",notAList:"« {point} » doit être une liste.",unknownPoint:"« {point} » n'est pas un endroit où un module peut ajouter : rien ne le lit.",entryField:"Le champ « {detail} » de l'entrée manque ou n'est pas valable.",duplicateId:"Cet id est donné deux fois au même endroit.",createMissing:"L'entrée n'a pas de fonction create.",createThrew:"create a échoué : {detail}",createAsked:"create interroge le réseau, alors qu'une source listée sans être utilisée ne doit rien coûter.",createEmpty:"create ne renvoie rien.",missingMember:"Il manque « {detail} » à ce que renvoie create.",weatherNotAsked:"Le service n'a pas été interrogé : il faut un lieu et une date dans l'enregistrement ouvert.",weatherNoRecord:"Le service n'a pas de relevé pour ce lieu et cette date : ses valeurs n'ont pas pu être contrôlées.",weatherThrew:"Le service n'a pas pu être interrogé : {detail}. Un service qui refuse les autres sites (CORS) dit souvent cela.",weatherSamples:"Échantillons reçus/demandés : {detail}. Il en faut un par point.",weatherOrder:"Les échantillons ne sont pas dans l'ordre des points demandés.",weatherValue:"Une valeur manque ou sort de ses limites : {detail}.",weatherWindHigh:"Vent très fort : vérifiez qu'il est bien en mètres par seconde.",weatherSource:"« source.{detail} » manque, ou son id n'est pas celui de l'entrée.",kindKey:"« key » ({detail}) n'est pas l'id de l'entrée.",kindMessages:"Un texte manque ou n'a pas été chargé : {detail}.",simulationFailed:"La simulation n'a pas pu être construite : {detail}",secondThree:"« object » n'est pas un objet du three.js de la page : utilisez le three que reçoit le script.",updateThrew:"update échoue sans événement : {detail}",drawnWithoutEvents:"drawnCount vaut {detail} sans aucun événement.",disposeThrew:"dispose a échoué : {detail}",disposeLeft:"dispose laisse son objet dans la scène.",readingNotTried:"bodiesOf n'a pas été essayé : l'enregistrement ouvert n'en énonce aucune.",readingThrew:"bodiesOf a échoué : {detail}",readingNotAList:"bodiesOf ne renvoie pas une liste, alors qu'il est appelé de façon synchrone."},points:{weather:"météo",place:"lieux",timeZone:"fuseaux horaires",narrative:"rédaction",assessment:"évaluations",lightPollution:"pollution lumineuse",aircraft:"trafic aérien",upperAir:"air en altitude",elevation:"relief",imagery:"imagerie",surroundings:"environs",perception:"perception",interpretations:"interprétations",skyEvents:"événements du ciel",decorModels:"modèles 3D"}};export{e as modulesPanelMessages_fr};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={intro:"Un modulo aggiunge fonti (immagini, rilievo, meteo…) e modelli 3D pubblicati da altri. I moduli che aggiungi sono conservati in questo browser; salvali in un file per ritrovarli altrove.",codeWarning:"Un modulo che contiene codice viene eseguito con tutti i diritti di questa pagina: aggiungi solo quelli di cui conosci l'autore.",urlPlaceholder:"https://…/ufoathome-module.json",add:"Aggiungi",none:"Nessun modulo.",remove:"Rimuovi",enabled:"Attivo",namedByRecording:"Citato da questa registrazione",namedByRecordingHint:"Chi apre la registrazione carica questo modulo, perché i modelli che ne prende siano disegnati. Il suo codice, se ne ha, viene eseguito solo per chi lo ha aggiunto.",addToMine:"Aggiungi ai miei moduli",loading:"Caricamento…",failed:"Impossibile caricarlo: {error}",off:"Inattivo",brings:"Porta: {points}",bringsNothing:"Non porta nulla.",runsCode:"Esegue codice.",codeNotRun:"Il suo codice non è stato eseguito: aggiungilo ai tuoi moduli per eseguirlo.",exportConfig:"Salva i miei moduli",importConfig:"Carica moduli",imported:"{count} modulo/i letto/i dal file.",importFailed:"Questo file non è un elenco di moduli: {error}",check:"Verifica",checking:"Verifica in corso…",checkPassed:"Nulla contraddice il contratto di UFO@home. Questo non dice nulla sull'esattezza dei suoi dati né sulla sua sicurezza.",checkCrashed:"La verifica non è potuta arrivare in fondo: {error}",checkAbout:"{about}: {text}",checks:{scriptNotRun:"Il suo codice non è stato verificato, perché non è stato eseguito: aggiungilo ai tuoi moduli.",notAList:"«{point}» deve essere un elenco.",unknownPoint:"«{point}» non è un punto a cui un modulo possa aggiungere: nulla lo legge.",entryField:"Il campo «{detail}» della voce manca o non è valido.",duplicateId:"Questo id è dato due volte nello stesso punto.",createMissing:"La voce non ha una funzione create.",createThrew:"create non è riuscita: {detail}",createAsked:"create interroga la rete, mentre una fonte elencata e non usata non dovrebbe costare nulla.",createEmpty:"create non restituisce nulla.",missingMember:"A ciò che create restituisce manca «{detail}».",weatherNotAsked:"Il servizio non è stato interrogato: la registrazione aperta ha bisogno di un luogo e di una data.",weatherNoRecord:"Il servizio non ha dati per questo luogo e questa data: i suoi valori non sono stati verificati.",weatherThrew:"Non è stato possibile interrogare il servizio: {detail}. Un servizio che rifiuta gli altri siti (CORS) dice spesso così.",weatherSamples:"Campioni ricevuti/chiesti: {detail}. Ne serve uno per punto.",weatherOrder:"I campioni non sono nell'ordine dei punti chiesti.",weatherValue:"Un valore manca o esce dai suoi limiti: {detail}.",weatherWindHigh:"Vento molto forte: controlla che sia in metri al secondo.",weatherSource:"«source.{detail}» manca, o il suo id non è quello della voce.",kindKey:"«key» ({detail}) non è l'id della voce.",kindMessages:"Un testo manca o non è stato caricato: {detail}.",simulationFailed:"Non è stato possibile costruire la simulazione: {detail}",secondThree:"«object» non è un oggetto del three.js della pagina: usa il three che lo script riceve.",updateThrew:"update fallisce senza eventi: {detail}",drawnWithoutEvents:"drawnCount vale {detail} senza alcun evento.",disposeThrew:"dispose non è riuscita: {detail}",disposeLeft:"dispose lascia il suo oggetto nella scena.",readingNotTried:"bodiesOf non è stato provato: la registrazione aperta non ne dichiara nessuna.",readingThrew:"bodiesOf non è riuscito: {detail}",readingNotAList:"bodiesOf non restituisce un elenco, benché sia chiamato in modo sincrono."},points:{weather:"meteo",place:"luoghi",timeZone:"fusi orari",narrative:"redazione",assessment:"valutazioni",lightPollution:"inquinamento luminoso",aircraft:"traffico aereo",upperAir:"aria in quota",elevation:"rilievo",imagery:"immagini",surroundings:"dintorni",perception:"percezione",interpretations:"interpretazioni",skyEvents:"eventi del cielo",decorModels:"modelli 3D"}};export{e as modulesPanelMessages_it};
|