{"version":3,"file":"vendor.facepaint.3fc6fc83a4f3efe9.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA,mFAAmF;AACnF;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,YAAY;AACZ;;AAEA,oDAAoD;AACpD,YAAY;AACZ;AACA;AACA,SAAS;AACT,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA,sEAAsE,aAAa;AACnF;AACA;;AAEA;AACA;AACA;;AAEA,iEAAe,KAAK,EAAC;AACrB","sources":["webpack://admin/./node_modules/facepaint/dist/index.es.js"],"sourcesContent":["/* eslint-disable no-param-reassign */\nvar index = function (breakpoints) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n literal = _ref.literal,\n overlap = _ref.overlap;\n\n var mq = literal ? breakpoints : ['&'].concat(breakpoints);\n\n function flatten(obj) {\n if (typeof obj !== 'object' || obj == null) {\n return [];\n }\n\n if (Array.isArray(obj)) {\n return obj.map(flatten);\n }\n\n var slots = {};\n var objects = {};\n var props = {};\n Object.keys(obj).forEach(function (key) {\n // Check if value is an array, but skip if it looks like a selector.\n // key.indexOf('&') === 0\n\n var item = obj[key];\n if (!Array.isArray(item) && literal) item = [item];\n\n if ((literal || Array.isArray(item)) && key.charCodeAt(0) !== 38) {\n var prior = void 0;\n item.forEach(function (v, index) {\n // Optimize by removing duplicated media query entries\n // when they are explicitly known to overlap.\n if (overlap && prior === v) {\n return;\n }\n\n if (v == null) {\n // Do not create entries for undefined values as this will\n // generate empty media media quries\n return;\n }\n\n prior = v;\n\n if (index === 0 && !literal) {\n props[key] = v;\n } else if (slots[mq[index]] === undefined) {\n var _slots$mq$index;\n\n slots[mq[index]] = (_slots$mq$index = {}, _slots$mq$index[key] = v, _slots$mq$index);\n } else {\n slots[mq[index]][key] = v;\n }\n });\n } else if (typeof item === 'object') {\n objects[key] = flatten(item);\n } else {\n props[key] = item;\n }\n });\n\n // Ensure that all slots and then child objects are pushed to the end\n mq.forEach(function (el) {\n if (slots[el]) {\n props[el] = slots[el];\n }\n });\n Object.assign(props, objects);\n return props;\n }\n\n return function () {\n for (var _len = arguments.length, values = Array(_len), _key = 0; _key < _len; _key++) {\n values[_key] = arguments[_key];\n }\n\n return values.map(flatten);\n };\n};\n\nexport default index;\n//# sourceMappingURL=index.es.js.map\n"],"names":[],"sourceRoot":""}