{"remainingRequest":"/home/cmiss/Jenkins/workspace/mapintegratedvuer/node_modules/thread-loader/dist/cjs.js!/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":1684261475137},{"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/thread-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:aW1wb3J0IF9zbGljZWRUb0FycmF5IGZyb20gIi9ob21lL2NtaXNzL0plbmtpbnMvd29ya3NwYWNlL21hcGludGVncmF0ZWR2dWVyL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL2VzbS9zbGljZWRUb0FycmF5LmpzIjsKaW1wb3J0ICJjb3JlLWpzL21vZHVsZXMvZXMuYXJyYXkuZmluZC5qcyI7CmltcG9ydCAiY29yZS1qcy9tb2R1bGVzL2VzLm9iamVjdC50by1zdHJpbmcuanMiOwppbXBvcnQgImNvcmUtanMvbW9kdWxlcy9lcy5mdW5jdGlvbi5uYW1lLmpzIjsKaW1wb3J0ICJjb3JlLWpzL21vZHVsZXMvZXMub2JqZWN0LmVudHJpZXMuanMiOwppbXBvcnQgImNvcmUtanMvbW9kdWxlcy9lcy5hcnJheS5pdGVyYXRvci5qcyI7CmltcG9ydCAiY29yZS1qcy9tb2R1bGVzL3dlYi5kb20tY29sbGVjdGlvbnMuaXRlcmF0b3IuanMiOwovKiBlc2xpbnQtZGlzYWJsZSBuby1hbGVydCwgbm8tY29uc29sZSAqLwoKdmFyIHN0YXRlID0gZnVuY3Rpb24gc3RhdGUoKSB7CiAgcmV0dXJuIHsKICAgIGFjdGl2ZVZpZXc6ICJzaW5nbGVwYW5lbCIsCiAgICBzbG90SW5mbzogW3sKICAgICAgbmFtZTogImZpcnN0IiwKICAgICAgaWQ6IDEsCiAgICAgIGFjdGl2YXRpb246IDEKICAgIH0sIHsKICAgICAgbmFtZTogInNlY29uZCIsCiAgICAgIGlkOiAwLAogICAgICBhY3RpdmF0aW9uOiAyCiAgICB9LCB7CiAgICAgIG5hbWU6ICJ0aGlyZCIsCiAgICAgIGlkOiAwLAogICAgICBhY3RpdmF0aW9uOiAzCiAgICB9LCB7CiAgICAgIG5hbWU6ICJmb3VydGgiLAogICAgICBpZDogMCwKICAgICAgYWN0aXZhdGlvbjogNAogICAgfV0sCiAgICB2aWV3SWNvbnM6IFt7CiAgICAgIGljb246ICJzaW5nbGVwYW5lbCIsCiAgICAgIG5hbWU6ICJTaW5nbGUgdmlldyIsCiAgICAgIG1pbjogMQogICAgfSwgewogICAgICBpY29uOiAiMmhvcnBhbmVsIiwKICAgICAgbmFtZTogIkhvcml6b250YWwgc3BsaXQiLAogICAgICBtaW46IDIKICAgIH0sIHsKICAgICAgaWNvbjogIjJ2ZXJ0cGFuZWwiLAogICAgICBuYW1lOiAiVmVydGljYWwgc3BsaXQiLAogICAgICBtaW46IDIKICAgIH0sIHsKICAgICAgaWNvbjogIjNwYW5lbCIsCiAgICAgIG5hbWU6ICJUaHJlZSBwYW5lcyIsCiAgICAgIG1pbjogMwogICAgfSwgewogICAgICBpY29uOiAiNHBhbmVsIiwKICAgICAgbmFtZTogIkZvdXIgcGFuZXMiLAogICAgICBtaW46IDQKICAgIH1dLAogIC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IGZvbGxvd2luZyBtb3ZlIHRoZSBlbnRyeSBpZCB0byB0aGUgYXBwcm9wcmlhdGUgc2xvdAogICAgICAvLyBhbmQgcmVtb3ZlIHRoZSB0YXJnZXQgaWQKICAgICAgc3dpdGNoIChzbG90Lm5hbWUpIHsKICAgICAgICBjYXNlICJmaXJzdCI6CiAgICAgICAgICB7CiAgICAgICAgICAgIHN3aXRjaCAoc3RhdGUuYWN0aXZlVmlldykgewogICAgICAgICAgICAgIGNhc2UgIjJob3JwYW5lbCI6CiAgICAgICAgICAgICAgY2FzZSAiMnZlcnRwYW5lbCI6CiAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgIHNsb3QuaWQgPSBzZWNvbmRTbG90LmlkOwogICAgICAgICAgICAgICAgICBzZWNvbmRTbG90LmlkID0gYXZhaWxhYmxlSWQ7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICBjYXNlICIzcGFuZWwiOgogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBzbG90LmlkID0gc2Vjb25kU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgc2Vjb25kU2xvdC5pZCA9IHRoaXJkU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgdGhpcmRTbG90LmlkID0gYXZhaWxhYmxlSWQ7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICBjYXNlICI0cGFuZWwiOgogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBzbG90LmlkID0gc2Vjb25kU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgc2Vjb25kU2xvdC5pZCA9IHRoaXJkU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgdGhpcmRTbG90LmlkID0gZm91cnRoU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgZm91cnRoU2xvdC5pZCA9IGF2YWlsYWJsZUlkOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgZGVmYXVsdDoKICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgICBicmVhazsKICAgICAgICBjYXNlICJzZWNvbmQiOgogICAgICAgICAgewogICAgICAgICAgICBzd2l0Y2ggKHN0YXRlLmFjdGl2ZVZpZXcpIHsKICAgICAgICAgICAgICBjYXNlICIyaG9ycGFuZWwiOgogICAgICAgICAgICAgIGNhc2UgIjJ2ZXJ0cGFuZWwiOgogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBzbG90LmlkID0gYXZhaWxhYmxlSWQ7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICBjYXNlICIzcGFuZWwiOgogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBzbG90LmlkID0gdGhpcmRTbG90LmlkOwogICAgICAgICAgICAgICAgICB0aGlyZFNsb3QuaWQgPSBmb3VydGhTbG90LmlkOwogICAgICAgICAgICAgICAgICBmb3VydGhTbG90LmlkID0gYXZhaWxhYmxlSWQ7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICBjYXNlICI0cGFuZWwiOgogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBzbG90LmlkID0gdGhpcmRTbG90LmlkOwogICAgICAgICAgICAgICAgICB0aGlyZFNsb3QuaWQgPSBmb3VydGhTbG90LmlkOwogICAgICAgICAgICAgICAgICBmb3VydGhTbG90LmlkID0gYXZhaWxhYmxlSWQ7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICBkZWZhdWx0OgogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICAgIGJyZWFrOwogICAgICAgIGNhc2UgInRoaXJkIjoKICAgICAgICAgIHsKICAgICAgICAgICAgc3dpdGNoIChzdGF0ZS5hY3RpdmVWaWV3KSB7CiAgICAgICAgICAgICAgY2FzZSAiM3BhbmVsIjoKICAgICAgICAgICAgICBjYXNlICI0cGFuZWwiOgogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBzbG90LmlkID0gZm91cnRoU2xvdC5pZDsKICAgICAgICAgICAgICAgICAgZm91cnRoU2xvdC5pZCA9IGF2YWlsYWJsZUlkOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgZGVmYXVsdDoKICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgICBicmVhazsKICAgICAgICBjYXNlICJmb3VydGgiOgogICAgICAgICAgewogICAgICAgICAgICBzd2l0Y2ggKHN0YXRlLmFjdGl2ZVZpZXcpIHsKICAgICAgICAgICAgICBjYXNlICI0cGFuZWwiOgogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICBzbG90LmlkID0gYXZhaWxhYmxlSWQ7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICBkZWZhdWx0OgogICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICAgIGJyZWFrOwogICAgICAgIGRlZmF1bHQ6CiAgICAgICAgICBicmVhazsKICAgICAgfQogICAgICAvL1RoZW4gc3dpdGNoIHRoZSB2aWV3CiAgICAgIHN3aXRjaCAoc3RhdGUuYWN0aXZlVmlldykgewogICAgICAgIGNhc2UgIjJob3JwYW5lbCI6CiAgICAgICAgY2FzZSAiMnZlcnRwYW5lbCI6CiAgICAgICAgICBzdGF0ZS5hY3RpdmVWaWV3ID0gInNpbmdsZXBhbmVsIjsKICAgICAgICAgIGJyZWFrOwogICAgICAgIGNhc2UgIjNwYW5lbCI6CiAgICAgICAgICBzdGF0ZS5hY3RpdmVWaWV3ID0gIjJ2ZXJ0cGFuZWwiOwogICAgICAgICAgYnJlYWs7CiAgICAgICAgY2FzZSAiNHBhbmVsIjoKICAgICAgICAgIHN0YXRlLmFjdGl2ZVZpZXcgPSAiM3BhbmVsIjsKICAgICAgICAgIGJyZWFrOwogICAgICAgIGRlZmF1bHQ6CiAgICAgICAgICBicmVhazsKICAgICAgfQogICAgfQogIH0KfTsKZXhwb3J0IGRlZmF1bHQgewogIG5hbWVzcGFjZWQ6IHRydWUsCiAgc3RhdGU6IHN0YXRlLAogIGdldHRlcnM6IGdldHRlcnMsCiAgbXV0YXRpb25zOiBtdXRhdGlvbnMKfTs="},{"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","assignOrSwapIdToSlot","targetSlot","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","slotName","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 assignOrSwapIdToSlot(state, payload) {\n let targetSlot = state.slotInfo.find(slot => slot.id === payload.id);\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\" && payload.slot.name == \"second\") ||\n (targetSlot.name == \"second\" && payload.slot.name == \"first\"))) {\n state.syncMode = false;\n state.globalCallback = false;\n }\n }\n }\n if (targetSlot)\n targetSlot.id = payload.slot.id;\n payload.slot.id = payload.id;\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.name === payload.slotName);\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,O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