1(function(e){function t(t){for(var a,n,r=t[0],l=t[1],c=t[2],u=0,d=[];u<r.length;u++)n=r[u],Object.prototype.hasOwnProperty.call(i,n)&&i[n]&&d.push(i[n][0]),i[n]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a]);f&&f(t);while(d.length)d.shift()();return s.push.apply(s,c||[]),o()}function o(){for(var e,t=0;t<s.length;t++){for(var o=s[t],a=!0,n=1;n<o.length;n++){var r=o[n];0!==i[r]&&(a=!1)}a&&(s.splice(t--,1),e=l(l.s=o[0]))}return e}var a={},n={app:0},i={app:0},s=[];function r(e){return l.p+"js/"+({editor:"editor"}[e]||e)+"."+{"chunk-2d0bd7d2":"3decdf7b",editor:"040a2384"}[e]+".js"}function l(t){if(a[t])return a[t].exports;var o=a[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,l),o.l=!0,o.exports}l.e=function(e){var t=[],o={editor:1};n[e]?t.push(n[e]):0!==n[e]&&o[e]&&t.push(n[e]=new Promise((function(t,o){for(var a="css/"+({editor:"editor"}[e]||e)+"."+{"chunk-2d0bd7d2":"31d6cfe0",editor:"dbbabbd6"}[e]+".css",i=l.p+a,s=document.getElementsByTagName("link"),r=0;r<s.length;r++){var c=s[r],u=c.getAttribute("data-href")||c.getAttribute("href");if("stylesheet"===c.rel&&(u===a||u===i))return t()}var d=document.getElementsByTagName("style");for(r=0;r<d.length;r++){c=d[r],u=c.getAttribute("data-href");if(u===a||u===i)return t()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=t,f.onerror=function(t){var a=t&&t.target&&t.target.src||i,s=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");s.code="CSS_CHUNK_LOAD_FAILED",s.request=a,delete n[e],f.parentNode.removeChild(f),o(s)},f.href=i;var p=document.getElementsByTagName("head")[0];p.appendChild(f)})).then((function(){n[e]=0})));var a=i[e];if(0!==a)if(a)t.push(a[2]);else{var s=new Promise((function(t,o){a=i[e]=[t,o]}));t.push(a[2]=s);var c,u=document.createElement("script");u.charset="utf-8",u.timeout=120,l.nc&&u.setAttribute("nonce",l.nc),u.src=r(e);var d=new Error;c=function(t){u.onerror=u.onload=null,clearTimeout(f);var o=i[e];if(0!==o){if(o){var a=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+a+": "+n+")",d.name="ChunkLoadError",d.type=a,d.request=n,o[1](d)}i[e]=void 0}};var f=setTimeout((function(){c({type:"timeout",target:u})}),12e4);u.onerror=u.onload=c,document.head.appendChild(u)}return Promise.all(t)},l.m=e,l.c=a,l.d=function(e,t,o){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,t){if(1&t&&(e=l(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(l.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)l.d(o,a,function(t){return e[t]}.bind(null,a));return o},l.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="/",l.oe=function(e){throw console.error(e),e};var c=window["webpackJsonp"]=window["webpackJsonp"]||[],u=c.push.bind(c);c.push=t,c=c.slice();for(var d=0;d<c.length;d++)t(c[d]);var f=u;s.push([0,"chunk-vendors"]),o()})({0:function(e,t,o){e.exports=o("cd49")},"0e0d":function(e,t,o){"use strict";(function(e){o.d(t,"a",(function(){return p}));var a=o("d4ec"),n=o("bee2"),i=o("257e"),s=o("262e"),r=o("2caf"),l=o("ade3"),c=(o("ac1f"),o("5319"),o("a15b"),o("e9c4"),o("3e8f"),o("df7c"),o("dd68")),u=o("d485"),d=o("3717"),f=o.n(d);function p(e,t,o,a){m(e,a,t,o)}f.a.mitm="/streamsaver.html";var h=function(e){Object(s["a"])(o,e);var t=Object(r["a"])(o);function o(e){var n;return Object(a["a"])(this,o),n=t.call(this),Object(l["a"])(Object(i["a"])(n),"writer",void 0),n.writer=e,n}return Object(n["a"])(o,[{key:"_write",value:function(e,t,o){this.writer.write(e).then((function(e){o()}))}},{key:"_final",value:function(e){this.writer.close(),e()}}]),o}(u["Writable"]);function m(e,t,o,a){v(o,e,t,a)}function v(t,o,a,n){if(n){var i=f.a.createWriteStream(t),s=i.getWriter();window.onunload=function(){return s.abort()},s.write(e.from(JSON.stringify(o))).then((function(){s.close(),a(void 0,void 0,!0)}))}else{var r=new c["Json2SavTransform"],l=f.a.createWriteStream(t),u=l.getWriter();window.onunload=function(){return u.abort()},r.pipe(new h(u)).on("finish",(function(){a(void 0,void 0,!0)})),r.on("progress",(function(e){a(void 0,e,void 0)})),r.on("error",(function(e){u.abort(),a(e,void 0,void 0)})),r.write(o),r.end()}}}).call(this,o("b639").Buffer)},1:function(e,t){},"10b7":function(e,t,o){"use strict";var a=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"switcher"},e._l(e.languages,(function(t){return o("span",{directives:[{name:"ripple",rawName:"v-ripple"}],key:t,staticClass:"lang",class:{active:t===e.$i18n.locale},on:{click:function(o){return e.changeLang(t)}}},[e._v(e._s(t.toUpperCase()))])})),0)},n=[],i=o("5530"),s=(o("d3b7"),o("3ca3"),o("ddb0"),o("754b")),r=o("2b21"),l=o("2f62"),c={name:"LanguageSwitcher",data:function(){return{languages:["en","de"]}},methods:Object(i["a"])(Object(i["a"])({},Object(l["b"])("settings",["setLocale"])),{},{changeLang:function(e){var t=this;this.$i18n.locale!==e&&o("e5ec")("./".concat(e,".json")).then((function(o){t.$i18n.setLocaleMessage(e,o.default||o),t.$i18n.locale=e,t.setLocale(e),r["a"].$emit(s["b"])}))}})},u=c,d=(o("174e"),o("2877")),f=o("269a"),p=o.n(f),h=o("5607"),m=Object(d["a"])(u,a,n,!1,null,"24f9a610",null);t["a"]=m.exports;p()(m,{Ripple:h["a"]})},"16e9":function(e,t,o){},"174e":function(e,t,o){"use strict";o("ff8e")},1874:function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"app"}},[o("v-app",[o("router-view"),o("Dialogs")],1)],1)},n=[],i=(o("ac1f"),o("5319"),o("b383"),o("d4ec")),s=o("bee2"),r=o("0e0d"),l=function(){function e(){Object(i["a"])(this,e)}return Object(s["a"])(e,[{key:"writeFile",value:function(e,t,o,a,n,i){Object(r["a"])(e,t,o,(function(e,t,o){e?n(e):t?a(t):o&&i()}))}}]),e}(),c=o("754b"),u=o("2b21"),d=o("ade3"),f=o("698e"),p=function(){function e(t,o){Object(i["a"])(this,e),Object(d["a"])(this,"vue",void 0),Object(d["a"])(this,"fileWriter",void 0),this.vue=t,this.fileWriter=o}return Object(s["a"])(e,[{key:"saveSaveGame",value:function(e,t,o){var a=this;this.vue.$store.dispatch("setProgress",0),this.vue.$store.dispatch("setProgressText",{title:this.vue.$t("savePage.savSubtitle"),currentStep:this.vue.$t("savePage.processingFile"),showCloseButton:!1}),u["a"].$emit(c["l"],!0),setTimeout((function(){console.time("saveFile"),a.fileWriter.writeFile(window.data,t,o,(function(e){a.vue.$store.dispatch("setProgress",e)}),(function(e){Object(f["b"])(e),u["a"].$emit(c["l"],!1),alert(e.message)}),(function(){console.timeEnd("saveFile"),a.vue.$store.dispatch("setProgress",100),a.vue.$store.dispatch("setProgressText",{currentStep:a.vue.$t("savePage.saveFinished"),showCloseButton:!0})}))}),c["j"])}}]),e}(),h=o("2f62"),m=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"dialogs"},[o("HelpDialog",{model:{value:e.showHelpDialog,callback:function(t){e.showHelpDialog=t},expression:"showHelpDialog"}}),o("v-dialog",{attrs:{width:"700",scrollable:""},model:{value:e.showSettingsDialog,callback:function(t){e.showSettingsDialog=t},expression:"showSettingsDialog"}},[o("v-card",[o("v-card-title",[e._v(e._s(e.$t("dialog.settings.title")))]),o("v-card-text",[o("Settings")],1),o("v-card-actions",[o("v-spacer"),o("v-btn",{attrs:{color:"primary",text:""},on:{click:function(t){e.showSettingsDialog=!1}}}
1,[e._v(e._s(e.$t("general.close")))])],1)],1)],1),o("v-dialog",{attrs:{width:"700",scrollable:""},model:{value:e.showLicensesDialog,callback:function(t){e.showLicensesDialog=t},expression:"showLicensesDialog"}},[o("v-card",[o("v-card-title",[e._v(e._s(e.$t("dialog.openSource.title")))]),o("v-card-text",[o("LicensesDialog")],1),o("v-card-actions",[o("v-spacer"),o("v-btn",{attrs:{color:"primary",text:""},on:{click:function(t){e.showLicensesDialog=!1}}},[e._v(e._s(e.$t("general.close")))])],1)],1)],1),o("v-dialog",{attrs:{width:"600",scrollable:""},model:{value:e.showAboutDialog,callback:function(t){e.showAboutDialog=t},expression:"showAboutDialog"}},[o("v-card",[o("v-card-title",[e._v(e._s(e.$t("dialog.about.title")))]),o("v-card-text",[o("p",[e._v(e._s(e.$t("dialog.about.row1")))]),o("p",[o("i18n",{attrs:{path:"dialog.about.row2"}},[o("a",{attrs:{slot:"github",href:"https://github.com/ficsit-felix/ficsit-felix"},slot:"github"},[e._v("GitHub")])])],1),o("p",[o("i18n",{attrs:{path:"dialog.about.row3"}},[o("a",{attrs:{slot:"authors",href:"https://github.com/ficsit-felix/ficsit-felix/blob/main/app/public/models/AUTHORS"},slot:"authors"},[e._v(e._s(e.$t("dialog.about.authors")))])])],1)]),o("v-card-actions",[o("v-spacer"),o("v-btn",{attrs:{color:"primary",text:""},on:{click:function(t){e.showAboutDialog=!1}}},[e._v(" "+e._s(e.$t("general.close"))+" ")])],1)],1)],1),o("v-dialog",{attrs:{width:"600",persistent:""},model:{value:e.showProgressDialog,callback:function(t){e.showProgressDialog=t},expression:"showProgressDialog"}},[o("ProgressBarDialog")],1),o("ConfirmDialog",{attrs:{title:e.$t("dialog.save.title"),content:e.$t("dialog.save.content")},on:{confirm:function(t){return e.save()}},model:{value:e.showSaveWebDialog,callback:function(t){e.showSaveWebDialog=t},expression:"showSaveWebDialog"}}),o("ConfirmDialog",{attrs:{title:e.$t("dialog.save.title"),content:e.$t("dialog.saveDesktop.content")},on:{confirm:function(t){return e.save()}},model:{value:e.showSaveDesktopDialog,callback:function(t){e.showSaveDesktopDialog=t},expression:"showSaveDesktopDialog"}}),o("ConfirmDialog",{attrs:{title:e.$t("dialog.exit.title"),content:e.$t("dialog.exit.content")},on:{confirm:function(t){return e.exit()}},model:{value:e.showConfirmExitDesktopDialog,callback:function(t){e.showConfirmExitDesktopDialog=t},expression:"showConfirmExitDesktopDialog"}}),o("ConfirmDialog",{attrs:{title:e.$t("dialog.open.title"),content:e.$t("dialog.open.content")},on:{confirm:function(t){return e.open()}},model:{value:e.showOpenWebDialog,callback:function(t){e.showOpenWebDialog=t},expression:"showOpenWebDialog"}}),o("ConfirmDialog",{attrs:{title:e.$t("dialog.openJson.title"),content:e.$t("dialog.openJson.content")},on:{confirm:function(t){return e.openJson()}},model:{value:e.showOpenJsonWebDialog,callback:function(t){e.showOpenJsonWebDialog=t},expression:"showOpenJsonWebDialog"}}),o("ConfirmDialog",{attrs:{title:e.$t("dialog.saveJson.title"),content:e.$t("dialog.saveJson.content")},on:{confirm:function(t){return e.saveJson()}},model:{value:e.showSaveJsonWebDialog,callback:function(t){e.showSaveJsonWebDialog=t},expression:"showSaveJsonWebDialog"}})],1)},v=[],g=o("5530"),b=o("5118"),S=o("2b0e"),w=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"settings"},[o("div",{staticClass:"languageSelection"},[e._v(" "+e._s(e.$t("landingPage.language"))+" "),o("LanguageSwitcher")],1),o("h3",[e._v(e._s(e.$t("settings.controlsSectionTitle")))]),o("v-radio-group",{attrs:{value:e.cameraType,label:e.$t("settings.cameraType.label"),"hide-details":""},on:{change:e.setCameraType}},[o("v-radio",{attrs:{label:e.$t("settings.cameraType.orbit"),value:e.CameraType.Orbit}}),o("v-radio",{attrs:{label:e.$t("settings.cameraType.fly"),value:e.CameraType.Fly}}),o("v-radio",{attrs:{label:e.$t("settings.cameraType.flat"),value:e.CameraType.Flat}})],1),o("v-checkbox",{staticClass:"mb-4",attrs:{"input-value":e.snapping,label:e.$t("settings.snapping"),"hide-details":""},on:{change:e.setSnapping}}
1),o("v-text-field",{attrs:{label:e.$t("settings.translationSnap"),value:e.translationSnap,type:"number"},on:{change:e.setTranslationSnap}}),o("v-text-field",{attrs:{label:e.$t("settings.rotationSnap"),value:e.rotationSnap,type:"number"},on:{change:e.setRotationSnap}}),o("h3",[e._v(e._s(e.$t("settings.graphicsSectionTitle")))]),o("v-checkbox",{attrs:{"hide-details":"","input-value":e.showModels,label:e.$t("settings.showModels")},on:{change:e.updateShowModels}}),o("v-checkbox",{attrs:{"input-value":e.showCustomPaints,label:e.$t("settings.showCustomPaints")},on:{change:e.updateShowCustomPaints}}),o("h4",[e._v(e._s(e.$t("settings.advancedSectionTitle")))]),o("v-text-field",{attrs:{label:e.$t("settings.farPlane"),value:e.farPlane,hint:e.$t("settings.farPlaneHelp"),type:"number"},on:{input:e.updateFarPlane}}),o("v-text-field",{attrs:{label:e.$t("settings.nearPlane"),value:e.nearPlane,type:"number",hint:e.$t("settings.nearPlaneHelp")},on:{input:e.updateNearPlane}}),o("v-text-field",{attrs:{label:e.$t("settings.conveyorBeltResolution"),value:e.conveyorBeltResolution,type:"number",hint:e.$t("settings.conveyorBeltResolutionHelp")},on:{input:e.updateConveyorBeltResolution}}),o("br"),o("h3",{staticClass:"clickable",on:{click:e.toggleShowDevelopSettings}},[e._v(" "+e._s(e.$t("settings.developSectionTitle"))+" "),e.showDevelopSettings?o("v-icon",[e._v("mdi-chevron-up")]):o("v-icon",[e._v("mdi-chevron-down")])],1),e.showDevelopSettings?o("div",[o("v-checkbox",{attrs:{"input-value":e.editClassColors,label:e.$t("settings.editClassColors")},on:{change:e.updateEditClassColors}}),o("v-btn",{staticClass:"ma-2",on:{click:e.exportClassColors}},[e._v(e._s(e.$t("settings.copyClassColorsButton")))]),o("v-btn",{staticClass:"ma-2",on:{click:e.clearClassColors}},[e._v(e._s(e.$t("settings.clearClassColorsButton")))]),o("v-checkbox",{staticClass:"my-2",attrs:{"input-value":e.experimentalFeatures,label:e.$t("settings.experimentalFeatures"),"hide-details":""},on:{change:e.updateExperimentalFeatures}}),o("v-text-field",{attrs:{label:e.$t("settings.autoLoadSaveFile"),value:e.autoLoadSaveFile,"hide-details":""},on:{input:e.updateAutoLoadSaveFile}}),o("v-checkbox",{attrs:{"input-value":e.showFps,label:e.$t("settings.showFps"),"hide-details":""},on:{change:e.setShowFps}}),o("v-checkbox",{attrs:{"input-value":e.showPropertiesPanel,label:e.$t("settings.showPropertiesPanel"),"hide-details":""},on:{change:e.setShowPropertiesPanel}}),o("v-btn",{staticClass:"ma-2",on:{click:e.resetSettings}},[e._v(e._s(e.$t("settings.resetSettingsButton")))])],1):e._e()],1)},_=[],y=(o("e9c4"),o("cf0c")),E=o("c05a"),O=o("10b7"),C={name:"Settings",components:{LanguageSwitcher:O["a"]},data:function(){return{CameraType:y["a"]}},computed:Object(g["a"])({},Object(h["e"])("settings",["nearPlane","farPlane","showModels","showCustomPaints","conveyorBeltResolution","classColors","editClassColors","experimentalFeatures","autoLoadSaveFile","showFps","showDevelopSettings","snapping","translationSnap","rotationSnap","cameraType","showPropertiesPanel"])),methods:Object(g["a"])(Object(g["a"])({},Object(h["b"])("settings",["setNearPlane","setFarPlane","setShowModels","setShowCustomPaints","setConveyorBeltResolution","setEditClassColors","clearClassColors","setExperimentalFeatures","setAutoLoadSaveFile","setShowFps","setShowDevelopSettings","setSnapping","setTranslationSnap","setRotationSnap","setCameraType","setShowPropertiesPanel","resetSettings"])),{},{updateNearPlane:function(e){this.setNearPlane(e)},updateFarPlane:function(e){this.setFarPlane(e)},updateShowModels:function(e){this.setShowModels(e)},updateShowCustomPaints:function(e){this.setShowCustomPaints(e)},updateConveyorBeltResolution:function(e){e>10&&(e=10),e<1&&(e=1),this.setConveyorBeltResolution(e)},updateEditClassColors:function(e){this.setEditClassColors(e)},exportClassColors:function(){Object(E["a"])(JSON.stringify(this.classColors))},updateExperimentalFeatures:function(e){this.setExperimentalFeatures(e)},updateAutoLoadSaveFile:function(e){this.setAutoLoadSaveFile(e)},toggleShowDevelopSettings:function(){this.setShowDevelopSettings(!this.showDevelopSettings)}})},T=C,D=(o("d7b6"),o("2877")),P=o("6544"),k=o.n(P),L=o("8336"),A=o("ac7c"),N=o("132d"),j=o("67b6"),x=o("43a6"),B=o("8654"),$=Object(D["a"])(T,w,_,!1,null,"15349f98",null),F=$.exports;k()($,{VBtn:L["a"],VCheckbox:A["a"],VIcon:N["a"],VRadio:j["a"],VRadioGroup:x["a"],VTextField:B["a"]});var I=o("612b"),R=function(){var e=this,t=this,o=t.$createElement,a=t._self._c||o;return a("v-dialog",{attrs:{width:"700",value:t.value,scrollable:""},on:{input:function(t){e.$emit("input",t)}}},[a("v-card",[a("v-card-title",[t._v(t._s(t.$t("dialog.help.title")))]),a("v-card-text",[a("b",[t._v(t._s(t.$t("dialog.help.controlsTitle")))]),a("table",{staticClass:"mb-4"},[a("tr",[a("th",[t._v(t._s(t.$t("dialog.help.headerKey")))]),a("th",[t._v(t._s(t.$t("dialog.help.headerAction")))])]),t._l(t.keymap,(function(e,o){var n=e.key,i=e.action;return a("tr",{key:o},[a("td",[t._v(t._s(n))]),a("td",[t._v(t._s(i))])])}))],2),a("b",[t._v(t._s(t.$t("dialog.help.warningTitle")))]),a("p",[t._v(t._s(t.$t("dialog.help.changeJsonWarning")))])]),a("v-card-actions",[a("v-spacer"),a("v-btn",{attrs:{color:"primary",text:""},on:{click:t.close}}
1,[t._v(t._s(t.$t("general.close")))])],1)],1)],1)},J=[],M=o("257e"),V=o("262e"),G=o("2caf"),W=(o("99af"),o("9ab4")),H=o("1b40");function U(e,t){return{key:e,action:t}}var z=function(e){Object(V["a"])(o,e);var t=Object(G["a"])(o);function o(){var e;Object(i["a"])(this,o);for(var a=arguments.length,n=new Array(a),s=0;s<a;s++)n[s]=arguments[s];return e=t.call.apply(t,[this].concat(n)),Object(d["a"])(Object(M["a"])(e),"value",void 0),e}return Object(s["a"])(o,[{key:"keymap",get:function(){return[U(this.$t("keyboard.leftMouseButton"),this.$t("dialog.help.actions.select")),U(this.$t("keyboard.middleMouseButton"),this.$t("dialog.help.actions.cameraPan")),U(this.$t("keyboard.rightMouseButton"),this.$t("dialog.help.actions.cameraRotate")),U(this.$t("keyboard.scrollWheel"),this.$t("dialog.help.actions.cameraZoom")),U(this.$t("keyboard.arrowUp"),this.$t("dialog.help.actions.cameraPan")),U(this.$t("keyboard.arrowDown"),this.$t("dialog.help.actions.cameraPan")),U(this.$t("keyboard.arrowLeft"),this.$t("dialog.help.actions.cameraPan")),U(this.$t("keyboard.arrowRight"),this.$t("dialog.help.actions.cameraPan")),U("G",this.$t("toolbar.translate")),U("R",this.$t("toolbar.rotate")),U("S",this.$t("toolbar.scale")),U("W",this.$t("toolbar.world")),U("L",this.$t("toolbar.local")),U("F",this.$t("propertyEditor.focusButton")),U(this.$t("keyboard.del"),this.$t("propertyEditor.deleteButton")),U(this.$t("keyboard.ctrl")+"+O",this.$t("menubar.open")),U(this.$t("keyboard.ctrl")+"+O",this.$t("menubar.save")),U(this.$t("keyboard.ctrl")+"+Z",this.$t("menubar.undo")),U(this.$t("keyboard.ctrl")+"+"+this.$t("keyboard.shift")+"+Z",this.$t("menubar.redo"))]}},{key:"mounted",value:function(){this.keymap.push(U(this.$t("keyboard.shift"),this.$t("dialog.help.actions.shiftSelect"))),this.keymap.push(U(this.$t("keyboard.ctrl"),this.$t("dialog.help.actions.boxSelect")))}},{key:"close",value:function(){this.$emit("input",!1)}}]),o}(H["Vue"]);Object(W["a"])([Object(H["Prop"])()],z.prototype,"value",void 0),z=Object(W["a"])([Object(H["Component"])({})],z);var X=z,Y=X,Z=o("b0af"),K=o("99d9"),q=o("169a"),Q=o("2fa4"),ee=Object(D["a"])(Y,R,J,!1,null,null,null),te=ee.exports;k()(ee,{VBtn:L["a"],VCard:Z["a"],VCardActions:K["a"],VCardText:K["b"],VCardTitle:K["c"],VDialog:q["a"],VSpacer:Q["a"]});var oe=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"licenses"},[e._v(" "+e._s(e.licenses)+" ")])},ae=[],ne=(o("d3b7"),{name:"LicensesDialog",data:function(){return{licenses:"loading..."}},mounted:function(){var e=this;setTimeout((function(){return window.fetch("/licenses.txt").then((function(e){return e.text()})).then((function(t){return e.licenses=t}))}),200)}}),ie=ne,se=(o("c522"),Object(D["a"])(ie,oe,ae,!1,null,null,null)),re=se.exports,le=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("v-card",{staticClass:"progress-bar-view"}
1,[o("v-card-title",[e._v(" "+e._s(e.progressText.title)+" "),o("v-spacer"),e.progressText.showCloseButton?e._e():o("div",{staticClass:"spinner"})],1),o("v-card-text",[o("v-progress-linear",{attrs:{value:e.progress,height:"50",rounded:""}},[o("strong",{staticStyle:{"text-shadow":"1px 1px 2px #000000ff"}},[e._v(e._s(Math.round(e.progress))+" %")])]),o("div",{staticClass:"mt-2"},[e._v(e._s(e.progressText.currentStep))])],1),e.progressText.showCloseButton?o("v-card-actions",[o("v-spacer"),o("v-btn",{attrs:{color:"primary",text:""},on:{click:function(t){return e.hideProgressDialog()}}},[e._v(e._s(e.$t("general.close")))])],1):e._e()],1)},ce=[],ue=function(e){Object(V["a"])(o,e);var t=Object(G["a"])(o);function o(){return Object(i["a"])(this,o),t.apply(this,arguments)}return Object(s["a"])(o,[{key:"hideProgressDialog",value:function(){u["a"].$emit(c["l"],!1)}}]),o}(H["Vue"]);ue=Object(W["a"])([Object(H["Component"])({components:{},computed:Object(g["a"])({},Object(h["e"])(["progress","progressText"]))})],ue);var de=ue,fe=de,pe=(o("e2b5"),o("8e36")),he=Object(D["a"])(fe,le,ce,!1,null,"672d74c0",null),me=he.exports;k()(he,{VBtn:L["a"],VCard:Z["a"],VCardActions:K["a"],VCardText:K["b"],VCardTitle:K["c"],VProgressLinear:pe["a"],VSpacer:Q["a"]});var ve=S["default"].extend({name:"Dialogs",components:{LicensesDialog:re,Settings:F,ProgressBarDialog:me,ConfirmDialog:I["a"],HelpDialog:te},data:function(){return{showHelpDialog:!1,showSettingsDialog:!1,showLicensesDialog:!1,showAboutDialog:!1,showProgressDialog:!1,showSaveWebDialog:!1,showSaveDesktopDialog:!1,showConfirmExitDesktopDialog:!1,showOpenWebDialog:!1,showOpenJsonWebDialog:!1,showSaveJsonWebDialog:!1}},computed:Object(g["a"])({},Object(h["e"])(["filename","uuid"])),mounted:function(){var e=this;u["a"].$on(c["g"],(function(){e.closeDialogs(e.showHelpDialog,(function(){return e.showHelpDialog=!0}))})),u["a"].$on(c["i"],(function(){e.closeDialogs(e.showLicensesDialog,(function(){return e.showLicensesDialog=!0}))})),u["a"].$on(c["e"],(function(){e.closeDialogs(e.showAboutDialog,(function(){return e.showAboutDialog=!0}))})),u["a"].$on(c["p"],(function(){e.closeDialogs(e.showSettingsDialog,(function(){return e.showSettingsDialog=!0}))})),u["a"].$on(c["l"],(function(t){t?e.closeDialogs(e.showProgressDialog,(function(){return e.showProgressDialog=t})):e.showProgressDialog=!1})),u["a"].$on(c["o"],(function(){e.closeDialogs(e.showSaveWebDialog,(function(){return e.showSaveWebDialog=!0}))})),u["a"].$on(c["m"],(function(){e.closeDialogs(e.showSaveDesktopDialog,(function(){return e.showSaveDesktopDialog=!0}))})),u["a"].$on(c["f"],(function(){e.closeDialogs(e.showConfirmExitDesktopDialog,(function(){return e.showConfirmExitDesktopDialog=!0}))})),u["a"].$on(c["k"],(function(){e.closeDialogs(e.showOpenWebDialog,(function(){return e.showOpenWebDialog=!0}))})),u["a"].$on(c["h"],(function(){e.closeDialogs(e.showOpenJsonWebDialog,(function(){return e.showOpenJsonWebDialog=!0}))})),u["a"].$on(c["n"],(function(){e.closeDialogs(e.showSaveJsonWebDialog,(function(){return e.showSaveJsonWebDialog=!0}))}))},beforeDestroy:function(){u["a"].$off(c["g"]),u["a"].$off(c["i"]),u["a"].$off(c["e"]),u["a"].$off(c["p"]),u["a"].$off(c["l"]),u["a"].$off(c["o"]),u["a"].$off(c["m"]),u["a"].$off(c["f"]),u["a"].$off(c["k"]),u["a"].$off(c["h"]),u["a"].$off(c["n"])},methods:{closeDialogs:function(e,t){if(!0!==e){var o=this.showHelpDialog||this.showSettingsDialog||this.showLicensesDialog||this.showAboutDialog||this.showProgressDialog||this.showSaveWebDialog||this.showSaveDesktopDialog||this.showConfirmExitDesktopDialog||this.showOpenWebDialog||this.showOpenJsonWebDialog||this.showSaveJsonWebDialog;this.closeAllDialogs(),o?Object(b["setTimeout"])(t,100):t()}else t()},closeAllDialogs:function(){this.showHelpDialog=!1,this.showSettingsDialog=!1,this.showLicensesDialog=!1,this.showAboutDialog=!1,this.showProgressDialog=!1,this.showSaveWebDialog=!1,this.showSaveDesktopDialog=!1,this.showConfirmExitDesktopDialog=!1,this.showOpenWebDialog=!1,this.showOpenJsonWebDialog=!1,this.showSaveJsonWebDialog=!1},open:function(){this.$router.push("open/sav")},openJson:function(){this.$router.push("open/json")},save:function(){u["a"].$emit(c["u"])},saveJson:function(){u["a"].$emit(c["t"])},exit:function(){u["a"].$emit(c["s"])}}}),ge=ve,be=Object(D["a"])(ge,m,v,!1,null,null,null),Se=be.exports;k()(be,{VBtn:L["a"],VCard:Z["a"],VCardActions:K["a"],VCardText:K["b"],VCardTitle:K["c"],VDialog:q["a"],VSpacer:Q["a"]});var we={name:"App",components:{Dialogs:Se},computed:Object(h["e"])(["title"]),mounted:function(){u["a"].$on(c["u"],this.onSavePressed),u["a"].$on(c["t"],this.onSaveJsonPressed)},beforeDestroy:function(){u["a"].$off(c["u"],this.onSavePressed),u["a"].$off(c["t"],this.onSaveJsonPressed)},methods:{onSavePressed:function(){new p(this,new l).saveSaveGame(window.data,this.$store.state.filename.replace(".json",".sav"),!1)},onSaveJsonPressed:function(){new p(this,new l).saveSaveGame(window.data,this.$store.state.filename.replace(".sav",".json"),!0)}}},_e=we,ye=(o("52a5"),o("7496")),Ee=Object(D["a"])(_e,a,n,!1,null,"0debb7f9",null);t["default"]=Ee.exports;k()(Ee,{VApp:ye["a"]})},"1e22":function(e,t,o){"use strict";o.d(t,"t",(function(){return i})),o.d(t,"c",(function(){return s})),o.d(t,"a",(function(){return r})),o.d(t,"d",(function(){return l})),o.d(t,"b",(function(){return c})),o.d(t,"e",(function(){return u})),o.d(t,"g",(function(){return d})),o.d(t,"h",(function(){return f})),o.d(t,"r",(function(){return p})),o.d(t,"o",(function(){return h})),o.d(t,"m",(function(){return m})),o.d(t,"s",(function(){return v})),o.d(t,"p",(function(){return g})),o.d(t,"n",(function(){return b})),o.d(t,"k",(function(){return S})),o.d(t,"f",(function(){return w})),o.d(t,"q",(function(){return _})),o.d(t,"l",(function(){return y}
1)),o.d(t,"i",(function(){return E})),o.d(t,"j",(function(){return O}));o("b0c0");var a={},n={};function i(){if(a={},n={},void 0!==window.data){for(var e=0;e<window.data.actors.length;e++){var t=window.data.actors[e];a[t.pathName]=e}for(var o=0;o<window.data.components.length;o++){var i=window.data.components[o];n[i.pathName]=o}}}function s(e,t){if(void 0!==e.entity&&void 0!==e.entity.properties)for(var o=0;o<e.entity.properties.length;o++){var a=e.entity.properties[o];if(a.name===t)return a}}function r(e){if(void 0!==window.data){var t=a[e];if(void 0!==t)return window.data.actors[t]}}function l(e){if(void 0!==window.data){var t=a[e];return t}return-1}function c(e){if(void 0!==window.data){var t=n[e];if(void 0!==t)return window.data.components[t]}}function u(e){if(void 0!==window.data){var t=n[e];return t}return-1}function d(e){return"/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk1/Build_ConveyorBeltMk1.Build_ConveyorBeltMk1_C"===e.className||"/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk2/Build_ConveyorBeltMk2.Build_ConveyorBeltMk2_C"===e.className||"/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk3/Build_ConveyorBeltMk3.Build_ConveyorBeltMk3_C"===e.className||"/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk4/Build_ConveyorBeltMk4.Build_ConveyorBeltMk4_C"===e.className||"/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk5/Build_ConveyorBeltMk5.Build_ConveyorBeltMk5_C"===e.className||"/Game/FactoryGame/Buildable/Factory/ConveyorBeltMk6/Build_ConveyorBeltMk6.Build_ConveyorBeltMk6_C"===e.className}function f(e){return"/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk1/Build_ConveyorLiftMk1.Build_ConveyorLiftMk1_C"===e.className||"/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk2/Build_ConveyorLiftMk2.Build_ConveyorLiftMk2_C"===e.className||"/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk3/Build_ConveyorLiftMk3.Build_ConveyorLiftMk3_C"===e.className||"/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk4/Build_ConveyorLiftMk4.Build_ConveyorLiftMk4_C"===e.className||"/Game/FactoryGame/Buildable/Factory/ConveyorLiftMk5/Build_ConveyorLiftMk5.Build_ConveyorLiftMk5_C"===e.className}function p(e){return"/Game/FactoryGame/Buildable/Factory/Train/Track/Build_RailroadTrack.Build_RailroadTrack_C"===e.className||"/Game/FactoryGame/Buildable/Factory/Train/Track/Build_RailroadTrackIntegrated.Build_RailroadTrackIntegrated_C"===e.className}function h(e){return"/Game/FactoryGame/Buildable/Factory/PowerLine/Build_PowerLine.Build_PowerLine_C"===e.className||"/Game/FactoryGame/Events/Christmas/Buildings/PowerLineLights/Build_XmassLightsLine.Build_XmassLightsLine_C"===e.className}function m(e){return"/Game/FactoryGame/Buildable/Factory/Pipeline/Build_Pipeline.Build_Pipeline_C"===e.className||"/Game/FactoryGame/Buildable/Factory/PipeHyper/Build_PipeHyper.Build_PipeHyper_C"===e.className||"/Game/FactoryGame/Buildable/Factory/PipelineMk2/Build_P
1ipelineMK2.Build_PipelineMK2_C"===e.className}function v(e){return d(e)||p(e)||m(e)}function g(e){return"/Game/FactoryGame/Buildable/Factory/PowerPoleWallDouble/Build_PowerPoleWallDouble_Mk2.Build_PowerPoleWallDouble_Mk2_C"===e.className||"/Game/FactoryGame/Buildable/Factory/PowerPoleWallDouble/Build_PowerPoleWallDouble_Mk3.Build_PowerPoleWallDouble_Mk3_C"===e.className||"/Game/FactoryGame/Buildable/Factory/PowerPoleWallDouble/Build_PowerPoleWallDouble.Build_PowerPoleWallDouble_C"===e.className}function b(e){return"/Game/FactoryGame/Buildable/Factory/PipeHyperSupport/Build_PipeHyperSupport.Build_PipeHyperSupport_C"===e.className||"/Game/FactoryGame/Buildable/Factory/PipelineSupport/Build_PipelineSupport.Build_PipelineSupport_C"===e.className}function S(e){return"/Game/FactoryGame/Buildable/Building/Ladder/Build_Ladder.Build_Ladder_C"===e.className}function w(e){return"/Game/FactoryGame/Buildable/Factory/JumpPad/Build_JumpPadAdjustable.Build_JumpPadAdjustable_C"===e.className}function _(e){return"/Game/FactoryGame/Buildable/Factory/PowerSwitch/Build_PowerSwitch.Build_PowerSwitch_C"===e.className}function y(e){return"/Game/FactoryGame/Buildable/Factory/LightsControlPanel/Build_LightsControlPanel.Build_LightsControlPanel_C"===e.className}function E(e){return"/Game/FactoryGame/Buildable/Factory/Floodlight/Build_FloodlightPole.Build_FloodlightPole_C"===e.className}function O(e){return"/Game/FactoryGame/Buildable/Factory/Floodlight/Build_FloodlightWall.Build_FloodlightWall_C"===e.className}},2:function(e,t){},"248f":function(e,t,o){},"2b21":function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));var a=o("2b0e"),n=new a["default"]},"2ee2":function(e,t,o){},"4a50":function(e,t,o){"use strict";var a=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"logo"},[o("svg",{staticStyle:{"max-width":"100%"},attrs:{"xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:cc":"http://creativecommons.org/ns#","xmlns:rdf":"http://www.w3.org/1999/02/22-rdf-syntax-ns#","xmlns:svg":"http://www.w3.org/2000/svg",xmlns:"http://www.w3.org/2000/svg","xmlns:sodipodi":"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd","xmlns:inkscape":"http://www.inkscape.org/namespaces/inkscape",height:e.height,viewBox:"0 0 153.4573 60.259887",version:"1.1",id:"svg4831","inkscape:version":"0.92.4 5da689c313, 2019-01-14","sodipodi:docname":"logo.svg"}},[o("defs",{attrs:{id:"defs4825"}}),o("sodipodi:namedview",{attrs:{id:"base",pagecolor:"#ffffff",borderColor:"#666666",borderopacity:"1.0","inkscape:pageopacity":"0.0","inkscape:pageshadow":"2","inkscape:zoom":"0.24748737","inkscape:cx":"247.34931","inkscape:cy":"622.8918","inkscape:document-units":"mm","inkscape:current-layer":"layer1",showgrid:"false","fit-margin-top":"30","fit-margin-left":"20","fit-margin-right":"20","fit-margin-bottom":"20",units:"px","inkscape:window-width":"958","inkscape:window-height":"1062","inkscape:window-x":"2880","inkscape:window-y":"18","inkscape:window-maximized":"0"}}),o("metadata",{attrs:{id:"metadata4828"}},[o("rdf:RDF",[o("cc:Work",{attrs:{"rdf:about":""}},[o("dc:format",[e._v("image/svg+xml")]),o("dc:type",{attrs:{"rdf:resource":"http://purl.org/dc/dcmitype/StillImage"}}),o("dc:title")],1)],1)],1),o("g",{attrs:{"inkscape:label":"Layer 1","inkscape:groupmode":"layer",id:"layer1",transform:"translate(2.6452067,4.7274828)"}},[o("path",{staticStyle:{"font-style":"normal","font-weight":"normal","font-size":"26.67330933px","line-height":"1.25","font-family":"sans-serif","letter-spacing":"0px","word-spacing":"0px",opacity:"1","fill-opacity":"1",stroke:"none","stroke-width":"1.32665777"},style:{fill:e.black},attrs:{id:"path4787",d:"M 76.019762,9.3264115 V 42.546312 c 0,2.087274 0.760107,3.890674 2.281353,5.411909 1.521225,1.521234 3.325649,2.282379 5.412924,2.282379 H 90.4008 V 42.121709 H 84.192114 V 9.3264115 Z","inkscape:connector-curvature":"0"}}),o("path",{staticStyle:{"font-style":"normal","font-weight":"normal","font-size":"26.67330933px","line-height":"1.25","font-family":"sans-serif","letter-spacing":"0px","word-spacing":"0px",opacity:"1","fill-opacity":"1",stroke:"none","stroke-width":"1.32665777"},style:{fill:e.black},attrs:{id:"path4789",d:"M 2.64646,12.032366 V 41.05557 l 8.330675,8.330679 V 35.275604 H 32.681308 V 26.99736 H 10.977135 v -6.686749 h 26.957762 v -8.278245 z","inkscape:connector-curvature":"0"}}),o("path",{staticStyle:{"font-style":"normal","font-weight":"normal","font-size":"26.67330933px","line-height":"1.25","font-family":"sans-serif","letter-spacing":"0px","word-spacing":"0px",opacity:"1",fill:"#f57c00","fill-opacity":"1",stroke:"none","stroke-width":"5.01413965"},attrs:{d:"m 507.70508,33.34375 c -3.61017,4.412436 -10.16092,12.235122 -19.6543,23.466797 -9.49345,11.097959 -16.18099,19.121079 -20.05859,24.068359 l -31.25196,-37.035156 -22.82421,22.025391 33.21875,39.679689 -51.54493,61.57226 v 10.63282 h 32.29102 l 39.71094,-47.33203 38.92773,45.93554 22.47852,-22.47851 L 488.25,105.54883 539.99609,43.976
1562 V 33.34375 Z",transform:"matrix(0.26458333,0,0,0.26458333,2.64646,3.2100172)",id:"path4791","inkscape:connector-curvature":"0"}}),o("path",{staticStyle:{"font-style":"normal","font-weight":"normal","font-size":"26.67330933px","line-height":"1.25","font-family":"sans-serif","letter-spacing":"0px","word-spacing":"0px",opacity:"1","fill-opacity":"1",stroke:"none","stroke-width":"1.32665777"},style:{fill:e.black},attrs:{id:"path4793",d:"m 48.317652,19.462429 c -2.087274,0 -3.890668,0.760115 -5.411893,2.281349 -1.521244,1.521231 -2.282383,3.325661 -2.282383,5.412936 v 15.389598 c 0,2.087274 0.761139,3.890674 2.282383,5.411909 1.521225,1.521234 3.324619,2.282379 5.411893,2.282379 H 71.826154 V 42.121709 H 48.742269 v -3.18402 H 71.826154 V 27.156714 c 0,-2.087275 -0.760123,-3.891705 -2.281347,-5.412936 -1.485872,-1.521234 -3.290302,-2.281349 -5.41295,-2.281349 z m 0.424617,8.11889 h 14.964989 v 4.245017 H 48.742269 Z","inkscape:connector-curvature":"0"}}),o("path",{staticStyle:{"font-style":"normal","font-weight":"normal","font-size":"26.67330933px","line-height":"1.25","font-family":"sans-serif","letter-spacing":"0px","word-spacing":"0px",opacity:"1",fill:"#f57c00","fill-opacity":"1",stroke:"none","stroke-width":"1.32665777"},attrs:{id:"path4795",d:"m 95.505294,19.462429 v 30.58386 l 8.118896,-8.118892 V 19.462429 Z","inkscape:connector-curvature":"0"}}),o("g",{ref:"hammer",attrs:{id:"logo-hammer","transform-origin":"74% 25%","inkscape:transform-center-x":"8.1517208","inkscape:transform-center-y":"-3.8754082"}},[o("g",{staticStyle:{opacity:"1"},attrs:{id:"g4805",transform:"matrix(-0.11713606,-2.406499,2.406499,-0.11713606,117.50264,429.70296)","inkscape:transform-center-y":"-4.3164187","inkscape:transform-center-x":"8.5655343"}},[o("g",{attrs:{id:"g4803","inkscape:transform-center-x":"8.5095306","inkscape:transform-center-y":"-4.1577242",transform:"rotate(21.463115,173.177,8.5297519)"}},[o("path",{staticStyle:{"font-style":"normal","font-weight":"normal","font-size":"26.67330933px","line-height":"1.25","font-family":"sans-serif","letter-spacing":"0px","word-spacing":"0px",opacity:"1",fill:"#0097a7","fill-opacity":"1",stroke:"none","stroke-width":"0.4795081"},attrs:{id:"path4797",d:"m 170.43834,3.5234234 v 4.1740602 h 2.07637 V 3.5234234 Z","inkscape:connector-curvature":"0"}}),o("path",{staticStyle:{"font-style":"normal","font-weight":"normal","font-size":"26.67330933px","line-height":"1.25","font-family":"sans-serif","letter-spacing":"0px","word-spacing":"0px",opacity:"1",fill:"#0097a7","fill-opacity":"1",stroke:"none","stroke-width":"0.72648424"},attrs:{"sodipodi:nodetypes":"cccccc","inkscape:connector-curvature":"0",d:"M 168.46722,-0.28516737 V 2.7529975 h 6.01861 v -1.683939 l -1.5247,-1.35422587 z",id:"path4799"}}),o("path",{staticStyle:{"font-style":"normal","font-weight":"normal","font-size":"26.67330933px","line-height":"1.25","font-family":"sans-serif","letter-spacing":"0px","word-spacing":"0px",opacity:"1",fill:"#0097a7","fill-opacity":"1",stroke:"none","stroke-width":"0.38286513"},attrs:{"inkscape:connector-curvature":"0",d:"M 170.87265,-0.85108895 V 3.7238755 h 1.20775 v -4.57496445 z",id:"path4801"}})])])])])],1)])},n=[],i=o("d4ec"),s=o("bee2"),r=o("257e"),l=o("262e"),c=o("2caf"),u=o("ade3"),d=(o("99af"),o("a9e3"),o("9ab4")),f=o("cffa"),p=o("a5cf"),h=o("1b40"),m=function(e){Object(l["a"])(o,e);var t=Object(c["a"])(o);function o(){var e;Object(i["a"])(this,o);for(var a=arguments.length,n=new Array(a),s=0;s<a;s++)n[s]=arguments[s];return e=t.call.apply(t,[this].concat(n)),Object(u["a"])(Object(r["a"])(e),"height",void 0),Object(u["a"])(Object(r["a"])(e),"black",void 0),Object(u["a"])(Object(r["a"])(e),"animating",void 0),Object(u["a"])(Object(r["a"])(e),"tl",void 0),e}return Object(s["a"])(o,[{key:"onAnimatingChanged",value:function(e){e&&null!==this.tl&&(this.tl.isActive()?this.tl.play():this.tl.restart())}},{key:"mounted",value:function(){var e=this;if(this.tl=f["a"].timeline({onComplete:function(){e.animating&&null!==e.tl&&e.tl.restart()},paused:!this.animating}),null!==this.tl){var t=this.$refs.hammer;this.tl.set(t,{transformOrigin:"80% 64%"}),this.tl.to(t,.5,{rotation:50,ease:p["b"].easeIn}),this.tl.to(t,.2,{rotation:-10,ease:p["c"].easeIn}),this.tl.to(t,.3,{rotation:0,ease:p["b"].easeOut})}}},{key:"beforeDestroy",value:function(){null!==this.tl&&(this.tl.kill(),this.tl=null)}}]),o}(h["Vue"]);Object(d["a"])([Object(h["Prop"])(Number)],m.prototype,"height",void 0),Object(d["a"])([Object(h["Prop"])(String)],m.prototype,"black",void 0),Object(d["a"])([Object(h["Prop"])(Boolean)],m.prototype,"animating",void 0),Object(d["a"])([Object(h["Watch"])("animating",{immediate:!0})],m.prototype,"onAnimatingChanged",null),m=Object(d["a"])([Object(h["Component"])({})],m);var v=m,g=v,b=o("2877"),S=Object(b["a"])(g,a,n,!1,null,null,null);t["a"]=S.exports},"4e1b":function(e,t,o){},"52a5":function(e,t,o){"use strict";o("2ee2")},"612b":function(e,t,o){"use strict";var a=function(){var e=this,t=this,o=t.$createElement,a=t._self._c||o;return a("v-dialog",{attrs:{width:"600",value:t.value},on:{input:function(t){e.$emit("input",t)}}},[a("v-card",{attrs:{tile:""}},[a("v-card-title",{domProps:{textContent:t._s(t.title)}}),a("v-card-text",{domProps:{innerHTML:t._s(t.content)}}),a("v-card-actions",[a("v-spacer"),a("v-btn",{attrs:{text:""},on:{click:function(e){return t.choose(!1)}}},[t._v(t._s(t.$t("general.no")))]),a("v-btn",{attrs:{text:"",color:"primary"},on:{click:function(e){return t.choose(!0)}}},[t._v(" "+t._s(t.$t("general.yes"))+" ")])],1)],1)],1)},n=[],i=o("d4ec"),s=o("bee2"),r=o("257e"),l=o("262e"),c=o("2caf"),u=o("ade3"),d=(o("99af"),o("9ab4")),f=o("1b40"),p=function(e){Object(l["a"])(o,e);var t=Object(c["a"])(o);function o(){var e;Object(i["a"])(this,o);for(var a=arguments.length,n=new Array(a),s=0;s<a;s++)n[s]=arguments[s];return e=t.call.apply(t,[this].concat(n)),Object(u["a"])(Object(r["a"])(e),"value",void 0),Object(u["a"])(Object(r["a"])(e),"title",void 0),Object(u["a"])(Object(r["a"])(e),"content",void 0),e}return Object(s["a"])(o,[{key:"valueChange",value:function(e){e?document.addEventListener("keyup",this.onEnterPressed):document.removeEventListener("keyup",this.onEnterPressed)}},{key:"onEnterPressed",value:function(e){13===e.keyCode&&(e.stopPropagation(),this.choose(!0))}},{key:"choose",value:function(e){this.$emit("input",!1),e&&this.$emit("confirm")}}]),o}(f["Vue"]);Object(d["a"])([Object(f["Prop"])()],p.prototype,"value",void 0),Object(d["a"])([Object(f["Prop"])()],p.prototype,"title",void 0),Object(d["a"])([Object(f["Prop"])()],p.prototype,"content",void 0),Object(d["a"])([Object(f["Watch"])("value")],p.prototype,"valueChange",null),p=Object(d["a"])([Object(f["Component"])({})],p);var h=p,m=h,v=o("2877"),g=o("6544"),b=o.n(g),S=o("8336"),w=o("b0af"),_=o("99d9"),y=o("169a"),E=o("2fa4"),O=Object(v["a"])(m,a,n,!1,null,null,null);t["a"]=O.exports;b()(O,{VBtn:S["a"],VCard:w["a"],VCardActions:_["a"],VCardText:_["b"],VCardTitle:_["c"],VDialog:y["a"],VSpacer:E["a"]})},"698e":function(e,t,o){"use strict";function a(e){}function n(e){}function i(e){}function s(e,t){}o.d(t,"b",(function(){return a})),o.d(t,"c",(function(){return n})),o.d(t,"d",(function(){return i})),o.d(t,"a",(function(){return s}))},"6a6a":function(e){e.exports=JSON.parse('{"classList":{"allClasses":"all classes"},"desktop":{"brokenSaveFile":"Save file cannot be read!","jsonExtension":"JSON files","openJsonTitle":"Open json file","openSavTitle":"Open save game","playDuration":"Play duration:","saveExtension":"Satisfactory save files","saveJsonTitle":"Save JSON file","saveSaveTitle":"Save save game"},"dialog":{"about":{"authors":"authors","row1":"FeliX is a save file visualizer for the game Satisfactory.","row2":"You can view the source code and contribute to the development on {github}.","row3":"The low-poly models used by FeliX were created by the respective {authors}.","title":"About"},"color":{"title":"Select color"},"delete":{"content":"Do you really want to delete this object?","title":"Delete object"},"exit":{"content":"Do you really want to exit FeliX?","title":"Exit program"},"help":{"actions":{"boxSelect":"[experimental] Box Select","cameraPan":"Pan Camera","cameraRotate":"Rotate Camera","cameraZoom":"Zoom Camera","select":"Select","shiftSelect":"[experimental] Multi Select"},"changeJsonWarning":"If you change the JSON you need to save it before clicking anywhere in the scene, else it will be overwritten!","controlsTitle":"Controls","headerAction":"Action","headerKey":"Key","title":"Help","warningTitle":"Warning"},"open":{"content":"Do you really want to open a new save file and lose any changes in the current one?","title":"Open save file"},"openJson":{"content":"Do you really want to import a JSON file and lose any changes in the current one?","title":"Import JSON file"},"openSource":{"title":"Open Source Licenses"}
1,"save":{"content":"Do you want to download this save as a .sav file? Please backup your old save file before you overwrite it!","title":"Save save file"},"saveDesktop":{"content":"Do you want to save the file? A backup of the previous one will be made."},"saveJson":{"content":"Do you want to export this save as a JSON file?","title":"Export JSON file"},"settings":{"title":"Settings"}},"general":{"cancel":"Cancel","close":"Close","no":"No","ok":"Ok","yes":"Yes"},"keyboard":{"arrowDown":"Down Arrow","arrowLeft":"Left Arrow","arrowRight":"Right Arrow","arrowUp":"Up Arrow","ctrl":"Ctrl","del":"Del","leftMouseButton":"Left Mouse Button","middleMouseButton":"Middle Mouse Button","rightMouseButton":"Right Mouse Button","scrollWheel":"Scroll Wheel","shift":"Shift"},"landingPage":{"authors":"authors","downloadDesktop":"Download Desktop application","firstParagraph":"FeliX is a save file visualizer for the game Satisfactory. Open the .sav file and you can view a low poly 3D representation of your factory and the surrounding area. The save file is processed in your browser and not uploaded to a server.","language":"Language","openJsonButton":"Open .json file","openSavButton":"Open .sav file","secondParagraph":"FeliX also has some basic editing capabilities. It can convert the .sav format to a human-readable .json format. You can edit the .json file externally and then open it in FeliX to convert it back to a .sav file:","thirdParagraph":"The source code for this application is available on {github}. We are happy about any contributions. The low poly models were created by the respective {authors}."},"menubar":{"about":"About","edit":"Edit","exit":"Exit","exportJson":"Export JSON","file":"File","github":"GitHub","help":"Help","importJson":"Import JSON","mainScreen":"Back to main menu","more":"More","open":"Open","openSource":"Open Source Licenses","redo":"Redo","save":"Save","saveAs":"Save as...","settings":"Settings","toggleMenu":"Toggle menu","undo":"Undo"},"objectList":{"filterField":"Filter","saveHeader":"___Save_Header___"},"openPage":{"backButton":"Back","buildingWorld":"building world...","copiedToClipboard":"Copied save file location to clipboard.","dragJson":"Drag your JSON file here to begin or click to browse","dragSav":"Drag your save file here to begin or click to browse","dropboxText":"via this Dropbox form","errorText":"Please send this save file to me {dropbox} or per Mail to {mail} so that I can fix this error. If you want to be informed when I fix it, please also send me an E-Mail as I cannot see the E-Mail you enter in Dropbox.","errorTitle":"Error","extensionError":"Your file should have the extension .{expected} but has the extension .{actual}. Please load a file with the correct extension.","initializing":"initializing...","processing":"processing file...","readingFile":"reading file...","saveLocation":"You can find your save files at {saveLocation}","sizeError":"This file is too small to be a valid save game. If this file was saved by satisfactory, it is unrepairably corrupted.","subtitleJson":"Importing JSON file...","subtitleSav":"Reading save file...","title":"Open save file"},"panels":{"classList":{"title":"Class List"},"json":{"title":"JSON"},"objectList":{"title":"Object List"},"properties":{"title":"Properties"},"scene":{"title":"Scene"}},"photoMode":{"clipboardButton":"Copy to clipboard","copiedToClipboard":"Image is copied to clipboard (if supported by browser).","downloadButton":"Download","downloaded":"Image is downloaded.","height":"Image Height","includeLogo":"Include FeliX Logo","text":"Text (optional)","title":"Take a photo","width":"Image Width"},"propertyEditor":{"copyAsBlueprint":"Copy as blueprint","deleteButton":"Delete","focusButton":"Focus","jsonLabel":"JSON","objectSavedSnack":"Object saved.","saveJsonButton":"Save JSON"},"savePage":{"backButton":"Back to FeliX","error":"An error occured:","initializing":"initializing...","jsonSubtitle":"Saving JSON file...","processingFile":"processing file...","readingFile":"reading file...","savSubtitle":"Storing save file...","saveFinished":"File should be saved.","title":"Store save file"},"settings":{"advancedSectionTitle":"Advanced","autoLoadSaveFile":"Auto-load save file","cameraType":{"flat":"2D Camera","fly":"Fly Camera","label":"Camera","orbit":"Orbit Camera"},"clearClassColorsButton":"Clear class colors","controlsSectionTitle":"Controls","conveyorBeltResolution":"Conveyor Belt Resolution","conveyorBeltResolutionHelp":"High values can cause very low framerate","copyClassColorsButton":"Copy class colors to clipboard","developSectionTitle":"Develop","editClassColors":"Edit class colors","experimentalFeatures":"Experimental features","farPlane":"Far Plane","farPlaneHelp":"How far away you can see objects","graphicsSectionTitle":"Graphics","nearPlane":"Near Plane","nearPlaneHelp":"Nearer objects are cut away","resetSettingsButton":"Reset all settings","rotationSnap":"Rotation Snap","saveAsZip":"Save output as zip f
1ile","showCustomPaints":"Show custom paints","showFps":"Show FPS","showModels":"Show models","showPropertiesPanel":"Show Properties Panel","snapping":"Snapping","translationSnap":"Translation Snap"},"toolbar":{"local":"Local","rotate":"Rotate","scale":"Scale","translate":"Translate","world":"World"}}')},"754b":function(e,t,o){"use strict";o.d(t,"j",(function(){return a})),o.d(t,"r",(function(){return n})),o.d(t,"g",(function(){return i})),o.d(t,"i",(function(){return s})),o.d(t,"e",(function(){return r})),o.d(t,"p",(function(){return l})),o.d(t,"l",(function(){return c})),o.d(t,"o",(function(){return u})),o.d(t,"m",(function(){return d})),o.d(t,"f",(function(){return f})),o.d(t,"k",(function(){return p})),o.d(t,"h",(function(){return h})),o.d(t,"n",(function(){return m})),o.d(t,"u",(function(){return v})),o.d(t,"t",(function(){return g})),o.d(t,"s",(function(){return b})),o.d(t,"b",(function(){return S})),o.d(t,"q",(function(){return w})),o.d(t,"d",(function(){return _})),o.d(t,"c",(function(){return y})),o.d(t,"a",(function(){return E})),o.d(t,"v",(function(){return O}));var a=300,n=16,i="DIALOG_HELP",s="DIALOG_OPEN_SOURCE",r="DIALOG_ABOUT",l="DIALOG_SETTINGS",c="DIALOG_PROGRESS",u="DIALOG_SAVE_WEB",d="DIALOG_SAVE_DESKTOP",f="DIALOG_CONFIRM_EXIT_DESKTOP",p="DIALOG_OPEN_WEB",h="DIALOG_OPEN_JSON_WEB",m="DIALOG_SAVE_JSON_WEB",v="ON_SAVE_PRESSED",g="ON_SAVE_JSON_PRESSED",b="ON_EXIT_PRESSED",S="CHANGE_LOCALE",w="FOCUS_SELECTED_EVENT",_="DELECT_OBJECTS",y="CREATE_OBJECTS",E="CAMERA_CHANGE",O="SCENE_RESIZE"},"84e2":function(e,t,o){"use strict";var a=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"centerBox"},[e._t("default")],2)},n=[],i=o("bee2"),s=o("d4ec"),r=o("262e"),l=o("2caf"),c=o("9ab4"),u=o("1b40"),d=function(e){Object(r["a"])(o,e);var t=Object(l["a"])(o);function o(){return Object(s["a"])(this,o),t.apply(this,arguments)}return Object(i["a"])(o)}(u["Vue"]);d=Object(c["a"])([Object(u["Component"])({})],d);var f=d,p=f,h=(o("c56f"),o("2877")),m=Object(h["a"])(p,a,n,!1,null,"14e0e32a",null);t["a"]=m.exports},"8a9b":function(e,t,o){"use strict";o("f815")},a87e:function(e,t,o){"use strict";o.r(t);o("d3b7"),o("3ca3"),o("ddb0");var a=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"landingpage"},[o("div",{staticClass:"languageSelection"},[e._v(" "+e._s(e.$t("landingPage.language"))+" "),o("LanguageSwitcher")],1),o("CenterWhiteBox",[o("div",{on:{mouseover:function(t){e.logoAnimating=!0},mouseleave:function(t){e.logoAnimating=!1}}},[o("Logo",{attrs:{height:128,black:"#fff",animating:e.logoAnimating}})],1),o("p",{staticClass:"my-2 mx-4"},[e._v(e._s(e.$t("landingPage.firstParagraph")))]),o("p",{staticClass:"buttonRow"},[o("v-btn",{staticClass:"ma-2",attrs:{color:"primary black--text"},on:{click:function(t){return e.$router.push({path:"/open/sav"})}}},[e._v(e._s(e.$t("landingPage.openSavButton")))])],1),o("p",{staticClass:"my-2 mx-4"},[e._v(e._s(e.$t("landingPage.secondParagraph")))]),o("v-btn",{staticClass:"ma-2",attrs:{outlined:""},on:{click:function(t){return e.$router.push({path:"/open/json"})}}},[e._v(e._s(e.$t("landingPage.openJsonButton")))]),o("p",{staticClass:"left my-4"},[o("i18n",{attrs:{path:"landingPage.thirdParagraph"}},[o("a",{attrs:{slot:"github",href:"https://github.com/ficsit-felix/ficsit-felix"},slot:"github"},[e._v("GitHub")]),o("a",{attrs:{slot:"authors",href:"https://github.com/ficsit-felix/ficsit-felix/blob/main/app/public/models/AUTHORS"},slot:"authors"},[e._v(e._s(e.$t("landingPage.authors")))])])],1)],1),o("div",{staticClass:"commithash"},[e._v(e._s(e.commithash))])],1)},n=[],i=o("84e2"),s=o("10b7"),r=o("4a50"),l=o("ed61"),c={name:"LandingPage",components:{Logo:r["a"],LanguageSwitcher:s["a"],CenterWhiteBox:i["a"]},data:function(){return{logoAnimating:!1,commithash:l["a"]}},mounted:function(){},methods:{}},u=c,d=(o("8a9b"),o("2877")),f=o("6544"),p=o.n(f),h=o("8336"),m=Object(d["a"])(u,a,n,!1,null,"0fea194e",null),v=m.exports;p()(m,{VBtn:h["a"]});var g=o("2b0e"),b=o("8c4f");g["default"].use(b["a"]);t["default"]=new b["a"]({routes:[{path:"/",name:"landingpage",component:v},{path:"/loadeditor",name:"loadEditor",component:function(){return o.e("editor").then(o.bind(null,"2216"))}},{path:"/editor",name:"editor",component:function(){return o.e("editor").then(o.bind(null,"419a"))},meta:{requiresDataLoaded:!0}},{path:"/open/*",name:"open",component:function(){return o.e("editor").then(o.bind(null,"bf83"))}},{path:"*",name:"404",component:v}]})},b094:function(e,t,o){},b1f5:function(e,t,o){},b383:function(e,t,o){},c05a:function(e,t,o){"use strict";t["a"]=function(e){var t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}},c522:function(e,t,o){"use strict";o("248f")},c56f:function(e,t,o){"use strict";o("4e1b")},cd49:function(e,t,o){"use strict";o.r(t);o("e260"),o("e6cf"),o("cca6"),o("a79d"),o("d3b7"),o("3ca3"),o("ddb0");var a=o("b85c");window.checkMissing=function(){if(void 0!==window.data){var e,t=Object(a["a"])(window.data.actors);try{for(t.s();!(e=t.n()).done;){var o=e.value,n=o,i=n.entity.missing;void 0!==i&&console.log("actor: "+n.className)}}catch(d){t.e(d)}finally{t.f()}var s,r=Object(a["a"])(window.data.components);try{for(r.s();!(s=r.n()).done;){var l=s.value,c=l,u=c.entity.missing;void 0!==u&&console.log("component: "+c.className)}}catch(d){r.e(d)}finally{r.f()}}else console.error("Need to load a save file first.")};var n=o("754b"),i=o("2b21"),s=o("2b0e"),r=o("22e2"),l=o.n(r),c=(o("b094"),o("6a6a")),u=o("a925");s["default"].use(u["a"]);var d=new u["a"]({locale:"en",fallbackLocale:"en",messages:{en:c}}),f=(o("5363"),o("f309")),p=o("fcf4");s["default"].use(f["a"]);var h=new f["a"]({theme:{dark:!0,themes:{dark:{primary:p["a"].orange.lighten3,secondary:p["a"].cyan.lighten3,background:p["a"].cyan.base}}}}),m=o("2909"),v=(o("99af"),o("d81d"),o("caad"),o("2532"),o("4de4"),o("b0c0"),o("a434"),o("ac1f"),o("1276"),o("8ba4"),o("a9e3"),o("159b"),o("4e827"),o("6062"),o("e9c4"),o("698e")),g=
1o("1e22"),b=o("2f62"),S=o("cf0c"),w=o("eaa8");s["default"].use(b["a"]);var _=new b["a"].Store({modules:{settings:S["b"],undo:w["h"]},state:{loading:!1,selectedPathNames:[],selectedActors:[],selectedComponents:[],selectedJsonToEdit:null,dataLoaded:!1,uuid:"",filename:"",filepath:"",classes:[],selectionDisabled:!1,boxSelect:!1,shiftSelect:!1,progress:0,progressText:{title:"",currentStep:"",showCloseButton:!1},showSaveMenuEntries:!1},getters:{getNames:function(e){if(!e.dataLoaded)return[];var t=function(e,t){return{pathName:e.pathName,text:e.pathName.substring(e.pathName.indexOf(".")+1)}};return window.data.actors.map(t).concat(window.data.components.map(t))}},mutations:{SET_SELECTED:function(e,t){if(1===t.length&&"---save-header---"===t[0]){var o={saveHeaderType:window.data.saveHeaderType,saveVersion:window.data.saveVersion,buildVersion:window.data.buildVersion,mapName:window.data.mapName,mapOptions:window.data.mapOptions,sessionName:window.data.sessionName,playDurationSeconds:window.data.playDurationSeconds,saveDateTime:window.data.saveDateTime,sessionVisibility:window.data.sessionVisibility,editorObjectVersion:window.data.editorObjectVersion,collected:window.data.collected,missing:window.data.missing};e.selectedJsonToEdit=o,e.selectedPathNames=t}else{if(e.shiftSelect){if(0===t.length)return;if(1===t.length)t=e.selectedPathNames.includes(t[0])?e.selectedPathNames.filter((function(e){return e!==t[0]})):e.selectedPathNames.concat(t);else{var n,i=Object(a["a"])(e.selectedPathNames);try{for(i.s();!(n=i.n()).done;){var s=n.value;t.includes(s)||t.push(s)}}catch(h){i.e(h)}finally{i.f()}}}e.selectedPathNames=t;var r=[],l=[];e.selectedActors=r,e.selectedComponents=l;var c,u=Object(a["a"])(t);try{for(u.s();!(c=u.n()).done;){var d=c.value,f=Object(g["a"])(d);if(void 0!==f)r.push(f);else{var p=Object(g["b"])(d);void 0!==p?l.push(p):(console.error("No actor/component with path name '".concat(d,"' found.")),Object(v["c"])("No actor/component with path name '".concat(d,"' found.")))}}}catch(h){u.e(h)}finally{u.f()}1===t.length?1===r.length?e.selectedJsonToEdit=r[0]:1===l.length?e.selectedJsonToEdit=l[0]:e.selectedJsonToEdit=null:e.selectedJsonToEdit=null}},SET_CLASSES:function(e,t){e.selectedPathNames=[],e.selectedActors=[],e.selectedComponents=[],e.selectedJsonToEdit=null,e.classes=t},SET_DATA_LOADED:function(e,t){e.dataLoaded=t},SET_FILENAME:function(e,t){e.filename=t},SET_FILEPATH:function(e,t){e.filepath=t},SET_UUID:function(e,t){e.uuid=t},SET_VISIBILITY:function(e,t){var o,n=t.name,i=t.visible,s=Object(a["a"])(e.classes);try{for(s.s();!(o=s.n()).done;){var r=o.value;if(r.name===n){r.visible=i;break}}}catch(l){s.e(l)}finally{s.f()}},SET_VISIBILITY_FOR_ALL:function(e,t){var o,n=Object(a["a"])(e.classes);try{for(n.s();!(o=n.n()).done;){var i=o.value;i.visible=t}}catch(s){n.e(s)}finally{n.f()}},SET_SELECTED_OBJECT:function(e,t){1===e.selectedPathNames.length&&"---save-header---"===e.selectedPathNames[0]?(window.data.saveHeaderType=t.saveHeaderType,window.data.saveVersion=t.saveVersion,window.data.buildVersion=t.buildVersion,window.data.mapName=t.mapName,window.data.mapOptions=t.mapOptions,window.data.sessionName=t.sessionName,window.data.playDurationSeconds=t.playDurationSeconds,window.data.saveDateTime=t.saveDateTime,window.data.sessionVisibility=t.sessionVisibility,window.data.editorObjectVersion=t.editorObjectVersion,window.data.collected=t.collected,window.data.missing=t.missing,e.selectedActors=[]):1===t.type?(window.data.actors[Object(g["d"])(e.selectedActors[0].pathName)]=t,e.selectedActors=[t]):(window.data.components[Object(g["e"])(e.selectedComponents[0].pathName)]=t,e.selectedComponents=[t]),e.selectedJsonToEdit=t},SET_CAMERA_DATA:function(e,t){e.cameraPosition=t.position,e.cameraTarget=t.target},DELETE_SELECTED:function(e,t){var o={actors:e.selectedActors,components:e.selectedComponents};if(e.dataLoaded=!1,1===e.selectedActors.length)window.data.actors.splice(Object(g["d"])(e.selectedActors[0].pathName),1);else if(e.selectedActors.length>1)for(var a=e.selectedActors.map((function(e){return e.pathName})),s=window.data.actors.length-1;s>=0;s--)a.includes(window.data.actors[s].pathName)&&window.data.actors.splice(s,1);if(1===e.selectedComponents.length)window.data.components.splice(Object(g["e"])(e.selectedComponents[0].pathName),1);else if(e.selectedComponents.length>1)for(var r=e.selectedComponents.map((function(e){return e.pathName})),l=window.data.components.length-1;l>=0;l--)r.includes(window.data.components[l].pathName)&&window.data.components.splice(l,1);Object(g["t"])(),e.selectedActors=[],e.selectedComponents=[],e.selectedJsonToEdit=null,e.selectedPathNames=[],e.dataLoaded=!0,i["a"].$emit(n["d"],o)},CREATE_OBJECTS:function(e,t){e.dataLoaded=!1;var o,s=Object(a["a"])(t.actors);try{for(s.s();!(o=s.n()).done;){var r=o.value;window.data.actors.push(r)}}catch(d){s.e(d)}finally{s.f()}var l,c=Object(a["a"])(t.components);try{for(c.s();!(l=c.n()).done;){var u=l.value;window.data.components.push(u)}}catch(d){c.e(d)}finally{c.f()}Object(g["t"])(),e.dataLoaded=!0,i["a"].$emit(n["c"],t)},SET_SELECTION_DISABLED:function(e,t){e.selectionDisabled=t},SET_BOX_SELECT:function(e,t){e.boxSelect=t},SET_SHIFT_SELECT:function(e,t){e.shiftSelect=t},SET_PROGRESS:function(e,t){e.progress=t},SET_PROGRESS_TEXT:function(e,t){void 0!==t.title&&(e.progressText.t
1itle=t.title),void 0!==t.currentStep&&(e.progressText.currentStep=t.currentStep),void 0!==t.showCloseButton&&(e.progressText.showCloseButton=t.showCloseButton)},SET_SHOW_SAVE_MENU_ENTRIES:function(e,t){e.showSaveMenuEntries=t},UPDATE_OBJECT_VALUE:function(e,t){for(var o=t.path.split("."),a=e,n=0;n<o.length-1;n++)a=(Number.isInteger(Number(o[n])),a[o[n]]);s["default"].set(a,o[o.length-1],t.value)},TRANSLATE_MULTIPLE_ACTORS:function(e,t){e.selectedActors.forEach((function(e){s["default"].set(e.transform.translation,0,e.transform.translation[0]+t.x),s["default"].set(e.transform.translation,1,e.transform.translation[1]+t.y),s["default"].set(e.transform.translation,2,e.transform.translation[2]+t.z)}))}},actions:{select:function(e,t){y(t,this.state.selectedPathNames)||(e.commit("undo/ADD_ACTION",new w["d"]("SELECT",this.state.selectedPathNames)),e.commit("SET_SELECTED",t))},setLoading:function(e){e.commit("SET_DATA_LOADED",!1)},setLoadedData:function(e,t){return new Promise((function(o,a){window.data=t,Object(g["t"])(),e.commit("SET_DATA_LOADED",!0);var n=Object(m["a"])(new Set(t.actors.map((function(e){return e.className})))).sort().map((function(e){return{name:e,visible:!0}}));e.commit("SET_CLASSES",n),o()}))},setFilename:function(e,t){e.commit("SET_FILENAME",t)},setFilepath:function(e,t){e.commit("SET_FILEPATH",t)},setUUID:function(e,t){e.commit("SET_UUID",t)},setVisibility:function(e,t){e.commit("SET_VISIBILITY",t)},setVisibilityForAll:function(e,t){e.commit("SET_VISIBILITY_FOR_ALL",t)},setSelectedObject:function(e,t){e.commit("SET_SELECTED_OBJECT",t)},setCameraData:function(e,t){e.commit("SET_CAMERA_DATA",t)},deleteSelected:function(e,t){e.commit("undo/ADD_ACTION",new w["b"]("DELETE",JSON.stringify(this.state.selectedActors),JSON.stringify(this.state.selectedComponents))),e.commit("DELETE_SELECTED",t)},setSelectionDisabled:function(e,t){e.commit("SET_SELECTION_DISABLED",t)},setBoxSelect:function(e,t){e.commit("SET_BOX_SELECT",t)},setShiftSelect:function(e,t){e.commit("SET_SHIFT_SELECT",t)},setProgress:function(e,t){e.commit("SET_PROGRESS",t)},setProgressText:function(e,t){e.commit("SET_PROGRESS_TEXT",t)},setShowSaveMenuEntries:function(e,t){e.commit("SET_SHOW_SAVE_MENU_ENTRIES",t)},updateObjectValue:function(e,t){var o=Object(w["g"])(t.path,this.state);o!==t.value&&(e.commit("undo/ADD_ACTION",new w["a"]("CHANGE",t.path,o)),e.commit("UPDATE_OBJECT_VALUE",t))},translateMultipleActors:function(e,t){e.commit("undo/ADD_ACTION",new w["f"]("translate",t.clone().negate())),e.commit("TRANSLATE_MULTIPLE_ACTORS",t)}}});function y(e,t){if(e.length!==t.length)return!1;for(var o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0}s["default"].use(o("37177")),s["default"].use(l.a),s["default"].config.productionTip=!1;var E=o("a87e").default;E.beforeEach((function(e,t,o){var a;null!==(a=e.meta)&&void 0!==a&&a.requiresDataLoaded&&!_.state.dataLoaded?o({name:"landingpage"}):o()})),new s["default"]({router:E,store:_,vuetify:h,i18n:d,beforeCreate:function(){this.$store.commit("settings/INIT_STORE_FROM_LOCAL_DATA")},render:function(e){return e(o("1874").default)}}).$mount("#app");var O=_.state.settings.locale;o("e5ec")("./".concat(O,".json")).then((function(e){d.setLocaleMessage(O,e.default||e),d.locale=O,i["a"].$emit(n["b"])}))},cf0c:function(e,t,o){"use strict";o.d(t,"a",(function(){return n})),o.d(t,"b",(function(){return c}));o("e9c4"),o("d3b7"),o("159b"),o("b64b");var a,n,i=o("2b0e");(function(e){e[e["Initial"]=0]="Initial",e[e["AddPropertiesPanel"]=1]="AddPropertiesPanel",e[e["SeparateLayoutSettings"]=2]="SeparateLayoutSettings"})(a||(a={})),function(e){e[e["Orbit"]=0]="Orbit",e[e["Fly"]=1]="Fly",e[e["Flat"]=2]="Flat"}(n||(n={}));var s=a.SeparateLayoutSettings;function r(e){localStorage.setItem("settings",JSON.stringify(e))}var l=function(){return{nearPlane:100,farPlane:2e5,showModels:!0,showCustomPaints:!0,conveyorBeltResolution:4,editClassColors:!1,classColors:{},locale:"en",experimentalFeatures:!1,autoLoadSaveFile:"",showFps:!1,showDevelopSettings:!1,layout:null,layoutVersion:s,snapping:!1,translationSnap:100,rotationSnap:45,cameraType:n.Orbit,showPropertiesPanel:!1,layoutSettings:{propertiesPanelEnabled:!1}}},c={namespaced:!0,state:l(),getters:{},mutations:{INIT_STORE_FROM_LOCAL_DATA:function(e){localStorage.getItem("settings")&&(Object.assign(e,JSON.parse(localStorage.getItem("settings"))),e.layoutVersion!==s&&(e.layout=null,e.layoutVersion=s))},SET_NEAR_PLANE:function(e,t){e.nearPlane=parseFloat(t),r(e)},SET_FAR_PLANE:function(e,t){e.farPlane=parseFloat(t),r(e)},SET_SHOW_MODELS:function(e,t){e.showModels=t,r(e)},SET_SHOW_CUSTOM_PAINTS:function(e,t){e.showCustomPaints=t,r(e)},SET_CONVEYOR_BELT_RESOLUTION:function(e,t){e.conveyorBeltResolution=t,r(e)},SET_CLASS_COLOR:function(e,t){i["default"].set(e.classColors,t.className,t.color),r(e)},SET_EDIT_CLASS_COLORS:function(e,t){e.editClassColors=t,r(e)},CLEAR_CLASS_COLORS:function(e,t){e.classColors={},r(e)},SET_LOCALE:function(e,t){e.locale=t,r(e)},SET_EXPERIMENTAL_FEATURES:function(e,t){e.experimentalFeatures=t,r(e)},SET_AUTO_LOAD_SAVE_FILE:function(e,t){e.autoLoadSaveFile=t,r(e)},SET_SHOW_FPS:function(e,t){e.showFps=t,r(e)},SET_SHOW_DEVELOP_SETTINGS:function(e,t){e.showDevelopSettings=t,r(e)},SET_LAYOUT:function(e,t){e.layout=t,r(e)},SET_SNAPPING:function(e,t){e.snapping=t,r(e)},SET_TRANSLATION_SNAP:function(e,t){e.translationSnap=t,r(e)},SET_ROTATION_SNAP:function(e,t){e.rotationSnap=t,r(e)},SET_CAMERA_TYPE:function(e,t){e.cameraType=t,r(e)},SET_SHOW_PROPERTIES_PANEL:function(e,t){e.showPropertiesPanel=t,r(e)},RESET_SETTINGS:function(e){var t=l();Object.keys(t).forEach((function(o){e[o]=t[o]})),r(e)},SET_PROPERTIES_PANEL_ENABLED:function(e,t){e.layoutSettings.propertiesPanelEnabled=t}},actions:{setNearPlane:function(e,t){e.commit("SET_NEAR_PLANE",t)},setFarPlane:function(e,t){e.commit("SET_FAR_PLANE",t)},setShowModels:function(e,t){e.commit("SET_SHOW_MODELS",t)},setShowCustomPaints:function(e,t){e.commit("SET_SHOW_CUSTOM_PAINTS",t)},setConveyorBeltResolution:function(e,t){e.commit("SET_CONVEYOR_BELT_RESOLUTION",t)},setClassColor:function(e,t){e.commit("SET_CLASS_COLOR",t)},setEditClassColors:function(e,t){e.commit("SET_EDIT_CLASS_COLORS",t)},clearClassColors:function(e,t){e.commit("CLEAR_CLASS_COLORS",t)},setLocale:function(e,t){e.commit("SET_LOCALE",t)},setExperimentalFeatures:function(e,t){e.commit("SET_EXPERIMENTAL_FEATURES",t)},setAutoLoadSaveFile:function(e,t){e.commit("SET_AUTO_LOAD_SAVE_FILE",t)},setShowFps:function(e,t){e.commit("SET_SHOW_FPS",t)},setShowDevelopSettings:function(e,t){e.commit("SET_SHOW_DEVELOP_SETTINGS",t)},setLayout:function(e,t){e.commit("SET_LAYOUT",t)},resetLayout:function(e,t){e.commit("SET_LAYOUT",null)},setSnapping:function(e,t){e.commit("SET_SNAPPING",t)},setTranslationSnap:function(e,t){e.commit("SET_TRANSLATION_SNAP",t)},setRotationSnap:function(e,t){e.commit("SET_ROTATION_SNAP",t)},setCameraType:function(e,t){e.commit("SET_CAMERA_TYPE",t)},setShowPropertiesPanel:function(e,t){e.commit("SET_SHOW_PROPERTIES_PANEL",t)},resetSettings:function(e,t){e.commit("RESET_SETTINGS")},setPropertiesPanelEnabled:function(e,t){e.commit("SET_PROPERTIES_PANEL_ENABLED",t)}}}},d7b6:function(e,t,o){"use strict";o("16e9")},e2b5:function(e,t,o){"use strict";o("b1f5")},e5ec:function(e,t,o){var a={"./de.json":["2be1","chunk-2d0bd7d2"],"./en.json":["6a6a"]};function n(e){if(!o.o(a,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=a[e],n=t[0];return Promise.all(t.slice(1).map(o.e)).then((function(){return o.t(n,3)}))}n.keys=function(){return Object.keys(a)},n.id="e5ec",e.exports=n},eaa8:function(e,t,o){"use strict";o.d(t,"h",(function(){return r})),o.d(t,"d",(function(){return l})),o.d(t,"e",(function(){return c})),o.d(t,"f",(function(){return u})),o.d(t,"c",(function(){return d})),o.d(t,"b",(function(){return f})),o.d(t,"a",(function(){return h})),o.d(t,"g",(function(){return m}));var a=o("d4ec"),n=o("bee2"),i=o("ade3"),s=(o("b0c0"),o("e9c4"),o("d3b7"),o("159b"),o("d81d"),o("ac1f"),o("1276"),o("8ba4"),o("a9e3"),o("2b0e")),r={namespaced:!0,state:{undoStack:[],redoStack:[]},getters:{undoDisabled:function(e){return 0==e.undoStack.length},redoDisabled:function(e){return 0==e.redoStack.length}},mutations:{ADD_ACTION:function(e,t){e.undoStack.push(t),e.redoStack=[]},UNDO_ACTION:function(e,t){e.redoStack.push(t),e.undoStack.pop()},REDO_ACTION:function(e,t){e.undoStack.push(t),e.redoStack.pop()}},actions:{recordAction:function(e,t){var o=e.commit;o("ADD_ACTION",t)},undoLastAction:function(e){var t=e.commit,o=e.state,a=e.rootState;if(o.undoStack.length>0){var n=o.undoStack[o.undoStack.length-1].undo(t,a);t("UNDO_ACTION",n)}},redoLastAction:function(e){var t=e.commit,o=e.state,a=e.rootState;if(o.redoStack.length>0){var n=o.redoStack[o.redoStack.length-1].undo(t,a);t("REDO_ACTION",n)}}}},l=function(){function e(t,o){Object(a["a"])(this,e),Object(i["a"])(this,"name",void 0),Object(i["a"])(this,"selectedPathNames",void 0),this.name=t,this.selectedPathNames=o}return Object(n["a"])(e,[{key:"undo",value:function(t,o){var a=new e(this.name,o.selectedPathNames);return t("SET_SELECTED",this.selectedPathNames,{root:!0}),a}}]),e}(),c=function(){function e(t,o){Object(a["a"])(this,e),Object(i["a"])(this,"name",void 0),Object(i["a"])(this,"transform",void 0),this.name=t,this.transform=o}return Object(n["a"])(e,[{key:"undo",value:function(t,o){var a=o.selectedActors[0],n=new e(this.name,JSON.stringify(a.transform));return a.transform=JSON.parse(this.transform),t("SET_SELECTED_OBJECT",a,{root:!0}),n}}]),e}(),u=function(){function e(t,o){Object(a["a"])(this,e),Object(i["a"])(this,"name",void 0),Object(i["a"])(this,"translation",void 0),this.name=t,this.translation=o}return Object(n["a"])(e,[{key:"undo",value:function(t,o){var a=this;
1o.selectedActors.forEach((function(e){s["default"].set(e.transform.translation,0,e.transform.translation[0]+a.translation.x),s["default"].set(e.transform.translation,1,e.transform.translation[1]+a.translation.y),s["default"].set(e.transform.translation,2,e.transform.translation[2]+a.translation.z)}));var n=new e(this.name,this.translation.negate());return n}}]),e}(),d=function(){function e(t,o){Object(a["a"])(this,e),Object(i["a"])(this,"name",void 0),Object(i["a"])(this,"json",void 0),this.name=t,this.json=o}return Object(n["a"])(e,[{key:"undo",value:function(t,o){var a=new e(this.name,JSON.stringify(o.selectedJsonToEdit));return t("SET_SELECTED_OBJECT",JSON.parse(this.json),{root:!0}),a}}]),e}(),f=function(){function e(t,o,n){Object(a["a"])(this,e),Object(i["a"])(this,"name",void 0),Object(i["a"])(this,"actorsJson",void 0),Object(i["a"])(this,"componentsJson",void 0),this.name=t,this.actorsJson=o,this.componentsJson=n}return Object(n["a"])(e,[{key:"undo",value:function(e,t){var o=JSON.parse(this.actorsJson),a=JSON.parse(this.componentsJson);e("CREATE_OBJECTS",{actors:o,components:a},{root:!0});var n=o.map((function(e){return e.pathName})),i=a.map((function(e){return e.pathName}));return new p(this.name,n,i)}}]),e}(),p=function(){function e(t,o,n){Object(a["a"])(this,e),Object(i["a"])(this,"name",void 0),Object(i["a"])(this,"actorPathNames",void 0),Object(i["a"])(this,"componentsPathNames",void 0),this.name=t,this.actorPathNames=o,this.componentsPathNames=n}return Object(n["a"])(e,[{key:"undo",value:function(e,t){var o=new f(this.name,JSON.stringify(t.selectedActors),JSON.stringify(t.selectedComponents));return e("DELETE_SELECTED",null,{root:!0}),o}}]),e}(),h=function(){function e(t,o,n){Object(a["a"])(this,e),Object(i["a"])(this,"name",void 0),Object(i["a"])(this,"path",void 0),Object(i["a"])(this,"value",void 0),this.name=t,this.path=o,this.value=n}return Object(n["a"])(e,[{key:"undo",value:function(t,o){var a=m(this.path,o),n=new e(this.name,this.path,a);return t("UPDATE_OBJECT_VALUE",{path:this.path,value:this.value},{root:!0}),n}}]),e}();function m(e,t){for(var o=e.split("."),a=t,n=0;n<o.length;n++)a=(Number.isInteger(Number(o[n])),a[o[n]]);return a}},ed61:function(e,t,o){"use strict";o.d(t,"a",(function(){return a}));var a="d30763140acda56fc24143e614055012e7d37084"},f815:function(e,t,o){},ff8e:function(e,t,o){}}); 2//# sourceMappingURL=app.77381212.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.