diff --git a/dist/index.html b/dist/index.html index 97308f5..baea68d 100644 --- a/dist/index.html +++ b/dist/index.html @@ -7,4 +7,4 @@ // Shared ID gtag('config', 'UA-118965717-3'); // Vue.js ID - gtag('config', 'UA-118965717-7');
\ No newline at end of file + gtag('config', 'UA-118965717-7');
\ No newline at end of file diff --git a/dist/js/app.614c3ce1.js b/dist/js/app.4f156b21.js similarity index 99% rename from dist/js/app.614c3ce1.js rename to dist/js/app.4f156b21.js index d52af90..47e7742 100644 --- a/dist/js/app.614c3ce1.js +++ b/dist/js/app.4f156b21.js @@ -1,2 +1,2 @@ -(function(e){function t(t){for(var r,a,i=t[0],u=t[1],l=t[2],s=0,f=[];s\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'],it=n("7b45"),ut=n("3098"),lt=n("1748"),st=Object.assign({},{logo:ot},{cilArrowRight:re["a"],cilBan:ae["a"],cilBank:ce["a"],cilBarChart:oe["a"],cilBasket:ie["a"],cilBell:ue["a"],cilBox:ut["a"],cilBuilding:le["a"],cilCalculator:se["a"],cilCalendar:fe["a"],cilCloudDownload:de["a"],cilChartPie:be["a"],cilCheck:he["a"],cilChevronBottom:pe["a"],cilChevronTop:me["a"],cilCheckCircle:ge["a"],cilCommentBubbleQuestion:lt["a"],cilCommentSquare:ye["a"],cilCursor:ve["a"],cilDrop:Oe["a"],cilDollar:Pe["a"],cilEnvelopeClosed:we["a"],cilEnvelopeOpen:Se["a"],cilEuro:je["a"],cilGlobeAlt:ke["a"],cilGrid:Ce["a"],cilFile:Ee["a"],cilHealing:Le["a"],cilHome:Ve["a"],cilInfinity:Ae["a"],cilJustifyCenter:Re["a"],cilLaptop:De["a"],cilLayers:Me["a"],cilLeaf:_e["a"],cilLightbulb:Ie["a"],cilList:Te["a"],cilLocationPin:Ue["a"],cilLockLocked:Be["a"],cilMagnifyingGlass:Ze["a"],cilMoney:xe["a"],cilMoon:qe["a"],cilOptions:He["a"],cilPencil:Ne["a"],cilPeople:Fe["a"],cilPlus:Ge["a"],cilPuzzle:Je["a"],cilSchool:ze["a"],cilSettings:Xe["a"],cilShieldAlt:$e["a"],cilSpeech:Qe["a"],cilSpeedometer:Ye["a"],cilStar:Ke["a"],cilTask:We["a"],cilTerrain:et["a"],cilTrash:tt["a"],cilUser:nt["a"],cilUserFemale:rt["a"],cilUserFollow:at["a"],cilXCircle:ct["a"]},{cifUs:Y["a"],cifBr:K["a"],cifIn:W["a"],cifFr:ee["a"],cifEs:te["a"],cifPl:ne["a"]},{cibFacebook:L["a"],cibTwitter:V["a"],cibLinkedin:A["a"],cibFlickr:R["a"],cibTumblr:D["a"],cibXing:M["a"],cibGithub:_["a"],cibStackoverflow:I["a"],cibYoutube:T["a"],cibDribbble:U["a"],cibInstagram:B["a"],cibPinterest:Z["a"],cibVk:x["a"],cibYahoo:q["a"],cibBehance:H["a"],cibReddit:N["a"],cibVimeo:F["a"],cibCcMastercard:G["a"],cibCcVisa:J["a"],cibStripe:z["a"],cibPaypal:X["a"],cibGooglePay:$["a"],cibCcAmex:Q["a"]},{cisPlus:it["a"]}),ft=n("2f62"),dt=n("2ef0"),bt=n.n(dt),ht=function(e){return function(t){return bt.a.get(t,e)}},pt=function(e){return function(t,n){bt.a.set(t,e,n)}},mt=n("365c");function gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yt(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n",components:{App:s}})},"5c0b":function(e,t,n){"use strict";n("9c0c")},"9c0c":function(e,t,n){}}); -//# sourceMappingURL=app.614c3ce1.js.map \ No newline at end of file +(function(e){function t(t){for(var r,a,i=t[0],u=t[1],l=t[2],s=0,f=[];s\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'],it=n("7b45"),ut=n("3098"),lt=n("1748"),st=Object.assign({},{logo:ot},{cilArrowRight:re["a"],cilBan:ae["a"],cilBank:ce["a"],cilBarChart:oe["a"],cilBasket:ie["a"],cilBell:ue["a"],cilBox:ut["a"],cilBuilding:le["a"],cilCalculator:se["a"],cilCalendar:fe["a"],cilCloudDownload:de["a"],cilChartPie:be["a"],cilCheck:he["a"],cilChevronBottom:pe["a"],cilChevronTop:me["a"],cilCheckCircle:ge["a"],cilCommentBubbleQuestion:lt["a"],cilCommentSquare:ye["a"],cilCursor:ve["a"],cilDrop:Oe["a"],cilDollar:Pe["a"],cilEnvelopeClosed:we["a"],cilEnvelopeOpen:Se["a"],cilEuro:je["a"],cilGlobeAlt:ke["a"],cilGrid:Ce["a"],cilFile:Ee["a"],cilHealing:Le["a"],cilHome:Ve["a"],cilInfinity:Ae["a"],cilJustifyCenter:Re["a"],cilLaptop:De["a"],cilLayers:Me["a"],cilLeaf:_e["a"],cilLightbulb:Ie["a"],cilList:Te["a"],cilLocationPin:Ue["a"],cilLockLocked:Be["a"],cilMagnifyingGlass:Ze["a"],cilMoney:xe["a"],cilMoon:qe["a"],cilOptions:He["a"],cilPencil:Ne["a"],cilPeople:Fe["a"],cilPlus:Ge["a"],cilPuzzle:Je["a"],cilSchool:ze["a"],cilSettings:Xe["a"],cilShieldAlt:$e["a"],cilSpeech:Qe["a"],cilSpeedometer:Ye["a"],cilStar:Ke["a"],cilTask:We["a"],cilTerrain:et["a"],cilTrash:tt["a"],cilUser:nt["a"],cilUserFemale:rt["a"],cilUserFollow:at["a"],cilXCircle:ct["a"]},{cifUs:Y["a"],cifBr:K["a"],cifIn:W["a"],cifFr:ee["a"],cifEs:te["a"],cifPl:ne["a"]},{cibFacebook:L["a"],cibTwitter:V["a"],cibLinkedin:A["a"],cibFlickr:R["a"],cibTumblr:D["a"],cibXing:M["a"],cibGithub:_["a"],cibStackoverflow:I["a"],cibYoutube:T["a"],cibDribbble:U["a"],cibInstagram:B["a"],cibPinterest:Z["a"],cibVk:x["a"],cibYahoo:q["a"],cibBehance:H["a"],cibReddit:N["a"],cibVimeo:F["a"],cibCcMastercard:G["a"],cibCcVisa:J["a"],cibStripe:z["a"],cibPaypal:X["a"],cibGooglePay:$["a"],cibCcAmex:Q["a"]},{cisPlus:it["a"]}),ft=n("2f62"),dt=n("2ef0"),bt=n.n(dt),ht=function(e){return function(t){return bt.a.get(t,e)}},pt=function(e){return function(t,n){bt.a.set(t,e,n)}},mt=n("365c");function gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yt(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n",components:{App:s}})},"5c0b":function(e,t,n){"use strict";n("9c0c")},"9c0c":function(e,t,n){}}); +//# sourceMappingURL=app.4f156b21.js.map \ No newline at end of file diff --git a/dist/js/app.614c3ce1.js.map b/dist/js/app.4f156b21.js.map similarity index 99% rename from dist/js/app.614c3ce1.js.map rename to dist/js/app.4f156b21.js.map index 0f811c8..9bb5755 100644 --- a/dist/js/app.614c3ce1.js.map +++ b/dist/js/app.4f156b21.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/AxiosClient.js","webpack:///./src/api/config.js","webpack:///./src/api/city-api.js","webpack:///./src/api/player-api.js","webpack:///./src/api/resource-api.js","webpack:///./src/api/settings-api.js","webpack:///./src/api/commodity-api.js","webpack:///./src/api/auth-api.js","webpack:///./src/api/index.js","webpack:///./src/App.vue?43bf","webpack:///src/App.vue","webpack:///./src/App.vue?a7d1","webpack:///./src/App.vue","webpack:///./src/router/index.js","webpack:///./src/assets/icons/logo.js","webpack:///./src/assets/icons/icons.js","webpack:///./src/store/modules/state-mutators.js","webpack:///./src/store/modules/city-module.js","webpack:///./src/store/modules/coreui-module.js","webpack:///./src/store/modules/settings-module.js","webpack:///./src/store/modules/player-module.js","webpack:///./src/store/modules/resource-module.js","webpack:///./src/store/modules/commodity-module.js","webpack:///./src/store/modules/auth-module.js","webpack:///./src/store/index.js","webpack:///./src/main.js","webpack:///./src/App.vue?f446"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","axios","require","default","defaults","headers","common","interceptors","use","url","includes","auth","JSON","parse","localStorage","getItem","accessToken","response","status","clear","location","client","config","SERVER_URL","catch","getCityDetail","getPlayerDetail","objectId","current","lastSaveTime","save","settings","post","login","username","password","city","commodity","player","resource","render","_vm","this","_h","$createElement","_c","_self","staticRenderFns","created","$store","dispatch","component","TheContainer","Dashboard","ViewCity","ViewPlayer","CityList","PlayerList","ResourceList","CommoditiesList","GameSettings","LoggingSettings","ServerSettings","TheLoginPage","Vue","Router","router","linkActiveClass","scrollBehavior","y","routes","configRoutes","path","redirect","children","props","meta","label","title","beforeEach","to","from","next","publicPages","authRequired","loggedIn","logo","iconsSet","assign","cilArrowRight","cilBan","cilBank","cilBarChart","cilBasket","cilBell","cilBox","cilBuilding","cilCalculator","cilCalendar","cilCloudDownload","cilChartPie","cilCheck","cilChevronBottom","cilChevronTop","cilCheckCircle","cilCommentBubbleQuestion","cilCommentSquare","cilCursor","cilDrop","cilDollar","cilEnvelopeClosed","cilEnvelopeOpen","cilEuro","cilGlobeAlt","cilGrid","cilFile","cilHealing","cilHome","cilInfinity","cilJustifyCenter","cilLaptop","cilLayers","cilLeaf","cilLightbulb","cilList","cilLocationPin","cilLockLocked","cilMagnifyingGlass","cilMoney","cilMoon","cilOptions","cilPencil","cilPeople","cilPlus","cilPuzzle","cilSchool","cilSettings","cilShieldAlt","cilSpeech","cilSpeedometer","cilStar","cilTask","cilTerrain","cilTrash","cilUser","cilUserFemale","cilUserFollow","cilXCircle","cifUs","cifBr","cifIn","cifFr","cifEs","cifPl","cibFacebook","cibTwitter","cibLinkedin","cibFlickr","cibTumblr","cibXing","cibGithub","cibStackoverflow","cibYoutube","cibDribbble","cibInstagram","cibPinterest","cibVk","cibYahoo","cibBehance","cibReddit","cibVimeo","cibCcMastercard","cibCcVisa","cibStripe","cibPaypal","cibGooglePay","cibCcAmex","cisPlus","propName","state","_","set","allCities","getters","cities","mutations","actions","fetchAll","commit","api","namespaced","Vuex","sidebarShow","sidebarMinimize","toggleSidebarDesktop","sidebarOpened","toggleSidebarMobile","sidebarClosed","variable","Store","loaded","allSettings","updatePlanetStatus","planet","centralServer","startPlanet","find","active","updateProperty","allPlayers","players","historical","lastSave","resources","fetchCurrent","fetchLastSaveTime","clockObject","auctions","user","initialState","stringify","setItem","logout","removeItem","setAuth","debug","coreui","strict","plugins","performance","CoreuiVue","$log","log","directive","el","addEventListener","kc","keyCode","which","regex","test","String","fromCharCode","preventDefault","store","icons","template","components","App"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,K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JC,MAAO,UACPC,MAAO,YAGX,CACEN,KAAM,SACNvG,KAAM,kBACN0G,OAAO,EACPxB,UAAWW,EACXc,KAAM,CACJC,MAAO,SACPC,MAAO,cAuBnBZ,EAAOa,YAAW,SAACC,EAAIC,EAAMC,GAC3B,IAAMC,EAAc,CAAC,UACfC,GAAgBD,EAAYzE,SAASsE,EAAGR,MACxCa,EAAWvE,aAAaC,QAAQ,QAIlCqE,IAAiBC,EACnBH,EAAK,SAELA,O,+lCCvLSI,GAAO,CAAC,UAAD,k3K,uCCwFPC,GAAWhM,OAAOiM,OAC7B,GACA,CAAEF,SACF,CACEG,sBACAC,eACAC,gBACAC,oBACAC,kBACAC,gBACAC,eACAC,oBACAC,sBACAC,oBACAC,yBACAC,oBACAC,iBACAC,yBACAC,sBACAC,uBACAC,iCACAC,yBACAC,kBACAC,gBACAC,kBACAC,0BACAC,wBACAC,gBACAC,oBACAC,gBACAC,gBACAC,mBACAC,gBACAC,oBACAC,yBACAC,kBACAC,kBACAC,gBACAC,qBACAC,gBACAC,uBACAC,sBACAC,2BACAC,iBACAC,gBACAC,mBACAC,kBACAC,kBACAC,gBACAC,kBACAC,kBACAC,oBACAC,qBACAC,kBACAC,uBACAC,gBACAC,gBACAC,mBACAC,iBACAC,gBACAC,sBACAC,sBACAC,oBAEF,CACEC,aACAC,aACAC,aACAC,cACAC,cACAC,eAEF,CACEC,mBACAC,kBACAC,mBACAC,iBACAC,iBACAC,eACAC,iBACAC,wBACAC,kBACAC,mBACAC,oBACAC,oBACAC,aACAC,gBACAC,kBACAC,iBACAC,gBACAC,uBACAC,iBACAC,iBACAC,iBACAC,oBACAC,kBAEF,CACEC,kB,qCCrLSrM,GAAM,SAACsM,GAAD,OAAc,SAACC,GAChC,OAAOC,KAAExM,IAAIuM,EAAOD,KASTG,GAAM,SAACH,GAAD,OAAc,SAACC,EAAOnM,GACvCoM,KAAEC,IAAIF,EAAOD,EAAUlM,K,0sBChBzB,IAAMmM,GAAQ,CACZG,UAAW,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I0T,EAAK1T,EAAE2T,SAAW3T,EAAE4T,MACpBC,EAAQ,SACPA,EAAMC,KAAKC,OAAOC,aAAaN,KAClC1T,EAAEiU,uBAMV,IAAInL,OAAI,CACN0K,GAAI,OACJxK,SACAkL,SACAC,SACAC,SAAU,SACVC,WAAY,CACVC,U,oCC1CJ,W","file":"js/app.614c3ce1.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-062aa5fd\":\"652c1b50\",\"chunk-27c3ee78\":\"38e3591c\",\"chunk-2d0a3956\":\"68e0a4f3\",\"chunk-2d2086b7\":\"17be7ddb\",\"chunk-2d21082d\":\"a903c013\",\"chunk-2d217109\":\"10a58e20\",\"chunk-2d2218b5\":\"05083f06\",\"chunk-2d9c6148\":\"ad970f60\",\"chunk-4f2050ba\":\"619d2869\",\"chunk-789ba9d5\":\"4971df63\",\"chunk-2d0d43e6\":\"051f8d58\",\"chunk-2d2178ab\":\"7a2ea165\",\"chunk-f8fb68ce\":\"a11b2700\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-062aa5fd\":1,\"chunk-27c3ee78\":1,\"chunk-2d9c6148\":1,\"chunk-4f2050ba\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-062aa5fd\":\"7ce1b5cb\",\"chunk-27c3ee78\":\"d4eb39b3\",\"chunk-2d0a3956\":\"31d6cfe0\",\"chunk-2d2086b7\":\"31d6cfe0\",\"chunk-2d21082d\":\"31d6cfe0\",\"chunk-2d217109\":\"31d6cfe0\",\"chunk-2d2218b5\":\"31d6cfe0\",\"chunk-2d9c6148\":\"a2ab92c6\",\"chunk-4f2050ba\":\"54ccc5f7\",\"chunk-789ba9d5\":\"31d6cfe0\",\"chunk-2d0d43e6\":\"31d6cfe0\",\"chunk-2d2178ab\":\"31d6cfe0\",\"chunk-f8fb68ce\":\"31d6cfe0\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","const axios = require('axios').default;\r\n\r\naxios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\r\n\r\naxios.interceptors.request.use((request) => {\r\n if (!request.url.includes('login')) {\r\n let auth = JSON.parse(localStorage.getItem('auth'));\r\n request.headers['Authorization'] = 'Bearer ' + auth.accessToken;\r\n }\r\n return request;\r\n});\r\n\r\naxios.interceptors.response.use(\r\n (response) => {\r\n return response;\r\n },\r\n (error) => {\r\n if (401 === error.response.status) {\r\n localStorage.clear();\r\n window.location = '/#/login';\r\n } else {\r\n return Promise.reject(error);\r\n }\r\n }\r\n);\r\n\r\nexport { axios as client };\r\n","import { client } from '@/AxiosClient';\r\n\r\nexport default {\r\n client,\r\n};\r\n","import config from './config';\r\nimport { Promise } from 'core-js';\r\n\r\nconst client = config.client;\r\n\r\nexport default {\r\n all() {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/city/all`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n getCityDetail(name) {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/city/detail?name=${name}`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n};\r\n","import config from './config';\r\nimport { Promise } from 'core-js';\r\n\r\nconst client = config.client;\r\n\r\nexport default {\r\n all() {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/player/all`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n getPlayerDetail(objectId) {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/player/${objectId}`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n};\r\n","import config from './config';\r\nimport { Promise } from 'core-js';\r\n\r\nconst client = config.client;\r\n\r\nexport default {\r\n all() {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/resource/historical/all`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n current() {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/resource/current`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n lastSaveTime() {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/clock/lastSave`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n};\r\n","import config from './config';\r\nimport { Promise } from 'core-js';\r\n\r\nconst client = config.client;\r\n\r\nexport default {\r\n all() {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/settings/server`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n save(settings) {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .post(`${SERVER_URL}/settings/server`, settings)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n};\r\n","import config from './config';\r\nimport { Promise } from 'core-js';\r\n\r\nconst client = config.client;\r\n\r\nexport default {\r\n current() {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/market/auctions`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n};\r\n","import config from './config';\r\n\r\nconst client = config.client;\r\n\r\nexport default {\r\n login(username, password) {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .post(`${SERVER_URL}/auth/login`, { username, password })\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n};\r\n","import config from './config';\r\nimport city from './city-api';\r\nimport player from './player-api';\r\nimport resource from './resource-api';\r\nimport settings from './settings-api';\r\nimport commodity from './commodity-api';\r\nimport auth from './auth-api';\r\n\r\nexport default {\r\n auth,\r\n config,\r\n city,\r\n commodity,\r\n player,\r\n resource,\r\n settings,\r\n};\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-view')}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=41a668ec&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue';\r\nimport Router from 'vue-router';\r\n\r\n// Containers\r\nconst TheContainer = () => import('@/containers/TheContainer');\r\n\r\n// Views\r\nconst Dashboard = () => import('@/views/Dashboard');\r\nconst ViewCity = () => import('@/views/city/ViewCity');\r\nconst ViewPlayer = () => import('@/views/player/ViewPlayer');\r\nconst CityList = () => import('@/views/city/CityList');\r\nconst PlayerList = () => import('@/views/player/PlayerList');\r\nconst ResourceList = () => import('@/views/resource/ResourceList');\r\nconst CommoditiesList = () => import('@/views/commodity/CommoditiesList');\r\n\r\n// Settings\r\nconst GameSettings = () => import('@/views/settings/Game');\r\nconst LoggingSettings = () => import('@/views/settings/Logging');\r\nconst ServerSettings = () => import('@/views/settings/Server');\r\n\r\n// Login\r\nconst TheLoginPage = () => import('@/views/Login');\r\n\r\nVue.use(Router);\r\n\r\nexport const router = new Router({\r\n mode: 'hash', // https://router.vuejs.org/api/#mode\r\n linkActiveClass: 'active',\r\n scrollBehavior: () => ({ y: 0 }),\r\n routes: configRoutes(),\r\n});\r\n\r\nfunction configRoutes() {\r\n return [\r\n {\r\n path: '/login',\r\n name: 'Login',\r\n component: TheLoginPage,\r\n },\r\n {\r\n path: '/',\r\n redirect: '/dashboard',\r\n name: 'Home',\r\n component: TheContainer,\r\n children: [\r\n {\r\n path: 'dashboard',\r\n name: 'Dashboard',\r\n component: Dashboard,\r\n },\r\n {\r\n path: 'city/:name',\r\n name: 'view-city',\r\n props: true,\r\n component: ViewCity,\r\n meta: {\r\n label: 'City Details',\r\n title: 'City Details',\r\n },\r\n },\r\n {\r\n path: 'cities',\r\n name: 'city-list',\r\n component: CityList,\r\n meta: {\r\n label: 'City List',\r\n title: 'City List',\r\n },\r\n },\r\n {\r\n path: 'player/:objectId',\r\n name: 'view-player',\r\n props: true,\r\n component: ViewPlayer,\r\n meta: {\r\n label: 'Player Details',\r\n title: 'Player Details',\r\n },\r\n },\r\n {\r\n path: 'players',\r\n name: 'player-list',\r\n component: PlayerList,\r\n meta: {\r\n label: 'Player List',\r\n title: 'Player List',\r\n },\r\n },\r\n {\r\n path: 'resources',\r\n name: 'resource-list',\r\n component: ResourceList,\r\n meta: {\r\n label: 'Resource List',\r\n title: 'Resource List',\r\n },\r\n },\r\n {\r\n path: 'bazaar',\r\n name: 'commodities-list',\r\n component: CommoditiesList,\r\n meta: {\r\n label: 'Commodities List',\r\n title: 'Commodities List',\r\n },\r\n children: [\r\n {\r\n path: ':filter',\r\n name: 'resource-list-filtered',\r\n component: ResourceList,\r\n props: true,\r\n meta: {\r\n label: 'Active Resources',\r\n title: 'Active Resources',\r\n },\r\n },\r\n ],\r\n },\r\n ],\r\n },\r\n {\r\n path: '/admin/settings',\r\n redirect: '/dashboard',\r\n name: 'Settings',\r\n component: TheContainer,\r\n children: [\r\n {\r\n path: 'game',\r\n name: 'game-settings',\r\n props: true,\r\n component: GameSettings,\r\n meta: {\r\n label: 'Game',\r\n title: 'Game',\r\n },\r\n },\r\n {\r\n path: 'logging',\r\n name: 'logging-settings',\r\n props: true,\r\n component: LoggingSettings,\r\n meta: {\r\n label: 'Logging',\r\n title: 'Logging',\r\n },\r\n },\r\n {\r\n path: 'server',\r\n name: 'server-settings',\r\n props: true,\r\n component: ServerSettings,\r\n meta: {\r\n label: 'Server',\r\n title: 'Server',\r\n },\r\n },\r\n ],\r\n },\r\n ];\r\n}\r\n\r\nfunction parseJwt(token) {\r\n var base64Url = token.split('.')[1];\r\n var base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/');\r\n var jsonPayload = decodeURIComponent(\r\n atob(base64)\r\n .split('')\r\n .map(function (c) {\r\n return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);\r\n })\r\n .join('')\r\n );\r\n\r\n return JSON.parse(jsonPayload);\r\n}\r\n\r\nrouter.beforeEach((to, from, next) => {\r\n const publicPages = ['/login'];\r\n const authRequired = !publicPages.includes(to.path);\r\n const loggedIn = localStorage.getItem('auth');\r\n\r\n // trying to access a restricted page + not logged in\r\n // redirect to login page\r\n if (authRequired && !loggedIn) {\r\n next('login');\r\n } else {\r\n next();\r\n }\r\n});\r\n","// Example of SVG converted to js array, so it can be used with CIcon.\r\n// the first argument is two last values of svg viewBox, \r\n// the second argument is the SVG content stripped of SVG tags\r\nexport const logo = ['556 134',`\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n`]\r\n","import {\r\n cibFacebook,\r\n cibTwitter,\r\n cibLinkedin,\r\n cibFlickr,\r\n cibTumblr,\r\n cibXing,\r\n cibGithub,\r\n cibStackoverflow,\r\n cibYoutube,\r\n cibDribbble,\r\n cibInstagram,\r\n cibPinterest,\r\n cibVk,\r\n cibYahoo,\r\n cibBehance,\r\n cibReddit,\r\n cibVimeo,\r\n cibCcMastercard,\r\n cibCcVisa,\r\n cibStripe,\r\n cibPaypal,\r\n cibGooglePay,\r\n cibCcAmex,\r\n} from '@coreui/icons';\r\nimport { cifUs, cifBr, cifIn, cifFr, cifEs, cifPl } from '@coreui/icons';\r\nimport {\r\n cilArrowRight,\r\n cilBan,\r\n cilBank,\r\n cilBarChart,\r\n cilBasket,\r\n cilBell,\r\n cilBuilding,\r\n cilCalculator,\r\n cilCalendar,\r\n cilCloudDownload,\r\n cilChartPie,\r\n cilCheck,\r\n cilChevronBottom,\r\n cilChevronTop,\r\n cilCheckCircle,\r\n cilCommentSquare,\r\n cilCursor,\r\n cilDrop,\r\n cilDollar,\r\n cilEnvelopeClosed,\r\n cilEnvelopeOpen,\r\n cilEuro,\r\n cilGlobeAlt,\r\n cilGrid,\r\n cilFile,\r\n cilHealing,\r\n cilHome,\r\n cilInfinity,\r\n cilJustifyCenter,\r\n cilLaptop,\r\n cilLayers,\r\n cilLeaf,\r\n cilLightbulb,\r\n cilList,\r\n cilLocationPin,\r\n cilLockLocked,\r\n cilMagnifyingGlass,\r\n cilMoney,\r\n cilMoon,\r\n cilOptions,\r\n cilPencil,\r\n cilPeople,\r\n cilPlus,\r\n cilPuzzle,\r\n cilSchool,\r\n cilSettings,\r\n cilShieldAlt,\r\n cilSpeech,\r\n cilSpeedometer,\r\n cilStar,\r\n cilTask,\r\n cilTerrain,\r\n cilTrash,\r\n cilUser,\r\n cilUserFemale,\r\n cilUserFollow,\r\n cilXCircle,\r\n} from '@coreui/icons';\r\nimport { logo } from './logo';\r\n\r\nimport { cisPlus } from '@coreui/icons-pro';\r\n\r\nimport { cilCommentBubbleQuestion, cilBox } from '@coreui/icons-pro';\r\n\r\nexport const iconsSet = Object.assign(\r\n {},\r\n { logo },\r\n {\r\n cilArrowRight,\r\n cilBan,\r\n cilBank,\r\n cilBarChart,\r\n cilBasket,\r\n cilBell,\r\n cilBox,\r\n cilBuilding,\r\n cilCalculator,\r\n cilCalendar,\r\n cilCloudDownload,\r\n cilChartPie,\r\n cilCheck,\r\n cilChevronBottom,\r\n cilChevronTop,\r\n cilCheckCircle,\r\n cilCommentBubbleQuestion,\r\n cilCommentSquare,\r\n cilCursor,\r\n cilDrop,\r\n cilDollar,\r\n cilEnvelopeClosed,\r\n cilEnvelopeOpen,\r\n cilEuro,\r\n cilGlobeAlt,\r\n cilGrid,\r\n cilFile,\r\n cilHealing,\r\n cilHome,\r\n cilInfinity,\r\n cilJustifyCenter,\r\n cilLaptop,\r\n cilLayers,\r\n cilLeaf,\r\n cilLightbulb,\r\n cilList,\r\n cilLocationPin,\r\n cilLockLocked,\r\n cilMagnifyingGlass,\r\n cilMoney,\r\n cilMoon,\r\n cilOptions,\r\n cilPencil,\r\n cilPeople,\r\n cilPlus,\r\n cilPuzzle,\r\n cilSchool,\r\n cilSettings,\r\n cilShieldAlt,\r\n cilSpeech,\r\n cilSpeedometer,\r\n cilStar,\r\n cilTask,\r\n cilTerrain,\r\n cilTrash,\r\n cilUser,\r\n cilUserFemale,\r\n cilUserFollow,\r\n cilXCircle,\r\n },\r\n {\r\n cifUs,\r\n cifBr,\r\n cifIn,\r\n cifFr,\r\n cifEs,\r\n cifPl,\r\n },\r\n {\r\n cibFacebook,\r\n cibTwitter,\r\n cibLinkedin,\r\n cibFlickr,\r\n cibTumblr,\r\n cibXing,\r\n cibGithub,\r\n cibStackoverflow,\r\n cibYoutube,\r\n cibDribbble,\r\n cibInstagram,\r\n cibPinterest,\r\n cibVk,\r\n cibYahoo,\r\n cibBehance,\r\n cibReddit,\r\n cibVimeo,\r\n cibCcMastercard,\r\n cibCcVisa,\r\n cibStripe,\r\n cibPaypal,\r\n cibGooglePay,\r\n cibCcAmex,\r\n },\r\n {\r\n cisPlus,\r\n }\r\n);\r\n","import _ from 'lodash';\r\n\r\n/**\r\n * Reusable generic property getter\r\n * @param {String} propName\r\n * @returns {*} The value of state[propName]\r\n */\r\n\r\nexport const get = (propName) => (state) => {\r\n return _.get(state, propName);\r\n};\r\n\r\n/**\r\n * Reusable generic property setter\r\n * @param {String} propName\r\n * @param {Object} value\r\n * @returns void\r\n */\r\nexport const set = (propName) => (state, value) => {\r\n _.set(state, propName, value);\r\n};\r\n","import { get, set } from './state-mutators';\r\nimport api from '@/api';\r\n\r\nconst state = {\r\n allCities: [],\r\n};\r\n\r\nconst getters = {\r\n cities: get('allCities'),\r\n};\r\n\r\nconst mutations = {\r\n cities: set('allCities'),\r\n};\r\n\r\nconst actions = {\r\n fetchAll({ commit }) {\r\n return api.city\r\n .all()\r\n .then((cities) => {\r\n commit('cities', cities);\r\n })\r\n .catch((e) => {\r\n console.error('Could not fetch all cities: ', { ...e });\r\n });\r\n },\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions,\r\n};\r\n","import Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nVue.use(Vuex)\r\n\r\nconst state = {\r\n sidebarShow: 'responsive',\r\n sidebarMinimize: false\r\n}\r\n\r\nconst mutations = {\r\n toggleSidebarDesktop (state) {\r\n const sidebarOpened = [true, 'responsive'].includes(state.sidebarShow)\r\n state.sidebarShow = sidebarOpened ? false : 'responsive'\r\n },\r\n toggleSidebarMobile (state) {\r\n const sidebarClosed = [false, 'responsive'].includes(state.sidebarShow)\r\n state.sidebarShow = sidebarClosed ? true : 'responsive'\r\n },\r\n set (state, [variable, value]) {\r\n state[variable] = value\r\n }\r\n}\r\n\r\nexport default new Vuex.Store({\r\n state,\r\n mutations\r\n})","import { get, set } from './state-mutators';\r\nimport api from '@/api';\r\nimport _ from 'lodash';\r\n\r\nconst state = {\r\n loaded: false,\r\n allSettings: [],\r\n};\r\n\r\nconst getters = {\r\n settings: get('allSettings'),\r\n loaded: get('loaded'),\r\n};\r\n\r\nconst mutations = {\r\n settings(state, settings) {\r\n state.allSettings = settings;\r\n state.loaded = true;\r\n },\r\n updatePlanetStatus(state, planet) {\r\n state.allSettings.centralServer.startPlanet.find(\r\n (p) => p.name === planet.planet\r\n ).active = planet.status;\r\n api.settings.save(state.allSettings);\r\n },\r\n updateProperty(state, { property, value }) {\r\n _.set(state.allSettings, property, value);\r\n api.settings.save(state.allSettings);\r\n },\r\n};\r\n\r\nconst actions = {\r\n fetchAll({ commit }) {\r\n return api.settings\r\n .all()\r\n .then((settings) => {\r\n commit('settings', settings);\r\n })\r\n .catch((e) => {\r\n console.error('Could not fetch all settings: ', { ...e });\r\n });\r\n },\r\n updatePlanetStatus({ commit }, { planet, status }) {\r\n commit('updatePlanetStatus', { planet, status });\r\n },\r\n updateProperty({ commit }, { property, value }) {\r\n commit('updateProperty', { property, value });\r\n },\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions,\r\n};\r\n","import { get, set } from './state-mutators';\r\nimport api from '@/api';\r\n\r\nconst state = {\r\n allPlayers: [],\r\n};\r\n\r\nconst getters = {\r\n players: get('allPlayers'),\r\n};\r\n\r\nconst mutations = {\r\n players: set('allPlayers'),\r\n};\r\n\r\nconst actions = {\r\n fetchAll({ commit }) {\r\n return api.player\r\n .all()\r\n .then((players) => {\r\n commit('players', players);\r\n })\r\n .catch((e) => {\r\n console.error('Could not fetch all players: ', { ...e });\r\n });\r\n },\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions,\r\n};\r\n","import { get, set } from './state-mutators';\r\nimport api from '@/api';\r\n\r\nconst state = {\r\n historical: [],\r\n current: [],\r\n lastSave: null,\r\n};\r\n\r\nconst getters = {\r\n historical: get('historical'),\r\n current: get('current'),\r\n lastSave: get('lastSave'),\r\n};\r\n\r\nconst mutations = {\r\n historical: set('historical'),\r\n current: set('current'),\r\n lastSave: set('lastSave'),\r\n};\r\n\r\nconst actions = {\r\n fetchAll({ commit }) {\r\n return api.resource\r\n .all()\r\n .then((resources) => {\r\n commit('historical', resources);\r\n })\r\n .catch((e) => {\r\n console.error('Could not fetch historical resources: ', { ...e });\r\n });\r\n },\r\n fetchCurrent({ commit }) {\r\n return api.resource\r\n .current()\r\n .then((resources) => {\r\n commit('current', resources);\r\n })\r\n .catch((e) => {\r\n console.error('Could not fetch current resources: ', { ...e });\r\n });\r\n },\r\n fetchLastSaveTime({ commit }) {\r\n return api.resource\r\n .lastSaveTime()\r\n .then((clockObject) => {\r\n commit('lastSave', clockObject);\r\n })\r\n .catch((e) => {\r\n console.error('Could not fetch last save time: ', { ...e });\r\n });\r\n },\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions,\r\n};\r\n","import { get, set } from './state-mutators';\r\nimport api from '@/api';\r\n\r\nconst state = {\r\n historical: [],\r\n current: [],\r\n};\r\n\r\nconst getters = {\r\n historical: get('historical'),\r\n current: get('current'),\r\n};\r\n\r\nconst mutations = {\r\n historical: set('historical'),\r\n current: set('current'),\r\n};\r\n\r\nconst actions = {\r\n fetchCurrent({ commit }) {\r\n return api.commodity\r\n .current()\r\n .then((auctions) => {\r\n commit('current', auctions);\r\n })\r\n .catch((e) => {\r\n console.error('Could not fetch current auctions: ', { ...e });\r\n });\r\n },\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions,\r\n};\r\n","import { get, set } from './state-mutators';\r\nimport api from '@/api';\r\n\r\nconst user = JSON.parse(localStorage.getItem('auth'));\r\n\r\nconst initialState = user\r\n ? { status: { loggedIn: true }, auth: user }\r\n : { status: { loggedIn: false }, auth: null };\r\n\r\nconst state = initialState;\r\n\r\nconst getters = {\r\n auth: get('auth'),\r\n};\r\n\r\nconst mutations = {\r\n login(state, auth) {\r\n state.status = { loggedIn: true };\r\n state.auth = JSON.stringify(auth);\r\n localStorage.setItem('auth', JSON.stringify(auth));\r\n },\r\n logout(state) {\r\n state.auth = null;\r\n state.status.loggedIn = false;\r\n localStorage.removeItem('auth');\r\n },\r\n auth(state, auth) {\r\n state.auth = auth;\r\n },\r\n};\r\n\r\nconst actions = {\r\n login({ commit }, { username, password }) {\r\n return api.auth\r\n .login(username, password)\r\n .then((response) => {\r\n commit('login', response);\r\n })\r\n .catch((e) => {\r\n console.error('Could not fetch user credentials: ', { ...e });\r\n });\r\n },\r\n logout({ commit }) {\r\n commit('logout');\r\n },\r\n setAuth({ commit }, auth) {\r\n commit('auth', auth);\r\n },\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions,\r\n};\r\n","import Vue from 'vue';\r\nimport Vuex from 'vuex';\r\nimport city from './modules/city-module';\r\nimport coreui from './modules/coreui-module';\r\nimport settings from './modules/settings-module';\r\nimport player from './modules/player-module';\r\nimport resource from './modules/resource-module';\r\nimport commodity from './modules/commodity-module';\r\nimport auth from './modules/auth-module';\r\n\r\nVue.use(Vuex);\r\n\r\nconst debug = true;\r\n\r\nexport default new Vuex.Store({\r\n modules: {\r\n auth,\r\n city,\r\n coreui: coreui,\r\n settings,\r\n player,\r\n resource,\r\n commodity,\r\n },\r\n strict: debug,\r\n plugins: [],\r\n});\r\n","import 'core-js/stable';\r\nimport Vue from 'vue';\r\nimport App from './App';\r\nimport { router } from './router';\r\nimport CoreuiVue from '@coreui/vue';\r\nimport { iconsSet as icons } from './assets/icons/icons.js';\r\nimport store from './store';\r\n\r\nVue.config.performance = true;\r\nVue.use(CoreuiVue);\r\nVue.prototype.$log = console.log.bind(console);\r\n\r\nVue.directive('integer-only', {\r\n bind(el) {\r\n el.addEventListener('keypress', (e) => {\r\n let kc = e.keyCode || e.which;\r\n let regex = /[0-9]/;\r\n if (!regex.test(String.fromCharCode(kc))) {\r\n e.preventDefault();\r\n }\r\n });\r\n },\r\n});\r\nVue.directive('float-only', {\r\n bind(el) {\r\n el.addEventListener('keypress', (e) => {\r\n let kc = e.keyCode || e.which;\r\n let regex = /[0-9.]/;\r\n if (!regex.test(String.fromCharCode(kc))) {\r\n e.preventDefault();\r\n }\r\n });\r\n },\r\n});\r\n\r\nnew Vue({\r\n el: '#app',\r\n router,\r\n store,\r\n icons,\r\n template: '',\r\n components: {\r\n App,\r\n },\r\n});\r\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/AxiosClient.js","webpack:///./src/api/config.js","webpack:///./src/api/city-api.js","webpack:///./src/api/player-api.js","webpack:///./src/api/resource-api.js","webpack:///./src/api/settings-api.js","webpack:///./src/api/commodity-api.js","webpack:///./src/api/auth-api.js","webpack:///./src/api/index.js","webpack:///./src/App.vue?43bf","webpack:///src/App.vue","webpack:///./src/App.vue?a7d1","webpack:///./src/App.vue","webpack:///./src/router/index.js","webpack:///./src/assets/icons/logo.js","webpack:///./src/assets/icons/icons.js","webpack:///./src/store/modules/state-mutators.js","webpack:///./src/store/modules/city-module.js","webpack:///./src/store/modules/coreui-module.js","webpack:///./src/store/modules/settings-module.js","webpack:///./src/store/modules/player-module.js","webpack:///./src/store/modules/resource-module.js","webpack:///./src/store/modules/commodity-module.js","webpack:///./src/store/modules/auth-module.js","webpack:///./src/store/index.js","webpack:///./src/main.js","webpack:///./src/App.vue?f446"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","axios","require","default","defaults","headers","common","interceptors","use","url","includes","auth","JSON","parse","localStorage","getItem","accessToken","response","status","clear","location","client","config","SERVER_URL","catch","getCityDetail","getPlayerDetail","objectId","current","lastSaveTime","save","settings","post","login","username","password","city","commodity","player","resource","render","_vm","this","_h","$createElement","_c","_self","staticRenderFns","created","$store","dispatch","component","TheContainer","Dashboard","ViewCity","ViewPlayer","CityList","PlayerList","ResourceList","CommoditiesList","GameSettings","LoggingSettings","ServerSettings","TheLoginPage","Vue","Router","router","linkActiveClass","scrollBehavior","y","routes","configRoutes","path","redirect","children","props","meta","label","title","beforeEach","to","from","next","publicPages","authRequired","loggedIn","logo","iconsSet","assign","cilArrowRight","cilBan","cilBank","cilBarChart","cilBasket","cilBell","cilBox","cilBuilding","cilCalculator","cilCalendar","cilCloudDownload","cilChartPie","cilCheck","cilChevronBottom","cilChevronTop","cilCheckCircle","cilCommentBubbleQuestion","cilCommentSquare","cilCursor","cilDrop","cilDollar","cilEnvelopeClosed","cilEnvelopeOpen","cilEuro","cilGlobeAlt","cilGrid","cilFile","cilHealing","cilHome","cilInfinity","cilJustifyCenter","cilLaptop","cilLayers","cilLeaf","cilLightbulb","cilList","cilLocationPin","cilLockLocked","cilMagnifyingGlass","cilMoney","cilMoon","cilOptions","cilPencil","cilPeople","cilPlus","cilPuzzle","cilSchool","cilSettings","cilShieldAlt","cilSpeech","cilSpeedometer","cilStar","cilTask","cilTerrain","cilTrash","cilUser","cilUserFemale","cilUserFollow","cilXCircle","cifUs","cifBr","cifIn","cifFr","cifEs","cifPl","cibFacebook","cibTwitter","cibLinkedin","cibFlickr","cibTumblr","cibXing","cibGithub","cibStackoverflow","cibYoutube","cibDribbble","cibInstagram","cibPinterest","cibVk","cibYahoo","cibBehance","cibReddit","cibVimeo","cibCcMastercard","cibCcVisa","cibStripe","cibPaypal","cibGooglePay","cibCcAmex","cisPlus","propName","state","_","set","allCities","getters","cities","mutations","actions","fetchAll","commit","api","namespaced","Vuex","sidebarShow","sidebarMinimize","toggleSidebarDesktop","sidebarOpened","toggleSidebarMobile","sidebarClosed","variable","Store","loaded","allSettings","updatePlanetStatus","planet","centralServer","startPlanet","find","active","updateProperty","allPlayers","players","historical","lastSave","resources","fetchCurrent","fetchLastSaveTime","clockObject","auctions","user","initialState","stringify","setItem","logout","removeItem","setAuth","debug","coreui","strict","plugins","performance","CoreuiVue","$log","log","directive","el","addEventListener","kc","keyCode","which","regex","test","String","fromCharCode","preventDefault","store","icons","template","components","App"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAF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,OAAOiM,OAC7B,GACA,CAAEF,SACF,CACEG,sBACAC,eACAC,gBACAC,oBACAC,kBACAC,gBACAC,eACAC,oBACAC,sBACAC,oBACAC,yBACAC,oBACAC,iBACAC,yBACAC,sBACAC,uBACAC,iCACAC,yBACAC,kBACAC,gBACAC,kBACAC,0BACAC,wBACAC,gBACAC,oBACAC,gBACAC,gBACAC,mBACAC,gBACAC,oBACAC,yBACAC,kBACAC,kBACAC,gBACAC,qBACAC,gBACAC,uBACAC,sBACAC,2BACAC,iBACAC,gBACAC,mBACAC,kBACAC,kBACAC,gBACAC,kBACAC,kBACAC,oBACAC,qBACAC,kBACAC,uBACAC,gBACAC,gBACAC,mBACAC,iBACAC,gBACAC,sBACAC,sBACAC,oBAEF,CACEC,aACAC,aACAC,aACAC,cACAC,cACAC,eAEF,CACEC,mBACAC,kBACAC,mBACAC,iBACAC,iBACAC,eACAC,iBACAC,wBACAC,kBACAC,mBACAC,oBACAC,oBACAC,aACAC,gBACAC,kBACAC,iBACAC,gBACAC,uBACAC,iBACAC,iBACAC,iBACAC,oBACAC,kBAEF,CACEC,kB,qCCrLSrM,GAAM,SAACsM,GAAD,OAAc,SAACC,GAChC,OAAOC,KAAExM,IAAIuM,EAAOD,KASTG,GAAM,SAACH,GAAD,OAAc,SAACC,EAAOnM,GACvCoM,KAAEC,IAAIF,EAAOD,EAAUlM,K,0sBChBzB,IAAMmM,GAAQ,CACZG,UAAW,IAGPC,GAAU,CACdC,OAAQ5M,GAAI,cAGR6M,GAAY,CAChBD,OAAQH,GAAI,cAGRK,GAAU,CACdC,SADc,YACO,IAAVC,EAAU,EAAVA,OACT,OAAOC,QAAIzJ,KACRhE,MACAlB,MAAK,SAACsO,GACLI,EAAO,SAAUJ,MAElBhK,OAAM,SAACtG,GACN0E,QAAQjC,MAAM,+BAAd,MAAmDzC,SAK5C,IACb4Q,YAAY,EACZX,SACAI,WACAE,aACAC,Y,q9BC/BF1H,OAAIxD,IAAIuL,SAER,IAAMZ,GAAQ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MC,EAAUC,GAChBjF,MAAK,SAAC+D,GACL2K,EAAO,QAAS3K,MAEjBO,OAAM,SAACtG,GACN0E,QAAQjC,MAAM,qCAAd,MAAyDzC,QAG/D4S,OAXc,YAWK,IAAVlC,EAAU,EAAVA,OACPA,EAAO,WAEToC,QAdc,WAcMrN,GAAM,IAAhBiL,EAAgB,EAAhBA,OACRA,EAAO,OAAQjL,KAIJ,IACbmL,YAAY,EACZX,SACAI,WACAE,aACAC,YC7CF1H,OAAIxD,IAAIuL,SAER,IAAMkC,IAAQ,EAEC,OAAIlC,QAAKQ,MAAM,CAC5B1S,QAAS,CACP8G,QACAyB,QACA8L,OAAQA,GACRnM,YACAO,UACAC,YACAF,cAEF8L,OAAQF,GACRG,QAAS,KCjBXpK,OAAI1C,OAAO+M,aAAc,EACzBrK,OAAIxD,IAAI8N,KACRtK,OAAIxK,UAAU+U,KAAO3O,QAAQ4O,IAAIjP,KAAKK,SAEtCoE,OAAIyK,UAAU,eAAgB,CAC5BlP,KAD4B,SACvBmP,GACHA,EAAGC,iBAAiB,YAAY,SAACzT,GAC/B,IAAI0T,EAAK1T,EAAE2T,SAAW3T,EAAE4T,MACpBC,EAAQ,QACPA,EAAMC,KAAKC,OAAOC,aAAaN,KAClC1T,EAAEiU,uBAKVnL,OAAIyK,UAAU,aAAc,CAC1BlP,KAD0B,SACrBmP,GACHA,EAAGC,iBAAiB,YAAY,SAACzT,GAC/B,IAAI0T,EAAK1T,EAAE2T,SAAW3T,EAAE4T,MACpBC,EAAQ,SACPA,EAAMC,KAAKC,OAAOC,aAAaN,KAClC1T,EAAEiU,uBAMV,IAAInL,OAAI,CACN0K,GAAI,OACJxK,SACAkL,SACAC,SACAC,SAAU,SACVC,WAAY,CACVC,U,oCC1CJ,W","file":"js/app.4f156b21.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-062aa5fd\":\"652c1b50\",\"chunk-27c3ee78\":\"3e14b731\",\"chunk-2d0a3956\":\"68e0a4f3\",\"chunk-2d2086b7\":\"17be7ddb\",\"chunk-2d21082d\":\"a903c013\",\"chunk-2d217109\":\"10a58e20\",\"chunk-2d2218b5\":\"05083f06\",\"chunk-2d9c6148\":\"ad970f60\",\"chunk-4f2050ba\":\"619d2869\",\"chunk-789ba9d5\":\"4971df63\",\"chunk-2d0d43e6\":\"051f8d58\",\"chunk-2d2178ab\":\"7a2ea165\",\"chunk-f8fb68ce\":\"a11b2700\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-062aa5fd\":1,\"chunk-27c3ee78\":1,\"chunk-2d9c6148\":1,\"chunk-4f2050ba\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-062aa5fd\":\"7ce1b5cb\",\"chunk-27c3ee78\":\"d4eb39b3\",\"chunk-2d0a3956\":\"31d6cfe0\",\"chunk-2d2086b7\":\"31d6cfe0\",\"chunk-2d21082d\":\"31d6cfe0\",\"chunk-2d217109\":\"31d6cfe0\",\"chunk-2d2218b5\":\"31d6cfe0\",\"chunk-2d9c6148\":\"a2ab92c6\",\"chunk-4f2050ba\":\"54ccc5f7\",\"chunk-789ba9d5\":\"31d6cfe0\",\"chunk-2d0d43e6\":\"31d6cfe0\",\"chunk-2d2178ab\":\"31d6cfe0\",\"chunk-f8fb68ce\":\"31d6cfe0\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","const axios = require('axios').default;\r\n\r\naxios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\r\n\r\naxios.interceptors.request.use((request) => {\r\n if (!request.url.includes('login')) {\r\n let auth = JSON.parse(localStorage.getItem('auth'));\r\n request.headers['Authorization'] = 'Bearer ' + auth.accessToken;\r\n }\r\n return request;\r\n});\r\n\r\naxios.interceptors.response.use(\r\n (response) => {\r\n return response;\r\n },\r\n (error) => {\r\n if (401 === error.response.status) {\r\n localStorage.clear();\r\n window.location = '/#/login';\r\n } else {\r\n return Promise.reject(error);\r\n }\r\n }\r\n);\r\n\r\nexport { axios as client };\r\n","import { client } from '@/AxiosClient';\r\n\r\nexport default {\r\n client,\r\n};\r\n","import config from './config';\r\nimport { Promise } from 'core-js';\r\n\r\nconst client = config.client;\r\n\r\nexport default {\r\n all() {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/city/all`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n getCityDetail(name) {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/city/detail?name=${name}`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n};\r\n","import config from './config';\r\nimport { Promise } from 'core-js';\r\n\r\nconst client = config.client;\r\n\r\nexport default {\r\n all() {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/player/all`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n getPlayerDetail(objectId) {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/player/${objectId}`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n};\r\n","import config from './config';\r\nimport { Promise } from 'core-js';\r\n\r\nconst client = config.client;\r\n\r\nexport default {\r\n all() {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/resource/historical/all`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n current() {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/resource/current`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n lastSaveTime() {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/clock/lastSave`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n};\r\n","import config from './config';\r\nimport { Promise } from 'core-js';\r\n\r\nconst client = config.client;\r\n\r\nexport default {\r\n all() {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/settings/server`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n save(settings) {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .post(`${SERVER_URL}/settings/server`, settings)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n};\r\n","import config from './config';\r\nimport { Promise } from 'core-js';\r\n\r\nconst client = config.client;\r\n\r\nexport default {\r\n current() {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .get(`${SERVER_URL}/market/auctions`)\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n};\r\n","import config from './config';\r\n\r\nconst client = config.client;\r\n\r\nexport default {\r\n login(username, password) {\r\n return new Promise((resolve, reject) => {\r\n client\r\n .post(`${SERVER_URL}/auth/login`, { username, password })\r\n .then((r) => resolve(r.data))\r\n .catch((e) => reject(e));\r\n });\r\n },\r\n};\r\n","import config from './config';\r\nimport city from './city-api';\r\nimport player from './player-api';\r\nimport resource from './resource-api';\r\nimport settings from './settings-api';\r\nimport commodity from './commodity-api';\r\nimport auth from './auth-api';\r\n\r\nexport default {\r\n auth,\r\n config,\r\n city,\r\n commodity,\r\n player,\r\n resource,\r\n settings,\r\n};\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-view')}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=41a668ec&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue';\r\nimport Router from 'vue-router';\r\n\r\n// Containers\r\nconst TheContainer = () => import('@/containers/TheContainer');\r\n\r\n// Views\r\nconst Dashboard = () => import('@/views/Dashboard');\r\nconst ViewCity = () => import('@/views/city/ViewCity');\r\nconst ViewPlayer = () => import('@/views/player/ViewPlayer');\r\nconst CityList = () => import('@/views/city/CityList');\r\nconst PlayerList = () => import('@/views/player/PlayerList');\r\nconst ResourceList = () => import('@/views/resource/ResourceList');\r\nconst CommoditiesList = () => import('@/views/commodity/CommoditiesList');\r\n\r\n// Settings\r\nconst GameSettings = () => import('@/views/settings/Game');\r\nconst LoggingSettings = () => import('@/views/settings/Logging');\r\nconst ServerSettings = () => import('@/views/settings/Server');\r\n\r\n// Login\r\nconst TheLoginPage = () => import('@/views/Login');\r\n\r\nVue.use(Router);\r\n\r\nexport const router = new Router({\r\n mode: 'hash', // https://router.vuejs.org/api/#mode\r\n linkActiveClass: 'active',\r\n scrollBehavior: () => ({ y: 0 }),\r\n routes: configRoutes(),\r\n});\r\n\r\nfunction configRoutes() {\r\n return [\r\n {\r\n path: '/login',\r\n name: 'Login',\r\n component: TheLoginPage,\r\n },\r\n {\r\n path: '/',\r\n redirect: '/dashboard',\r\n name: 'Home',\r\n component: TheContainer,\r\n children: [\r\n {\r\n path: 'dashboard',\r\n name: 'Dashboard',\r\n component: Dashboard,\r\n },\r\n {\r\n path: 'city/:name',\r\n name: 'view-city',\r\n props: true,\r\n component: ViewCity,\r\n meta: {\r\n label: 'City Details',\r\n title: 'City Details',\r\n },\r\n },\r\n {\r\n path: 'cities',\r\n name: 'city-list',\r\n component: CityList,\r\n meta: {\r\n label: 'City List',\r\n title: 'City List',\r\n },\r\n },\r\n {\r\n path: 'player/:objectId',\r\n name: 'view-player',\r\n props: true,\r\n component: ViewPlayer,\r\n meta: {\r\n label: 'Player Details',\r\n title: 'Player Details',\r\n },\r\n },\r\n {\r\n path: 'players',\r\n name: 'player-list',\r\n component: PlayerList,\r\n meta: {\r\n label: 'Player List',\r\n title: 'Player List',\r\n },\r\n },\r\n {\r\n path: 'resources',\r\n name: 'resource-list',\r\n component: ResourceList,\r\n meta: {\r\n label: 'Resource List',\r\n title: 'Resource List',\r\n },\r\n },\r\n {\r\n path: 'bazaar',\r\n name: 'commodities-list',\r\n component: CommoditiesList,\r\n meta: {\r\n label: 'Commodities List',\r\n title: 'Commodities List',\r\n },\r\n children: [\r\n {\r\n path: ':filter',\r\n name: 'resource-list-filtered',\r\n component: ResourceList,\r\n props: true,\r\n meta: {\r\n label: 'Active Resources',\r\n title: 'Active Resources',\r\n },\r\n },\r\n ],\r\n },\r\n ],\r\n },\r\n {\r\n path: '/admin/settings',\r\n redirect: '/dashboard',\r\n name: 'Settings',\r\n component: TheContainer,\r\n children: [\r\n {\r\n path: 'game',\r\n name: 'game-settings',\r\n props: true,\r\n component: GameSettings,\r\n meta: {\r\n label: 'Game',\r\n title: 'Game',\r\n },\r\n },\r\n {\r\n path: 'logging',\r\n name: 'logging-settings',\r\n props: true,\r\n component: LoggingSettings,\r\n meta: {\r\n label: 'Logging',\r\n title: 'Logging',\r\n },\r\n },\r\n {\r\n path: 'server',\r\n name: 'server-settings',\r\n props: true,\r\n component: ServerSettings,\r\n meta: {\r\n label: 'Server',\r\n title: 'Server',\r\n },\r\n },\r\n ],\r\n },\r\n ];\r\n}\r\n\r\nfunction parseJwt(token) {\r\n var base64Url = token.split('.')[1];\r\n var base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/');\r\n var jsonPayload = decodeURIComponent(\r\n atob(base64)\r\n .split('')\r\n .map(function (c) {\r\n return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);\r\n })\r\n .join('')\r\n );\r\n\r\n return JSON.parse(jsonPayload);\r\n}\r\n\r\nrouter.beforeEach((to, from, next) => {\r\n const publicPages = ['/login'];\r\n const authRequired = !publicPages.includes(to.path);\r\n const loggedIn = localStorage.getItem('auth');\r\n\r\n // trying to access a restricted page + not logged in\r\n // redirect to login page\r\n if (authRequired && !loggedIn) {\r\n next('login');\r\n } else {\r\n next();\r\n }\r\n});\r\n","// Example of SVG converted to js array, so it can be used with CIcon.\r\n// the first argument is two last values of svg viewBox, \r\n// the second argument is the SVG content stripped of SVG tags\r\nexport const logo = ['556 134',`\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n`]\r\n","import {\r\n cibFacebook,\r\n cibTwitter,\r\n cibLinkedin,\r\n cibFlickr,\r\n cibTumblr,\r\n cibXing,\r\n cibGithub,\r\n cibStackoverflow,\r\n cibYoutube,\r\n cibDribbble,\r\n cibInstagram,\r\n cibPinterest,\r\n cibVk,\r\n cibYahoo,\r\n cibBehance,\r\n cibReddit,\r\n cibVimeo,\r\n cibCcMastercard,\r\n cibCcVisa,\r\n cibStripe,\r\n cibPaypal,\r\n cibGooglePay,\r\n cibCcAmex,\r\n} from '@coreui/icons';\r\nimport { cifUs, cifBr, cifIn, cifFr, cifEs, cifPl } from '@coreui/icons';\r\nimport {\r\n cilArrowRight,\r\n cilBan,\r\n cilBank,\r\n cilBarChart,\r\n cilBasket,\r\n cilBell,\r\n cilBuilding,\r\n cilCalculator,\r\n cilCalendar,\r\n cilCloudDownload,\r\n cilChartPie,\r\n cilCheck,\r\n cilChevronBottom,\r\n cilChevronTop,\r\n cilCheckCircle,\r\n cilCommentSquare,\r\n cilCursor,\r\n cilDrop,\r\n cilDollar,\r\n cilEnvelopeClosed,\r\n cilEnvelopeOpen,\r\n cilEuro,\r\n cilGlobeAlt,\r\n cilGrid,\r\n cilFile,\r\n cilHealing,\r\n cilHome,\r\n cilInfinity,\r\n cilJustifyCenter,\r\n cilLaptop,\r\n cilLayers,\r\n cilLeaf,\r\n cilLightbulb,\r\n cilList,\r\n cilLocationPin,\r\n cilLockLocked,\r\n cilMagnifyingGlass,\r\n cilMoney,\r\n cilMoon,\r\n cilOptions,\r\n cilPencil,\r\n cilPeople,\r\n cilPlus,\r\n cilPuzzle,\r\n cilSchool,\r\n cilSettings,\r\n cilShieldAlt,\r\n cilSpeech,\r\n cilSpeedometer,\r\n cilStar,\r\n cilTask,\r\n cilTerrain,\r\n cilTrash,\r\n cilUser,\r\n cilUserFemale,\r\n cilUserFollow,\r\n cilXCircle,\r\n} from '@coreui/icons';\r\nimport { logo } from './logo';\r\n\r\nimport { cisPlus } from '@coreui/icons-pro';\r\n\r\nimport { cilCommentBubbleQuestion, cilBox } from '@coreui/icons-pro';\r\n\r\nexport const iconsSet = Object.assign(\r\n {},\r\n { logo },\r\n {\r\n cilArrowRight,\r\n cilBan,\r\n cilBank,\r\n cilBarChart,\r\n cilBasket,\r\n cilBell,\r\n cilBox,\r\n cilBuilding,\r\n cilCalculator,\r\n cilCalendar,\r\n cilCloudDownload,\r\n cilChartPie,\r\n cilCheck,\r\n cilChevronBottom,\r\n cilChevronTop,\r\n cilCheckCircle,\r\n cilCommentBubbleQuestion,\r\n cilCommentSquare,\r\n cilCursor,\r\n cilDrop,\r\n cilDollar,\r\n cilEnvelopeClosed,\r\n cilEnvelopeOpen,\r\n cilEuro,\r\n cilGlobeAlt,\r\n cilGrid,\r\n cilFile,\r\n cilHealing,\r\n cilHome,\r\n cilInfinity,\r\n cilJustifyCenter,\r\n cilLaptop,\r\n cilLayers,\r\n cilLeaf,\r\n cilLightbulb,\r\n cilList,\r\n cilLocationPin,\r\n cilLockLocked,\r\n cilMagnifyingGlass,\r\n cilMoney,\r\n cilMoon,\r\n cilOptions,\r\n cilPencil,\r\n cilPeople,\r\n cilPlus,\r\n cilPuzzle,\r\n cilSchool,\r\n cilSettings,\r\n cilShieldAlt,\r\n cilSpeech,\r\n cilSpeedometer,\r\n cilStar,\r\n cilTask,\r\n cilTerrain,\r\n cilTrash,\r\n cilUser,\r\n cilUserFemale,\r\n cilUserFollow,\r\n cilXCircle,\r\n },\r\n {\r\n cifUs,\r\n cifBr,\r\n cifIn,\r\n cifFr,\r\n cifEs,\r\n cifPl,\r\n },\r\n {\r\n cibFacebook,\r\n cibTwitter,\r\n cibLinkedin,\r\n cibFlickr,\r\n cibTumblr,\r\n cibXing,\r\n cibGithub,\r\n cibStackoverflow,\r\n cibYoutube,\r\n cibDribbble,\r\n cibInstagram,\r\n cibPinterest,\r\n cibVk,\r\n cibYahoo,\r\n cibBehance,\r\n cibReddit,\r\n cibVimeo,\r\n cibCcMastercard,\r\n cibCcVisa,\r\n cibStripe,\r\n cibPaypal,\r\n cibGooglePay,\r\n cibCcAmex,\r\n },\r\n {\r\n cisPlus,\r\n }\r\n);\r\n","import _ from 'lodash';\r\n\r\n/**\r\n * Reusable generic property getter\r\n * @param {String} propName\r\n * @returns {*} The value of state[propName]\r\n */\r\n\r\nexport const get = (propName) => (state) => {\r\n return _.get(state, propName);\r\n};\r\n\r\n/**\r\n * Reusable generic property setter\r\n * @param {String} propName\r\n * @param {Object} value\r\n * @returns void\r\n */\r\nexport const set = (propName) => (state, value) => {\r\n _.set(state, propName, value);\r\n};\r\n","import { get, set } from './state-mutators';\r\nimport api from '@/api';\r\n\r\nconst state = {\r\n allCities: [],\r\n};\r\n\r\nconst getters = {\r\n cities: get('allCities'),\r\n};\r\n\r\nconst mutations = {\r\n cities: set('allCities'),\r\n};\r\n\r\nconst actions = {\r\n fetchAll({ commit }) {\r\n return api.city\r\n .all()\r\n .then((cities) => {\r\n commit('cities', cities);\r\n })\r\n .catch((e) => {\r\n console.error('Could not fetch all cities: ', { ...e });\r\n });\r\n },\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions,\r\n};\r\n","import Vue from 'vue'\r\nimport Vuex from 'vuex'\r\nVue.use(Vuex)\r\n\r\nconst state = {\r\n sidebarShow: 'responsive',\r\n sidebarMinimize: false\r\n}\r\n\r\nconst mutations = {\r\n toggleSidebarDesktop (state) {\r\n const sidebarOpened = [true, 'responsive'].includes(state.sidebarShow)\r\n state.sidebarShow = sidebarOpened ? false : 'responsive'\r\n },\r\n toggleSidebarMobile (state) {\r\n const sidebarClosed = [false, 'responsive'].includes(state.sidebarShow)\r\n state.sidebarShow = sidebarClosed ? true : 'responsive'\r\n },\r\n set (state, [variable, value]) {\r\n state[variable] = value\r\n }\r\n}\r\n\r\nexport default new Vuex.Store({\r\n state,\r\n mutations\r\n})","import { get, set } from './state-mutators';\r\nimport api from '@/api';\r\nimport _ from 'lodash';\r\n\r\nconst state = {\r\n loaded: false,\r\n allSettings: [],\r\n};\r\n\r\nconst getters = {\r\n settings: get('allSettings'),\r\n loaded: get('loaded'),\r\n};\r\n\r\nconst mutations = {\r\n settings(state, settings) {\r\n state.allSettings = settings;\r\n state.loaded = true;\r\n },\r\n updatePlanetStatus(state, planet) {\r\n state.allSettings.centralServer.startPlanet.find(\r\n (p) => p.name === planet.planet\r\n ).active = planet.status;\r\n api.settings.save(state.allSettings);\r\n },\r\n updateProperty(state, { property, value }) {\r\n _.set(state.allSettings, property, value);\r\n api.settings.save(state.allSettings);\r\n },\r\n};\r\n\r\nconst actions = {\r\n fetchAll({ commit }) {\r\n return api.settings\r\n .all()\r\n .then((settings) => {\r\n commit('settings', settings);\r\n })\r\n .catch((e) => {\r\n console.error('Could not fetch all settings: ', { ...e });\r\n });\r\n },\r\n updatePlanetStatus({ commit }, { planet, status }) {\r\n commit('updatePlanetStatus', { planet, status });\r\n },\r\n updateProperty({ commit }, { property, value }) {\r\n commit('updateProperty', { property, value });\r\n },\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions,\r\n};\r\n","import { get, set } from './state-mutators';\r\nimport api from '@/api';\r\n\r\nconst state = {\r\n allPlayers: [],\r\n};\r\n\r\nconst getters = {\r\n players: get('allPlayers'),\r\n};\r\n\r\nconst mutations = {\r\n players: set('allPlayers'),\r\n};\r\n\r\nconst actions = {\r\n fetchAll({ commit }) {\r\n return api.player\r\n .all()\r\n .then((players) => {\r\n commit('players', players);\r\n })\r\n .catch((e) => {\r\n console.error('Could not fetch all players: ', { ...e });\r\n });\r\n },\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions,\r\n};\r\n","import { get, set } from './state-mutators';\r\nimport api from '@/api';\r\n\r\nconst state = {\r\n historical: [],\r\n current: [],\r\n lastSave: null,\r\n};\r\n\r\nconst getters = {\r\n historical: get('historical'),\r\n current: get('current'),\r\n lastSave: get('lastSave'),\r\n};\r\n\r\nconst mutations = {\r\n historical: set('historical'),\r\n current: set('current'),\r\n lastSave: set('lastSave'),\r\n};\r\n\r\nconst actions = {\r\n fetchAll({ commit }) {\r\n return api.resource\r\n .all()\r\n .then((resources) => {\r\n commit('historical', resources);\r\n })\r\n .catch((e) => {\r\n console.error('Could not fetch historical resources: ', { ...e });\r\n });\r\n },\r\n fetchCurrent({ commit }) {\r\n return api.resource\r\n .current()\r\n .then((resources) => {\r\n commit('current', resources);\r\n })\r\n .catch((e) => {\r\n console.error('Could not fetch current resources: ', { ...e });\r\n });\r\n },\r\n fetchLastSaveTime({ commit }) {\r\n return api.resource\r\n .lastSaveTime()\r\n .then((clockObject) => {\r\n commit('lastSave', clockObject);\r\n })\r\n .catch((e) => {\r\n console.error('Could not fetch last save time: ', { ...e });\r\n });\r\n },\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions,\r\n};\r\n","import { get, set } from './state-mutators';\r\nimport api from '@/api';\r\n\r\nconst state = {\r\n historical: [],\r\n current: [],\r\n};\r\n\r\nconst getters = {\r\n historical: get('historical'),\r\n current: get('current'),\r\n};\r\n\r\nconst mutations = {\r\n historical: set('historical'),\r\n current: set('current'),\r\n};\r\n\r\nconst actions = {\r\n fetchCurrent({ commit }) {\r\n return api.commodity\r\n .current()\r\n .then((auctions) => {\r\n commit('current', auctions);\r\n })\r\n .catch((e) => {\r\n console.error('Could not fetch current auctions: ', { ...e });\r\n });\r\n },\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions,\r\n};\r\n","import { get, set } from './state-mutators';\r\nimport api from '@/api';\r\n\r\nconst user = JSON.parse(localStorage.getItem('auth'));\r\n\r\nconst initialState = user\r\n ? { status: { loggedIn: true }, auth: user }\r\n : { status: { loggedIn: false }, auth: null };\r\n\r\nconst state = initialState;\r\n\r\nconst getters = {\r\n auth: get('auth'),\r\n};\r\n\r\nconst mutations = {\r\n login(state, auth) {\r\n state.status = { loggedIn: true };\r\n state.auth = JSON.stringify(auth);\r\n localStorage.setItem('auth', JSON.stringify(auth));\r\n },\r\n logout(state) {\r\n state.auth = null;\r\n state.status.loggedIn = false;\r\n localStorage.removeItem('auth');\r\n },\r\n auth(state, auth) {\r\n state.auth = auth;\r\n },\r\n};\r\n\r\nconst actions = {\r\n login({ commit }, { username, password }) {\r\n return api.auth\r\n .login(username, password)\r\n .then((response) => {\r\n commit('login', response);\r\n })\r\n .catch((e) => {\r\n console.error('Could not fetch user credentials: ', { ...e });\r\n });\r\n },\r\n logout({ commit }) {\r\n commit('logout');\r\n },\r\n setAuth({ commit }, auth) {\r\n commit('auth', auth);\r\n },\r\n};\r\n\r\nexport default {\r\n namespaced: true,\r\n state,\r\n getters,\r\n mutations,\r\n actions,\r\n};\r\n","import Vue from 'vue';\r\nimport Vuex from 'vuex';\r\nimport city from './modules/city-module';\r\nimport coreui from './modules/coreui-module';\r\nimport settings from './modules/settings-module';\r\nimport player from './modules/player-module';\r\nimport resource from './modules/resource-module';\r\nimport commodity from './modules/commodity-module';\r\nimport auth from './modules/auth-module';\r\n\r\nVue.use(Vuex);\r\n\r\nconst debug = true;\r\n\r\nexport default new Vuex.Store({\r\n modules: {\r\n auth,\r\n city,\r\n coreui: coreui,\r\n settings,\r\n player,\r\n resource,\r\n commodity,\r\n },\r\n strict: debug,\r\n plugins: [],\r\n});\r\n","import 'core-js/stable';\r\nimport Vue from 'vue';\r\nimport App from './App';\r\nimport { router } from './router';\r\nimport CoreuiVue from '@coreui/vue';\r\nimport { iconsSet as icons } from './assets/icons/icons.js';\r\nimport store from './store';\r\n\r\nVue.config.performance = true;\r\nVue.use(CoreuiVue);\r\nVue.prototype.$log = console.log.bind(console);\r\n\r\nVue.directive('integer-only', {\r\n bind(el) {\r\n el.addEventListener('keypress', (e) => {\r\n let kc = e.keyCode || e.which;\r\n let regex = /[0-9]/;\r\n if (!regex.test(String.fromCharCode(kc))) {\r\n e.preventDefault();\r\n }\r\n });\r\n },\r\n});\r\nVue.directive('float-only', {\r\n bind(el) {\r\n el.addEventListener('keypress', (e) => {\r\n let kc = e.keyCode || e.which;\r\n let regex = /[0-9.]/;\r\n if (!regex.test(String.fromCharCode(kc))) {\r\n e.preventDefault();\r\n }\r\n });\r\n },\r\n});\r\n\r\nnew Vue({\r\n el: '#app',\r\n router,\r\n store,\r\n icons,\r\n template: '',\r\n components: {\r\n App,\r\n },\r\n});\r\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/chunk-27c3ee78.38e3591c.js b/dist/js/chunk-27c3ee78.38e3591c.js deleted file mode 100644 index eb29975..0000000 --- a/dist/js/chunk-27c3ee78.38e3591c.js +++ /dev/null @@ -1,2 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-27c3ee78"],{"2d9a":function(t,e,r){"use strict";r.r(e);var a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("CCard",[r("CCardHeader",[r("h2",[t._v("Logging Settings")])])],1),t.sharedLog?r("CCard",[r("CCardHeader",[r("h3",[t._v("General Settings")])]),r("CCardBody",[r("CRow",[r("CCol",{attrs:{col:"4"}},[r("Toggle",{staticClass:"server-config",attrs:{label:"Chat Server Logging:",checked:t.chatServer.loggingEnabled,property:"chatServer.loggingEnabled"},on:{"update:checked":t.updateProperty}}),r("Toggle",{staticClass:"server-config",attrs:{label:"Game AI Logging:",checked:t.gameServer.aiLoggingEnabled,property:"gameServer.aiLoggingEnabled"},on:{"update:checked":t.updateProperty}}),r("Toggle",{staticClass:"server-config",attrs:{label:"Report AI Warnings:",checked:t.gameServer.reportAiWarnings,property:"gameServer.reportAiWarnings"},on:{"update:checked":t.updateProperty}}),r("Toggle",{staticClass:"server-config",attrs:{label:"Java Console Debug:",checked:t.gameServer.javaConsoleDebugMessages,property:"gameServer.javaConsoleDebugMessages"},on:{"update:checked":t.updateProperty}})],1)],1)],1)],1):t._e(),r("CCard",[r("CCardHeader",[r("CRow",[r("CCol",[r("h3",[t._v("Log Targets")])]),r("CCol",{staticClass:"text-right"},[r("CButton",{attrs:{color:"success"},on:{click:t.handleAddTarget}},[t._v("New")])],1)],1)],1),r("CCardBody",[r("CRow",[r("CCol",[t._v(' Below are the Log Targets that are defined. A "Log Target" is where logging data created from a channel, data or process will be captured. ')])],1),r("CRow",{staticClass:"mt-3"},[r("CCol",[r("CDataTable",{attrs:{title:"File Targets",items:t.logTargets,fields:t.logTargetFields},scopedSlots:t._u([{key:"type",fn:function(e){var a=e.item;return[r("td",[r("CBadge",{attrs:{color:"info"}},[t._v(t._s(t.getItemType(a)))])],1)]}},{key:"filters",fn:function(e){var a=e.item;return[r("td",t._l(a.filters,(function(e,a){return r("span",{key:e+"_"+a},[r("CRow",[r("CCol",{attrs:{col:"4"}},[r("CBadge",{attrs:{color:"primary"}},[t._v(" Type: "+t._s(e.type)+" ")]),e.negate?r("CBadge",{attrs:{color:"danger"}},[t._v("Excluded")]):r("CBadge",{attrs:{color:"success"}},[t._v("Included")])],1),r("CCol",[t._v(" "+t._s(e.match)+" ")])],1)],1)})),0)]}},{key:"status",fn:function(t){var e=t.item;return[r("td",[r("CSwitch",{attrs:{"label-on":"On","label-off":"Off",shape:"pill",color:"primary",checked:e.status}})],1)]}},{key:"actions",fn:function(e){var a=e.item,n=e.index;return[r("td",[r("CButton",{staticClass:"mr-1",attrs:{color:"primary",size:"sm"},on:{click:function(e){return t.updateTarget({item:a,index:n})}}},[t._v("Edit")]),r("CButton",{attrs:{color:"danger",size:"sm"},on:{click:function(e){return t.deleteTarget(a)}}},[t._v("Delete")])],1)]}}])})],1)],1)],1)],1),r("UpdateLogTargetModal",{attrs:{show:t.showUpdateTargetModal,target:t.currentLogTarget},on:{"update:show":function(e){t.showUpdateTargetModal=e},save:t.handleUpdateTarget}})],1)},n=[],s=r("a38d"),i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.updatedTarget?r("CModal",{attrs:{show:t.show,size:"lg","close-on-backdrop":!1},scopedSlots:t._u([{key:"header",fn:function(){return[r("h4",[t._v("Update Log Target")])]},proxy:!0},{key:"footer",fn:function(){return[r("CButton",{attrs:{color:"primary",disabled:!t.filtersValid},on:{click:t.handleSubmit}},[t._v("OK")]),r("CButton",{attrs:{color:"secondary"},on:{click:t.handleCancel}},[t._v("Cancel")])]},proxy:!0}],null,!1,1857867900)},[r("CForm",[r("label",[t._v("Status")]),r("CSwitch",{staticClass:"pt-2 ml-3",attrs:{color:"primary",shape:"pill","label-off":"Off","label-on":"On",checked:t.updatedTarget.status},on:{"update:checked":function(e){return t.$set(t.updatedTarget,"status",e)}}}),r("CRow",[r("CCol",{attrs:{col:"3"}},[r("CSelect",{attrs:{label:"Type",options:t.types,value:t.updatedTarget.type},on:{"update:value":function(e){return t.$set(t.updatedTarget,"type",e)}}})],1),r("CCol",[r("CInput",{attrs:{label:"Path",value:t.updatedTarget.path},on:{"update:value":function(e){return t.$set(t.updatedTarget,"path",e)}}})],1)],1),r("CRow",{staticClass:"mb-2"},[r("CCol",[r("h4",[t._v("Filters:")])]),r("CCol",{staticClass:"text-right"},[r("CButton",{attrs:{color:"success",size:"sm"},on:{click:t.addFilter}},[r("CIcon",{attrs:{name:"cis-plus"}})],1)],1)],1),r("CRow",[r("CCol",[r("CDataTable",{attrs:{items:t.updatedFilters,fields:t.filterFields,size:"sm",striped:""},scopedSlots:t._u([{key:"type",fn:function(e){var a=e.item;return[r("td",[r("CSelect",{attrs:{options:t.filterTypes,value:a.type,placeholder:"-- Choose --"},on:{"update:value":function(e){return t.$set(a,"type",e)}}})],1)]}},{key:"match",fn:function(e){var a=e.item;return[r("td",[r("CInput",{attrs:{value:a.match},on:{"update:value":function(e){return t.$set(a,"match",e)}}})],1)]}},{key:"negate",fn:function(e){var a=e.item;return[r("td",[r("CInputCheckbox",{staticClass:"ml-3 mt-1",attrs:{checked:a.negate},on:{"update:checked":function(e){return t.$set(a,"negate",e)}}})],1)]}},{key:"filtered",fn:function(e){var a=e.item;return[r("td",[r("CInputCheckbox",{staticClass:"ml-3 mt-1",attrs:{checked:a.filtered},on:{"update:checked":function(e){return t.$set(a,"filtered",e)}}})],1)]}},{key:"actions",fn:function(e){var a=e.item;return[r("td",{staticClass:"text-center"},[r("CButton",{attrs:{color:"danger",size:"sm"},on:{click:function(e){return t.handleRemoveFilter(a)}}},[r("CIcon",{attrs:{name:"cil-trash"}})],1)],1)]}}],null,!1,2282871558)})],1)],1)],1)],1):t._e()},o=[];function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function u(t){for(var e=1;e0},updatedFilters:{get:function(){return this.updatedTarget&&this.updatedTarget.filters?this.updatedTarget.filters:[]},set:function(t){this.updatedTarget.filters=t}},filtersValid:function(){var t=!0;return this.updatedFilters&&this.updatedFilters.length>0?this.updatedFilters.forEach((function(e){e.match&&e.type||(t=!1)})):t=!1,t}},methods:{handleCancel:function(){this.updatedTarget=null,this.$emit("update:show",!1)},handleSubmit:function(){var t={index:this.target.index,type:this.updatedTarget.type,path:this.updatedTarget.path,filters:this.updatedTarget.filters,status:this.updatedTarget.status};this.updatedTarget=null,this.$emit("save",t),this.$emit("update:show",!1)},addFilter:function(){var t={match:null,filtered:!1,negate:!1,type:null};this.updatedTarget.filters?this.updatedTarget.filters.push(t):this.updatedTarget.filters=[t]},handleRemoveFilter:function(t){console.log("filters: ",u({},this.updatedFilters)),console.log("filter: ",u({},t));var e=JSON.parse(JSON.stringify(this.updatedFilters));_.remove(e,t),this.updatedFilters=e,console.log("updated: ",u({},this.updatedFilters))},handleUpdateFilter:function(t,e){console.log("ufilters: ",u({},this.updatedFilters)),console.log("filter: ",u({},t));var r=JSON.parse(JSON.stringify(this.updatedFilters));r[e]=JSON.parse(JSON.stringify(t)),this.updatedFilters=JSON.parse(JSON.stringify(r)),console.log("uupdated: ",u({},this.updatedFilters))}},data:function(){return{updatedTarget:JSON.parse(JSON.stringify(this.target))}},watch:{target:function(t){this.updatedTarget=JSON.parse(JSON.stringify(t))}}},f=g,b=r("2877"),y=Object(b["a"])(f,i,o,!1,null,null,null),v=y.exports,m=[{label:"Type",key:"type"},{label:"Path",key:"path"},{label:"Filters",key:"filters"},{label:"Status",key:"status"},{label:"Actions",key:"actions"}],C={name:"LoggingSettings",mixins:[s["a"]],components:{UpdateLogTargetModal:v},computed:{logTargetFields:function(){return m},logTargets:function(){return this.sharedLog.logTargets}},methods:{updateTarget:function(t){var e=t.item,r=t.index;e.index=r,this.currentLogTarget=e,this.showUpdateTargetModal=!0},deleteTarget:function(t){var e=_.filter(this.logTargets,(function(e){return e!==t}));this.updateProperty({property:"sharedLog.logTargets",value:e})},getItemType:function(t){switch(t.type){case"net":return"Network";case"file":return"File";case"tailfile":return"Tail File"}return"Unknown"},handleAddTarget:function(){this.currentLogTarget={index:this.logTargets.length||0,type:null,path:null,filters:[],status:!0},this.showUpdateTargetModal=!0},handleUpdateTarget:function(t){var e=JSON.parse(JSON.stringify(this.logTargets));0===t.index?e=t:t.index>this.sharedLog.logTargets.length?e.push(t):e[t.index]=JSON.parse(JSON.stringify(t)),this.updateProperty({property:"sharedLog.logTargets",value:e})}},data:function(){return{currentLogTarget:null,showUpdateTargetModal:!1}}},S=C,O=Object(b["a"])(S,a,n,!1,null,null,null);e["default"]=O.exports},a38d:function(t,e,r){"use strict";r.d(e,"a",(function(){return Y}));var a={};r.r(a),r.d(a,"sharedComputedProps",(function(){return m})),r.d(a,"wrapperComputedProps",(function(){return C})),r.d(a,"watchValue",(function(){return S})),r.d(a,"classesComputedProps",(function(){return O}));var n=r("2ef0"),s=r.n(n),i=r("2f62"),o=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticStyle:{"margin-top":"5px"}},[r("CRow",[r("CCol",[r("label",{staticClass:"mr-4 switch-label",staticStyle:{"vertical-align":"top","margin-top":"3px"}},[t._v(" "+t._s(t.label)+" ")])]),r("CCol",{class:{"text-right":t.alignRight}},[r("CSwitch",{staticStyle:{width:"47px"},attrs:{shape:"pill",color:"primary","label-on":"On","label-off":"Off",checked:t.checked},on:{"update:checked":function(e){t.$emit("update:checked",{property:t.property,value:t.inverse?!e:e})}}})],1)],1)],1)},l=[],u={name:"Toggle",props:{label:String,checked:Boolean,property:String,inverse:{type:Boolean,default:!1},alignRight:{type:Boolean,default:!1}}},c=u,d=r("2877"),p=Object(d["a"])(c,o,l,!1,null,null,null),h=p.exports,g=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("CFormGroup",t._b({scopedSlots:t._u([{key:"label",fn:function(){return[t._t("label",[t.label?r("label",{class:t.labelClasses,attrs:{for:t.safeId}},[t._v(" "+t._s(t.label)+" ")]):t._e()])]},proxy:!0},{key:"input",fn:function(){return[r("input",t._g(t._b({directives:[{name:"integer-only",rawName:"v-integer-only"}],class:t.inputClasses,attrs:{id:t.safeId,type:t.type,readonly:t.readonly||t.plaintext},domProps:{value:t.state},on:{input:function(e){return t.onInput(e)},change:function(e){return t.onChange(e)}}},"input",t.$attrs,!1),t.listeners)),r("div",{staticClass:"sub-text"},[t._v(t._s(t.verbalTime))])]},proxy:!0},t._l(t.$options.slots,(function(e){return{key:e,fn:function(){return[t._t(e)]},proxy:!0}}))],null,!0)},"CFormGroup",{append:t.append,prepend:t.prepend,validFeedback:t.validFeedback,invalidFeedback:t.invalidFeedback,tooltipFeedback:t.tooltipFeedback,description:t.description,wrapperClasses:t.wrapperClasses,class:t.computedClasses},!1))},f=[],b=function(){var t=Math.random().toString(36).substr(2);return"uid-"+t},y=b;function v(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var m={computed:{computedIsValid:function(){return"function"===typeof this.isValid?this.isValid(this.state):this.isValid},validationClass:function(){if("boolean"===typeof this.computedIsValid)return this.computedIsValid?"is-valid":"is-invalid"},safeId:function(){return this.id||this.$attrs.id?this.id||this.$attrs.id:y()}}},C={computed:{isHorizontal:function(){return Boolean(this.horizontal)},haveInputGroup:function(){return Boolean(this.tooltipFeedback||this.append||this.prepend||this.$slots.append||this.$slots.prepend||this.$slots["append-content"]||this.$slots["prepend-content"])},haveWrapper:function(){return this.haveInputGroup||Boolean(this.addWrapperClasses||this.isHorizontal)},wrapperClasses:function(){var t;if(this.haveWrapper)return[this.addWrapperClasses,(t={},v(t,this.horizontal.input||"col-sm-9",this.isHorizontal),v(t,"input-group",this.haveInputGroup),v(t,"input-group-".concat(this.size),this.haveCustomSize),t)]}}},S={watch:{value:function(t){this.state=t}}},O={computed:{haveCustomSize:function(){return["sm","lg"].includes(this.size)},computedClasses:function(){return["form-group",{"was-validated":this.wasValidated,"form-row":this.isHorizontal}]},labelClasses:function(){var t;return[this.addLabelClasses,(t={"col-form-label":this.isHorizontal},v(t,this.horizontal.label||"col-sm-3",this.isHorizontal),v(t,"col-form-label-".concat(this.size),this.haveCustomSize),t)]},customSizeClass:function(){if(this.haveCustomSize&&!this.haveWrapper)return"form-control-".concat(this.size)},inputClasses:function(){return[this.inputClass||"form-control".concat(this.plaintext?"-plaintext":""),this.validationClass,this.addInputClasses,this.customSizeClass]}}},T={validFeedback:String,invalidFeedback:String,tooltipFeedback:Boolean,description:String},w=Object.assign({},T,{append:String,prepend:String}),k=(Object.assign({},w,{wrapperClasses:[String,Array,Object]}),{label:String,wasValidated:Boolean,isValid:{type:[Boolean,Function],default:null},addInputClasses:[String,Array,Object],addLabelClasses:[String,Array,Object]}),j=Object.assign({},k,{horizontal:[Boolean,Object],size:{type:String,validator:function(t){return["","sm","lg"].includes(t)}},addWrapperClasses:[String,Array,Object]}),_={readonly:Boolean,plaintext:Boolean,value:[String,Number],lazy:{type:[Boolean,Number],default:400}},P=(Object.assign({},T,j,{custom:Boolean,placeholder:String,multiple:Boolean}),Object.assign({},w,j,_),Object.assign({},w,j,_,{type:{type:String,default:"text"}}));Object.assign({},w,j,{options:Array,value:[String,Number,Boolean,Array],plaintext:Boolean,placeholder:String,custom:Boolean}),Object.assign({},T,k,{checked:Boolean,custom:Boolean,inline:Boolean});function F(t,e){if(null==t)return{};var r,a,n=x(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function x(t,e){if(null==t)return{};var r,a,n={},s=Object.keys(t);for(a=0;a=0||(n[r]=t[r]);return n}function B(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function V(t){for(var e=1;e\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

Filters:

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpdateLogTargetModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpdateLogTargetModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UpdateLogTargetModal.vue?vue&type=template&id=0f96d5bc&\"\nimport script from \"./UpdateLogTargetModal.vue?vue&type=script&lang=js&\"\nexport * from \"./UpdateLogTargetModal.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Logging.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Logging.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Logging.vue?vue&type=template&id=632c827e&\"\nimport script from \"./Logging.vue?vue&type=script&lang=js&\"\nexport * from \"./Logging.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"margin-top\":\"5px\"}},[_c('CRow',[_c('CCol',[_c('label',{staticClass:\"mr-4 switch-label\",staticStyle:{\"vertical-align\":\"top\",\"margin-top\":\"3px\"}},[_vm._v(\" \"+_vm._s(_vm.label)+\" \")])]),_c('CCol',{class:{ 'text-right': _vm.alignRight }},[_c('CSwitch',{staticStyle:{\"width\":\"47px\"},attrs:{\"shape\":\"pill\",\"color\":\"primary\",\"label-on\":\"On\",\"label-off\":\"Off\",\"checked\":_vm.checked},on:{\"update:checked\":function (e) {\n _vm.$emit('update:checked', { property: _vm.property, value: _vm.inverse ? !e : e });\n }}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Toggle.vue?vue&type=template&id=41d1637b&\"\nimport script from \"./Toggle.vue?vue&type=script&lang=js&\"\nexport * from \"./Toggle.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('CFormGroup',_vm._b({scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._t(\"label\",[(_vm.label)?_c('label',{class:_vm.labelClasses,attrs:{\"for\":_vm.safeId}},[_vm._v(\" \"+_vm._s(_vm.label)+\" \")]):_vm._e()])]},proxy:true},{key:\"input\",fn:function(){return [_c('input',_vm._g(_vm._b({directives:[{name:\"integer-only\",rawName:\"v-integer-only\"}],class:_vm.inputClasses,attrs:{\"id\":_vm.safeId,\"type\":_vm.type,\"readonly\":_vm.readonly || _vm.plaintext},domProps:{\"value\":_vm.state},on:{\"input\":function($event){return _vm.onInput($event)},\"change\":function($event){return _vm.onChange($event)}}},'input',_vm.$attrs,false),_vm.listeners)),_c('div',{staticClass:\"sub-text\"},[_vm._v(_vm._s(_vm.verbalTime))])]},proxy:true},_vm._l((_vm.$options.slots),function(slot){return {key:slot,fn:function(){return [_vm._t(slot)]},proxy:true}})],null,true)},'CFormGroup',{\n append: _vm.append,\n prepend: _vm.prepend,\n validFeedback: _vm.validFeedback,\n invalidFeedback: _vm.invalidFeedback,\n tooltipFeedback: _vm.tooltipFeedback,\n description: _vm.description,\n wrapperClasses: _vm.wrapperClasses,\n class: _vm.computedClasses,\n },false))}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","//function for UI releted ID assignment, due to one in 10^15 probability of duplication\r\nconst makeUid = () => {\r\n const key = Math.random().toString(36).substr(2)\r\n return 'uid-' + key\r\n}\r\n\r\nexport default makeUid","import { makeUid } from '@coreui/utils/src';\r\n\r\nexport const sharedComputedProps = {\r\n computed: {\r\n computedIsValid() {\r\n if (typeof this.isValid === 'function') {\r\n return this.isValid(this.state);\r\n }\r\n return this.isValid;\r\n },\r\n validationClass() {\r\n if (typeof this.computedIsValid === 'boolean') {\r\n return this.computedIsValid ? 'is-valid' : 'is-invalid';\r\n }\r\n },\r\n safeId() {\r\n if (this.id || this.$attrs.id) {\r\n return this.id || this.$attrs.id;\r\n }\r\n return makeUid();\r\n },\r\n },\r\n};\r\n\r\nexport const wrapperComputedProps = {\r\n computed: {\r\n isHorizontal() {\r\n return Boolean(this.horizontal);\r\n },\r\n haveInputGroup() {\r\n return Boolean(\r\n this.tooltipFeedback ||\r\n this.append ||\r\n this.prepend ||\r\n this.$slots.append ||\r\n this.$slots.prepend ||\r\n this.$slots['append-content'] ||\r\n this.$slots['prepend-content']\r\n );\r\n },\r\n haveWrapper() {\r\n return (\r\n this.haveInputGroup ||\r\n Boolean(this.addWrapperClasses || this.isHorizontal)\r\n );\r\n },\r\n wrapperClasses() {\r\n if (this.haveWrapper) {\r\n return [\r\n this.addWrapperClasses,\r\n {\r\n [this.horizontal.input || 'col-sm-9']: this.isHorizontal,\r\n 'input-group': this.haveInputGroup,\r\n [`input-group-${this.size}`]: this.haveCustomSize,\r\n },\r\n ];\r\n }\r\n },\r\n },\r\n};\r\n\r\nexport const watchValue = {\r\n watch: {\r\n value(val) {\r\n this.state = val;\r\n },\r\n },\r\n};\r\n\r\nexport const classesComputedProps = {\r\n computed: {\r\n haveCustomSize() {\r\n return ['sm', 'lg'].includes(this.size);\r\n },\r\n computedClasses() {\r\n return [\r\n 'form-group',\r\n {\r\n 'was-validated': this.wasValidated,\r\n 'form-row': this.isHorizontal,\r\n },\r\n ];\r\n },\r\n labelClasses() {\r\n return [\r\n this.addLabelClasses,\r\n {\r\n 'col-form-label': this.isHorizontal,\r\n [this.horizontal.label || 'col-sm-3']: this.isHorizontal,\r\n [`col-form-label-${this.size}`]: this.haveCustomSize,\r\n },\r\n ];\r\n },\r\n customSizeClass() {\r\n if (this.haveCustomSize && !this.haveWrapper) {\r\n return `form-control-${this.size}`;\r\n }\r\n },\r\n inputClasses() {\r\n return [\r\n this.inputClass || `form-control${this.plaintext ? '-plaintext' : ''}`,\r\n this.validationClass,\r\n this.addInputClasses,\r\n this.customSizeClass,\r\n ];\r\n },\r\n },\r\n};\r\n","const formGroupAlwaysSharedProps = {\r\n validFeedback: String,\r\n invalidFeedback: String,\r\n tooltipFeedback: Boolean,\r\n description: String\r\n}\r\nconst formGroupSharedProps = Object.assign(\r\n {}, \r\n formGroupAlwaysSharedProps,\r\n {\r\n append: String,\r\n prepend: String\r\n }\r\n)\r\n\r\nexport const formGroupProps = Object.assign(\r\n {}, formGroupSharedProps, { wrapperClasses: [String, Array, Object] }\r\n)\r\n\r\nconst universalProps = {\r\n label: String,\r\n wasValidated: Boolean,\r\n isValid: {\r\n type: [Boolean, Function],\r\n default: null\r\n },\r\n addInputClasses: [String, Array, Object],\r\n addLabelClasses: [String, Array, Object]\r\n}\r\nconst props = Object.assign(\r\n {}, \r\n universalProps, \r\n {\r\n horizontal: [Boolean, Object],\r\n size: {\r\n type: String,\r\n validator: str => ['','sm','lg'].includes(str)\r\n },\r\n addWrapperClasses: [String, Array, Object]\r\n }\r\n)\r\nconst textInputsProps = {\r\n readonly: Boolean,\r\n plaintext: Boolean,\r\n value: [String, Number],\r\n lazy: {\r\n type: [Boolean, Number],\r\n default: 400\r\n }\r\n}\r\n\r\n// Html props: disabled, required, accept, id, placeholder\r\nexport const inputFileProps = Object.assign(\r\n {}, \r\n formGroupAlwaysSharedProps, \r\n props, \r\n {\r\n custom: Boolean,\r\n placeholder: String,\r\n multiple: Boolean\r\n }\r\n)\r\n\r\n// Html props: disabled, required, rows, cols, placeholder, id\r\nexport const textareaProps = Object.assign(\r\n {}, formGroupSharedProps, props, textInputsProps\r\n)\r\n\r\n// HTML props: disabled, required, placeholder, id\r\nexport const inputProps = Object.assign(\r\n {}, \r\n formGroupSharedProps, \r\n props, \r\n textInputsProps, \r\n {\r\n type: {\r\n type: String,\r\n default: 'text'\r\n }\r\n }\r\n)\r\n\r\n// Html props: disabled, id required don't use multiple\r\nexport const selectProps = Object.assign(\r\n {}, \r\n formGroupSharedProps, \r\n props, \r\n {\r\n options: Array,\r\n value: [String, Number, Boolean, Array],\r\n plaintext: Boolean,\r\n placeholder: String,\r\n custom: Boolean\r\n }\r\n)\r\n\r\n// Html props: id, disabled, required\r\nexport const inputCheckboxProps = Object.assign(\r\n {}, \r\n formGroupAlwaysSharedProps, \r\n universalProps, \r\n {\r\n checked: Boolean,\r\n custom: Boolean,\r\n inline: Boolean\r\n }\r\n)\r\n\r\n","\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimerInput.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimerInput.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TimerInput.vue?vue&type=template&id=0e0cdcfb&\"\nimport script from \"./TimerInput.vue?vue&type=script&lang=js&\"\nexport * from \"./TimerInput.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TimerInput.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('CCard',[_c('CCardHeader',[_c('h3',[_vm._v(_vm._s(_vm.title))])]),_c('CCardBody',[(_vm.description)?_c('CRow',{staticClass:\"mb-3\"},[_c('CCol',[_vm._v(_vm._s(_vm.description)+\" \")])],1):_vm._e(),_vm._t(\"default\",[_c('CRow',[_c('CCol',[_vm._v(\" None... YET! \")])],1)])],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettingsCard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettingsCard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SettingsCard.vue?vue&type=template&id=ebfbbdec&\"\nimport script from \"./SettingsCard.vue?vue&type=script&lang=js&\"\nexport * from \"./SettingsCard.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import _ from 'lodash';\r\nimport { mapGetters } from 'vuex';\r\nimport Toggle from '@/components/Toggle.vue';\r\nimport TimerInput from '@/components/TimerInput.vue';\r\nimport SettingsCard from '@/components/SettingsCard';\r\n\r\nconst DAY_OPTIONS = [\r\n {\r\n label: 'Sunday',\r\n value: 0,\r\n },\r\n {\r\n label: 'Monday',\r\n value: 1,\r\n },\r\n {\r\n label: 'Tuesday',\r\n value: 2,\r\n },\r\n {\r\n label: 'Wednesday',\r\n value: 3,\r\n },\r\n {\r\n label: 'Thursday',\r\n value: 4,\r\n },\r\n {\r\n label: 'Friday',\r\n value: 5,\r\n },\r\n {\r\n label: 'Saturday',\r\n value: 6,\r\n },\r\n];\r\n\r\nexport const SettingsMixin = {\r\n components: { Toggle, TimerInput, SettingsCard },\r\n computed: {\r\n ...mapGetters('settings', ['settings', 'loaded']),\r\n planets() {\r\n if (!this.settings.centralServer) return;\r\n return this.settings.centralServer.startPlanet;\r\n },\r\n bestineEvents() {\r\n if (!this.settings || !this.settings.bestineEvents) return;\r\n return this.settings.bestineEvents;\r\n },\r\n dungeon() {\r\n if (!this.settings || !this.settings.dungeon) return;\r\n return this.settings.dungeon;\r\n },\r\n eventTeam() {\r\n if (!this.settings || !this.settings.eventTeam) return;\r\n return this.settings.eventTeam;\r\n },\r\n centralServer() {\r\n if (!this.settings || !this.settings.centralServer) return;\r\n return this.settings.centralServer;\r\n },\r\n characterBuilder() {\r\n if (!this.settings || !this.settings.characterBuilder) return;\r\n return this.settings.characterBuilder;\r\n },\r\n chatServer() {\r\n if (!this.settings || !this.settings.chatServer) return;\r\n return this.settings.chatServer;\r\n },\r\n commodityServer() {\r\n if (!this.settings || !this.settings.commodityServer) return;\r\n return this.settings.commodityServer;\r\n },\r\n custom() {\r\n if (!this.settings || !this.settings.custom) return;\r\n return this.settings.custom;\r\n },\r\n gameServer() {\r\n if (!this.settings || !this.settings.gameServer) return;\r\n return this.settings.gameServer;\r\n },\r\n loginServer() {\r\n if (!this.settings || !this.settings.loginServer) return;\r\n return this.settings.loginServer;\r\n },\r\n sharedLog() {\r\n if (!this.settings || !this.settings.sharedLog) return;\r\n return this.settings.sharedLog;\r\n },\r\n npeStatus: {\r\n get() {\r\n this.tutorialStatus = this.getPropertyValue(\r\n 'centralServer.newbieTutorialEnabled'\r\n );\r\n return this.tutorialStatus;\r\n },\r\n set(v) {\r\n this.tutorialStatus = v;\r\n this.updateProperty({\r\n property: 'centralServer.newbieTutorialEnabled',\r\n value: v,\r\n });\r\n },\r\n },\r\n dayOptions() {\r\n return DAY_OPTIONS;\r\n },\r\n },\r\n methods: {\r\n getPlanet(name) {\r\n return this.planets.find((p) => p.name === name);\r\n },\r\n getPropertyValue(name) {\r\n return _.get(this.settings, name);\r\n },\r\n updateProperty(event) {\r\n this.$store.dispatch('settings/updateProperty', event);\r\n },\r\n },\r\n data() {\r\n return {\r\n base: true,\r\n kashyyyk: true,\r\n space: true,\r\n tutorial: true,\r\n instances: true,\r\n tutorialStatus: false,\r\n };\r\n },\r\n beforeRouteEnter(to, from, next) {\r\n next((vm) => {\r\n if (!vm.loaded) {\r\n vm.$store.dispatch('settings/fetchAll');\r\n }\r\n });\r\n },\r\n};\r\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimerInput.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""} \ No newline at end of file diff --git a/dist/js/chunk-27c3ee78.3e14b731.js b/dist/js/chunk-27c3ee78.3e14b731.js new file mode 100644 index 0000000..b391c0b --- /dev/null +++ b/dist/js/chunk-27c3ee78.3e14b731.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-27c3ee78"],{"2d9a":function(t,e,r){"use strict";r.r(e);var a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("CCard",[r("CCardHeader",[r("h2",[t._v("Logging Settings")])])],1),t.sharedLog?r("CCard",[r("CCardHeader",[r("h3",[t._v("General Settings")])]),r("CCardBody",[r("CRow",[r("CCol",{attrs:{col:"4"}},[r("Toggle",{staticClass:"server-config",attrs:{label:"Chat Server Logging:",checked:t.chatServer.loggingEnabled,property:"chatServer.loggingEnabled"},on:{"update:checked":t.updateProperty}}),r("Toggle",{staticClass:"server-config",attrs:{label:"Game AI Logging:",checked:t.gameServer.aiLoggingEnabled,property:"gameServer.aiLoggingEnabled"},on:{"update:checked":t.updateProperty}}),r("Toggle",{staticClass:"server-config",attrs:{label:"Report AI Warnings:",checked:t.gameServer.reportAiWarnings,property:"gameServer.reportAiWarnings"},on:{"update:checked":t.updateProperty}}),r("Toggle",{staticClass:"server-config",attrs:{label:"Java Console Debug:",checked:t.gameServer.javaConsoleDebugMessages,property:"gameServer.javaConsoleDebugMessages"},on:{"update:checked":t.updateProperty}})],1)],1)],1)],1):t._e(),r("CCard",[r("CCardHeader",[r("CRow",[r("CCol",[r("h3",[t._v("Log Targets")])]),r("CCol",{staticClass:"text-right"},[r("CButton",{attrs:{color:"success"},on:{click:t.handleAddTarget}},[t._v("New")])],1)],1)],1),r("CCardBody",[r("CRow",[r("CCol",[t._v(' Below are the Log Targets that are defined. A "Log Target" is where logging data created from a channel, data or process will be captured. ')])],1),r("CRow",{staticClass:"mt-3"},[r("CCol",[r("CDataTable",{attrs:{title:"File Targets",items:t.logTargets,fields:t.logTargetFields},scopedSlots:t._u([{key:"type",fn:function(e){var a=e.item;return[r("td",[r("CBadge",{attrs:{color:"info"}},[t._v(t._s(t.getItemType(a)))])],1)]}},{key:"filters",fn:function(e){var a=e.item;return[r("td",t._l(a.filters,(function(e,a){return r("span",{key:e+"_"+a},[r("CRow",[r("CCol",{attrs:{col:"4"}},[r("CBadge",{attrs:{color:"primary"}},[t._v(" Type: "+t._s(e.type)+" ")]),e.negate?r("CBadge",{attrs:{color:"danger"}},[t._v("Excluded")]):r("CBadge",{attrs:{color:"success"}},[t._v("Included")])],1),r("CCol",[t._v(" "+t._s(e.match)+" ")])],1)],1)})),0)]}},{key:"status",fn:function(e){var a=e.item;return[r("td",[r("CBadge",{attrs:{color:a.status?"success":"secondary"}},[t._v(" "+t._s(a.status?"ACTIVE":"DISABLED")+" ")])],1)]}},{key:"actions",fn:function(e){var a=e.item,n=e.index;return[r("td",[r("CButton",{staticClass:"mr-1",attrs:{color:"primary",size:"sm"},on:{click:function(e){return t.updateTarget({item:a,index:n})}}},[t._v("Edit")]),r("CButton",{attrs:{color:"danger",size:"sm"},on:{click:function(e){return t.deleteTarget(a)}}},[t._v("Delete")])],1)]}}])})],1)],1)],1)],1),r("UpdateLogTargetModal",{attrs:{show:t.showUpdateTargetModal,target:t.currentLogTarget},on:{"update:show":[function(e){t.showUpdateTargetModal=e},function(e){t.showUpdateTargetModal=e}],"update:target":function(e){t.currentLogTarget=e},save:t.handleUpdateTarget}})],1)},n=[],s=r("a38d"),i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("CModal",{attrs:{show:t.show,size:"lg","close-on-backdrop":!1},on:{"update:show":function(e){t.show=e}},scopedSlots:t._u([{key:"header",fn:function(){return[r("h4",[t._v("Update Log Target")])]},proxy:!0},{key:"footer",fn:function(){return[r("CButton",{attrs:{color:"primary",disabled:!(t.targetChanged&&t.filtersValid)},on:{click:t.handleSubmit}},[t._v("OK")]),r("CButton",{attrs:{color:"secondary"},on:{click:t.handleCancel}},[t._v("Cancel")])]},proxy:!0}])},[r("CForm",[r("label",[t._v("Status")]),r("CSwitch",{staticClass:"pt-2 ml-3",attrs:{color:"primary",shape:"pill","label-off":"Off","label-on":"On",checked:t.updatedTarget.status},on:{"update:checked":function(e){return t.$set(t.updatedTarget,"status",e)}}}),r("CRow",[r("CCol",{attrs:{col:"3"}},[r("CSelect",{attrs:{label:"Type",options:t.types,value:t.updatedTarget.type},on:{"update:value":function(e){return t.$set(t.updatedTarget,"type",e)}}})],1),r("CCol",[r("CInput",{attrs:{label:"Path",value:t.updatedTarget.path},on:{"update:value":function(e){return t.$set(t.updatedTarget,"path",e)}}})],1)],1),r("CRow",{staticClass:"mb-2"},[r("CCol",[r("h4",[t._v("Filters:")])]),r("CCol",{staticClass:"text-right"},[r("CButton",{attrs:{color:"success",size:"sm"},on:{click:t.addFilter}},[r("CIcon",{attrs:{name:"cis-plus"}})],1)],1)],1),r("CRow",[r("CCol",[r("CDataTable",{attrs:{items:t.updatedFilters,fields:t.filterFields,size:"sm",striped:""},scopedSlots:t._u([{key:"type",fn:function(e){var a=e.item;return[r("td",[r("CSelect",{attrs:{options:t.filterTypes,value:a.type,placeholder:"-- Choose --"},on:{"update:value":function(e){return t.$set(a,"type",e)}}})],1)]}},{key:"match",fn:function(e){var a=e.item;return[r("td",[r("CInput",{attrs:{value:a.match},on:{"update:value":function(e){return t.$set(a,"match",e)}}})],1)]}},{key:"negate",fn:function(e){var a=e.item;return[r("td",[r("CInputCheckbox",{staticClass:"ml-3 mt-1",attrs:{checked:a.negate},on:{"update:checked":function(e){return t.$set(a,"negate",e)}}})],1)]}},{key:"filtered",fn:function(e){var a=e.item;return[r("td",[r("CInputCheckbox",{staticClass:"ml-3 mt-1",attrs:{checked:a.filtered},on:{"update:checked":function(e){return t.$set(a,"filtered",e)}}})],1)]}},{key:"actions",fn:function(e){var a=e.item;return[r("td",{staticClass:"text-center"},[r("CButton",{attrs:{color:"danger",size:"sm"},on:{click:function(e){return t.handleRemoveFilter(a)}}},[r("CIcon",{attrs:{name:"cil-trash"}})],1)],1)]}}])})],1)],1)],1)],1)},o=[];function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function u(t){for(var e=1;e0},updatedFilters:{get:function(){return this.updatedTarget&&this.updatedTarget.filters?this.updatedTarget.filters:[]},set:function(t){this.updatedTarget.filters=t}},targetChanged:function(){return!_.isEqual(this.updatedTarget,this.target)},filtersValid:function(){var t=!0;return this.updatedFilters&&this.updatedFilters.forEach((function(e){e.match&&e.type||(t=!1)})),t}},methods:{handleCancel:function(){this.show=!1,this.$emit("update:show",!1)},handleSubmit:function(){var t={index:this.target.index,type:this.updatedTarget.type,path:this.updatedTarget.path,filters:this.updatedTarget.filters,status:this.updatedTarget.status};this.updatedTarget=null,this.$emit("save",t),this.$emit("update:show",!1)},addFilter:function(){var t={match:null,filtered:!1,negate:!1,type:null};this.updatedTarget.filters?this.updatedTarget.filters.push(t):this.updatedTarget.filters=[t]},handleRemoveFilter:function(t){console.log("filters: ",u({},this.updatedFilters)),console.log("filter: ",u({},t));var e=JSON.parse(JSON.stringify(this.updatedFilters));_.remove(e,t),this.updatedFilters=e,console.log("updated: ",u({},this.updatedFilters))},handleUpdateFilter:function(t,e){console.log("ufilters: ",u({},this.updatedFilters)),console.log("filter: ",u({},t));var r=JSON.parse(JSON.stringify(this.updatedFilters));r[e]=JSON.parse(JSON.stringify(t)),this.updatedFilters=JSON.parse(JSON.stringify(r)),console.log("uupdated: ",u({},this.updatedFilters))}},data:function(){return{updatedTarget:JSON.parse(JSON.stringify(this.target))}},watch:{target:function(t){this.updatedTarget=JSON.parse(JSON.stringify(t))}}},f=g,b=r("2877"),y=Object(b["a"])(f,i,o,!1,null,null,null),v=y.exports,m=[{label:"Type",key:"type"},{label:"Path",key:"path"},{label:"Filters",key:"filters"},{label:"Status",key:"status"},{label:"Actions",key:"actions"}],C={name:"LoggingSettings",mixins:[s["a"]],components:{UpdateLogTargetModal:v},computed:{logTargetFields:function(){return m},logTargets:function(){return this.sharedLog&&this.sharedLog.logTargets?this.sharedLog.logTargets:[]}},methods:{updateTarget:function(t){var e=t.item,r=t.index;e.index=r,this.currentLogTarget=e,this.showUpdateTargetModal=!0},deleteTarget:function(t){var e=_.filter(this.logTargets,(function(e){return e!==t}));this.updateProperty({property:"sharedLog.logTargets",value:e})},getItemType:function(t){switch(t.type){case"net":return"Network";case"file":return"File";case"tailfile":return"Tail File"}return"Unknown"},handleAddTarget:function(){this.currentLogTarget={index:this.logTargets.length||0,type:null,path:null,filters:[],status:!0},this.showUpdateTargetModal=!0},handleUpdateTarget:function(t){var e=JSON.parse(JSON.stringify(this.logTargets));0===t.index?e=t:t.index>this.sharedLog.logTargets.length?e.push(t):e[t.index]=JSON.parse(JSON.stringify(t)),this.updateProperty({property:"sharedLog.logTargets",value:e})}},data:function(){return{currentLogTarget:null,showUpdateTargetModal:!1}}},S=C,O=Object(b["a"])(S,a,n,!1,null,null,null);e["default"]=O.exports},a38d:function(t,e,r){"use strict";r.d(e,"a",(function(){return K}));var a={};r.r(a),r.d(a,"sharedComputedProps",(function(){return m})),r.d(a,"wrapperComputedProps",(function(){return C})),r.d(a,"watchValue",(function(){return S})),r.d(a,"classesComputedProps",(function(){return O}));var n=r("2ef0"),s=r.n(n),i=r("2f62"),o=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticStyle:{"margin-top":"5px"}},[r("CRow",[r("CCol",[r("label",{staticClass:"mr-4 switch-label",staticStyle:{"vertical-align":"top","margin-top":"3px"}},[t._v(" "+t._s(t.label)+" ")])]),r("CCol",{class:{"text-right":t.alignRight}},[r("CSwitch",{staticStyle:{width:"47px"},attrs:{shape:"pill",color:"primary","label-on":"On","label-off":"Off",checked:t.checked},on:{"update:checked":function(e){t.$emit("update:checked",{property:t.property,value:t.inverse?!e:e})}}})],1)],1)],1)},l=[],u={name:"Toggle",props:{label:String,checked:Boolean,property:String,inverse:{type:Boolean,default:!1},alignRight:{type:Boolean,default:!1}}},c=u,d=r("2877"),p=Object(d["a"])(c,o,l,!1,null,null,null),h=p.exports,g=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("CFormGroup",t._b({scopedSlots:t._u([{key:"label",fn:function(){return[t._t("label",[t.label?r("label",{class:t.labelClasses,attrs:{for:t.safeId}},[t._v(" "+t._s(t.label)+" ")]):t._e()])]},proxy:!0},{key:"input",fn:function(){return[r("input",t._g(t._b({directives:[{name:"integer-only",rawName:"v-integer-only"}],class:t.inputClasses,attrs:{id:t.safeId,type:t.type,readonly:t.readonly||t.plaintext},domProps:{value:t.state},on:{input:function(e){return t.onInput(e)},change:function(e){return t.onChange(e)}}},"input",t.$attrs,!1),t.listeners)),r("div",{staticClass:"sub-text"},[t._v(t._s(t.verbalTime))])]},proxy:!0},t._l(t.$options.slots,(function(e){return{key:e,fn:function(){return[t._t(e)]},proxy:!0}}))],null,!0)},"CFormGroup",{append:t.append,prepend:t.prepend,validFeedback:t.validFeedback,invalidFeedback:t.invalidFeedback,tooltipFeedback:t.tooltipFeedback,description:t.description,wrapperClasses:t.wrapperClasses,class:t.computedClasses},!1))},f=[],b=function(){var t=Math.random().toString(36).substr(2);return"uid-"+t},y=b;function v(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var m={computed:{computedIsValid:function(){return"function"===typeof this.isValid?this.isValid(this.state):this.isValid},validationClass:function(){if("boolean"===typeof this.computedIsValid)return this.computedIsValid?"is-valid":"is-invalid"},safeId:function(){return this.id||this.$attrs.id?this.id||this.$attrs.id:y()}}},C={computed:{isHorizontal:function(){return Boolean(this.horizontal)},haveInputGroup:function(){return Boolean(this.tooltipFeedback||this.append||this.prepend||this.$slots.append||this.$slots.prepend||this.$slots["append-content"]||this.$slots["prepend-content"])},haveWrapper:function(){return this.haveInputGroup||Boolean(this.addWrapperClasses||this.isHorizontal)},wrapperClasses:function(){var t;if(this.haveWrapper)return[this.addWrapperClasses,(t={},v(t,this.horizontal.input||"col-sm-9",this.isHorizontal),v(t,"input-group",this.haveInputGroup),v(t,"input-group-".concat(this.size),this.haveCustomSize),t)]}}},S={watch:{value:function(t){this.state=t}}},O={computed:{haveCustomSize:function(){return["sm","lg"].includes(this.size)},computedClasses:function(){return["form-group",{"was-validated":this.wasValidated,"form-row":this.isHorizontal}]},labelClasses:function(){var t;return[this.addLabelClasses,(t={"col-form-label":this.isHorizontal},v(t,this.horizontal.label||"col-sm-3",this.isHorizontal),v(t,"col-form-label-".concat(this.size),this.haveCustomSize),t)]},customSizeClass:function(){if(this.haveCustomSize&&!this.haveWrapper)return"form-control-".concat(this.size)},inputClasses:function(){return[this.inputClass||"form-control".concat(this.plaintext?"-plaintext":""),this.validationClass,this.addInputClasses,this.customSizeClass]}}},T={validFeedback:String,invalidFeedback:String,tooltipFeedback:Boolean,description:String},w=Object.assign({},T,{append:String,prepend:String}),k=(Object.assign({},w,{wrapperClasses:[String,Array,Object]}),{label:String,wasValidated:Boolean,isValid:{type:[Boolean,Function],default:null},addInputClasses:[String,Array,Object],addLabelClasses:[String,Array,Object]}),j=Object.assign({},k,{horizontal:[Boolean,Object],size:{type:String,validator:function(t){return["","sm","lg"].includes(t)}},addWrapperClasses:[String,Array,Object]}),_={readonly:Boolean,plaintext:Boolean,value:[String,Number],lazy:{type:[Boolean,Number],default:400}},P=(Object.assign({},T,j,{custom:Boolean,placeholder:String,multiple:Boolean}),Object.assign({},w,j,_),Object.assign({},w,j,_,{type:{type:String,default:"text"}}));Object.assign({},w,j,{options:Array,value:[String,Number,Boolean,Array],plaintext:Boolean,placeholder:String,custom:Boolean}),Object.assign({},T,k,{checked:Boolean,custom:Boolean,inline:Boolean});function F(t,e){if(null==t)return{};var r,a,n=x(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function x(t,e){if(null==t)return{};var r,a,n={},s=Object.keys(t);for(a=0;a=0||(n[r]=t[r]);return n}function B(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function V(t){for(var e=1;e\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

Filters:

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpdateLogTargetModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpdateLogTargetModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UpdateLogTargetModal.vue?vue&type=template&id=8a344992&\"\nimport script from \"./UpdateLogTargetModal.vue?vue&type=script&lang=js&\"\nexport * from \"./UpdateLogTargetModal.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Logging.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Logging.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Logging.vue?vue&type=template&id=c33ef296&\"\nimport script from \"./Logging.vue?vue&type=script&lang=js&\"\nexport * from \"./Logging.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"margin-top\":\"5px\"}},[_c('CRow',[_c('CCol',[_c('label',{staticClass:\"mr-4 switch-label\",staticStyle:{\"vertical-align\":\"top\",\"margin-top\":\"3px\"}},[_vm._v(\" \"+_vm._s(_vm.label)+\" \")])]),_c('CCol',{class:{ 'text-right': _vm.alignRight }},[_c('CSwitch',{staticStyle:{\"width\":\"47px\"},attrs:{\"shape\":\"pill\",\"color\":\"primary\",\"label-on\":\"On\",\"label-off\":\"Off\",\"checked\":_vm.checked},on:{\"update:checked\":function (e) {\n _vm.$emit('update:checked', { property: _vm.property, value: _vm.inverse ? !e : e });\n }}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Toggle.vue?vue&type=template&id=41d1637b&\"\nimport script from \"./Toggle.vue?vue&type=script&lang=js&\"\nexport * from \"./Toggle.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('CFormGroup',_vm._b({scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._t(\"label\",[(_vm.label)?_c('label',{class:_vm.labelClasses,attrs:{\"for\":_vm.safeId}},[_vm._v(\" \"+_vm._s(_vm.label)+\" \")]):_vm._e()])]},proxy:true},{key:\"input\",fn:function(){return [_c('input',_vm._g(_vm._b({directives:[{name:\"integer-only\",rawName:\"v-integer-only\"}],class:_vm.inputClasses,attrs:{\"id\":_vm.safeId,\"type\":_vm.type,\"readonly\":_vm.readonly || _vm.plaintext},domProps:{\"value\":_vm.state},on:{\"input\":function($event){return _vm.onInput($event)},\"change\":function($event){return _vm.onChange($event)}}},'input',_vm.$attrs,false),_vm.listeners)),_c('div',{staticClass:\"sub-text\"},[_vm._v(_vm._s(_vm.verbalTime))])]},proxy:true},_vm._l((_vm.$options.slots),function(slot){return {key:slot,fn:function(){return [_vm._t(slot)]},proxy:true}})],null,true)},'CFormGroup',{\n append: _vm.append,\n prepend: _vm.prepend,\n validFeedback: _vm.validFeedback,\n invalidFeedback: _vm.invalidFeedback,\n tooltipFeedback: _vm.tooltipFeedback,\n description: _vm.description,\n wrapperClasses: _vm.wrapperClasses,\n class: _vm.computedClasses,\n },false))}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","//function for UI releted ID assignment, due to one in 10^15 probability of duplication\r\nconst makeUid = () => {\r\n const key = Math.random().toString(36).substr(2)\r\n return 'uid-' + key\r\n}\r\n\r\nexport default makeUid","import { makeUid } from '@coreui/utils/src';\r\n\r\nexport const sharedComputedProps = {\r\n computed: {\r\n computedIsValid() {\r\n if (typeof this.isValid === 'function') {\r\n return this.isValid(this.state);\r\n }\r\n return this.isValid;\r\n },\r\n validationClass() {\r\n if (typeof this.computedIsValid === 'boolean') {\r\n return this.computedIsValid ? 'is-valid' : 'is-invalid';\r\n }\r\n },\r\n safeId() {\r\n if (this.id || this.$attrs.id) {\r\n return this.id || this.$attrs.id;\r\n }\r\n return makeUid();\r\n },\r\n },\r\n};\r\n\r\nexport const wrapperComputedProps = {\r\n computed: {\r\n isHorizontal() {\r\n return Boolean(this.horizontal);\r\n },\r\n haveInputGroup() {\r\n return Boolean(\r\n this.tooltipFeedback ||\r\n this.append ||\r\n this.prepend ||\r\n this.$slots.append ||\r\n this.$slots.prepend ||\r\n this.$slots['append-content'] ||\r\n this.$slots['prepend-content']\r\n );\r\n },\r\n haveWrapper() {\r\n return (\r\n this.haveInputGroup ||\r\n Boolean(this.addWrapperClasses || this.isHorizontal)\r\n );\r\n },\r\n wrapperClasses() {\r\n if (this.haveWrapper) {\r\n return [\r\n this.addWrapperClasses,\r\n {\r\n [this.horizontal.input || 'col-sm-9']: this.isHorizontal,\r\n 'input-group': this.haveInputGroup,\r\n [`input-group-${this.size}`]: this.haveCustomSize,\r\n },\r\n ];\r\n }\r\n },\r\n },\r\n};\r\n\r\nexport const watchValue = {\r\n watch: {\r\n value(val) {\r\n this.state = val;\r\n },\r\n },\r\n};\r\n\r\nexport const classesComputedProps = {\r\n computed: {\r\n haveCustomSize() {\r\n return ['sm', 'lg'].includes(this.size);\r\n },\r\n computedClasses() {\r\n return [\r\n 'form-group',\r\n {\r\n 'was-validated': this.wasValidated,\r\n 'form-row': this.isHorizontal,\r\n },\r\n ];\r\n },\r\n labelClasses() {\r\n return [\r\n this.addLabelClasses,\r\n {\r\n 'col-form-label': this.isHorizontal,\r\n [this.horizontal.label || 'col-sm-3']: this.isHorizontal,\r\n [`col-form-label-${this.size}`]: this.haveCustomSize,\r\n },\r\n ];\r\n },\r\n customSizeClass() {\r\n if (this.haveCustomSize && !this.haveWrapper) {\r\n return `form-control-${this.size}`;\r\n }\r\n },\r\n inputClasses() {\r\n return [\r\n this.inputClass || `form-control${this.plaintext ? '-plaintext' : ''}`,\r\n this.validationClass,\r\n this.addInputClasses,\r\n this.customSizeClass,\r\n ];\r\n },\r\n },\r\n};\r\n","const formGroupAlwaysSharedProps = {\r\n validFeedback: String,\r\n invalidFeedback: String,\r\n tooltipFeedback: Boolean,\r\n description: String\r\n}\r\nconst formGroupSharedProps = Object.assign(\r\n {}, \r\n formGroupAlwaysSharedProps,\r\n {\r\n append: String,\r\n prepend: String\r\n }\r\n)\r\n\r\nexport const formGroupProps = Object.assign(\r\n {}, formGroupSharedProps, { wrapperClasses: [String, Array, Object] }\r\n)\r\n\r\nconst universalProps = {\r\n label: String,\r\n wasValidated: Boolean,\r\n isValid: {\r\n type: [Boolean, Function],\r\n default: null\r\n },\r\n addInputClasses: [String, Array, Object],\r\n addLabelClasses: [String, Array, Object]\r\n}\r\nconst props = Object.assign(\r\n {}, \r\n universalProps, \r\n {\r\n horizontal: [Boolean, Object],\r\n size: {\r\n type: String,\r\n validator: str => ['','sm','lg'].includes(str)\r\n },\r\n addWrapperClasses: [String, Array, Object]\r\n }\r\n)\r\nconst textInputsProps = {\r\n readonly: Boolean,\r\n plaintext: Boolean,\r\n value: [String, Number],\r\n lazy: {\r\n type: [Boolean, Number],\r\n default: 400\r\n }\r\n}\r\n\r\n// Html props: disabled, required, accept, id, placeholder\r\nexport const inputFileProps = Object.assign(\r\n {}, \r\n formGroupAlwaysSharedProps, \r\n props, \r\n {\r\n custom: Boolean,\r\n placeholder: String,\r\n multiple: Boolean\r\n }\r\n)\r\n\r\n// Html props: disabled, required, rows, cols, placeholder, id\r\nexport const textareaProps = Object.assign(\r\n {}, formGroupSharedProps, props, textInputsProps\r\n)\r\n\r\n// HTML props: disabled, required, placeholder, id\r\nexport const inputProps = Object.assign(\r\n {}, \r\n formGroupSharedProps, \r\n props, \r\n textInputsProps, \r\n {\r\n type: {\r\n type: String,\r\n default: 'text'\r\n }\r\n }\r\n)\r\n\r\n// Html props: disabled, id required don't use multiple\r\nexport const selectProps = Object.assign(\r\n {}, \r\n formGroupSharedProps, \r\n props, \r\n {\r\n options: Array,\r\n value: [String, Number, Boolean, Array],\r\n plaintext: Boolean,\r\n placeholder: String,\r\n custom: Boolean\r\n }\r\n)\r\n\r\n// Html props: id, disabled, required\r\nexport const inputCheckboxProps = Object.assign(\r\n {}, \r\n formGroupAlwaysSharedProps, \r\n universalProps, \r\n {\r\n checked: Boolean,\r\n custom: Boolean,\r\n inline: Boolean\r\n }\r\n)\r\n\r\n","\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimerInput.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimerInput.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TimerInput.vue?vue&type=template&id=0e0cdcfb&\"\nimport script from \"./TimerInput.vue?vue&type=script&lang=js&\"\nexport * from \"./TimerInput.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TimerInput.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('CCard',[_c('CCardHeader',[_c('h3',[_vm._v(_vm._s(_vm.title))])]),_c('CCardBody',[(_vm.description)?_c('CRow',{staticClass:\"mb-3\"},[_c('CCol',[_vm._v(_vm._s(_vm.description)+\" \")])],1):_vm._e(),_vm._t(\"default\",[_c('CRow',[_c('CCol',[_vm._v(\" None... YET! \")])],1)])],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettingsCard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettingsCard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SettingsCard.vue?vue&type=template&id=ebfbbdec&\"\nimport script from \"./SettingsCard.vue?vue&type=script&lang=js&\"\nexport * from \"./SettingsCard.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import _ from 'lodash';\r\nimport { mapGetters } from 'vuex';\r\nimport Toggle from '@/components/Toggle.vue';\r\nimport TimerInput from '@/components/TimerInput.vue';\r\nimport SettingsCard from '@/components/SettingsCard';\r\n\r\nconst DAY_OPTIONS = [\r\n {\r\n label: 'Sunday',\r\n value: 0,\r\n },\r\n {\r\n label: 'Monday',\r\n value: 1,\r\n },\r\n {\r\n label: 'Tuesday',\r\n value: 2,\r\n },\r\n {\r\n label: 'Wednesday',\r\n value: 3,\r\n },\r\n {\r\n label: 'Thursday',\r\n value: 4,\r\n },\r\n {\r\n label: 'Friday',\r\n value: 5,\r\n },\r\n {\r\n label: 'Saturday',\r\n value: 6,\r\n },\r\n];\r\n\r\nexport const SettingsMixin = {\r\n components: { Toggle, TimerInput, SettingsCard },\r\n computed: {\r\n ...mapGetters('settings', ['settings', 'loaded']),\r\n planets() {\r\n if (!this.settings.centralServer) return;\r\n return this.settings.centralServer.startPlanet;\r\n },\r\n bestineEvents() {\r\n if (!this.settings || !this.settings.bestineEvents) return;\r\n return this.settings.bestineEvents;\r\n },\r\n dungeon() {\r\n if (!this.settings || !this.settings.dungeon) return;\r\n return this.settings.dungeon;\r\n },\r\n eventTeam() {\r\n if (!this.settings || !this.settings.eventTeam) return;\r\n return this.settings.eventTeam;\r\n },\r\n centralServer() {\r\n if (!this.settings || !this.settings.centralServer) return;\r\n return this.settings.centralServer;\r\n },\r\n characterBuilder() {\r\n if (!this.settings || !this.settings.characterBuilder) return;\r\n return this.settings.characterBuilder;\r\n },\r\n chatServer() {\r\n if (!this.settings || !this.settings.chatServer) return;\r\n return this.settings.chatServer;\r\n },\r\n commodityServer() {\r\n if (!this.settings || !this.settings.commodityServer) return;\r\n return this.settings.commodityServer;\r\n },\r\n custom() {\r\n if (!this.settings || !this.settings.custom) return;\r\n return this.settings.custom;\r\n },\r\n gameServer() {\r\n if (!this.settings || !this.settings.gameServer) return;\r\n return this.settings.gameServer;\r\n },\r\n loginServer() {\r\n if (!this.settings || !this.settings.loginServer) return;\r\n return this.settings.loginServer;\r\n },\r\n sharedLog() {\r\n if (!this.settings || !this.settings.sharedLog) return;\r\n return this.settings.sharedLog;\r\n },\r\n npeStatus: {\r\n get() {\r\n this.tutorialStatus = this.getPropertyValue(\r\n 'centralServer.newbieTutorialEnabled'\r\n );\r\n return this.tutorialStatus;\r\n },\r\n set(v) {\r\n this.tutorialStatus = v;\r\n this.updateProperty({\r\n property: 'centralServer.newbieTutorialEnabled',\r\n value: v,\r\n });\r\n },\r\n },\r\n dayOptions() {\r\n return DAY_OPTIONS;\r\n },\r\n },\r\n methods: {\r\n getPlanet(name) {\r\n return this.planets.find((p) => p.name === name);\r\n },\r\n getPropertyValue(name) {\r\n return _.get(this.settings, name);\r\n },\r\n updateProperty(event) {\r\n this.$store.dispatch('settings/updateProperty', event);\r\n },\r\n },\r\n data() {\r\n return {\r\n base: true,\r\n kashyyyk: true,\r\n space: true,\r\n tutorial: true,\r\n instances: true,\r\n tutorialStatus: false,\r\n };\r\n },\r\n beforeRouteEnter(to, from, next) {\r\n next((vm) => {\r\n if (!vm.loaded) {\r\n vm.$store.dispatch('settings/fetchAll');\r\n }\r\n });\r\n },\r\n};\r\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimerInput.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""} \ No newline at end of file diff --git a/src/views/settings/Logging.vue b/src/views/settings/Logging.vue index 89a138f..c50086b 100644 --- a/src/views/settings/Logging.vue +++ b/src/views/settings/Logging.vue @@ -100,13 +100,9 @@