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C/BpF,UACA1D,MACAQ,KACAyI,gBACA7I,UACGiJ,KACAD,IAEP,MAAO,CACH,QAA+C,QAAnCjI,EAAK2E,EAAiBpC,eAA4B,IAAPvC,EAAgBA,EAAKuC,EAC5E,IAAuC,QAA/BgD,EAAKZ,EAAiB9F,WAAwB,IAAP0G,EAAgBA,EAAK1G,EACpE,GAAqC,QAA9B6G,EAAKf,EAAiBtF,UAAuB,IAAPqG,EAAgBA,EAAKrG,KAC/D6I,EAEX,CAAC,EAGb,CACA,MAAMK,EAAW,IAAI7H,O","sources":["webpack://app/./node_modules/@mui/icons-material/esm/Link.js","webpack://app/./node_modules/lodash/_apply.js","webpack://app/./node_modules/lodash/_arrayEach.js","webpack://app/./node_modules/lodash/_arrayMap.js","webpack://app/./node_modules/lodash/_assignValue.js","webpack://app/./node_modules/lodash/_baseAssign.js","webpack://app/./node_modules/lodash/_baseAssignIn.js","webpack://app/./node_modules/lodash/_baseAssignValue.js","webpack://app/./node_modules/lodash/_baseClone.js","webpack://app/./node_modules/lodash/_baseCreate.js","webpack://app/./node_modules/lodash/_baseFlatten.js","webpack://app/./node_modules/lodash/_baseGet.js","webpack://app/./node_modules/lodash/_baseIsMap.js","webpack://app/./node_modules/lodash/_baseIsSet.js","webpack://app/./node_modules/lodash/_baseKeysIn.js","webpack://app/./node_modules/lodash/_baseSetToString.js","webpack://app/./node_modules/lodash/_baseSlice.js","webpack://app/./node_modules/lodash/_baseToString.js","webpack://app/./node_modules/lodash/_baseUnset.js","webpack://app/./node_modules/lodash/_castPath.js","webpack://app/./node_modules/lodash/_cloneArrayBuffer.js","webpack://app/./node_modules/lodash/_cloneBuffer.js","webpack://app/./node_modules/lodash/_cloneDataView.js","webpack://app/./node_modules/lodash/_cloneRegExp.js","webpack://app/./node_modules/lodash/_cloneSymbol.js","webpack://app/./node_modules/lodash/_cloneTypedArray.js","webpack://app/./node_modules/lodash/_copyArray.js","webpack://app/./node_modules/lodash/_copyObject.js","webpack://app/./node_modules/lodash/_copySymbols.js","webpack://app/./node_modules/lodash/_copySymbolsIn.js","webpack://app/./node_modules/lodash/_customOmitClone.js","webpack://app/./node_modules/lodash/_defineProperty.js","webpack://app/./node_modules/lodash/_flatRest.js","webpack://app/./node_modules/lodash/_getAllKeysIn.js","webpack://app/./node_modules/lodash/_getPrototype.js","webpack://app/./node_modules/lodash/_getSymbolsIn.js","webpack://app/./node_modules/lodash/_initCloneArray.js","webpack://app/./node_modules/lodash/_initCloneByTag.js","webpack://app/./node_modules/lodash/_initCloneObject.js","webpack://app/./node_modules/lodash/_isFlattenable.js","webpack://app/./node_modules/lodash/_isKey.js","webpack://app/./node_modules/lodash/_memoizeCapped.js","webpack://app/./node_modules/lodash/_nativeKeysIn.js","webpack://app/./node_modules/lodash/_overRest.js","webpack://app/./node_modules/lodash/_parent.js","webpack://app/./node_modules/lodash/_setToString.js","webpack://app/./node_modules/lodash/_shortOut.js","webpack://app/./node_modules/lodash/_stringToPath.js","webpack://app/./node_modules/lodash/_toKey.js","webpack://app/./node_modules/lodash/constant.js","webpack://app/./node_modules/lodash/flatten.js","webpack://app/./node_modules/lodash/identity.js","webpack://app/./node_modules/lodash/isMap.js","webpack://app/./node_modules/lodash/isPlainObject.js","webpack://app/./node_modules/lodash/isSet.js","webpack://app/./node_modules/lodash/keysIn.js","webpack://app/./node_modules/lodash/last.js","webpack://app/./node_modules/lodash/omit.js","webpack://app/./node_modules/lodash/toString.js","webpack://app/./node_modules/mui-tiptap/dist/esm/styles.js","webpack://app/./node_modules/tss-react/esm/tools/classnames.js","webpack://app/./node_modules/tss-react/esm/cssAndCx.js","webpack://app/./node_modules/tss-react/esm/types.js","webpack://app/./node_modules/tss-react/esm/tools/useGuaranteedMemo.js","webpack://app/./node_modules/tss-react/esm/tools/capitalize.js","webpack://app/./node_modules/tss-react/esm/withStyles.js","webpack://app/./node_modules/tss-react/esm/index.js","webpack://app/./node_modules/tss-react/esm/makeStyles.js","webpack://app/./node_modules/tss-react/esm/mergeClasses.js","webpack://app/./node_modules/tss-react/esm/mui/mui.js","webpack://app/./node_modules/tss-react/esm/mui/themeStyleOverridesPlugin.js","webpack://app/./node_modules/tss-react/esm/tools/assert.js","webpack://app/./node_modules/tss-react/esm/tools/getDependencyArrayRef.js","webpack://app/./node_modules/tss-react/esm/tools/objectKeys.js","webpack://app/./node_modules/tss-react/esm/tools/polyfills/Object.fromEntries.js","webpack://app/./node_modules/tss-react/esm/tools/typeGuard.js","webpack://app/./node_modules/tss-react/esm/tools/isSSR.js","webpack://app/./node_modules/tss-react/esm/tss.js"],"sourcesContent":["\"use client\";\n\nimport createSvgIcon from './utils/createSvgIcon';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5\"\n}), 'Link');","/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n","var copyObject = require('./_copyObject'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n","var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n","var defineProperty = require('./_defineProperty');\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n","var Stack = require('./_Stack'),\n arrayEach = require('./_arrayEach'),\n assignValue = require('./_assignValue'),\n baseAssign = require('./_baseAssign'),\n baseAssignIn = require('./_baseAssignIn'),\n cloneBuffer = require('./_cloneBuffer'),\n copyArray = require('./_copyArray'),\n copySymbols = require('./_copySymbols'),\n copySymbolsIn = require('./_copySymbolsIn'),\n getAllKeys = require('./_getAllKeys'),\n getAllKeysIn = require('./_getAllKeysIn'),\n getTag = require('./_getTag'),\n initCloneArray = require('./_initCloneArray'),\n initCloneByTag = require('./_initCloneByTag'),\n initCloneObject = require('./_initCloneObject'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isMap = require('./isMap'),\n isObject = require('./isObject'),\n isSet = require('./isSet'),\n keys = require('./keys'),\n keysIn = require('./keysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nmodule.exports = baseClone;\n","var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n","var arrayPush = require('./_arrayPush'),\n isFlattenable = require('./_isFlattenable');\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseFlatten;\n","var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n","var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n","var constant = require('./constant'),\n defineProperty = require('./_defineProperty'),\n identity = require('./identity');\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nmodule.exports = baseSetToString;\n","/**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\nfunction baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n}\n\nmodule.exports = baseSlice;\n","var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","var castPath = require('./_castPath'),\n last = require('./last'),\n parent = require('./_parent'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\nfunction baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n}\n\nmodule.exports = baseUnset;\n","var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n","var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n","var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nmodule.exports = cloneRegExp;\n","var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n","var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n","var copyObject = require('./_copyObject'),\n getSymbols = require('./_getSymbols');\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n","var copyObject = require('./_copyObject'),\n getSymbolsIn = require('./_getSymbolsIn');\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n","var isPlainObject = require('./isPlainObject');\n\n/**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\nfunction customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n}\n\nmodule.exports = customOmitClone;\n","var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n","var flatten = require('./flatten'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nmodule.exports = flatRest;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbolsIn = require('./_getSymbolsIn'),\n keysIn = require('./keysIn');\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n","var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n","var arrayPush = require('./_arrayPush'),\n getPrototype = require('./_getPrototype'),\n getSymbols = require('./_getSymbols'),\n stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nmodule.exports = getSymbolsIn;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nmodule.exports = initCloneArray;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n cloneDataView = require('./_cloneDataView'),\n cloneRegExp = require('./_cloneRegExp'),\n cloneSymbol = require('./_cloneSymbol'),\n cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nmodule.exports = initCloneByTag;\n","var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n","var Symbol = require('./_Symbol'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray');\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nmodule.exports = isFlattenable;\n","var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n","var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n","var apply = require('./_apply');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n","var baseGet = require('./_baseGet'),\n baseSlice = require('./_baseSlice');\n\n/**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\nfunction parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n}\n\nmodule.exports = parent;\n","var baseSetToString = require('./_baseSetToString'),\n shortOut = require('./_shortOut');\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n","/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nmodule.exports = shortOut;\n","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n","var baseFlatten = require('./_baseFlatten');\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n","var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","var baseIsSet = require('./_baseIsSet'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n","var arrayMap = require('./_arrayMap'),\n baseClone = require('./_baseClone'),\n baseUnset = require('./_baseUnset'),\n castPath = require('./_castPath'),\n copyObject = require('./_copyObject'),\n customOmitClone = require('./_customOmitClone'),\n flatRest = require('./_flatRest'),\n getAllKeysIn = require('./_getAllKeysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\nvar omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n});\n\nmodule.exports = omit;\n","var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n","import { alpha, darken, lighten, } from \"@mui/material\";\nimport omit from \"lodash/omit\";\nimport { keyframes } from \"tss-react\";\nexport const Z_INDEXES = {\n TABLE_ELEMENT: 1,\n // The menu bar must sit higher than the table components (like the\n // column-resize-handle and selectedCells) of the editor.\n MENU_BAR: 2,\n // The notched outline of the \"outlined\" field variant should be at the same z-index\n // as the menu-bar, so that it can contain/enclose it\n NOTCHED_OUTLINE: 2,\n // The bubble menus should appear on top of the menu bar\n BUBBLE_MENU: 3,\n};\nexport function getEditorStyles(theme) {\n // Check whether the user has enabled responsive typography\n // (https://mui.com/material-ui/customization/typography/#responsive-font-sizes)\n const hasResponsiveStyles = Object.keys(theme.typography.h1).some((key) => key.includes(\"@media\"));\n const cursorDelayOpacityChangeAnimation = keyframes `\n 0%, 95% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n `;\n return {\n // Include all of the body1 text styles except for line-height, since we want a\n // little less height (falling back to the default line-height)\n ...omit(theme.typography.body1, [\"lineHeight\"]),\n \"&:focus\": {\n outline: \"none\",\n },\n \"& h1\": {\n // We don't use MUI's default heading typography styles of h1-h6 here\n // since h1 and h2 are a bit too huge/dramatic. Instead, for we use h3-h6,\n // subtitle1, and subtitle2.\n // For h1, we take our usual font family, set a bold font weight, and set\n // the font size based on a scaled-up 20% increase to `typography.h4`\n // (which we use as our next smaller header). Note that if the MUI\n // `responsiveFontSizes` theme utility was used, we increase the font size\n // at all responsive breakpoints.\n fontFamily: theme.typography.h3.fontFamily,\n fontWeight: \"bold\",\n ...(hasResponsiveStyles\n ? {\n fontSize: `${1.5625 * 1.2}rem`,\n [theme.breakpoints.up(\"sm\")]: {\n fontSize: `${1.8219 * 1.2}rem`,\n },\n [theme.breakpoints.up(\"md\")]: {\n fontSize: `${2.0243 * 1.2}rem`,\n },\n [theme.breakpoints.up(\"lg\")]: {\n fontSize: `${2.0243 * 1.2}rem`,\n },\n }\n : {\n fontSize: `${2.0243 * 1.2}rem`,\n }),\n },\n \"& h2\": {\n ...omit(theme.typography.h4, [\"lineHeight\"]),\n fontWeight: 500,\n },\n \"& h3\": {\n ...omit(theme.typography.h5, [\"lineHeight\"]),\n fontWeight: 500,\n },\n \"& h4\": {\n ...omit(theme.typography.h6, [\"lineHeight\"]),\n fontWeight: 500,\n },\n \"& h5\": {\n ...omit(theme.typography.subtitle1, [\"lineHeight\"]),\n fontWeight: 500,\n },\n \"& h6\": {\n ...omit(theme.typography.subtitle2, [\"lineHeight\"]),\n fontWeight: 500,\n },\n // Remove above/below margins from all of our blocks\n \"& h1, & h2, & h3, & h4, & h5, & h6, & p\": {\n marginBlockStart: 0,\n marginBlockEnd: 0,\n },\n '& a:not([data-type=\"mention\"])': {\n color: theme.palette.primary.main,\n textDecoration: \"none\",\n \"&:hover\": {\n textDecoration: \"underline\",\n },\n },\n \"& ul, & ol\": {\n marginBlockStart: 0,\n marginBlockEnd: 0,\n },\n \"& ol\": {\n listStyleType: \"decimal\",\n \"& ol\": {\n listStyleType: \"lower-alpha\",\n \"& ol\": {\n listStyleType: \"lower-roman\",\n \"& ol\": {\n listStyleType: \"decimal\",\n \"& ol\": {\n listStyleType: \"lower-alpha\",\n \"& ol\": {\n listStyleType: \"lower-roman\",\n },\n },\n },\n },\n },\n },\n // Note that although browsers would typically match for the first three\n // here (disc, circle, then square), this gets broken if the editor happens\n // to be rendering inside of some outer list. (We also improve the deeper\n // nested uls somewhat while we're at it).\n \"& ul\": {\n listStyleType: \"disc\",\n \"& ul\": {\n listStyleType: \"circle\",\n \"& ul\": {\n listStyleType: \"square\",\n \"& ul\": {\n listStyleType: \"disc\",\n \"& ul\": {\n listStyleType: \"circle\",\n \"& ul\": {\n listStyleType: \"square\",\n },\n },\n },\n },\n },\n },\n // These styles are based on the example here https://tiptap.dev/api/nodes/task-list\n '& ul[data-type=\"taskList\"]': {\n listStyle: \"none\",\n padding: 0,\n \"& li\": {\n display: \"flex\",\n \"& > label\": {\n flex: \"0 0 auto\",\n marginRight: \"0.5rem\",\n userSelect: \"none\",\n },\n \"& > div\": {\n flex: \"1 1 auto\",\n },\n },\n },\n \"& blockquote\": {\n paddingLeft: \"1rem\",\n marginInlineStart: theme.spacing(1),\n marginInlineEnd: theme.spacing(1),\n position: \"relative\",\n \"&:before\": {\n // This pseudo-element approach mimics Slack's technique, which allows\n // for rounded edges\n position: \"absolute\",\n top: 0,\n bottom: 0,\n left: 0,\n display: \"block\",\n width: 4,\n borderRadius: theme.shape.borderRadius,\n background: theme.palette.text.disabled,\n content: '\"\"',\n },\n },\n \"& :not(pre) > code\": {\n padding: \"2px 3px 1px\",\n borderWidth: 1,\n borderStyle: \"solid\",\n borderColor: theme.palette.divider,\n borderRadius: 3,\n backgroundColor: theme.palette.action.hover,\n color: theme.palette.mode === \"dark\"\n ? theme.palette.secondary.main\n : darken(theme.palette.secondary.dark, 0.1),\n },\n \"& pre\": {\n marginTop: theme.spacing(0.5),\n marginBottom: theme.spacing(0.5),\n padding: theme.spacing(1),\n borderWidth: 1,\n borderStyle: \"solid\",\n borderColor: theme.palette.divider,\n borderRadius: theme.shape.borderRadius,\n background: theme.palette.action.hover,\n // By default the line-height of some monospace fonts (like \"Ubuntu Mono\")\n // appears to be a bit taller than necessary in pre block format\n lineHeight: 1.4,\n overflowX: \"auto\",\n // Override the default Prosemirror styles, which use pre-wrap. We want code\n // blocks to be horizontally scrollable, like they are on GitHub or StackOverflow\n // (since that makes reading code, logs, etc. much easier), with no wrapping.\n whiteSpace: \"pre !important\",\n },\n '& [data-type=\"mention\"]': {\n padding: \"0 0.25rem\",\n // Setting the line-height here prevents the at-mentions from bumping up against\n // one another on consecutive lines\n lineHeight: \"1.3em\",\n borderRadius: theme.shape.borderRadius,\n color: theme.palette.primary.main,\n background: theme.palette.mode === \"dark\"\n ? alpha(darken(theme.palette.primary.dark, 0.7), 0.5)\n : alpha(lighten(theme.palette.primary.light, 0.6), 0.3),\n textDecoration: \"none\",\n },\n // We style all images which are *not* the ProseMirror-separator (an element added\n // via Prosemirror, which is there for a hack to get contenteditable to appear\n // correctly for text blocks and line breaks; see\n // https://discuss.prosemirror.net/t/what-is-addhacknode/4254)\n \"& img:not(.ProseMirror-separator)\": {\n // TODO(Steven DeMartini): Decide if we should let folks make the images wider\n // than the doc. If so, we'll need to make the overall doc container hide overflow\n // and add a scrollbar\n maxWidth: \"100%\",\n height: \"auto\",\n display: \"block\",\n ...getImageBackgroundColorStyles(theme),\n // Behavior when an image (node) is selected, at which point it can be deleted,\n // moved, etc.\n \"&.ProseMirror-selectednode\": {\n outline: `3px solid ${theme.palette.primary.main}`,\n },\n },\n \"& hr\": {\n borderWidth: 0,\n borderTopWidth: \"thin\",\n borderStyle: \"solid\",\n borderColor: theme.palette.text.secondary,\n \"&.ProseMirror-selectednode\": {\n borderColor: theme.palette.primary.main,\n },\n },\n \"& table\": {\n borderCollapse: \"collapse\",\n tableLayout: \"fixed\",\n // TODO(Steven DeMartini): Maybe we want to give the users a way to toggle the width of the\n // table to be 100% or not? Similar to what Confluence does with their \"Responsive\" option\n // width: \"100%\",\n margin: 0,\n overflowY: \"hidden\",\n // If we don't have enough horizontal space for a table (when in read-only mode),\n // we need it to add a horizontal scrollbar, which requires using display:block\n // instead of display:table.\n overflowX: \"auto\",\n display: \"block\",\n \"& td, th\": {\n minWidth: \"1em\",\n borderWidth: 1,\n borderStyle: \"solid\",\n borderColor: theme.palette.mode === \"dark\"\n ? theme.palette.grey[500]\n : theme.palette.grey[400],\n padding: \"3px 5px\",\n verticalAlign: \"top\",\n boxSizing: \"border-box\",\n position: \"relative\",\n \"& > *\": {\n marginBottom: 0,\n },\n },\n \"& th\": {\n fontWeight: 500,\n textAlign: \"left\",\n backgroundColor: theme.palette.action.selected,\n },\n },\n // When in editing mode, the element is wrapped in a div with a\n // `tableWrapper` class. When we have that arrangement, we change how\n // overflow works on the table to instead overflow with the wrapper and\n // revert back to display:table, as we'd typically expect/want.\n \"& .tableWrapper\": {\n overflowX: \"auto\",\n \"& table\": {\n overflow: \"hidden\",\n display: \"table\",\n },\n },\n \"& .selectedCell:after\": {\n zIndex: Z_INDEXES.TABLE_ELEMENT,\n position: \"absolute\",\n content: '\"\"',\n left: 0,\n right: 0,\n top: 0,\n bottom: 0,\n background: \"rgba(200, 200, 255, 0.4)\",\n pointerEvents: \"none\",\n },\n // Only when the editor has `editable` set to `true` should the table column\n // resize tools should be revealed and be usable\n '&[contenteditable=\"true\"]': {\n \"& .column-resize-handle\": {\n position: \"absolute\",\n right: -2,\n top: -1,\n bottom: -2,\n width: 4,\n // This z-index proved necessary to ensure the handle sits above the\n // background of any cell (header and non-header)\n zIndex: Z_INDEXES.TABLE_ELEMENT,\n backgroundColor: theme.palette.primary.light,\n pointerEvents: \"none\",\n },\n \"&.resize-cursor\": {\n cursor: \"col-resize\",\n },\n },\n '&[contenteditable=\"false\"]': {\n \"& .column-resize-handle\": {\n display: \"none\",\n },\n \"&.resize-cursor\": {\n // To ensure that users cannot resize tables when the editor is supposed\n // to be read-only, we have to disable pointer events for the entire\n // editor whenever the resize-cursor class is added (i.e. when a user\n // hovers over a column border that would otherwise allow for dragging\n // and resizing when in editable mode). This is because the underlying\n // prosemirror-tables `columnResizing` plugin doesn't know/care about\n // `editable` state, and so adds the \"resize-cursor\" class and tries to\n // listen for events regardless.\n pointerEvents: \"none\",\n },\n },\n // Based on the example styles from https://tiptap.dev/api/extensions/placeholder,\n // this adds the placeholder text at the top\n \"& p.is-editor-empty:first-of-type::before\": {\n color: theme.palette.text.disabled,\n content: \"attr(data-placeholder)\",\n float: \"left\",\n height: 0,\n pointerEvents: \"none\",\n },\n \"& .ProseMirror-gapcursor:after\": {\n // Override the default color provided for the Gapcursor extension (for better\n // dark/light mode compatibility)\n // https://github.com/ueberdosis/tiptap/blob/ab4a0e2507b4b92c46d293a0bb06bb00a04af6e0/packages/core/src/style.ts#L47\n borderColor: theme.palette.text.primary,\n },\n // These styles were based on Tiptap's example here\n // https://tiptap.dev/api/extensions/collaboration-cursor\n \"& .collaboration-cursor__caret\": {\n borderLeft: \"1px solid #0d0d0d\",\n borderRight: \"1px solid #0d0d0d\",\n marginLeft: \"-1px\",\n marginRight: \"-1px\",\n position: \"relative\",\n wordBreak: \"normal\",\n cursor: \"text\",\n // Add a larger dot at the top of the cursor, like Google Docs does, which helps\n // indicate that you can hover there and see the user's name label\n \"&:after\": {\n position: \"absolute\",\n content: '\"\"',\n left: -3,\n right: 0,\n top: -2,\n borderWidth: 3,\n borderStyle: \"solid\",\n borderColor: \"inherit\",\n },\n // When hovering, show the user's name\n \"&:hover .collaboration-cursor__label\": {\n opacity: 1,\n // This transition will be used when fading in (after starting to hover), so\n // keep it brief and with no delay\n transition: theme.transitions.create(\"opacity\", {\n delay: 0,\n duration: 100,\n easing: \"linear\",\n }),\n },\n },\n // Render the user name above the caret\n \"& .collaboration-cursor__label\": {\n borderRadius: \"3px 3px 3px 0\",\n color: \"#0d0d0d\",\n fontSize: 12,\n fontStyle: \"normal\",\n fontWeight: 600,\n // Make sure we always use our standard font and don't take on the font of an\n // element this is showing up inside of (like )\n fontFamily: theme.typography.body1.fontFamily,\n left: -1,\n lineHeight: \"normal\",\n padding: \"0.1rem 0.3rem\",\n position: \"absolute\",\n top: \"-1.4em\",\n userSelect: \"none\",\n whiteSpace: \"nowrap\",\n // Don't use pointer-events, since that will end up making the entire user name\n // surface part of the parent's hover zone and prevent interaction with content\n // behind it\n pointerEvents: \"none\",\n // Hide the user name by default, so we can transition it in when hovering over\n // the cursor caret\n opacity: 0,\n // This transition will be used when fading out after no longer hovering, so\n // delay it a bit longer than default so the name doesn't immediately disappear\n transition: theme.transitions.create(\"opacity\", {\n delay: 500,\n duration: 100,\n easing: \"linear\",\n }),\n // So that we initially show the user name above the caret on first render\n // (e.g. when a user clicks to move their cursor, and on page load), use\n // an animation to delay updating the opacity. We'll then use transitions\n // based on :hover selectors (above) on the caret to let users view the\n // name again while hovering thereafter. We start at fully visible, then\n // fade out after the user would've had a chance to see/read the user\n // name.\n animation: `${cursorDelayOpacityChangeAnimation} 3s linear 1`,\n },\n };\n}\n/**\n * Get the background color styles to use for user-provided images being previewed.\n *\n * Useful for handling transparent images better in dark mode, since they typically\n * would have been created on a light-colored background context (e.g. may have black\n * text labels that wouldn't be readable in dark mode otherwise).\n */\nexport function getImageBackgroundColorStyles(theme) {\n if (theme.palette.mode !== \"dark\") {\n // We only need to alter the colors in dark mode\n return {};\n }\n const backgroundColor = theme.palette.grey[200];\n return {\n // We add a light grey background to the image when in dark mode, similar to what\n // Chrome does in dark mode when viewing an image in its own tab. (Chrome uses a\n // background color of \"hsl(0, 0%, 90%)\", or equivalently \"#e6e6e6\".)\n backgroundColor,\n // The \"alt text\" of an image will be shown if it fails to render (e.g. for\n // tif or other file formats that can't be rendered in-browser, like with a\n // pending image upload), so make sure the font color is readable\n color: theme.palette.getContrastText(backgroundColor),\n };\n}\nconst UTILITY_CLASS_PREFIX_DEFAULT = \"MuiTiptap-\";\n/**\n * Get a utility class of the form \"MuiTiptap-Foo-root\" for the \n * component and \"root\" (root element) slot.\n *\n * For convenience in users targeting certain CSS selectors to override\n * component styles, similar to what MUI does with its \"Mui-\"\n * classes (as described here\n * https://mui.com/material-ui/experimental-api/classname-generator/#setup and\n * somewhat here\n * https://mui.com/base-ui/getting-started/customization/#applying-custom-css-rules).\n *\n * A utility class is just used for targeting elements and overriding styles in\n * nested components (rather than us delivering CSS for the utility class\n * directly, since we instead use tss-react to generate CSS).\n */\nexport function getUtilityClass(componentName, slot) {\n return `${UTILITY_CLASS_PREFIX_DEFAULT}${componentName}-${slot}`;\n}\n/**\n * Get a Record mapping each slot name for a component to its utility class for\n * that component.\n *\n * These returned utility classes are used for targeting and overriding styles\n * in nested components (rather than us delivering CSS for the utility classes\n * directly, since we instead use tss-react to generate CSS).\n *\n * Ex: {\"root\": \"MuiTiptap-Foo-root\"} for the component.\n */\nexport function getUtilityClasses(componentName, slots) {\n const result = {};\n slots.forEach((slot) => {\n result[slot] = getUtilityClass(componentName, slot);\n });\n return result;\n}\n","import { assert } from \"./assert\";\nimport { typeGuard } from \"./typeGuard\";\n/** Copy pasted from\n * https://github.com/emotion-js/emotion/blob/23f43ab9f24d44219b0b007a00f4ac681fe8712e/packages/react/src/class-names.js#L17-L63\n **/\nexport const classnames = (args) => {\n const len = args.length;\n let i = 0;\n let cls = \"\";\n for (; i < len; i++) {\n const arg = args[i];\n if (arg == null)\n continue;\n let toAdd;\n switch (typeof arg) {\n case \"boolean\":\n break;\n case \"object\": {\n if (Array.isArray(arg)) {\n toAdd = classnames(arg);\n }\n else {\n assert(!typeGuard(arg, false));\n if (process.env.NODE_ENV !== \"production\" &&\n arg.styles !== undefined &&\n arg.name !== undefined) {\n console.error(\"You have passed styles created with `css` from `@emotion/react` package to the `cx`.\\n\" +\n \"`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from component.\");\n }\n toAdd = \"\";\n for (const k in arg) {\n if (arg[k] && k) {\n toAdd && (toAdd += \" \");\n toAdd += k;\n }\n }\n }\n break;\n }\n default: {\n toAdd = arg;\n }\n }\n if (toAdd) {\n cls && (cls += \" \");\n cls += toAdd;\n }\n }\n return cls;\n};\n","import { classnames } from \"./tools/classnames\";\nimport { serializeStyles } from \"@emotion/serialize\";\nimport { insertStyles, getRegisteredStyles } from \"@emotion/utils\";\nimport { useGuaranteedMemo } from \"./tools/useGuaranteedMemo\";\nimport { matchCSSObject } from \"./types\";\nexport const { createCssAndCx } = (() => {\n function merge(registered, css, className) {\n const registeredStyles = [];\n const rawClassName = getRegisteredStyles(registered, registeredStyles, className);\n if (registeredStyles.length < 2) {\n return className;\n }\n return rawClassName + css(registeredStyles);\n }\n function createCssAndCx(params) {\n const { cache } = params;\n const css = (...args) => {\n const serialized = serializeStyles(args, cache.registered);\n insertStyles(cache, serialized, false);\n const className = `${cache.key}-${serialized.name}`;\n scope: {\n const arg = args[0];\n if (!matchCSSObject(arg)) {\n break scope;\n }\n increaseSpecificityToTakePrecedenceOverMediaQueries.saveClassNameCSSObjectMapping(cache, className, arg);\n }\n return className;\n };\n const cx = (...args) => {\n const className = classnames(args);\n const feat27FixedClassnames = increaseSpecificityToTakePrecedenceOverMediaQueries.fixClassName(cache, className, css);\n return merge(cache.registered, css, feat27FixedClassnames);\n //return merge(cache.registered, css, className);\n };\n return { css, cx };\n }\n return { createCssAndCx };\n})();\nexport function createUseCssAndCx(params) {\n const { useCache } = params;\n function useCssAndCx() {\n const cache = useCache();\n const { css, cx } = useGuaranteedMemo(() => createCssAndCx({ cache }), [cache]);\n return { css, cx };\n }\n return { useCssAndCx };\n}\n// https://github.com/garronej/tss-react/issues/27\nconst increaseSpecificityToTakePrecedenceOverMediaQueries = (() => {\n const cssObjectMapByCache = new WeakMap();\n return {\n \"saveClassNameCSSObjectMapping\": (cache, className, cssObject) => {\n let cssObjectMap = cssObjectMapByCache.get(cache);\n if (cssObjectMap === undefined) {\n cssObjectMap = new Map();\n cssObjectMapByCache.set(cache, cssObjectMap);\n }\n cssObjectMap.set(className, cssObject);\n },\n \"fixClassName\": (() => {\n function fix(classNameCSSObjects) {\n let isThereAnyMediaQueriesInPreviousClasses = false;\n return classNameCSSObjects.map(([className, cssObject]) => {\n if (cssObject === undefined) {\n return className;\n }\n let out;\n if (!isThereAnyMediaQueriesInPreviousClasses) {\n out = className;\n for (const key in cssObject) {\n if (key.startsWith(\"@media\")) {\n isThereAnyMediaQueriesInPreviousClasses = true;\n break;\n }\n }\n }\n else {\n out = {\n \"&&\": cssObject\n };\n }\n return out;\n });\n }\n return (cache, className, css) => {\n const cssObjectMap = cssObjectMapByCache.get(cache);\n return classnames(fix(className\n .split(\" \")\n .map(className => [\n className,\n cssObjectMap === null || cssObjectMap === void 0 ? void 0 : cssObjectMap.get(className)\n ])).map(classNameOrCSSObject => typeof classNameOrCSSObject === \"string\"\n ? classNameOrCSSObject\n : css(classNameOrCSSObject)));\n };\n })()\n };\n})();\n","export function matchCSSObject(arg) {\n return (arg instanceof Object &&\n !(\"styles\" in arg) &&\n !(\"length\" in arg) &&\n !(\"__emotion_styles\" in arg));\n}\n","import { useRef } from \"react\";\n/** Like react's useMemo but with guarantee that the fn\n * won't be invoked again if deps hasn't change */\nexport function useGuaranteedMemo(fn, deps) {\n var _a;\n const ref = useRef();\n if (!ref.current ||\n deps.length !== ((_a = ref.current.prevDeps) === null || _a === void 0 ? void 0 : _a.length) ||\n ref.current.prevDeps.map((v, i) => v === deps[i]).indexOf(false) >= 0) {\n ref.current = {\n \"v\": fn(),\n \"prevDeps\": [...deps]\n };\n }\n return ref.current.v;\n}\n","/** @see */\nexport function capitalize(str) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (str.charAt(0).toUpperCase() + str.slice(1));\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport React, { forwardRef, createElement } from \"react\";\nimport { createMakeStyles } from \"./makeStyles\";\nimport { capitalize } from \"./tools/capitalize\";\nexport function createWithStyles(params) {\n const { useTheme, cache } = params;\n const { makeStyles } = createMakeStyles({ useTheme, cache });\n function withStyles(Component, cssObjectByRuleNameOrGetCssObjectByRuleName, params) {\n const Component_ = typeof Component === \"string\"\n ? (() => {\n const tag = Component;\n const Out = function ({ children, ...props }) {\n return createElement(tag, props, children);\n };\n Object.defineProperty(Out, \"name\", {\n \"value\": capitalize(tag)\n });\n return Out;\n })()\n : Component;\n /**\n * Get component name for wrapping\n * @see https://reactjs.org/docs/higher-order-components.html#convention-wrap-the-display-name-for-easy-debugging\n */\n const name = (() => {\n {\n const { name: nameOrWrappedName } = params !== null && params !== void 0 ? params : {};\n if (nameOrWrappedName !== undefined) {\n return typeof nameOrWrappedName !== \"object\"\n ? nameOrWrappedName\n : Object.keys(nameOrWrappedName)[0];\n }\n }\n let name = undefined;\n displayName: {\n const displayName = Component_.displayName;\n if (typeof displayName !== \"string\" || displayName === \"\") {\n break displayName;\n }\n name = displayName;\n }\n functionName: {\n if (name !== undefined) {\n break functionName;\n }\n const functionName = Component_.name;\n if (typeof functionName !== \"string\" || functionName === \"\") {\n break functionName;\n }\n name = functionName;\n }\n if (name === undefined) {\n return undefined;\n }\n // Special case for dollar sign\n name = name.replace(/\\$/g, \"usd\");\n // Replacing open and close parentheses\n name = name.replace(/\\(/g, \"_\").replace(/\\)/g, \"_\");\n // Catch-all replacement for characters not allowed in CSS class names\n name = name.replace(/[^a-zA-Z0-9-_]/g, \"_\");\n return name;\n })();\n const useStyles = makeStyles({ ...params, name })(typeof cssObjectByRuleNameOrGetCssObjectByRuleName === \"function\"\n ? (theme, props, classes) => incorporateMediaQueries(cssObjectByRuleNameOrGetCssObjectByRuleName(theme, props, classes))\n : incorporateMediaQueries(cssObjectByRuleNameOrGetCssObjectByRuleName));\n function getHasNonRootClasses(classes) {\n for (const name in classes) {\n if (name === \"root\") {\n continue;\n }\n return true;\n }\n return false;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const Out = forwardRef(function (props, ref) {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { className, classes: _classes, ...rest } = props;\n const { classes, cx } = useStyles(props, { props });\n const rootClassName = cx(classes.root, className);\n fixedClassesByClasses.set(classes, {\n ...classes,\n \"root\": rootClassName\n });\n return (React.createElement(Component_, { ref: ref, className: getHasNonRootClasses(classes)\n ? className\n : rootClassName, ...(typeof Component === \"string\" ? {} : { classes }), ...rest }));\n });\n if (name !== undefined) {\n Out.displayName = `${capitalize(name)}WithStyles`;\n Object.defineProperty(Out, \"name\", { \"value\": Out.displayName });\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return Out;\n }\n withStyles.getClasses = getClasses;\n return { withStyles };\n}\nconst fixedClassesByClasses = new WeakMap();\nconst errorMessageGetClasses = \"getClasses should only be used in conjunction with withStyles\";\nfunction getClasses(props) {\n const classesIn = props.classes;\n if (classesIn === undefined) {\n throw new Error(errorMessageGetClasses);\n }\n const classes = fixedClassesByClasses.get(classesIn);\n if (classes === undefined) {\n throw new Error(errorMessageGetClasses);\n }\n return classes;\n}\nfunction incorporateMediaQueries(cssObjectByRuleNameWithMediaQueries) {\n const cssObjectByRuleName = {};\n const cssObjectByRuleNameWithMediaQueriesByMediaQuery = {};\n Object.keys(cssObjectByRuleNameWithMediaQueries).forEach(ruleNameOrMediaQuery => ((ruleNameOrMediaQuery.startsWith(\"@media\")\n ? cssObjectByRuleNameWithMediaQueriesByMediaQuery\n : cssObjectByRuleName)[ruleNameOrMediaQuery] =\n cssObjectByRuleNameWithMediaQueries[ruleNameOrMediaQuery]));\n Object.keys(cssObjectByRuleNameWithMediaQueriesByMediaQuery).forEach(mediaQuery => {\n const cssObjectByRuleNameBis = cssObjectByRuleNameWithMediaQueriesByMediaQuery[mediaQuery];\n Object.keys(cssObjectByRuleNameBis).forEach(ruleName => {\n var _a;\n return (cssObjectByRuleName[ruleName] = {\n ...((_a = cssObjectByRuleName[ruleName]) !== null && _a !== void 0 ? _a : {}),\n [mediaQuery]: cssObjectByRuleNameBis[ruleName]\n });\n });\n });\n return cssObjectByRuleName;\n}\n","\"use client\";\nimport { createMakeStyles, TssCacheProvider } from \"./makeStyles\";\nexport { createMakeStyles, TssCacheProvider };\nimport { createWithStyles } from \"./withStyles\";\nexport { createWithStyles };\nimport { createTss } from \"./tss\";\nexport { createTss };\n/** @see */\nexport { keyframes } from \"@emotion/react\";\n/** @see */\nexport { GlobalStyles } from \"./GlobalStyles\";\n/** @see */\nexport function createMakeAndWithStyles(params) {\n return {\n ...createMakeStyles(params),\n ...createWithStyles(params)\n };\n}\nexport const { tss } = createTss({\n \"useContext\": () => ({})\n});\nexport const useStyles = tss.create({});\n","\"use client\";\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport React, { useMemo } from \"react\";\nimport { objectFromEntries } from \"./tools/polyfills/Object.fromEntries\";\nimport { objectKeys } from \"./tools/objectKeys\";\nimport { createUseCssAndCx } from \"./cssAndCx\";\nimport { getDependencyArrayRef } from \"./tools/getDependencyArrayRef\";\nimport { typeGuard } from \"./tools/typeGuard\";\nimport { assert } from \"./tools/assert\";\nimport { mergeClasses } from \"./mergeClasses\";\nimport { createContext, useContext } from \"react\";\nimport { useMuiThemeStyleOverridesPlugin } from \"./mui/themeStyleOverridesPlugin\";\nimport { __unsafe_useEmotionCache as useContextualCache } from \"@emotion/react\";\nlet counter = 0;\nexport function createMakeStyles(params) {\n const { useTheme, cache: cacheProvidedAtInception } = params;\n const { useCache } = createUseCache({ cacheProvidedAtInception });\n const { useCssAndCx } = createUseCssAndCx({ useCache });\n /** returns useStyle. */\n function makeStyles(params) {\n const { name: nameOrWrappedName, uniqId = `${counter++}` } = params !== null && params !== void 0 ? params : {};\n const name = typeof nameOrWrappedName !== \"object\"\n ? nameOrWrappedName\n : Object.keys(nameOrWrappedName)[0];\n return function (cssObjectByRuleNameOrGetCssObjectByRuleName) {\n const getCssObjectByRuleName = typeof cssObjectByRuleNameOrGetCssObjectByRuleName ===\n \"function\"\n ? cssObjectByRuleNameOrGetCssObjectByRuleName\n : () => cssObjectByRuleNameOrGetCssObjectByRuleName;\n return function useStyles(params, muiStyleOverridesParams) {\n const theme = useTheme();\n let { css, cx } = useCssAndCx();\n const cache = useCache();\n let classes = useMemo(() => {\n const refClassesCache = {};\n const refClasses = typeof Proxy !== \"undefined\" &&\n new Proxy({}, {\n \"get\": (_target, propertyKey) => {\n if (typeof propertyKey === \"symbol\") {\n assert(false);\n }\n return (refClassesCache[propertyKey] = `${cache.key}-${uniqId}${name !== undefined ? `-${name}` : \"\"}-${propertyKey}-ref`);\n }\n });\n const cssObjectByRuleName = getCssObjectByRuleName(theme, params, refClasses || {});\n const classes = objectFromEntries(objectKeys(cssObjectByRuleName).map(ruleName => {\n const cssObject = cssObjectByRuleName[ruleName];\n if (!cssObject.label) {\n cssObject.label = `${name !== undefined ? `${name}-` : \"\"}${ruleName}`;\n }\n return [\n ruleName,\n `${css(cssObject)}${typeGuard(ruleName, ruleName in refClassesCache)\n ? ` ${refClassesCache[ruleName]}`\n : \"\"}`\n ];\n }));\n objectKeys(refClassesCache).forEach(ruleName => {\n if (ruleName in classes) {\n return;\n }\n classes[ruleName] =\n refClassesCache[ruleName];\n });\n return classes;\n }, [cache, css, cx, theme, getDependencyArrayRef(params)]);\n {\n const propsClasses = muiStyleOverridesParams === null || muiStyleOverridesParams === void 0 ? void 0 : muiStyleOverridesParams.props.classes;\n classes = useMemo(() => mergeClasses(classes, propsClasses, cx), [classes, getDependencyArrayRef(propsClasses), cx]);\n }\n {\n const pluginResultWrap = useMuiThemeStyleOverridesPlugin({\n classes,\n css,\n cx,\n \"name\": name !== null && name !== void 0 ? name : \"makeStyle no name\",\n \"idOfUseStyles\": uniqId,\n muiStyleOverridesParams,\n // NOTE: If it's not a Mui Theme the plugin is resilient, it will not crash\n \"theme\": theme\n });\n if (pluginResultWrap.classes !== undefined) {\n classes = pluginResultWrap.classes;\n }\n if (pluginResultWrap.css !== undefined) {\n css = pluginResultWrap.css;\n }\n if (pluginResultWrap.cx !== undefined) {\n cx = pluginResultWrap.cx;\n }\n }\n return {\n classes,\n theme,\n css,\n cx\n };\n };\n };\n }\n function useStyles() {\n const theme = useTheme();\n const { css, cx } = useCssAndCx();\n return { theme, css, cx };\n }\n return { makeStyles, useStyles };\n}\nconst reactContext = createContext(undefined);\nexport function TssCacheProvider(props) {\n const { children, value } = props;\n return (React.createElement(reactContext.Provider, { value: value }, children));\n}\nexport const { createUseCache } = (() => {\n function useCacheProvidedByProvider() {\n const cacheExplicitlyProvidedForTss = useContext(reactContext);\n return cacheExplicitlyProvidedForTss;\n }\n function createUseCache(params) {\n const { cacheProvidedAtInception } = params;\n function useCache() {\n var _a;\n const contextualCache = useContextualCache();\n const cacheExplicitlyProvidedForTss = useCacheProvidedByProvider();\n const cacheToBeUsed = (_a = cacheProvidedAtInception !== null && cacheProvidedAtInception !== void 0 ? cacheProvidedAtInception : cacheExplicitlyProvidedForTss) !== null && _a !== void 0 ? _a : contextualCache;\n if (cacheToBeUsed === null) {\n throw new Error([\n \"In order to get SSR working with tss-react you need to explicitly provide an Emotion cache.\",\n \"MUI users be aware: This is not an error strictly related to tss-react, with or without tss-react,\",\n \"MUI needs an Emotion cache to be provided for SSR to work.\",\n \"Here is the MUI documentation related to SSR setup: https://mui.com/material-ui/guides/server-rendering/\",\n \"TSS provides helper that makes the process of setting up SSR easier: https://docs.tss-react.dev/ssr\"\n ].join(\"\\n\"));\n }\n return cacheToBeUsed;\n }\n return { useCache };\n }\n return { createUseCache };\n})();\n","/* eslint-disable @typescript-eslint/ban-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { objectKeys } from \"./tools/objectKeys\";\nexport function mergeClasses(classesFromUseStyles, classesOverrides, cx) {\n //NOTE: We use this test to be resilient in case classesOverrides is not of the expected type.\n if (!(classesOverrides instanceof Object)) {\n return classesFromUseStyles;\n }\n const out = {};\n objectKeys(classesFromUseStyles).forEach(ruleName => (out[ruleName] = cx(classesFromUseStyles[ruleName], classesOverrides[ruleName])));\n objectKeys(classesOverrides).forEach(ruleName => {\n if (ruleName in classesFromUseStyles) {\n return;\n }\n const className = classesOverrides[ruleName];\n //...Same here, that why we don't do className === undefined\n if (typeof className !== \"string\") {\n return;\n }\n out[ruleName] = className;\n });\n return out;\n}\n","import { useTheme } from \"@mui/material/styles\";\nimport { createMakeAndWithStyles } from \"../index\";\nimport { createTss } from \"../tss\";\nimport { useMuiThemeStyleOverridesPlugin } from \"./themeStyleOverridesPlugin\";\n/** @see */\nexport const { makeStyles, withStyles } = createMakeAndWithStyles({\n useTheme\n});\nexport const { tss } = createTss({\n \"useContext\": function useContext() {\n const theme = useTheme();\n return { theme };\n },\n \"usePlugin\": useMuiThemeStyleOverridesPlugin\n});\nexport const useStyles = tss.create({});\n","import { useMemo } from \"react\";\nimport { getDependencyArrayRef } from \"../tools/getDependencyArrayRef\";\nimport { mergeClasses } from \"../mergeClasses\";\nexport const useMuiThemeStyleOverridesPlugin = ({ classes, theme, muiStyleOverridesParams, css, cx, name }) => {\n var _a, _b;\n require_named: {\n // NOTE: Hack for backwards compatibility with the makeStyles API.\n if (name === \"makeStyle no name\") {\n name = undefined;\n break require_named;\n }\n if (muiStyleOverridesParams !== undefined && name === undefined) {\n throw new Error(\"To use muiStyleOverridesParams, you must specify a name using .withName('MyComponent')\");\n }\n }\n let styleOverrides = undefined;\n try {\n styleOverrides =\n name === undefined\n ? undefined\n : ((_b = (_a = theme.components) === null || _a === void 0 ? void 0 : _a[name /*example*/]) === null || _b === void 0 ? void 0 : _b.styleOverrides) || undefined;\n // eslint-disable-next-line no-empty\n }\n catch (_c) { }\n const classesFromThemeStyleOverrides = useMemo(() => {\n if (styleOverrides === undefined) {\n return undefined;\n }\n const themeClasses = {};\n for (const ruleName in styleOverrides) {\n const cssObjectOrGetCssObject = styleOverrides[ruleName];\n if (!(cssObjectOrGetCssObject instanceof Object)) {\n continue;\n }\n themeClasses[ruleName] = css(typeof cssObjectOrGetCssObject === \"function\"\n ? cssObjectOrGetCssObject({\n theme,\n \"ownerState\": muiStyleOverridesParams === null || muiStyleOverridesParams === void 0 ? void 0 : muiStyleOverridesParams.ownerState,\n ...muiStyleOverridesParams === null || muiStyleOverridesParams === void 0 ? void 0 : muiStyleOverridesParams.props\n })\n : cssObjectOrGetCssObject);\n }\n return themeClasses;\n }, [\n styleOverrides,\n getDependencyArrayRef(muiStyleOverridesParams === null || muiStyleOverridesParams === void 0 ? void 0 : muiStyleOverridesParams.props),\n getDependencyArrayRef(muiStyleOverridesParams === null || muiStyleOverridesParams === void 0 ? void 0 : muiStyleOverridesParams.ownerState),\n css\n ]);\n classes = useMemo(() => mergeClasses(classes, classesFromThemeStyleOverrides, cx), [classes, classesFromThemeStyleOverrides, cx]);\n return { classes };\n};\n","/** https://docs.tsafe.dev/assert */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function assert(condition, msg) {\n if (!condition) {\n throw new Error(msg);\n }\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/**\n * useEffect(\n * ()=> { ... },\n * [ { \"foo\": \"bar\" } ]\n * )\n * => The callback will be invoked every render.\n * because { \"foo\": \"bar\" } is a new instance every render.\n *\n * useEffect(\n * ()=> { ... },\n * [ getDependencyArrayRef({ \"foo\": \"bar\" }) ]\n * );\n * => The callback will only be invoked once.\n *\n * The optimization will be enabled only if obj is\n * of the form Record\n * otherwise the object is returned (the function is the identity function).\n */\nexport function getDependencyArrayRef(obj) {\n if (!(obj instanceof Object) || typeof obj === \"function\") {\n return obj;\n }\n const arr = [];\n for (const key in obj) {\n const value = obj[key];\n const typeofValue = typeof value;\n if (!(typeofValue === \"string\" ||\n (typeofValue === \"number\" && !isNaN(value)) ||\n typeofValue === \"boolean\" ||\n value === undefined ||\n value === null)) {\n return obj;\n }\n arr.push(`${key}:${typeofValue}_${value}`);\n }\n return \"xSqLiJdLMd9s\" + arr.join(\"|\");\n}\n","/** Object.keys() with types */\nexport function objectKeys(o) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return Object.keys(o);\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nexport const objectFromEntries = !Object\n .fromEntries\n ? (entries) => {\n if (!entries || !entries[Symbol.iterator]) {\n throw new Error(\"Object.fromEntries() requires a single iterable argument\");\n }\n const o = {};\n Object.keys(entries).forEach(key => {\n const [k, v] = entries[key];\n o[k] = v;\n });\n return o;\n }\n : Object.fromEntries;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/** https://docs.tsafe.dev/typeguard */\nexport function typeGuard(_value, isMatched) {\n return isMatched;\n}\n","export const isSSR = (() => {\n const isBrowser = typeof document === \"object\" &&\n typeof (document === null || document === void 0 ? void 0 : document.getElementById) === \"function\";\n // Check for common testing framework global variables\n const isJest = typeof jest !== \"undefined\";\n const isMocha = typeof mocha !== \"undefined\";\n const isVitest = typeof __vitest_worker__ !== \"undefined\";\n return !isBrowser && !isJest && !isMocha && !isVitest;\n})();\n","/* eslint-disable @typescript-eslint/ban-types */\nimport { createUseCache } from \"./makeStyles\";\nimport { createUseCssAndCx } from \"./cssAndCx\";\nimport { assert } from \"./tools/assert\";\nimport { objectFromEntries } from \"./tools/polyfills/Object.fromEntries\";\nimport { objectKeys } from \"./tools/objectKeys\";\nimport { typeGuard } from \"./tools/typeGuard\";\nimport { getDependencyArrayRef } from \"./tools/getDependencyArrayRef\";\nimport { mergeClasses } from \"./mergeClasses\";\nimport { isSSR } from \"./tools/isSSR\";\nexport function createTss(params) {\n counter = 0;\n nestedSelectorUsageTrackRecord.splice(0, nestedSelectorUsageTrackRecord.length);\n const { useContext, usePlugin, cache: cacheProvidedAtInception } = params;\n const { useCache } = createUseCache({ cacheProvidedAtInception });\n const { useCssAndCx } = createUseCssAndCx({ useCache });\n const usePluginDefault = ({ classes, cx, css }) => ({ classes, cx, css });\n const tss = createTss_internal({\n useContext,\n useCache,\n useCssAndCx,\n \"usePlugin\": usePlugin !== null && usePlugin !== void 0 ? usePlugin : usePluginDefault,\n \"name\": undefined,\n \"doesUseNestedSelectors\": false\n });\n return { tss };\n}\nlet counter = 0;\nconst nestedSelectorUsageTrackRecord = [];\nfunction createTss_internal(params) {\n const { useContext, useCache, useCssAndCx, usePlugin, name, doesUseNestedSelectors } = params;\n return {\n \"withParams\": () => createTss_internal({ ...params }),\n \"withName\": nameOrWrappedName => createTss_internal({\n ...params,\n \"name\": typeof nameOrWrappedName !== \"object\"\n ? nameOrWrappedName\n : Object.keys(nameOrWrappedName)[0]\n }),\n \"withNestedSelectors\": () => createTss_internal({\n ...params,\n \"doesUseNestedSelectors\": true\n }),\n \"create\": (cssObjectByRuleNameOrGetCssObjectByRuleName) => {\n // NOTE: Not isomorphic. Not guaranteed to be the same on client and server.\n // Do not attempt to 'simplify' the code without taking this fact into account.\n const idOfUseStyles = `x${counter++}`;\n // NOTE: Cleanup for hot module reloading.\n if (name !== undefined) {\n // eslint-disable-next-line no-constant-condition\n while (true) {\n const wrap = nestedSelectorUsageTrackRecord.find(wrap => wrap.name === name);\n if (wrap === undefined) {\n break;\n }\n nestedSelectorUsageTrackRecord.splice(nestedSelectorUsageTrackRecord.indexOf(wrap), 1);\n }\n }\n const getCssObjectByRuleName = typeof cssObjectByRuleNameOrGetCssObjectByRuleName ===\n \"function\"\n ? cssObjectByRuleNameOrGetCssObjectByRuleName\n : () => cssObjectByRuleNameOrGetCssObjectByRuleName;\n return function useStyles(params) {\n var _a, _b, _c;\n const { classesOverrides, ...paramsAndPluginParams } = (params !== null && params !== void 0 ? params : {});\n const context = useContext();\n const { css, cx } = useCssAndCx();\n const cache = useCache();\n const getClasses = () => {\n const refClassesCache = {};\n // @ts-expect-error: Type safety non achievable.\n const cssObjectByRuleName = getCssObjectByRuleName({\n ...params,\n ...context,\n ...(!doesUseNestedSelectors\n ? {}\n : {\n \"classes\": typeof Proxy === \"undefined\"\n ? {}\n : new Proxy({}, {\n \"get\": (_target, ruleName) => {\n /* prettier-ignore */\n if (typeof ruleName === \"symbol\") {\n assert(false);\n }\n if (isSSR &&\n name === undefined) {\n throw new Error([\n `tss-react: In SSR setups, in order to use nested selectors, you must also give a unique name to the useStyle function.`,\n `Solution: Use tss.withName(\"ComponentName\").withNestedSelectors<...>()... to set a name.`\n ].join(\"\\n\"));\n }\n update_nested_selector_usage_track_record: {\n if (name === undefined) {\n break update_nested_selector_usage_track_record;\n }\n /* prettier-ignore */\n let wrap = nestedSelectorUsageTrackRecord.find(wrap => wrap.name === name && wrap.idOfUseStyles === idOfUseStyles);\n /* prettier-ignore */\n if (wrap === undefined) {\n /* prettier-ignore */\n wrap = { name, idOfUseStyles, \"nestedSelectorRuleNames\": new Set() };\n /* prettier-ignore */\n nestedSelectorUsageTrackRecord.push(wrap);\n }\n /* prettier-ignore */\n wrap.nestedSelectorRuleNames.add(ruleName);\n }\n detect_potential_conflicts: {\n if (name === undefined) {\n break detect_potential_conflicts;\n }\n const hasPotentialConflict = nestedSelectorUsageTrackRecord.find(wrap => wrap.name ===\n name &&\n wrap.idOfUseStyles !==\n idOfUseStyles &&\n wrap.nestedSelectorRuleNames.has(ruleName)) !== undefined;\n if (!hasPotentialConflict) {\n break detect_potential_conflicts;\n }\n throw new Error([\n `tss-react: There are in your codebase two different useStyles named \"${name}\" that`,\n `both use use the nested selector ${ruleName}.\\n`,\n `This may lead to CSS class name collisions, causing nested selectors to target elements outside of the intended scope.\\n`,\n `Solution: Ensure each useStyles using nested selectors has a unique name.\\n`,\n `Use: tss.withName(\"UniqueName\").withNestedSelectors<...>()...`\n ].join(\" \"));\n }\n /* prettier-ignore */\n return (refClassesCache[ruleName] = `${cache.key}-${name !== undefined ? name : idOfUseStyles}-${ruleName}-ref`);\n }\n })\n })\n });\n let classes = objectFromEntries(objectKeys(cssObjectByRuleName).map(ruleName => {\n const cssObject = cssObjectByRuleName[ruleName];\n if (!cssObject.label) {\n cssObject.label = `${name !== undefined ? `${name}-` : \"\"}${ruleName}`;\n }\n return [\n ruleName,\n `${css(cssObject)}${typeGuard(ruleName, ruleName in refClassesCache)\n ? ` ${refClassesCache[ruleName]}`\n : \"\"}`\n ];\n }));\n objectKeys(refClassesCache).forEach(ruleName => {\n if (ruleName in classes) {\n return;\n }\n classes[ruleName] =\n refClassesCache[ruleName];\n });\n classes = mergeClasses(classes, classesOverrides, cx);\n return classes;\n };\n const classes = runGetClassesOrUseCache({\n cache,\n cssObjectByRuleNameOrGetCssObjectByRuleName,\n \"classesOverridesRef\": getDependencyArrayRef(classesOverrides),\n \"paramsAndPluginParamsRef\": getDependencyArrayRef(paramsAndPluginParams),\n idOfUseStyles,\n context,\n getClasses\n });\n // @ts-expect-error: Type safety non achievable.\n const pluginResultWrap = usePlugin({\n classes,\n css,\n cx,\n idOfUseStyles,\n name,\n ...context,\n ...paramsAndPluginParams\n });\n return {\n \"classes\": (_a = pluginResultWrap.classes) !== null && _a !== void 0 ? _a : classes,\n \"css\": (_b = pluginResultWrap.css) !== null && _b !== void 0 ? _b : css,\n \"cx\": (_c = pluginResultWrap.cx) !== null && _c !== void 0 ? _c : cx,\n ...context\n };\n };\n }\n };\n}\nconst mapCache = new WeakMap();\nfunction runGetClassesOrUseCache(params) {\n const { cache, cssObjectByRuleNameOrGetCssObjectByRuleName, classesOverridesRef, paramsAndPluginParamsRef, idOfUseStyles, context, getClasses } = params;\n use_cache: {\n const mapCache_in = mapCache.get(cache);\n if (mapCache_in === undefined) {\n break use_cache;\n }\n const mapCache_in_in = mapCache_in.get(cssObjectByRuleNameOrGetCssObjectByRuleName);\n if (mapCache_in_in === undefined) {\n break use_cache;\n }\n const mapCache_in_in_in = mapCache_in_in.get(classesOverridesRef);\n if (mapCache_in_in_in === undefined) {\n break use_cache;\n }\n const arr = mapCache_in_in_in.get(paramsAndPluginParamsRef);\n if (arr === undefined) {\n break use_cache;\n }\n const entry = arr.find(({ context: context_i }) => {\n if (context_i === context) {\n return true;\n }\n if (objectKeys(context_i).length !== objectKeys(context).length) {\n return false;\n }\n for (const key in context_i) {\n if (getDependencyArrayRef(context_i[key]) !==\n getDependencyArrayRef(context[key])) {\n return false;\n }\n }\n return true;\n });\n if (entry === undefined) {\n break use_cache;\n }\n if ((entry === null || entry === void 0 ? void 0 : entry.idOfUseStyles) !== idOfUseStyles) {\n arr.splice(arr.indexOf(entry), 1);\n break use_cache;\n }\n return entry.result;\n }\n const result = getClasses();\n {\n if (!mapCache.has(cache)) {\n mapCache.set(cache, new WeakMap());\n }\n const mapCache_in = mapCache.get(cache);\n assert(mapCache_in !== undefined);\n if (!mapCache_in.has(cssObjectByRuleNameOrGetCssObjectByRuleName)) {\n mapCache_in.set(cssObjectByRuleNameOrGetCssObjectByRuleName, new Map());\n }\n const mapCache_in_in = mapCache_in.get(cssObjectByRuleNameOrGetCssObjectByRuleName);\n assert(mapCache_in_in !== undefined);\n if (!mapCache_in_in.has(classesOverridesRef)) {\n if (mapCache_in_in.size > 200) {\n mapCache_in_in.clear();\n }\n mapCache_in_in.set(classesOverridesRef, new Map());\n }\n const mapCache_in_in_in = mapCache_in_in.get(classesOverridesRef);\n assert(mapCache_in_in_in !== undefined);\n if (!mapCache_in_in_in.has(paramsAndPluginParamsRef)) {\n clear_cache: {\n const threshold = typeof paramsAndPluginParamsRef === \"string\" ? 257 : 5;\n if (mapCache_in_in_in.size < threshold) {\n break clear_cache;\n }\n mapCache_in_in_in.clear();\n }\n mapCache_in_in_in.set(paramsAndPluginParamsRef, []);\n }\n let arr = mapCache_in_in_in.get(paramsAndPluginParamsRef);\n assert(arr !== undefined);\n if (arr.length > 5) {\n arr = [];\n }\n arr.push({ idOfUseStyles, context, result });\n }\n return result;\n}\n"],"names":["d","module","exports","func","thisArg","args","length","call","apply","array","iteratee","index","result","Array","baseAssignValue","eq","hasOwnProperty","Object","prototype","object","key","value","objValue","undefined","copyObject","keys","source","keysIn","defineProperty","Stack","arrayEach","assignValue","baseAssign","baseAssignIn","cloneBuffer","copyArray","copySymbols","copySymbolsIn","getAllKeys","getAllKeysIn","getTag","initCloneArray","initCloneByTag","initCloneObject","isArray","isBuffer","isMap","isObject","isSet","argsTag","funcTag","objectTag","cloneableTags","baseClone","bitmask","customizer","stack","isDeep","isFlat","isFull","isArr","tag","isFunc","stacked","get","set","forEach","subValue","add","props","objectCreate","create","baseCreate","proto","arrayPush","isFlattenable","baseFlatten","depth","predicate","isStrict","castPath","toKey","path","isObjectLike","isPrototype","nativeKeysIn","isProto","push","constant","identity","baseSetToString","string","start","end","Symbol","arrayMap","isSymbol","symbolProto","symbolToString","toString","baseToString","last","parent","isKey","stringToPath","Uint8Array","arrayBuffer","constructor","byteLength","root","freeExports","nodeType","freeModule","Buffer","allocUnsafe","buffer","slice","copy","cloneArrayBuffer","dataView","byteOffset","reFlags","regexp","exec","lastIndex","symbolValueOf","valueOf","symbol","typedArray","isNew","newValue","getSymbols","getSymbolsIn","isPlainObject","getNative","e","flatten","overRest","setToString","baseGetAllKeys","getPrototype","overArg","getPrototypeOf","stubArray","getOwnPropertySymbols","input","cloneDataView","cloneRegExp","cloneSymbol","cloneTypedArray","Ctor","isArguments","spreadableSymbol","isConcatSpreadable","reIsDeepProp","reIsPlainProp","type","test","memoize","cache","size","clear","nativeMax","Math","max","transform","arguments","otherArgs","this","baseGet","baseSlice","shortOut","nativeNow","Date","now","count","lastCalled","stamp","remaining","memoizeCapped","rePropName","reEscapeChar","charCodeAt","replace","match","number","quote","subString","baseIsMap","baseUnary","nodeUtil","nodeIsMap","baseGetTag","funcProto","Function","objectProto","funcToString","objectCtorString","baseIsSet","nodeIsSet","arrayLikeKeys","baseKeysIn","isArrayLike","baseUnset","customOmitClone","flatRest","omit","paths","CLONE_DEEP_FLAG","Z_INDEXES","TABLE_ELEMENT","MENU_BAR","NOTCHED_OUTLINE","BUBBLE_MENU","getEditorStyles","theme","hasResponsiveStyles","typography","h1","some","includes","cursorDelayOpacityChangeAnimation","body1","outline","fontFamily","h3","fontWeight","fontSize","breakpoints","up","h4","h5","h6","subtitle1","subtitle2","marginBlockStart","marginBlockEnd","color","palette","primary","main","textDecoration","listStyleType","listStyle","padding","display","flex","marginRight","userSelect","paddingLeft","marginInlineStart","spacing","marginInlineEnd","position","top","bottom","left","width","borderRadius","shape","background","text","disabled","content","borderWidth","borderStyle","borderColor","divider","backgroundColor","action","hover","mode","secondary","dark","marginTop","marginBottom","lineHeight","overflowX","whiteSpace","light","maxWidth","height","getImageBackgroundColorStyles","borderTopWidth","borderCollapse","tableLayout","margin","overflowY","minWidth","grey","verticalAlign","boxSizing","textAlign","selected","overflow","zIndex","right","pointerEvents","cursor","float","borderLeft","borderRight","marginLeft","wordBreak","opacity","transition","transitions","delay","duration","easing","fontStyle","animation","getContrastText","UTILITY_CLASS_PREFIX_DEFAULT","getUtilityClasses","componentName","slots","slot","getUtilityClass","classnames","len","i","cls","arg","toAdd","assert","typeGuard","k","createCssAndCx","params","css","serialized","registered","className","name","matchCSSObject","increaseSpecificityToTakePrecedenceOverMediaQueries","saveClassNameCSSObjectMapping","cx","feat27FixedClassnames","fixClassName","registeredStyles","rawClassName","merge","createUseCssAndCx","useCache","useCssAndCx","fn","deps","_a","ref","useRef","current","prevDeps","map","v","indexOf","useGuaranteedMemo","cssObjectMapByCache","WeakMap","cssObject","cssObjectMap","Map","classNameCSSObjects","isThereAnyMediaQueriesInPreviousClasses","out","startsWith","fix","split","classNameOrCSSObject","capitalize","str","charAt","toUpperCase","createWithStyles","useTheme","makeStyles","withStyles","Component","cssObjectByRuleNameOrGetCssObjectByRuleName","Component_","Out","children","createElement","nameOrWrappedName","displayName","functionName","useStyles","classes","incorporateMediaQueries","getHasNonRootClasses","forwardRef","_classes","rest","rootClassName","fixedClassesByClasses","getClasses","errorMessageGetClasses","classesIn","Error","cssObjectByRuleNameWithMediaQueries","cssObjectByRuleName","cssObjectByRuleNameWithMediaQueriesByMediaQuery","ruleNameOrMediaQuery","mediaQuery","cssObjectByRuleNameBis","ruleName","createMakeAndWithStyles","tss","counter","createMakeStyles","cacheProvidedAtInception","createUseCache","uniqId","getCssObjectByRuleName","muiStyleOverridesParams","useMemo","refClassesCache","refClasses","Proxy","_target","propertyKey","label","propsClasses","pluginResultWrap","reactContext","createContext","contextualCache","cacheExplicitlyProvidedForTss","useContext","cacheToBeUsed","join","mergeClasses","classesFromUseStyles","classesOverrides","useMuiThemeStyleOverridesPlugin","_b","styleOverrides","components","_c","classesFromThemeStyleOverrides","themeClasses","cssObjectOrGetCssObject","ownerState","condition","msg","getDependencyArrayRef","obj","arr","typeofValue","isNaN","objectKeys","o","objectFromEntries","fromEntries","entries","iterator","_value","isMatched","isSSR","isBrowser","document","getElementById","isJest","jest","isMocha","mocha","isVitest","__vitest_worker__","createTss","nestedSelectorUsageTrackRecord","splice","usePlugin","createTss_internal","doesUseNestedSelectors","idOfUseStyles","wrap","find","paramsAndPluginParams","context","classesOverridesRef","paramsAndPluginParamsRef","use_cache","mapCache_in","mapCache","mapCache_in_in","mapCache_in_in_in","entry","context_i","has","threshold","runGetClassesOrUseCache","update_nested_selector_usage_track_record","Set","nestedSelectorRuleNames","detect_potential_conflicts"],"sourceRoot":""}