{"remainingRequest":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/babel-loader/lib/index.js!/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/eslint-loader/index.js??ref--14-0!/home/cmiss/Jenkins/workspace/mapintegratedvuer/src/store/modules/splitFlow.js","dependencies":[{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/src/store/modules/splitFlow.js","mtime":1702261489675},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/babel.config.js","mtime":1684261475125},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/babel-loader/lib/index.js","mtime":456789000000},{"path":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IF9zbGljZWRUb0FycmF5IGZyb20gIi9ob21lL2NtaXNzL0plbmtpbnMvd29ya3NwYWNlL21hcGludGVncmF0ZWR2dWVyL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL2VzbS9zbGljZWRUb0FycmF5LmpzIjsKaW1wb3J0ICJjb3JlLWpzL21vZHVsZXMvZXMuYXJyYXkuZmluZC5qcyI7CmltcG9ydCAiY29yZS1qcy9tb2R1bGVzL2VzLm9iamVjdC50by1zdHJpbmcuanMiOwppbXBvcnQgImNvcmUtanMvbW9kdWxlcy9lcy5mdW5jdGlvbi5uYW1lLmpzIjsKaW1wb3J0ICJjb3JlLWpzL21vZHVsZXMvZXMub2JqZWN0LmVudHJpZXMuanMiOwppbXBvcnQgImNvcmUtanMvbW9kdWxlcy93ZWIuZG9tLWNvbGxlY3Rpb25zLml0ZXJhdG9yLmpzIjsKLyogZXNsaW50LWRpc2FibGUgbm8tYWxlcnQsIG5vLWNvbnNvbGUgKi8KCnZhciBzdGF0ZSA9IGZ1bmN0aW9uIHN0YXRlKCkgewogIHJldHVybiB7CiAgICBhY3RpdmVWaWV3OiAic2luZ2xlcGFuZWwiLAogICAgc2xvdEluZm86IFt7CiAgICAgIG5hbWU6ICJmaXJzdCIsCiAgICAgIGlkOiAxLAogICAgICBhY3RpdmF0aW9uOiAxCiAgICB9LCB7CiAgICAgIG5hbWU6ICJzZWNvbmQiLAogICAgICBpZDogMCwKICAgICAgYWN0aXZhdGlvbjogMgogICAgfSwgewogICAgICBuYW1lOiAidGhpcmQiLAogICAgICBpZDogMCwKICAgICAgYWN0aXZhdGlvbjogMwogICAgfSwgewogICAgICBuYW1lOiAiZm91cnRoIiwKICAgICAgaWQ6IDAsCiAgICAgIGFjdGl2YXRpb246IDQKICAgIH1dLAogICAgdmlld0ljb25zOiBbewogICAgICBpY29uOiAic2luZ2xlcGFuZWwiLAogICAgICBuYW1lOiAiU2luZ2xlIHZpZXciLAogICAgICBtaW46IDEKICAgIH0sIHsKICAgICAgaWNvbjogIjJob3JwYW5lbCIsCiAgICAgIG5hbWU6ICJIb3Jpem9udGFsIHNwbGl0IiwKICAgICAgbWluOiAyCiAgICB9LCB7CiAgICAgIGljb246ICIydmVydHBhbmVsIiwKICAgICAgbmFtZTogIlZlcnRpY2FsIHNwbGl0IiwKICAgICAgbWluOiAyCiAgICB9LCB7CiAgICAgIGljb246ICIzcGFuZWwiLAogICAgICBuYW1lOiAiVGhyZWUgcGFuZXMiLAogICAgICBtaW46IDMKICAgIH0sIHsKICAgICAgaWNvbjogIjRwYW5lbCIsCiAgICAgIG5hbWU6ICJGb3VyIHBhbmVzIiwKICAgICAgbWluOiA0CiAgICB9XSwKICAgIHNwbGl0dGVyczogewogICAgICAiZmlyc3QiOiA1MCwKICAgICAgInNlY29uZCI6IDUwLAogICAgICAidGhpcmQiOiA1MAogICAgfSwKICAgIGdsb2JhbENhbGxiYWNrOiBmYWxzZSwKICAgIHN5bmNNb2RlOiBmYWxzZQogIH07Cn07CnZhciBnZXR0ZXJzID0gewog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dDsKICAgIH07CiAgfSwKICBpc1Nsb3RBY3RpdmU6IGZ1bmN0aW9uIGlzU2xvdEFjdGl2ZShzdGF0ZSkgewogICAgcmV0dXJuIGZ1bmN0aW9uIChzbG90KSB7CiAgICAgIGlmIChzbG90KSB7CiAgICAgICAgdmFyIHZpZXcgPSBzdGF0ZS52aWV3SWNvbnMuZmluZChmdW5jdGlvbiAodmlldykgewogICAgICAgICAgcmV0dXJuIHN0YXRlLmFjdGl2ZVZpZXcgPT09IHZpZXcuaWNvbjsKICAgICAgICB9KTsKICAgICAgICByZXR1cm4gdmlldy5taW4gPj0gc2xvdC5hY3RpdmF0aW9uOwogICAgICB9CiAgICAgIHJldHVybiBmYWxzZTsKICAgIH07CiAgfSwKICBpc0VudHJ5QWN0aXZlOiBmdW5jdGlvbiBpc0VudHJ5QWN0aXZlKHN0YXRlKSB7CiAgICByZXR1cm4gZnVuY3Rpb24gKGVudHJ5KSB7CiAgICAgIHZhciBzbG90ID0gc3RhdGUuc2xvdEluZm8uZmluZChmdW5jdGlvbiAoc2xvdCkgewogICAgICAgIHJldHVybiBzbG90LmlkID09PSBlbnRyeS5pZDsKICAgICAgfSk7CiAgICAgIGlmIChzbG90KSB7CiAgICAgICAgdmFyIHZpZXcgPSBzdGF0ZS52aWV3SWNvbnMuZmluZChmdW5jdGlvbiAodmlldykgewogICAgICAgICAgcmV0dXJuIHN0YXRlLmFjdGl2ZVZpZXcgPT09IHZpZXcuaWNvbjsKICAgICAgICB9KTsKICAgICAgICByZXR1cm4gdmlldy5taW4gPj0gc2xvdC5hY3RpdmF0aW9uOwogICAgICB9CiAgICAgIHJldHVybiBmYWxzZTsKICAgIH07CiAgfSwKICBnZXRTdGF0ZTogZnVuY3Rpb24gZ2V0U3RhdGUoc3RhdGUpIHsKICAgIHJldHVybiBmdW5jdGlvbiAoKSB7CiAgICAgIHJldHVybiB7CiAgICAgICAgYWN0aXZlVmlldzogc3RhdGUuYWN0aXZlVmlldywKICAgICAgICBzbG90SW5m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Agc3dpdGNoIChzbG90Lm5hbWUpIHsKICAgICAgICBjYXNlICJmaXJzdCI6CiAgICAgICAgICB7CiAgICAgICAgICAgIHN3aXRjaCAoc3RhdGUuYWN0aXZlVmlldykgewogICAgICAgICAgICAgIGNhc2UgIjJob3JwYW5lbCI6CiAgICAgICAgICAgICAgY2FzZSAiMnZlcnRwYW5lbCI6CiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgIHNsb3QuaWQgPSBzZWNvbmRTbG90LmlkOwogICAgICAgICAgICAgICAgICBzZWNvbmRTbG90LmlkID0gYXZhaWxhYmxlSWQ7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICBjYXNlICIzcGFuZWwiOgogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBzbG90LmlkID0gc2Vjb25kU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgc2Vjb25kU2xvdC5pZCA9IHRoaXJkU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgdGhpcmRTbG90LmlkID0gYXZhaWxhYmxlSWQ7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICBjYXNlICI0cGFuZWwiOgogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBzbG90LmlkID0gc2Vjb25kU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgc2Vjb25kU2xvdC5pZCA9IHRoaXJkU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgdGhpcmRTbG90LmlkID0gZm91cnRoU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgZm91cnRoU2xvdC5pZCA9IGF2YWlsYWJsZUlkOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgZGVmYXVsdDoKICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgICBicmVhazsKICAgICAgICBjYXNlICJzZWNvbmQiOgogICAgICAgICAgewogICAgICAgICAgICBzd2l0Y2ggKHN0YXRlLmFjdGl2ZVZpZXcpIHsKICAgICAgICAgICAgICBjYXNlICIyaG9ycGFuZWwiOgogICAgICAgICAgICAgIGNhc2UgIjJ2ZXJ0cGFuZWwiOgogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBzbG90LmlkID0gYXZhaWxhYmxlSWQ7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICBjYXNlICIzcGFuZWwiOgogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBzbG90LmlkID0gdGhpcmRTbG90LmlkOwogICAgICAgICAgICAgICAgICB0aGlyZFNsb3QuaWQgPSBmb3VydGhTbG90LmlkOwogICAgICAgICAgICAgICAgICBmb3VydGhTbG90LmlkID0gYXZhaWxhYmxlSWQ7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICBjYXNlICI0cGFuZWwiOgogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBzbG90LmlkID0gdGhpcmRTbG90LmlkOwogICAgICAgICAgICAgICAgICB0aGlyZFNsb3QuaWQgPSBmb3VydGhTbG90LmlkOwogICAgICAgICAgICAgICAgICBmb3VydGhTbG90LmlkID0gYXZhaWxhYmxlSWQ7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICBkZWZhdWx0OgogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICAgIGJyZWFrOwogICAgICAgIGNhc2UgInRoaXJkIjoKICAgICAgICAgIHsKICAgICAgICAgICAgc3dpdGNoIChzdGF0ZS5hY3RpdmVWaWV3KSB7CiAgICAgICAgICAgICAgY2FzZSAiM3BhbmVsIjoKICAgICAgICAgICAgICBjYXNlICI0cGFuZWwiOgogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBzbG90LmlkID0gZm91cnRoU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgZm91cnRoU2xvdC5pZCA9IGF2YWlsYWJsZUlkOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgZGVmYXVsdDoKICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgICBicmVhazsKICAgICAgICBjYXNlICJmb3VydGgiOgogICAgICAgICAgewogICAgICAgICAgICBzd2l0Y2ggKHN0YXRlLmFjdGl2ZVZpZXcpIHsKICAgICAgICAgICAgICBjYXNlICI0cGFuZWwiOgogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBzbG90LmlkID0gYXZhaWxhYmxlSWQ7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICBkZWZhdWx0OgogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICAgIGJyZWFrOwogICAgICAgIGRlZmF1bHQ6CiAgICAgICAgICBicmVhazsKICAgICAgfQogICAgICAvL1RoZW4gc3dpdGNoIHRoZSB2aWV3CiAgICAgIHN3aXRjaCAoc3RhdGUuYWN0aXZlVmlldykgewogICAgICAgIGNhc2UgIjJob3JwYW5lbCI6CiAgICAgICAgY2FzZSAiMnZlcnRwYW5lbCI6CiAgICAgICAgICBzdGF0ZS5hY3RpdmVWaWV3ID0gInNpbmdsZXBhbmVsIjsKICAgICAgICAgIGJyZWFrOwogICAgICAgIGNhc2UgIjNwYW5lbCI6CiAgICAgICAgICBzdGF0ZS5hY3RpdmVWaWV3ID0gIjJ2ZXJ0cGFuZWwiOwogICAgICAgICAgYnJlYWs7CiAgICAgICAgY2FzZSAiNHBhbmVsIjoKICAgICAgICAgIHN0YXRlLmFjdGl2ZVZpZXcgPSAiM3BhbmVsIjsKICAgICAgICAgIGJyZWFrOwogICAgICAgIGRlZmF1bHQ6CiAgICAgICAgICBicmVhazsKICAgICAgfQogICAgfQogIH0KfTsKZXhwb3J0IGRlZmF1bHQgewogIG5hbWVzcGFjZWQ6IHRydWUsCiAgc3RhdGU6IHN0YXRlLAogIGdldHRlcnM6IGdldHRlcnMsCiAgbXV0YXRpb25zOiBtdXRhdGlvbnMKfTs="},{"version":3,"names":["state","activeView","slotInfo","name","id","activation","viewIcons","icon","min","splitters","globalCallback","syncMode","getters","getFirstAvailableSlot","find","slot","getIdbySlotName","undefined","getSlotById","getSlotByName","isSlotActive","view","isEntryActive","entry","getState","mutations","assignIdToSlot","payload","assignOrSwapSlotWithIds","sourceSlot","source","targetSlot","target","changeViewByAvailabilty","count","i","length","toggleGlobalCallback","flag","updateActiveView","view1","view2","setSplitter","value","setState","newState","_i","_Object$entries","Object","entries","_Object$entries$_i","_slicedToArray","key","setIdToPrimarySlot","availableSlot","primarySlot","setSyncMode","secondSlot","firstSlot","firstSlotId","originalSlot","newId","layout","closeSlot","availableId","_loop","thirdSlot","fourthSlot","namespaced"],"sources":["/home/cmiss/Jenkins/workspace/mapintegratedvuer/src/store/modules/splitFlow.js"],"sourcesContent":["/* eslint-disable no-alert, no-console */\n\nconst state = () => ({\n activeView: \"singlepanel\",\n slotInfo: [\n { name: \"first\", id: 1, activation: 1 },\n { name: \"second\", id: 0, activation: 2 },\n { name: \"third\", id: 0, activation: 3 },\n { name: \"fourth\", id: 0, activation: 4 }\n ],\n viewIcons: [\n { icon: \"singlepanel\", name: \"Single view\", min: 1 },\n { icon: \"2horpanel\", name: \"Horizontal split\", min: 2 },\n { icon: \"2vertpanel\", name: \"Vertical split\", min: 2 },\n { icon: \"3panel\", name: \"Three panes\", min: 3 },\n { icon: \"4panel\", name: \"Four panes\", min: 4 }\n ],\n splitters: { \"first\": 50, \"second\": 50, \"third\": 50 },\n globalCallback: false,\n syncMode: false,\n});\n\nconst getters = {\n getFirstAvailableSlot: (state) => () => {\n return state.slotInfo.find(slot => slot.id === 0);\n },\n getIdbySlotName: (state) => (name) => {\n let slot = state.slotInfo.find(slot => slot.name === name);\n return slot !== undefined ? slot.id : undefined;\n },\n getSlotById: (state) => (id) => {\n let slot = state.slotInfo.find(slot => slot.id === id);\n return slot;\n },\n getSlotByName: (state) => (name) => {\n let slot = state.slotInfo.find(slot => slot.name === name);\n return slot;\n },\n isSlotActive: (state) => (slot) => {\n if (slot) {\n let view = state.viewIcons.find(view => state.activeView === view.icon);\n return (view.min >= slot.activation);\n }\n return false;\n },\n isEntryActive: (state) => (entry) => {\n let slot = state.slotInfo.find(slot => slot.id === entry.id);\n if (slot) {\n let view = state.viewIcons.find(view => state.activeView === view.icon);\n return (view.min >= slot.activation);\n }\n return false;\n },\n getState: (state) => () => {\n return {\n activeView: state.activeView, slotInfo: state.slotInfo,\n splitters: state.splitters,\n globalCallback: state.globalCallback,\n syncMode: state.syncMode,\n };\n },\n}\n\nconst mutations = {\n assignIdToSlot(state, payload) {\n state.slotInfo.find(\n slotInfo => slotInfo.name === payload.slot.name).id = payload.id;\n },\n assignOrSwapSlotWithIds(state, payload) {\n let sourceSlot = state.slotInfo.find(slot => slot.id === payload.source);\n let targetSlot = state.slotInfo.find(slot => slot.id === payload.target);\n // Check if it is on syncMode\n if (state.syncMode) {\n if (targetSlot) {\n //exit syncMod if the two panel in sync mode are not swapping\n if (!((targetSlot.name == \"first\" && sourceSlot.name == \"second\") ||\n (targetSlot.name == \"second\" && sourceSlot.name == \"first\"))) {\n state.syncMode = false;\n state.globalCallback = false;\n }\n }\n }\n if (targetSlot)\n targetSlot.id = payload.source;\n sourceSlot.id = payload.target;\n },\n changeViewByAvailabilty(state) {\n let count = 0;\n for (let i = 0; i < state.slotInfo.length; i++) {\n if (state.slotInfo[i].id > 0)\n count++;\n }\n let view = state.viewIcons.find(view => view.min === count);\n if (view)\n state.activeView = view.icon;\n },\n toggleGlobalCallback(state, flag) {\n state.globalCallback = flag;\n },\n updateActiveView(state, activeView) {\n //Deactivate sync mode if current or future view\n //is not in 2 split panels/\n if (state.syncMode) {\n const view1 = state.viewIcons.find(\n view => state.activeView === view.icon);\n const view2 = state.viewIcons.find(\n view => activeView === view.icon);\n if (!(view1.min == 2 && view2.min == 2)) {\n state.syncMode = false;\n state.globalCallback = false;\n }\n }\n state.activeView = activeView;\n },\n setSplitter(state, payload) {\n if (state.splitters[payload.name])\n state.splitters[payload.name] = payload.value;\n },\n setState(state, newState) {\n if (newState) {\n if (newState.activeView)\n state.activeView = newState.activeView;\n if (newState.globalCallback)\n state.globalCallback = newState.globalCallback;\n for (let i = 0; i < state.slotInfo.length; i++) {\n state.slotInfo[i].id = newState.slotInfo[i].id;\n }\n for (const [key, value] of Object.entries(newState.splitters)) {\n state.splitters[key] = value;\n }\n if (newState.syncMode)\n state.syncMode = newState.syncMode;\n }\n },\n setIdToPrimarySlot(state, id) {\n let availableSlot = state.slotInfo.find(slot => slot.id === id);\n if (!availableSlot)\n availableSlot = state.slotInfo.find(slot => slot.id === 0);\n let primarySlot = state.slotInfo.find(slotInfo => slotInfo.name === \"first\");\n if (availableSlot) {\n availableSlot.id = primarySlot.id;\n }\n primarySlot.id = id;\n },\n setSyncMode(state, payload) {\n if (payload) {\n //Force the second slot to be the new viewer in payload and change the \n //view to the payload's layout\n let secondSlot = state.slotInfo.find(slot => slot.name === \"second\");\n if (payload.flag === true) {\n let firstSlot = state.slotInfo.find(slot => slot.name === \"first\");\n let firstSlotId = firstSlot.id;\n let originalSlot = state.slotInfo.find(slot => slot.id === 1);\n secondSlot.id = payload.newId;\n if (originalSlot.name !== \"first\")\n originalSlot.id = firstSlotId;\n firstSlot.id = 1;\n state.syncMode = true;\n state.activeView = payload.layout;\n state.globalCallback = true;\n } else {\n state.activeView = \"singlepanel\";\n state.syncMode = false;\n state.globalCallback = false;\n }\n }\n },\n closeSlot(state, payload) {\n if (payload) {\n state.syncMode = false;\n state.globalCallback = false;\n let availableId = 0;\n //Primary id cannot be changed\n if (payload.id === 1) {\n availableId = 1;\n } else if (payload.entries) {\n for (let i = 0; i < payload.entries.length &&\n availableId == 0; i++) {\n //Find the entry not currently in use\n if (state.slotInfo.find(slot => slot.id ===\n payload.entries[i].id) === undefined) {\n availableId = payload.entries[i].id;\n }\n }\n }\n let slot = state.slotInfo.find(\n slotInfo => slotInfo.id === payload.id);\n let secondSlot = state.slotInfo.find(\n slotInfo => slotInfo.name === \"second\");\n let thirdSlot = state.slotInfo.find(\n slotInfo => slotInfo.name === \"third\");\n let fourthSlot = state.slotInfo.find(\n slotInfo => slotInfo.name === \"fourth\");\n // The following move the entry id to the appropriate slot\n // and remove the target id\n switch (slot.name) {\n case \"first\": {\n switch (state.activeView) {\n case \"2horpanel\":\n case \"2vertpanel\": {\n slot.id = secondSlot.id;\n secondSlot.id = availableId;\n } break;\n case \"3panel\": {\n slot.id = secondSlot.id;\n secondSlot.id = thirdSlot.id;\n thirdSlot.id = availableId;\n } break;\n case \"4panel\": {\n slot.id = secondSlot.id;\n secondSlot.id = thirdSlot.id;\n thirdSlot.id = fourthSlot.id;\n fourthSlot.id = availableId;\n } break;\n default:\n break;\n }\n } break;\n case \"second\": {\n switch (state.activeView) {\n case \"2horpanel\":\n case \"2vertpanel\": {\n slot.id = availableId;\n } break;\n case \"3panel\": {\n slot.id = thirdSlot.id;\n thirdSlot.id = fourthSlot.id;\n fourthSlot.id = availableId;\n } break;\n case \"4panel\": {\n slot.id = thirdSlot.id;\n thirdSlot.id = fourthSlot.id;\n fourthSlot.id = availableId;\n } break;\n default:\n break;\n }\n } break;\n case \"third\": {\n switch (state.activeView) {\n case \"3panel\":\n case \"4panel\": {\n slot.id = fourthSlot.id;\n fourthSlot.id = availableId;\n } break;\n default:\n break;\n }\n } break;\n case \"fourth\": {\n switch (state.activeView) {\n case \"4panel\": {\n slot.id = availableId;\n } break;\n default:\n break;\n }\n } break;\n default:\n break;\n }\n //Then switch the view\n switch (state.activeView) {\n case \"2horpanel\":\n case \"2vertpanel\":\n state.activeView = \"singlepanel\";\n break;\n case \"3panel\":\n state.activeView = \"2vertpanel\";\n break;\n case \"4panel\":\n state.activeView = \"3panel\";\n break;\n default:\n break;\n }\n }\n },\n};\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations\n}\n"],"mappings":";;;;;;AAAA;;AAEA,IAAMA,KAAK,GAAG,SAARA,KAAKA,CAAA;EAAA,OAAU;IACnBC,UAAU,EAAE,aAAa;IACzBC,QAAQ,EAAE,CACR;MAAEC,IAAI,EAAE,OAAO;MAAEC,EAAE,EAAE,CAAC;MAAEC,UAAU,EAAE;IAAE,CAAC,EACvC;MAAEF,IAAI,EAAE,QAAQ;MAAEC,EAAE,EAAE,CAAC;MAAEC,UAAU,EAAE;IAAE,CAAC,EACxC;MAAEF,IAAI,EAAE,OAAO;MAAEC,EAAE,EAAE,CAAC;MAAEC,UAAU,EAAE;IAAE,CAAC,EACvC;MAAEF,IAAI,EAAE,QAAQ;MAAEC,EAAE,EAAE,CAAC;MAAEC,UAAU,EAAE;IAAE,CAAC,CACzC;IACDC,SAAS,EAAE,CACT;MAAEC,IAAI,EAAE,aAAa;MAAEJ,IAAI,EAAE,aAAa;MAAEK,GAAG,EAAE;IAAE,CAAC,EACpD;MAAED,IAAI,EAAE,WAAW;MAAEJ,IAAI,EAAE,kBAAkB;MAAEK,GAAG,EAAE;IAAE,CAAC,EACvD;MAAED,IAAI,EAAE,YAAY;MAAEJ,IAAI,EAAE,gBAAgB;MAAEK,GAAG,EAAE;IAAE,CAAC,EACtD;MAAED,IAAI,EAAE,QAAQ;MAAEJ,IAAI,EAAE,aAAa;MAAEK,GAAG,EAAE;IAAE,CAAC,EAC/C;MAAED,IAAI,EAAE,QAAQ;MAAEJ,IAAI,EAAE,YAAY;MAAEK,GAAG,EAAE;IAAE,CAAC,CAC/C;IACDC,SAAS,EAAE;MAAE,OAAO,EAAE,EAAE;MAAE,QAAQ,EAAE,EAAE;MAAE,OAAO,EAAE;IAAG,CAAC;IACrDC,cAAc,EAAE,KA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