cl-crud/dist/cl-crud2.min.js.map
2022-06-07 09:04:28 +08:00

1 line
416 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap","webpack:///./node_modules/@babel/runtime/helpers/defineProperty.js","webpack:///./node_modules/get-intrinsic/index.js","webpack:///./node_modules/es-abstract/2021/Type.js","webpack:///./node_modules/@vue/babel-helper-vue-jsx-merge-props/dist/helper.js","webpack:///./node_modules/has/src/index.js","webpack:///./node_modules/@babel/runtime/regenerator/index.js","webpack:///./node_modules/call-bind/callBound.js","webpack:///./node_modules/es-abstract/2021/IsPropertyKey.js","webpack:///./node_modules/@babel/runtime/helpers/asyncToGenerator.js","webpack:///./node_modules/es-abstract/2021/Get.js","webpack:///./node_modules/es-abstract/2021/IsArray.js","webpack:///./node_modules/function-bind/index.js","webpack:///./node_modules/es-abstract/helpers/isNaN.js","webpack:///./node_modules/es-abstract/helpers/assertRecord.js","webpack:///./node_modules/@babel/runtime/helpers/typeof.js","webpack:///./node_modules/array.prototype.flat/index.js","webpack:///./node_modules/clone-deep/index.js","webpack:///./node_modules/kind-of/index.js","webpack:///./node_modules/define-properties/index.js","webpack:///./node_modules/object-keys/isArguments.js","webpack:///./node_modules/has-property-descriptors/index.js","webpack:///./node_modules/has-symbols/index.js","webpack:///./node_modules/has-symbols/shams.js","webpack:///./node_modules/call-bind/index.js","webpack:///./node_modules/array.prototype.flat/implementation.js","webpack:///./node_modules/es-abstract/2021/IsIntegralNumber.js","webpack:///./node_modules/es-abstract/2021/abs.js","webpack:///./node_modules/es-abstract/2021/floor.js","webpack:///./node_modules/es-abstract/helpers/isFinite.js","webpack:///./node_modules/es-abstract/helpers/IsArray.js","webpack:///./node_modules/es-abstract/helpers/DefineOwnProperty.js","webpack:///./node_modules/es-abstract/2021/FromPropertyDescriptor.js","webpack:///./node_modules/es-abstract/2021/IsDataDescriptor.js","webpack:///./node_modules/es-abstract/2021/SameValue.js","webpack:///./node_modules/es-abstract/2021/ToPropertyDescriptor.js","webpack:///./node_modules/es-abstract/2021/ToBoolean.js","webpack:///./node_modules/is-callable/index.js","webpack:///./node_modules/es-abstract/helpers/maxSafeInteger.js","webpack:///./node_modules/has-tostringtag/shams.js","webpack:///./node_modules/es-abstract/helpers/isPrimitive.js","webpack:///./node_modules/es-abstract/2021/ToLength.js","webpack:///./node_modules/es-abstract/2021/ToIntegerOrInfinity.js","webpack:///./node_modules/array.prototype.flat/polyfill.js","webpack:///./node_modules/@babel/runtime/helpers/slicedToArray.js","webpack:///./src/common/index.js","webpack:///./src/assets/css/index.styl?78b1","webpack:///./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack:///./src/assets/css/index.styl","webpack:///./node_modules/css-loader/dist/runtime/api.js","webpack:///./node_modules/@babel/runtime/helpers/arrayWithHoles.js","webpack:///./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","webpack:///./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","webpack:///./node_modules/@babel/runtime/helpers/arrayLikeToArray.js","webpack:///./node_modules/@babel/runtime/helpers/nonIterableRest.js","webpack:///./node_modules/shallow-clone/index.js","webpack:///./node_modules/buffer/index.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/base64-js/index.js","webpack:///./node_modules/ieee754/index.js","webpack:///./node_modules/isarray/index.js","webpack:///./node_modules/is-plain-object/index.js","webpack:///./node_modules/isobject/index.js","webpack:///./node_modules/object-keys/index.js","webpack:///./node_modules/object-keys/implementation.js","webpack:///./node_modules/function-bind/implementation.js","webpack:///./node_modules/es-abstract/2021/ArraySpeciesCreate.js","webpack:///./node_modules/es-abstract/2021/ArrayCreate.js","webpack:///./node_modules/es-abstract/5/Type.js","webpack:///./node_modules/object-inspect/index.js","webpack:///./node_modules/es-abstract/2021/IsConstructor.js","webpack:///./node_modules/es-abstract/GetIntrinsic.js","webpack:///./node_modules/es-abstract/2021/DefinePropertyOrThrow.js","webpack:///./node_modules/es-abstract/helpers/isPropertyDescriptor.js","webpack:///./node_modules/es-abstract/helpers/isMatchRecord.js","webpack:///./node_modules/es-abstract/helpers/fromPropertyDescriptor.js","webpack:///./node_modules/es-abstract/2021/IsAccessorDescriptor.js","webpack:///./node_modules/es-abstract/2021/IsCallable.js","webpack:///./node_modules/es-abstract/2021/FlattenIntoArray.js","webpack:///./node_modules/es-abstract/2021/Call.js","webpack:///./node_modules/es-abstract/2021/CreateDataPropertyOrThrow.js","webpack:///./node_modules/es-abstract/2021/CreateDataProperty.js","webpack:///./node_modules/es-abstract/2021/OrdinaryGetOwnProperty.js","webpack:///./node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js","webpack:///./node_modules/es-abstract/2021/IsRegExp.js","webpack:///./node_modules/is-regex/index.js","webpack:///./node_modules/es-abstract/2021/IsExtensible.js","webpack:///./node_modules/es-abstract/2021/HasProperty.js","webpack:///./node_modules/es-abstract/2021/LengthOfArrayLike.js","webpack:///./node_modules/es-abstract/2021/ToNumber.js","webpack:///./node_modules/es-abstract/helpers/regexTester.js","webpack:///./node_modules/es-abstract/2021/ToPrimitive.js","webpack:///./node_modules/es-to-primitive/es2015.js","webpack:///./node_modules/es-to-primitive/helpers/isPrimitive.js","webpack:///./node_modules/is-date-object/index.js","webpack:///./node_modules/is-symbol/index.js","webpack:///./node_modules/es-abstract/helpers/sign.js","webpack:///./node_modules/es-abstract/2021/ToString.js","webpack:///./node_modules/es-abstract/2021/ToObject.js","webpack:///./node_modules/es-abstract/2021/RequireObjectCoercible.js","webpack:///./node_modules/es-abstract/5/CheckObjectCoercible.js","webpack:///./node_modules/array.prototype.flat/shim.js","webpack:///./node_modules/es-shim-unscopables/index.js","webpack:///./node_modules/@babel/runtime/helpers/regeneratorRuntime.js","webpack:///./src/global.js","webpack:///./src/utils/index.js","webpack:///./src/mixins/emitter.js","webpack:///./src/components/crud.js","webpack:///./src/app.js","webpack:///./src/components/add-btn.js","webpack:///./src/components/adv-btn.js","webpack:///./src/utils/vnode.js","webpack:///./src/utils/parse.js","webpack:///./src/mixins/screen.js","webpack:///./src/mixins/form.js","webpack:///./src/components/adv-search.js","webpack:///./src/components/flex1.js","webpack:///./src/components/form.js","webpack:///./src/components/multi-delete-btn.js","webpack:///./src/components/pagination.js","webpack:///./src/components/query.js","webpack:///./src/components/refresh-btn.js","webpack:///./src/components/search-key.js","webpack:///./src/components/table.js","webpack:///./src/components/upsert.js","webpack:///./src/components/dialog.js","webpack:///./src/components/filter.js","webpack:///./src/components/error-message.js","webpack:///./src/index.js"],"names":["root","factory","exports","module","define","amd","a","i","window","installedModules","__webpack_require__","moduleId","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","obj","configurable","writable","$SyntaxError","SyntaxError","$Function","Function","$TypeError","TypeError","getEvalledConstructor","expressionSyntax","e","$gOPD","getOwnPropertyDescriptor","throwTypeError","ThrowTypeError","calleeThrows","arguments","gOPDthrows","hasSymbols","getProto","getPrototypeOf","x","__proto__","needsEval","TypedArray","Uint8Array","undefined","INTRINSICS","AggregateError","Array","ArrayBuffer","iterator","Atomics","BigInt","Boolean","DataView","Date","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","Error","eval","EvalError","Float32Array","Float64Array","FinalizationRegistry","Int8Array","Int16Array","Int32Array","isFinite","isNaN","JSON","Map","Math","Number","parseFloat","parseInt","Promise","Proxy","RangeError","ReferenceError","Reflect","RegExp","Set","SharedArrayBuffer","String","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakMap","WeakRef","WeakSet","LEGACY_ALIASES","hasOwn","$concat","concat","$spliceApply","apply","splice","$replace","replace","$strSlice","slice","rePropName","reEscapeChar","stringToPath","string","first","last","result","match","number","quote","subString","length","getBaseIntrinsic","allowMissing","alias","intrinsicName","doEval","fn","gen","parts","intrinsicBaseName","intrinsic","intrinsicRealName","skipFurtherCaching","isOwn","part","desc","ES5Type","_extends","assign","b","this","normalMerge","toArrayMerge","functionalMerge","mergeFn","reduce","indexOf","f","g","h","runtime","regeneratorRuntime","accidentalStrictMode","globalThis","GetIntrinsic","callBind","$indexOf","argument","asyncGeneratorStep","resolve","reject","_next","_throw","arg","info","error","done","then","self","args","err","inspect","IsPropertyKey","Type","O","P","implementation","has","predicates","Desc","allowed","isData","IsAccessor","recordType","argumentName","predicate","_typeof","constructor","getPolyfill","polyfill","shim","boundFlat","clone","typeOf","isPlainObject","cloneDeep","val","instanceClone","res","cloneObjectDeep","cloneArrayDeep","toString","ctorName","type","isArray","isBuffer","callee","message","isArguments","toDateString","getDate","setDate","isDate","stackTraceLimit","isError","flags","ignoreCase","multiline","global","isRegexp","throw","return","next","isGeneratorObj","toLowerCase","keys","toStr","origDefineProperty","hasPropertyDescriptors","supportsDescriptors","defineProperties","map","props","getOwnPropertySymbols","str","isArgs","$defineProperty","hasArrayLengthDefineBug","origSymbol","hasSymbolSham","sym","symObj","getOwnPropertyNames","syms","propertyIsEnumerable","descriptor","$apply","$call","$reflectApply","$max","originalFunction","func","applyBind","ArraySpeciesCreate","FlattenIntoArray","Get","ToIntegerOrInfinity","ToLength","ToObject","sourceLen","depthNum","A","abs","floor","$isNaN","$isFinite","absValue","$abs","$floor","Infinity","$Array","$isEnumerable","callBound","IsDataDescriptor","SameValue","FromPropertyDescriptor","V","assertRecord","fromPropertyDescriptor","y","ToBoolean","IsCallable","Obj","setter","set","badArrayLike","isCallableMarker","fnToStr","reflectApply","_","constructorRegex","isES6ClassFn","fnStr","test","hasToStringTag","documentDotAll","document","all","tryFunctionObject","strClass","$Math","$Number","MAX_SAFE_INTEGER","pow","len","ToNumber","$sign","flat","arrayWithHoles","iterableToArrayLimit","unsupportedIterableToArray","nonIterableRest","arr","cb","reason","api","content","default","options","locals","memo","isOldIE","atob","getTarget","target","styleTarget","querySelector","HTMLIFrameElement","contentDocument","head","stylesInDom","getIndexByIdentifier","identifier","modulesToDom","list","idCountMap","identifiers","item","id","base","count","index","css","media","sourceMap","references","updater","push","addStyle","insertStyleElement","style","createElement","attributes","nonce","forEach","setAttribute","insert","appendChild","textStore","replaceText","replacement","filter","join","applyToSingletonTag","remove","styleSheet","cssText","cssNode","createTextNode","childNodes","removeChild","insertBefore","applyToTag","removeAttribute","btoa","unescape","stringify","firstChild","singleton","singletonCounter","update","styleIndex","parentNode","removeStyleElement","newObj","lastIdentifiers","newList","newLastIdentifiers","_i","_index","___CSS_LOADER_API_IMPORT___","useSourceMap","cssMapping","sourceMapping","base64","data","sourceURLs","sources","source","sourceRoot","cssWithMappingToString","mediaQuery","dedupe","alreadyImportedModules","_s","_e","_arr","_n","_d","arrayLikeToArray","minLen","from","arr2","valueOf","deep","buf","Buffer","allocUnsafe","copy","cloneBuffer","cloneSymbol","byteLength","cloneArrayBuffer","buffer","byteOffset","cloneTypedArray","exec","re","lastIndex","cloneRegExp","ieee754","kMaxLength","TYPED_ARRAY_SUPPORT","createBuffer","that","encodingOrOffset","array","fromArrayLike","fromArrayBuffer","encoding","isEncoding","actual","write","fromString","checked","fromObject","assertSize","size","isView","loweredCase","utf8ToBytes","base64ToBytes","slowToString","start","end","hexSlice","utf8Slice","asciiSlice","latin1Slice","base64Slice","utf16leSlice","swap","bidirectionalIndexOf","dir","arrayIndexOf","lastIndexOf","indexSize","arrLength","valLength","read","readUInt16BE","foundIndex","found","j","hexWrite","offset","remaining","strLen","parsed","substr","utf8Write","blitBuffer","asciiWrite","byteArray","charCodeAt","asciiToBytes","latin1Write","base64Write","ucs2Write","units","hi","lo","utf16leToBytes","fromByteArray","min","secondByte","thirdByte","fourthByte","tempCodePoint","firstByte","codePoint","bytesPerSequence","codePoints","fromCharCode","decodeCodePointsArray","SlowBuffer","alloc","INSPECT_MAX_BYTES","foo","subarray","typedArraySupport","poolSize","_augment","species","fill","allocUnsafeSlow","_isBuffer","compare","pos","swap16","swap32","swap64","equals","max","thisStart","thisEnd","thisCopy","targetCopy","includes","toJSON","ret","out","toHex","bytes","checkOffset","ext","checkInt","objectWriteUInt16","littleEndian","objectWriteUInt32","checkIEEE754","writeFloat","noAssert","writeDouble","newBuf","sliceLen","readUIntLE","mul","readUIntBE","readUInt8","readUInt16LE","readUInt32LE","readUInt32BE","readIntLE","readIntBE","readInt8","readInt16LE","readInt16BE","readInt32LE","readInt32BE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUIntLE","writeUIntBE","writeUInt8","writeUInt16LE","writeUInt16BE","writeUInt32LE","writeUInt32BE","writeIntLE","limit","sub","writeIntBE","writeInt8","writeInt16LE","writeInt16BE","writeInt32LE","writeInt32BE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","targetStart","code","INVALID_BASE64_RE","leadSurrogate","toByteArray","trim","stringtrim","base64clean","src","dst","b64","lens","getLens","validLen","placeHoldersLen","tmp","Arr","_byteLength","curByte","revLookup","uint8","extraBytes","len2","encodeChunk","lookup","num","output","isLE","mLen","nBytes","eLen","eMax","eBias","nBits","NaN","rt","log","LN2","isObject","isObjectObject","ctor","prot","origKeys","keysShim","originalKeys","isEnumerable","hasDontEnumBug","hasProtoEnumBug","dontEnums","equalsConstructorPrototype","excludedKeys","$applicationCache","$console","$external","$frame","$frameElement","$frames","$innerHeight","$innerWidth","$onmozfullscreenchange","$onmozfullscreenerror","$outerHeight","$outerWidth","$pageXOffset","$pageYOffset","$parent","$scrollLeft","$scrollTop","$scrollX","$scrollY","$self","$webkitIndexedDB","$webkitStorageInfo","$window","hasAutomationEqualityBug","k","isFunction","isString","theKeys","skipProto","skipConstructor","equalsConstructorPrototypeIfNotBuggy","ERROR_MESSAGE","bound","binder","boundLength","boundArgs","Empty","$species","ArrayCreate","IsArray","IsConstructor","IsIntegralNumber","originalArray","C","$ArrayPrototype","$RangeError","MAX_ARRAY_LENGTH","$setProto","proto","hasMap","mapSizeDescriptor","mapSize","mapForEach","hasSet","setSizeDescriptor","setSize","setForEach","weakMapHas","weakSetHas","weakRefDeref","deref","booleanValueOf","objectToString","functionToString","$match","$slice","$toUpperCase","toUpperCase","$toLowerCase","$test","$join","$arrSlice","bigIntValueOf","gOPS","symToString","hasShammedSymbols","gPO","addNumericSeparator","sepRegex","int","intStr","dec","utilInspect","inspectCustom","custom","inspectSymbol","isSymbol","wrapQuotes","defaultStyle","opts","quoteChar","quoteStyle","isRegExp","inspect_","depth","seen","maxStringLength","customInspect","indent","numericSeparator","inspectString","trailer","lowbyte","bigIntStr","maxDepth","baseIndent","prev","getIndent","noIndent","newOpts","nameOf","arrObjKeys","symString","markBoxed","HTMLElement","nodeName","getAttribute","isElement","attrs","xs","singleLineValues","indentedJoin","cause","isMap","mapParts","collectionOf","isSet","setParts","isWeakMap","weakCollectionOf","isWeakSet","isWeakRef","isNumber","isBigInt","isBoolean","ys","protoTag","stringTag","tag","8","9","10","12","13","entries","lineJoiner","isArr","symMap","$construct","DefinePropertyOrThrow","isConstructorMarker","isPropertyDescriptor","DefineOwnProperty","IsAccessorDescriptor","ToPropertyDescriptor","ES","record","Call","CreateDataPropertyOrThrow","HasProperty","LengthOfArrayLike","ToString","mapperFunction","targetIndex","sourceIndex","exists","element","shouldFlatten","elementLen","F","argumentsList","CreateDataProperty","success","OrdinaryGetOwnProperty","IsExtensible","oldDesc","extensible","IsRegExp","arrayLength","regexLastIndex","hasRegExpMatcher","$exec","isRegexMarker","badStringifier","throwRegexMarker","toPrimitive","$toString","gOPD","$preventExtensions","$isExtensible","isPrimitive","$RegExp","$parseInteger","regexTester","isBinary","isOctal","isInvalidHexLiteral","hasNonWS","ws","trimRegex","ToPrimitive","trimmed","$trim","regex","input","isCallable","ordinaryToPrimitive","hint","method","methodNames","GetMethod","exoticToPrim","getDay","tryDateObject","symToStr","symStringRegex","isSymbolObject","$String","$Object","RequireObjectCoercible","optMessage","shimUnscopables","hasUnscopables","unscopables","_regeneratorRuntime","Op","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","context","Context","_invoke","state","doneResult","delegate","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","tryCatch","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","NativeIteratorPrototype","values","Gp","defineIteratorMethods","AsyncIterator","PromiseImpl","previousPromise","callInvokeWithMethodAndArg","invoke","__await","unwrapped","resultName","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","displayName","isGeneratorFunction","genFun","mark","setPrototypeOf","awrap","async","iter","reverse","pop","skipTempReset","charAt","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","__crud","__vue","__inst","deepMerge","broadcast","componentName","eventName","params","$children","child","$options","_componentTag","$emit","methods","dispatch","parent","$root","require","onDelete","onRefresh","mixins","Emitter","provide","crud","service","loading","selection","refreshRd","sortLock","process","permission","page","add","delete","dict","pagination","search","keyWord","query","sort","order","prop","label","multiDelete","refresh","advSearch","saveButtonText","closeButtonText","events","created","$on","mounted","conf","event","app","ctx","callback","console","removeEventListener","addEventListener","doLayout","getPermission","rowAdd","rowEdit","rowAppend","rowClose","rowDelete","reqName","ids","$confirm","$message","deleteMulti","openAdvSearch","closeAdvSearch","paramsReplace","newParams","rd","random","render","$slots","inject","click","parse_jsx","vnode","scope","$scopedSlots","children","$createElement","rn","components","component","on","$set","renderNode","isAdd","isEdit","substring","screen","computed","isFullscreen","w","body","clientWidth","_set","hidden","path","isGet","split","v","findIndex","dataset","getForm","form","setForm","setData","setOptions","toggleItem","hiddenItem","showItem","clearForm","$refs","clearValidate","resetForm","resetFields","Screen","Form","items","opList","onOpen","onClose","onSearch","visible","watch","immediate","handler","open","close","clear","renderForm","disabled","saving","model","Parse","span","ButtonText","title","direction","submit","fullscreen","op","layout","hdr","_data","$nextTick","beforeClose","validate","valid","_hidden","showLoading","hiddenLoading","collapseItem","collapse","formRender","flex","rules","footerRender","total","currentPage","pageSize","setPagination","currentChange","sizeChange","background","multiple","required","field","list2","setList","some","selectRow","active","selects","preventDefault","fieldList","placeholder","field2","value2","selectList","onKeyup","keyCode","params2","onInput","onNameChange","columns","maxHeight","emit","calcMaxHeight","emptyRender","bindEmit","bindMethods","columnRender","opRender","scopedSlots","slot","newScope","row","formatter","column","$index","find","effect","isNull","emptyText","header","childrenEl","clickEvent","buttonText","width","el","trigger","empty","appendRender","changeSort","sortChange","selectionChange","$el","height","rows","querySelectorAll","isConnected","className","clientHeight","h1","h2","border","slots","sync","hiddenOp","onInfo","onSubmit","append","edit","drag","cacheKey","top","left","marginBottom","cursor","dragEvent","setTimeout","changeFullscreen","onOpened","onClosed","dlg","onmousedown","marginTop","dis","clientX","offsetLeft","clientY","offsetTop","box","currentStyle","getComputedStyle","minLeft","maxLeft","maxTop","onmousemove","onmouseup","headerRender","dblclick","opened","closed","footer","CRUD","version","install","Vue","plugins","comps","$crud"],"mappings":";CAAA,SAA2CA,EAAMC,GAChD,GAAsB,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,SACb,GAAqB,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,OACP,CACJ,IAAIK,EAAIL,IACR,IAAI,IAAIM,KAAKD,GAAuB,iBAAZJ,QAAuBA,QAAUF,GAAMO,GAAKD,EAAEC,IAPxE,CASGC,QAAQ,WACX,O,YCTE,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUT,QAGnC,IAAIC,EAASM,EAAiBE,GAAY,CACzCJ,EAAGI,EACHC,GAAG,EACHV,QAAS,IAUV,OANAW,EAAQF,GAAUG,KAAKX,EAAOD,QAASC,EAAQA,EAAOD,QAASQ,GAG/DP,EAAOS,GAAI,EAGJT,EAAOD,QA0Df,OArDAQ,EAAoBK,EAAI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EAAey+B,EACO5L,EACH6L,EACnB1+B,EAAgB,IAAIy+B,EAGNE,EACbF,EAAI3L,UAAU6L,EAAMltC,GAAGW,KAAMusC,EAAMltC,IAIpCgtC,EAAIhrC,UAAUmrC,MAAQ,CACrBrF,KAAM,SAACnnC,EAAMw+B,GACZ5wB,EAAcguB,MAAM57B,EAAMw+B,OAMf0N","file":"cl-crud2.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse {\n\t\tvar a = factory();\n\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n\t}\n})(window, function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 105);\n","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","'use strict';\n\nvar undefined;\n\nvar $SyntaxError = SyntaxError;\nvar $Function = Function;\nvar $TypeError = TypeError;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\n\nvar getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': RangeError,\n\t'%ReferenceError%': ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = require('function-bind');\nvar hasOwn = require('has');\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n","'use strict';\n\nvar ES5Type = require('../5/Type');\n\n// https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values\n\nmodule.exports = function Type(x) {\n\tif (typeof x === 'symbol') {\n\t\treturn 'Symbol';\n\t}\n\tif (typeof x === 'bigint') {\n\t\treturn 'BigInt';\n\t}\n\treturn ES5Type(x);\n};\n","\"use strict\";function _extends(){return _extends=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},_extends.apply(this,arguments)}var normalMerge=[\"attrs\",\"props\",\"domProps\"],toArrayMerge=[\"class\",\"style\",\"directives\"],functionalMerge=[\"on\",\"nativeOn\"],mergeJsxProps=function(a){return a.reduce(function(c,a){for(var b in a)if(!c[b])c[b]=a[b];else if(-1!==normalMerge.indexOf(b))c[b]=_extends({},c[b],a[b]);else if(-1!==toArrayMerge.indexOf(b)){var d=c[b]instanceof Array?c[b]:[c[b]],e=a[b]instanceof Array?a[b]:[a[b]];c[b]=d.concat(e)}else if(-1!==functionalMerge.indexOf(b)){for(var f in a[b])if(c[b][f]){var g=c[b][f]instanceof Array?c[b][f]:[c[b][f]],h=a[b][f]instanceof Array?a[b][f]:[a[b][f]];c[b][f]=g.concat(h)}else c[b][f]=a[b][f];}else if(\"hook\"==b)for(var i in a[b])c[b][i]=c[b][i]?mergeFn(c[b][i],a[b][i]):a[b][i];else c[b]=a[b];return c},{})},mergeFn=function(a,b){return function(){a&&a.apply(this,arguments),b&&b.apply(this,arguments)}};module.exports=mergeJsxProps;\n","'use strict';\n\nvar bind = require('function-bind');\n\nmodule.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);\n","// TODO(Babel 8): Remove this file.\n\nvar runtime = require(\"../helpers/regeneratorRuntime\")();\nmodule.exports = runtime;\n\n// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBind = require('./');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n","'use strict';\n\n// https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey\n\nmodule.exports = function IsPropertyKey(argument) {\n\treturn typeof argument === 'string' || typeof argument === 'symbol';\n};\n","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nfunction _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}\n\nmodule.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar inspect = require('object-inspect');\n\nvar IsPropertyKey = require('./IsPropertyKey');\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-get-o-p\n\nmodule.exports = function Get(O, P) {\n\t// 7.3.1.1\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\t// 7.3.1.2\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));\n\t}\n\t// 7.3.1.3\n\treturn O[P];\n};\n","'use strict';\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isarray\nmodule.exports = require('../helpers/IsArray');\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n","'use strict';\n\nmodule.exports = Number.isNaN || function isNaN(a) {\n\treturn a !== a;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\nvar $SyntaxError = GetIntrinsic('%SyntaxError%');\n\nvar has = require('has');\n\nvar isMatchRecord = require('./isMatchRecord');\n\nvar predicates = {\n\t// https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type\n\t'Property Descriptor': function isPropertyDescriptor(Desc) {\n\t\tvar allowed = {\n\t\t\t'[[Configurable]]': true,\n\t\t\t'[[Enumerable]]': true,\n\t\t\t'[[Get]]': true,\n\t\t\t'[[Set]]': true,\n\t\t\t'[[Value]]': true,\n\t\t\t'[[Writable]]': true\n\t\t};\n\n\t\tfor (var key in Desc) { // eslint-disable-line\n\t\t\tif (has(Desc, key) && !allowed[key]) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tvar isData = has(Desc, '[[Value]]');\n\t\tvar IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]');\n\t\tif (isData && IsAccessor) {\n\t\t\tthrow new $TypeError('Property Descriptors may not be both accessor and data descriptors');\n\t\t}\n\t\treturn true;\n\t},\n\t// https://262.ecma-international.org/13.0/#sec-match-records\n\t'Match Record': isMatchRecord\n};\n\nmodule.exports = function assertRecord(Type, recordType, argumentName, value) {\n\tvar predicate = predicates[recordType];\n\tif (typeof predicate !== 'function') {\n\t\tthrow new $SyntaxError('unknown record type: ' + recordType);\n\t}\n\tif (Type(value) !== 'Object' || !predicate(value)) {\n\t\tthrow new $TypeError(argumentName + ' must be a ' + recordType);\n\t}\n};\n","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(obj);\n}\n\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","'use strict';\n\nvar define = require('define-properties');\nvar callBind = require('call-bind');\n\nvar implementation = require('./implementation');\nvar getPolyfill = require('./polyfill');\nvar polyfill = getPolyfill();\nvar shim = require('./shim');\n\nvar boundFlat = callBind(polyfill);\n\ndefine(boundFlat, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = boundFlat;\n","'use strict';\n\n/**\n * Module dependenices\n */\n\nconst clone = require('shallow-clone');\nconst typeOf = require('kind-of');\nconst isPlainObject = require('is-plain-object');\n\nfunction cloneDeep(val, instanceClone) {\n switch (typeOf(val)) {\n case 'object':\n return cloneObjectDeep(val, instanceClone);\n case 'array':\n return cloneArrayDeep(val, instanceClone);\n default: {\n return clone(val);\n }\n }\n}\n\nfunction cloneObjectDeep(val, instanceClone) {\n if (typeof instanceClone === 'function') {\n return instanceClone(val);\n }\n if (instanceClone || isPlainObject(val)) {\n const res = new val.constructor();\n for (let key in val) {\n res[key] = cloneDeep(val[key], instanceClone);\n }\n return res;\n }\n return val;\n}\n\nfunction cloneArrayDeep(val, instanceClone) {\n const res = new val.constructor(val.length);\n for (let i = 0; i < val.length; i++) {\n res[i] = cloneDeep(val[i], instanceClone);\n }\n return res;\n}\n\n/**\n * Expose `cloneDeep`\n */\n\nmodule.exports = cloneDeep;\n","var toString = Object.prototype.toString;\n\nmodule.exports = function kindOf(val) {\n if (val === void 0) return 'undefined';\n if (val === null) return 'null';\n\n var type = typeof val;\n if (type === 'boolean') return 'boolean';\n if (type === 'string') return 'string';\n if (type === 'number') return 'number';\n if (type === 'symbol') return 'symbol';\n if (type === 'function') {\n return isGeneratorFn(val) ? 'generatorfunction' : 'function';\n }\n\n if (isArray(val)) return 'array';\n if (isBuffer(val)) return 'buffer';\n if (isArguments(val)) return 'arguments';\n if (isDate(val)) return 'date';\n if (isError(val)) return 'error';\n if (isRegexp(val)) return 'regexp';\n\n switch (ctorName(val)) {\n case 'Symbol': return 'symbol';\n case 'Promise': return 'promise';\n\n // Set, Map, WeakSet, WeakMap\n case 'WeakMap': return 'weakmap';\n case 'WeakSet': return 'weakset';\n case 'Map': return 'map';\n case 'Set': return 'set';\n\n // 8-bit typed arrays\n case 'Int8Array': return 'int8array';\n case 'Uint8Array': return 'uint8array';\n case 'Uint8ClampedArray': return 'uint8clampedarray';\n\n // 16-bit typed arrays\n case 'Int16Array': return 'int16array';\n case 'Uint16Array': return 'uint16array';\n\n // 32-bit typed arrays\n case 'Int32Array': return 'int32array';\n case 'Uint32Array': return 'uint32array';\n case 'Float32Array': return 'float32array';\n case 'Float64Array': return 'float64array';\n }\n\n if (isGeneratorObj(val)) {\n return 'generator';\n }\n\n // Non-plain objects\n type = toString.call(val);\n switch (type) {\n case '[object Object]': return 'object';\n // iterators\n case '[object Map Iterator]': return 'mapiterator';\n case '[object Set Iterator]': return 'setiterator';\n case '[object String Iterator]': return 'stringiterator';\n case '[object Array Iterator]': return 'arrayiterator';\n }\n\n // other\n return type.slice(8, -1).toLowerCase().replace(/\\s/g, '');\n};\n\nfunction ctorName(val) {\n return typeof val.constructor === 'function' ? val.constructor.name : null;\n}\n\nfunction isArray(val) {\n if (Array.isArray) return Array.isArray(val);\n return val instanceof Array;\n}\n\nfunction isError(val) {\n return val instanceof Error || (typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number');\n}\n\nfunction isDate(val) {\n if (val instanceof Date) return true;\n return typeof val.toDateString === 'function'\n && typeof val.getDate === 'function'\n && typeof val.setDate === 'function';\n}\n\nfunction isRegexp(val) {\n if (val instanceof RegExp) return true;\n return typeof val.flags === 'string'\n && typeof val.ignoreCase === 'boolean'\n && typeof val.multiline === 'boolean'\n && typeof val.global === 'boolean';\n}\n\nfunction isGeneratorFn(name, val) {\n return ctorName(name) === 'GeneratorFunction';\n}\n\nfunction isGeneratorObj(val) {\n return typeof val.throw === 'function'\n && typeof val.return === 'function'\n && typeof val.next === 'function';\n}\n\nfunction isArguments(val) {\n try {\n if (typeof val.length === 'number' && typeof val.callee === 'function') {\n return true;\n }\n } catch (err) {\n if (err.message.indexOf('callee') !== -1) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * If you need to support Safari 5-7 (8-10 yr-old browser),\n * take a look at https://github.com/feross/is-buffer\n */\n\nfunction isBuffer(val) {\n if (val.constructor && typeof val.constructor.isBuffer === 'function') {\n return val.constructor.isBuffer(val);\n }\n return false;\n}\n","'use strict';\n\nvar keys = require('object-keys');\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';\n\nvar toStr = Object.prototype.toString;\nvar concat = Array.prototype.concat;\nvar origDefineProperty = Object.defineProperty;\n\nvar isFunction = function (fn) {\n\treturn typeof fn === 'function' && toStr.call(fn) === '[object Function]';\n};\n\nvar hasPropertyDescriptors = require('has-property-descriptors')();\n\nvar supportsDescriptors = origDefineProperty && hasPropertyDescriptors;\n\nvar defineProperty = function (object, name, value, predicate) {\n\tif (name in object && (!isFunction(predicate) || !predicate())) {\n\t\treturn;\n\t}\n\tif (supportsDescriptors) {\n\t\torigDefineProperty(object, name, {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tvalue: value,\n\t\t\twritable: true\n\t\t});\n\t} else {\n\t\tobject[name] = value; // eslint-disable-line no-param-reassign\n\t}\n};\n\nvar defineProperties = function (object, map) {\n\tvar predicates = arguments.length > 2 ? arguments[2] : {};\n\tvar props = keys(map);\n\tif (hasSymbols) {\n\t\tprops = concat.call(props, Object.getOwnPropertySymbols(map));\n\t}\n\tfor (var i = 0; i < props.length; i += 1) {\n\t\tdefineProperty(object, props[i], map[props[i]], predicates[props[i]]);\n\t}\n};\n\ndefineProperties.supportsDescriptors = !!supportsDescriptors;\n\nmodule.exports = defineProperties;\n","'use strict';\n\nvar toStr = Object.prototype.toString;\n\nmodule.exports = function isArguments(value) {\n\tvar str = toStr.call(value);\n\tvar isArgs = str === '[object Arguments]';\n\tif (!isArgs) {\n\t\tisArgs = str !== '[object Array]' &&\n\t\t\tvalue !== null &&\n\t\t\ttypeof value === 'object' &&\n\t\t\ttypeof value.length === 'number' &&\n\t\t\tvalue.length >= 0 &&\n\t\t\ttoStr.call(value.callee) === '[object Function]';\n\t}\n\treturn isArgs;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\n\nvar hasPropertyDescriptors = function hasPropertyDescriptors() {\n\tif ($defineProperty) {\n\t\ttry {\n\t\t\t$defineProperty({}, 'a', { value: 1 });\n\t\t\treturn true;\n\t\t} catch (e) {\n\t\t\t// IE 8 has a broken defineProperty\n\t\t\treturn false;\n\t\t}\n\t}\n\treturn false;\n};\n\nhasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {\n\t// node v0.6 has a bug where array lengths can be Set but not Defined\n\tif (!hasPropertyDescriptors()) {\n\t\treturn null;\n\t}\n\ttry {\n\t\treturn $defineProperty([], 'length', { value: 1 }).length !== 1;\n\t} catch (e) {\n\t\t// In Firefox 4-22, defining length on an array throws an exception.\n\t\treturn true;\n\t}\n};\n\nmodule.exports = hasPropertyDescriptors;\n","'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","'use strict';\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar bind = require('function-bind');\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\nvar $max = GetIntrinsic('%Math.max%');\n\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = null;\n\t}\n}\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = $reflectApply(bind, $call, arguments);\n\tif ($gOPD && $defineProperty) {\n\t\tvar desc = $gOPD(func, 'length');\n\t\tif (desc.configurable) {\n\t\t\t// original length, plus the receiver, minus any additional arguments (after the receiver)\n\t\t\t$defineProperty(\n\t\t\t\tfunc,\n\t\t\t\t'length',\n\t\t\t\t{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }\n\t\t\t);\n\t\t}\n\t}\n\treturn func;\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n","'use strict';\n\nvar ArraySpeciesCreate = require('es-abstract/2021/ArraySpeciesCreate');\nvar FlattenIntoArray = require('es-abstract/2021/FlattenIntoArray');\nvar Get = require('es-abstract/2021/Get');\nvar ToIntegerOrInfinity = require('es-abstract/2021/ToIntegerOrInfinity');\nvar ToLength = require('es-abstract/2021/ToLength');\nvar ToObject = require('es-abstract/2021/ToObject');\n\nmodule.exports = function flat() {\n\tvar O = ToObject(this);\n\tvar sourceLen = ToLength(Get(O, 'length'));\n\n\tvar depthNum = 1;\n\tif (arguments.length > 0 && typeof arguments[0] !== 'undefined') {\n\t\tdepthNum = ToIntegerOrInfinity(arguments[0]);\n\t}\n\n\tvar A = ArraySpeciesCreate(O, 0);\n\tFlattenIntoArray(A, O, sourceLen, 0, depthNum);\n\treturn A;\n};\n","'use strict';\n\nvar abs = require('./abs');\nvar floor = require('./floor');\nvar Type = require('./Type');\n\nvar $isNaN = require('../helpers/isNaN');\nvar $isFinite = require('../helpers/isFinite');\n\n// https://tc39.es/ecma262/#sec-isintegralnumber\n\nmodule.exports = function IsIntegralNumber(argument) {\n\tif (Type(argument) !== 'Number' || $isNaN(argument) || !$isFinite(argument)) {\n\t\treturn false;\n\t}\n\tvar absValue = abs(argument);\n\treturn floor(absValue) === absValue;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $abs = GetIntrinsic('%Math.abs%');\n\n// http://262.ecma-international.org/5.1/#sec-5.2\n\nmodule.exports = function abs(x) {\n\treturn $abs(x);\n};\n","'use strict';\n\n// var modulo = require('./modulo');\nvar $floor = Math.floor;\n\n// http://262.ecma-international.org/5.1/#sec-5.2\n\nmodule.exports = function floor(x) {\n\t// return x - modulo(x, 1);\n\treturn $floor(x);\n};\n","'use strict';\n\nvar $isNaN = Number.isNaN || function (a) { return a !== a; };\n\nmodule.exports = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity; };\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $Array = GetIntrinsic('%Array%');\n\n// eslint-disable-next-line global-require\nvar toStr = !$Array.isArray && require('call-bind/callBound')('Object.prototype.toString');\n\nmodule.exports = $Array.isArray || function IsArray(argument) {\n\treturn toStr(argument) === '[object Array]';\n};\n","'use strict';\n\nvar hasPropertyDescriptors = require('has-property-descriptors');\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $defineProperty = hasPropertyDescriptors() && GetIntrinsic('%Object.defineProperty%', true);\n\nvar hasArrayLengthDefineBug = hasPropertyDescriptors.hasArrayLengthDefineBug();\n\n// eslint-disable-next-line global-require\nvar isArray = hasArrayLengthDefineBug && require('../helpers/IsArray');\n\nvar callBound = require('call-bind/callBound');\n\nvar $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');\n\n// eslint-disable-next-line max-params\nmodule.exports = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {\n\tif (!$defineProperty) {\n\t\tif (!IsDataDescriptor(desc)) {\n\t\t\t// ES3 does not support getters/setters\n\t\t\treturn false;\n\t\t}\n\t\tif (!desc['[[Configurable]]'] || !desc['[[Writable]]']) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// fallback for ES3\n\t\tif (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) {\n\t\t\t// a non-enumerable existing property\n\t\t\treturn false;\n\t\t}\n\n\t\t// property does not exist at all, or exists but is enumerable\n\t\tvar V = desc['[[Value]]'];\n\t\t// eslint-disable-next-line no-param-reassign\n\t\tO[P] = V; // will use [[Define]]\n\t\treturn SameValue(O[P], V);\n\t}\n\tif (\n\t\thasArrayLengthDefineBug\n\t\t&& P === 'length'\n\t\t&& '[[Value]]' in desc\n\t\t&& isArray(O)\n\t\t&& O.length !== desc['[[Value]]']\n\t) {\n\t\t// eslint-disable-next-line no-param-reassign\n\t\tO.length = desc['[[Value]]'];\n\t\treturn O.length === desc['[[Value]]'];\n\t}\n\n\t$defineProperty(O, P, FromPropertyDescriptor(desc));\n\treturn true;\n};\n","'use strict';\n\nvar assertRecord = require('../helpers/assertRecord');\nvar fromPropertyDescriptor = require('../helpers/fromPropertyDescriptor');\n\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor\n\nmodule.exports = function FromPropertyDescriptor(Desc) {\n\tif (typeof Desc !== 'undefined') {\n\t\tassertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n\t}\n\n\treturn fromPropertyDescriptor(Desc);\n};\n","'use strict';\n\nvar has = require('has');\n\nvar assertRecord = require('../helpers/assertRecord');\n\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor\n\nmodule.exports = function IsDataDescriptor(Desc) {\n\tif (typeof Desc === 'undefined') {\n\t\treturn false;\n\t}\n\n\tassertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n\n\tif (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) {\n\t\treturn false;\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar $isNaN = require('../helpers/isNaN');\n\n// http://262.ecma-international.org/5.1/#sec-9.12\n\nmodule.exports = function SameValue(x, y) {\n\tif (x === y) { // 0 === -0, but they are not identical.\n\t\tif (x === 0) { return 1 / x === 1 / y; }\n\t\treturn true;\n\t}\n\treturn $isNaN(x) && $isNaN(y);\n};\n","'use strict';\n\nvar has = require('has');\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar Type = require('./Type');\nvar ToBoolean = require('./ToBoolean');\nvar IsCallable = require('./IsCallable');\n\n// https://262.ecma-international.org/5.1/#sec-8.10.5\n\nmodule.exports = function ToPropertyDescriptor(Obj) {\n\tif (Type(Obj) !== 'Object') {\n\t\tthrow new $TypeError('ToPropertyDescriptor requires an object');\n\t}\n\n\tvar desc = {};\n\tif (has(Obj, 'enumerable')) {\n\t\tdesc['[[Enumerable]]'] = ToBoolean(Obj.enumerable);\n\t}\n\tif (has(Obj, 'configurable')) {\n\t\tdesc['[[Configurable]]'] = ToBoolean(Obj.configurable);\n\t}\n\tif (has(Obj, 'value')) {\n\t\tdesc['[[Value]]'] = Obj.value;\n\t}\n\tif (has(Obj, 'writable')) {\n\t\tdesc['[[Writable]]'] = ToBoolean(Obj.writable);\n\t}\n\tif (has(Obj, 'get')) {\n\t\tvar getter = Obj.get;\n\t\tif (typeof getter !== 'undefined' && !IsCallable(getter)) {\n\t\t\tthrow new $TypeError('getter must be a function');\n\t\t}\n\t\tdesc['[[Get]]'] = getter;\n\t}\n\tif (has(Obj, 'set')) {\n\t\tvar setter = Obj.set;\n\t\tif (typeof setter !== 'undefined' && !IsCallable(setter)) {\n\t\t\tthrow new $TypeError('setter must be a function');\n\t\t}\n\t\tdesc['[[Set]]'] = setter;\n\t}\n\n\tif ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) {\n\t\tthrow new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');\n\t}\n\treturn desc;\n};\n","'use strict';\n\n// http://262.ecma-international.org/5.1/#sec-9.2\n\nmodule.exports = function ToBoolean(value) { return !!value; };\n","'use strict';\n\nvar fnToStr = Function.prototype.toString;\nvar reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;\nvar badArrayLike;\nvar isCallableMarker;\nif (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {\n\ttry {\n\t\tbadArrayLike = Object.defineProperty({}, 'length', {\n\t\t\tget: function () {\n\t\t\t\tthrow isCallableMarker;\n\t\t\t}\n\t\t});\n\t\tisCallableMarker = {};\n\t\t// eslint-disable-next-line no-throw-literal\n\t\treflectApply(function () { throw 42; }, null, badArrayLike);\n\t} catch (_) {\n\t\tif (_ !== isCallableMarker) {\n\t\t\treflectApply = null;\n\t\t}\n\t}\n} else {\n\treflectApply = null;\n}\n\nvar constructorRegex = /^\\s*class\\b/;\nvar isES6ClassFn = function isES6ClassFunction(value) {\n\ttry {\n\t\tvar fnStr = fnToStr.call(value);\n\t\treturn constructorRegex.test(fnStr);\n\t} catch (e) {\n\t\treturn false; // not a function\n\t}\n};\n\nvar tryFunctionObject = function tryFunctionToStr(value) {\n\ttry {\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tfnToStr.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar fnClass = '[object Function]';\nvar genClass = '[object GeneratorFunction]';\nvar hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`\n/* globals document: false */\nvar documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};\n\nmodule.exports = reflectApply\n\t? function isCallable(value) {\n\t\tif (value === documentDotAll) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\tif (typeof value === 'function' && !value.prototype) { return true; }\n\t\ttry {\n\t\t\treflectApply(value, null, badArrayLike);\n\t\t} catch (e) {\n\t\t\tif (e !== isCallableMarker) { return false; }\n\t\t}\n\t\treturn !isES6ClassFn(value);\n\t}\n\t: function isCallable(value) {\n\t\tif (value === documentDotAll) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\tif (typeof value === 'function' && !value.prototype) { return true; }\n\t\tif (hasToStringTag) { return tryFunctionObject(value); }\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tvar strClass = toStr.call(value);\n\t\treturn strClass === fnClass || strClass === genClass;\n\t};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $Math = GetIntrinsic('%Math%');\nvar $Number = GetIntrinsic('%Number%');\n\nmodule.exports = $Number.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1;\n","'use strict';\n\nvar hasSymbols = require('has-symbols/shams');\n\nmodule.exports = function hasToStringTagShams() {\n\treturn hasSymbols() && !!Symbol.toStringTag;\n};\n","'use strict';\n\nmodule.exports = function isPrimitive(value) {\n\treturn value === null || (typeof value !== 'function' && typeof value !== 'object');\n};\n","'use strict';\n\nvar MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger');\n\nvar ToIntegerOrInfinity = require('./ToIntegerOrInfinity');\n\nmodule.exports = function ToLength(argument) {\n\tvar len = ToIntegerOrInfinity(argument);\n\tif (len <= 0) { return 0; } // includes converting -0 to +0\n\tif (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; }\n\treturn len;\n};\n","'use strict';\n\nvar abs = require('./abs');\nvar floor = require('./floor');\nvar ToNumber = require('./ToNumber');\n\nvar $isNaN = require('../helpers/isNaN');\nvar $isFinite = require('../helpers/isFinite');\nvar $sign = require('../helpers/sign');\n\n// https://262.ecma-international.org/12.0/#sec-tointegerorinfinity\n\nmodule.exports = function ToIntegerOrInfinity(value) {\n\tvar number = ToNumber(value);\n\tif ($isNaN(number) || number === 0) { return 0; }\n\tif (!$isFinite(number)) { return number; }\n\treturn $sign(number) * floor(abs(number));\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = function getPolyfill() {\n\treturn Array.prototype.flat || implementation;\n};\n","var arrayWithHoles = require(\"./arrayWithHoles.js\");\n\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\n\nvar nonIterableRest = require(\"./nonIterableRest.js\");\n\nfunction _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\n\nmodule.exports = _slicedToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","Promise.prototype.done = function (cb) {\n\tlet P = this.constructor;\n\n\treturn this.then(\n\t\t(value) => P.resolve(cb()).then(() => value),\n\t\t(reason) =>\n\t\t\tP.resolve(cb()).then(() => {\n\t\t\t\tthrow reason;\n\t\t\t})\n\t);\n};\n","var api = require(\"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n var content = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/stylus-loader/index.js!./index.styl\");\n\n content = content.__esModule ? content.default : content;\n\n if (typeof content === 'string') {\n content = [[module.id, content, '']];\n }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","\"use strict\";\n\nvar isOldIE = function isOldIE() {\n var memo;\n return function memorize() {\n if (typeof memo === 'undefined') {\n // Test for IE <= 9 as proposed by Browserhacks\n // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n // Tests for existence of standard globals is to allow style-loader\n // to operate correctly into non-standard environments\n // @see https://github.com/webpack-contrib/style-loader/issues/177\n memo = Boolean(window && document && document.all && !window.atob);\n }\n\n return memo;\n };\n}();\n\nvar getTarget = function getTarget() {\n var memo = {};\n return function memorize(target) {\n if (typeof memo[target] === 'undefined') {\n var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n\n memo[target] = styleTarget;\n }\n\n return memo[target];\n };\n}();\n\nvar stylesInDom = [];\n\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n\n for (var i = 0; i < stylesInDom.length; i++) {\n if (stylesInDom[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n\n return result;\n}\n\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var index = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3]\n };\n\n if (index !== -1) {\n stylesInDom[index].references++;\n stylesInDom[index].updater(obj);\n } else {\n stylesInDom.push({\n identifier: identifier,\n updater: addStyle(obj, options),\n references: 1\n });\n }\n\n identifiers.push(identifier);\n }\n\n return identifiers;\n}\n\nfunction insertStyleElement(options) {\n var style = document.createElement('style');\n var attributes = options.attributes || {};\n\n if (typeof attributes.nonce === 'undefined') {\n var nonce = typeof __webpack_nonce__ !== 'undefined' ? __webpack_nonce__ : null;\n\n if (nonce) {\n attributes.nonce = nonce;\n }\n }\n\n Object.keys(attributes).forEach(function (key) {\n style.setAttribute(key, attributes[key]);\n });\n\n if (typeof options.insert === 'function') {\n options.insert(style);\n } else {\n var target = getTarget(options.insert || 'head');\n\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n\n target.appendChild(style);\n }\n\n return style;\n}\n\nfunction removeStyleElement(style) {\n // istanbul ignore if\n if (style.parentNode === null) {\n return false;\n }\n\n style.parentNode.removeChild(style);\n}\n/* istanbul ignore next */\n\n\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join('\\n');\n };\n}();\n\nfunction applyToSingletonTag(style, index, remove, obj) {\n var css = remove ? '' : obj.media ? \"@media \".concat(obj.media, \" {\").concat(obj.css, \"}\") : obj.css; // For old IE\n\n /* istanbul ignore if */\n\n if (style.styleSheet) {\n style.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = style.childNodes;\n\n if (childNodes[index]) {\n style.removeChild(childNodes[index]);\n }\n\n if (childNodes.length) {\n style.insertBefore(cssNode, childNodes[index]);\n } else {\n style.appendChild(cssNode);\n }\n }\n}\n\nfunction applyToTag(style, options, obj) {\n var css = obj.css;\n var media = obj.media;\n var sourceMap = obj.sourceMap;\n\n if (media) {\n style.setAttribute('media', media);\n } else {\n style.removeAttribute('media');\n }\n\n if (sourceMap && typeof btoa !== 'undefined') {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n } // For old IE\n\n /* istanbul ignore if */\n\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n while (style.firstChild) {\n style.removeChild(style.firstChild);\n }\n\n style.appendChild(document.createTextNode(css));\n }\n}\n\nvar singleton = null;\nvar singletonCounter = 0;\n\nfunction addStyle(obj, options) {\n var style;\n var update;\n var remove;\n\n if (options.singleton) {\n var styleIndex = singletonCounter++;\n style = singleton || (singleton = insertStyleElement(options));\n update = applyToSingletonTag.bind(null, style, styleIndex, false);\n remove = applyToSingletonTag.bind(null, style, styleIndex, true);\n } else {\n style = insertStyleElement(options);\n update = applyToTag.bind(null, style, options);\n\n remove = function remove() {\n removeStyleElement(style);\n };\n }\n\n update(obj);\n return function updateStyle(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {\n return;\n }\n\n update(obj = newObj);\n } else {\n remove();\n }\n };\n}\n\nmodule.exports = function (list, options) {\n options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n // tags it will allow on a page\n\n if (!options.singleton && typeof options.singleton !== 'boolean') {\n options.singleton = isOldIE();\n }\n\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n\n if (Object.prototype.toString.call(newList) !== '[object Array]') {\n return;\n }\n\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDom[index].references--;\n }\n\n var newLastIdentifiers = modulesToDom(newList, options);\n\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n\n var _index = getIndexByIdentifier(_identifier);\n\n if (stylesInDom[_index].references === 0) {\n stylesInDom[_index].updater();\n\n stylesInDom.splice(_index, 1);\n }\n }\n\n lastIdentifiers = newLastIdentifiers;\n };\n};","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".cl-crud {\\n display: flex;\\n flex-direction: column;\\n height: 100%;\\n position: relative;\\n padding: 10px;\\n box-sizing: border-box;\\n background-color: #fff;\\n overflow: hidden;\\n}\\n.cl-crud>.el-row {\\n margin-bottom: 10px;\\n}\\n.cl-crud>.el-row:last-child {\\n margin-bottom: 0;\\n}\\n.cl-crud .cl-flex1 {\\n flex: 1;\\n font-size: 12px;\\n}\\n.cl-crud .cl-search-key {\\n display: flex;\\n margin-left: 10px;\\n}\\n.cl-crud .cl-search-key__input {\\n width: 250px;\\n}\\n.cl-crud .cl-search-key__select {\\n width: 150px;\\n margin-right: 10px;\\n}\\n.cl-crud .cl-search-key__button {\\n margin-left: 10px;\\n}\\n.cl-crud .cl-adv-btn > .el-button {\\n margin-left: 10px;\\n}\\n.cl-crud .cl-adv-btn > .el-button i {\\n margin-right: 5px;\\n}\\n.cl-crud .cl-table {\\n width: 100%;\\n}\\n.cl-crud .cl-table .el-table .el-loading-mask .el-loading-spinner .el-icon-loading {\\n font-size: 25px;\\n color: #000;\\n}\\n.cl-crud .cl-table .el-table .el-loading-mask .el-loading-spinner .el-loading-text {\\n color: #666;\\n margin-top: 5px;\\n}\\n.cl-crud .cl-table .el-table.el-loading-parent--relative {\\n box-sizing: border-box;\\n}\\n.cl-crud .cl-table__op .el-dropdown-link {\\n cursor: pointer;\\n font-size: 12px;\\n}\\n.cl-crud .cl-query {\\n display: inline-flex;\\n margin: 0 10px;\\n border-radius: 3px;\\n}\\n.cl-crud .cl-query button {\\n border: 0;\\n background-color: #fff;\\n font-size: 12px;\\n outline: none;\\n cursor: pointer;\\n color: #666;\\n white-space: nowrap;\\n}\\n.cl-crud .cl-query button:hover {\\n color: #6fa8ff;\\n}\\n.cl-crud .cl-query button.is-active {\\n color: #409eff;\\n}\\n.cl-crud .cl-query button span {\\n display: inline-block;\\n padding: 0 15px;\\n border-right: 1px solid #ddd;\\n}\\n.cl-crud .cl-query button:last-child span {\\n border: 0;\\n}\\n.cl-crud .cl-filter {\\n display: flex;\\n align-items: center;\\n margin: 0 10px;\\n}\\n.cl-crud .cl-filter__label {\\n font-size: 12px;\\n margin-right: 10px;\\n white-space: nowrap;\\n}\\n.cl-crud .cl-filter .el-select {\\n min-width: 120px;\\n}\\n.cl-crud .el-input-number__decrease,\\n.cl-crud .el-input-number__increase {\\n border: 0;\\n background-color: transparent;\\n}\\n.cl-crud > .el-row {\\n overflow-x: auto;\\n overflow-y: hidden;\\n padding-bottom: 5px;\\n margin-bottom: 5px;\\n min-height: 33px;\\n}\\n.cl-crud > .el-row::-webkit-scrollbar {\\n height: 4px;\\n}\\n.cl-crud > .el-row::-webkit-scrollbar-thumb {\\n background-color: rgba(144,147,153,0.3);\\n border-radius: 5px;\\n}\\n.cl-crud > .el-row::-webkit-scrollbar-track {\\n background: transparent;\\n}\\n.cl-adv-search__container {\\n height: calc(100% - 50px);\\n overflow-y: auto;\\n padding: 10px 20px;\\n}\\n.cl-adv-search__container .el-form-item__content>div {\\n width: 100%;\\n}\\n.cl-adv-search__footer {\\n display: flex;\\n align-items: center;\\n justify-content: flex-end;\\n height: 40px;\\n margin: 0 10px;\\n}\\n.cl-adv-search .el-drawer {\\n outline: none;\\n}\\n.cl-adv-search .el-drawer__header span {\\n outline: none;\\n font-size: 15px;\\n}\\n.cl-adv-search .el-drawer__close-btn {\\n outline: none;\\n}\\n.cl-form .el-form-item .el-input-number__decrease,\\n.cl-form .el-form-item .el-input-number__increase {\\n border: 0;\\n background-color: transparent;\\n}\\n.cl-form-item {\\n display: flex;\\n}\\n.cl-form-item__prepend {\\n margin-right: 10px;\\n}\\n.cl-form-item__component.is-flex {\\n flex: 1;\\n width: 100%;\\n}\\n.cl-form-item__component.is-flex>div {\\n width: 100%;\\n}\\n.cl-form-item__append {\\n margin-left: 10px;\\n}\\n.cl-form-item__collapse {\\n height: 33px;\\n width: 100%;\\n cursor: pointer;\\n font-size: 12px;\\n}\\n.cl-form-item__collapse .el-divider {\\n margin: 16px 0;\\n}\\n.cl-form-item__collapse .el-divider__text {\\n font-size: 12px;\\n}\\n.cl-form-item__collapse i {\\n margin-left: 6px;\\n}\\n.cl-form__footer {\\n display: flex;\\n justify-content: flex-end;\\n}\\n.cl-dialog .el-dialog__header {\\n padding: 10px !important;\\n text-align: center;\\n border-bottom: 1px solid #f7f7f7;\\n}\\n.cl-dialog .el-dialog__header .el-dialog__title {\\n font-size: 15px;\\n letter-spacing: 0.5px;\\n}\\n.cl-dialog .el-dialog__header .el-dialog__headerbtn {\\n display: none;\\n top: 13px;\\n}\\n.cl-dialog .el-dialog__header .el-dialog__headerbtn .el-dialog__close {\\n font-size: 18px;\\n}\\n.cl-dialog .el-dialog__header-slot.is-drag {\\n -moz-user-select: none;\\n -webkit-user-select: none;\\n -ms-user-select: none;\\n -khtml-user-select: none;\\n user-select: none;\\n cursor: move;\\n}\\n.cl-dialog .el-dialog__body {\\n padding: 20px;\\n}\\n.cl-dialog .el-dialog__footer {\\n padding-bottom: 15px;\\n}\\n.cl-dialog__header {\\n height: 25px;\\n line-height: 25px;\\n text-align: center;\\n position: relative;\\n}\\n.cl-dialog__title {\\n display: block;\\n font-size: 15px;\\n letter-spacing: 0.5px;\\n}\\n.cl-dialog__headerbtn {\\n display: flex;\\n justify-content: flex-end;\\n position: absolute;\\n right: 0;\\n top: 0;\\n z-index: 9;\\n}\\n.cl-dialog__headerbtn .minimize,\\n.cl-dialog__headerbtn .maximize,\\n.cl-dialog__headerbtn .close {\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n height: 25px;\\n width: 40px;\\n border: 0;\\n background-color: #fff;\\n cursor: pointer;\\n outline: none;\\n}\\n.cl-dialog__headerbtn .minimize i,\\n.cl-dialog__headerbtn .maximize i,\\n.cl-dialog__headerbtn .close i {\\n font-size: 16px;\\n}\\n.cl-dialog__headerbtn .minimize i:hover,\\n.cl-dialog__headerbtn .maximize i:hover,\\n.cl-dialog__headerbtn .close i:hover {\\n opacity: 0.7;\\n}\\n.cl-dialog.hidden-header .el-dialog__header {\\n display: none;\\n}\\n.cl-crud__op-dropdown-menu .el-button {\\n width: 100%;\\n text-align: left;\\n}\\n.el-message.el-message--success,\\n.el-message.el-message--error,\\n.el-message.el-message--info,\\n.el-message.el-message--warning {\\n min-width: auto;\\n background-color: #fff;\\n box-shadow: 0 4px 12px rgba(0,0,0,0.15);\\n border: 0;\\n padding: 12px 20px 12px 15px;\\n}\\n.el-message.el-message--success .el-message__content,\\n.el-message.el-message--error .el-message__content,\\n.el-message.el-message--info .el-message__content,\\n.el-message.el-message--warning .el-message__content {\\n color: #999;\\n}\\n.el-table__header th {\\n padding: 0 !important;\\n background-color: #ebeef5 !important;\\n height: 36px;\\n line-height: 36px;\\n}\\n.el-table__header .cell {\\n color: $color-main;\\n font-weight: normal;\\n}\\n.el-table__column-filter-trigger {\\n margin-left: 5px;\\n}\\n.el-table-column--selection .cell {\\n padding: 0 14px !important;\\n}\\n.el-table-filter {\\n margin-top: 5px !important;\\n}\\n.el-table-filter .el-checkbox__label {\\n font-size: 12px;\\n}\\n@media only screen and (max-width: 768px) {\\n .el-message-box {\\n width: 90% !important;\\n }\\n .el-table__body-wrapper::-webkit-scrollbar {\\n height: 6px;\\n width: 6px;\\n }\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join('');\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === 'string') {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring\n\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || '').concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n return \"/*# \".concat(data, \" */\");\n}","function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nmodule.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nmodule.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\n\nmodule.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nmodule.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableRest, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","/*!\n * shallow-clone <https://github.com/jonschlinkert/shallow-clone>\n *\n * Copyright (c) 2015-present, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n'use strict';\n\nconst valueOf = Symbol.prototype.valueOf;\nconst typeOf = require('kind-of');\n\nfunction clone(val, deep) {\n switch (typeOf(val)) {\n case 'array':\n return val.slice();\n case 'object':\n return Object.assign({}, val);\n case 'date':\n return new val.constructor(Number(val));\n case 'map':\n return new Map(val);\n case 'set':\n return new Set(val);\n case 'buffer':\n return cloneBuffer(val);\n case 'symbol':\n return cloneSymbol(val);\n case 'arraybuffer':\n return cloneArrayBuffer(val);\n case 'float32array':\n case 'float64array':\n case 'int16array':\n case 'int32array':\n case 'int8array':\n case 'uint16array':\n case 'uint32array':\n case 'uint8clampedarray':\n case 'uint8array':\n return cloneTypedArray(val);\n case 'regexp':\n return cloneRegExp(val);\n case 'error':\n return Object.create(val);\n default: {\n return val;\n }\n }\n}\n\nfunction cloneRegExp(val) {\n const flags = val.flags !== void 0 ? val.flags : (/\\w+$/.exec(val) || void 0);\n const re = new val.constructor(val.source, flags);\n re.lastIndex = val.lastIndex;\n return re;\n}\n\nfunction cloneArrayBuffer(val) {\n const res = new val.constructor(val.byteLength);\n new Uint8Array(res).set(new Uint8Array(val));\n return res;\n}\n\nfunction cloneTypedArray(val, deep) {\n return new val.constructor(val.buffer, val.byteOffset, val.length);\n}\n\nfunction cloneBuffer(val) {\n const len = val.length;\n const buf = Buffer.allocUnsafe ? Buffer.allocUnsafe(len) : Buffer.from(len);\n val.copy(buf);\n return buf;\n}\n\nfunction cloneSymbol(val) {\n return valueOf ? Object(valueOf.call(val)) : {};\n}\n\n/**\n * Expose `clone`\n */\n\nmodule.exports = clone;\n","/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh <http://feross.org>\n * @license MIT\n */\n/* eslint-disable no-proto */\n\n'use strict'\n\nvar base64 = require('base64-js')\nvar ieee754 = require('ieee754')\nvar isArray = require('isarray')\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined\n ? global.TYPED_ARRAY_SUPPORT\n : typedArraySupport()\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\nexports.kMaxLength = kMaxLength()\n\nfunction typedArraySupport () {\n try {\n var arr = new Uint8Array(1)\n arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}\n return arr.foo() === 42 && // typed array instances can be augmented\n typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\n arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`\n } catch (e) {\n return false\n }\n}\n\nfunction kMaxLength () {\n return Buffer.TYPED_ARRAY_SUPPORT\n ? 0x7fffffff\n : 0x3fffffff\n}\n\nfunction createBuffer (that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length')\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length)\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer(length)\n }\n that.length = length\n }\n\n return that\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n return new Buffer(arg, encodingOrOffset, length)\n }\n\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error(\n 'If encoding is specified then the first argument must be a string'\n )\n }\n return allocUnsafe(this, arg)\n }\n return from(this, arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment = function (arr) {\n arr.__proto__ = Buffer.prototype\n return arr\n}\n\nfunction from (that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number')\n }\n\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length)\n }\n\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset)\n }\n\n return fromObject(that, value)\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(null, value, encodingOrOffset, length)\n}\n\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype\n Buffer.__proto__ = Uint8Array\n if (typeof Symbol !== 'undefined' && Symbol.species &&\n Buffer[Symbol.species] === Buffer) {\n // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\n Object.defineProperty(Buffer, Symbol.species, {\n value: null,\n configurable: true\n })\n }\n}\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number')\n } else if (size < 0) {\n throw new RangeError('\"size\" argument must not be negative')\n }\n}\n\nfunction alloc (that, size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(that, size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(that, size).fill(fill, encoding)\n : createBuffer(that, size).fill(fill)\n }\n return createBuffer(that, size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding)\n}\n\nfunction allocUnsafe (that, size) {\n assertSize(size)\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0\n }\n }\n return that\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(null, size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size)\n}\n\nfunction fromString (that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding')\n }\n\n var length = byteLength(string, encoding) | 0\n that = createBuffer(that, length)\n\n var actual = that.write(string, encoding)\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n that = that.slice(0, actual)\n }\n\n return that\n}\n\nfunction fromArrayLike (that, array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0\n that = createBuffer(that, length)\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\nfunction fromArrayBuffer (that, array, byteOffset, length) {\n array.byteLength // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds')\n }\n\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array)\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset)\n } else {\n array = new Uint8Array(array, byteOffset, length)\n }\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array)\n }\n return that\n}\n\nfunction fromObject (that, obj) {\n if (Buffer.isBuffer(obj)) {\n var len = checked(obj.length) | 0\n that = createBuffer(that, len)\n\n if (that.length === 0) {\n return that\n }\n\n obj.copy(that, 0, 0, len)\n return that\n }\n\n if (obj) {\n if ((typeof ArrayBuffer !== 'undefined' &&\n obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0)\n }\n return fromArrayLike(that, obj)\n }\n\n if (obj.type === 'Buffer' && isArray(obj.data)) {\n return fromArrayLike(that, obj.data)\n }\n }\n\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\n}\n\nfunction checked (length) {\n // Note: cannot use `length < kMaxLength()` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return !!(b != null && b._isBuffer)\n}\n\nBuffer.compare = function compare (a, b) {\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError('Arguments must be Buffers')\n }\n\n if (a === b) return 0\n\n var x = a.length\n var y = b.length\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n var i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n var buffer = Buffer.allocUnsafe(length)\n var pos = 0\n for (i = 0; i < list.length; ++i) {\n var buf = list[i]\n if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n buf.copy(buffer, pos)\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length\n }\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\n (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n string = '' + string\n }\n\n var len = string.length\n if (len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n var i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n var len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n var len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n var len = this.length\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7)\n swap(this, i + 1, i + 6)\n swap(this, i + 2, i + 5)\n swap(this, i + 3, i + 4)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n var length = this.length | 0\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n var str = ''\n var max = exports.INSPECT_MAX_BYTES\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')\n if (this.length > max) str += ' ... '\n }\n return '<Buffer ' + str + '>'\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (!Buffer.isBuffer(target)) {\n throw new TypeError('Argument must be a Buffer')\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n var x = thisEnd - thisStart\n var y = end - start\n var len = Math.min(x, y)\n\n var thisCopy = this.slice(thisStart, thisEnd)\n var targetCopy = target.slice(start, end)\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset = +byteOffset // Coerce to Number.\n if (isNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1)\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF // Search for a byte value [0-255]\n if (Buffer.TYPED_ARRAY_SUPPORT &&\n typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n var indexSize = 1\n var arrLength = arr.length\n var valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n var i\n if (dir) {\n var foundIndex = -1\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n for (i = byteOffset; i >= 0; i--) {\n var found = true\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n var remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n // must be an even number of digits\n var strLen = string.length\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16)\n if (isNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction latin1Write (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0\n if (isFinite(length)) {\n length = length | 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n var remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n var res = []\n\n var i = start\n while (i < end) {\n var firstByte = buf[i]\n var codePoint = null\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = ''\n var i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n var out = ''\n for (var i = start; i < end; ++i) {\n out += toHex(buf[i])\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end)\n var res = ''\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n var newBuf\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end)\n newBuf.__proto__ = Buffer.prototype\n } else {\n var sliceLen = end - start\n newBuf = new Buffer(sliceLen, undefined)\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start]\n }\n }\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n var val = this[offset + --byteLength]\n var mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var i = byteLength\n var mul = 1\n var val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var mul = 1\n var i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var i = byteLength - 1\n var mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8\n }\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\n }\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = 0\n var mul = 1\n var sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = byteLength - 1\n var mul = 1\n var sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n var len = end - start\n var i\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start]\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start]\n }\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, start + len),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0)\n if (code < 256) {\n val = code\n }\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n } else if (typeof val === 'number') {\n val = val & 255\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n var i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n var bytes = Buffer.isBuffer(val)\n ? val\n : utf8ToBytes(new Buffer(val, encoding).toString())\n var len = bytes.length\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n var codePoint\n var length = string.length\n var leadSurrogate = null\n var bytes = []\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\nfunction isnan (val) {\n return val !== val // eslint-disable-line no-self-compare\n}\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","'use strict'\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n var i\n for (i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n","/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = ((value * c) - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n","var toString = {}.toString;\n\nmodule.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n","/*!\n * is-plain-object <https://github.com/jonschlinkert/is-plain-object>\n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n'use strict';\n\nvar isObject = require('isobject');\n\nfunction isObjectObject(o) {\n return isObject(o) === true\n && Object.prototype.toString.call(o) === '[object Object]';\n}\n\nmodule.exports = function isPlainObject(o) {\n var ctor,prot;\n\n if (isObjectObject(o) === false) return false;\n\n // If has modified constructor\n ctor = o.constructor;\n if (typeof ctor !== 'function') return false;\n\n // If has modified prototype\n prot = ctor.prototype;\n if (isObjectObject(prot) === false) return false;\n\n // If constructor does not have an Object-specific method\n if (prot.hasOwnProperty('isPrototypeOf') === false) {\n return false;\n }\n\n // Most likely a plain Object\n return true;\n};\n","/*!\n * isobject <https://github.com/jonschlinkert/isobject>\n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n'use strict';\n\nmodule.exports = function isObject(val) {\n return val != null && typeof val === 'object' && Array.isArray(val) === false;\n};\n","'use strict';\n\nvar slice = Array.prototype.slice;\nvar isArgs = require('./isArguments');\n\nvar origKeys = Object.keys;\nvar keysShim = origKeys ? function keys(o) { return origKeys(o); } : require('./implementation');\n\nvar originalKeys = Object.keys;\n\nkeysShim.shim = function shimObjectKeys() {\n\tif (Object.keys) {\n\t\tvar keysWorksWithArguments = (function () {\n\t\t\t// Safari 5.0 bug\n\t\t\tvar args = Object.keys(arguments);\n\t\t\treturn args && args.length === arguments.length;\n\t\t}(1, 2));\n\t\tif (!keysWorksWithArguments) {\n\t\t\tObject.keys = function keys(object) { // eslint-disable-line func-name-matching\n\t\t\t\tif (isArgs(object)) {\n\t\t\t\t\treturn originalKeys(slice.call(object));\n\t\t\t\t}\n\t\t\t\treturn originalKeys(object);\n\t\t\t};\n\t\t}\n\t} else {\n\t\tObject.keys = keysShim;\n\t}\n\treturn Object.keys || keysShim;\n};\n\nmodule.exports = keysShim;\n","'use strict';\n\nvar keysShim;\nif (!Object.keys) {\n\t// modified from https://github.com/es-shims/es5-shim\n\tvar has = Object.prototype.hasOwnProperty;\n\tvar toStr = Object.prototype.toString;\n\tvar isArgs = require('./isArguments'); // eslint-disable-line global-require\n\tvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\tvar hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');\n\tvar hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');\n\tvar dontEnums = [\n\t\t'toString',\n\t\t'toLocaleString',\n\t\t'valueOf',\n\t\t'hasOwnProperty',\n\t\t'isPrototypeOf',\n\t\t'propertyIsEnumerable',\n\t\t'constructor'\n\t];\n\tvar equalsConstructorPrototype = function (o) {\n\t\tvar ctor = o.constructor;\n\t\treturn ctor && ctor.prototype === o;\n\t};\n\tvar excludedKeys = {\n\t\t$applicationCache: true,\n\t\t$console: true,\n\t\t$external: true,\n\t\t$frame: true,\n\t\t$frameElement: true,\n\t\t$frames: true,\n\t\t$innerHeight: true,\n\t\t$innerWidth: true,\n\t\t$onmozfullscreenchange: true,\n\t\t$onmozfullscreenerror: true,\n\t\t$outerHeight: true,\n\t\t$outerWidth: true,\n\t\t$pageXOffset: true,\n\t\t$pageYOffset: true,\n\t\t$parent: true,\n\t\t$scrollLeft: true,\n\t\t$scrollTop: true,\n\t\t$scrollX: true,\n\t\t$scrollY: true,\n\t\t$self: true,\n\t\t$webkitIndexedDB: true,\n\t\t$webkitStorageInfo: true,\n\t\t$window: true\n\t};\n\tvar hasAutomationEqualityBug = (function () {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined') { return false; }\n\t\tfor (var k in window) {\n\t\t\ttry {\n\t\t\t\tif (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tequalsConstructorPrototype(window[k]);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}());\n\tvar equalsConstructorPrototypeIfNotBuggy = function (o) {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined' || !hasAutomationEqualityBug) {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t}\n\t\ttry {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n\n\tkeysShim = function keys(object) {\n\t\tvar isObject = object !== null && typeof object === 'object';\n\t\tvar isFunction = toStr.call(object) === '[object Function]';\n\t\tvar isArguments = isArgs(object);\n\t\tvar isString = isObject && toStr.call(object) === '[object String]';\n\t\tvar theKeys = [];\n\n\t\tif (!isObject && !isFunction && !isArguments) {\n\t\t\tthrow new TypeError('Object.keys called on a non-object');\n\t\t}\n\n\t\tvar skipProto = hasProtoEnumBug && isFunction;\n\t\tif (isString && object.length > 0 && !has.call(object, 0)) {\n\t\t\tfor (var i = 0; i < object.length; ++i) {\n\t\t\t\ttheKeys.push(String(i));\n\t\t\t}\n\t\t}\n\n\t\tif (isArguments && object.length > 0) {\n\t\t\tfor (var j = 0; j < object.length; ++j) {\n\t\t\t\ttheKeys.push(String(j));\n\t\t\t}\n\t\t} else {\n\t\t\tfor (var name in object) {\n\t\t\t\tif (!(skipProto && name === 'prototype') && has.call(object, name)) {\n\t\t\t\t\ttheKeys.push(String(name));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (hasDontEnumBug) {\n\t\t\tvar skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);\n\n\t\t\tfor (var k = 0; k < dontEnums.length; ++k) {\n\t\t\t\tif (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {\n\t\t\t\t\ttheKeys.push(dontEnums[k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn theKeys;\n\t};\n}\nmodule.exports = keysShim;\n","'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $species = GetIntrinsic('%Symbol.species%', true);\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar ArrayCreate = require('./ArrayCreate');\nvar Get = require('./Get');\nvar IsArray = require('./IsArray');\nvar IsConstructor = require('./IsConstructor');\nvar IsIntegralNumber = require('./IsIntegralNumber');\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/12.0/#sec-arrayspeciescreate\n\nmodule.exports = function ArraySpeciesCreate(originalArray, length) {\n\tif (!IsIntegralNumber(length) || length < 0) {\n\t\tthrow new $TypeError('Assertion failed: length must be an integer >= 0');\n\t}\n\n\tvar isArray = IsArray(originalArray);\n\tif (!isArray) {\n\t\treturn ArrayCreate(length);\n\t}\n\n\tvar C = Get(originalArray, 'constructor');\n\t// TODO: figure out how to make a cross-realm normal Array, a same-realm Array\n\t// if (IsConstructor(C)) {\n\t// \tif C is another realm's Array, C = undefined\n\t// \tObject.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ?\n\t// }\n\tif ($species && Type(C) === 'Object') {\n\t\tC = Get(C, $species);\n\t\tif (C === null) {\n\t\t\tC = void 0;\n\t\t}\n\t}\n\n\tif (typeof C === 'undefined') {\n\t\treturn ArrayCreate(length);\n\t}\n\tif (!IsConstructor(C)) {\n\t\tthrow new $TypeError('C must be a constructor');\n\t}\n\treturn new C(length); // Construct(C, length);\n};\n\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $ArrayPrototype = GetIntrinsic('%Array.prototype%');\nvar $RangeError = GetIntrinsic('%RangeError%');\nvar $SyntaxError = GetIntrinsic('%SyntaxError%');\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar IsIntegralNumber = require('./IsIntegralNumber');\n\nvar MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1;\n\nvar $setProto = GetIntrinsic('%Object.setPrototypeOf%', true) || (\n\t// eslint-disable-next-line no-proto, no-negated-condition\n\t[].__proto__ !== $ArrayPrototype\n\t\t? null\n\t\t: function (O, proto) {\n\t\t\tO.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign\n\t\t\treturn O;\n\t\t}\n);\n\n// https://www.ecma-international.org/ecma-262/12.0/#sec-arraycreate\n\nmodule.exports = function ArrayCreate(length) {\n\tif (!IsIntegralNumber(length) || length < 0) {\n\t\tthrow new $TypeError('Assertion failed: `length` must be an integer Number >= 0');\n\t}\n\tif (length > MAX_ARRAY_LENGTH) {\n\t\tthrow new $RangeError('length is greater than (2**32 - 1)');\n\t}\n\tvar proto = arguments.length > 1 ? arguments[1] : $ArrayPrototype;\n\tvar A = []; // steps 3, 5\n\tif (proto !== $ArrayPrototype) { // step 4\n\t\tif (!$setProto) {\n\t\t\tthrow new $SyntaxError('ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]');\n\t\t}\n\t\t$setProto(A, proto);\n\t}\n\tif (length !== 0) { // bypasses the need for step 6\n\t\tA.length = length;\n\t}\n\t/* step 6, the above as a shortcut for the below\n\tOrdinaryDefineOwnProperty(A, 'length', {\n\t\t'[[Configurable]]': false,\n\t\t'[[Enumerable]]': false,\n\t\t'[[Value]]': length,\n\t\t'[[Writable]]': true\n\t});\n\t*/\n\treturn A;\n};\n","'use strict';\n\n// https://262.ecma-international.org/5.1/#sec-8\n\nmodule.exports = function Type(x) {\n\tif (x === null) {\n\t\treturn 'Null';\n\t}\n\tif (typeof x === 'undefined') {\n\t\treturn 'Undefined';\n\t}\n\tif (typeof x === 'function' || typeof x === 'object') {\n\t\treturn 'Object';\n\t}\n\tif (typeof x === 'number') {\n\t\treturn 'Number';\n\t}\n\tif (typeof x === 'boolean') {\n\t\treturn 'Boolean';\n\t}\n\tif (typeof x === 'string') {\n\t\treturn 'String';\n\t}\n};\n","var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar $match = String.prototype.match;\nvar $slice = String.prototype.slice;\nvar $replace = String.prototype.replace;\nvar $toUpperCase = String.prototype.toUpperCase;\nvar $toLowerCase = String.prototype.toLowerCase;\nvar $test = RegExp.prototype.test;\nvar $concat = Array.prototype.concat;\nvar $join = Array.prototype.join;\nvar $arrSlice = Array.prototype.slice;\nvar $floor = Math.floor;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\n// ie, `has-tostringtag/shams\nvar toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')\n ? Symbol.toStringTag\n : null;\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nfunction addNumericSeparator(num, str) {\n if (\n num === Infinity\n || num === -Infinity\n || num !== num\n || (num && num > -1000 && num < 1000)\n || $test.call(/e/, str)\n ) {\n return str;\n }\n var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n if (typeof num === 'number') {\n var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n if (int !== num) {\n var intStr = String(int);\n var dec = $slice.call(str, intStr.length + 1);\n return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n }\n }\n return $replace.call(str, sepRegex, '$&_');\n}\n\nvar utilInspect = require('./util.inspect');\nvar inspectCustom = utilInspect.custom;\nvar inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n }\n var numericSeparator = opts.numericSeparator;\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n var str = String(obj);\n return numericSeparator ? addNumericSeparator(obj, str) : str;\n }\n if (typeof obj === 'bigint') {\n var bigIntStr = String(obj) + 'n';\n return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = $arrSlice.call(seen);\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + $toLowerCase.call(String(obj.nodeName));\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + $join.call(xs, ', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n }\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {\n return utilInspect(obj, { depth: maxDepth - depth });\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + $join.call(ys, ', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return $replace.call(String(s), /\"/g, '&quot;');\n}\n\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n }\n // eslint-disable-next-line no-control-regex\n var s = $replace.call($replace.call(str, /(['\\\\])/g, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = $join.call(Array(opts.indent + 1), ' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: $join.call(Array(depth + 1), baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ($test.call(/[^\\w$]/, key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n","'use strict';\n\nvar GetIntrinsic = require('../GetIntrinsic.js');\n\nvar $construct = GetIntrinsic('%Reflect.construct%', true);\n\nvar DefinePropertyOrThrow = require('./DefinePropertyOrThrow');\ntry {\n\tDefinePropertyOrThrow({}, '', { '[[Get]]': function () {} });\n} catch (e) {\n\t// Accessor properties aren't supported\n\tDefinePropertyOrThrow = null;\n}\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isconstructor\n\nif (DefinePropertyOrThrow && $construct) {\n\tvar isConstructorMarker = {};\n\tvar badArrayLike = {};\n\tDefinePropertyOrThrow(badArrayLike, 'length', {\n\t\t'[[Get]]': function () {\n\t\t\tthrow isConstructorMarker;\n\t\t},\n\t\t'[[Enumerable]]': true\n\t});\n\n\tmodule.exports = function IsConstructor(argument) {\n\t\ttry {\n\t\t\t// `Reflect.construct` invokes `IsConstructor(target)` before `Get(args, 'length')`:\n\t\t\t$construct(argument, badArrayLike);\n\t\t} catch (err) {\n\t\t\treturn err === isConstructorMarker;\n\t\t}\n\t};\n} else {\n\tmodule.exports = function IsConstructor(argument) {\n\t\t// unfortunately there's no way to truly check this without try/catch `new argument` in old environments\n\t\treturn typeof argument === 'function' && !!argument.prototype;\n\t};\n}\n","'use strict';\n\n// TODO: remove, semver-major\n\nmodule.exports = require('get-intrinsic');\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar isPropertyDescriptor = require('../helpers/isPropertyDescriptor');\nvar DefineOwnProperty = require('../helpers/DefineOwnProperty');\n\nvar FromPropertyDescriptor = require('./FromPropertyDescriptor');\nvar IsAccessorDescriptor = require('./IsAccessorDescriptor');\nvar IsDataDescriptor = require('./IsDataDescriptor');\nvar IsPropertyKey = require('./IsPropertyKey');\nvar SameValue = require('./SameValue');\nvar ToPropertyDescriptor = require('./ToPropertyDescriptor');\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow\n\nmodule.exports = function DefinePropertyOrThrow(O, P, desc) {\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: IsPropertyKey(P) is not true');\n\t}\n\n\tvar Desc = isPropertyDescriptor({\n\t\tType: Type,\n\t\tIsDataDescriptor: IsDataDescriptor,\n\t\tIsAccessorDescriptor: IsAccessorDescriptor\n\t}, desc) ? desc : ToPropertyDescriptor(desc);\n\tif (!isPropertyDescriptor({\n\t\tType: Type,\n\t\tIsDataDescriptor: IsDataDescriptor,\n\t\tIsAccessorDescriptor: IsAccessorDescriptor\n\t}, Desc)) {\n\t\tthrow new $TypeError('Assertion failed: Desc is not a valid Property Descriptor');\n\t}\n\n\treturn DefineOwnProperty(\n\t\tIsDataDescriptor,\n\t\tSameValue,\n\t\tFromPropertyDescriptor,\n\t\tO,\n\t\tP,\n\t\tDesc\n\t);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar has = require('has');\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nmodule.exports = function IsPropertyDescriptor(ES, Desc) {\n\tif (ES.Type(Desc) !== 'Object') {\n\t\treturn false;\n\t}\n\tvar allowed = {\n\t\t'[[Configurable]]': true,\n\t\t'[[Enumerable]]': true,\n\t\t'[[Get]]': true,\n\t\t'[[Set]]': true,\n\t\t'[[Value]]': true,\n\t\t'[[Writable]]': true\n\t};\n\n\tfor (var key in Desc) { // eslint-disable-line no-restricted-syntax\n\t\tif (has(Desc, key) && !allowed[key]) {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tif (ES.IsDataDescriptor(Desc) && ES.IsAccessorDescriptor(Desc)) {\n\t\tthrow new $TypeError('Property Descriptors may not be both accessor and data descriptors');\n\t}\n\treturn true;\n};\n","'use strict';\n\nvar has = require('has');\n\n// https://262.ecma-international.org/13.0/#sec-match-records\n\nmodule.exports = function isMatchRecord(record) {\n\treturn (\n\t\thas(record, '[[StartIndex]]')\n && has(record, '[[EndIndex]]')\n && record['[[StartIndex]]'] >= 0\n && record['[[EndIndex]]'] >= record['[[StartIndex]]']\n && String(parseInt(record['[[StartIndex]]'], 10)) === String(record['[[StartIndex]]'])\n && String(parseInt(record['[[EndIndex]]'], 10)) === String(record['[[EndIndex]]'])\n\t);\n};\n","'use strict';\n\nmodule.exports = function fromPropertyDescriptor(Desc) {\n\tif (typeof Desc === 'undefined') {\n\t\treturn Desc;\n\t}\n\tvar obj = {};\n\tif ('[[Value]]' in Desc) {\n\t\tobj.value = Desc['[[Value]]'];\n\t}\n\tif ('[[Writable]]' in Desc) {\n\t\tobj.writable = !!Desc['[[Writable]]'];\n\t}\n\tif ('[[Get]]' in Desc) {\n\t\tobj.get = Desc['[[Get]]'];\n\t}\n\tif ('[[Set]]' in Desc) {\n\t\tobj.set = Desc['[[Set]]'];\n\t}\n\tif ('[[Enumerable]]' in Desc) {\n\t\tobj.enumerable = !!Desc['[[Enumerable]]'];\n\t}\n\tif ('[[Configurable]]' in Desc) {\n\t\tobj.configurable = !!Desc['[[Configurable]]'];\n\t}\n\treturn obj;\n};\n","'use strict';\n\nvar has = require('has');\n\nvar assertRecord = require('../helpers/assertRecord');\n\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isaccessordescriptor\n\nmodule.exports = function IsAccessorDescriptor(Desc) {\n\tif (typeof Desc === 'undefined') {\n\t\treturn false;\n\t}\n\n\tassertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n\n\tif (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) {\n\t\treturn false;\n\t}\n\n\treturn true;\n};\n","'use strict';\n\n// http://262.ecma-international.org/5.1/#sec-9.11\n\nmodule.exports = require('is-callable');\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger');\n\nvar Call = require('./Call');\nvar CreateDataPropertyOrThrow = require('./CreateDataPropertyOrThrow');\nvar Get = require('./Get');\nvar HasProperty = require('./HasProperty');\nvar IsArray = require('./IsArray');\nvar LengthOfArrayLike = require('./LengthOfArrayLike');\nvar ToString = require('./ToString');\n\n// https://262.ecma-international.org/11.0/#sec-flattenintoarray\n\n// eslint-disable-next-line max-params\nmodule.exports = function FlattenIntoArray(target, source, sourceLen, start, depth) {\n\tvar mapperFunction;\n\tif (arguments.length > 5) {\n\t\tmapperFunction = arguments[5];\n\t}\n\n\tvar targetIndex = start;\n\tvar sourceIndex = 0;\n\twhile (sourceIndex < sourceLen) {\n\t\tvar P = ToString(sourceIndex);\n\t\tvar exists = HasProperty(source, P);\n\t\tif (exists === true) {\n\t\t\tvar element = Get(source, P);\n\t\t\tif (typeof mapperFunction !== 'undefined') {\n\t\t\t\tif (arguments.length <= 6) {\n\t\t\t\t\tthrow new $TypeError('Assertion failed: thisArg is required when mapperFunction is provided');\n\t\t\t\t}\n\t\t\t\telement = Call(mapperFunction, arguments[6], [element, sourceIndex, source]);\n\t\t\t}\n\t\t\tvar shouldFlatten = false;\n\t\t\tif (depth > 0) {\n\t\t\t\tshouldFlatten = IsArray(element);\n\t\t\t}\n\t\t\tif (shouldFlatten) {\n\t\t\t\tvar elementLen = LengthOfArrayLike(element);\n\t\t\t\ttargetIndex = FlattenIntoArray(target, element, elementLen, targetIndex, depth - 1);\n\t\t\t} else {\n\t\t\t\tif (targetIndex >= MAX_SAFE_INTEGER) {\n\t\t\t\t\tthrow new $TypeError('index too large');\n\t\t\t\t}\n\t\t\t\tCreateDataPropertyOrThrow(target, ToString(targetIndex), element);\n\t\t\t\ttargetIndex += 1;\n\t\t\t}\n\t\t}\n\t\tsourceIndex += 1;\n\t}\n\n\treturn targetIndex;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bind/callBound');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar IsArray = require('./IsArray');\n\nvar $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('%Function.prototype.apply%');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-call\n\nmodule.exports = function Call(F, V) {\n\tvar argumentsList = arguments.length > 2 ? arguments[2] : [];\n\tif (!IsArray(argumentsList)) {\n\t\tthrow new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List');\n\t}\n\treturn $apply(F, V, argumentsList);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar CreateDataProperty = require('./CreateDataProperty');\nvar IsPropertyKey = require('./IsPropertyKey');\nvar Type = require('./Type');\n\n// // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow\n\nmodule.exports = function CreateDataPropertyOrThrow(O, P, V) {\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: IsPropertyKey(P) is not true');\n\t}\n\tvar success = CreateDataProperty(O, P, V);\n\tif (!success) {\n\t\tthrow new $TypeError('unable to create data property');\n\t}\n\treturn success;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar DefineOwnProperty = require('../helpers/DefineOwnProperty');\n\nvar FromPropertyDescriptor = require('./FromPropertyDescriptor');\nvar OrdinaryGetOwnProperty = require('./OrdinaryGetOwnProperty');\nvar IsDataDescriptor = require('./IsDataDescriptor');\nvar IsExtensible = require('./IsExtensible');\nvar IsPropertyKey = require('./IsPropertyKey');\nvar SameValue = require('./SameValue');\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty\n\nmodule.exports = function CreateDataProperty(O, P, V) {\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: IsPropertyKey(P) is not true');\n\t}\n\tvar oldDesc = OrdinaryGetOwnProperty(O, P);\n\tvar extensible = !oldDesc || IsExtensible(O);\n\tvar nonConfigurable = oldDesc && !oldDesc['[[Configurable]]'];\n\tif (nonConfigurable || !extensible) {\n\t\treturn false;\n\t}\n\treturn DefineOwnProperty(\n\t\tIsDataDescriptor,\n\t\tSameValue,\n\t\tFromPropertyDescriptor,\n\t\tO,\n\t\tP,\n\t\t{\n\t\t\t'[[Configurable]]': true,\n\t\t\t'[[Enumerable]]': true,\n\t\t\t'[[Value]]': V,\n\t\t\t'[[Writable]]': true\n\t\t}\n\t);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $gOPD = require('../helpers/getOwnPropertyDescriptor');\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar callBound = require('call-bind/callBound');\n\nvar $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');\n\nvar has = require('has');\n\nvar IsArray = require('./IsArray');\nvar IsPropertyKey = require('./IsPropertyKey');\nvar IsRegExp = require('./IsRegExp');\nvar ToPropertyDescriptor = require('./ToPropertyDescriptor');\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty\n\nmodule.exports = function OrdinaryGetOwnProperty(O, P) {\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: O must be an Object');\n\t}\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: P must be a Property Key');\n\t}\n\tif (!has(O, P)) {\n\t\treturn void 0;\n\t}\n\tif (!$gOPD) {\n\t\t// ES3 / IE 8 fallback\n\t\tvar arrayLength = IsArray(O) && P === 'length';\n\t\tvar regexLastIndex = IsRegExp(O) && P === 'lastIndex';\n\t\treturn {\n\t\t\t'[[Configurable]]': !(arrayLength || regexLastIndex),\n\t\t\t'[[Enumerable]]': $isEnumerable(O, P),\n\t\t\t'[[Value]]': O[P],\n\t\t\t'[[Writable]]': true\n\t\t};\n\t}\n\treturn ToPropertyDescriptor($gOPD(O, P));\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $match = GetIntrinsic('%Symbol.match%', true);\n\nvar hasRegExpMatcher = require('is-regex');\n\nvar ToBoolean = require('./ToBoolean');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isregexp\n\nmodule.exports = function IsRegExp(argument) {\n\tif (!argument || typeof argument !== 'object') {\n\t\treturn false;\n\t}\n\tif ($match) {\n\t\tvar isRegExp = argument[$match];\n\t\tif (typeof isRegExp !== 'undefined') {\n\t\t\treturn ToBoolean(isRegExp);\n\t\t}\n\t}\n\treturn hasRegExpMatcher(argument);\n};\n","'use strict';\n\nvar callBound = require('call-bind/callBound');\nvar hasToStringTag = require('has-tostringtag/shams')();\nvar has;\nvar $exec;\nvar isRegexMarker;\nvar badStringifier;\n\nif (hasToStringTag) {\n\thas = callBound('Object.prototype.hasOwnProperty');\n\t$exec = callBound('RegExp.prototype.exec');\n\tisRegexMarker = {};\n\n\tvar throwRegexMarker = function () {\n\t\tthrow isRegexMarker;\n\t};\n\tbadStringifier = {\n\t\ttoString: throwRegexMarker,\n\t\tvalueOf: throwRegexMarker\n\t};\n\n\tif (typeof Symbol.toPrimitive === 'symbol') {\n\t\tbadStringifier[Symbol.toPrimitive] = throwRegexMarker;\n\t}\n}\n\nvar $toString = callBound('Object.prototype.toString');\nvar gOPD = Object.getOwnPropertyDescriptor;\nvar regexClass = '[object RegExp]';\n\nmodule.exports = hasToStringTag\n\t// eslint-disable-next-line consistent-return\n\t? function isRegex(value) {\n\t\tif (!value || typeof value !== 'object') {\n\t\t\treturn false;\n\t\t}\n\n\t\tvar descriptor = gOPD(value, 'lastIndex');\n\t\tvar hasLastIndexDataProperty = descriptor && has(descriptor, 'value');\n\t\tif (!hasLastIndexDataProperty) {\n\t\t\treturn false;\n\t\t}\n\n\t\ttry {\n\t\t\t$exec(value, badStringifier);\n\t\t} catch (e) {\n\t\t\treturn e === isRegexMarker;\n\t\t}\n\t}\n\t: function isRegex(value) {\n\t\t// In older browsers, typeof regex incorrectly returns 'function'\n\t\tif (!value || (typeof value !== 'object' && typeof value !== 'function')) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn $toString(value) === regexClass;\n\t};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $preventExtensions = GetIntrinsic('%Object.preventExtensions%', true);\nvar $isExtensible = GetIntrinsic('%Object.isExtensible%', true);\n\nvar isPrimitive = require('../helpers/isPrimitive');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o\n\nmodule.exports = $preventExtensions\n\t? function IsExtensible(obj) {\n\t\treturn !isPrimitive(obj) && $isExtensible(obj);\n\t}\n\t: function IsExtensible(obj) {\n\t\treturn !isPrimitive(obj);\n\t};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar IsPropertyKey = require('./IsPropertyKey');\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-hasproperty\n\nmodule.exports = function HasProperty(O, P) {\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: `O` must be an Object');\n\t}\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: `P` must be a Property Key');\n\t}\n\treturn P in O;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar Get = require('./Get');\nvar ToLength = require('./ToLength');\nvar Type = require('./Type');\n\n// https://262.ecma-international.org/11.0/#sec-lengthofarraylike\n\nmodule.exports = function LengthOfArrayLike(obj) {\n\tif (Type(obj) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: `obj` must be an Object');\n\t}\n\treturn ToLength(Get(obj, 'length'));\n};\n\n// TODO: use this all over\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\nvar $Number = GetIntrinsic('%Number%');\nvar $RegExp = GetIntrinsic('%RegExp%');\nvar $parseInteger = GetIntrinsic('%parseInt%');\n\nvar callBound = require('call-bind/callBound');\nvar regexTester = require('../helpers/regexTester');\nvar isPrimitive = require('../helpers/isPrimitive');\n\nvar $strSlice = callBound('String.prototype.slice');\nvar isBinary = regexTester(/^0b[01]+$/i);\nvar isOctal = regexTester(/^0o[0-7]+$/i);\nvar isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i);\nvar nonWS = ['\\u0085', '\\u200b', '\\ufffe'].join('');\nvar nonWSregex = new $RegExp('[' + nonWS + ']', 'g');\nvar hasNonWS = regexTester(nonWSregex);\n\n// whitespace from: https://es5.github.io/#x15.5.4.20\n// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324\nvar ws = [\n\t'\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003',\n\t'\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028',\n\t'\\u2029\\uFEFF'\n].join('');\nvar trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g');\nvar $replace = callBound('String.prototype.replace');\nvar $trim = function (value) {\n\treturn $replace(value, trimRegex, '');\n};\n\nvar ToPrimitive = require('./ToPrimitive');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-tonumber\n\nmodule.exports = function ToNumber(argument) {\n\tvar value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number);\n\tif (typeof value === 'symbol') {\n\t\tthrow new $TypeError('Cannot convert a Symbol value to a number');\n\t}\n\tif (typeof value === 'bigint') {\n\t\tthrow new $TypeError('Conversion from \\'BigInt\\' to \\'number\\' is not allowed.');\n\t}\n\tif (typeof value === 'string') {\n\t\tif (isBinary(value)) {\n\t\t\treturn ToNumber($parseInteger($strSlice(value, 2), 2));\n\t\t} else if (isOctal(value)) {\n\t\t\treturn ToNumber($parseInteger($strSlice(value, 2), 8));\n\t\t} else if (hasNonWS(value) || isInvalidHexLiteral(value)) {\n\t\t\treturn NaN;\n\t\t}\n\t\tvar trimmed = $trim(value);\n\t\tif (trimmed !== value) {\n\t\t\treturn ToNumber(trimmed);\n\t\t}\n\n\t}\n\treturn $Number(value);\n};\n","'use strict';\n\nvar callBound = require('call-bind/callBound');\n\nvar $exec = callBound('RegExp.prototype.exec');\n\nmodule.exports = function regexTester(regex) {\n\treturn function test(s) { return $exec(regex, s) !== null; };\n};\n","'use strict';\n\nvar toPrimitive = require('es-to-primitive/es2015');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive\n\nmodule.exports = function ToPrimitive(input) {\n\tif (arguments.length > 1) {\n\t\treturn toPrimitive(input, arguments[1]);\n\t}\n\treturn toPrimitive(input);\n};\n","'use strict';\n\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol';\n\nvar isPrimitive = require('./helpers/isPrimitive');\nvar isCallable = require('is-callable');\nvar isDate = require('is-date-object');\nvar isSymbol = require('is-symbol');\n\nvar ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) {\n\tif (typeof O === 'undefined' || O === null) {\n\t\tthrow new TypeError('Cannot call method on ' + O);\n\t}\n\tif (typeof hint !== 'string' || (hint !== 'number' && hint !== 'string')) {\n\t\tthrow new TypeError('hint must be \"string\" or \"number\"');\n\t}\n\tvar methodNames = hint === 'string' ? ['toString', 'valueOf'] : ['valueOf', 'toString'];\n\tvar method, result, i;\n\tfor (i = 0; i < methodNames.length; ++i) {\n\t\tmethod = O[methodNames[i]];\n\t\tif (isCallable(method)) {\n\t\t\tresult = method.call(O);\n\t\t\tif (isPrimitive(result)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t}\n\tthrow new TypeError('No default value');\n};\n\nvar GetMethod = function GetMethod(O, P) {\n\tvar func = O[P];\n\tif (func !== null && typeof func !== 'undefined') {\n\t\tif (!isCallable(func)) {\n\t\t\tthrow new TypeError(func + ' returned for property ' + P + ' of object ' + O + ' is not a function');\n\t\t}\n\t\treturn func;\n\t}\n\treturn void 0;\n};\n\n// http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive\nmodule.exports = function ToPrimitive(input) {\n\tif (isPrimitive(input)) {\n\t\treturn input;\n\t}\n\tvar hint = 'default';\n\tif (arguments.length > 1) {\n\t\tif (arguments[1] === String) {\n\t\t\thint = 'string';\n\t\t} else if (arguments[1] === Number) {\n\t\t\thint = 'number';\n\t\t}\n\t}\n\n\tvar exoticToPrim;\n\tif (hasSymbols) {\n\t\tif (Symbol.toPrimitive) {\n\t\t\texoticToPrim = GetMethod(input, Symbol.toPrimitive);\n\t\t} else if (isSymbol(input)) {\n\t\t\texoticToPrim = Symbol.prototype.valueOf;\n\t\t}\n\t}\n\tif (typeof exoticToPrim !== 'undefined') {\n\t\tvar result = exoticToPrim.call(input, hint);\n\t\tif (isPrimitive(result)) {\n\t\t\treturn result;\n\t\t}\n\t\tthrow new TypeError('unable to convert exotic object to primitive');\n\t}\n\tif (hint === 'default' && (isDate(input) || isSymbol(input))) {\n\t\thint = 'string';\n\t}\n\treturn ordinaryToPrimitive(input, hint === 'default' ? 'number' : hint);\n};\n","'use strict';\n\nmodule.exports = function isPrimitive(value) {\n\treturn value === null || (typeof value !== 'function' && typeof value !== 'object');\n};\n","'use strict';\n\nvar getDay = Date.prototype.getDay;\nvar tryDateObject = function tryDateGetDayCall(value) {\n\ttry {\n\t\tgetDay.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\nvar toStr = Object.prototype.toString;\nvar dateClass = '[object Date]';\nvar hasToStringTag = require('has-tostringtag/shams')();\n\nmodule.exports = function isDateObject(value) {\n\tif (typeof value !== 'object' || value === null) {\n\t\treturn false;\n\t}\n\treturn hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;\n};\n","'use strict';\n\nvar toStr = Object.prototype.toString;\nvar hasSymbols = require('has-symbols')();\n\nif (hasSymbols) {\n\tvar symToStr = Symbol.prototype.toString;\n\tvar symStringRegex = /^Symbol\\(.*\\)$/;\n\tvar isSymbolObject = function isRealSymbolObject(value) {\n\t\tif (typeof value.valueOf() !== 'symbol') {\n\t\t\treturn false;\n\t\t}\n\t\treturn symStringRegex.test(symToStr.call(value));\n\t};\n\n\tmodule.exports = function isSymbol(value) {\n\t\tif (typeof value === 'symbol') {\n\t\t\treturn true;\n\t\t}\n\t\tif (toStr.call(value) !== '[object Symbol]') {\n\t\t\treturn false;\n\t\t}\n\t\ttry {\n\t\t\treturn isSymbolObject(value);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n} else {\n\n\tmodule.exports = function isSymbol(value) {\n\t\t// this environment does not support Symbols.\n\t\treturn false && value;\n\t};\n}\n","'use strict';\n\nmodule.exports = function sign(number) {\n\treturn number >= 0 ? 1 : -1;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $String = GetIntrinsic('%String%');\nvar $TypeError = GetIntrinsic('%TypeError%');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-tostring\n\nmodule.exports = function ToString(argument) {\n\tif (typeof argument === 'symbol') {\n\t\tthrow new $TypeError('Cannot convert a Symbol value to a string');\n\t}\n\treturn $String(argument);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $Object = GetIntrinsic('%Object%');\n\nvar RequireObjectCoercible = require('./RequireObjectCoercible');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-toobject\n\nmodule.exports = function ToObject(value) {\n\tRequireObjectCoercible(value);\n\treturn $Object(value);\n};\n","'use strict';\n\nmodule.exports = require('../5/CheckObjectCoercible');\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\n// http://262.ecma-international.org/5.1/#sec-9.10\n\nmodule.exports = function CheckObjectCoercible(value, optMessage) {\n\tif (value == null) {\n\t\tthrow new $TypeError(optMessage || ('Cannot call method on ' + value));\n\t}\n\treturn value;\n};\n","'use strict';\n\nvar define = require('define-properties');\nvar shimUnscopables = require('es-shim-unscopables');\n\nvar getPolyfill = require('./polyfill');\n\nmodule.exports = function shimFlat() {\n\tvar polyfill = getPolyfill();\n\n\tdefine(\n\t\tArray.prototype,\n\t\t{ flat: polyfill },\n\t\t{ flat: function () { return Array.prototype.flat !== polyfill; } }\n\t);\n\n\tshimUnscopables('flat');\n\n\treturn polyfill;\n};\n","'use strict';\n\nvar has = require('has');\n\nvar hasUnscopables = typeof Symbol === 'function' && typeof Symbol.unscopables === 'symbol';\n\nvar map = hasUnscopables && Array.prototype[Symbol.unscopables];\n\nvar $TypeError = TypeError;\n\nmodule.exports = function shimUnscopables(method) {\n\tif (typeof method !== 'string' || !method) {\n\t\tthrow new $TypeError('method must be a non-empty string');\n\t}\n\tif (!has(Array.prototype, method)) {\n\t\tthrow new $TypeError('method must be on Array.prototype');\n\t}\n\tif (hasUnscopables) {\n\t\tmap[method] = true;\n\t}\n};\n","var _typeof = require(\"./typeof.js\")[\"default\"];\n\nfunction _regeneratorRuntime() {\n \"use strict\";\n /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */\n\n module.exports = _regeneratorRuntime = function _regeneratorRuntime() {\n return exports;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n var exports = {},\n Op = Object.prototype,\n hasOwn = Op.hasOwnProperty,\n $Symbol = \"function\" == typeof Symbol ? Symbol : {},\n iteratorSymbol = $Symbol.iterator || \"@@iterator\",\n asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\",\n toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n return Object.defineProperty(obj, key, {\n value: value,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }), obj[key];\n }\n\n try {\n define({}, \"\");\n } catch (err) {\n define = function define(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,\n generator = Object.create(protoGenerator.prototype),\n context = new Context(tryLocsList || []);\n return generator._invoke = function (innerFn, self, context) {\n var state = \"suspendedStart\";\n return function (method, arg) {\n if (\"executing\" === state) throw new Error(\"Generator is already running\");\n\n if (\"completed\" === state) {\n if (\"throw\" === method) throw arg;\n return doneResult();\n }\n\n for (context.method = method, context.arg = arg;;) {\n var delegate = context.delegate;\n\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (\"next\" === context.method) context.sent = context._sent = context.arg;else if (\"throw\" === context.method) {\n if (\"suspendedStart\" === state) throw state = \"completed\", context.arg;\n context.dispatchException(context.arg);\n } else \"return\" === context.method && context.abrupt(\"return\", context.arg);\n state = \"executing\";\n var record = tryCatch(innerFn, self, context);\n\n if (\"normal\" === record.type) {\n if (state = context.done ? \"completed\" : \"suspendedYield\", record.arg === ContinueSentinel) continue;\n return {\n value: record.arg,\n done: context.done\n };\n }\n\n \"throw\" === record.type && (state = \"completed\", context.method = \"throw\", context.arg = record.arg);\n }\n };\n }(innerFn, self, context), generator;\n }\n\n function tryCatch(fn, obj, arg) {\n try {\n return {\n type: \"normal\",\n arg: fn.call(obj, arg)\n };\n } catch (err) {\n return {\n type: \"throw\",\n arg: err\n };\n }\n }\n\n exports.wrap = wrap;\n var ContinueSentinel = {};\n\n function Generator() {}\n\n function GeneratorFunction() {}\n\n function GeneratorFunctionPrototype() {}\n\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n var getProto = Object.getPrototypeOf,\n NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);\n var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);\n\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function (method) {\n define(prototype, method, function (arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n\n if (\"throw\" !== record.type) {\n var result = record.arg,\n value = result.value;\n return value && \"object\" == _typeof(value) && hasOwn.call(value, \"__await\") ? PromiseImpl.resolve(value.__await).then(function (value) {\n invoke(\"next\", value, resolve, reject);\n }, function (err) {\n invoke(\"throw\", err, resolve, reject);\n }) : PromiseImpl.resolve(value).then(function (unwrapped) {\n result.value = unwrapped, resolve(result);\n }, function (error) {\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n\n reject(record.arg);\n }\n\n var previousPromise;\n\n this._invoke = function (method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function (resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n };\n }\n\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n\n if (undefined === method) {\n if (context.delegate = null, \"throw\" === context.method) {\n if (delegate.iterator[\"return\"] && (context.method = \"return\", context.arg = undefined, maybeInvokeDelegate(delegate, context), \"throw\" === context.method)) return ContinueSentinel;\n context.method = \"throw\", context.arg = new TypeError(\"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n if (\"throw\" === record.type) return context.method = \"throw\", context.arg = record.arg, context.delegate = null, ContinueSentinel;\n var info = record.arg;\n return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, \"return\" !== context.method && (context.method = \"next\", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = \"throw\", context.arg = new TypeError(\"iterator result is not an object\"), context.delegate = null, ContinueSentinel);\n }\n\n function pushTryEntry(locs) {\n var entry = {\n tryLoc: locs[0]\n };\n 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\", delete record.arg, entry.completion = record;\n }\n\n function Context(tryLocsList) {\n this.tryEntries = [{\n tryLoc: \"root\"\n }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);\n }\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) return iteratorMethod.call(iterable);\n if (\"function\" == typeof iterable.next) return iterable;\n\n if (!isNaN(iterable.length)) {\n var i = -1,\n next = function next() {\n for (; ++i < iterable.length;) {\n if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;\n }\n\n return next.value = undefined, next.done = !0, next;\n };\n\n return next.next = next;\n }\n }\n\n return {\n next: doneResult\n };\n }\n\n function doneResult() {\n return {\n value: undefined,\n done: !0\n };\n }\n\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, \"constructor\", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, \"GeneratorFunction\"), exports.isGeneratorFunction = function (genFun) {\n var ctor = \"function\" == typeof genFun && genFun.constructor;\n return !!ctor && (ctor === GeneratorFunction || \"GeneratorFunction\" === (ctor.displayName || ctor.name));\n }, exports.mark = function (genFun) {\n return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, \"GeneratorFunction\")), genFun.prototype = Object.create(Gp), genFun;\n }, exports.awrap = function (arg) {\n return {\n __await: arg\n };\n }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n void 0 === PromiseImpl && (PromiseImpl = Promise);\n var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);\n return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {\n return result.done ? result.value : iter.next();\n });\n }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, \"Generator\"), define(Gp, iteratorSymbol, function () {\n return this;\n }), define(Gp, \"toString\", function () {\n return \"[object Generator]\";\n }), exports.keys = function (object) {\n var keys = [];\n\n for (var key in object) {\n keys.push(key);\n }\n\n return keys.reverse(), function next() {\n for (; keys.length;) {\n var key = keys.pop();\n if (key in object) return next.value = key, next.done = !1, next;\n }\n\n return next.done = !0, next;\n };\n }, exports.values = values, Context.prototype = {\n constructor: Context,\n reset: function reset(skipTempReset) {\n if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) {\n \"t\" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);\n }\n },\n stop: function stop() {\n this.done = !0;\n var rootRecord = this.tryEntries[0].completion;\n if (\"throw\" === rootRecord.type) throw rootRecord.arg;\n return this.rval;\n },\n dispatchException: function dispatchException(exception) {\n if (this.done) throw exception;\n var context = this;\n\n function handle(loc, caught) {\n return record.type = \"throw\", record.arg = exception, context.next = loc, caught && (context.method = \"next\", context.arg = undefined), !!caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i],\n record = entry.completion;\n if (\"root\" === entry.tryLoc) return handle(\"end\");\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\"),\n hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n } else {\n if (!hasFinally) throw new Error(\"try statement without catch or finally\");\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n }\n }\n }\n },\n abrupt: function abrupt(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n\n if (entry.tryLoc <= this.prev && hasOwn.call(entry, \"finallyLoc\") && this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n finallyEntry && (\"break\" === type || \"continue\" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);\n var record = finallyEntry ? finallyEntry.completion : {};\n return record.type = type, record.arg = arg, finallyEntry ? (this.method = \"next\", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);\n },\n complete: function complete(record, afterLoc) {\n if (\"throw\" === record.type) throw record.arg;\n return \"break\" === record.type || \"continue\" === record.type ? this.next = record.arg : \"return\" === record.type ? (this.rval = this.arg = record.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;\n },\n finish: function finish(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;\n }\n },\n \"catch\": function _catch(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n\n if (\"throw\" === record.type) {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n\n return thrown;\n }\n }\n\n throw new Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(iterable, resultName, nextLoc) {\n return this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n }, \"next\" === this.method && (this.arg = undefined), ContinueSentinel;\n }\n }, exports;\n}\n\nmodule.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","export let __crud = {};\nexport let __vue = {};\nexport let __inst = {};\nexport let __components = {};\nexport let __plugins = [];","import cloneDeep from \"clone-deep\";\nimport flat from \"array.prototype.flat\";\nimport { __vue, __plugins, __inst } from \"@/global\";\n\nexport function throttle(fn, delay) {\n\tlet prev = Date.now();\n\treturn function () {\n\t\tlet args = arguments;\n\t\tlet context = this;\n\t\tlet now = Date.now();\n\n\t\tif (now - prev > delay) {\n\t\t\tfn.apply(context, args);\n\t\t\tprev = Date.now();\n\t\t}\n\t};\n}\n\nexport function isArray(value) {\n\tif (typeof Array.isArray === \"function\") {\n\t\treturn Array.isArray(value);\n\t} else {\n\t\treturn Object.prototype.toString.call(value) === \"[object Array]\";\n\t}\n}\n\nexport function isObject(value) {\n\treturn Object.prototype.toString.call(value) === \"[object Object]\";\n}\n\nexport function isNumber(value) {\n\treturn !isNaN(Number(value));\n}\n\nexport function isFunction(value) {\n\treturn typeof value === \"function\";\n}\n\nexport function isString(value) {\n\treturn typeof value === \"string\";\n}\n\nexport function isNull(value) {\n\treturn !value && value !== 0;\n}\n\nexport function isBoolean(value) {\n\treturn typeof value === \"boolean\";\n}\n\nexport function isEmpty(value) {\n\tif (isArray(value)) {\n\t\treturn value.length === 0;\n\t}\n\n\tif (isObject(value)) {\n\t\treturn Object.keys(value).length === 0;\n\t}\n\n\treturn value === \"\" || value === undefined || value === null;\n}\n\nexport function clone(obj) {\n\treturn Object.create(Object.getPrototypeOf(obj), Object.getOwnPropertyDescriptors(obj));\n}\n\nexport function getParent(name) {\n\tlet parent = this.$parent;\n\n\twhile (parent) {\n\t\tif (parent.$options.componentName !== name) {\n\t\t\tparent = parent.$parent;\n\t\t} else {\n\t\t\treturn parent;\n\t\t}\n\t}\n\n\treturn null;\n}\n\nexport function dataset(obj, key, value) {\n\tconst isGet = value === undefined;\n\tlet d = obj;\n\n\tlet arr = flat(\n\t\tkey.split(\".\").map((e) => {\n\t\t\tif (e.includes(\"[\")) {\n\t\t\t\treturn e.split(\"[\").map((e) => e.replace(/\"/g, \"\"));\n\t\t\t} else {\n\t\t\t\treturn e;\n\t\t\t}\n\t\t})\n\t);\n\n\ttry {\n\t\tfor (let i = 0; i < arr.length; i++) {\n\t\t\tlet e = arr[i];\n\t\t\tlet n = null;\n\n\t\t\tif (e.includes(\"]\")) {\n\t\t\t\tlet [k, v] = e.replace(\"]\", \"\").split(\":\");\n\n\t\t\t\tif (v) {\n\t\t\t\t\tn = d.findIndex((x) => x[k] == v);\n\t\t\t\t} else {\n\t\t\t\t\tn = Number(n);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tn = e;\n\t\t\t}\n\n\t\t\tif (i != arr.length - 1) {\n\t\t\t\td = d[n];\n\t\t\t} else {\n\t\t\t\tif (isGet) {\n\t\t\t\t\treturn d[n];\n\t\t\t\t} else {\n\t\t\t\t\t__inst.$set(d, n, value);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn obj;\n\t} catch (e) {\n\t\tconsole.error(\"格式错误\", `${key}`);\n\t\treturn {};\n\t}\n}\n\nexport function deepMerge(a, b) {\n\tlet k;\n\tfor (k in b) {\n\t\ta[k] =\n\t\t\ta[k] && a[k].toString() === \"[object Object]\" ? deepMerge(a[k], b[k]) : (a[k] = b[k]);\n\t}\n\treturn a;\n}\n\nexport function contains(parent, node) {\n\tif (document.documentElement.contains) {\n\t\treturn parent !== node && parent.contains(node);\n\t} else {\n\t\twhile (node && (node = node.parentNode)) if (node === parent) return true;\n\t\treturn false;\n\t}\n}\n\nexport { cloneDeep, flat };\n","function broadcast(componentName, eventName, params) {\n\tthis.$children.forEach((child) => {\n\t\tlet name = child.$options._componentTag;\n\n\t\tif (name === componentName) {\n\t\t\tchild.$emit.apply(child, [eventName].concat(params));\n\t\t} else {\n\t\t\tbroadcast.apply(child, [componentName, eventName].concat([params]));\n\t\t}\n\t});\n}\n\nexport default {\n\tmethods: {\n\t\tdispatch(componentName, eventName, params) {\n\t\t\tlet parent = this.$parent || this.$root;\n\t\t\tlet name = parent.$options._componentTag;\n\n\t\t\twhile (parent && (!name || name !== componentName)) {\n\t\t\t\tparent = parent.$parent;\n\n\t\t\t\tif (parent) {\n\t\t\t\t\tname = parent.$options._componentTag;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (parent) {\n\t\t\t\tparent.$emit.apply(parent, [eventName].concat(params));\n\t\t\t}\n\t\t},\n\t\tbroadcast(componentName, eventName, params) {\n\t\t\tbroadcast.call(this, componentName, eventName, params);\n\t\t}\n\t}\n};\n","import { deepMerge, isArray, isString, isObject, isFunction } from \"@/utils\";\nimport { bootstrap } from \"@/app\";\nimport { __inst, __crud } from \"@/global\";\nimport { Emitter } from \"@/mixins\";\n\nrequire(\"@/assets/css/index.styl\");\n\nexport default {\n\tname: \"cl-crud\",\n\tcomponentName: \"ClCrud\",\n\n\tprops: {\n\t\tname: String,\n\t\tonDelete: Function,\n\t\tonRefresh: Function\n\t},\n\n\tmixins: [Emitter],\n\n\tprovide() {\n\t\treturn {\n\t\t\tcrud: this\n\t\t};\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tservice: null,\n\t\t\tloading: false,\n\t\t\tselection: [],\n\t\t\ttest: {\n\t\t\t\trefreshRd: null,\n\t\t\t\tsortLock: false,\n\t\t\t\tprocess: false\n\t\t\t},\n\t\t\tpermission: {\n\t\t\t\tupdate: true,\n\t\t\t\tpage: true,\n\t\t\t\tinfo: true,\n\t\t\t\tlist: true,\n\t\t\t\tadd: true,\n\t\t\t\tdelete: true\n\t\t\t},\n\t\t\tdict: {\n\t\t\t\tapi: {\n\t\t\t\t\tlist: \"list\",\n\t\t\t\t\tadd: \"add\",\n\t\t\t\t\tupdate: \"update\",\n\t\t\t\t\tdelete: \"delete\",\n\t\t\t\t\tinfo: \"info\",\n\t\t\t\t\tpage: \"page\"\n\t\t\t\t},\n\t\t\t\tpagination: {\n\t\t\t\t\tpage: \"page\",\n\t\t\t\t\tsize: \"size\"\n\t\t\t\t},\n\t\t\t\tsearch: {\n\t\t\t\t\tkeyWord: \"keyWord\",\n\t\t\t\t\tquery: \"query\"\n\t\t\t\t},\n\t\t\t\tsort: {\n\t\t\t\t\torder: \"order\",\n\t\t\t\t\tprop: \"prop\"\n\t\t\t\t},\n\t\t\t\tlabel: {\n\t\t\t\t\tadd: \"新增\",\n\t\t\t\t\tdelete: \"删除\",\n\t\t\t\t\tmultiDelete: \"删除\",\n\t\t\t\t\tupdate: \"编辑\",\n\t\t\t\t\trefresh: \"刷新\",\n\t\t\t\t\tadvSearch: \"高级搜索\",\n\t\t\t\t\tsaveButtonText: \"保存\",\n\t\t\t\t\tcloseButtonText: \"关闭\"\n\t\t\t\t}\n\t\t\t},\n\t\t\tparams: {\n\t\t\t\tpage: 1,\n\t\t\t\tsize: 20\n\t\t\t},\n\t\t\tfn: {\n\t\t\t\tpermission: null\n\t\t\t},\n\t\t\tevents: {}\n\t\t};\n\t},\n\n\tcreated() {\n\t\tthis.$on(\"table.selection-change\", ({ selection }) => {\n\t\t\tthis.selection = selection;\n\t\t});\n\t},\n\n\tmounted() {\n\t\t// Merge crud data\n\t\tconst res = bootstrap(deepMerge(this, __crud));\n\n\t\t// Loaded\n\t\tthis.$emit(\"load\", res);\n\n\t\t// Register event\n\t\tfor (let i in this.events) {\n\t\t\tlet event = this.events[i];\n\t\t\tlet mode = null;\n\t\t\tlet callback = null;\n\n\t\t\tif (isObject(event)) {\n\t\t\t\tmode = event.mode;\n\t\t\t\tcallback = event.callback;\n\t\t\t} else {\n\t\t\t\tmode = \"on\";\n\t\t\t\tcallback = event;\n\t\t\t}\n\n\t\t\tif (![\"on\", \"once\"].includes(mode)) {\n\t\t\t\treturn console.error(`Event[${i}].mode must be (on / once)`);\n\t\t\t}\n\n\t\t\tif (!isFunction(callback)) {\n\t\t\t\treturn console.error(`Event[${i}].callback is not a function`);\n\t\t\t}\n\n\t\t\t__inst[`$${mode}`](i, (data) => {\n\t\t\t\tcallback(data, res);\n\t\t\t});\n\t\t}\n\n\t\t// Window onresize\n\t\twindow.removeEventListener(\"resize\", function () { });\n\t\twindow.addEventListener(\"resize\", () => {\n\t\t\tthis.doLayout();\n\t\t});\n\t},\n\n\tmethods: {\n\t\t// Get service permission\n\t\tgetPermission(key) {\n\t\t\tswitch (key) {\n\t\t\t\tcase \"edit\":\n\t\t\t\tcase \"update\":\n\t\t\t\t\treturn this.permission[\"update\"];\n\t\t\t\tdefault:\n\t\t\t\t\treturn this.permission[key];\n\t\t\t}\n\t\t},\n\n\t\t// Upsert add\n\t\trowAdd() {\n\t\t\tthis.broadcast(\"cl-upsert\", \"crud.add\");\n\t\t},\n\n\t\t// Upsert edit\n\t\trowEdit(data) {\n\t\t\tthis.broadcast(\"cl-upsert\", \"crud.edit\", data);\n\t\t},\n\n\t\t// Upsert append\n\t\trowAppend(data) {\n\t\t\tthis.broadcast(\"cl-upsert\", \"crud.append\", data);\n\t\t},\n\n\t\t// Upsert close\n\t\trowClose() {\n\t\t\tthis.broadcast(\"cl-upsert\", \"crud.close\");\n\t\t},\n\n\t\t// Row delete\n\t\trowDelete(...selection) {\n\t\t\t// Get request function\n\t\t\tconst reqName = this.dict.api.delete;\n\n\t\t\tlet params = {\n\t\t\t\tids: selection.map((e) => e.id).join(\",\")\n\t\t\t};\n\n\t\t\t// Delete\n\t\t\tconst next = (params) => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\tthis.$confirm(`此操作将永久删除选中数据,是否继续?`, \"提示\", {\n\t\t\t\t\t\ttype: \"warning\"\n\t\t\t\t\t})\n\t\t\t\t\t\t.then((res) => {\n\t\t\t\t\t\t\tif (res === \"confirm\") {\n\t\t\t\t\t\t\t\t// Validate\n\t\t\t\t\t\t\t\tif (!this.service[reqName]) {\n\t\t\t\t\t\t\t\t\treturn reject(`Request function '${reqName}' is not fount`);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// Send request\n\t\t\t\t\t\t\t\tthis.service[reqName](params)\n\t\t\t\t\t\t\t\t\t.then((res) => {\n\t\t\t\t\t\t\t\t\t\tthis.$message.success(`删除成功`);\n\t\t\t\t\t\t\t\t\t\tthis.refresh();\n\t\t\t\t\t\t\t\t\t\tresolve(res);\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t.catch((err) => {\n\t\t\t\t\t\t\t\t\t\tthis.$message.error(err);\n\t\t\t\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.catch(() => null);\n\t\t\t\t});\n\t\t\t};\n\n\t\t\tif (this.onDelete) {\n\t\t\t\tthis.onDelete(selection, { next });\n\t\t\t} else {\n\t\t\t\tnext(params);\n\t\t\t}\n\t\t},\n\n\t\t// Multi delete\n\t\tdeleteMulti() {\n\t\t\tthis.rowDelete.apply(this, this.selection || []);\n\t\t},\n\n\t\t// Open advSearch\n\t\topenAdvSearch() {\n\t\t\tthis.broadcast(\"cl-adv-search\", \"crud.open\");\n\t\t},\n\n\t\t// close advSearch\n\t\tcloseAdvSearch() {\n\t\t\tthis.broadcast(\"cl-adv-search\", \"crud.close\");\n\t\t},\n\n\t\t// Refresh params replace\n\t\tparamsReplace(params) {\n\t\t\tconst { pagination, search, sort } = this.dict;\n\t\t\tlet a = { ...params };\n\t\t\tlet b = { ...pagination, ...search, ...sort };\n\n\t\t\tfor (let i in b) {\n\t\t\t\tif (a.hasOwnProperty(i)) {\n\t\t\t\t\tif (i != b[i]) {\n\t\t\t\t\t\ta[`_${b[i]}`] = a[i];\n\n\t\t\t\t\t\tdelete a[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (let i in a) {\n\t\t\t\tif (i[0] === \"_\") {\n\t\t\t\t\ta[i.substr(1)] = a[i];\n\n\t\t\t\t\tdelete a[i];\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn a;\n\t\t},\n\n\t\t// Service refresh\n\t\trefresh(newParams = {}) {\n\t\t\t// 设置参数\n\t\t\tlet params = this.paramsReplace(Object.assign(this.params, newParams));\n\n\t\t\t// Loading\n\t\t\tthis.loading = true;\n\n\t\t\t// 预防脏数据\n\t\t\tlet rd = (this.test.refreshRd = Math.random());\n\n\t\t\t// 完成事件\n\t\t\tconst done = () => {\n\t\t\t\tthis.loading = false;\n\t\t\t};\n\n\t\t\t// 渲染\n\t\t\tconst render = (list, pagination) => {\n\t\t\t\tthis.broadcast(\"cl-table\", \"crud.refresh\", { list });\n\t\t\t\tthis.broadcast(\"cl-pagination\", \"crud.refresh\", pagination);\n\t\t\t\tdone();\n\t\t\t};\n\n\t\t\t// 请求执行\n\t\t\tconst next = (params) => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\tconst reqName = this.dict.api.page;\n\n\t\t\t\t\tif (!this.service[reqName]) {\n\t\t\t\t\t\tdone();\n\t\t\t\t\t\treturn reject(`Request function '${reqName}' is not fount`);\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.service[reqName](params)\n\t\t\t\t\t\t.then((res) => {\n\t\t\t\t\t\t\tif (rd != this.test.refreshRd) {\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (isString(res)) {\n\t\t\t\t\t\t\t\treturn reject(\"Response error\");\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (isArray(res)) {\n\t\t\t\t\t\t\t\trender(res);\n\t\t\t\t\t\t\t} else if (isObject(res)) {\n\t\t\t\t\t\t\t\trender(res.list, res.pagination);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tresolve(res);\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.catch((err) => {\n\t\t\t\t\t\t\tconsole.error(err);\n\t\t\t\t\t\t\tthis.$message.error(err);\n\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.done(() => {\n\t\t\t\t\t\t\tdone();\n\t\t\t\t\t\t\tthis.test.sortLock = true;\n\t\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t};\n\n\t\t\tif (this.onRefresh) {\n\t\t\t\treturn this.onRefresh(params, { next, done, render });\n\t\t\t} else {\n\t\t\t\treturn next(params);\n\t\t\t}\n\t\t},\n\n\t\t// Layout again\n\t\tdoLayout() {\n\t\t\tthis.broadcast(\"ClTable\", \"resize\");\n\t\t},\n\n\t\tdone() {\n\t\t\t// Done render\n\t\t\tthis.test.process = true;\n\t\t}\n\t},\n\n\trender() {\n\t\treturn <div class=\"cl-crud\">{this.$slots.default}</div>;\n\t}\n};\n","import { deepMerge, isFunction } from \"@/utils\";\nimport { __plugins, __inst } from \"@/global\";\n\nexport const bootstrap = (that) => {\n\t// eslint-disable-next-line\n\tconst { conf, refresh, event, id, fn } = that;\n\n\tconst app = {\n\t\trefresh(d) {\n\t\t\treturn isFunction(d) ? d(that.params, refresh) : refresh(d);\n\t\t}\n\t};\n\n\tconst ctx = (data) => {\n\t\tdeepMerge(that, data);\n\n\t\treturn ctx;\n\t};\n\n\tctx.id = id;\n\n\tctx.conf = (d) => {\n\t\tdeepMerge(conf, d);\n\n\t\treturn ctx;\n\t};\n\n\tctx.service = (d) => {\n\t\tthat.service = d;\n\n\t\tif (fn.permission) {\n\t\t\tthat.permission = fn.permission(that);\n\t\t}\n\n\t\treturn ctx;\n\t};\n\n\tctx.permission = (x) => {\n\t\tif (isFunction(x)) {\n\t\t\tthat.permission = x(that);\n\t\t} else {\n\t\t\tdeepMerge(that.permission, x);\n\t\t}\n\n\t\treturn ctx;\n\t};\n\n\tctx.set = (key, value) => {\n\t\tdeepMerge(that[key], value);\n\n\t\treturn ctx;\n\t};\n\n\t[\"on\", \"once\"].forEach((n) => {\n\t\tctx[n] = (name, cb) => {\n\t\t\tevent[name] = {\n\t\t\t\tmode: n,\n\t\t\t\tcallback: cb\n\t\t\t};\n\n\t\t\treturn ctx;\n\t\t};\n\t});\n\n\tctx.done = () => {\n\t\tthat.done();\n\t};\n\n\treturn { ctx, app };\n};\n","export default {\n\tname: \"cl-add-btn\",\n\tcomponentName: \"ClAddBtn\",\n\tinject: [\"crud\"],\n\tprops: {\n\t\t// el-button props\n\t\tprops: Object\n\t},\n\trender() {\n\t\treturn (\n\t\t\tthis.crud.getPermission(\"add\") && (\n\t\t\t\t<el-button\n\t\t\t\t\t{...{\n\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\tsize: \"mini\",\n\t\t\t\t\t\t\ttype: \"primary\",\n\t\t\t\t\t\t\t...this.props\n\t\t\t\t\t\t},\n\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\tclick: this.crud.rowAdd\n\t\t\t\t\t\t}\n\t\t\t\t\t}}>\n\t\t\t\t\t{this.$slots.default || this.crud.dict.label.add}\n\t\t\t\t</el-button>\n\t\t\t)\n\t\t);\n\t}\n};\n","export default {\n\tname: \"cl-adv-btn\",\n\tcomponentName: \"ClAdvBtn\",\n\tinject: [\"crud\"],\n\tprops: {\n\t\t// el-button props\n\t\tprops: Object\n\t},\n\trender() {\n\t\treturn (\n\t\t\t<div class=\"cl-adv-btn\">\n\t\t\t\t<el-button\n\t\t\t\t\t{...{\n\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\tsize: \"mini\",\n\t\t\t\t\t\t\t...this.props\n\t\t\t\t\t\t},\n\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\tclick: this.crud.openAdvSearch\n\t\t\t\t\t\t}\n\t\t\t\t\t}}>\n\t\t\t\t\t<i class=\"el-icon-search\" />\n\t\t\t\t\t{this.$slots.default || this.crud.dict.label.advSearch}\n\t\t\t\t</el-button>\n\t\t\t</div>\n\t\t);\n\t}\n};\n","import { isFunction, isString, cloneDeep, isObject } from \"./index\";\nimport { __inst, __plugins, __vue } from \"@/global\";\n\n/**\n * Parse JSX, filter params\n * @param {*} vnode\n * @param {{scope,prop,children}} options\n */\nconst parse_jsx = (vnode, options = {}) => {\n\tconst { scope, prop, $scopedSlots, children = [] } = options;\n\tconst h = __inst.$createElement;\n\n\tif (vnode.name.indexOf(\"slot-\") == 0) {\n\t\tlet rn = $scopedSlots[vnode.name];\n\n\t\tif (rn) {\n\t\t\treturn rn({ scope });\n\t\t} else {\n\t\t\treturn <cl-error-message title={`组件渲染失败,未找到插槽:${vnode.name}`} />;\n\t\t}\n\t}\n\n\tif (vnode.render) {\n\t\tif (!__inst.$root.$options.components[vnode.name]) {\n\t\t\t__vue.component(vnode.name, cloneDeep(vnode));\n\t\t}\n\n\t\t// Avoid props prompts { type:null }\n\t\tdelete vnode.props;\n\t}\n\n\tconst keys = [\n\t\t\"class\",\n\t\t\"style\",\n\t\t\"props\",\n\t\t\"attrs\",\n\t\t\"domProps\",\n\t\t\"on\",\n\t\t\"nativeOn\",\n\t\t\"directives\",\n\t\t\"scopedSlots\",\n\t\t\"slot\",\n\t\t\"key\",\n\t\t\"ref\",\n\t\t\"refInFor\"\n\t];\n\n\t// Avoid loop update\n\tlet data = cloneDeep(vnode);\n\n\tfor (let i in data) {\n\t\tif (!keys.includes(i)) {\n\t\t\tdelete data[i];\n\t\t}\n\t}\n\n\tif (scope) {\n\t\tif (!data.attrs) {\n\t\t\tdata.attrs = {};\n\t\t}\n\n\t\tif (!data.on) {\n\t\t\tdata.on = {};\n\t\t}\n\n\t\t// Set default value\n\t\tdata.attrs.value = scope[prop];\n\t\t// Add input event\n\t\tdata.on.input = (val) => {\n\t\t\t__inst.$set(scope, prop, val);\n\t\t};\n\t}\n\n\treturn h(vnode.name, cloneDeep(data), children);\n};\n\n/**\n * Render vNode\n * @param {*} vnode\n * @param {*} options\n */\nexport function renderNode(vnode, { prop, scope, $scopedSlots }) {\n\tconst h = __inst.$createElement;\n\n\tif (!vnode) {\n\t\treturn null;\n\t}\n\n\t// When slot or tagName\n\tif (isString(vnode)) {\n\t\treturn parse_jsx({ name: vnode }, { scope, $scopedSlots });\n\t}\n\n\t// When customeize render function\n\tif (isFunction(vnode)) {\n\t\treturn vnode({ scope, h });\n\t}\n\n\t// When jsx\n\tif (isObject(vnode)) {\n\t\tif (vnode.context) {\n\t\t\treturn vnode;\n\t\t}\n\n\t\tif (vnode.name) {\n\t\t\t// Handle general component\n\t\t\tconst keys = [\"el-select\", \"el-radio-group\", \"el-checkbox-group\"]\n\n\t\t\tif (keys.includes(vnode.name)) {\n\t\t\t\t// Append component children\n\t\t\t\tconst children = (vnode.options || []).map((e, i) => {\n\t\t\t\t\tif (vnode.name === 'el-select') {\n\t\t\t\t\t\tlet label, value;\n\n\t\t\t\t\t\tif (isString(e)) {\n\t\t\t\t\t\t\tlabel = value = e\n\t\t\t\t\t\t} else if (isObject(e)) {\n\t\t\t\t\t\t\tlabel = e.label\n\t\t\t\t\t\t\tvalue = e.value\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn <cl-error-message title={`组件渲染失败options 参数错误`} />;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<el-option\n\t\t\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\t\t\t\tkey: i,\n\t\t\t\t\t\t\t\t\t\tlabel,\n\t\t\t\t\t\t\t\t\t\tvalue,\n\t\t\t\t\t\t\t\t\t\t...e.props\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\telse if (vnode.name === 'el-radio-group') {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<el-radio {...{\n\t\t\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\t\t\tkey: i,\n\t\t\t\t\t\t\t\t\tlabel: e.value,\n\t\t\t\t\t\t\t\t\t...e.props\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t{e.label}\n\t\t\t\t\t\t\t</el-radio>\n\t\t\t\t\t\t);\n\t\t\t\t\t} else if (vnode.name === 'el-checkbox-group') {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<el-checkbox {...{\n\t\t\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\t\t\tkey: i,\n\t\t\t\t\t\t\t\t\tlabel: e.value,\n\t\t\t\t\t\t\t\t\t...e.props\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t{e.label}\n\t\t\t\t\t\t\t</el-checkbox>\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\treturn null\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\treturn parse_jsx(vnode, { prop, scope, children });\n\t\t\t} else {\n\t\t\t\treturn parse_jsx(vnode, { prop, scope, $scopedSlots });\n\t\t\t}\n\t\t} else {\n\t\t\treturn <cl-error-message title={`组件渲染失败,组件 name 不能为空`} />;\n\t\t}\n\t}\n}\n","import { isString, isBoolean, isFunction, isArray } from \"./index\";\n\n/**\n * parse hidden\n * 1 Boolean\n * 2 Function({ scope })\n * 3 :[prop] is bind form[prop] value\n * @param {*} value\n */\nexport default function (method, { value, scope, data = {} }) {\n\tif (data) {\n\t\tdata.isAdd = !data.isEdit;\n\t}\n\n\tif (method === \"hidden\") {\n\t\tif (isBoolean(value)) {\n\t\t\treturn value;\n\t\t} else if (isString(value)) {\n\t\t\tconst prop = value.substring(1, value.length);\n\n\t\t\tswitch (value[0]) {\n\t\t\t\tcase \"@\":\n\t\t\t\t\treturn !scope[prop];\n\t\t\t\tcase \":\":\n\t\t\t\t\treturn data[prop];\n\t\t\t}\n\t\t} else if (isFunction(value)) {\n\t\t\treturn value({ scope, ...data });\n\t\t}\n\n\t\treturn false;\n\t}\n}\n","export default {\n data() {\n return {\n screen: 'full'\n }\n },\n\n computed: {\n isFullscreen() {\n return this.screen === 'xs'\n }\n },\n\n created() {\n const fn = () => {\n const w = document.body.clientWidth\n\n if (w < 768) {\n this.screen = 'xs'\n } else if (w < 992) {\n this.screen = 'sm'\n } else if (w < 1200) {\n this.screen = 'md'\n } else if (w < 1920) {\n this.screen = 'xl'\n } else {\n this.screen = 'full'\n }\n }\n\n window.addEventListener('resize', fn)\n fn()\n }\n}","import { dataset } from \"@/utils\";\n\nexport default {\n\tmethods: {\n\t\t_set({ prop, options, hidden, path }, data) {\n\t\t\tlet conf = null\n\n\t\t\tswitch (this.$options._componentTag) {\n\t\t\t\tcase 'cl-adv-search':\n\t\t\t\t\tconf = this\n\t\t\t\t\tbreak\n\t\t\t\tcase 'cl-form':\n\t\t\t\t\tconf = this.conf\n\t\t\t\t\tbreak\n\t\t\t}\n\n\t\t\tlet p = path;\n\n\t\t\tif (prop) {\n\t\t\t\tp = `items[prop:${prop}]`;\n\t\t\t}\n\n\t\t\tif (options) {\n\t\t\t\tp += `.component.options`;\n\t\t\t}\n\n\t\t\tif (hidden) {\n\t\t\t\tp += \".hidden\";\n\t\t\t}\n\n\t\t\treturn dataset(conf, p, data);\n\t\t},\n\n\t\t// Get form\n\t\tgetForm(prop) {\n\t\t\treturn prop ? this.form[prop] : this.form;\n\t\t},\n\n\t\t// Set form\n\t\tsetForm(prop, value) {\n\t\t\t// Add watch\n\t\t\tthis.$set(this.form, prop, value);\n\t\t},\n\n\t\t// Set [props, on]\n\t\tsetData(path, value) {\n\t\t\tthis._set({ path }, value);\n\t\t},\n\n\t\t// Set item component options\n\t\tsetOptions(prop, value) {\n\t\t\tthis._set({ options: true, prop }, value);\n\t\t},\n\n\t\t// Toggle item is hide or show\n\t\ttoggleItem(prop, value) {\n\t\t\tif (value === undefined) {\n\t\t\t\tvalue = this._set({ prop, hidden: true });\n\t\t\t}\n\n\t\t\tthis._set({ hidden: true, prop }, !value);\n\t\t},\n\n\t\t// Hidden item\n\t\thiddenItem(...props) {\n\t\t\tprops.forEach((prop) => {\n\t\t\t\tthis._set({ hidden: true, prop }, true);\n\t\t\t});\n\t\t},\n\n\t\t// Show item\n\t\tshowItem(...props) {\n\t\t\tprops.forEach((prop) => {\n\t\t\t\tthis._set({ hidden: true, prop }, false);\n\t\t\t});\n\t\t},\n\n\t\t// Clear form data\n\t\tclearForm() {\n\t\t\tthis.$refs[\"form\"].clearValidate();\n\t\t},\n\n\t\t// Reset form data\n\t\tresetForm() {\n\t\t\tthis.$refs['form'].resetFields()\n\t\t}\n\t}\n};\n","import { cloneDeep } from \"@/utils\";\nimport { renderNode } from \"@/utils/vnode\";\nimport Parse from \"@/utils/parse\";\nimport { Form, Emitter, Screen } from \"@/mixins\";\n\nexport default {\n\tname: \"cl-adv-search\",\n\tcomponentName: \"ClAdvSearch\",\n\tinject: [\"crud\"],\n\tmixins: [Emitter, Screen, Form],\n\tprops: {\n\t\t// Bind value\n\t\tvalue: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t},\n\t\t// Form items\n\t\titems: {\n\t\t\ttype: Array,\n\t\t\tdefault: () => []\n\t\t},\n\t\t// el-drawer props\n\t\tprops: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t},\n\t\t// Op button ['search', 'reset', 'clear', 'close']\n\t\topList: {\n\t\t\ttype: Array,\n\t\t\tdefault: () => [\"close\", \"search\"]\n\t\t},\n\t\t// Hooks by open { data, { next } }\n\t\tonOpen: Function,\n\t\t// Hooks by close { done }\n\t\tonClose: Function,\n\t\t// Hooks by search { data, { next, close } }\n\t\tonSearch: Function\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tform: {},\n\t\t\tvisible: false\n\t\t};\n\t},\n\twatch: {\n\t\tvalue: {\n\t\t\timmediate: true,\n\t\t\tdeep: true,\n\t\t\thandler(val) {\n\t\t\t\tconsole.log(val)\n\t\t\t\tthis.form = val;\n\t\t\t}\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.$on(\"crud.open\", this.open);\n\t\tthis.$on(\"crud.close\", this.close);\n\t},\n\tmethods: {\n\t\t// Open drawer\n\t\topen() {\n\t\t\tthis.items.map((e) => {\n\t\t\t\tif (this.form[e.prop] === undefined) {\n\t\t\t\t\tthis.$set(this.form, e.prop, e.value);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t// Open event\n\t\t\tconst next = (data) => {\n\t\t\t\tthis.visible = true;\n\n\t\t\t\tif (data) {\n\t\t\t\t\t// Merge data\n\t\t\t\t\tObject.assign(this.form, data);\n\t\t\t\t}\n\n\t\t\t\tthis.$emit(\"open\", this.form);\n\t\t\t};\n\n\t\t\tif (this.onOpen) {\n\t\t\t\tthis.onOpen(this.form, { next });\n\t\t\t} else {\n\t\t\t\tnext(null);\n\t\t\t}\n\t\t},\n\n\t\t// Close drawer\n\t\tclose() {\n\t\t\t// Close event\n\t\t\tconst done = () => {\n\t\t\t\tthis.visible = false;\n\t\t\t\tthis.$emit(\"close\");\n\t\t\t};\n\n\t\t\tif (this.onClose) {\n\t\t\t\tthis.onClose(done);\n\t\t\t} else {\n\t\t\t\tdone();\n\t\t\t}\n\t\t},\n\n\t\t// Reset data\n\t\treset() {\n\t\t\tthis.resetForm()\n\t\t\tthis.$emit(\"reset\");\n\t\t},\n\n\t\t// Clear data\n\t\tclear() {\n\t\t\tfor (let i in this.form) {\n\t\t\t\tthis.form[i] = undefined\n\t\t\t}\n\t\t\tthis.clearForm()\n\t\t\tthis.$emit(\"clear\");\n\t\t},\n\n\t\t// Search data\n\t\tsearch() {\n\t\t\tconst params = cloneDeep(this.form);\n\n\t\t\t// Search event\n\t\t\tconst next = (params) => {\n\t\t\t\tthis.crud.refresh({\n\t\t\t\t\t...params,\n\t\t\t\t\tpage: 1\n\t\t\t\t});\n\n\t\t\t\tthis.close();\n\t\t\t};\n\n\t\t\tif (this.onSearch) {\n\t\t\t\tthis.onSearch(params, { next, close: this.close });\n\t\t\t} else {\n\t\t\t\tnext(params);\n\t\t\t}\n\t\t},\n\n\t\t// Render form\n\t\trenderForm() {\n\t\t\treturn (\n\t\t\t\t<el-form\n\t\t\t\t\tref=\"form\"\n\t\t\t\t\tclass=\"cl-form\"\n\t\t\t\t\t{...{\n\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\tsize: \"small\",\n\t\t\t\t\t\t\t\"label-width\": \"100px\",\n\t\t\t\t\t\t\t'label-position': this.isFullscreen ? 'top' : '',\n\t\t\t\t\t\t\tdisabled: this.saving,\n\t\t\t\t\t\t\tmodel: this.form,\n\t\t\t\t\t\t\t...this.props\n\t\t\t\t\t\t}\n\t\t\t\t\t}}>\n\t\t\t\t\t<el-row\n\t\t\t\t\t\tv-loading={this.loading}\n\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\tattrs: {\n\t\t\t\t\t\t\t\t...this[\"v-loading\"]\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}}>\n\t\t\t\t\t\t{this.items.map((e, i) => {\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t!Parse(\"hidden\", {\n\t\t\t\t\t\t\t\t\tvalue: e.hidden,\n\t\t\t\t\t\t\t\t\tscope: this.form\n\t\t\t\t\t\t\t\t}) && (\n\t\t\t\t\t\t\t\t\t<el-col\n\t\t\t\t\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\t\t\t\t\t\tkey: i,\n\t\t\t\t\t\t\t\t\t\t\t\tspan: 24,\n\t\t\t\t\t\t\t\t\t\t\t\t...e\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t\t\t<el-form-item\n\t\t\t\t\t\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t...e\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t\t\t\t{renderNode(e.component, {\n\t\t\t\t\t\t\t\t\t\t\t\tprop: e.prop,\n\t\t\t\t\t\t\t\t\t\t\t\tscope: this.form,\n\t\t\t\t\t\t\t\t\t\t\t\t$scopedSlots: this.$scopedSlots\n\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t\t</el-col>\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})}\n\t\t\t\t\t</el-row>\n\t\t\t\t</el-form>\n\t\t\t);\n\t\t}\n\t},\n\n\trender() {\n\t\tconst ButtonText = {\n\t\t\tsearch: \"搜索\",\n\t\t\treset: \"重置\",\n\t\t\tclear: \"清空\",\n\t\t\tclose: \"取消\"\n\t\t};\n\n\t\treturn (\n\t\t\t<div class=\"cl-adv-search\">\n\t\t\t\t<el-drawer\n\t\t\t\t\t{...{\n\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\tvisible: this.visible,\n\t\t\t\t\t\t\ttitle: \"高级搜索\",\n\t\t\t\t\t\t\tdirection: \"rtl\",\n\t\t\t\t\t\t\tsize: this.isFullscreen ? '100%' : \"500px\",\n\t\t\t\t\t\t\t...this.props\n\t\t\t\t\t\t},\n\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\"update:visible\": () => {\n\t\t\t\t\t\t\t\tthis.close();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t...this.on\n\t\t\t\t\t\t}\n\t\t\t\t\t}}>\n\t\t\t\t\t<div class=\"cl-adv-search__container\">{this.renderForm()}</div>\n\n\t\t\t\t\t<div class=\"cl-adv-search__footer\">\n\t\t\t\t\t\t{this.opList.map((e) => {\n\t\t\t\t\t\t\tif (ButtonText[e]) {\n\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t<el-button\n\t\t\t\t\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\t\t\t\t\t\tsize: this.props.size || \"small\",\n\t\t\t\t\t\t\t\t\t\t\t\ttype: e === \"search\" ? \"primary\" : \"\"\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\t\t\t\t\tclick: this[e]\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t\t\t{ButtonText[e]}\n\t\t\t\t\t\t\t\t\t</el-button>\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\treturn renderNode(e, {\n\t\t\t\t\t\t\t\t\tscope: this.form,\n\t\t\t\t\t\t\t\t\t$scopedSlots: this.$scopedSlots\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})}\n\t\t\t\t\t</div>\n\t\t\t\t</el-drawer>\n\t\t\t</div>\n\t\t);\n\t}\n};\n","export default {\n\tname: \"cl-flex1\",\n\tcomponentName: \"ClFlex1\",\n\trender() {\n\t\treturn <div class=\"cl-flex1\">{this.$slots.default}</div>;\n\t}\n};\n","import { deepMerge, isFunction, cloneDeep } from \"@/utils\";\nimport { renderNode } from \"@/utils/vnode\";\nimport Parse from \"@/utils/parse\";\nimport { Form, Emitter, Screen } from \"@/mixins\";\nimport { __inst } from \"@/global\";\n\nexport default {\n\tname: \"cl-form\",\n\tcomponentName: \"ClForm\",\n\tmixins: [Emitter, Screen, Form],\n\tprops: {\n\t\t// Bind value\n\t\tvalue: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tvisible: false,\n\t\t\tsaving: false,\n\t\t\tloading: false,\n\t\t\tform: {},\n\t\t\tconf: {\n\t\t\t\ton: {\n\t\t\t\t\topen: null,\n\t\t\t\t\tsubmit: null,\n\t\t\t\t\tclose: null\n\t\t\t\t},\n\t\t\t\tprops: {\n\t\t\t\t\tfullscreen: false,\n\t\t\t\t\t\"close-on-click-modal\": false,\n\t\t\t\t\t\"append-to-body\": true,\n\t\t\t\t},\n\t\t\t\top: {\n\t\t\t\t\thidden: false,\n\t\t\t\t\tsaveButtonText: \"保存\",\n\t\t\t\t\tcloseButtonText: \"取消\",\n\t\t\t\t\tlayout: [\"close\", \"save\"]\n\t\t\t\t},\n\t\t\t\thdr: {\n\t\t\t\t\thidden: false,\n\t\t\t\t\topList: [\"fullscreen\", \"close\"]\n\t\t\t\t},\n\t\t\t\titems: [],\n\t\t\t\t_data: {}\n\t\t\t}\n\t\t};\n\t},\n\twatch: {\n\t\tvalue: {\n\t\t\timmediate: true,\n\t\t\tdeep: true,\n\t\t\thandler(val) {\n\t\t\t\tthis.form = val;\n\t\t\t}\n\t\t},\n\t\tform: {\n\t\t\timmediate: true,\n\t\t\thandler(val) {\n\t\t\t\tthis.$emit(\"input\", val);\n\t\t\t}\n\t\t}\n\t},\n\tmethods: {\n\t\topen(options = {}) {\n\t\t\t// Merge conf\n\t\t\tfor (let i in this.conf) {\n\t\t\t\tif (i == \"items\") {\n\t\t\t\t\tthis.conf.items = cloneDeep(options.items || []);\n\t\t\t\t} else {\n\t\t\t\t\tdeepMerge(this.conf[i], options[i]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Show dialog\n\t\t\tthis.visible = true;\n\n\t\t\t// Preset form\n\t\t\tif (options.form) {\n\t\t\t\tfor (let i in options.form) {\n\t\t\t\t\tthis.$set(this.form, i, options.form[i]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set form data by items\n\t\t\tthis.conf.items.map((e) => {\n\t\t\t\tif (e.prop) {\n\t\t\t\t\t// Priority use form data\n\t\t\t\t\tthis.$set(this.form, e.prop, this.form[e.prop] || cloneDeep(e.value));\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t// Open callback\n\t\t\tconst { open } = this.conf.on;\n\n\t\t\tif (open) {\n\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\topen(this.form, {\n\t\t\t\t\t\tclose: this.close,\n\t\t\t\t\t\tsubmit: this.submit,\n\t\t\t\t\t\tdone: this.done\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\n\t\tbeforeClose() {\n\t\t\tif (this.conf.on.close) {\n\t\t\t\tthis.conf.on.close(this.close);\n\t\t\t} else {\n\t\t\t\tthis.close()\n\t\t\t}\n\t\t},\n\n\t\tclose() {\n\t\t\tthis.visible = false;\n\t\t\tthis.clear();\n\t\t\tthis.done();\n\t\t},\n\n\t\tdone() {\n\t\t\tthis.saving = false;\n\t\t},\n\n\t\tclear() {\n\t\t\tfor (let i in this.form) {\n\t\t\t\tdelete this.form[i]\n\t\t\t}\n\t\t\tthis.clearForm()\n\t\t},\n\n\t\tsubmit() {\n\t\t\t// Validate form\n\t\t\tthis.$refs[\"form\"].validate(async (valid) => {\n\t\t\t\tif (valid) {\n\t\t\t\t\tthis.saving = true;\n\n\t\t\t\t\t// Hooks event\n\t\t\t\t\tconst { submit } = this.conf.on;\n\n\t\t\t\t\t// Get mount variable\n\t\t\t\t\tconst { $refs } = __inst;\n\n\t\t\t\t\t// Hooks by onSubmit\n\t\t\t\t\tif (isFunction(submit)) {\n\t\t\t\t\t\tlet d = cloneDeep(this.form);\n\n\t\t\t\t\t\t// Filter hidden data\n\t\t\t\t\t\tthis.conf.items.forEach((e) => {\n\t\t\t\t\t\t\tif (e._hidden) {\n\t\t\t\t\t\t\t\tdelete d[e.prop];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tsubmit(d, {\n\t\t\t\t\t\t\tdone: this.done,\n\t\t\t\t\t\t\tclose: this.close,\n\t\t\t\t\t\t\t$refs\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.error(\"on[submit] is not found\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\n\t\tshowLoading() {\n\t\t\tthis.loading = true;\n\t\t},\n\n\t\thiddenLoading() {\n\t\t\tthis.loading = false;\n\t\t},\n\n\t\tcollapseItem(item) {\n\t\t\tif (item.collapse !== undefined) {\n\t\t\t\titem.collapse = !item.collapse;\n\t\t\t}\n\t\t},\n\n\t\tformRender() {\n\t\t\tconst { props, items } = this.conf;\n\n\t\t\treturn (\n\t\t\t\t<el-form\n\t\t\t\t\tref=\"form\"\n\t\t\t\t\tclass=\"cl-form\"\n\t\t\t\t\t{...{\n\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\tsize: \"small\",\n\t\t\t\t\t\t\t\"label-width\": \"100px\",\n\t\t\t\t\t\t\t\"label-position\": this.isFullscreen ? \"top\" : \"\",\n\t\t\t\t\t\t\tdisabled: this.saving,\n\t\t\t\t\t\t\tmodel: this.form,\n\t\t\t\t\t\t\t...props\n\t\t\t\t\t\t}\n\t\t\t\t\t}}>\n\t\t\t\t\t<el-row gutter={10} v-loading={this.loading}>\n\t\t\t\t\t\t{items.map((e, i) => {\n\t\t\t\t\t\t\t// Is hidden\n\t\t\t\t\t\t\te._hidden = Parse(\"hidden\", {\n\t\t\t\t\t\t\t\tvalue: e.hidden,\n\t\t\t\t\t\t\t\tscope: this.form,\n\t\t\t\t\t\t\t\tdata: this.conf._data\n\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t// Is flex\n\t\t\t\t\t\t\tif (e.flex === undefined) {\n\t\t\t\t\t\t\t\te.flex = true;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t!e._hidden && (\n\t\t\t\t\t\t\t\t\t<el-col\n\t\t\t\t\t\t\t\t\t\tkey={`form-item-${i}`}\n\t\t\t\t\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\t\t\t\t\t\tkey: i,\n\t\t\t\t\t\t\t\t\t\t\t\tspan: 24,\n\t\t\t\t\t\t\t\t\t\t\t\t...e\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t\t\t{e.component && (\n\t\t\t\t\t\t\t\t\t\t\t<el-form-item\n\t\t\t\t\t\t\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\t\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel: e.label,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tprop: e.prop,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\trules: e.rules,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t...e.props\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t\t\t\t\t{/* Redefine label */}\n\t\t\t\t\t\t\t\t\t\t\t\t<template slot=\"label\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ton-click={() => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthis.collapseItem(e);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{e.label}\n\t\t\t\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t\t\t\t</template>\n\n\t\t\t\t\t\t\t\t\t\t\t\t{/* Form item */}\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"cl-form-item\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t{/* Component */}\n\t\t\t\t\t\t\t\t\t\t\t\t\t{[\"prepend\", \"component\", \"append\"].map(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t(name) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\te[name] && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass={[\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`cl-form-item__${name}`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"is-flex\": e.flex\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tv-show={!e.collapse}>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{renderNode(e[name], {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tprop: e.prop,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tscope: this.form,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t$scopedSlots: this\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.$scopedSlots\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{/* Collapse button */}\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"cl-form-item__collapse\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tv-show={e.collapse}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ton-click={() => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthis.collapseItem(e);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<el-divider content-position=\"center\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t点击展开查看更多\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"el-icon-arrow-down\"></i>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</el-divider>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t</el-form-item>\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t</el-col>\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})}\n\t\t\t\t\t</el-row>\n\t\t\t\t</el-form>\n\t\t\t);\n\t\t},\n\n\t\tfooterRender() {\n\t\t\tconst { hidden, layout, saveButtonText, closeButtonText } = this.conf.op;\n\t\t\tconst { size = \"small\" } = this.conf.props;\n\n\t\t\treturn (\n\t\t\t\t!hidden &&\n\t\t\t\tlayout.map((vnode) => {\n\t\t\t\t\tif (vnode == \"save\") {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<el-button\n\t\t\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\t\t\t\tsize,\n\t\t\t\t\t\t\t\t\t\ttype: \"success\",\n\t\t\t\t\t\t\t\t\t\tdisabled: this.loading,\n\t\t\t\t\t\t\t\t\t\tloading: this.saving\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\t\t\tclick: this.submit\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t{saveButtonText}\n\t\t\t\t\t\t\t</el-button>\n\t\t\t\t\t\t);\n\t\t\t\t\t} else if (vnode == \"close\") {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<el-button\n\t\t\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\t\t\t\tsize\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\t\t\tclick: this.beforeClose\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t{closeButtonText}\n\t\t\t\t\t\t\t</el-button>\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn renderNode(vnode, {\n\t\t\t\t\t\t\tscope: this.form,\n\t\t\t\t\t\t\t$scopedSlots: this.$scopedSlots\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t);\n\t\t}\n\t},\n\n\trender() {\n\t\tconst { props, hdr } = this.conf;\n\n\t\treturn (\n\t\t\t<div class=\"cl-form\">\n\t\t\t\t<cl-dialog\n\t\t\t\t\tvisible={this.visible}\n\t\t\t\t\t{...{\n\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\ttitle: props.title,\n\t\t\t\t\t\t\topList: hdr.opList,\n\t\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\t\t...props,\n\t\t\t\t\t\t\t\t'before-close': this.beforeClose\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t'update:visible': (v) => (this.visible = v),\n\t\t\t\t\t\t\t\"update:props:fullscreen\": (v) => (props.fullscreen = v)\n\t\t\t\t\t\t}\n\t\t\t\t\t}}>\n\t\t\t\t\t<div class=\"cl-form__container\">{this.formRender()}</div>\n\t\t\t\t\t<div class=\"cl-form__footer\" slot=\"footer\">\n\t\t\t\t\t\t{this.footerRender()}\n\t\t\t\t\t</div>\n\t\t\t\t</cl-dialog>\n\t\t\t</div>\n\t\t);\n\t}\n};\n","export default {\n\tname: \"cl-multi-delete-btn\",\n\tcomponentName: \"ClMultiDeleteBtn\",\n\tinject: [\"crud\"],\n\tprops: {\n\t\t// el-button props\n\t\tprops: Object\n\t},\n\trender() {\n\t\treturn (\n\t\t\tthis.crud.getPermission(\"delete\") && (\n\t\t\t\t<el-button\n\t\t\t\t\t{...{\n\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\tsize: \"mini\",\n\t\t\t\t\t\t\ttype: \"danger\",\n\t\t\t\t\t\t\tdisabled: this.crud.selection.length == 0,\n\t\t\t\t\t\t\t...this.props\n\t\t\t\t\t\t},\n\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\tclick: this.crud.deleteMulti\n\t\t\t\t\t\t}\n\t\t\t\t\t}}>\n\t\t\t\t\t{this.$slots.default || this.crud.dict.label.multiDelete || this.crud.dict.label.delete}\n\t\t\t\t</el-button>\n\t\t\t)\n\t\t);\n\t}\n};\n","export default {\n\tname: \"cl-pagination\",\n\tcomponentName: \"ClPagination\",\n\tinject: [\"crud\"],\n\tprops: {\n\t\tprops: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t},\n\t\ton: Object\n\t},\n\tdata() {\n\t\treturn {\n\t\t\ttotal: 0,\n\t\t\tcurrentPage: 1,\n\t\t\tpageSize: 20\n\t\t};\n\t},\n\twatch: {\n\t\tprops: {\n\t\t\timmediate: true,\n\t\t\thandler: \"setPagination\"\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.$on(\"crud.refresh\", this.setPagination);\n\t},\n\tmethods: {\n\t\tcurrentChange(index) {\n\t\t\tthis.crud.refresh({\n\t\t\t\tpage: index\n\t\t\t});\n\t\t},\n\t\tsizeChange(size) {\n\t\t\tthis.crud.refresh({\n\t\t\t\tpage: 1,\n\t\t\t\tsize\n\t\t\t});\n\t\t},\n\t\tsetPagination(res) {\n\t\t\tif (res) {\n\t\t\t\tthis.currentPage = res.currentPage || res.page || 1;\n\t\t\t\tthis.pageSize = res.pageSize || res.size || 20;\n\t\t\t\tthis.total = res.total | 0;\n\t\t\t}\n\t\t}\n\t},\n\trender() {\n\t\treturn (\n\t\t\t<el-pagination\n\t\t\t\t{...{\n\t\t\t\t\ton: {\n\t\t\t\t\t\t\"size-change\": this.sizeChange,\n\t\t\t\t\t\t\"current-change\": this.currentChange,\n\t\t\t\t\t\t...this.on\n\t\t\t\t\t},\n\t\t\t\t\tprops: {\n\t\t\t\t\t\tbackground: true,\n\t\t\t\t\t\tlayout: \"total, sizes, prev, pager, next, jumper\",\n\t\t\t\t\t\t\"page-sizes\": [10, 20, 30, 40, 50, 100],\n\t\t\t\t\t\t...this.props,\n\t\t\t\t\t\ttotal: this.total,\n\t\t\t\t\t\t\"current-page\": this.currentPage,\n\t\t\t\t\t\t\"page-size\": this.pageSize\n\t\t\t\t\t}\n\t\t\t\t}}\n\t\t\t/>\n\t\t);\n\t}\n};\n","export default {\n\tname: \"cl-query\",\n\tcomponentName: \"ClQuery\",\n\tinject: [\"crud\"],\n\tprops: {\n\t\tvalue: null,\n\t\tmultiple: Boolean,\n\t\tlist: {\n\t\t\ttype: Array,\n\t\t\trequired: true\n\t\t},\n\t\tcallback: Function,\n\t\tfield: {\n\t\t\ttype: String,\n\t\t\tdefault: \"query\"\n\t\t}\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tlist2: []\n\t\t};\n\t},\n\n\twatch: {\n\t\tvalue: {\n\t\t\timmediate: true,\n\t\t\thandler: 'setList'\n\t\t},\n\n\t\tlist() {\n\t\t\tthis.setList(this.value)\n\t\t}\n\t},\n\n\tmethods: {\n\t\tsetList(val) {\n\t\t\tlet arr = [];\n\n\t\t\tif (val instanceof Array) {\n\t\t\t\tarr = val;\n\t\t\t} else {\n\t\t\t\tarr = [val];\n\t\t\t}\n\n\t\t\tif (!this.multiple) {\n\t\t\t\tarr.splice(1);\n\t\t\t}\n\n\t\t\tthis.list2 = (this.list || []).map((e) => {\n\t\t\t\tthis.$set(\n\t\t\t\t\te,\n\t\t\t\t\t\"active\",\n\t\t\t\t\tarr.some((v) => v === e.value)\n\t\t\t\t);\n\t\t\t\treturn e;\n\t\t\t});\n\t\t},\n\n\t\tselectRow(item) {\n\t\t\tif (item.active) {\n\t\t\t\titem.active = false;\n\t\t\t} else {\n\t\t\t\tif (this.multiple) {\n\t\t\t\t\titem.active = true;\n\t\t\t\t} else {\n\t\t\t\t\tthis.list2.map((e) => {\n\t\t\t\t\t\te.active = e.value == item.value;\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst selects = this.list2.filter((e) => e.active).map((e) => e.value);\n\t\t\tconst value = this.multiple ? selects : selects[0];\n\n\t\t\tif (this.callback) {\n\t\t\t\tthis.callback(value);\n\t\t\t} else {\n\t\t\t\tthis.crud.refresh({\n\t\t\t\t\t[this.field]: value\n\t\t\t\t});\n\n\t\t\t\tthis.$emit('change', value)\n\t\t\t}\n\t\t}\n\t},\n\n\trender() {\n\t\treturn (\n\t\t\t<div class=\"cl-query\">\n\t\t\t\t{this.list2.map((item, index) => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\tkey={index}\n\t\t\t\t\t\t\tclass={{ \"is-active\": item.active }}\n\t\t\t\t\t\t\ton-click={(event) => {\n\t\t\t\t\t\t\t\tthis.selectRow(item);\n\t\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t<span>{item.label}</span>\n\t\t\t\t\t\t</button>\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t</div>\n\t\t);\n\t}\n};\n","export default {\n\tname: \"cl-refresh-btn\",\n\tcomponentName: \"ClRefreshBtn\",\n\tinject: [\"crud\"],\n\tprops: {\n\t\t// el-button props\n\t\tprops: Object\n\t},\n\trender() {\n\t\treturn (\n\t\t\t<el-button\n\t\t\t\t{...{\n\t\t\t\t\tprops: {\n\t\t\t\t\t\tsize: \"mini\",\n\t\t\t\t\t\t...this.props\n\t\t\t\t\t},\n\t\t\t\t\ton: {\n\t\t\t\t\t\tclick: this.crud.refresh\n\t\t\t\t\t}\n\t\t\t\t}}>\n\t\t\t\t{this.$slots.default || \"刷新\"}\n\t\t\t</el-button>\n\t\t);\n\t}\n};\n","export default {\n\tname: \"cl-search-key\",\n\tcomponentName: \"ClSearchKey\",\n\tinject: [\"crud\"],\n\tprops: {\n\t\t// 绑定值\n\t\tvalue: [String, Number],\n\t\t// 选中字段\n\t\tfield: {\n\t\t\ttype: String,\n\t\t\tdefault: \"keyWord\"\n\t\t},\n\t\t// 字段列表\n\t\tfieldList: {\n\t\t\ttype: Array,\n\t\t\tdefault: () => []\n\t\t},\n\t\t// 搜索时的钩子\n\t\tonSearch: Function,\n\t\t// 输入框占位内容\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: \"请输入关键字\"\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tfield2: null,\n\t\t\tvalue2: \"\"\n\t\t};\n\t},\n\twatch: {\n\t\tfield: {\n\t\t\timmediate: true,\n\t\t\thandler(val) {\n\t\t\t\tthis.field2 = val;\n\t\t\t}\n\t\t},\n\n\t\tvalue: {\n\t\t\timmediate: true,\n\t\t\thandler(val) {\n\t\t\t\tthis.value2 = val;\n\t\t\t}\n\t\t}\n\t},\n\tcomputed: {\n\t\tselectList() {\n\t\t\treturn this.fieldList.map((e, i) => {\n\t\t\t\treturn <el-option key={i} label={e.label} value={e.value} />;\n\t\t\t});\n\t\t}\n\t},\n\tmethods: {\n\t\tonKeyup({ keyCode }) {\n\t\t\tif (keyCode === 13) {\n\t\t\t\tthis.search();\n\t\t\t}\n\t\t},\n\n\t\tsearch() {\n\t\t\tlet params = {};\n\n\t\t\tthis.fieldList.forEach((e) => {\n\t\t\t\tparams[e.value] = null;\n\t\t\t});\n\n\t\t\tconst next = (params2) => {\n\t\t\t\tthis.crud.refresh({\n\t\t\t\t\tpage: 1,\n\t\t\t\t\t...params,\n\t\t\t\t\t[this.field2]: this.value2,\n\t\t\t\t\t...params2\n\t\t\t\t});\n\t\t\t};\n\n\t\t\tif (this.onSearch) {\n\t\t\t\tthis.onSearch(params, { next });\n\t\t\t} else {\n\t\t\t\tnext();\n\t\t\t}\n\t\t},\n\n\t\tonInput(val) {\n\t\t\tthis.$emit(\"input\", val);\n\t\t\tthis.$emit(\"change\", val);\n\t\t},\n\n\t\tonNameChange() {\n\t\t\tthis.$emit(\"field-change\", this.field2);\n\t\t\tthis.onInput(\"\");\n\t\t\tthis.value2 = \"\";\n\t\t}\n\t},\n\trender() {\n\t\treturn (\n\t\t\t<div class=\"cl-search-key\">\n\t\t\t\t<el-select\n\t\t\t\t\tclass=\"cl-search-key__select\"\n\t\t\t\t\tfilterable\n\t\t\t\t\tsize=\"mini\"\n\t\t\t\t\tv-model={this.field2}\n\t\t\t\t\tv-show={this.selectList.length > 0}\n\t\t\t\t\ton-change={this.onNameChange}>\n\t\t\t\t\t{this.selectList}\n\t\t\t\t</el-select>\n\n\t\t\t\t<el-input\n\t\t\t\t\tclass=\"cl-search-key__input\"\n\t\t\t\t\tv-model={this.value2}\n\t\t\t\t\tplaceholder={this.placeholder}\n\t\t\t\t\tnativeOnKeyup={this.onKeyup}\n\t\t\t\t\ton-input={this.onInput}\n\t\t\t\t\tclearable\n\t\t\t\t\tsize=\"mini\"\n\t\t\t\t/>\n\n\t\t\t\t<el-button\n\t\t\t\t\tclass=\"cl-search-key__button\"\n\t\t\t\t\ttype=\"primary\"\n\t\t\t\t\tsize=\"mini\"\n\t\t\t\t\ton-click={this.search}>\n\t\t\t\t\t搜索\n\t\t\t\t</el-button>\n\t\t\t</div>\n\t\t);\n\t}\n};\n","import { renderNode } from \"@/utils/vnode\";\nimport { isNull } from \"@/utils\";\nimport { Emitter } from \"@/mixins\";\n\nexport default {\n\tname: \"cl-table\",\n\tcomponentName: \"ClTable\",\n\tinject: [\"crud\"],\n\tmixins: [Emitter],\n\tprops: {\n\t\tcolumns: {\n\t\t\ttype: Array,\n\t\t\trequired: true,\n\t\t\tdefault: () => []\n\t\t},\n\t\ton: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t},\n\t\tprops: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tmaxHeight: null,\n\t\t\tdata: [],\n\t\t\temit: {}\n\t\t};\n\t},\n\tcreated() {\n\t\t// Get default sort\n\t\tconst { order, prop } = this.props[\"default-sort\"] || {};\n\n\t\t// Set request params\n\t\tthis.crud.params.order = !order ? \"\" : order === \"descending\" ? \"desc\" : \"asc\";\n\t\tthis.crud.params.prop = prop;\n\n\t\t// Crud event\n\t\tthis.$on(\"crud.resize\", () => {\n\t\t\tthis.calcMaxHeight();\n\t\t});\n\n\t\t// Crud refresh\n\t\tthis.$on(\"crud.refresh\", ({ list }) => {\n\t\t\tthis.data = list;\n\n\t\t});\n\t},\n\tmounted() {\n\t\tthis.emptyRender();\n\t\tthis.calcMaxHeight();\n\t\tthis.bindEmit();\n\t\tthis.bindMethods()\n\t},\n\tmethods: {\n\t\tcolumnRender() {\n\t\t\treturn this.columns\n\t\t\t\t.filter((e) => !e.hidden)\n\t\t\t\t.map((item, index) => {\n\t\t\t\t\tconst deep = (item) => {\n\t\t\t\t\t\tlet params = {\n\t\t\t\t\t\t\tprops: item,\n\t\t\t\t\t\t\ton: item.on\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\t// If op\n\t\t\t\t\t\tif (item.type === \"op\") {\n\t\t\t\t\t\t\treturn this.opRender(item);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Default\n\t\t\t\t\t\tif (!item.type || item.type === \"expand\") {\n\t\t\t\t\t\t\tparams.scopedSlots = {\n\t\t\t\t\t\t\t\tdefault: (scope) => {\n\t\t\t\t\t\t\t\t\t// Column-slot\n\t\t\t\t\t\t\t\t\tlet slot = this.$scopedSlots[`column-${item.prop}`];\n\n\t\t\t\t\t\t\t\t\tlet newScope = {\n\t\t\t\t\t\t\t\t\t\t...scope,\n\t\t\t\t\t\t\t\t\t\t...item\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\tlet value = scope.row[item.prop];\n\n\t\t\t\t\t\t\t\t\tif (slot) {\n\t\t\t\t\t\t\t\t\t\t// Use slot\n\t\t\t\t\t\t\t\t\t\treturn slot({\n\t\t\t\t\t\t\t\t\t\t\tscope: newScope\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t// If component\n\t\t\t\t\t\t\t\t\t\tif (item.component) {\n\t\t\t\t\t\t\t\t\t\t\treturn renderNode(item.component, {\n\t\t\t\t\t\t\t\t\t\t\t\tprop: item.prop,\n\t\t\t\t\t\t\t\t\t\t\t\tscope: newScope.row\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t// Formatter\n\t\t\t\t\t\t\t\t\t\telse if (item.formatter) {\n\t\t\t\t\t\t\t\t\t\t\treturn item.formatter(\n\t\t\t\t\t\t\t\t\t\t\t\tnewScope.row,\n\t\t\t\t\t\t\t\t\t\t\t\tnewScope.column,\n\t\t\t\t\t\t\t\t\t\t\t\tnewScope.row[item.prop],\n\t\t\t\t\t\t\t\t\t\t\t\tnewScope.$index\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t// Dict tag\n\t\t\t\t\t\t\t\t\t\telse if (item.dict) {\n\t\t\t\t\t\t\t\t\t\t\tlet data = item.dict.find((d) => d.value == value);\n\n\t\t\t\t\t\t\t\t\t\t\tif (data) {\n\t\t\t\t\t\t\t\t\t\t\t\t// Use el-tag\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<el-tag\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsize: \"small\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"disable-transitions\": true,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\teffect: \"dark\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...data\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{data.label}\n\t\t\t\t\t\t\t\t\t\t\t\t\t</el-tag>\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\treturn value;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t// Empty text\n\t\t\t\t\t\t\t\t\t\telse if (isNull(value)) {\n\t\t\t\t\t\t\t\t\t\t\treturn scope.emptyText;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t// Value\n\t\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\t\treturn value;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\theader: (scope) => {\n\t\t\t\t\t\t\t\t\tlet slot = this.$scopedSlots[`header-${item.prop}`];\n\n\t\t\t\t\t\t\t\t\tif (slot) {\n\t\t\t\t\t\t\t\t\t\treturn slot({\n\t\t\t\t\t\t\t\t\t\t\tscope\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\treturn scope.column.label;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Children element\n\t\t\t\t\t\tconst childrenEl = item.children ? item.children.map(deep) : null;\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<el-table-column key={`crud-table-column-${index}`} {...params}>\n\t\t\t\t\t\t\t\t{childrenEl}\n\t\t\t\t\t\t\t</el-table-column>\n\t\t\t\t\t\t);\n\t\t\t\t\t};\n\n\t\t\t\t\treturn deep(item);\n\t\t\t\t});\n\t\t},\n\n\t\topRender(item) {\n\t\t\tconst { rowEdit, rowDelete, getPermission } = this.crud;\n\n\t\t\tif (!item) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tconst render = (scope) => {\n\t\t\t\t// Use op layout\n\t\t\t\treturn (item.layout || [\"edit\", \"delete\"]).map((vnode) => {\n\t\t\t\t\tif ([\"edit\", \"update\", \"delete\"].includes(vnode)) {\n\t\t\t\t\t\t// Get permission\n\t\t\t\t\t\tconst perm = getPermission(vnode);\n\n\t\t\t\t\t\tif (perm) {\n\t\t\t\t\t\t\tlet clickEvent = () => { };\n\t\t\t\t\t\t\tlet buttonText = null;\n\n\t\t\t\t\t\t\tswitch (vnode) {\n\t\t\t\t\t\t\t\tcase \"edit\":\n\t\t\t\t\t\t\t\tcase \"update\":\n\t\t\t\t\t\t\t\t\tclickEvent = rowEdit;\n\t\t\t\t\t\t\t\t\tbuttonText = this.crud.dict.label.update;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\tcase \"delete\":\n\t\t\t\t\t\t\t\t\tclickEvent = rowDelete;\n\t\t\t\t\t\t\t\t\tbuttonText = this.crud.dict.label.delete;\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t<el-button\n\t\t\t\t\t\t\t\t\tsize=\"mini\"\n\t\t\t\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\t\t\t\ton-click={() => {\n\t\t\t\t\t\t\t\t\t\tclickEvent(scope.row);\n\t\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t\t{buttonText}\n\t\t\t\t\t\t\t\t</el-button>\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Use custom render\n\t\t\t\t\t\treturn renderNode(vnode, { scope, $scopedSlots: this.$scopedSlots });\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t};\n\n\t\t\treturn (\n\t\t\t\t<el-table-column\n\t\t\t\t\t{...{\n\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\tlabel: \"操作\",\n\t\t\t\t\t\t\twidth: \"160px\",\n\t\t\t\t\t\t\t...item\n\t\t\t\t\t\t},\n\t\t\t\t\t\tscopedSlots: {\n\t\t\t\t\t\t\tdefault: (scope) => {\n\t\t\t\t\t\t\t\tlet el = null;\n\n\t\t\t\t\t\t\t\t// Dropdown op\n\t\t\t\t\t\t\t\tif (item.name == \"dropdown-menu\") {\n\t\t\t\t\t\t\t\t\tconst slot = this.$scopedSlots[\"table-op-dropdown-menu\"];\n\t\t\t\t\t\t\t\t\tconst { width } = item[\"dropdown-menu\"] || {};\n\t\t\t\t\t\t\t\t\tconst items = render(scope).map((e) => {\n\t\t\t\t\t\t\t\t\t\treturn <el-dropdown-item>{e}</el-dropdown-item>;\n\t\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\t\tel = (\n\t\t\t\t\t\t\t\t\t\t<el-dropdown\n\t\t\t\t\t\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\t\t\t\t\t\ton,\n\t\t\t\t\t\t\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\t\t\t\t\t\t\ttrigger: \"click\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t...item.props\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}}>\n\t\t\t\t\t\t\t\t\t\t\t{slot ? (\n\t\t\t\t\t\t\t\t\t\t\t\tslot({ scope })\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"el-dropdown-link\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>更多操作</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"el-icon-arrow-down el-icon--right\"></i>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t<el-dropdown-menu\n\t\t\t\t\t\t\t\t\t\t\t\tstyle={{ width }}\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"cl-crud__op-dropdown-menu\"\n\t\t\t\t\t\t\t\t\t\t\t\t{...{ slot: \"dropdown\" }}>\n\t\t\t\t\t\t\t\t\t\t\t\t{items}\n\t\t\t\t\t\t\t\t\t\t\t</el-dropdown-menu>\n\t\t\t\t\t\t\t\t\t\t</el-dropdown>\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tel = render(scope);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\treturn <div class=\"cl-table__op\">{el}</div>;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}}\n\t\t\t\t/>\n\t\t\t);\n\t\t},\n\n\t\temptyRender() {\n\t\t\tconst empty = this.$scopedSlots[\"table-empty\"];\n\t\t\tconst scope = {\n\t\t\t\th: this.$createElement,\n\t\t\t\tscope: this\n\t\t\t};\n\n\t\t\tif (empty) {\n\t\t\t\tthis.$scopedSlots.empty = () => {\n\t\t\t\t\treturn empty(scope)[0];\n\t\t\t\t};\n\t\t\t}\n\t\t},\n\n\t\tappendRender() {\n\t\t\treturn this.$slots[\"append\"];\n\t\t},\n\n\t\tchangeSort(prop, order) {\n\t\t\tif (order === \"desc\") {\n\t\t\t\torder = \"descending\";\n\t\t\t}\n\n\t\t\tif (order === \"asc\") {\n\t\t\t\torder = \"ascending\";\n\t\t\t}\n\n\t\t\tthis.$refs[\"table\"].sort(prop, order);\n\t\t},\n\n\t\tsortChange({ prop, order }) {\n\t\t\tif (order === \"descending\") {\n\t\t\t\torder = \"desc\";\n\t\t\t}\n\n\t\t\tif (order === \"ascending\") {\n\t\t\t\torder = \"asc\";\n\t\t\t}\n\n\t\t\tif (!order) {\n\t\t\t\tprop = null;\n\t\t\t}\n\n\t\t\tif (this.crud.test.sortLock) {\n\t\t\t\tthis.crud.refresh({\n\t\t\t\t\tprop,\n\t\t\t\t\torder,\n\t\t\t\t\tpage: 1\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\n\t\tselectionChange(selection) {\n\t\t\tthis.dispatch(\"cl-crud\", \"table.selection-change\", { selection });\n\t\t\tthis.$emit(\"selection-change\", selection);\n\t\t},\n\n\t\tbindEmit() {\n\t\t\tconst funcs = [\n\t\t\t\t\"select\",\n\t\t\t\t\"select-all\",\n\t\t\t\t\"cell-mouse-enter\",\n\t\t\t\t\"cell-mouse-leave\",\n\t\t\t\t\"cell-click\",\n\t\t\t\t\"cell-dblclick\",\n\t\t\t\t\"row-click\",\n\t\t\t\t\"row-contextmenu\",\n\t\t\t\t\"row-dblclick\",\n\t\t\t\t\"header-click\",\n\t\t\t\t\"header-contextmenu\",\n\t\t\t\t\"filter-change\",\n\t\t\t\t\"current-change\",\n\t\t\t\t\"header-dragend\",\n\t\t\t\t\"expand-change\"\n\t\t\t];\n\n\t\t\tfuncs.forEach((name) => {\n\t\t\t\tthis.emit[name] = (...args) => {\n\t\t\t\t\tthis.$emit.apply(this, [name, ...args]);\n\t\t\t\t};\n\t\t\t});\n\t\t},\n\n\t\tbindMethods() {\n\t\t\t[\n\t\t\t\t\"clearSelection\",\n\t\t\t\t\"toggleRowSelection\",\n\t\t\t\t\"toggleAllSelection\",\n\t\t\t\t\"toggleRowExpansion\",\n\t\t\t\t\"setCurrentRow\",\n\t\t\t\t\"clearSort\",\n\t\t\t\t\"clearFilter\",\n\t\t\t\t\"doLayout\",\n\t\t\t\t\"sort\"\n\t\t\t].forEach(e => {\n\t\t\t\tthis[e] = this.$refs[\"table\"][e];\n\t\t\t});\n\t\t},\n\n\t\tcalcMaxHeight() {\n\t\t\treturn this.$nextTick(() => {\n\t\t\t\tconst el = this.crud.$el.parentNode;\n\t\t\t\tlet { height = \"\" } = this.props || {};\n\n\t\t\t\tif (el) {\n\t\t\t\t\tlet rows = el.querySelectorAll(\".cl-crud .el-row\");\n\n\t\t\t\t\tif (!rows[0] || !rows[0].isConnected) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\n\t\t\t\t\tlet h = 20;\n\n\t\t\t\t\tfor (let i = 0; i < rows.length; i++) {\n\t\t\t\t\t\tlet f = true;\n\n\t\t\t\t\t\tfor (let j = 0; j < rows[i].childNodes.length; j++) {\n\t\t\t\t\t\t\tif (rows[i].childNodes[j].className == \"cl-table\") {\n\t\t\t\t\t\t\t\tf = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (f) {\n\t\t\t\t\t\t\th += rows[i].clientHeight + 10;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tlet h1 = Number(String(height).replace(\"px\", \"\"));\n\t\t\t\t\tlet h2 = el.clientHeight - h;\n\n\t\t\t\t\tthis.maxHeight = h1 > h2 ? h1 : h2;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t},\n\n\trender() {\n\t\treturn (\n\t\t\t<div class=\"cl-table\">\n\t\t\t\t{\n\t\t\t\t\t<el-table\n\t\t\t\t\t\tref=\"table\"\n\t\t\t\t\t\tdata={this.data}\n\t\t\t\t\t\tv-loading={this.crud.loading}\n\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\t\t\"selection-change\": this.selectionChange,\n\t\t\t\t\t\t\t\t\"sort-change\": this.sortChange,\n\t\t\t\t\t\t\t\t...this.emit,\n\t\t\t\t\t\t\t\t...this.on\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tprops: {\n\t\t\t\t\t\t\t\t\"max-height\": this.maxHeight + \"px\",\n\t\t\t\t\t\t\t\tborder: true,\n\t\t\t\t\t\t\t\tsize: \"mini\",\n\t\t\t\t\t\t\t\t...this.props\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tscopedSlots: {\n\t\t\t\t\t\t\t\t...this.$scopedSlots\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tslots: {\n\t\t\t\t\t\t\t\t...this.$slots\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}}>\n\t\t\t\t\t\t{this.columnRender()}\n\t\t\t\t\t</el-table>\n\t\t\t\t}\n\t\t\t</div>\n\t\t);\n\t}\n};\n","import { Emitter } from \"@/mixins\";\nimport { __inst } from \"@/global\";\n\nexport default {\n\tname: \"cl-upsert\",\n\tcomponentName: \"ClUpsert\",\n\tinject: [\"crud\"],\n\tmixins: [Emitter],\n\tprops: {\n\t\t// Bind value\n\t\tvalue: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t},\n\t\t// Form items\n\t\titems: Array,\n\t\t// el-dialog attributes\n\t\tprops: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t},\n\t\t// Edit sync\n\t\tsync: Boolean,\n\t\t// Hidden operation button\n\t\thiddenOp: Boolean,\n\t\t// Op buttons\n\t\topList: {\n\t\t\ttype: Array,\n\t\t\tdefault: () => [\"close\", \"save\"]\n\t\t},\n\t\t// Op object\n\t\top: Object,\n\t\t// Dialog header object\n\t\thdr: Object,\n\t\t// Save button text\n\t\tsaveButtonText: String,\n\t\t// Close button text\n\t\tcloseButtonText: String,\n\t\t// Hook by open { isEdit, data, { submit, done, close } }\n\t\tonOpen: Function,\n\t\t// Hook by close { action, done }\n\t\tonClose: Function,\n\t\t// Hook by info { data, { next, done, close } }\n\t\tonInfo: Function,\n\t\t// Hook by submit { isEdit, data, { next, done, close } }\n\t\tonSubmit: Function\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tisEdit: false,\n\t\t\tform: {}\n\t\t};\n\t},\n\twatch: {\n\t\tvalue: {\n\t\t\timmediate: true,\n\t\t\tdeep: true,\n\t\t\thandler(val) {\n\t\t\t\tthis.form = val;\n\t\t\t}\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.$on(\"crud.add\", this.add);\n\t\tthis.$on(\"crud.append\", this.append);\n\t\tthis.$on(\"crud.edit\", this.edit);\n\t\tthis.$on(\"crud.close\", this.close);\n\t},\n\tmounted() {\n\t\tthis.inject();\n\t},\n\tmethods: {\n\t\t// Add\n\t\tasync add() {\n\t\t\tthis.isEdit = false;\n\t\t\tthis.form = {};\n\t\t\tawait this.open();\n\t\t\tthis.$emit(\"open\", false, {});\n\t\t},\n\n\t\t// Append data\n\t\tasync append(data) {\n\t\t\tthis.isEdit = false;\n\n\t\t\t// Assign data\n\t\t\tif (data) {\n\t\t\t\tfor (let i in data) {\n\t\t\t\t\tthis.$set(this.form, i, data[i]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tawait this.open();\n\t\t\tthis.$emit(\"open\", false, this.form);\n\t\t},\n\n\t\t// Edit\n\t\tedit(data) {\n\t\t\tconst { showLoading, hiddenLoading } = this.$refs[\"form\"];\n\n\t\t\t// Is edit\n\t\t\tthis.isEdit = true;\n\t\t\t// Start loading\n\t\t\tshowLoading();\n\n\t\t\t// Async open form\n\t\t\tif (!this.sync) {\n\t\t\t\tthis.open();\n\t\t\t}\n\n\t\t\t// Finish\n\t\t\tconst done = (data) => {\n\t\t\t\t// Assign data\n\t\t\t\tObject.assign(this.form, data);\n\t\t\t\thiddenLoading();\n\t\t\t};\n\n\t\t\t// Close\n\t\t\tconst close = () => {\n\t\t\t\thiddenLoading();\n\t\t\t\tthis.close();\n\t\t\t};\n\n\t\t\t// Submit\n\t\t\tconst next = (data) => {\n\t\t\t\t// Get Service and Dict\n\t\t\t\tconst { dict, service } = this.crud;\n\t\t\t\t// Get api.info\n\t\t\t\tconst reqName = dict.api.info;\n\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\t// Validate\n\t\t\t\t\tif (!service[reqName]) {\n\t\t\t\t\t\treject(`Request function '${reqName}' is not fount!`);\n\t\t\t\t\t\thiddenLoading();\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Send request\n\t\t\t\t\tservice[reqName]({\n\t\t\t\t\t\tid: data.id\n\t\t\t\t\t})\n\t\t\t\t\t\t.then((res) => {\n\t\t\t\t\t\t\t// Finish\n\t\t\t\t\t\t\tdone(res);\n\t\t\t\t\t\t\tresolve(res);\n\n\t\t\t\t\t\t\t// Sync open form\n\t\t\t\t\t\t\tif (this.sync) {\n\t\t\t\t\t\t\t\tthis.open();\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// Callback\n\t\t\t\t\t\t\tthis.$emit(\"open\", this.isEdit, this.form);\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.catch((err) => {\n\t\t\t\t\t\t\tthis.$message.error(err);\n\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.done(() => {\n\t\t\t\t\t\t\thiddenLoading();\n\t\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t};\n\n\t\t\t// Hook by onInfo\n\t\t\tif (this.onInfo) {\n\t\t\t\tthis.onInfo(data, {\n\t\t\t\t\tnext,\n\t\t\t\t\tdone: (data) => {\n\t\t\t\t\t\tdone(data);\n\t\t\t\t\t\tthis.$emit(\"open\", true, this.form);\n\t\t\t\t\t},\n\t\t\t\t\tclose\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tnext(data);\n\t\t\t}\n\t\t},\n\n\t\t// Open\n\t\topen() {\n\t\t\tconst { saveButtonText, closeButtonText } = this.crud.dict.label;\n\n\t\t\treturn new Promise((resolve) => {\n\t\t\t\tthis.$refs[\"form\"].open({\n\t\t\t\t\titems: this.items,\n\t\t\t\t\tprops: {\n\t\t\t\t\t\ttitle: this.isEdit ? \"编辑\" : \"新增\",\n\t\t\t\t\t\t...this.props\n\t\t\t\t\t},\n\t\t\t\t\top: {\n\t\t\t\t\t\thidden: this.hiddenOp,\n\t\t\t\t\t\tlayout: this.opList,\n\t\t\t\t\t\tsaveButtonText: this.saveButtonText || saveButtonText,\n\t\t\t\t\t\tcloseButtonText: this.closeButtonText || closeButtonText,\n\t\t\t\t\t\t...this.op\n\t\t\t\t\t},\n\t\t\t\t\thdr: {\n\t\t\t\t\t\t...this.hdr\n\t\t\t\t\t},\n\t\t\t\t\ton: {\n\t\t\t\t\t\topen: (data, { done, close }) => {\n\t\t\t\t\t\t\tif (this.onOpen) {\n\t\t\t\t\t\t\t\tthis.onOpen(this.isEdit, this.form, {\n\t\t\t\t\t\t\t\t\tsubmit: () => {\n\t\t\t\t\t\t\t\t\t\tthis.submit(this.form);\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tdone,\n\t\t\t\t\t\t\t\t\tclose\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tresolve();\n\t\t\t\t\t\t},\n\t\t\t\t\t\tsubmit: this.submit,\n\t\t\t\t\t\tclose: this.beforeClose\n\t\t\t\t\t},\n\t\t\t\t\t_data: {\n\t\t\t\t\t\tisEdit: this.isEdit\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t},\n\n\t\t// Close\n\t\tclose() {\n\t\t\tthis.$refs[\"form\"].close();\n\t\t\tthis.$emit(\"close\");\n\t\t},\n\n\t\t// Before close\n\t\tbeforeClose() {\n\t\t\tif (this.onClose) {\n\t\t\t\tthis.onClose(this.close);\n\t\t\t} else {\n\t\t\t\tthis.close();\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Submit form\n\t\t * @param {*} data\n\t\t */\n\t\tsubmit(data, { done }) {\n\t\t\t// Get Service and Dict\n\t\t\tconst { dict, service } = this.crud;\n\n\t\t\t// Submit\n\t\t\tconst next = (data) => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\t// Judge update or add\n\t\t\t\t\tconst func = this.isEdit ? \"update\" : \"add\";\n\t\t\t\t\t// Get request function\n\t\t\t\t\tconst reqName = dict.api[func];\n\n\t\t\t\t\t// Validate\n\t\t\t\t\tif (!service[reqName]) {\n\t\t\t\t\t\tdone();\n\t\t\t\t\t\treturn reject(`Request function '${reqName}' is not fount!`);\n\t\t\t\t\t}\n\n\t\t\t\t\t// Send request\n\t\t\t\t\tservice[reqName](data)\n\t\t\t\t\t\t.then((res) => {\n\t\t\t\t\t\t\tthis.$message.success(\"保存成功\");\n\t\t\t\t\t\t\t// Close\n\t\t\t\t\t\t\tthis.close(\"submit\");\n\t\t\t\t\t\t\t// Refresh\n\t\t\t\t\t\t\tthis.crud.refresh();\n\t\t\t\t\t\t\t// Callback\n\t\t\t\t\t\t\tresolve(res);\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.catch((err) => {\n\t\t\t\t\t\t\tthis.$message.error(err);\n\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.done(done);\n\t\t\t\t});\n\t\t\t};\n\n\t\t\t// Hook by onSubmit\n\t\t\tif (this.onSubmit) {\n\t\t\t\t// Get mount variable\n\t\t\t\tconst { $refs } = __inst;\n\n\t\t\t\tthis.onSubmit(this.isEdit, data, {\n\t\t\t\t\t$refs,\n\t\t\t\t\tdone,\n\t\t\t\t\tnext,\n\t\t\t\t\tclose: () => {\n\t\t\t\t\t\tthis.close(\"submit\");\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tnext(data);\n\t\t\t}\n\t\t},\n\n\t\t// Inject form api\n\t\tinject() {\n\t\t\tconst fns = [\n\t\t\t\t\"getForm\",\n\t\t\t\t\"setForm\",\n\t\t\t\t\"clearForm\",\n\t\t\t\t\"setData\",\n\t\t\t\t\"setOptions\",\n\t\t\t\t\"toggleItem\",\n\t\t\t\t\"hiddenItem\",\n\t\t\t\t\"showItem\",\n\t\t\t\t\"showLoading\",\n\t\t\t\t\"hiddenLoading\"\n\t\t\t];\n\n\t\t\tfns.forEach((e) => {\n\t\t\t\tthis[e] = this.$refs[\"form\"][e];\n\t\t\t});\n\t\t}\n\t},\n\n\trender() {\n\t\treturn (\n\t\t\t<div class=\"cl-upsert\">\n\t\t\t\t<cl-form\n\t\t\t\t\tref=\"form\"\n\t\t\t\t\tv-model={this.form}\n\t\t\t\t\t{...{\n\t\t\t\t\t\tscopedSlots: {\n\t\t\t\t\t\t\t...this.$scopedSlots\n\t\t\t\t\t\t}\n\t\t\t\t\t}}></cl-form>\n\t\t\t</div>\n\t\t);\n\t}\n};\n","import { renderNode } from \"@/utils/vnode\";\nimport { isBoolean } from \"@/utils\";\nimport { Screen } from '@/mixins'\n\nexport default {\n\tname: \"cl-dialog\",\n\tcomponentName: \"ClDialog\",\n\tprops: {\n\t\tvisible: Boolean,\n\t\ttitle: {\n\t\t\ttype: String,\n\t\t\tdefault: \"对话框\"\n\t\t},\n\t\tdrag: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\tprops: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t},\n\t\ton: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => {\n\t\t\t\treturn {};\n\t\t\t}\n\t\t},\n\t\topList: {\n\t\t\ttype: Array,\n\t\t\tdefault: () => [\"fullscreen\", \"close\"]\n\t\t},\n\t\thiddenOp: Boolean\n\t},\n\tmixins: [Screen],\n\tdata() {\n\t\treturn {\n\t\t\tcacheKey: 0\n\t\t}\n\t},\n\twatch: {\n\t\t\"props.fullscreen\"(f) {\n\t\t\tif (this.$el && this.$el.querySelector) {\n\t\t\t\tconst el = this.$el.querySelector(\".el-dialog\");\n\n\t\t\t\tif (el) {\n\t\t\t\t\tif (f) {\n\t\t\t\t\t\tel.style = {\n\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\tleft: 0\n\t\t\t\t\t\t};\n\t\t\t\t\t} else {\n\t\t\t\t\t\tel.style.marginBottom = \"50px\";\n\t\t\t\t\t}\n\n\t\t\t\t\t// Set header cursor state\n\t\t\t\t\tel.querySelector(\".el-dialog__header\").style.cursor = f ? \"text\" : \"move\";\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this.crud) {\n\t\t\t\t// Fullscreen change event\n\t\t\t\tthis.crud.$emit(\"fullscreen-change\");\n\t\t\t}\n\t\t},\n\t\tvisible: {\n\t\t\timmediate: true,\n\t\t\thandler(f) {\n\t\t\t\tif (f) {\n\t\t\t\t\tthis.dragEvent();\n\t\t\t\t} else {\n\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\tthis.changeFullscreen(false);\n\t\t\t\t\t}, 300);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\tmethods: {\n\t\topen() {\n\t\t\tthis.cacheKey++;\n\t\t\tthis.$emit(\"update:visible\", true);\n\t\t\tthis.$emit(\"open\");\n\t\t},\n\n\t\tonOpened() {\n\t\t\tthis.$emit('opened')\n\t\t},\n\n\t\tbeforeClose() {\n\t\t\tif (this.props['before-close']) {\n\t\t\t\tthis.props['before-close'](this.close)\n\t\t\t} else {\n\t\t\t\tthis.close()\n\t\t\t}\n\t\t},\n\n\t\tclose() {\n\t\t\tthis.$emit(\"update:visible\", false);\n\t\t},\n\n\t\tonClose() {\n\t\t\tthis.$emit(\"close\");\n\t\t\tthis.close();\n\t\t},\n\n\t\tonClosed() {\n\t\t\tthis.$emit('closed')\n\t\t},\n\n\t\t// Change dialog fullscreen status\n\t\tchangeFullscreen(f) {\n\t\t\tthis.$set(this.props, \"fullscreen\", isBoolean(f) ? f : !this.props.fullscreen);\n\t\t\tthis.$emit(\"update:props:fullscreen\", this.props.fullscreen);\n\t\t},\n\n\t\t// Drag event\n\t\tdragEvent() {\n\t\t\tthis.$nextTick(() => {\n\t\t\t\tconst dlg = this.$el.querySelector(\".el-dialog\");\n\t\t\t\tconst hdr = this.$el.querySelector(\".el-dialog__header\");\n\n\t\t\t\tif (!hdr) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\thdr.onmousedown = (e) => {\n\t\t\t\t\t// Props\n\t\t\t\t\tconst { fullscreen, top = \"15vh\" } = this.props;\n\n\t\t\t\t\t// Body size\n\t\t\t\t\tconst { clientWidth, clientHeight } = document.body;\n\n\t\t\t\t\t// Try drag\n\t\t\t\t\tconst isDrag = (() => {\n\t\t\t\t\t\tif (fullscreen) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (!this.drag) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Determine height of the box is too large\n\t\t\t\t\t\tlet marginTop = 0;\n\n\t\t\t\t\t\tif ([\"vh\", \"%\"].some((e) => top.includes(e))) {\n\t\t\t\t\t\t\tmarginTop = clientHeight * (parseInt(top) / 100);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (top.includes(\"px\")) {\n\t\t\t\t\t\t\tmarginTop = top;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (dlg.clientHeight > clientHeight - 50 - marginTop) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t})();\n\n\t\t\t\t\t// Set header cursor state\n\t\t\t\t\tif (!isDrag) {\n\t\t\t\t\t\treturn (hdr.style.cursor = \"text\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\thdr.style.cursor = \"move\";\n\t\t\t\t\t}\n\n\t\t\t\t\t// Set el-dialog style, hidden scroller\n\t\t\t\t\tdlg.style.marginTop = 0;\n\t\t\t\t\tdlg.style.marginBottom = 0;\n\t\t\t\t\tdlg.style.top = dlg.style.top || top;\n\n\t\t\t\t\t// Distance\n\t\t\t\t\tconst dis = {\n\t\t\t\t\t\tleft: e.clientX - hdr.offsetLeft,\n\t\t\t\t\t\ttop: e.clientY - hdr.offsetTop\n\t\t\t\t\t};\n\n\t\t\t\t\t// Calc left and top of the box\n\t\t\t\t\tconst box = (() => {\n\t\t\t\t\t\tconst { left, top } =\n\t\t\t\t\t\t\tdlg.currentStyle || window.getComputedStyle(dlg, null);\n\n\t\t\t\t\t\tif (left.includes(\"%\")) {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\ttop: +clientHeight * (+top.replace(/\\%/g, \"\") / 100),\n\t\t\t\t\t\t\t\tleft: +clientWidth * (+left.replace(/\\%/g, \"\") / 100)\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\ttop: +top.replace(/\\px/g, \"\"),\n\t\t\t\t\t\t\t\tleft: +left.replace(/\\px/g, \"\")\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t})();\n\n\t\t\t\t\t// Screen limit\n\t\t\t\t\tconst pad = 5;\n\t\t\t\t\tconst minLeft = -(clientWidth - dlg.clientWidth) / 2 + pad;\n\t\t\t\t\tconst maxLeft =\n\t\t\t\t\t\t(dlg.clientWidth >= clientWidth / 2\n\t\t\t\t\t\t\t? dlg.clientWidth / 2 - (dlg.clientWidth - clientWidth / 2)\n\t\t\t\t\t\t\t: dlg.clientWidth / 2 + clientWidth / 2 - dlg.clientWidth) - pad;\n\n\t\t\t\t\tconst minTop = pad;\n\t\t\t\t\tconst maxTop = clientHeight - dlg.clientHeight - pad;\n\n\t\t\t\t\t// Start move\n\t\t\t\t\tdocument.onmousemove = function (e) {\n\t\t\t\t\t\tlet left = e.clientX - dis.left + box.left;\n\t\t\t\t\t\tlet top = e.clientY - dis.top + box.top;\n\n\t\t\t\t\t\tif (left < minLeft) {\n\t\t\t\t\t\t\tleft = minLeft;\n\t\t\t\t\t\t} else if (left >= maxLeft) {\n\t\t\t\t\t\t\tleft = maxLeft;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (top < minTop) {\n\t\t\t\t\t\t\ttop = minTop;\n\t\t\t\t\t\t} else if (top >= maxTop) {\n\t\t\t\t\t\t\ttop = maxTop;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Set dialog top and left\n\t\t\t\t\t\tdlg.style.top = top + \"px\";\n\t\t\t\t\t\tdlg.style.left = left + \"px\";\n\t\t\t\t\t};\n\n\t\t\t\t\t// Clear event\n\t\t\t\t\tdocument.onmouseup = function () {\n\t\t\t\t\t\tdocument.onmousemove = null;\n\t\t\t\t\t\tdocument.onmouseup = null;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t});\n\t\t},\n\n\t\t// Header\n\t\theaderRender() {\n\t\t\treturn this.hiddenOp ? null : (\n\t\t\t\t<div\n\t\t\t\t\tclass=\"cl-dialog__header\"\n\t\t\t\t\t{...{\n\t\t\t\t\t\ton: {\n\t\t\t\t\t\t\tdblclick: () => {\n\t\t\t\t\t\t\t\tthis.changeFullscreen();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}}>\n\t\t\t\t\t{/* title */}\n\t\t\t\t\t<span class=\"cl-dialog__title\">{this.title}</span>\n\t\t\t\t\t{/* op button */}\n\t\t\t\t\t<div class=\"cl-dialog__headerbtn\">\n\t\t\t\t\t\t{this.opList.map((vnode) => {\n\t\t\t\t\t\t\t// Fullscreen\n\t\t\t\t\t\t\tif (vnode === \"fullscreen\") {\n\t\t\t\t\t\t\t\t// Hidden fullscreen btn\n\t\t\t\t\t\t\t\tif (this.screen === 'xs') {\n\t\t\t\t\t\t\t\t\treturn null\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// Show diff icon\n\t\t\t\t\t\t\t\tif (this.props.fullscreen) {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"minimize\" on-click={this.changeFullscreen}>\n\t\t\t\t\t\t\t\t\t\t\t<i class=\"el-icon-minus\" />\n\t\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"maximize\" on-click={this.changeFullscreen}>\n\t\t\t\t\t\t\t\t\t\t\t<i class=\"el-icon-full-screen\" />\n\t\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// Close\n\t\t\t\t\t\t\telse if (vnode === \"close\") {\n\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"close\" on-click={this.beforeClose}>\n\t\t\t\t\t\t\t\t\t\t<i class=\"el-icon-close\" />\n\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// Custom node render\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\treturn renderNode(vnode, {\n\t\t\t\t\t\t\t\t\t$scopedSlots: this.$scopedSlots\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t);\n\t\t},\n\t},\n\n\trender() {\n\t\treturn (\n\t\t\t<el-dialog\n\t\t\t\tcustom-class={`cl-dialog ${this.hiddenOp ? \"hidden-header\" : \"\"}`}\n\t\t\t\t{...{\n\t\t\t\t\tprops: {\n\t\t\t\t\t\t...this.props,\n\t\t\t\t\t\tfullscreen: this.isFullscreen ? true : this.props.fullscreen,\n\t\t\t\t\t\tvisible: this.visible,\n\t\t\t\t\t\t\"show-close\": false\n\t\t\t\t\t},\n\t\t\t\t\ton: {\n\t\t\t\t\t\topen: this.open,\n\t\t\t\t\t\topened: this.onOpened,\n\t\t\t\t\t\tclose: this.onClose,\n\t\t\t\t\t\tclosed: this.onClosed\n\t\t\t\t\t}\n\t\t\t\t}}>\n\t\t\t\t{/* header */}\n\t\t\t\t<template slot=\"title\">{this.headerRender()}</template>\n\t\t\t\t{/* container */}\n\t\t\t\t<div class=\"cl-dialog__container\" key={this.cacheKey}>\n\t\t\t\t\t{this.$slots.default}\n\t\t\t\t</div>\n\t\t\t\t{/* footer */}\n\t\t\t\t<div class=\"cl-dialog__footer\" slot=\"footer\">\n\t\t\t\t\t{this.$slots.footer}\n\t\t\t\t</div>\n\t\t\t</el-dialog>\n\t\t);\n\t}\n};\n","export default {\n\tname: \"cl-filter\",\n\tcomponentName: \"ClFilter\",\n\tprops: {\n\t\tlabel: String\n\t},\n\trender() {\n\t\treturn (\n\t\t\t<div class=\"cl-filter\">\n\t\t\t\t<span class=\"cl-filter__label\" v-show={this.label}>\n\t\t\t\t\t{this.label}\n\t\t\t\t</span>\n\n\t\t\t\t{this.$slots.default}\n\t\t\t</div>\n\t\t);\n\t}\n};\n","export default {\n name: \"cl-error-message\",\n\n props: {\n title: String\n },\n\n render() {\n return () => {\n return <el-alert title={this.title} type=\"error\"></el-alert>;\n };\n }\n};\n","import * as global from \"./global\";\nimport * as comps from \"./components\";\n\nrequire(\"./common\");\n\nexport const CRUD = {\n\tversion: \"0.4.1\",\n\n\tinstall: function (Vue, options) {\n\t\tconst { crud, components, plugins } = options || {};\n\n\t\t// 设置全局参数\n\t\tglobal.__crud = crud;\n\t\tglobal.__vue = Vue;\n\t\tglobal.__components = components;\n\t\tglobal.__plugins = plugins;\n\t\tglobal.__inst = new Vue();\n\n\t\t// 注册组件\n\t\tfor (let i in comps) {\n\t\t\tVue.component(comps[i].name, comps[i]);\n\t\t}\n\n\t\t// 挂载 $crud\n\t\tVue.prototype.$crud = {\n\t\t\temit: (name, callback) => {\n\t\t\t\tglobal.__inst.$emit(name, callback);\n\t\t\t}\n\t\t};\n\t}\n};\n\nexport default CRUD;\n"],"sourceRoot":""}