Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.mockserver.dashboard.static.js.main.bafde191.chunk.js.map Maven / Gradle / Ivy
{"version":3,"sources":["store/configureStore.js","actions/index.js","components/RequestFilter.js","components/JsonItem.js","components/LogMessage.js","components/ListHeader.js","containers/LogList.js","containers/JsonList.js","containers/Grid.js","containers/App.js","index.js","reducers/entities.js","reducers/index.js","middleware/socket.js","middleware/exposeState.js","store/configureStore.prod.js"],"names":["module","exports","require","__webpack_require__","d","__webpack_exports__","CONNECT_SOCKET","SEND_MESSAGE","sendMessage","MESSAGE_RECEIVED","webSocketMessageReceived","DISCONNECT_SOCKET","disconnectSocket","message","host","port","secure","dispatch","type","sendWebSocketMessage","entities","filterNullsMultiValue","rawItems","items","undefined","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","Symbol","iterator","next","done","rawItem","value","valueSet","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_step2","_iterator2","values","err","return","name","push","loadData","_ref","_ref$host","_ref$port","_ref$secure","_ref$requestMatcher","requestMatcher","requestFilter","method","path","keepAlive","headers","queryStringParameters","cookies","enabled","_iteratorNormalCompletion3","_didIteratorError3","_iteratorError3","_step3","_iterator3","filterNullsSingleValue","RequestFilter","renderValues","_ref2","fields","disabled","react_default","a","createElement","style","width","padding","paddingRight","display","verticalAlign","map","field","index","key","Field","fullWidth","component","TextField","hintText","onChange","e","console","log","floatingLabelText","index_es","minWidth","onClick","remove","remove_default","add_default","renderKeysToMultiValues","_ref3","title","color","paddingTop","textAlign","fontFamily","concat","AutoComplete","openOnFocus","filter","MUIAutoComplete","fuzzyFilter","dataSource","FieldArray","_this","mini","renderKeysToValues","_ref4","this","props","nextProps","expanded","margin","actAsExpander","showExpandableButton","backgroundColor","expandable","Toggle","label","labelPosition","marginBottom","paddingLeft","SelectField","primaryText","overflow","Component","selector","formValueSelector","reduxForm","form","initialValues","destroyOnUnmount","mapDispatchToProps","connect","state","requestFilterExpanded","pure","JsonItem","_this$props","_this$props$collapsed","collapsed","_this$props$jsonItem","jsonItem","_this$props$descripti","description","_this$props$display","_this$props$enableCli","enableClipboard","_this$props$textStyle","textStyle","Array","isArray","jsonDiv","json","maxWidth","first","object","second","textOverflow","addDescription","main_default","src","whiteSpace","top","theme","iconStyle","indentWidth","shouldCollapse","displayObjectSize","displayDataTypes","onEdit","onAdd","onDelete","LogMessage","addLinks","urlMatch","match","matchedUrl","substr","indexOf","textDecoration","href","target","rel","length","_this$props$logMessag","logMessage","_this$props$group","group","_this$props$indent","indent","className","borderStyle","borderColor","marginLeft","marginTop","marginRight","paddingBottom","item","cellStyle","Object","assign","fontSize","position","messageParts","messagePart","argument","multiline","because","line","reason","lineHeight","JsonItem_JsonItem","letterSpacing","viewBox","fill","height","renderItem","ListHeader","_this$props$text","text","font","LogList","_this$props$header","header","_this$props$items","ListHeader_ListHeader","overflowY","maxHeight","minHeight","borderRadius","borderCollapse","LogMessage_LogMessage","JsonList","_this$props$reverseIn","reverseIndex","Grid","_this$props$entities","_this$props$entities$","activeExpectations","_this$props$entities$2","proxiedRequests","_this$props$entities$3","recordedRequests","_this$props$entities$4","logMessages","borderWidth","LogList_LogList","JsonList_JsonList","float","borderRightStyle","borderRightWidth","_state$entities","_state$entities$activ","_state$entities$proxi","_state$entities$recor","_state$entities$logMe","_state$requestFilter","App","components_RequestFilter","containers_Grid","window","location","search","parse","hostname","protocol","store","configureStore","render","es","App_App","document","getElementById","arguments","action","rootReducer","combineReducers","middleware_socket","socket","connected","close","connectSocket","WebSocket","onmessage","event","JSON","data","onclose","onopen","readyState","send","stringify","exposeState","objectSpread","getState","preloadedState","createStore","applyMiddleware","thunk"],"mappings":"6EACIA,EAAOC,QAAUC,EAAQ,4ECD7BC,EAAAC,EAAAC,EAAA,sBAAAC,IAAAH,EAAAC,EAAAC,EAAA,sBAAAE,IAAAJ,EAAAC,EAAAC,EAAA,sBAAAG,I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EAAO5Q,SAAS4O,iBAAmBgC,EAAO5Q,SAAS4O,iBAAmB,GACxFE,YAAa8B,EAAO5Q,SAAS8O,aAG9B/G,GCPI8I,EALKC,YAAgB,CAChC9Q,WACA0H,WCJWqJ,EAAA,WACX,IAAIC,EAAS,KACTC,GAAY,EAEZzR,EAAmB,WACnByR,GAAY,EACE,MAAVD,GACAA,EAAOE,QAEXF,EAAS,MAETG,EAAgB,SAAUP,EAAQhQ,GACpB,MAAVoQ,GACAA,EAAOE,SAEXF,EAAS,IAAII,WAAWR,EAAOhR,OAAS,MAAQ,MAAQ,MAAQgR,EAAOlR,KAAO,IAAMkR,EAAOjR,KAAO,8BAC3F0R,UAAY,SAACC,GAChB1Q,EAAKtB,YACDiS,KAAKtB,MAAMqB,EAAME,SAGzBR,EAAOS,QAAU,WACbjS,KAEJwR,EAAOU,OAAS,WACZT,GAAY,EACRD,GAAUJ,EAAOnR,SAAiC,IAAtBuR,EAAOW,YACnCX,EAAOY,KAAKL,KAAKM,UAAUjB,EAAOnR,YAI9C,OAAO,SAAA2Q,GAAK,OAAI,SAAAxP,GAAI,OAAI,SAAAgQ,GACpB,OAAQA,EAAO9Q,MACX,KAAKZ,IACDiS,EAAcP,EAAQhQ,GACtB,MACJ,KAAKrB,IACDC,IACA,MACJ,KAAKL,IACG8R,EACAD,EAAOY,KAAKL,KAAKM,UAAUjB,EAAOnR,UAElC0R,EAAcP,EAAQhQ,GAE1B,MACJ,QAEI,OAAOA,EAAKgQ,OAhDb,YCFAkB,EAAA,SAAA1B,GAAK,OAAI,SAAAxP,GAAI,OAAI,SAAAgQ,GAC5BhQ,EAAKqL,OAAA8F,EAAA,EAAA9F,CAAA,GAAK2E,EAAN,CAAcoB,SAAU5B,EAAM4B,eCavB3B,UARQ,SAAA4B,GACnB,OAAOC,YACHrB,EACAoB,EACAE,YAAgBC,IAAOpB,EAAQc","file":"static/js/main.bafde191.chunk.js","sourcesContent":["if (process.env.NODE_ENV === 'production') {\n module.exports = require('./configureStore.prod')\n} else {\n module.exports = require('./configureStore.dev')\n}\n","export const CONNECT_SOCKET = 'CONNECT_SOCKET';\n\nconst connectWebSocket = (host, port, secure, contextPath) => ({\n type: CONNECT_SOCKET,\n host: host,\n port: port,\n secure: secure,\n contextPath: contextPath\n});\n\nexport const connectSocket = (host, port, secure, contextPath) => (dispatch) => {\n return dispatch(connectWebSocket(host, port, secure, contextPath));\n};\n\nexport const SEND_MESSAGE = 'SEND_MESSAGE';\n\nconst sendWebSocketMessage = (message, host, port, secure) => ({\n type: SEND_MESSAGE,\n message: message,\n host: host,\n port: port,\n secure: secure\n});\n\nexport const sendMessage = (message, host, port, secure) => (dispatch) => {\n return dispatch(sendWebSocketMessage(message, host, port, secure));\n};\n\nexport const MESSAGE_RECEIVED = 'MESSAGE_RECEIVED';\n\nexport const webSocketMessageReceived = (message) => ({\n type: MESSAGE_RECEIVED,\n entities: message\n});\n\nexport const DISCONNECT_SOCKET = 'DISCONNECT_SOCKET';\n\nconst disconnectWebSocket = () => ({\n type: DISCONNECT_SOCKET\n});\n\nexport const disconnectSocket = () => (dispatch) => {\n return dispatch(disconnectWebSocket());\n};\n","import React, {Component} from 'react';\nimport {connect} from 'react-redux';\nimport {Field, FieldArray, formValueSelector, reduxForm} from 'redux-form';\nimport {\n AutoComplete as MUIAutoComplete,\n Card,\n CardHeader,\n CardText,\n FloatingActionButton,\n MenuItem,\n IconButton\n} from 'material-ui';\nimport ContentAdd from 'material-ui/svg-icons/content/add';\nimport ContentRemove from 'material-ui/svg-icons/content/remove';\nimport PropTypes from \"prop-types\";\nimport {AutoComplete, SelectField, TextField, Toggle,} from 'redux-form-material-ui';\nimport {disconnectSocket, sendMessage} from \"../actions\";\n\nlet filterNullsMultiValue = function (rawItems) {\n let items = undefined;\n for (let rawItem of rawItems) {\n let valueSet = false;\n for (let value of rawItem.values) {\n if (value) {\n valueSet = true;\n }\n }\n if (rawItem.name && valueSet) {\n if (!items) {\n items = [];\n }\n items.push(rawItem);\n }\n }\n return items;\n};\nlet filterNullsSingleValue = function (rawItems) {\n let items = undefined;\n for (let rawItem of rawItems) {\n if (rawItem.name && rawItem.value) {\n if (!items) {\n items = [];\n }\n items.push(rawItem);\n }\n }\n return items;\n};\nconst loadData = ({host = \"127.0.0.1\", port = \"1080\", secure = true, requestMatcher = {}, sendMessage}) => {\n let requestFilter = {\n method: undefined,\n path: undefined,\n keepAlive: undefined,\n secure: undefined,\n headers: undefined,\n queryStringParameters: undefined,\n cookies: undefined,\n };\n if (requestMatcher.enabled) {\n requestFilter = {\n method: requestMatcher.method,\n path: requestMatcher.path,\n keepAlive: requestMatcher.keepAlive ? true : undefined,\n secure: requestMatcher.secure ? true : undefined,\n headers: undefined,\n queryStringParameters: undefined,\n cookies: undefined,\n };\n requestFilter.cookies = filterNullsSingleValue(requestMatcher.cookies);\n requestFilter.headers = filterNullsMultiValue(requestMatcher.headers);\n requestFilter.queryStringParameters = filterNullsMultiValue(requestMatcher.queryStringParameters);\n }\n sendMessage(requestFilter, host, port, secure);\n};\n\nclass RequestFilter extends Component {\n static propTypes = {\n host: PropTypes.string.isRequired,\n port: PropTypes.string.isRequired,\n secure: PropTypes.bool.isRequired\n };\n\n componentWillUnmount() {\n this.props.disconnectSocket()\n }\n\n componentWillReceiveProps(nextProps) {\n if (nextProps.requestMatcher !== this.props.requestMatcher || nextProps.expanded !== this.props.expanded) {\n loadData(nextProps)\n }\n }\n\n renderValues = ({fields, disabled}) => {\n return (\n \n {fields.map((field, index) =>
\n\n {\n console.log(e)\n }}\n floatingLabelText=\"Value\"\n />\n {index > 0 ?\n fields.remove(index)}>\n \n \n : \"\"}\n\n
)}\n
fields.push(\"\")}>\n \n \n
)\n };\n renderKeysToMultiValues = ({fields, disabled, title}) => {\n return (\n
{title}\n
\n
\n {fields.map((field, index) =>
\n
\n \n
\n
\n {index > 0 ? fields.remove(index)}>\n \n : \"\"}\n )}\n
fields.push({\n values: [\"\"]\n })}>\n \n \n
\n
)\n };\n renderKeysToValues = ({fields, disabled, title}) => {\n return (\n
{title}\n
\n
\n {fields.map((field, index) =>
\n
\n \n
\n
\n \n
\n {index > 0 ?
fields.remove(index)}>\n \n : \"\"}\n
)}\n
fields.push({})}>\n \n \n
\n
)\n };\n\n render() {\n const disabled = !this.props.requestMatcher.enabled;\n return (\n \n
\n \n \n \n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n\n
\n \n
\n
\n
\n
\n
\n
\n
\n \n \n
\n );\n }\n}\n\nconst formName = 'requestFilter';\nconst selector = formValueSelector(formName);\n\nRequestFilter = reduxForm({\n form: formName,\n initialValues: {\n headers: [{\n values: [\"\"]\n }],\n queryStringParameters: [{\n values: [\"\"]\n }],\n cookies: [{}],\n },\n destroyOnUnmount: false\n})(RequestFilter);\n\nconst mapStateToProps = (state, props) => {\n return {\n requestMatcher: selector(state, 'enabled', 'method', 'path', 'keepAlive', 'secure', 'headers', 'queryStringParameters', 'cookies'),\n expanded: state.requestFilterExpanded,\n }\n};\n\nconst mapDispatchToProps = {\n sendMessage,\n disconnectSocket\n};\n\nRequestFilter = connect(\n mapStateToProps,\n mapDispatchToProps,\n undefined,\n {pure: true}\n)(RequestFilter);\n\nexport default RequestFilter;","import React, {Component} from 'react';\nimport ReactJson from 'react-json-view';\nimport PropTypes from \"prop-types\";\nimport './jsonItem.css';\n\nexport default class JsonItem extends Component {\n static propTypes = {\n description: PropTypes.oneOfType([PropTypes.object.isRequired, PropTypes.string.isRequired]),\n jsonItem: PropTypes.oneOfType([PropTypes.string.isRequired, PropTypes.object.isRequired, PropTypes.array.isRequired]).isRequired,\n };\n\n render() {\n const {\n collapsed = 0,\n jsonItem = null,\n description = null,\n display = \"inline-block\",\n enableClipboard = true,\n textStyle = {}\n } = this.props;\n\n function addDescription(description, jsonDiv) {\n if (description.json) {\n return \n \n \n \n {jsonDiv}\n
;\n } else {\n return (\n \n {jsonDiv}\n
);\n }\n }\n\n if (typeof jsonItem === \"object\" || Array.isArray(jsonItem)) {\n if (description) {\n return addDescription(description, {\n return false\n }}\n enableClipboard={enableClipboard}\n displayObjectSize={false}\n displayDataTypes={false}\n onEdit={false}\n onAdd={false}\n onDelete={false}/>);\n } else {\n return ( {\n return false\n }}\n enableClipboard={enableClipboard}\n displayObjectSize={false}\n displayDataTypes={false}\n onEdit={false}\n onAdd={false}\n onDelete={false}/>);\n }\n } else if (typeof jsonItem === \"string\") {\n return ({jsonItem} );\n } else {\n return (
);\n }\n }\n};\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport JsonItem from \"./JsonItem\";\nimport './log.css';\n\nexport default class LogMessage extends Component {\n static propTypes = {\n logMessage: PropTypes.oneOfType([PropTypes.object.isRequired, PropTypes.array.isRequired]).isRequired,\n group: PropTypes.object\n };\n\n render() {\n\n function addLinks(value) {\n var urlMatch = value.match(\"(http){1}s?://[^\\\\s]*\");\n if (urlMatch) {\n let matchedUrl = urlMatch[0];\n return ({value.substr(0, value.indexOf(matchedUrl))}{matchedUrl} {value.substr(value.indexOf(matchedUrl) + matchedUrl.length)} );\n } else {\n return value;\n }\n }\n\n const {\n logMessage = {},\n group = false,\n indent = false,\n } = this.props;\n\n function renderItem(logMessage) {\n let cellStyle = {\n display: \"table-cell\",\n fontFamily: \"monospace, Roboto, sans-serif\"\n };\n return \n
{logMessage.description}
\n {logMessage.messageParts ? logMessage.messageParts.map((messagePart) => {\n if (messagePart.value) {\n if (!messagePart.argument) {\n return
{addLinks(messagePart.value)}
;\n } else {\n if (messagePart.multiline || messagePart.because) {\n let line = messagePart.value.map(\n (reason, index) => {\n let color = \"rgb(255, 255, 255)\";\n if (messagePart.because) {\n if (reason.indexOf(\"matched\") !== -1) {\n color = \"rgb(107, 199, 118)\";\n } else if (reason.indexOf(\"didn't match\") !== -1) {\n color = \"rgb(216, 88, 118)\";\n } else {\n color = \"rgb(255, 255, 255)\";\n }\n }\n return
{addLinks(reason)} \n }\n );\n return
\n \n ... \n \n {line}\n \n
;\n } else if (messagePart.json) {\n return
;\n } else {\n return {addLinks(messagePart.value)}
;\n }\n }\n } else {\n return ;\n }\n }) : }\n ;\n }\n\n if (group) {\n return (\n \n {logMessage.map((item, index) => )}
\n );\n } else {\n return renderItem(logMessage);\n }\n }\n};\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\n\nexport default class ListHeader extends Component {\n static propTypes = {\n text: PropTypes.string.isRequired\n };\n\n render() {\n const {\n text = \"\"\n } = this.props;\n return (\n {text}
\n )\n }\n};\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport LogMessage from \"../components/LogMessage\";\nimport ListHeader from \"../components/ListHeader\";\n\nexport default class LogList extends Component {\n static propTypes = {\n header: PropTypes.string.isRequired,\n items: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.shape({\n key: PropTypes.string.isRequired,\n value: PropTypes.object.isRequired\n })).isRequired, PropTypes.array.isRequired]).isRequired,\n };\n\n render() {\n const {\n header = \"\",\n items = [],\n } = this.props;\n return (\n \n
\n \n
{items.map((item, index) => )}
\n
\n \n );\n }\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport ListHeader from \"../components/ListHeader\";\nimport JsonItem from \"../components/JsonItem\";\n\nexport default class JsonList extends Component {\n static propTypes = {\n header: PropTypes.string.isRequired,\n items: PropTypes.arrayOf(PropTypes.shape({\n key: PropTypes.string.isRequired,\n description: PropTypes.oneOfType([PropTypes.object.isRequired, PropTypes.string.isRequired]).isRequired,\n value: PropTypes.object.isRequired\n })).isRequired,\n };\n\n render() {\n const {\n header = \"\",\n items = [],\n reverseIndex = true\n } = this.props;\n return (\n \n
\n \n {items.map((item, index) => {\n return ;\n })}\n
\n \n );\n }\n};\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {connect} from 'react-redux';\nimport LogList from \"../containers/LogList\";\nimport JsonList from \"../containers/JsonList\";\nimport './grid.css';\n\nclass Grid extends Component {\n static propTypes = {\n entities: PropTypes.shape({\n activeExpectations: PropTypes.array.isRequired,\n proxiedRequests: PropTypes.array.isRequired,\n recordedRequests: PropTypes.array.isRequired,\n logMessages: PropTypes.array.isRequired,\n }).isRequired,\n requestFilter: PropTypes.object.isRequired,\n };\n\n render() {\n const {\n entities: {\n activeExpectations = [],\n proxiedRequests = [],\n recordedRequests = [],\n logMessages = [],\n },\n } = this.props;\n return (\n \n );\n }\n}\n\nconst mapStateToProps = (state) => {\n const {\n activeExpectations = [],\n proxiedRequests = [],\n recordedRequests = [],\n logMessages = [],\n } = state.entities;\n\n const {\n requestFilter = {}\n } = state;\n\n return {\n entities: {\n activeExpectations,\n proxiedRequests,\n recordedRequests,\n logMessages,\n },\n requestFilter\n }\n};\n\nconst mapDispatchToProps = {};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Grid)\n","import React, {Component} from 'react';\nimport RequestFilter from \"../components/RequestFilter\";\nimport Grid from './Grid';\nimport {parse} from 'query-string';\n\nexport default class App extends Component {\n static host() {\n if (window.location.search && parse(window.location.search).host) {\n return parse(window.location.search).host;\n } else if (window.location.hostname) {\n return window.location.hostname;\n }\n return window.location.hostname;\n }\n\n static port() {\n if (window.location.search && parse(window.location.search).port) {\n return parse(window.location.search).port;\n } else if (window.location.port) {\n return window.location.port;\n } else if (window.location.protocol === \"https:\") {\n return 443;\n } else {\n return 80;\n }\n }\n\n static secure() {\n if (window.location.protocol) {\n return window.location.protocol === \"https:\";\n } else {\n return false;\n }\n }\n\n render() {\n return (\n \n \n
)\n }\n}\n","import React from 'react'\nimport {render} from 'react-dom'\nimport {Provider} from 'react-redux'\nimport App from './containers/App'\nimport configureStore from './store/configureStore'\nimport {MuiThemeProvider} from \"material-ui\";\n\nconst store = configureStore();\n\nrender(\n \n \n \n \n ,\n document.getElementById('app')\n);\n","import {MESSAGE_RECEIVED} from '../actions'\n\nconst entities = (state = {\n activeExpectations: [],\n proxiedRequests: [],\n recordedRequests: [],\n logMessages: []\n}, action) => {\n if (action.type === MESSAGE_RECEIVED && action.entities) {\n return {\n activeExpectations: action.entities.activeExpectations ? action.entities.activeExpectations : [],\n proxiedRequests: action.entities.proxiedRequests ? action.entities.proxiedRequests : [],\n recordedRequests: action.entities.recordedRequests ? action.entities.recordedRequests : [],\n logMessages: action.entities.logMessages\n };\n }\n return state;\n};\n\nexport default entities","import {combineReducers} from 'redux'\nimport {reducer as form} from 'redux-form'\nimport entities from './entities'\n\nconst rootReducer = combineReducers({\n entities,\n form,\n});\n\nexport default rootReducer","import {CONNECT_SOCKET, DISCONNECT_SOCKET, SEND_MESSAGE, webSocketMessageReceived} from '../actions'\n\nexport default (function () {\n let socket = null;\n let connected = false;\n\n let disconnectSocket = function () {\n connected = false;\n if (socket != null) {\n socket.close()\n }\n socket = null\n };\n let connectSocket = function (action, next) {\n if (socket != null) {\n socket.close()\n }\n socket = new WebSocket((action.secure ? \"wss\" : \"ws\") + \"://\" + action.host + \":\" + action.port + \"/_mockserver_ui_websocket\");\n socket.onmessage = (event) => {\n next(webSocketMessageReceived(\n JSON.parse(event.data)\n ))\n };\n socket.onclose = () => {\n disconnectSocket();\n };\n socket.onopen = () => {\n connected = true;\n if (socket && action.message && socket.readyState === 1) {\n socket.send(JSON.stringify(action.message))\n }\n }\n };\n return store => next => action => {\n switch (action.type) {\n case CONNECT_SOCKET:\n connectSocket(action, next);\n break;\n case DISCONNECT_SOCKET:\n disconnectSocket();\n break;\n case SEND_MESSAGE:\n if (connected) {\n socket.send(JSON.stringify(action.message))\n } else {\n connectSocket(action, next)\n }\n break;\n default:\n // listen for changes here\n return next(action)\n }\n }\n})()","export default store => next => action => {\n next({ ...action, getState: store.getState });\n}","import {applyMiddleware, createStore} from 'redux'\nimport thunk from 'redux-thunk'\nimport rootReducer from '../reducers'\nimport socket from '../middleware/socket'\nimport exposeState from \"../middleware/exposeState\";\n\nconst configureStore = preloadedState => {\n return createStore(\n rootReducer,\n preloadedState,\n applyMiddleware(thunk, socket, exposeState)\n )\n};\n\nexport default configureStore\n"],"sourceRoot":""}