"use strict";var stringUtil=require("./stringUtil-b064ec79.js");function baseSortBy$1(r,e){var t=r.length;for(r.sort(e);t--;)r[t]=r[t].value;return r}var _baseSortBy=baseSortBy$1,isSymbol=stringUtil.isSymbol_1;function compareAscending$1(r,e){if(r!==e){var t=void 0!==r,a=null===r,i=r==r,n=isSymbol(r),s=void 0!==e,l=null===e,o=e==e,y=isSymbol(e);if(!l&&!y&&!n&&e<r||n&&s&&o&&!l&&!y||a&&s&&o||!t&&o||!i)return 1;if(!a&&!n&&!y&&r<e||y&&t&&i&&!a&&!n||l&&t&&i||!s&&i||!o)return-1}return 0}var _compareAscending=compareAscending$1,compareAscending=compareAscending$1;function compareMultiple$1(r,e,t){for(var a=-1,i=r.criteria,n=e.criteria,s=i.length,l=t.length;++a<s;){var o=compareAscending(i[a],n[a]);if(o)return l<=a?o:o*("desc"==t[a]?-1:1)}return r.index-e.index}var _compareMultiple=compareMultiple$1,arrayMap=stringUtil._arrayMap,baseGet=stringUtil._baseGet,baseIteratee=stringUtil._baseIteratee,baseMap=stringUtil._baseMap,baseSortBy=_baseSortBy,baseUnary=stringUtil._baseUnary,compareMultiple=_compareMultiple,identity=stringUtil.identity_1,isArray$1=stringUtil.isArray_1;function baseOrderBy$1(r,a,t){a=a.length?arrayMap(a,function(e){return isArray$1(e)?function(r){return baseGet(r,1===e.length?e[0]:e)}:e}):[identity];var i=-1,r=(a=arrayMap(a,baseUnary(baseIteratee)),baseMap(r,function(e,r,t){return{criteria:arrayMap(a,function(r){return r(e)}),index:++i,value:e}}));return baseSortBy(r,function(r,e){return compareMultiple(r,e,t)})}var _baseOrderBy=baseOrderBy$1,baseOrderBy=baseOrderBy$1,isArray=stringUtil.isArray_1;function orderBy(r,e,t,a){return null==r?[]:(isArray(e)||(e=null==e?[]:[e]),isArray(t=a?void 0:t)||(t=null==t?[]:[t]),baseOrderBy(r,e,t))}var orderBy_1=orderBy;exports.orderBy_1=orderBy_1;
